From 4b1582f351408c65e19b349bcb6e2b7cc51e44b5 Mon Sep 17 00:00:00 2001 From: Tine Jozelj Date: Fri, 28 Apr 2017 16:04:43 +0200 Subject: [PATCH 001/463] fix node tty Readstream, WriteStream --- types/node/index.d.ts | 4 ++-- types/node/v4/index.d.ts | 4 ++-- types/node/v6/index.d.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 0f2a6e663e..afbbbc958f 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -3721,12 +3721,12 @@ declare module "tty" { import * as net from "net"; export function isatty(fd: number): boolean; - export interface ReadStream extends net.Socket { + export class ReadStream extends net.Socket { isRaw: boolean; setRawMode(mode: boolean): void; isTTY: boolean; } - export interface WriteStream extends net.Socket { + export class WriteStream extends net.Socket { columns: number; rows: number; isTTY: boolean; diff --git a/types/node/v4/index.d.ts b/types/node/v4/index.d.ts index f9d804c7eb..6e5bbda6de 100644 --- a/types/node/v4/index.d.ts +++ b/types/node/v4/index.d.ts @@ -2210,12 +2210,12 @@ declare module "tty" { import * as net from "net"; export function isatty(fd: number): boolean; - export interface ReadStream extends net.Socket { + export class ReadStream extends net.Socket { isRaw: boolean; setRawMode(mode: boolean): void; isTTY: boolean; } - export interface WriteStream extends net.Socket { + export class WriteStream extends net.Socket { columns: number; rows: number; isTTY: boolean; diff --git a/types/node/v6/index.d.ts b/types/node/v6/index.d.ts index 0c1796368e..efcb1863e2 100644 --- a/types/node/v6/index.d.ts +++ b/types/node/v6/index.d.ts @@ -3641,12 +3641,12 @@ declare module "tty" { import * as net from "net"; export function isatty(fd: number): boolean; - export interface ReadStream extends net.Socket { + export class ReadStream extends net.Socket { isRaw: boolean; setRawMode(mode: boolean): void; isTTY: boolean; } - export interface WriteStream extends net.Socket { + export class WriteStream extends net.Socket { columns: number; rows: number; isTTY: boolean; From 046be2f1e10d63ad05e3999bf3d5b6feb194095a Mon Sep 17 00:00:00 2001 From: Tine Jozelj Date: Fri, 28 Apr 2017 16:06:59 +0200 Subject: [PATCH 002/463] fix node v0 tty Readstream, WriteStream --- types/node/v0/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/node/v0/index.d.ts b/types/node/v0/index.d.ts index f57066c97e..acc8b1ee54 100644 --- a/types/node/v0/index.d.ts +++ b/types/node/v0/index.d.ts @@ -1861,11 +1861,11 @@ declare module "tty" { import * as net from "net"; export function isatty(fd: number): boolean; - export interface ReadStream extends net.Socket { + export class ReadStream extends net.Socket { isRaw: boolean; setRawMode(mode: boolean): void; } - export interface WriteStream extends net.Socket { + export class WriteStream extends net.Socket { columns: number; rows: number; } From 3f654b8a0fb811516753c9bd1e5d6238f01e3a4e Mon Sep 17 00:00:00 2001 From: yushulx Date: Tue, 2 May 2017 14:09:16 +0800 Subject: [PATCH 003/463] Dynamic Web TWAIN --- types/dwt/dwt-tests.ts | 107 ++ types/dwt/index.d.ts | 3457 +++++++++++++++++++++++++++++++++++++++ types/dwt/tsconfig.json | 22 + 3 files changed, 3586 insertions(+) create mode 100644 types/dwt/dwt-tests.ts create mode 100644 types/dwt/index.d.ts create mode 100644 types/dwt/tsconfig.json diff --git a/types/dwt/dwt-tests.ts b/types/dwt/dwt-tests.ts new file mode 100644 index 0000000000..70e68e015f --- /dev/null +++ b/types/dwt/dwt-tests.ts @@ -0,0 +1,107 @@ +function dwtOnReady() { + let DWObject = Dynamsoft.WebTwainEnv.GetWebTwain('dwtcontrolContainer'); // Get the Dynamic Web TWAIN object that is embeded in the div with id 'dwtcontrolContainer' + if (DWObject) { + var count = DWObject.SourceCount; + if(count == 0) + { + DWObject.CloseSourceManager(); + DWObject.ImageCaptureDriverType = 0; + DWObject.OpenSourceManager(); + count = DWObject.SourceCount; + } + } +} + +function acquireImage() { + let DWObject = Dynamsoft.WebTwainEnv.GetWebTwain('dwtcontrolContainer'); + if (DWObject) { + var OnAcquireImageSuccess, OnAcquireImageFailure; + OnAcquireImageSuccess = OnAcquireImageFailure = function (){ + DWObject.CloseSource(); + }; + + DWObject.SelectSourceByIndex(0); //Use method SelectSourceByIndex to avoid the 'Select Source' dialog + DWObject.OpenSource(); + DWObject.IfDisableSourceAfterAcquire = true; // Scanner source will be disabled/closed automatically after the scan. + DWObject.AcquireImage(OnAcquireImageSuccess, OnAcquireImageFailure); + } +} + +function registerEvent() { + let DWObject = Dynamsoft.WebTwainEnv.GetWebTwain('dwtcontrolContainer'); + if (DWObject) { + // The event OnPostTransfer fires after each image is scanned and transferred + DWObject.RegisterEvent("OnPostTransfer", function () {}); + + // The event OnPostLoad fires after the images from a local directory have been loaded into the control + DWObject.RegisterEvent("OnPostLoad", function () {}); + + // The event OnMouseClick fires when the mouse clicks on an image on Dynamic Web TWAIN viewer + DWObject.RegisterEvent("OnMouseClick", function () {}); + + // The event OnTopImageInTheViewChanged fires when the top image currently displayed in the viewer changes + DWObject.RegisterEvent("OnTopImageInTheViewChanged", function (index: number) { + DWObject.CurrentImageIndexInBuffer = index; + }); + } +} + +function editImage() { + let DWObject = Dynamsoft.WebTwainEnv.GetWebTwain('dwtcontrolContainer'); + if (DWObject) { + if (DWObject.HowManyImagesInBuffer > 0) + DWObject.RotateLeft(DWObject.CurrentImageIndexInBuffer); + + if (DWObject.HowManyImagesInBuffer > 0) + DWObject.RotateRight(DWObject.CurrentImageIndexInBuffer); + + if (DWObject.HowManyImagesInBuffer > 0) + DWObject.Mirror(DWObject.CurrentImageIndexInBuffer); + + if (DWObject.HowManyImagesInBuffer > 0) + DWObject.Flip(DWObject.CurrentImageIndexInBuffer); + } +} + +function showImageEditor() { + let DWObject = Dynamsoft.WebTwainEnv.GetWebTwain('dwtcontrolContainer'); + if (DWObject) { + DWObject.ShowImageEditor(); + } +} + +function saveImage() { + let DWObject = Dynamsoft.WebTwainEnv.GetWebTwain('dwtcontrolContainer'); + if (DWObject) { + DWObject.ConvertToGrayScale(DWObject.CurrentImageIndexInBuffer); + DWObject.SaveAsJPEG("DynamicWebTWAIN.jpg", DWObject.CurrentImageIndexInBuffer); + DWObject.SaveAllAsMultiPageTIFF("DynamicWebTWAIN.tiff", () => {}, (errorCode, errorString) => {}); + DWObject.SaveAllAsPDF("DynamicWebTWAIN.pdf", () => {}, (errorCode, errorString) => {}); + } +} + +function updateLargeViewer() { + let DWObject = Dynamsoft.WebTwainEnv.GetWebTwain('dwtcontrolContainer'); + let DWObjectLargeViewer = Dynamsoft.WebTwainEnv.GetWebTwain('dwtcontrolContainerLargeViewer'); + if (DWObject) { + DWObject.CopyToClipboard(DWObject.CurrentImageIndexInBuffer); // Copy the current image in the thumbnail to clipboard in DIB format. + DWObjectLargeViewer.LoadDibFromClipboard(); // Load the image from Clipboard into the large viewer. + } +} + +function uploadImage() { + let DWObject = Dynamsoft.WebTwainEnv.GetWebTwain('dwtcontrolContainer'); + if (DWObject) { + DWObject.HTTPPort = 80; + DWObject.IfSSL = false; + DWObject.HTTPUploadThroughPost("www.dynamsoft.com", DWObject.CurrentImageIndexInBuffer, "upload", "tmp.jpg", () => {}, (errorCode, errorString) => {}); + } +} + +function downloadImage() { + let DWObject = Dynamsoft.WebTwainEnv.GetWebTwain('dwtcontrolContainer'); + if (DWObject) { + DWObject.HTTPPort = 80; + DWObject.HTTPDownload("www.dynamsoft.com", "img.png", () => {}, (errorCode, errorString) => {}); + } +} \ No newline at end of file diff --git a/types/dwt/index.d.ts b/types/dwt/index.d.ts new file mode 100644 index 0000000000..eda4725dfa --- /dev/null +++ b/types/dwt/index.d.ts @@ -0,0 +1,3457 @@ +/*! +* Dynamsoft WebTwain JavaScript Intellisense +* Product: Dynamsoft Web Twain +* Web Site: http://www.dynamsoft.com +* +* Copyright 2017, Dynamsoft Corporation +* Author: Dynamsoft Support Team +* Version: 12.3 +*/ + +/** + * @namespace Dynamsoft + */ +declare namespace Dynamsoft { + namespace WebTwainEnv { + function GetWebTwain (cid: string) : WebTwain; + function RegisterEvent(event: string, fn: () => void): void; + } +} + +/** ICAP_PIXELTYPE values (PT_ means Pixel Type) */ +declare enum EnumDWT_PixelType { + TWPT_BW = 0, + TWPT_GRAY = 1, + TWPT_RGB = 2, + TWPT_PALLETE = 3, + TWPT_CMY = 4, + TWPT_CMYK = 5, + TWPT_YUV = 6, + TWPT_YUVK = 7, + TWPT_CIEXYZ = 8, + TWPT_LAB = 9, + TWPT_SRGB = 10, + TWPT_SCRGB = 11, + TWPT_INFRARED = 16 +} + +declare enum EnumDWT_BorderStyle { + /** No border. */ + TWBS_NONE = 0, + /** Flat border. */ + TWBS_SINGLEFLAT = 1, + /** 3D border. */ + TWBS_SINGLE3D = 2 +} + +/** For query the operation that are supported by the data source on a capability . + * Application gets these through DG_CONTROL/DAT_CAPABILITY/MSG_QUERYSUPPORT + */ +declare enum EnumDWT_MessageType { + TWQC_GET = 1, + TWQC_SET = 2, + TWQC_GETDEFAULT = 4, + TWQC_GETCURRENT = 8, + TWQC_RESET = 16 +} + +/** Capabilities */ +declare enum EnumDWT_Cap { + /** Nothing. */ + CAP_NONE = 0, + /** The application is willing to accept this number of images. */ + CAP_XFERCOUNT = 1, + /** Allows the application and Source to identify which compression schemes they have in + * common for Buffered Memory and File transfers. + * Note for File transfers: + * Since only certain file formats support compression, this capability must be negotiated after + * setting the desired file format with ICAP_IMAGEFILEFORMAT. + */ + ICAP_COMPRESSION = 256, + /** The type of pixel data that a Source is capable of acquiring (for example, black and white, gray, RGB, etc.). */ + ICAP_PIXELTYPE = 257, + /** Unless a quantity is dimensionless or uses a specified unit of measure, ICAP_UNITS determines + * the unit of measure for all quantities. + */ + ICAP_UNITS = 258, + /** Allows the application and Source to identify which transfer mechanisms the source supports. */ + ICAP_XFERMECH = 259, + /** The name or other identifying information about the Author of the image. It may include a copyright string. */ + CAP_AUTHOR = 4096, + /** A general note about the acquired image. */ + CAP_CAPTION = 4097, + /** If TRUE, Source must acquire data from the document feeder acquire area and other feeder + * capabilities can be used. If FALSE, Source must acquire data from the non-feeder acquire area + * and no other feeder capabilities can be used. + */ + CAP_FEEDERENABLED = 4098, + /** Reflect whether there are documents loaded in the Source's feeder. */ + CAP_FEEDERLOADED = 4099, + /** The date and time the image was acquired. + * Stored in the form "YYYY/MM/DD HH:mm:SS.sss" where YYYY is the year, MM is the + * numerical month, DD is the numerical day, HH is the hour, mm is the minute, SS is the second, + * and sss is the millisecond. + */ + CAP_TIMEDATE = 4100, + /** Returns a list of all the capabilities for which the Source will answer inquiries. Does not indicate + * which capabilities the Source will allow to be set by the application. Some capabilities can only + * be set if certain setup work has been done so the Source cannot globally answer which + * capabilities are "set-able." + */ + CAP_SUPPORTEDCAPS = 4101, + /** Allows the application and Source to negotiate capabilities to be used in States 5 and 6. */ + CAP_EXTENDEDCAPS = 4102, + /** If TRUE, the Source will automatically feed the next page from the document feeder after the + * number of frames negotiated for capture from each page are acquired. CAP_FEEDERENABLED + * must be TRUE to use this capability. + */ + CAP_AUTOFEED = 4103, + /** If TRUE, the Source will eject the current page being acquired from and will leave the feeder + * acquire area empty. + * If CAP_AUTOFEED is TRUE, a fresh page will be advanced. + * CAP_FEEDERENABLED must equal TRUE to use this capability. + * This capability must have been negotiated as an extended capability to be used in States 5 and 6. + */ + CAP_CLEARPAGE = 4104, + /** If TRUE, the Source will eject the current page and advance the next page in the document feeder + * into the feeder acquire area. + * If CAP_AUTOFEED is TRUE, the same action just described will occur and CAP_AUTOFEED will + * remain active. + * CAP_FEEDERENABLED must equal TRUE to use this capability. + * This capability must have been negotiated as an extended capability to be used in States 5 and 6. + */ + CAP_FEEDPAGE = 4105, + /** If TRUE, the Source will return the current page to the input side of the document feeder and + * feed the last page from the output side of the feeder back into the acquisition area. + * If CAP_AUTOFEED is TRUE, automatic feeding will continue after all negotiated frames from this + * page are acquired. + * CAP_FEEDERENABLED must equal TRUE to use this capability. + * This capability must have been negotiated as an extended capability to be used in States 5 and 6. + */ + CAP_REWINDPAGE = 4106, + /** If TRUE, the Source will display a progress indicator during acquisition and transfer, regardless + * of whether the Source's user interface is active. If FALSE, the progress indicator will be + * suppressed if the Source's user interface is inactive. + * The Source will continue to display device-specific instructions and error messages even with + * the Source user interface and progress indicators turned off. + */ + CAP_INDICATORS = 4107, + /** Returns a list of all the capabilities for which the Source will answer inquiries. Does not indicate + * which capabilities the Source will allow to be set by the application. Some capabilities can only + * be set if certain setup work has been done so the Source cannot globally answer which + * capabilities are "set-able." + */ + CAP_SUPPORTEDCAPSEXT = 4108, + /** This capability determines whether the device has a paper sensor that can detect documents on the ADF or Flatbed. */ + CAP_PAPERDETECTABLE = 4109, + /** If TRUE, indicates that this Source supports acquisition with the UI disabled; i.e., + * TW_USERINTERFACE's ShowUI field can be set to FALSE. If FALSE, indicates that this Source + * can only support acquisition with the UI enabled. + */ + CAP_UICONTROLLABLE = 4110, + /** If TRUE, the physical hardware (e.g., scanner, digital camera, image database, etc.) that + * represents the image source is attached, powered on, and communicating. + */ + CAP_DEVICEONLINE = 4111, + /** This capability is intended to boost the performance of a Source. The fundamental assumption + * behind AutoScan is that the device is able to capture the number of images indicated by the + * value of CAP_XFERCOUNT without waiting for the Application to request the image transfers. + * This is only possible if the device has internal buffers capable of caching the images it captures. + * The default behavior is undefined, because some high volume devices are incapable of anything + * but CAP_AUTOSCAN being equal to TRUE. However, if a Source supports FALSE, it should use it + * as the mandatory default, since this best describes the behavior of pre-1.8 TWAIN Applications. + */ + CAP_AUTOSCAN = 4112, + /** Allows an application to request the delivery of thumbnail representations for the set of images + * that are to be delivered. + * Setting CAP_THUMBNAILSENABLED to TRUE turns on thumbnail mode. Images transferred + * thereafter will be sent at thumbnail size (exact thumbnail size is determined by the Data Source). + * Setting this capability to FALSE turns thumbnail mode off and returns full size images. + */ + CAP_THUMBNAILSENABLED = 4113, + /** This indicates whether the scanner supports duplex. If so, it further indicates whether one-path + * or two-path duplex is supported. + */ + CAP_DUPLEX = 4114, + /** The user can set the duplex option to be TRUE or FALSE. If TRUE, the scanner scans both sides + * of a paper; otherwise, the scanner will scan only one side of the image. + */ + CAP_DUPLEXENABLED = 4115, + /** Allows an application to query a source to see if it implements the new user interface settings dialog. */ + CAP_ENABLEDSUIONLY = 4116, + CAP_CUSTOMDSDATA = 4117, + /** Allows the application to specify the starting endorser / imprinter number. All other endorser/ + * imprinter properties should be handled through the data source's user interface. + * The user can set the starting number for the endorser. + */ + CAP_ENDORSER = 4118, + /** Turns specific audible alarms on and off. */ + CAP_ALARMS = 4120, + /** The volume of a device's audible alarm. Note that this control affects the volume of all alarms; + * no specific volume control for individual types of alarms is provided. + */ + CAP_ALARMVOLUME = 4121, + /** The number of images to automatically capture. This does not refer to the number of images to + * be sent to the Application, use CAP_XFERCOUNT for that. + */ + CAP_AUTOMATICCAPTURE = 4122, + /** For automatic capture, this value selects the number of milliseconds before the first picture is to + * be taken, or the first image is to be scanned. + */ + CAP_TIMEBEFOREFIRSTCAPTURE = 4123, + /** For automatic capture, this value selects the milliseconds to wait between pictures taken, or images scanned. */ + CAP_TIMEBETWEENCAPTURES = 4124, + /** CapGet() reports the presence of data in the scanner's buffers. CapSet() with a value of TWCB_CLEAR immediately clears the buffers. */ + CAP_CLEARBUFFERS = 4125, + /** Describes the number of pages that the scanner can buffer when CAP_AUTOSCAN is enabled. */ + CAP_MAXBATCHBUFFERS = 4126, + /** The date and time of the device's clock. + * Managed in the form "YYYY/MM/DD HH:mm:SS:sss" where YYYY is the year, MM is the + * numerical month, DD is the numerical day, HH is the hour, mm is the minute, SS is the second, + * and sss is the millisecond. + */ + CAP_DEVICETIMEDATE = 4127, + /** CapGet() reports the kinds of power available to the device. CapGetCurrent() reports the current power supply in use. */ + CAP_POWERSUPPLY = 4128, + /** This capability queries the Source for UI support for preview mode. If TRUE, the Source supports preview UI. */ + CAP_CAMERAPREVIEWUI = 4129, + /** A string containing the serial number of the currently selected device in the Source. Multiple + * devices may all report the same serial number. + */ + CAP_SERIALNUMBER = 4132, + /** CapGet() returns the current list of available printer devices, along with the one currently being used for negotiation. + * CapSet() selects the current device for negotiation, and optionally constrains the list. + * Top/Bottom refers to duplex devices, and indicates if the printer is writing on the top or the bottom of the sheet of paper. + * Simplex devices use the top settings. Before/After indicates whether printing occurs before or after the sheet of paper has been scanned. + */ + CAP_PRINTER = 4134, + /** Turns the current CAP_PRINTER device on or off. */ + CAP_PRINTERENABLED = 4135, + /** The User can set the starting number for the current CAP_PRINTER device. */ + CAP_PRINTERINDEX = 4136, + /** Specifies the appropriate current CAP_PRINTER device mode. + * Note: + * • TWPM_SINGLESTRING specifies that the printed text will consist of a single string. + * • TWPM _MULTISTRING specifies that the printed text will consist of an enumerated list of + * strings to be printed in order. + * • TWPM _COMPOUNDSTRING specifies that the printed string will consist of a compound of a + * String followed by a value followed by a suffix string. + */ + CAP_PRINTERMODE = 4137, + /** Specifies the string(s) that are to be used in the string component when the current + * CAP_PRINTER device is enabled. + */ + CAP_PRINTERSTRING = 4138, + /** Specifies the string that shall be used as the current CAP_PRINTER device's suffix. */ + CAP_PRINTERSUFFIX = 4139, + /** Allows Application and Source to identify which languages they have in common for the exchange of string data, + * and to select the language of the internal UI. Since the TWLG_xxxx codes include language and country data, there is no separate + * capability for selecting the country. + */ + CAP_LANGUAGE = 4140, + /** Helps the Application determine any special actions it may need to take when negotiating + * frames with the Source. Allowed values are listed in . + * TWFA_NONE: The alignment is free-floating. Applications should assume + * that the origin for frames is on the left. + * TWFA_LEFT: The alignment is to the left. + * TWFA_CENTER: The alignment is centered. This means that the paper will + * be fed in the middle of the ICAP_PHYSICALWIDTH of the + * device. If this is set, then the Application should calculate + * any frames with a left offset of zero. + * TWFA_RIGHT: The alignment is to the right. + */ + CAP_FEEDERALIGNMENT = 4141, + /** TWFO_FIRSTPAGEFIRST if the feeder starts with the top of the first page. + * TWFO_LASTPAGEFIRST is the feeder starts with the top of the last page. + */ + CAP_FEEDERORDER = 4142, + /** Indicates whether the physical hardware (e.g. scanner, digital camera) is capable of acquiring + * multiple images of the same page without changes to the physical registration of that page. + */ + CAP_REACQUIREALLOWED = 4144, + /** The minutes of battery power remaining to the device. */ + CAP_BATTERYMINUTES = 4146, + /** When used with CapGet(), return the percentage of battery power level on camera. If -1 is returned, it indicates that the battery is not present. */ + CAP_BATTERYPERCENTAGE = 4147, + /** Added 1.91 */ + CAP_CAMERASIDE = 4148, + /** Added 1.91 */ + CAP_SEGMENTED = 4149, + /** Added 2.0 */ + CAP_CAMERAENABLED = 4150, + /** Added 2.0 */ + CAP_CAMERAORDER = 4151, + /** Added 2.0 */ + CAP_MICRENABLED = 4152, + /** Added 2.0 */ + CAP_FEEDERPREP = 4153, + /** Added 2.0 */ + CAP_FEEDERPOCKET = 4154, + /** Added 2.1 */ + CAP_AUTOMATICSENSEMEDIUM = 4155, + /** Added 2.1 */ + CAP_CUSTOMINTERFACEGUID = 4156, + /** TRUE enables and FALSE disables the Source's Auto-brightness function (if any). */ + ICAP_AUTOBRIGHT = 4352, + /** The brightness values available within the Source. */ + ICAP_BRIGHTNESS = 4353, + /** The contrast values available within the Source. */ + ICAP_CONTRAST = 4355, + /** Specifies the square-cell halftone (dithering) matrix the Source should use to halftone the image. */ + ICAP_CUSTHALFTONE = 4356, + /** Specifies the exposure time used to capture the image, in seconds. */ + ICAP_EXPOSURETIME = 4357, + /** Describes the color characteristic of the subtractive filter applied to the image data. Multiple + * filters may be applied to a single acquisition. + */ + ICAP_FILTER = 4358, + /** Specifies whether or not the image was acquired using a flash. */ + ICAP_FLASHUSED = 4359, + /** Gamma correction value for the image data. */ + ICAP_GAMMA = 4360, + /** A list of names of the halftone patterns available within the Source. */ + ICAP_HALFTONES = 4361, + /** Specifies which value in an image should be interpreted as the lightest "highlight." All values + * "lighter" than this value will be clipped to this value. Whether lighter values are smaller or + * larger can be determined by examining the Current value of ICAP_PIXELFLAVOR. + */ + ICAP_HIGHLIGHT = 4362, + /** Informs the application which file formats the Source can generate (CapGet()). Tells the Source which file formats the application can handle (CapSet()). + * TWFF_TIFF Used for document + * TWFF_PICT Native Macintosh + * TWFF_BMP Native Microsoft + * TWFF_XBM Used for document + * TWFF_JFIF Wrapper for JPEG + * TWFF_FPX FlashPix, used with digital + * TWFF_TIFFMULTI Multi-page TIFF files + * TWFF_PNG An image format standard intended for use on the web, replaces GIF + * TWFF_SPIFF A standard from JPEG, intended to replace JFIF, also supports JBIG + * TWFF_EXIF File format for use with digital cameras. + */ + ICAP_IMAGEFILEFORMAT = 4364, + /** TRUE means the lamp is currently, or should be set to ON. Sources may not support CapSet() operations. */ + ICAP_LAMPSTATE = 4365, + /** Describes the general color characteristic of the light source used to acquire the image. */ + ICAP_LIGHTSOURCE = 4366, + /** Defines which edge of the "paper" the image's "top" is aligned with. This information is used to adjust the frames to match the + * scanning orientation of the paper. For instance, if an ICAP_SUPPORTEDSIZE of TWSS_ISOA4 has been negotiated, + * and ICAP_ORIENTATION is set to TWOR_LANDSCAPE, then the Source must rotate the frame it downloads to the scanner to reflect the + * orientation of the paper. Please note that setting ICAP_ORIENTATION does not affect the values reported by ICAP_FRAMES; + * it just causes the Source to use them in a different way. The upper-left of the image is defined as the location where both the primary and + * secondary scans originate. (The X axis is the primary scan direction and the Y axis is the secondary scan direction.) + * For a flatbed scanner, the light bar moves in the secondary scan direction. For a handheld scanner, the scanner is drug in the + * secondary scan direction. For a digital camera, the secondary direction is the vertical axis when the viewed image is considered upright. + */ + ICAP_ORIENTATION = 4368, + /** The maximum physical width (X-axis) the Source can acquire (measured in units of ICAP_UNITS). */ + ICAP_PHYSICALWIDTH = 4369, + /** The maximum physical height (Y-axis) the Source can acquire (measured in units of ICAP_UNITS). */ + ICAP_PHYSICALHEIGHT = 4370, + /** Specifies which value in an image should be interpreted as the darkest "shadow." All values + * "darker" than this value will be clipped to this value. + */ + ICAP_SHADOW = 4371, + /** The list of frames the Source will acquire on each page. */ + ICAP_FRAMES = 4372, + /** The native optical resolution along the X-axis of the device being controlled by the Source. Most + * devices will respond with a single value (TW_ONEVALUE). + * This is NOT a list of all resolutions that can be generated by the device. Rather, this is the + * resolution of the device's optics. Measured in units of pixels per unit as defined by + * ICAP_UNITS (pixels per TWUN_PIXELS yields dimensionless data). + */ + ICAP_XNATIVERESOLUTION = 4374, + /** The native optical resolution along the Y-axis of the device being controlled by the Source. + * Measured in units of pixels per unit as defined by ICAP_UNITS (pixels per TWUN_PIXELS + * yields dimensionless data). + */ + ICAP_YNATIVERESOLUTION = 4375, + /** All the X-axis resolutions the Source can provide. + * Measured in units of pixels per unit as defined by ICAP_UNITS (pixels per TWUN_PIXELS + * yields dimensionless data). That is, when the units are TWUN_PIXELS, both + * ICAP_XRESOLUTION and ICAP_YRESOLUTION shall report 1 pixel/pixel. Some data sources + * like to report the actual number of pixels that the device reports, but that response is more + * appropriate in ICAP_PHYSICALHEIGHT and ICAP_PHYSICALWIDTH. + */ + ICAP_XRESOLUTION = 4376, + /** All the Y-axis resolutions the Source can provide. + * Measured in units of pixels per unit as defined by ICAP_UNITS (pixels per TWUN_PIXELS + * yields dimensionless data). That is, when the units are TWUN_PIXELS, both + * ICAP_XRESOLUTION and ICAP_YRESOLUTION shall report 1 pixel/pixel. Some data sources + * like to report the actual number of pixels that the device reports, but that response is more + * appropriate in ICAP_PHYSICALHEIGHT and ICAP_PHYSICALWIDTH. + */ + ICAP_YRESOLUTION = 4377, + /** The maximum number of frames the Source can provide or the application can accept per page. + * This is a bounding capability only. It does not establish current or future behavior. + */ + ICAP_MAXFRAMES = 4378, + /** This is used with buffered memory transfers. If TRUE, Source can provide application with tiled image data. */ + ICAP_TILES = 4379, + /** Specifies how the bytes in an image are filled by the Source. TWBO_MSBFIRST indicates that the leftmost bit in the byte (usually bit 7) is + * the byte's Most Significant Bit. + */ + ICAP_BITORDER = 4380, + /** Used for CCITT Group 3 2-dimensional compression. The 'K' factor indicates how often the + * new compression baseline should be re-established. A value of 2 or 4 is common in facsimile + * communication. A value of zero in this field will indicate an infinite K factor—the baseline is + * only calculated at the beginning of the transfer. + */ + ICAP_CCITTKFACTOR = 4381, + /** Describes whether the image was captured transmissively or reflectively. */ + ICAP_LIGHTPATH = 4382, + /** Sense of the pixel whose numeric value is zero (minimum data value). */ + ICAP_PIXELFLAVOR = 4383, + /** Allows the application and Source to identify which color data formats are available. There are + * two options, "planar" and "chunky." + */ + ICAP_PLANARCHUNKY = 4384, + /** How the Source can/should rotate the scanned image data prior to transfer. This doesn't use + * ICAP_UNITS. It is always measured in degrees. Any applied value is additive with any + * rotation specified in ICAP_ORIENTATION. + */ + ICAP_ROTATION = 4385, + /** For devices that support fixed frame sizes. + * Defined sizes match typical page sizes. This specifies the size(s) the Source can/should use to acquire image data. + */ + ICAP_SUPPORTEDSIZES = 4386, + /** Specifies the dividing line between black and white. This is the value the Source will use to + * threshold, if needed, when ICAP_PIXELTYPE:TWPT_BW. + * The value is normalized so there are no units of measure associated with this ICAP. + */ + ICAP_THRESHOLD = 4387, + /** All the X-axis scaling values available. A value of '1.0' is equivalent to 100% scaling. Do not use values less than or equal to zero. */ + ICAP_XSCALING = 4388, + /** All the Y-axis scaling values available. A value of '1.0' is equivalent to 100% scaling. Do not use values less than or equal to zero. + * There are no units inherent with this data as it is normalized to 1.0 being "unscaled." + */ + ICAP_YSCALING = 4389, + /** Used for CCITT data compression only. Indicates the bit order representation of the stored compressed codes. */ + ICAP_BITORDERCODES = 4390, + /** Used only for CCITT data compression. Specifies whether the compressed codes' pixel "sense" + * will be inverted from the Current value of ICAP_PIXELFLAVOR prior to transfer. + */ + ICAP_PIXELFLAVORCODES = 4391, + /** Allows the application and Source to agree upon a common set of color descriptors that are + * made available by the Source. This ICAP is only useful for JPEG-compressed buffered memory image transfers. + */ + ICAP_JPEGPIXELTYPE = 4392, + /** Used only with CCITT data compression. Specifies the minimum number of words of compressed codes (compressed data) to be transmitted per line. */ + ICAP_TIMEFILL = 4394, + /** Specifies the pixel bit depths for the Current value of ICAP_PIXELTYPE. For example, when + * using ICAP_PIXELTYPE:TWPT_GRAY, this capability specifies whether this is 8-bit gray or 4-bit gray. + * This depth applies to all the data channels (for instance, the R, G, and B channels will all have + * this same bit depth for RGB data). + */ + ICAP_BITDEPTH = 4395, + /** Specifies the Reduction Method the Source should use to reduce the bit depth of the data. Most + * commonly used with ICAP_PIXELTYPE:TWPT_BW to reduce gray data to black and white. + */ + ICAP_BITDEPTHREDUCTION = 4396, + /** If TRUE the Source will issue a MSG_XFERREADY before starting the scan. + * Note: The Source may need to scan the image before initiating the transfer. This is the case if + * the scanned image is rotated or merged with another scanned image. + */ + ICAP_UNDEFINEDIMAGESIZE = 4397, + /** Allows the application to query the data source to see if it supports extended image attribute capabilities, + * such as Barcode Recognition, Shaded Area Detection and Removal, Skew detection and Removal, and so on. + */ + ICAP_EXTIMAGEINFO = 4399, + /** Allows the source to define the minimum height (Y-axis) that the source can acquire. */ + ICAP_MINIMUMHEIGHT = 4400, + /** Allows the source to define theminimum width (X-axis) that the source can acquire. */ + ICAP_MINIMUMWIDTH = 4401, + /** Use this capability to have the Source discard blank images. The Application never sees these + * images during the scanning session. + * TWBP_DISABLE – this must be the default state for the Source. It indicates that all images will + * be delivered to the Application, none of them will be discarded. + * TWBP_AUTO – if this is used, then the Source will decide if an image is blank or not and discard + * as appropriate. + * If the specified value is a positive number in the range 0 to 231–1, then this capability will use it + * as the byte size cutoff point to identify which images are to be discarded. If the size of the image + * is less than or equal to this value, then it will be discarded. If the size of the image is greater + * than this value, then it will be kept so that it can be transferred to the Application. + */ + ICAP_AUTODISCARDBLANKPAGES = 4404, + /** Flip rotation is used to properly orient images that flip orientation every other image. + * TWFR_BOOK The images to be scanned are viewed in book form, flipping each page from left to right or right to left. + * TWFR_FANFOLD The images to be scanned are viewed in fanfold paper style, flipping each page up or down. + */ + ICAP_FLIPROTATION = 4406, + /** Turns bar code detection on and off. */ + ICAP_BARCODEDETECTIONENABLED = 4407, + /** Provides a list of bar code types that can be detected by the current Data Source. */ + ICAP_SUPPORTEDBARCODETYPES = 4408, + /** The maximum number of supported search priorities. */ + ICAP_BARCODEMAXSEARCHPRIORITIES = 4409, + /** A prioritized list of bar code types dictating the order in which bar codes will be sought. */ + ICAP_BARCODESEARCHPRIORITIES = 4410, + /** Restricts bar code searching to certain orientations, or prioritizes one orientation over the other. */ + ICAP_BARCODESEARCHMODE = 4411, + /** Restricts the number of times a search will be retried if none are found on each page. */ + ICAP_BARCODEMAXRETRIES = 4412, + /** Restricts the total time spent on searching for a bar code on each page. */ + ICAP_BARCODETIMEOUT = 4413, + /** When used with CapGet(), returns all camera supported lens zooming range. */ + ICAP_ZOOMFACTOR = 4414, + /** Turns patch code detection on and off. */ + ICAP_PATCHCODEDETECTIONENABLED = 4415, + /** A list of patch code types that may be detected by the current Data Source. */ + ICAP_SUPPORTEDPATCHCODETYPES = 4416, + /** The maximum number of supported search priorities. */ + ICAP_PATCHCODEMAXSEARCHPRIORITIES = 4417, + /** A prioritized list of patch code types dictating the order in which patch codes will be sought. */ + ICAP_PATCHCODESEARCHPRIORITIES = 4418, + /** Restricts patch code searching to certain orientations, or prioritizes one orientation over the other. */ + ICAP_PATCHCODESEARCHMODE = 4419, + /** Restricts the number of times a search will be retried if none are found on each page. */ + ICAP_PATCHCODEMAXRETRIES = 4420, + /** Restricts the total time spent on searching for a patch code on each page. */ + ICAP_PATCHCODETIMEOUT = 4421, + /** For devices that support flash. CapSet() selects the flash to be used (if any). CapGet() reports the current setting. + * This capability replaces ICAP_FLASHUSED, which is only able to negotiate the flash being on or off. + */ + ICAP_FLASHUSED2 = 4422, + /** For devices that support image enhancement filtering. This capability selects the algorithm used to improve the quality of the image. */ + ICAP_IMAGEFILTER = 4423, + /** For devices that support noise filtering. This capability selects the algorithm used to remove noise. */ + ICAP_NOISEFILTER = 4424, + /** Overscan is used to scan outside of the boundaries described by ICAP_FRAMES, and is used to help acquire image data that + * may be lost because of skewing. + * This is primarily of use for transport scanners which rely on edge detection to begin scanning. + * If overscan is supported, then the device is capable of scanning in the inter-document gap to get the skewed image information. + */ + ICAP_OVERSCAN = 4425, + /** Turns automatic border detection on and off. */ + ICAP_AUTOMATICBORDERDETECTION = 4432, + /** Turns automatic deskew correction on and off. */ + ICAP_AUTOMATICDESKEW = 4433, + /** When TRUE this capability depends on intelligent features within the Source to automatically + * rotate the image to the correct position. + */ + ICAP_AUTOMATICROTATE = 4434, + /** Added 1.9 */ + ICAP_JPEGQUALITY = 4435, + /** Added 1.91 */ + ICAP_FEEDERTYPE = 4436, + /** Added 1.91 */ + ICAP_ICCPROFILE = 4437, + /** Added 2.0 */ + ICAP_AUTOSIZE = 4438, + /** Added 2.1 */ + ICAP_AUTOMATICCROPUSESFRAME = 4439, + /** Added 2.1 */ + ICAP_AUTOMATICLENGTHDETECTION = 4440, + /** Added 2.1 */ + ICAP_AUTOMATICCOLORENABLED = 4441, + /** Added 2.1 */ + ICAP_AUTOMATICCOLORNONCOLORPIXELTYPE = 4442, + /** Added 2.1 */ + ICAP_COLORMANAGEMENTENABLED = 4443, + /** Added 2.1 */ + ICAP_IMAGEMERGE = 4444, + /** Added 2.1 */ + ICAP_IMAGEMERGEHEIGHTTHRESHOLD = 4445, + /** Added 2.1 */ + ICAP_SUPPORTEDEXTIMAGEINFO = 4446 +} + +/** Capabilities exist in many varieties but all have a Default Value, Current Value, and may have other values available that can be supported if selected. + * To help categorize the supported values into clear structures, TWAIN defines four types of containers for capabilities = + * TW_ONEVALUE, TW_ARRAY, TW_RANGE and TW_ENUMERATION. + */ +declare enum EnumDWT_CapType { + /** Nothing. */ + TWON_NONE = 0, + /** A rectangular array of values that describe a logical item. It is similar to the TW_ONEVALUE because the current and default values are the same and + * there are no other values to select from. For example, a list of the names, such as the supported capabilities list returned by the CAP_SUPPORTEDCAPS + * capability, would use this type of container. + */ + TWON_ARRAY = 3, + /** This is the most general type because it defines a list of values from which the Current Value can be chosen. + * The values do not progress uniformly through a range and there is not a consistent step size between the values. + * For example, if a Source's resolution options do not occur in even step sizes then an enumeration would be used (for example, 150, 400, and 600). + */ + TWON_ENUMERATION = 4, + /** A single value whose current and default values are coincident. The range of available values for this type of capability is simply this single value. + * For example, a capability that indicates the presence of a document feeder could be of this type. + */ + TWON_ONEVALUE = 5, + /** Many capabilities allow users to select their current value from a range of regularly spaced values. + * The capability can specify the minimum and maximum acceptable values and the incremental step size between the values. + * For example, resolution might be supported from 100 to 600 in steps of 50 (100, 150, 200, ..., 550, 600). + */ + TWON_RANGE = 6 +} + +/** ICAP_XFERMECH values. */ +declare enum EnumDWT_TransferMode { + /** Native transfers require the data to be transferred to a single large block of RAM. Therefore, + * they always face the risk of having an inadequate amount of RAM available to perform the transfer successfully. + */ + TWSX_NATIVE = 0, + /** Disk File Mode Transfers. */ + TWSX_FILE = 1, + /** Buffered Memory Mode Transfers. */ + TWSX_MEMORY = 2, + /** added 1.91 */ + //TWSX_MEMFILE = 4 +} + +/** ICAP_IMAGEFILEFORMAT values. */ +declare enum EnumDWT_FileFormat { + /** Used for document imaging. Tagged Image File Format */ + TWFF_TIFF = 0, + /** Native Macintosh format. Macintosh PICT */ + TWFF_PICT = 1, + /** Native Microsoft format. Windows Bitmap */ + TWFF_BMP = 2, + /** Used for document imaging. X-Windows Bitmap */ + TWFF_XBM = 3, + /** Wrapper for JPEG images. JPEG File Interchange Format */ + TWFF_JFIF = 4, + /** FlashPix, used with digital cameras. Flash Pix */ + TWFF_FPX = 5, + /** Multi-page TIFF files. Multi-page tiff file */ + TWFF_TIFFMULTI = 6, + /** An image format standard intended for use on the web, replaces GIF. */ + TWFF_PNG = 7, + /** A standard from JPEG, intended to replace JFIF, also supports JBIG. */ + TWFF_SPIFF = 8, + /** File format for use with digital cameras. */ + TWFF_EXIF = 9, + /** A file format from Adobe. 1.91 NB: this is not PDF/A */ + TWFF_PDF = 10, + /** A file format from the Joint Photographic Experts Group. 1.91 */ + TWFF_JP2 = 11, + /** 1.91 */ + TWFF_JPN = 12, + /** 1.91 */ + TWFF_JPX = 13, + /** A file format from LizardTech. 1.91 */ + TWFF_DEJAVU = 14, + /** A file format from Adobe. 2.0 */ + TWFF_PDFA = 15, + /** 2.1 Adobe PDF/A, Version 2 */ + TWFF_PDFA2 = 16 +} + + +/** TIFF file compression type. */ +declare enum EnumDWT_TIFFCompressionType { + /** Auto mode. */ + TIFF_AUTO = 0, + /** Dump mode. */ + TIFF_NONE = 1, + /** CCITT modified Huffman RLE. */ + TIFF_RLE = 2, + /** CCITT Group 3 fax encoding. */ + TIFF_FAX3 = 3, + /** CCITT T.4 (TIFF 6 name). */ + TIFF_T4 = 3, + /** CCITT Group 4 fax encoding */ + TIFF_FAX4 = 4, + /** CCITT T.6 (TIFF 6 name). */ + TIFF_T6 = 4, + /** Lempel Ziv and Welch */ + TIFF_LZW = 5, + TIFF_JPEG = 7, + TIFF_PACKBITS = 32773 +} + +/** The method to do interpolation. */ +declare enum EnumDWT_InterpolationMethod { + IM_NEARESTNEIGHBOUR = 1, + IM_BILINEAR = 2, + IM_BICUBIC = 3, + IM_BESTQUALITY = 5 +} + +/** Image type */ +declare enum EnumDWT_ImageType { + /** Native Microsoft format. */ + IT_BMP = 0, + /** JPEG format. */ + IT_JPG = 1, + /** Tagged Image File Format. */ + IT_TIF = 2, + /** An image format standard intended for use on the web, replaces GIF. */ + IT_PNG = 3, + /** A file format from Adobe. */ + IT_PDF = 4, + IT_ALL = 5 +} + +/** PDF file compression type. */ +declare enum EnumDWT_PDFCompressionType { + /** Auto mode. */ + PDF_AUTO = 0, + /** CCITT Group 3 fax encoding. */ + PDF_FAX3 = 1, + /** CCITT Group 4 fax encoding */ + PDF_FAX4 = 2, + /** Lempel Ziv and Welch */ + PDF_LZW = 3, + /** CCITT modified Huffman RLE. */ + PDF_RLE = 4, + PDF_JPEG = 5 +}; + +declare enum EnumDWT_ShowMode { + /** Activates the window and displays it in its current size and position. */ + SW_ACTIVE = 0, + /** Maximizes the window */ + SW_MAX = 1, + /** Minimize the window */ + SW_MIN = 2, + /** Close the latest opened editor window */ + SW_CLOSE = 3, + /** Check whether a window exists */ + SW_IFLIVE = 4 +} + +/** The kind of data stored in the container. */ +declare enum EnumDWT_CapValueType { + TWTY_INT8 = 0, + /** Means Item is a TW_INT16 */ + TWTY_INT16 = 1, + /** Means Item is a TW_INT32 */ + TWTY_INT32 = 2, + /** Means Item is a TW_UINT8 */ + TWTY_UINT8 = 3, + /** Means Item is a TW_UINT16 */ + TWTY_UINT16 = 4, + /** Means Item is a TW_int */ + TWTY_int = 5, + /** Means Item is a TW_BOOL */ + TWTY_BOOL = 6, + /** Means Item is a TW_FIX32 */ + TWTY_FIX32 = 7, + /** Means Item is a TW_FRAME */ + TWTY_FRAME = 8, + /** Means Item is a TW_STR32 */ + TWTY_STR32 = 9, + /** Means Item is a TW_STR64 */ + TWTY_STR64 = 10, + /** Means Item is a TW_STR128 */ + TWTY_STR128 = 11, + /** Means Item is a TW_STR255 */ + TWTY_STR255 = 12 +} + +/** ICAP_UNITS values. */ +declare enum EnumDWT_UnitType { + TWUN_INCHES = 0, + TWUN_CENTIMETERS = 1, + TWUN_PICAS = 2, + TWUN_POINTS = 3, + TWUN_TWIPS = 4, + TWUN_PIXELS = 5, + TWUN_MILLIMETERS = 6 +} + +/** ICAP_DUPLEX values. */ +declare enum EnumDWT_DUPLEX { + TWDX_NONE = 0, + TWDX_1PASSDUPLEX = 1, + TWDX_2PASSDUPLEX = 2 +} + +/** CAP_LANGUAGE values. */ +declare enum EnumDWT_CapLanguage { + /** Danish */ + TWLG_DAN = 0, + /** Dutch */ + TWLG_DUT = 1, + /** International English */ + TWLG_ENG = 2, + /** French Canadian */ + TWLG_FCF = 3, + /** Finnish */ + TWLG_FIN = 4, + /** French */ + TWLG_FRN = 5, + /** German */ + TWLG_GER = 6, + /** Icelandic */ + TWLG_ICE = 7, + /** Italian */ + TWLG_ITN = 8, + /** Norwegian */ + TWLG_NOR = 9, + /** Portuguese */ + TWLG_POR = 10, + /** Spanish */ + TWLG_SPA = 11, + /** Swedish */ + TWLG_SWE = 12, + /** U.S. English */ + TWLG_USA = 13, + /** Added for 1.8 */ + TWLG_USERLOCALE = -1, + TWLG_AFRIKAANS = 14, + TWLG_ALBANIA = 15, + TWLG_ARABIC = 16, + TWLG_ARABIC_ALGERIA = 17, + TWLG_ARABIC_BAHRAIN = 18, + TWLG_ARABIC_EGYPT = 19, + TWLG_ARABIC_IRAQ = 20, + TWLG_ARABIC_JORDAN = 21, + TWLG_ARABIC_KUWAIT = 22, + TWLG_ARABIC_LEBANON = 23, + TWLG_ARABIC_LIBYA = 24, + TWLG_ARABIC_MOROCCO = 25, + TWLG_ARABIC_OMAN = 26, + TWLG_ARABIC_QATAR = 27, + TWLG_ARABIC_SAUDIARABIA = 28, + TWLG_ARABIC_SYRIA = 29, + TWLG_ARABIC_TUNISIA = 30, + /** United Arabic Emirates */ + TWLG_ARABIC_UAE = 31, + TWLG_ARABIC_YEMEN = 32, + TWLG_BASQUE = 33, + TWLG_BYELORUSSIAN = 34, + TWLG_BULGARIAN = 35, + TWLG_CATALAN = 36, + TWLG_CHINESE = 37, + TWLG_CHINESE_HONGKONG = 38, + /** People's Republic of China */ + TWLG_CHINESE_PRC = 39, + TWLG_CHINESE_SINGAPORE = 40, + TWLG_CHINESE_SIMPLIFIED = 41, + TWLG_CHINESE_TAIWAN = 42, + TWLG_CHINESE_TRADITIONAL = 43, + TWLG_CROATIA = 44, + TWLG_CZECH = 45, + TWLG_DANISH = 0, + TWLG_DUTCH = 1, + TWLG_DUTCH_BELGIAN = 46, + TWLG_ENGLISH = 2, + TWLG_ENGLISH_AUSTRALIAN = 47, + TWLG_ENGLISH_CANADIAN = 48, + TWLG_ENGLISH_IRELAND = 49, + TWLG_ENGLISH_NEWZEALAND = 50, + TWLG_ENGLISH_SOUTHAFRICA = 51, + TWLG_ENGLISH_UK = 52, + TWLG_ENGLISH_USA = 13, + TWLG_ESTONIAN = 53, + TWLG_FAEROESE = 54, + TWLG_FARSI = 55, + TWLG_FINNISH = 4, + TWLG_FRENCH = 5, + TWLG_FRENCH_BELGIAN = 56, + TWLG_FRENCH_CANADIAN = 3, + TWLG_FRENCH_LUXEMBOURG = 57, + TWLG_FRENCH_SWISS = 58, + TWLG_GERMAN = 6, + TWLG_GERMAN_AUSTRIAN = 59, + TWLG_GERMAN_LUXEMBOURG = 60, + TWLG_GERMAN_LIECHTENSTEIN = 61, + TWLG_GERMAN_SWISS = 62, + TWLG_GREEK = 63, + TWLG_HEBREW = 64, + TWLG_HUNGARIAN = 65, + TWLG_ICELANDIC = 7, + TWLG_INDONESIAN = 66, + TWLG_ITALIAN = 8, + TWLG_ITALIAN_SWISS = 67, + TWLG_JAPANESE = 68, + TWLG_KOREAN = 69, + TWLG_KOREAN_JOHAB = 70, + TWLG_LATVIAN = 71, + TWLG_LITHUANIAN = 72, + TWLG_NORWEGIAN = 9, + TWLG_NORWEGIAN_BOKMAL = 73, + TWLG_NORWEGIAN_NYNORSK = 74, + TWLG_POLISH = 75, + TWLG_PORTUGUESE = 10, + TWLG_PORTUGUESE_BRAZIL = 76, + TWLG_ROMANIAN = 77, + TWLG_RUSSIAN = 78, + TWLG_SERBIAN_LATIN = 79, + TWLG_SLOVAK = 80, + TWLG_SLOVENIAN = 81, + TWLG_SPANISH = 11, + TWLG_SPANISH_MEXICAN = 82, + TWLG_SPANISH_MODERN = 83, + TWLG_SWEDISH = 12, + TWLG_THAI = 84, + TWLG_TURKISH = 85, + TWLG_UKRANIAN = 86, + /** More stuff added for 1.8 */ + TWLG_ASSAMESE = 87, + TWLG_BENGALI = 88, + TWLG_BIHARI = 89, + TWLG_BODO = 90, + TWLG_DOGRI = 91, + TWLG_GUJARATI = 92, + TWLG_HARYANVI = 93, + TWLG_HINDI = 94, + TWLG_KANNADA = 95, + TWLG_KASHMIRI = 96, + TWLG_MALAYALAM = 97, + TWLG_MARATHI = 98, + TWLG_MARWARI = 99, + TWLG_MEGHALAYAN = 100, + TWLG_MIZO = 101, + TWLG_NAGA = 102, + TWLG_ORISSI = 103, + TWLG_PUNJABI = 104, + TWLG_PUSHTU = 105, + TWLG_SERBIAN_CYRILLIC = 106, + TWLG_SIKKIMI = 107, + TWLG_SWEDISH_FINLAND = 108, + TWLG_TAMIL = 109, + TWLG_TELUGU = 110, + TWLG_TRIPURI = 111, + TWLG_URDU = 112, + TWLG_VIETNAMESE = 113 +} + +/** TWAIN Supported sizes. */ +declare enum EnumDWT_CapSupportedSizes { + /** 0 */ + TWSS_NONE = 0, + /** 1 */ + TWSS_A4LETTER = 1, + /** 2 */ + TWSS_B5LETTER = 2, + /** 3 */ + TWSS_USLETTER = 3, + /** 4 */ + TWSS_USLEGAL = 4, + /** Added 1.5 + * 5 + */ + TWSS_A5 = 5, + /** 6 */ + TWSS_B4 = 6, + /** 7 */ + TWSS_B6 = 7, + /** Added 1.7 + * 9 + */ + TWSS_USLEDGER = 9, + /** 10 */ + TWSS_USEXECUTIVE = 10, + /** 11 */ + TWSS_A3 = 11, + /** 12 */ + TWSS_B3 = 12, + /** 13 */ + TWSS_A6 = 13, + /** 14 */ + TWSS_C4 = 14, + /** 15 */ + TWSS_C5 = 15, + /** 16 */ + TWSS_C6 = 16, + /** Added 1.8 + * 17 + */ + TWSS_4A0 = 17, + /** 18 */ + TWSS_2A0 = 18, + /** 19 */ + TWSS_A0 = 19, + /** 20 */ + TWSS_A1 = 20, + /** 21 */ + TWSS_A2 = 21, + /** 1 */ + TWSS_A4 = 1, + /** 22 */ + TWSS_A7 = 22, + /** 23 */ + TWSS_A8 = 23, + /** 24 */ + TWSS_A9 = 24, + /** 25 */ + TWSS_A10 = 25, + /** 26 */ + TWSS_ISOB0 = 26, + /** 27 */ + TWSS_ISOB1 = 27, + /** 28 */ + TWSS_ISOB2 = 28, + /** 12 */ + TWSS_ISOB3 = 12, + /** 6 */ + TWSS_ISOB4 = 6, + /** 29 */ + TWSS_ISOB5 = 29, + /** 7 */ + TWSS_ISOB6 = 7, + /** 30 */ + TWSS_ISOB7 = 30, + /** 31 */ + TWSS_ISOB8 = 31, + /** 32 */ + TWSS_ISOB9 = 32, + /** 33 */ + TWSS_ISOB10 = 33, + /** 34 */ + TWSS_JISB0 = 34, + /** 35 */ + TWSS_JISB1 = 35, + /** 36 */ + TWSS_JISB2 = 36, + /** 37 */ + TWSS_JISB3 = 37, + /** 38 */ + TWSS_JISB4 = 38, + /** 2 */ + TWSS_JISB5 = 2, + /** 39 */ + TWSS_JISB6 = 39, + /** 40 */ + TWSS_JISB7 = 40, + /** 41 */ + TWSS_JISB8 = 41, + /** 41 */ + TWSS_JISB9 = 42, + /** 43 */ + TWSS_JISB10 = 43, + /** 44 */ + TWSS_C0 = 44, + /** 45 */ + TWSS_C1 = 45, + /** 46 */ + TWSS_C2 = 46, + /** 47 */ + TWSS_C3 = 47, + /** 48 */ + TWSS_C7 = 48, + /** 49 */ + TWSS_C8 = 49, + /** 50 */ + TWSS_C9 = 50, + /** 51 */ + TWSS_C10 = 51, + /** 52 */ + TWSS_USSTATEMENT = 52, + /** 53 */ + TWSS_BUSINESSCARD = 53, + /** 54. Added 2.1 */ + TWSS_MAXSIZE = 54 +} + + +/** CAP_FEEDERALIGNMENT values. */ +declare enum EnumDWT_CapFeederAlignment { + /** The alignment is free-floating. Applications should assume that the origin for frames is on the left. */ + TWFA_NONE = 0, + /** The alignment is to the left. */ + TWFA_LEFT = 1, + /** The alignment is centered. This means that the paper will be fed in the middle of the ICAP_PHYSICALWIDTH of the + * device. If this is set, then the Application should calculate any frames with a left offset of zero. + */ + TWFA_CENTER = 2, + /** The alignment is to the right. */ + TWFA_RIGHT = 3 +} +/** CAP_FEEDERORDER values. */ +declare enum EnumDWT_CapFeederOrder { + /** The feeder starts with the top of the first page. */ + TWFO_FIRSTPAGEFIRST = 0, + /** The feeder starts with the top of the last page. */ + TWFO_LASTPAGEFIRST = 1 +}; + +/** CAP_PRINTER values. */ +declare enum EnumDWT_CapPrinter { + TWPR_IMPRINTERTOPBEFORE = 0, + TWPR_IMPRINTERTOPAFTER = 1, + TWPR_IMPRINTERBOTTOMBEFORE = 2, + TWPR_IMPRINTERBOTTOMAFTER = 3, + TWPR_ENDORSERTOPBEFORE = 4, + TWPR_ENDORSERTOPAFTER = 5, + TWPR_ENDORSERBOTTOMBEFORE = 6, + TWPR_ENDORSERBOTTOMAFTER = 7 +}; +/** CAP_PRINTERMODE values. */ +declare enum EnumDWT_CapPrinterMode { + /** Specifies that the printed text will consist of a single string. */ + TWPM_SINGLESTRING = 0, + /** Specifies that the printed text will consist of an enumerated list of strings to be printed in order. */ + TWPM_MULTISTRING = 1, + /** Specifies that the printed string will consist of a compound of a String followed by a value followed by a suffix string. */ + TWPM_COMPOUNDSTRING = 2 +}; +/** ICAP_BITDEPTHREDUCTION values. */ +declare enum EnumDWT_CapBitdepthReduction { + TWBR_THRESHOLD = 0, + TWBR_HALFTONE = 1, + TWBR_CUSTHALFTONE = 2, + TWBR_DIFFUSION = 3 +}; +/** ICAP_BITORDER values. */ +declare enum EnumDWT_CapBitOrder { + TWBO_LSBFIRST = 0, + /** Indicates that the leftmost bit in the byte (usually bit 7) is the byte's Most Significant Bit. */ + TWBO_MSBFIRST = 1 +}; +/** ICAP_FILTER values. */ +declare enum EnumDWT_CapFilterType { + TWFT_RED = 0, + TWFT_GREEN = 1, + TWFT_BLUE = 2, + TWFT_NONE = 3, + TWFT_WHITE = 4, + TWFT_CYAN = 5, + TWFT_MAGENTA = 6, + TWFT_YELLOW = 7, + TWFT_BLACK = 8 +}; +/** ICAP_FLASHUSED2 values. */ +declare enum EnumDWT_CapFlash { + TWFL_NONE = 0, + TWFL_OFF = 1, + TWFL_ON = 2, + TWFL_AUTO = 3, + TWFL_REDEYE = 4 +}; +/** ICAP_FLIPROTATION values. */ +declare enum EnumDWT_CapFlipRotation { + /** The images to be scanned are viewed in book form, flipping each page from left to right or right to left. */ + TWFR_BOOK = 0, + /** The images to be scanned are viewed in fanfold paper style, flipping each page up or down. */ + TWFR_FANFOLD = 1 +}; +/** ICAP_IMAGEFILTER values. */ +declare enum EnumDWT_CapImageFilter { + TWIF_NONE = 0, + TWIF_AUTO = 1, + /** Good for halftone images. */ + TWIF_LOWPASS = 2, + /** Good for improving text. */ + TWIF_BANDPASS = 3, + /** Good for improving fine lines. */ + TWIF_HIGHPASS = 4, + TWIF_TEXT = 3, + TWIF_FINELINE = 4 +}; +/** ICAP_LIGHTPATH values. */ +declare enum EnumDWT_CapLightPath { + TWLP_REFLECTIVE = 0, + TWLP_TRANSMISSIVE = 1 +}; +/** ICAP_LIGHTSOURCE values. */ +declare enum EnumDWT_CapLightSource { + TWLS_RED = 0, + TWLS_GREEN = 1, + TWLS_BLUE = 2, + TWLS_NONE = 3, + TWLS_WHITE = 4, + TWLS_UV = 5, + TWLS_IR = 6 +}; +/** TWEI_MAGTYPE values. (MD_ means Mag Type) Added 2.0 */ +declare enum EnumDWT_MagType { + /** Added 2.0 */ + TWMD_MICR = 0, + /** added 2.1 */ + TWMD_RAW = 1, + /** added 2.1 */ + TWMD_INVALID = 2 +}; +/** ICAP_NOISEFILTER values. */ +declare enum EnumDWT_CapNoiseFilter { + TWNF_NONE = 0, + TWNF_AUTO = 1, + TWNF_LONEPIXEL = 2, + TWNF_MAJORITYRULE = 3 +}; + +/** ICAP_ORIENTATION values. */ +declare enum EnumDWT_CapORientation { + TWOR_ROT0 = 0, + TWOR_ROT90 = 1, + TWOR_ROT180 = 2, + TWOR_ROT270 = 3, + TWOR_PORTRAIT = 0, + TWOR_LANDSCAPE = 3, + /** 2.0 */ + TWOR_AUTO = 4, + /** 2.0 */ + TWOR_AUTOTEXT = 5, + /** 2.0 */ + TWOR_AUTOPICTURE = 6 +}; +/** ICAP_OVERSCAN values. */ +declare enum EnumDWT_CapOverscan { + TWOV_NONE = 0, + TWOV_AUTO = 1, + TWOV_TOPBOTTOM = 2, + TWOV_LEFTRIGHT = 3, + TWOV_ALL = 4 +}; +/** ICAP_PIXELFLAVOR values. */ +declare enum EnumDWT_CapPixelFlavor { + /** Zero pixel represents darkest shade. zero pixel represents darkest shade */ + TWPF_CHOCOLATE = 0, + /** Zero pixel represents lightest shade. zero pixel represents lightest shade */ + TWPF_VANILLA = 1 +}; + +/** ICAP_PLANARCHUNKY values. */ +declare enum EnumDWT_CapPlanarChunky { + TWPC_CHUNKY = 0, + TWPC_PLANAR = 1 +}; + +/** Data source status. */ +declare enum EnumDWT_DataSourceStatus { + /** Indicate the data source is closed. */ + TWDSS_CLOSED = 0, + /** Indicate the data source is opened. */ + TWDSS_OPENED = 1, + /** Indicate the data source is enabled. */ + TWDSS_ENABLED = 2, + /** Indicate the data source is acquiring image. */ + TWDSS_ACQUIRING = 3 +}; + +/** Fit window type */ +declare enum EnumDWT_FitWindowType { + /** Fit the image to the width and height of the window */ + enumFitWindow = 0, + /** Fit the image to the height of the window */ + enumFitWindowHeight = 1, + /** Fit the image to the width of the window */ + enumFitWindowWidth = 2 +}; + +declare enum EnumDWT_UploadDataFormat { + Binary = 0, + Base64 = 1 +}; + + +declare enum EnumDWT_MouseShape { + Default = 0, + Hand = 1, + Crosshair = 2, + Zoom = 3 +}; + +/** + * @class + */ +// properties (get/set) / sync functions +interface WebTwain { + + /** + * Returns or sets whether multi-page selection is supported. + * @type {bool} + */ + AllowMultiSelect: boolean; + + /** + * [Deprecated.] Returns or sets whether allowing the plugin to send authentication request. The default value of this property is TRUE. + * @type {bool} + */ + AllowPluginAuthentication: boolean; + + /** + * [Deprecated.] Returns or sets whether the async mode is activated. With this mode, Dynamic Web TWAIN is able to upload/download files via HTTP/FTP asynchronously. The default value is false. + * @type {bool} + */ + AsyncMode: boolean; + + /** + * Returns or sets the background color of the main control. It is a value specifying the 24-bit RGB value. + * @type {int} + */ + BackgroundColor: number; + + /** + * Returns or sets the fill color of the selected area of an image when it is cut, erased or rotated. It is a value specifying the 24-bit RGB value. + * @type {int} + */ + BackgroundFillColor: number; + + /** + * [Deprecated.] Returns the number of barcode detected in an image. + * @type {int} + */ + BarcodeCount: number; + + /** + * Returns or sets the pixel bit depths for the current value of PixelType property. This is a runtime property. + * @type {short} + */ + BitDepth: number; + + /** + * Returns the current deviation of the pixels in the image. + * @type {float} + */ + BlankImageCurrentStdDev: number; + + /** + * Returns or sets the standard deviation of the pixels in the image. + * @type {float} + */ + BlankImageMaxStdDev: number; + + /** + * Returns or sets the dividing line between black and white. The default value is 128. + * @type {int} + */ + BlankImageThreshold: number; + + /** + * [Deprecated.] Returns or sets the border style. + * @type {EnumDWT_BorderStyle} + */ + BorderStyle: EnumDWT_BorderStyle; + + /** + * Returns or sets the brightness values available within the Source. This is a runtime property. + * @type {float} + */ + Brightness: number; + + /** + * [Deprecated.] Sets or returns whether brokerprocess is enabled for scanning. + * @type {int} + */ + BrokerProcessType: number; + + /** + * Sets or returns how much physical memory is allowed for storing images currently loaded in Dynamic Web TWAIN. Once the limit is reached, images will be cached on the hard disk. + * @type {int} + */ + BufferMemoryLimit: number; + + /** + * Specifies the capabiltiy to be negotiated. This is a runtime property. + * @type {EnumDWT_Cap} + */ + Capability: EnumDWT_Cap; + + /** + * Sets or returns the index (0-based) of a list to indicate the Current Value when the value of the CapType property is TWON_ENUMERATION. If the data type of the capability is String, the list is in CapItemsString property. For other data types, the list is in CapItems property. This is a runtime property. + * @type {int} + */ + CapCurrentIndex: number; + + /** + * Sets or returns the current value in a range when the value of the CapType property is TWON_RANGE. This is a runtime property. + * @type {double} + */ + CapCurrentValue: number; + + /** + * Returns the index (0-based) of a list to indicate the Default Value when the value of the CapType property is TWON_ENUMERATION. If the data type of the capability is String, the list is in CapItemsString property. For other data types, the list is in CapItems property. This is a runtime, read-only property. + * @type {int} + */ + CapDefaultIndex: number; + + /** + * Returns the default value in a range when the value of the CapType property is TWON_RANGE. This is a runtime, read-only property. + * @type {double} + */ + CapDefaultValue: number; + + /** + * Sets or returns the maximum value in a range when the value of the CapType property is TWON_RANGE. This is a runtime property. + * @type {double} + */ + CapMaxValue: number; + + /** + * Sets or returns the minimum value in a range when the value of the CapType property is TWON_RANGE. This is a runtime property. + * @type {double} + */ + CapMinValue: number; + + /** + * [Deprecated.] Sets or returns how many items are in the list when the value of the CapType property is TWON_ARRAY or TWON_ENUMERATION. For String data type, the list is in CapItemsString property. For other data types, the list is in CapItems property. This is a runtime property. + * @type {int} + */ + CapNumItems: number; + + /** + * [Deprecated.] Replaced by GetCapItemsString method and SetCapItemsString method. + * @type {string} + */ + CapItemsString: string; + + /** + * Sets or returns the step size in a range when the value of the CapType property is TWON_RANGE. This is a runtime property. + * @type {double} + */ + CapStepSize: number; + + /** + * Sets or returns the type of capability container used to exchange capability information between application and source. This is a runtime property. + * @type {EnumDWT_CapType} + */ + CapType: EnumDWT_CapType; + + /** + * Returns or sets the value of the capability specified by Capability property when the value of the CapType property is TWON_ONEVALUE. This is a runtime property. + * @type {double} + */ + CapValue: number; + + /** + * Sets or returns the string value for a capability when the value of the CapType property is TWON_ONEVALUE. This is a runtime property. + * @type {string} + */ + CapValueString: string; + + /** + * Sets or returns the value type for reading the value of a capability. This is a runtime property. + * @type {short} + */ + CapValueType: number; + + /** + * Returns or sets the contrast values available within the Source. This is a runtime property. + * @type {float} + */ + Contrast: number; + + /** + * Sets or returns the product name string for the application identity. + * @type {string} + */ + ProductName: string; + + /** + * Returns or sets current index of image in buffer. This is a runtime property. + * @type {short} + */ + CurrentImageIndexInBuffer: number; + + /** + * Returns the device name of current source. This is a runtime, read-only property. + * @type {string} + */ + CurrentSourceName: string; + + /** + * Returns the value indicating the data source status. This is a runtime, read-only property. + * @type {int} + */ + DataSourceStatus: number; + + /** + * Returns the device name of default source. This is a runtime, read-only property. + * @type {string} + */ + DefaultSourceName: string; + + /** + * Returns whether the source supports duplex. If so, it further returns the level of duplex the Source supports (one pass or two pass duplex). This is a runtime, read-only property. + * @type {int} + */ + Duplex: number; + + /** + * [Deprecated.] Returns or sets whether the user can zoom image using hot key. + * @type {bool} + */ + EnableInteractiveZoom: boolean; + + /** + * Returns the error code. This is a runtime, read-only property. + * @type {int} + */ + ErrorCode: number; + + /** + * Returns the error string. This is a runtime, read-only property. + * @type {string} + */ + ErrorString: string; + + /** + * Returns or sets whether to resize the image to fit the image to the width or height of the window. To use the property, the view mode should be set to -1 by -1. You can use SetViewMode method to set the view mode. + * @type {EnumDWT_FitWindowType} + */ + FitWindowType: EnumDWT_FitWindowType; + + /** + * Returns or sets the password used to log into the FTP server. + * @type {string} + */ + FTPPassword: string; + + /** + * Returns or sets the port number of the FTP server. + * @type {int} + */ + FTPPort: number; + + /** + * Returns or sets the user name used to log into the FTP server. + * @type {string} + */ + FTPUserName: string; + + /** + * Returns how many images are in buffer. This is a runtime, read-only property. + * @type {short} + */ + HowManyImagesInBuffer: number; + + /** + * Specifies the field name of uploaded image through POST. + * @type {string} + */ + HttpFieldNameOfUploadedImage: string; + + /** + * [Deprecated.] Sets or returns the password used to log into the HTTP server. + * @type {string} + */ + HTTPPassword: string; + + /** + * Returns or sets the port number of the HTTP server. + * @type {int} + */ + HTTPPort: number; + + /** + * Returns the response string from the HTTP server if an error occurs for HTTPUploadThroughPost() method. This is a runtime, read-only property. + * @type {string} + */ + HTTPPostResponseString: string; + + /** + * [Deprecated.] Returns or sets the user name used to log into the HTTP server. + * @type {string} + */ + HTTPUserName: string; + + /** + * Returns or sets whether the feature of disk caching is enabled. + * @type {bool} + */ + IfAllowLocalCache: boolean; + + /** + * Returns or sets whether insert or append new scanned images. + * @type {bool} + */ + IfAppendImage: boolean; + + /** + * Returns or sets whether the Source's Auto-brightness function is enabled. This is a runtime property. + * @type {bool} + */ + IfAutoBright: boolean; + + /** + * Returns or sets whether the data source (scanner) will discard blank images during scanning. The property works only if the device and its driver support discarding blank pages. You can find whether your device supports this capbility from its user manual. Or, you can use the built-in methods of Dynamic Web TWAIN to detect blank images: IsBlankImage, IsBlankImageEx. + * @type {bool} + */ + IfAutoDiscardBlankpages: boolean; + + /** + * Returns or sets whether the Source enable automatic document feeding process. This is a runtime property. + * @type {bool} + */ + IfAutoFeed: boolean; + + /** + * Turns automatic border detection on and off. The property works only if the device and its driver support detecting the border automatically. You can find whether your device supports this capbility from its user manual. + * @type {bool} + */ + IfAutomaticBorderDetection: boolean; + + /** + * Turns automatic skew correction on and off. + * @type {bool} + */ + IfAutomaticDeskew: boolean; + + /** + * Returns or sets whether the Source enables the automatic document scanning process. This is a runtime property. + * @type {bool} + */ + IfAutoScan: boolean; + + /** + * Returns or sets whether close the Data Source User Interface after acquire all images. Default value of this property is FALSE. + * @type {bool} + */ + IfDisableSourceAfterAcquire: boolean; + + /** + * Returns or sets whether the Source supports duplex. If TRUE, the scanner scans both sides of a paper; otherwise, the scanner will scan only one side of the image. This is a runtime property. + * @type {bool} + */ + IfDuplexEnabled: boolean; + + /** + * Returns or sets whether the Automatic Document Feeder (ADF) is enabled. This is a runtime property. + * @type {bool} + */ + IfFeederEnabled: boolean; + + /** + * Returns whether or not there are documents loaded in the Source's feeder when IfFeederEnabled and IfPaperDetectable are TRUE. This is a runtime, read-only property. + * @type {bool} + */ + IfFeederLoaded: boolean; + + /** + * Returns or sets whether to resize the image to fit the size of window when the view mode is set to -1 by -1. You can use SetViewMode method to set the view mode. + * @type {bool} + */ + IfFitWindow: boolean; + + /** + * [Deprecated.] Returns or sets whether the UI (User Interface) of Source runs in modal state. Default value of this property is TRUE. + * @type {bool} + */ + IfModalUI: boolean; + + /** + * Sets or returns whether Dynamic Web TWAIN uses Graphics Device Interface (GDI) when decoding images. + * @type {bool} + */ + IfOpenImageWithGDIPlus: boolean; + + /** + * Returns the value whether the Source has a paper sensor that can detect documents on the ADF or Flatbed. This is a runtime, read-only property. + * @type {bool} + */ + IfPaperDetectable: boolean; + + /** + * Returns or sets whether FTP passive mode is enabled. + * @type {bool} + */ + IfPASVMode: boolean; + + /** + * [Deprecated.] Returns or sets whether communicate with device in a separate thread. Default value of this property is FALSE. + * @type {bool} + */ + IfScanInNewThread: boolean; + + /** + * Sets or returns whether to show the cancel dialog when uploading images to server. + * @type {bool} + */ + IfShowCancelDialogWhenImageTransfer: boolean; + + /** + * Returns or sets whether to show the file dialog box when saving scanned images or loading images from local folder. + * @type {bool} + */ + IfShowFileDialog: boolean; + + /** + * Returns or sets whether the Source displays a progress indicator during acquisition and transfer, regardless of whether the Source's user interface is active. This is a runtime property. + * @type {bool} + */ + IfShowIndicator: boolean; + + /** + * [Deprecated.] Returns or sets whether the driver of the printer displays the User Interface. + * @type {bool} + */ + IfShowPrintUI: boolean; + + /** + * Returns or sets whether the progress bar will be displayed during the transaction. This is a runtime property. + * @type {bool} + */ + IfShowProgressBar: boolean; + + /** + * Returns or sets whether the Source displays the User Interface. + * @type {bool} + */ + IfShowUI: boolean; + + /** + * Returns or sets whether SSL is used when uploading or downloading images. + * @type {bool} + */ + IfSSL: boolean; + + /** + * Return or sets whether the Source allows to save many images in one TIFF file. The default value is FALSE. + * @type {bool} + */ + IfTiffMultiPage: boolean; + + /** + * Returns whether the Source supports acquisition with the UI (User Interface) disabled. If FALSE, indicates that this Source can only support acquisition with the UI enabled. This is a runtime, read-only property. + * @type {bool} + */ + IfUIControllable: boolean; + + /** + * Sets or returns whether Dynamic Web TWAIN uses the new TWAIN Data Source Manager (TWAINDSM.dll) when acquiring images from TWAIN devices. + * @type {bool} + */ + IfUseTwainDSM: boolean; + + /** + * Specifies whether or not to automatically scroll to the last image or stay on the current image when loading or acquiring images + * @type {bool} + */ + IfAutoScroll: boolean; + + /** + * [Deprecated.] The number of bits in each image pixel (or bit depth). This is a runtime, read-only property. + * @type {short} + */ + ImageBitsPerPixel: number; + + /** + * Returns or sets whether a TWAIN driver or Native Scan of Mac OS X is used for document scanning. This property works for Mac edition only. + * @type {int} + */ + ImageCaptureDriverType: number; + + /** + * [Deprecated.] Returns or sets whether the image enumerator is enabled in Image Editor. + * @type {bool} + */ + ImageEditorIfEnableEnumerator: boolean; + + /** + * [Deprecated.] Returns or sets whether the Image Editor is a modal window. + * @type {bool} + */ + ImageEditorIfModal: boolean; + + /** + * [Deprecated.] Returns or sets whether the Image Editor is read-only. + * @type {bool} + */ + ImageEditorIfReadonly: boolean; + + /** + * [Deprecated.] Returns or sets the title of Image Editor window. + * @type {string} + */ + ImageEditorWindowTitle: string; + + /** + * Returns the document number of the current image. This is a runtime, read-only property. + * @type {int} + */ + ImageLayoutDocumentNumber: number; + + /** + * Returns the value of the bottom-most edge of the current image frame (in Unit). This is a read-only runtime property. + * @type {float} + */ + ImageLayoutFrameBottom: number; + + /** + * Returns the value of the left-most edge of the current image frame (in Unit). This is a runtime, read-only property. + * @type {float} + */ + ImageLayoutFrameLeft: number; + + /** + * Returns the frame number of the current image. This is a runtime, read-only property. + * @type {int} + */ + ImageLayoutFrameNumber: number; + + /** + * Returns the value of the right-most edge of the current image frame (in Unit). This is a runtime, read-only property. + * @type {float} + */ + ImageLayoutFrameRight: number; + + /** + * Returns the value of the top-most edge of the current image frame (in Unit). This is a runtime, read-only property. + * @type {float} + */ + ImageLayoutFrameTop: number; + + /** + * Returns the page number of the current image. This is a runtime, read-only property. + * @type {Long} + */ + ImageLayoutPageNumber: number; + + /** + * [Deprecated.] Returns how tall/long, in pixels, the image is. This is a runtime, read-only property. + * @type {int} + */ + ImageLength: number; + + /** + * Returns or sets the margin between images when multiple images are displayed in Dynamic Web TWAIN. + * @type {short} + */ + ImageMargin: number; + + /** + * Returns the pixel type of the current image. This is a runtime, read-only property. Please note the property is only valid in OnPreTransfer and OnPostTransfer event. + * @type {EnumDWT_PixelType} + */ + ImagePixelType: EnumDWT_PixelType; + + /** + * [Deprecated.] Returns how width, in pixels, the image is. This is a runtime, read-only property. + * @type {int} + */ + ImageWidth: number; + + /** + * [Deprecated.] Returns the X resolution of the current image. X resolution is the number of pixels per Unit in the horizontal direction. This is a runtime, read-only property. + * @type {float} + */ + ImageXResolution: number; + + /** + * [Deprecated.] Returns the Y resolution of the current image. Y resolution is the number of pixels per Unit in the vertical direction. This is a runtime, read-only property. + * @type {float} + */ + ImageYResolution: number; + + /** + * Returns or sets the quality of JPEG files and PDF files using JPEG compression. + * @type {short} + */ + JPEGQuality: number; + + /** + * Returns or sets the log level for debugging. + * @type {short} + */ + LogLevel: number; + + /** + * Return the magnetic data if the scanner support magnetic data recognition. + * @type {string} + */ + MagData: string; + + /** + * Return the magnetic type if the scanner support magnetic data recognition. + * @type {short} + */ + MagType: number; + + /** + * Sets or returns the manufacture string for the application identity. + * @type {string} + */ + Manufacturer: string; + + /** + * Returns or sets the maximum number of images can be held in buffer. + * @type {short} + */ + MaxImagesInBuffer: number; + + /** + * [Deprecated.] Returns or sets how many threads can be used when you upload files through POST. + * @type {int} + */ + MaxInternetTransferThreads: number; + + /** + * Sets or returns the maximum allowed size when Dynamic Web TWAIN uploads a document. + * @type {int} + */ + MaxUploadImageSize: number; + + /** + * Returns or sets the shape of the mouse. + * @type {bool} + */ + MouseShape: boolean; + + /** + * Returns the X co-ordinate of the mouse. This is a runtime property. + * @type {int} + */ + MouseX: number; + + /** + * Returns the Y co-ordinate of the mouse. This is a runtime property. + * @type {int} + */ + MouseY: number; + + /** + * Returns or sets the page size(s) the Source can/should use to acquire image data. This is a runtime property. + * @type {short} + */ + PageSize: number; + + /** + * Returns or sets the name of the person who creates the PDF document. + * @type {string} + */ + PDFAuthor: string; + + /** + * Returns or sets the compression type of PDF files. This is a runtime property. + * @type {EnumDWT_PDFCompressionType} + */ + PDFCompressionType: EnumDWT_PDFCompressionType; + + /** + * Returns or sets the date when the PDF document is created. + * @type {string} + */ + PDFCreationDate: string; + + /** + * Returns or sets the name of the application that created the original document, if the PDF document is converted from another form. + * @type {string} + */ + PDFCreator: string; + + /** + * Returns or sets the keywords associated with the PDF document. + * @type {string} + */ + PDFKeywords: string; + + /** + * Returns or sets the date when the PDF document is last modified. + * @type {string} + */ + PDFModifiedDate: string; + + /** + * Returns or sets the name of the application that converted the PDF document from its native. + * @type {string} + */ + PDFProducer: string; + + /** + * Returns or sets the subject of the PDF document. + * @type {string} + */ + PDFSubject: string; + + /** + * Returns or sets the title of the PDF document. + * @type {string} + */ + PDFTitle: string; + + /** + * Returns or sets the value of the PDF version. + * @type {string} + */ + PDFVersion: string; + + /** + * Returns the number of transfers the Source is ready to supply, upon demand. This is a runtime, read-only property. + * @type {short} + */ + PendingXfers: number; + + /** + * Returns or sets the pixel flavor for acquired images. This is a runtime property. + * @type {short} + */ + PixelFlavor: number; + + /** + * Returns or sets the pixel type of current data source. This is a runtime property. Using this property after calling OpenSource() method and before calling AcquireImage(). + * @type {EnumDWT_PixelType} + */ + PixelType: EnumDWT_PixelType; + + /** + * Sets or returns the product family string for the application identity. + * @type {string} + */ + ProductFamily: string; + + /** + * Sets the product key. A product key is generated in Licensing Tool which is intalled with Dynamic Web TWAIN. Each product key corresponds with a license. + * @type {string} + */ + ProductKey: string; + + /** + * [Deprecated.] Returns or sets the name of the proxy server. + * @type {string} + */ + ProxyServer: string; + + /** + * Returns or sets the current resolution for acquired images. This is a runtime property. + * @type {float} + */ + Resolution: number; + + /** + * Returns or sets how many scanned images are selected. + * @type {short} + */ + SelectedImagesCount: number; + + /** + * Returns or sets the border color of the selected image. It is a value specifying the 24-bit RGB value. + * @type {int} + */ + SelectionImageBorderColor: number; + + /** + * Specifies a fixed aspect ratio to be used for selecting an area. + * @type {float} + */ + SelectionRectAspectRatio: number; + + /** + * Returns how many sources are installed in the system. This is a runtime, read-only property. + * @type {int} + */ + SourceCount: number; + + /** + * [Deprecated.] Replaced by GetSourceNameItems method. + * @type {string} + */ + SourceNameItems: string; + + /** + * [Deprecated.] + * @type {string} + */ + GetSourceNames: string; + + /** + * Returns or sets the compression type of TIFF files. This is a runtime property. + * @type {EnumDWT_TIFFCompressionType} + */ + TIFFCompressionType: EnumDWT_TIFFCompressionType; + + /** + * Sets or returns the transfer mode. + * @type {EnumDWT_TransferMode} + */ + TransferMode: EnumDWT_TransferMode; + + /** + * Returns or sets the unit of measure. This is a runtime property. + * @type {short} + */ + Unit: number; + + /** + * Sets or returns the version info string for the application identity. + * @type {string} + */ + VersionInfo: string; + + /** + * Returns and sets the number of images you are willing to transfer per session. This is a runtime property. + * @type {short} + */ + XferCount: number; + + /** + * Returns or sets zoom factor for the image, only valid When the view mode is set to -1 by -1. + * @type {float} + */ + Zoom: number; + + /** + * Binds a specified function to an event, so that the function gets called whenever the event fires. + * @method WebTwain#RegisterEvent + * @param {string} name the name of the event that the function is bound to. + * @param {object} evt specifies the function to call when event fires. + * @return {bool} + */ + RegisterEvent(name: string, evt: object): boolean; + + // --- SCAN start -- + + /** + * Cancels all pending transfers. + * @method WebTwain#CancelAllPendingTransfers + * @return {bool} + */ + CancelAllPendingTransfers(): boolean; + + /** + * Closes Data Source. + * @method WebTwain#CloseSource + * @return {bool} + */ + CloseSource(): boolean; + + /** + * Closes and unloads Data Source Manager. + * @method WebTwain#CloseSourceManager + * @return {bool} + */ + CloseSourceManager(): boolean; + + /** + * Disable the source. If the source's user interface is displayed when the source is enabled, it will be closed. + * @method WebTwain#DisableSource + * @return {bool} + */ + DisableSource(): boolean; + + /** + * Sets the Source to eject the current page and advance the next page in the document feeder into the feeder acquire area when IfFeederEnabled is TRUE. + * @method WebTwain#FeedPage + * @return {bool} + */ + FeedPage(): boolean; + + /** + * Retrieve the device type of the currently selected data source, it might be a scanner, a web camera, etc. + * @method WebTwain#GetDeviceType + * @return {int} + */ + GetDeviceType(): number; + + /** + * Get the source name according to the source index. + * @method WebTwain#GetSourceNameItems + * @param {short} index int index. Index is 0-based and can not be greater than SourceCount property. + * @return {string} + */ + GetSourceNameItems(index: number): string; + + /** + * Loads the specified Source into main memory and causes its initialization, + * placing Dynamic Web TWAIN into Capability Negotiation state. If no source is + * specified (no SelectSource() or SelectSourceByIndex() is called), opens the default source. + * @method WebTwain#OpenSource + * @return {bool} + */ + OpenSource(): boolean; + + /** + * Loads and opens Data Source Manager. + * @method WebTwain#OpenSourceManager + * @return {bool} + */ + OpenSourceManager(): boolean; + + /** + * Reverts the current image layout to the Data Source's default. + * @method WebTwain#ResetImageLayout + * @return {bool} + */ + ResetImageLayout(): boolean; + + /** + * Sets the Source to return the current page to the input side of the document feeder and + * feed the last page from the outside of the feeder back into the acquisition area if IfFeederEnabled is TRUE. + * @method WebTwain#RewindPage + * @return {bool} + */ + RewindPage(): boolean; + + /** + * Brings up the TWAIN Data Source Manager's Source Selection User Interface (UI) + * so that user can choose which Data Source to be the current Source. + * @method WebTwain#SelectSource + * @return {bool} + */ + SelectSource(): boolean; + + /** + * Selects the index-the source in SourceNameItems property as the current source. + * @method WebTwain#SelectSourceByIndex + * @param {short} index It is the index of SourceNameItems property. + * @return {bool} + */ + SelectSourceByIndex(index: number): boolean; + + /** + * Sets file name and file format information used in File Transfer Mode. + * @method WebTwain#SetFileXferInfo + * @param {string} fileName the name of the file to be used in transfer. + * @param {EnumDWT_FileFormat} fileFormat an enumerated value indicates the format of the image. + * @return {bool} + */ + SetFileXferInfo(fileName: string, fileFormat: EnumDWT_FileFormat): boolean; + + /** + * Sets the left, top, right, and bottom sides of the image layout rectangle for the current Data Source. + * @method WebTwain#SetImageLayout + * @param {float} left specifies the floating point number for the left side of the image layout rectangle. + * @param {float} top specifies the floating point number for the top side of the image layout rectangle. + * @param {float} right specifies the floating point number for the right side of the image layout rectangle. + * @param {float} bottom specifies the floating point number for the bottom side of the image layout rectangle. + * @return {bool} + */ + SetImageLayout(left: number, top: number, right: number, bottom: number): boolean; + + /** + * Clears all the web forms which are used for image uploading. + * @method WebTwain#ClearAllHTTPFormField + * @return {bool} + */ + ClearAllHTTPFormField(): boolean; + + /** + * Clears the content of all custom tiff tags. + * @method WebTwain#ClearTiffCustomTag + * @return {void} + */ + ClearTiffCustomTag(): void; + + /** + * Check whether a certain file exists on the local disk. + * @method WebTwain#FileExists + * @param {string} localFile specifies the absolute path of the local file. + * @return {bool} + */ + FileExists(localFile: string): boolean; + + /** + * Downloads an image from the FTP server. + * @method WebTwain#FTPDownload + * @param {string} FTPServer the name of the FTP server. + * @param {string} FTPRemoteFile the name of the file to be downloaded. It should be the relative path of the file on the FTP server. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the download succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the download fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + FTPDownload(FTPServer: string, FTPRemoteFile: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Directly download a file from the FTP server to local disk without loading it into Dynamic Web TWAIN. + * @method WebTwain#FTPDownloadDirectly + * @param {string} FTPServer the name of the FTP server. + * @param {string} FTPRemoteFile the name of the file to be downloaded. It should be the relative path of the file on the FTP server. + * @param {string} localFile specify a full path to store the file. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the download succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the download fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + FTPDownloadDirectly(FTPServer: string, FTPRemoteFile: string, localFile: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Downloads an image from the FTP server. + * @method WebTwain#FTPDownloadEx + * @param {string} FTPServer the name of the FTP server. + * @param {string} FTPRemoteFile the name of the file to be downloaded. It should be the relative path of the file on the FTP server. + * @param {EnumDWT_ImageType} lImageType simage format of the file to be downloaded. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the download succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the download fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + FTPDownloadEx(FTPServer: string, FTPRemoteFile: string, lImageType: EnumDWT_ImageType, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Uploads the image of a specified index in the buffer to the FTP server. + * @method WebTwain#FTPUpload + * @param {string} FTPServer the name of the FTP server. + * @param {short} sImageIndex specifies the index of the image in the buffer. The index is 0-based. + * @param {string} FTPRemoteFile the name of the file to be created on the FTP server. It should be a relative path on the FTP server. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + FTPUpload(FTPServer: string, sImageIndex: number, FTPRemoteFile: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Directly upload a specific file to the FTP server without loading it into Dynamic Web TWAIN. + * @method WebTwain#FTPUploadDirectly + * @param {string} FTPServer the name of the FTP server. + * @param {string} localFile specify the the full path of a local file. + * @param {string} FTPRemoteFile the name of the file to be created on the FTP server. It should be a relative path on the FTP server. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + FTPUploadDirectly(FTPServer: string, localFile: string, FTPRemoteFile: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Uploads the image of a specified index in the buffer to the FTP server as a specified image format. + * @method WebTwain#FTPUploadEx + * @param {string} FTPServer the name of the FTP server. + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {string} FTPRemoteFile the name of the file to be created on the FTP server. It should be a relative path on the FTP server. + * @param {EnumDWT_ImageType} lImageType the image format of the file to be created on the FTP server. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + FTPUploadEx(FTPServer: string, sImageIndex: number, FTPRemoteFile: string, lImageType: EnumDWT_ImageType, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Uploads all images in buffer to the FTP server as Multi-Page TIFF. + * @method WebTwain#FTPUploadAllAsMultiPageTIFF + * @param {string} FTPServer the name of the FTP server. + * @param {string} FTPRemoteFile the name of the image to be uploaded. It should be a relative path on the FTP server. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + FTPUploadAllAsMultiPageTIFF(FTPServer: string, FTPRemoteFile: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Uploads all images in buffer to the FTP server as Multi-Page PDF. + * @method WebTwain#FTPUploadAllAsPDF + * @param {string} FTPServer the name of the FTP server. + * @param {string} FTPRemoteFile the name of the image to be uploaded. It should be a relative path on the FTP server. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + FTPUploadAllAsPDF(FTPServer: string, FTPRemoteFile: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Uploads the selected images in buffer to the FTP server as Multi-Page PDF. + * @method WebTwain#FTPUploadAsMultiPagePDF + * @param {string} FTPServer the name of the FTP server. + * @param {string} FTPRemoteFile the name of the image to be uploaded. It should be a relative path on the FTP server. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + FTPUploadAsMultiPagePDF(FTPServer: string, FTPRemoteFile: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Uploads the selected images in buffer to the FTP server as Multi-Page TIFF. + * @method WebTwain#FTPUploadAsMultiPageTIFF + * @param {string} FTPServer the name of the FTP server. + * @param {string} FTPRemoteFile the name of the image to be uploaded. It should be a relative path on the FTP server. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + FTPUploadAsMultiPageTIFF(FTPServer: string, FTPRemoteFile: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Downloads an image from the HTTP server. + * @method WebTwain#HTTPDownload + * @param {string} HTTPServer the name of the HTTP server. + * @param {string} HTTPRemoteFile the name of the image to be downloaded. It should be the relative path of the file on the HTTP server. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the download succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the download fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + HTTPDownload(HTTPServer: string, HTTPRemoteFile: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Directly downloads a file from the HTTP server to a local disk without loading it into Dynamic Web TWAIN. + * @method WebTwain#HTTPDownloadDirectly + * @param {string} HTTPServer the name of the HTTP server. + * @param {string} HTTPRemoteFile The relative path of the file on the HTTP server. + * @param {string} localFile specify the location to store the downloaded file. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the download succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the download fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + HTTPDownloadDirectly(HTTPServer: string, HTTPRemoteFile: string, localFile: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Downloads an image from the HTTP server. + * @method WebTwain#HTTPDownloadEx + * @param {string} HTTPServer the name of the HTTP server. + * @param {string} HTTPRemoteFile the relative path of the file on the HTTP server, or path to an action page (with necessary parameters) which gets and sends back the image stream to the client (please check the sample for more info) + * @param {EnumDWT_ImageType} lImageType the image format of the file to be downloaded. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the download succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the download fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + HTTPDownloadEx(HTTPServer: string, HTTPRemoteFile: string, lImageType: EnumDWT_ImageType, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Download an image from the server using a HTTP Post call. + * @method WebTwain#HTTPDownloadThroughPost + * @param {string} HTTPServer the name of the HTTP server. + * @param {string} HTTPRemoteFile the relative path of the file on the HTTP server, or path to an action page (with necessary parameters) which gets and sends back the image stream to the client (please check the sample for more info) + * @param {EnumDWT_ImageType} lImageType the image format of the file to be downloaded. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the download succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the download fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + HTTPDownloadThroughPost(HTTPServer: string, HTTPRemoteFile: string, lImageType: EnumDWT_ImageType, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Uploads the image of a specified index in the buffer to the HTTP server through the HTTP POST method. + * @method WebTwain#HTTPUploadThroughPost + * @param {string} HTTPServer the name of the HTTP server. + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {string} ActionPage the specified page for posting image files. This is the relative path of the page, not the absolute path. For example: "upload.asp", not "http://www.webserver.com/upload.asp". + * @param {string} fileName the name of the image to be uploaded. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnHttpUploadSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnHttpUploadFailure. + * @return {bool} + */ + HTTPUploadThroughPost(HTTPServer: string, sImageIndex: number, ActionPage: string, fileName: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Directly upload a specific local file to the HTTP server through the HTTP POST method without loading it into Dynamic Web TWAIN. + * @method WebTwain#HTTPUploadThroughPostDirectly + * @param {string} HTTPServer the name of the HTTP server. + * @param {string} localFile specifies the path of a local file . + * @param {string} ActionPage the specified page for posting files. This is the relative path of the page, not the absolute path. For example: "upload.asp", not "http://www.webserver.com/upload.asp". + * @param {string} fileName the name of the file to be uploaded. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnHttpUploadSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnHttpUploadFailure. + * @return {bool} + */ + HTTPUploadThroughPostDirectly(HTTPServer: string, localFile: string, ActionPage: string, fileName: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Uploads the image of a specified index in the buffer to the HTTP server as a specified image format through the HTTP POST method. + * @method WebTwain#HTTPUploadThroughPostEx + * @param {string} HTTPServer the name of the HTTP server. + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {string} ActionPage the specified page for posting image files. This is the relative path of the page, not the absolute path. For example: "upload.asp", not "http://www.webserver.com/upload.asp". + * @param {string} fileName the name of the image to be uploaded. + * @param {EnumDWT_ImageType} lImageType the image format of the file to be created on the HTTP server.s + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnHttpUploadSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnHttpUploadFailure. + * @return {bool} + */ + HTTPUploadThroughPostEx(HTTPServer: string, sImageIndex: number, ActionPage: string, fileName: string, lImageType: EnumDWT_ImageType, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Uploads all images in the buffer to the HTTP server through the HTTP Post method as a Multi-Page TIFF. + * @method WebTwain#HTTPUploadAllThroughPostAsMultiPageTIFF + * @param {string} HTTPServer the name of the HTTP server. + * @param {string} ActionPage the specified page for posting image files. This is the relative path of the page, not the absolute path. For example: "upload.asp", not "http://www.webserver.com/upload.asp". + * @param {string} fileName the name of the image to be uploaded. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnHttpUploadSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnHttpUploadFailure. + * @return {bool} + */ + HTTPUploadAllThroughPostAsMultiPageTIFF(HTTPServer: string, ActionPage: string, fileName: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Uploads the selected images in the buffer to the HTTP server through the HTTP Post method as a Multi-Page TIFF. + * @method WebTwain#HTTPUploadThroughPostAsMultiPageTIFF + * @param {string} HTTPServer the name of the HTTP server. + * @param {string} ActionPage the specified page for posting image files. This is the relative path of the page, not the absolute path. For example: "upload.asp", not "http://www.webserver.com/upload.asp". + * @param {string} fileName the name of the image to be uploaded. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnHttpUploadSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnHttpUploadFailure. + * @return {bool} + */ + HTTPUploadThroughPostAsMultiPageTIFF(HTTPServer: string, ActionPage: string, fileName: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Uploads all images in the buffer to the HTTP server through HTTP Post method as a Multi-Page PDF. + * @method WebTwain#HTTPUploadAllThroughPostAsPDF + * @param {string} HTTPServer the name of the HTTP server. + * @param {string} ActionPage the specified page for posting image files. This is the relative path of the page, not the absolute path. For example: "upload.asp", not "http://www.webserver.com/upload.asp". + * @param {string} fileName the name of the image to be uploaded. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnHttpUploadSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnHttpUploadFailure. + * @return {bool} + */ + HTTPUploadAllThroughPostAsPDF(HTTPServer: string, ActionPage: string, fileName: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Uploads the selected images in the buffer to the HTTP server through the HTTP Post method as a Multi-Page PDF. + * @method WebTwain#HTTPUploadThroughPostAsMultiPagePDF + * @param {string} HTTPServer the name of the HTTP server. + * @param {string} ActionPage the specified page for posting image files. This is the relative path of the page, not the absolute path. For example: "upload.asp", not "http://www.webserver.com/upload.asp". + * @param {string} fileName the name of the image to be uploaded. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnHttpUploadSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnHttpUploadFailure. + * @return {bool} + */ + HTTPUploadThroughPostAsMultiPagePDF(HTTPServer: string, ActionPage: string, fileName: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + + /** + * [Deprecated.] Directly uploads a specific local file to the HTTP server through the HTTP PUT method without loading it into Dynamic Web TWAIN. + * @method WebTwain#HTTPUploadThroughPutDirectly + * @param {string} HTTPServer the name of the HTTP server. + * @param {string} localFile specifies the path of a local file. + * @param {string} RemoteFileName the name of the file to be created on the HTTP server. It should a relative path on the web server. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + HTTPUploadThroughPutDirectly(HTTPServer: string, localFile: string, RemoteFileName: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * [Deprecated.] Uploads the image of a specified index in the buffer to the HTTP server through the HTTP PUT method. + * @method WebTwain#HTTPUploadThroughPut + * @param {string} HTTPServer the name of the HTTP server. + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {string} RemoteFileName the name of the image to be created on the HTTP server. It should a relative path on the web server. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + HTTPUploadThroughPut(HTTPServer: string, sImageIndex: number, RemoteFileName: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * [Deprecated.] Uploads the image of a specified index in the buffer to the HTTP server as a specified image format through the HTTP PUT method. + * @method WebTwain#HTTPUploadThroughPutEx + * @param {string} HTTPServer the name of the HTTP server. + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {string} RemoteFileName the name of the file to be created on the HTTP server. It should a relative path on the web server. + * @param {EnumDWT_ImageType} lImageType the image format of the file to be created on the HTTP server. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + HTTPUploadThroughPutEx(HTTPServer: string, sImageIndex: number, RemoteFileName: string, lImageType: EnumDWT_ImageType, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * [Deprecated.] Uploads all images in the buffer to the HTTP server through the HTTP Put method as a Multi-Page TIFF. + * @method WebTwain#HTTPUploadAllThroughPutAsMultiPageTIFF + * @param {string} HTTPServer the name of the HTTP server. + * @param {string} RemoteFileName the name of the image to be uploaded. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + HTTPUploadAllThroughPutAsMultiPageTIFF(HTTPServer: string, RemoteFileName: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * [Deprecated.] Uploads the selected images in the buffer to the HTTP server through the HTTP Put method as a Multi-Page TIFF. + * @method WebTwain#HTTPUploadThroughPutAsMultiPageTIFF + * @param {string} HTTPServer the name of the HTTP server. + * @param {string} RemoteFileName the name of the image to be uploaded. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + HTTPUploadThroughPutAsMultiPageTIFF(HTTPServer: string, RemoteFileName: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * [Deprecated.] Uploads all images in the buffer to the HTTP server through the HTTP Put method as a Multi-Page PDF. + * @method WebTwain#HTTPUploadAllThroughPutAsPDF + * @param {string} HTTPServer the name of the HTTP server. + * @param {string} RemoteFileName the name of the image to be uploaded. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + HTTPUploadAllThroughPutAsPDF(HTTPServer: string, RemoteFileName: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * [Deprecated.] Uploads the selected images in the buffer to the HTTP server through the HTTP Put method as a Multi-Page PDF. + * @method WebTwain#HTTPUploadThroughPutAsMultiPagePDF + * @param {string} HTTPServer the name of the HTTP server. + * @param {string} RemoteFileName the name of the image to be uploaded. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the upload succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the upload fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + HTTPUploadThroughPutAsMultiPagePDF(HTTPServer: string, RemoteFileName: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Configures how segmented upload is done. + * @method WebTwain#SetUploadSegment + * @param {int} segmentUploadThreshold specifies the threshold (in MB) over which segmented upload will be invoked. + * @param {int} moduleSize specifies the size of each segment (in KB). + * @return {bool} + */ + SetUploadSegment (segmentUploadThreshold: number, moduleSize: number): boolean; + + /** + * Uploads the images specified by the indices to the HTTP server. + * @method WebTwain#HTTPUpload + * @param {string} url the url where the images are sent in a POST request. + * @param {Array} indices indices specifies which images are to be uploaded. + * @param {EnumDWT_ImageType} enumImageType the image format in which the images are to be uploaded. + * @param {EnumDWT_UploadDataFormat} dataFormat whether to upload the images as binary or a base64-based string. + * @param {function} asyncSuccessFunc the function to call when the upload succeeds. Please refer to the function prototype OnSuccess. + * @param {function} asyncFailureFunc the function to call when the upload fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + HTTPUpload (url: string, indices: number[], enumImageType: EnumDWT_ImageType, dataFormat: EnumDWT_UploadDataFormat, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Loads a DIB format image from Clipboard into the Dynamic Web TWAIN. + * @method WebTwain#LoadDibFromClipboard + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the loading succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the loading fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + LoadDibFromClipboard(optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Loads an image into the Dynamic Web TWAIN. + * @method WebTwain#LoadImage + * @param {string} localFile the name of the image to be loaded. It should be the absolute path of the image file on the local disk. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the loading succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the loading fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + LoadImage(localFile: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Loads an image into the Dynamic Web TWAIN. + * @method WebTwain#LoadImageEx + * @param {string} localFile the name of the image to be loaded. It should be the absolute path of the image file on the local disk. + * @param {EnumDWT_ImageType} lImageType the image format of the file to be loaded. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the loading succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the loading fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + LoadImageEx(localFile: string, lImageType: EnumDWT_ImageType, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Loads image from a base64 byte array with the specified file format. + * @method WebTwain#LoadImageFromBase64Binary + * @param {string} bry specifies the base64 string data. + * @param {EnumDWT_ImageType} lImageType specifies the file format. + * @return {bool} + */ + LoadImageFromBase64Binary(bry: string, lImageType: EnumDWT_ImageType): boolean; + + /** + * [Deprecated.] Loads image from a byte array with the specified file format. + * @method WebTwain#LoadImageFromBytes + * @param {int} lBufferSize Specifies the buffer size. + * @param {Array} buffer A byte array of the image data. + * @param {EnumDWT_ImageType} lImageType Specifies the file format. + * @return {bool} + */ + LoadImageFromBytes(lBufferSize: number, buffer: number[], lImageType: EnumDWT_ImageType): boolean; + + /** + * Saves all images in buffer as a MultiPage TIFF file. + * @method WebTwain#SaveAllAsMultiPageTIFF + * @param {string} localFile the name of the MultiPage TIFF file to be saved. It should be an absolute path on the local disk. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the saving succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the saving fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + SaveAllAsMultiPageTIFF(localFile: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Saves all images in buffer as a Multi-Page PDF file. + * @method WebTwain#SaveAllAsPDF + * @param {string} localFile the name of the Multi-Page PDF file to be saved. It should be an absolute path on the local disk. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the saving succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the saving fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + SaveAllAsPDF(localFile: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Saves the image of a specified index in buffer as a BMP file. + * @method WebTwain#SaveAsBMP + * @param {string} localFile the name of the BMP file to be saved. It should be an absolute path on the local disk. + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @return {bool} + */ + SaveAsBMP(localFile: string, sImageIndex: number): boolean; + + /** + * Saves the image of a specified index in buffer as a JPEG file. + * @method WebTwain#SaveAsJPEG + * @param {string} localFile the name of the JPEG file to be saved. It should be an absolute path on the local disk. + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @return {bool} + */ + SaveAsJPEG(localFile: string, sImageIndex: number): boolean; + + /** + * Saves the image of a specified index in buffer as a PDF file. + * @method WebTwain#SaveAsPDF + * @param {string} localFile the name of the JPEG file to be saved. It should be an absolute path on the local disk. + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @return {bool} + */ + SaveAsPDF(localFile: string, sImageIndex: number): boolean; + + /** + * Saves the image of a specified index in buffer as a PNG file. + * @method WebTwain#SaveAsPNG + * @param {string} localFile the name of the JPEG file to be saved. It should be an absolute path on the local disk. + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @return {bool} + */ + SaveAsPNG(localFile: string, sImageIndex: number): boolean; + + /** + * Saves the image of a specified index in buffer as a TIFF file. + * @method WebTwain#SaveAsTIFF + * @param {string} localFile the name of the JPEG file to be saved. It should be an absolute path on the local disk. + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @return {bool} + */ + SaveAsTIFF(localFile: string, sImageIndex: number): boolean; + + /** + * Saves the selected images in buffer as a Multipage PDF file. + * @method WebTwain#SaveSelectedImagesAsMultiPagePDF + * @param {string} localFile the name of the MultiPage PDF file to be saved. It should be an absolute path on the local disk. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the saving succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the saving fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + SaveSelectedImagesAsMultiPagePDF(localFile: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Saves the selected images in buffer as a Multipage TIFF file. + * @method WebTwain#SaveSelectedImagesAsMultiPageTIFF + * @param {string} localFile the name of the MultiPage TIFF file to be saved. It should be an absolute path on the local disk. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the saving succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the saving fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + SaveSelectedImagesAsMultiPageTIFF(localFile: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Saves the selected images in buffer to base64 string. + * @method WebTwain#SaveSelectedImagesToBase64Binary + * @return {string} + */ + SaveSelectedImagesToBase64Binary(): string; + + /** + * [Deprecated.] Saves the selected images in buffer to a byte array in the specified file format. + * @method WebTwain#SaveSelectedImagesToBytes + * @param {int} bufferSize specified the buffer size. + * @param {Array} buffer A byte array of the image data. + * @return {int} + */ + SaveSelectedImagesToBytes(bufferSize: number, buffer: number[]): number; + + /** + * [Deprecated.] Sets current cookie into the Http Header to be used when uploading scanned images through POST. + * @method WebTwain#SetCookie + * @param {string} cookie the cookie on current page. + * @return {void} + */ + SetCookie(cookie: string): void; + + /** + * Sets a text parameter as a filed in a web form. This form is maintained by the component itself (meaning it's not on the page). All fields in this form will be passed to the server when uploading images. + * @method WebTwain#SetHTTPFormField + * @param {string} FieldName specifies the name of a text field in web form. + * @param {string} FieldValue specifies the value of a text field in web form. + * @return {bool} + */ + SetHTTPFormField(FieldName: string, FieldValue: string): boolean; + + /** + * Sets a custom tiff tag. Currently you can set up to 32 tags. The string to be set in a tag can be encoded with base64. + * @method WebTwain#SetTiffCustomTag + * @param {int} tag specifies the tag identifier. The value should be between 600 and 700. + * @param {string} content the string to be set for this tag. The string will be written to the .tiff file when you save/upload it. If the string is base64 encoded, we'll decode it before writing it. + * @param {bool} base64Str if you'd like to encode the string with base64, set this to true. Otherwise, the string will be plin text. + * @return {bool} + */ + SetTiffCustomTag(tag: number, content: string, base64Str: boolean): boolean; + + /** + * Show save file dialog or show open file dialog. + * @method WebTwain#ShowFileDialog + * @param {bool} SaveDialog True -- show save file dialog, False -- show open file dialog. + * @param {string} Filter The filter name specifies the filter pattern (for example, "*.TXT"). To specify multiple filter patterns for a single display string, use a semicolon to separate the patterns (for example, "*.TXT;*.DOC;*.BAK"). A pattern string can be a combination of valid file name characters and the asterisk (*) wildcard character. Do not include spaces in the pattern string. To retrieve a shortcut's target without filtering, use the string "All Files\0*.*\0\0", but the program will replace "\0" with "|" automatically. + * @param {int} FilterIndex The index of the currently selected filter in the File Types control. The buffer pointed to by Filter contains pairs of strings that define the filters. The index is 0-based. + * @param {string} DefExtension Define the default extension. GetOpenFileName and GetSaveFileName append this extension to the file name only if the user fails to type an extension. If this member is NULL and the user fails to type an extension, no extension is appended. + * @param {string} InitialDir The initial directory. The algorithm for selecting the initial directory varies on different platforms. + * @param {bool} AllowMultiSelect True -- allows users to select more than one file, False -- only allows to select one file. + * @param {bool} OverwritePrompt True -- If a file already exists with the same name, the old file will be simply overwritten, False -- not allows to save and overwrite a same name file. + * @param {int} Flags If this parameter equals 0, the program will be initiated with the default flags, otherwise initiated with the cumstom value and paramters "AllowMultiSelect" and "OverwritePrompt" will be useless. + * @return {bool} + */ + ShowFileDialog(SaveDialog: boolean, Filter: string, FilterIndex: number, DefExtension: string, InitialDir: string, AllowMultiSelect: boolean, OverwritePrompt: boolean, Flags: number): boolean; + + /** + * Gets information of the capability specified by the Capability property. + * @method WebTwain#CapGet + * @return {bool} + */ + CapGet(): boolean; + + /** + * Returns the Source's current Value for the specified capability. + * @method WebTwain#CapGetCurrent + * @return {bool} + */ + CapGetCurrent(): boolean; + + /** + * Returns the Source's Default Value for the specified capability. This is the Source's preferred default value. + * @method WebTwain#CapGetDefault + * @return {bool} + */ + CapGetDefault(): boolean; + + /** + * Returns the value of the bottom-most edge of the specified frame. + * @method WebTwain#CapGetFrameBottom + * @param {short} index specifies the value of which frame to get. The index is 0-based. + * @return {float} + */ + CapGetFrameBottom(index: number): number; + + /** + * Returns the value (in Unit) of the left-most edge of the specified frame. + * @method WebTwain#CapGetFrameLeft + * @param {short} index specifies the value of which frame to get. The index is 0-based. + * @return {float} + */ + CapGetFrameLeft(index: number): number; + + /** + * Returns the value (in Unit) of the left-most edge of the specified frame. + * @method WebTwain#CapGetFrameRight + * @param {short} index specifies the value of which frame to get. The index is 0-based. + * @return {float} + */ + CapGetFrameRight(index: number): number; + + /** + * Returns the value (in Unit) of the top-most edge of the specified frame. + * @method WebTwain#CapGetFrameTop + * @param {short} index specifies the value of which frame to get. The index is 0-based. + * @return {float} + */ + CapGetFrameTop(index: number): number; + + /** + * Queries whether the Source supports a particular operation on the capability. + * @method WebTwain#CapIfSupported + * @param {EnumDWT_MessageType} messageType specifies the type of capability operation. + * @return {bool} + */ + CapIfSupported(messageType: EnumDWT_MessageType): boolean; + + /** + * Changes the Current Value of the capability specified by Capability property back to its power-on value. + * @method WebTwain#CapReset + * @return {bool} + */ + CapReset(): boolean; + + /** + * Sets the current capability using the container type specified by CapType property. The current capability is specified by Capability property. + * @method WebTwain#CapSet + * @return {bool} + */ + CapSet(): boolean; + + /** + * Sets the values of the specified frame. + * @method WebTwain#CapSetFrame + * @param {short} index specifies the values of which frame to set. The index is 0-based. + * @param {float} left the value (in Unit) of the left-most edge of the specified frame. + * @param {float} top the value (in Unit) of the top-most edge of the specified frame. + * @param {float} right the value (in Unit) of the right-most edge of the specified frame. + * @param {float} bottom the value (in Unit) of the bottom-most edge of the specified frame. + * @return {bool} + */ + CapSetFrame(index: number, left: number, top: number, right: number, bottom: number): boolean; + + /** + * Get the cap item value of the capability specified by Capability property, when the value of the CapType property is TWON_ARRAY or TWON_ENUMERATION. + * @method WebTwain#GetCapItems + * @param {int} index Index is 0-based. It is the index of the cap item. + * @return {double} + */ + GetCapItems(index: number): number; + + /** + * Returns the cap item value of the capability specified by Capability property, when the value of the CapType property is TWON_ARRAY or TWON_ENUMERATION. + * @method WebTwain#GetCapItemsString + * @param {int} index Index is 0-based. It is the index of the cap item. + * @return {string} + */ + GetCapItemsString(index: number): string; + + /** + * Set the value of the specified cap item. + * @method WebTwain#SetCapItems + * @param {int} index Index is 0-based. It is the index of the cap item. + * @param {double} newVal The Double type of CapItems property is used to present Double, Single(float), Long, int and even boolean types. For string type, please use CapItemsstring property. + * @return {void} + */ + SetCapItems(index: number, newVal: number): void; + + /** + * Set the cap item value of the capability specified by Capability property, when the value of the CapType property is TWON_ARRAY or TWON_ENUMERATION. + * @method WebTwain#SetCapItemsString + * @param {int} index Index is 0-based. It is the index of the cap item. + * @param {string} newVal The new value to be set. + * @return {void} + */ + SetCapItemsString(index: number, newVal: string): void; + // --- SCAN end -- + + + + + + + + // --- View & Edit start -- + + /** + * Add text on an image. + * @method WebTwain#AddText + * @param {short} sImageIndex the index of the image that you want to add text to. + * @param {int} x the x coordinate for the text. + * @param {int} y the y coordinate for the text. + * @param {string} text the content of the text that you want to add. + * @param {int} txtColor the color for the text. + * @param {int} backgroundColor the background color. + * @param {float} backgroundRoundRadius ranging from 0 to 0.5. Please NOTE that MAC version does not support this parameter. + * @param {float} backgroundOpacity specifies the opacity of the background of the added text, it ranges from 0 to 1.0. Please NOTE that Mac version only supports value 0 and 1 + * @return {bool} + */ + AddText(sImageIndex: number, x: number, y: number, text: string, txtColor: number, backgroundColor: number, backgroundRoundRadius: number, backgroundOpacity: number): boolean; + + /** + * Create the font for adding text using the method AddText. + * @method WebTwain#CreateTextFont + * @param {int} height Specifies the desired height (in logical units) of the font.The absolute value of nHeight must not exceed 16,384 device units after it is converted.For all height comparisons, the font mapper looks for the largest font that does not exceed the requested size or the smallest font if all the fonts exceed the requested size. + * @param {int} width Specifies the average width (in logical units) of characters in the font. If Width is 0, the aspect ratio of the device will be matched against the digitization aspect ratio of the available fonts to find the closest match, which is determined by the absolute value of the difference. + * @param {int} escapement Specifies the angle (in 0.1-degree units) between the escapement vector and the x-axis of the display surface. The escapement vector is the line through the origins of the first and last characters on a line. The angle is measured counterclockwise from the x-axis. + * @param {int} orientation Specifies the angle (in 0.1-degree units) between the baseline of a character and the x-axis.The angle is measured counterclockwise from the x-axis for coordinate systems in which the y-direction is down and clockwise from the x-axis for coordinate systems in which the y-direction is up. + * @param {int} weight Specifies the font weight (in inked pixels per 1000). The described valuesare approximate; the actual appearance depends on the typeface. Some fonts haveonly FW_NORMAL, FW_REGULAR, and FW_BOLD weights. If FW_DONTCARE is specified, a default weight is used. + * @param {short} italic Specifies an italic font if set to TRUE. + * @param {short} underline Specifies an underlined font if set to TRUE. + * @param {short} strikeOut A strikeout font if set to TRUE. + * @param {short} charSet Specifies the font's character set. The OEM character set is system-dependent. Fonts with other character sets may exist in the system. An application that uses a font with an unknown character set must not attempt to translate or interpret strings that are to be rendered with that font. + * @param {short} outputPrecision Specifies the desired output precision. The output precision defines how closely the output must match the requested font's height, width, character orientation, escapement, and pitch. + * @param {short} clipPrecision Specifies the desired clipping precision. The clipping precision defines how to clip characters that are partially outside the clipping region. + * @param {short} quality Specifies the font's output quality, which defines how carefully the GDI must attempt to match the logical-font attributes to those of an actual physical font. + * @param {short} pitchAndFamily The pitch and family of the font. + * @param {string} faceName the typeface name, the length of this string must not exceed 32 characters, including the terminating null character. + * @return {bool} + */ + CreateTextFont(height: number, width: number, escapement: number, orientation: number, weight: number, italic: number, underline: number, strikeOut: number, charSet: number, outputPrecision: number, clipPrecision: number, quality: number, pitchAndFamily: number, faceName: string): boolean; + + /** + * Copies the image of a specified index in buffer to clipboard in DIB format. + * @method WebTwain#CopyToClipboard + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @return {bool} + */ + CopyToClipboard(sImageIndex: number): boolean; + + /** + * Clears the specified area of a specified image, and fill the area with the fill color. + * @method WebTwain#Erase + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {int} left specifies the x-coordinate of the upper-left corner of the rectangle. + * @param {int} top specifies the y-coordinate of the upper-left corner of the rectangle. + * @param {int} right specifies the x-coordinate of the lower-right corner of the rectangle. + * @param {int} bottom specifies the y-coordinate of the lower-right corner of the rectangle. + * @return {bool} + */ + Erase(sImageIndex: number, left: number, top: number, right: number, bottom: number): boolean; + + /** + * Returns the pixel bit depth of the selected image. + * @method WebTwain#GetImageBitDepth + * @param {short} sImageIndex specifies the index of image. The index is 0-based. + * @return {short} + */ + GetImageBitDepth(sImageIndex: number): number; + + /** + * Returns the width (pixels) of the selected image. This is a read-only property. + * @method WebTwain#GetImageWidth + * @param {short} sImageIndex specifies the index of image. The index is 0-based. + * @return {int} + */ + GetImageWidth(sImageIndex: number): number; + + /** + * Returns the height (pixels) of the selected image. This is a read-only property. + * @method WebTwain#GetImageHeight + * @param {short} sImageIndex specifies the index of image. The index is 0-based. + * @return {int} + */ + GetImageHeight(sImageIndex: number): number; + + /** + * Returns the file size of the new image resized from the image of a specified index in buffer. + * @method WebTwain#GetImageSize + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {int} iWidth specifies the pixel width of the new image. + * @param {int} iHeight specifies the pixel height of the new image. + * @return {double} + */ + GetImageSize(sImageIndex: number, iWidth: number, iHeight: number): number; + + /** + * Pre-calculate the file size of the local image file that is saved from an image of a specified index in buffer. + * @method WebTwain#GetImageSizeWithSpecifiedType + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {short} sImageType specifies the type of an image file.. + * @return {int} + */ + GetImageSizeWithSpecifiedType(sImageIndex: number, sImageType: number): number; + + /** + * Return the horizontal resolution of the specified image. + * @method WebTwain#GetImageXResolution + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @return {int} + */ + GetImageXResolution(sImageIndex: number): number; + + /** + * Return the vertical resolution of the specified image. + * @method WebTwain#GetImageYResolution + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @return {int} + */ + GetImageYResolution(sImageIndex: number): number; + + /** + * Returns the index of the selected image. + * @method WebTwain#GetSelectedImageIndex + * @param {short} sSelectedIndex specifies the index of the selected image. + * @return {short} + */ + GetSelectedImageIndex(sSelectedIndex: number): number; + + + /** + * You can use the method to select images programatically which is ususally done by mouse clicking. + * @method WebTwain#SetSelectedImageIndex + * @param {short} sSelectedIndex this is the index of an array that holds the indices of selected images. + * @param {short} newVal specifies the index of an image that you want to select. + * @return {void} + */ + SetSelectedImageIndex(selectedIndex: number, newVal: number): void; + + /** + * Pre-calculate the file size of the local image file that is saved from the selected images in buffer. + * @method WebTwain#GetSelectedImagesSize + * @param {int} iImageType specifies the type of an image file. + * @return {int} + */ + GetSelectedImagesSize(iImageType: number): number; + + /** + * Check the skew angle of an image by its index in buffer. + * @method WebTwain#GetSkewAngle + * @param {short} sImageIndex the index of the image in the buffer. + * @return {double} + */ + GetSkewAngle(sImageIndex: number): number; + + /** + * Check the skew angle of a rectangular part of an image by its index in buffer. + * @method WebTwain#GetSkewAngleEx + * @param {short} sImageIndex the index of the image in the buffer. + * @param {int} left specifies the x-coordinate of the upper-left corner of the rectangle. + * @param {int} top specifies the y-coordinate of the upper-left corner of the rectangle. + * @param {int} right specifies the x-coordinate of the lower-right corner of the rectangle. + * @param {int} bottom specifies the y-coordinate of the lower-right corner of the rectangle. + * @return {double} + */ + GetSkewAngleEx(sImageIndex: number, left: number, top: number, right: number, bottom: number): number; + + /** + * [Deprecated.] Detects whether a certain area on an image is blank. + * @method WebTwain#IsBlankImageEx + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {int} left specifies the x-coordinate of the upper-left corner of the rectangle. + * @param {int} top specifies the y-coordinate of the upper-left corner of the rectangle. + * @param {int} right specifies the x-coordinate of the lower-right corner of the rectangle. + * @param {int} bottom specifies the y-coordinate of the lower-right corner of the rectangle. + * @param {bool} bFuzzyMatch specifies whether use fuzzy matching when detecting. + * @return {bool} + */ + IsBlankImageEx(sImageIndex: number, left: number, top: number, right: number, bottom: number, bFuzzyMatch: boolean): boolean; + + /** + * Mirrors the image of a specified index in buffer. + * @method WebTwain#Mirror + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @return {bool} + */ + Mirror(sImageIndex: number): boolean; + + /** + * Decorates image of a specified index in buffer with rectangles of transparent color. + * @method WebTwain#OverlayRectangle + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {int} left specifies the x-coordinate of the upper-left corner of the rectangle. + * @param {int} top specifies the y-coordinate of the upper-left corner of the rectangle. + * @param {int} right specifies the x-coordinate of the lower-right corner of the rectangle. + * @param {int} bottom specifies the y-coordinate of the lower-right corner of the rectangle. + * @param {int} color Specifies the fill color of the rectangle. The byte-ordering of the RGB value is 0xBBGGRR. BB represents blue, GG represents green, RR represents red. + * @param {float} fOpacity Specifies the opacity of the rectangle. The value represents opacity. 1.0 is 100% opaque and 0.0 is totally transparent. + * @return {bool} + */ + OverlayRectangle(sImageIndex: number, left: number, top: number, right: number, bottom: number, color: number, fOpacity: number): boolean; + + /** + * Removes all images in buffer. + * @method WebTwain#RemoveAllImages + * @return {void} + */ + RemoveAllImages(): void; + + /** + * Removes selected images in buffer. + * @method WebTwain#RemoveAllSelectedImages + * @return {bool} + */ + RemoveAllSelectedImages(): boolean; + + /** + * Removes the image of a specified index in buffer. + * @method WebTwain#RemoveImage + * @param {short} sImageIndexToBeDeleted specifies the index of the image to be deleted in buffer. The index is 0-based. + * @return {bool} + */ + RemoveImage(sImageIndexToBeDeleted: number): boolean; + + // Image Operate + /** + * Rotates the image of a specified index in buffer by specified angle. + * @method WebTwain#Rotate + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {float} fAngle Specifies the rotation angle. + * @param {bool} bKeepSize Keep size or not. + * @return {bool} + */ + Rotate(sImageIndex: number, fAngle: number, bKeepSize: boolean): boolean; + + /** + * Rotates the image of a specified index in buffer by specified angle. + * @method WebTwain#RotateEx + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {float} fAngle Specifies the rotation angle. + * @param {bool} bKeepSize Keep size or not. + * @param {EnumDWT_InterpolationMethod} newVal specifies the method to do interpolation. + * @return {bool} + */ + RotateEx(sImageIndex: number, fAngle: number, bKeepSize: boolean, newVal: EnumDWT_InterpolationMethod): boolean; + + /** + * Rotates the image of a specified index in buffer by 90 degrees counter-clockwise. + * @method WebTwain#RotateLeft + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @return {bool} + */ + RotateLeft(sImageIndex: number): boolean; + + /** + * Rotates the image of a specified index in buffer by 90 degrees clockwise. + * @method WebTwain#RotateRight + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @return {bool} + */ + RotateRight(sImageIndex: number): boolean; + + /** + * Changes width and height of the image of a specified index in the buffer. Please note the file size of the image will be changed proportionately. + * @method WebTwain#ChangeImageSize + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {int} iNewWidth specifies the pixel width of the new image. + * @param {int} iNewHeight specifies the pixel height of the new image. + * @param {EnumDWT_InterpolationMethod} newVal specifies the method to do interpolation. + * @return {bool} + */ + ChangeImageSize(sImageIndex: number, iNewWidth: number, iNewHeight: number, newVal: EnumDWT_InterpolationMethod): boolean; + + /** + * Flips the image of a specified index in buffer. + * @method WebTwain#Flip + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @return {bool} + */ + Flip(sImageIndex: number): boolean; + + /** + * Crops the image of a specified index in buffer. + * @method WebTwain#Crop + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {int} left specifies the x-coordinate of the upper-left corner of the rectangle. + * @param {int} top specifies the y-coordinate of the upper-left corner of the rectangle. + * @param {int} right specifies the x-coordinate of the lower-right corner of the rectangle. + * @param {int} bottom specifies the y-coordinate of the lower-right corner of the rectangle. + * @return {bool} + */ + Crop(sImageIndex: number, left: number, top: number, right: number, bottom: number): boolean; + + /** + * Crops the image of a specified index in buffer to clipboard in DIB format. + * @method WebTwain#CropToClipboard + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {int} left specifies the x-coordinate of the upper-left corner of the rectangle. + * @param {int} top specifies the y-coordinate of the upper-left corner of the rectangle. + * @param {int} right specifies the x-coordinate of the lower-right corner of the rectangle. + * @param {int} bottom specifies the y-coordinate of the lower-right corner of the rectangle. + * @return {bool} + */ + CropToClipboard(sImageIndex: number, left: number, top: number, right: number, bottom: number): boolean; + + /** + * Cuts the image data in the specified area to the system clipboard in DIB format. + * @method WebTwain#CutFrameToClipboard + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {int} left specifies the x-coordinate of the upper-left corner of the rectangle. + * @param {int} top specifies the y-coordinate of the upper-left corner of the rectangle. + * @param {int} right specifies the x-coordinate of the lower-right corner of the rectangle. + * @param {int} bottom specifies the y-coordinate of the lower-right corner of the rectangle. + * @return {bool} + */ + CutFrameToClipboard(sImageIndex: number, left: number, top: number, right: number, bottom: number): boolean; + + /** + * Cuts the image of a specified index in buffer to clipboard in DIB format. + * @method WebTwain#CutToClipboard + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @return {bool} + */ + CutToClipboard(sImageIndex: number): boolean; + + /** + * Change the DPI (dots per inch) for the specified image. + * @method WebTwain#SetDPI + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {int} xResolution The horizontal resolution. + * @param {int} yResolution The vertical resolution. + * @param {bool} bResampleImage Whether to resample the image. (The image size will be changed if this is set to true). + * @param {EnumDWT_InterpolationMethod} newVal specifies the method to do interpolation. + * @return {bool} + */ + SetDPI(sImageIndex: number, xResolution: number, yResolution: number, bResampleImage: boolean, newVal: EnumDWT_InterpolationMethod): boolean; + + /** + * Sets the view mode that images are displayed in Dynamic Web TWAIN. You can use this method to display multiple images in Dynamic Web TWAIN. + * @method WebTwain#SetViewMode + * @param {short} sHorizontalImageCount specifies how many columns can be displayed in Dynamic Web TWAIN. + * @param {short} sVerticalImageCount specifies how many rows can be displayed in Dynamic Web TWAIN.. + * @return {void} + */ + SetViewMode(sHorizontalImageCount: number, sVerticalImageCount: number): void; + + /** + * Moves a specified image. + * @method WebTwain#MoveImage + * @param {short} sSourceImageIndex Specifies the source index of image in buffer. The index is 0-based. + * @param {short} sTargetImageIndex Specifies the target index of image in buffer. The index is 0-based. + * @return {bool} + */ + MoveImage(sSourceImageIndex: number, sTargetImageIndex: number): boolean; + + /** + * Switchs two images of specified indices in buffer. + * @method WebTwain#SwitchImage + * @param {short} sImageIndex1 specifies the index of image in buffer. The index is 0-based. + * @param {short} sImageIndex2 specifies the index of image in buffer. The index is 0-based. + * @return {bool} + */ + SwitchImage(sImageIndex1: number, sImageIndex2: number): boolean; + + /** + * Shows the GUI of Image Printer. + * @method WebTwain#Print + * @return {bool} + */ + Print(): boolean; + // --- View & Edit end -- + + + + // --- Upload & Save end -- + + // --- Others --- + /** + * Shows the GUI of Image Editor. + * @method WebTwain#ShowImageEditor + * @return {bool} + */ + ShowImageEditor(): boolean; + + /** + * Unbinds an event from the specified function, so that the function stops receiving notifications when the event fires. + * @method WebTwain#UnregisterEvent + * @param {string} name the name of the event. + * @param {object} evt specified the function to be unbound. + * @return {bool} + */ + UnregisterEvent(name: string, evt: object): boolean; + // --- Others end --- + + /** + * Enables the source to accept image. + * @method WebTwain#EnableSource + * @return {bool} + */ + EnableSource(): boolean; + + + + /** + * Displays the source's built-in interface to acquire image. + * @method WebTwain#AcquireImage + * @param {object} optionalDeviceConfig a JS object used to set up the device for image acquisition. + * @param {function} asyncSuccessFunc the function to call when the upload succeeds. Please refer to the function prototype OnSuccess. + * @param {function} asyncFailureFunc the function to call when the upload fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + AcquireImage(optionalDeviceConfig?: object, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + // start from 10.0 + /** + * Change the width of an image in buffer. + * @method WebTwain#SetImageWidth + * @param {short} sImageIndex specifies which image you'd like to change. + * @param {int} iNewWidth specifies how wide you'd like to change the image. + * @return {bool} + */ + SetImageWidth(sImageIndex: number, iNewWidth: number): boolean; + + // Set custom DS data (DAT_CUSTOMDSDATA), the input string is encoded with base64 + /** + * Sets custom DS data to be used for scanning, the input string is encoded with base64. Custom DS data means a specific scanning profile. + * @method WebTwain#SetCustomDSDataEx + * @param {string} value the input string which is encoded with base64. + * @return {bool} + */ + SetCustomDSDataEx(value: string): boolean; + + // Set custom DS data, load data from the specified file + /** + * Sets custom DS data to be used for scanning, the data is stored in a file. Custom DS data means a specific scanning profile. + * @method WebTwain#SetCustomDSData + * @param {string} fileName the absolute path of the file where the custom data source data is stored. + * @return {bool} + */ + SetCustomDSData(fileName: string): boolean; + + // Get custom DS data, and returned string is encoded with base64 + /** + * Gets custom DS data, the returned string is base64 encoded. + * @method WebTwain#GetCustomDSDataEx + * @return {string} + */ + GetCustomDSDataEx(): string; + + // Get custom DS data, and save the data to the specified file + /** + * Gets custom DS data and save the data in a specified file. + * @method WebTwain#GetCustomDSData + * @param {string} fileName the path of the file used for storing custom DS data. + * @return {bool} + */ + GetCustomDSData(fileName: string): boolean; + + /** + * Changes the bitdepth of a specified image. + * @method WebTwain#ChangeBitDepth + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {short} sBitDepth specifies the target bit depth. + * @param {bool} bHighQuality specifies whether or not to keep high quality while changing the bit depth. When it's true, it takes more time. + * @return {bool} + */ + ChangeBitDepth(sImageIndex: number, sBitDepth: number, bHighQuality: boolean): boolean; + + /** + * Changes a specified image to gray scale. + * @method WebTwain#ConvertToGrayScale + * @param {short} sIndex specifies the index of image in buffer. The index is 0-based. + * @return {bool} + */ + ConvertToGrayScale(sIndex: number): boolean; + + /** + * [Deprecated.] Shows the GUI of Image Editor with custom settings. + * @method WebTwain#ShowImageEditorEx + * @param {int} x specifies the new position of the left top corner of the window. + * @param {int} y specifies the new position of the left top corner of the window. + * @param {int} cx specifies the width of the window. + * @param {int} cy specifies the height of the window. + * @param {int} nCmdShow specifices how the window should be shown. + * @return {bool} + */ + ShowImageEditorEx(x: number, y: number, cx: number, cy: number, nCmdShow: number): boolean; + + /** + * [Deprecated.] Detects whether an image is blank. + * @method WebTwain#IsBlankImage + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @return {bool} + */ + IsBlankImage(sImageIndex: number): boolean; + + /** + * Detects whether a specific image is blank. + * @method WebTwain#IsBlankImageExpress + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @return {bool} + */ + IsBlankImageExpress(sImageIndex: number): boolean; + + /** + * [Deprecated.] Detects whether a specific image is blank. + * @method WebTwain#GetBarcodeInfo + * @param {int} barcodeInfoType Defined in TWAIN Specification. + * @param {int} barcodeIndex Specifies which barcode to check. The index is 0-based. + * @return {object} + */ + GetBarcodeInfo(barcodeInfoType: number, barcodeIndex: number): object; + + /** + * [Deprecated.] Gets the content from a specified barcode. + * @method WebTwain#GetBarcodeText + * @param {int} barcodeIndex Specifies which barcode to check. The index is 0-based. + * @return {bool} + */ + GetBarcodeText(barcodeIndex: number): boolean; + + /** + * Sets the default source to use. It's only valid when IfUseTWAINDSM is set to true. + * @method WebTwain#SetDefaultSource + * @param {short} sImageIndex specifies the index of the default source. The index is 0-based. + * @return {bool} + */ + SetDefaultSource(sImageIndex: number): boolean; + + /** + * Draws a rectangle on the viewer which represents the selected area. + * @method WebTwain#SetSelectedImageArea + * @param {short} sImageIndex specifies the index of image in buffer. The index is 0-based. + * @param {int} left The X axis of the left border. + * @param {int} top The Y axis of the top border. + * @param {int} right The X axis of the right border. + * @param {int} bottom The Y axis of the bottom border. + * @return {bool} + */ + SetSelectedImageArea(sImageIndex: number, left: number, top: number, right: number, bottom: number): boolean; + + + /** + * Converts the images specified by the indices to base64. + * @method WebTwain#ConvertToBase64 + * @param {Array} indices indices specifies which images are to be converted to base64. + * @param {EnumDWT_ImageType} enumImageType the image format in which the images are to be converted to base64. + * @param {function} asyncSuccessFunc the function to call when the upload succeeds. Please refer to the function prototype OnSuccess. + * @param {function} asyncFailureFunc the function to call when the upload fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + ConvertToBase64(indices: number[], enumImageType: EnumDWT_ImageType, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Returns the direct URL of an image specified by index, if iWidth or iHeight is set to -1, you get the original image, otherwise you get the image with specified iWidth or iHeight while keeping the same aspect ratio. + * @method WebTwain#GetImageURL + * @param {short} index the index of the image. + * @param {int} iWidth the width of the image. + * @param {int} iHeight the height of the image. + * @return {string} + */ + GetImageURL(index: number, iWidth: number, iHeight: number): string; + + /** + * Sets a header for the current HTTP Post request. + * @method WebTwain#SetHTTPHeader + * @param {string} key the key of the header. + * @param {string} value the value of the header. + * @return {bool} + */ + SetHTTPHeader(key: string, value: string): boolean; +} \ No newline at end of file diff --git a/types/dwt/tsconfig.json b/types/dwt/tsconfig.json new file mode 100644 index 0000000000..5ff27b3787 --- /dev/null +++ b/types/dwt/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "dwt-tests.ts" + ] +} \ No newline at end of file From 757802c4b2054a7f612dbb0b7ee66ecdc9845e66 Mon Sep 17 00:00:00 2001 From: yushulx Date: Tue, 2 May 2017 14:53:00 +0800 Subject: [PATCH 004/463] Added Header --- types/dwt/index.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/types/dwt/index.d.ts b/types/dwt/index.d.ts index eda4725dfa..dcb1397c0f 100644 --- a/types/dwt/index.d.ts +++ b/types/dwt/index.d.ts @@ -1,4 +1,9 @@ -/*! +// Type definitions for dwt 12.3.0 +// Project: http://www.dynamsoft.com/Products/WebTWAIN_Overview.aspx +// Definitions by: Xiao Ling +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/*! * Dynamsoft WebTwain JavaScript Intellisense * Product: Dynamsoft Web Twain * Web Site: http://www.dynamsoft.com From 03240567675bf9a75115f77fc53b718a24a17aa4 Mon Sep 17 00:00:00 2001 From: yushulx Date: Tue, 2 May 2017 15:13:31 +0800 Subject: [PATCH 005/463] Update --- types/dwt/dwt-tests.ts | 8 +++--- types/dwt/index.d.ts | 58 +++++++++++++++++++++++++----------------- 2 files changed, 39 insertions(+), 27 deletions(-) diff --git a/types/dwt/dwt-tests.ts b/types/dwt/dwt-tests.ts index 70e68e015f..531e78e418 100644 --- a/types/dwt/dwt-tests.ts +++ b/types/dwt/dwt-tests.ts @@ -75,8 +75,8 @@ function saveImage() { if (DWObject) { DWObject.ConvertToGrayScale(DWObject.CurrentImageIndexInBuffer); DWObject.SaveAsJPEG("DynamicWebTWAIN.jpg", DWObject.CurrentImageIndexInBuffer); - DWObject.SaveAllAsMultiPageTIFF("DynamicWebTWAIN.tiff", () => {}, (errorCode, errorString) => {}); - DWObject.SaveAllAsPDF("DynamicWebTWAIN.pdf", () => {}, (errorCode, errorString) => {}); + DWObject.SaveAllAsMultiPageTIFF("DynamicWebTWAIN.tiff", () => {}, (errorCode: number, errorString: string) => {}); + DWObject.SaveAllAsPDF("DynamicWebTWAIN.pdf", () => {}, (errorCode: number, errorString: string) => {}); } } @@ -94,7 +94,7 @@ function uploadImage() { if (DWObject) { DWObject.HTTPPort = 80; DWObject.IfSSL = false; - DWObject.HTTPUploadThroughPost("www.dynamsoft.com", DWObject.CurrentImageIndexInBuffer, "upload", "tmp.jpg", () => {}, (errorCode, errorString) => {}); + DWObject.HTTPUploadThroughPost("www.dynamsoft.com", DWObject.CurrentImageIndexInBuffer, "upload", "tmp.jpg", () => {}, (errorCode: number, errorString: string) => {}); } } @@ -102,6 +102,6 @@ function downloadImage() { let DWObject = Dynamsoft.WebTwainEnv.GetWebTwain('dwtcontrolContainer'); if (DWObject) { DWObject.HTTPPort = 80; - DWObject.HTTPDownload("www.dynamsoft.com", "img.png", () => {}, (errorCode, errorString) => {}); + DWObject.HTTPDownload("www.dynamsoft.com", "img.png", () => {}, (errorCode: number, errorString: string) => {}); } } \ No newline at end of file diff --git a/types/dwt/index.d.ts b/types/dwt/index.d.ts index dcb1397c0f..8be78d4af4 100644 --- a/types/dwt/index.d.ts +++ b/types/dwt/index.d.ts @@ -699,7 +699,7 @@ declare enum EnumDWT_PDFCompressionType { /** CCITT modified Huffman RLE. */ PDF_RLE = 4, PDF_JPEG = 5 -}; +} declare enum EnumDWT_ShowMode { /** Activates the window and displays it in its current size and position. */ @@ -1060,7 +1060,7 @@ declare enum EnumDWT_CapFeederOrder { TWFO_FIRSTPAGEFIRST = 0, /** The feeder starts with the top of the last page. */ TWFO_LASTPAGEFIRST = 1 -}; +} /** CAP_PRINTER values. */ declare enum EnumDWT_CapPrinter { @@ -1072,7 +1072,8 @@ declare enum EnumDWT_CapPrinter { TWPR_ENDORSERTOPAFTER = 5, TWPR_ENDORSERBOTTOMBEFORE = 6, TWPR_ENDORSERBOTTOMAFTER = 7 -}; +} + /** CAP_PRINTERMODE values. */ declare enum EnumDWT_CapPrinterMode { /** Specifies that the printed text will consist of a single string. */ @@ -1081,20 +1082,23 @@ declare enum EnumDWT_CapPrinterMode { TWPM_MULTISTRING = 1, /** Specifies that the printed string will consist of a compound of a String followed by a value followed by a suffix string. */ TWPM_COMPOUNDSTRING = 2 -}; +} + /** ICAP_BITDEPTHREDUCTION values. */ declare enum EnumDWT_CapBitdepthReduction { TWBR_THRESHOLD = 0, TWBR_HALFTONE = 1, TWBR_CUSTHALFTONE = 2, TWBR_DIFFUSION = 3 -}; +} + /** ICAP_BITORDER values. */ declare enum EnumDWT_CapBitOrder { TWBO_LSBFIRST = 0, /** Indicates that the leftmost bit in the byte (usually bit 7) is the byte's Most Significant Bit. */ TWBO_MSBFIRST = 1 -}; +} + /** ICAP_FILTER values. */ declare enum EnumDWT_CapFilterType { TWFT_RED = 0, @@ -1106,7 +1110,8 @@ declare enum EnumDWT_CapFilterType { TWFT_MAGENTA = 6, TWFT_YELLOW = 7, TWFT_BLACK = 8 -}; +} + /** ICAP_FLASHUSED2 values. */ declare enum EnumDWT_CapFlash { TWFL_NONE = 0, @@ -1114,14 +1119,16 @@ declare enum EnumDWT_CapFlash { TWFL_ON = 2, TWFL_AUTO = 3, TWFL_REDEYE = 4 -}; +} + /** ICAP_FLIPROTATION values. */ declare enum EnumDWT_CapFlipRotation { /** The images to be scanned are viewed in book form, flipping each page from left to right or right to left. */ TWFR_BOOK = 0, /** The images to be scanned are viewed in fanfold paper style, flipping each page up or down. */ TWFR_FANFOLD = 1 -}; +} + /** ICAP_IMAGEFILTER values. */ declare enum EnumDWT_CapImageFilter { TWIF_NONE = 0, @@ -1134,12 +1141,14 @@ declare enum EnumDWT_CapImageFilter { TWIF_HIGHPASS = 4, TWIF_TEXT = 3, TWIF_FINELINE = 4 -}; +} + /** ICAP_LIGHTPATH values. */ declare enum EnumDWT_CapLightPath { TWLP_REFLECTIVE = 0, TWLP_TRANSMISSIVE = 1 -}; +} + /** ICAP_LIGHTSOURCE values. */ declare enum EnumDWT_CapLightSource { TWLS_RED = 0, @@ -1149,7 +1158,8 @@ declare enum EnumDWT_CapLightSource { TWLS_WHITE = 4, TWLS_UV = 5, TWLS_IR = 6 -}; +} + /** TWEI_MAGTYPE values. (MD_ means Mag Type) Added 2.0 */ declare enum EnumDWT_MagType { /** Added 2.0 */ @@ -1158,14 +1168,15 @@ declare enum EnumDWT_MagType { TWMD_RAW = 1, /** added 2.1 */ TWMD_INVALID = 2 -}; +} + /** ICAP_NOISEFILTER values. */ declare enum EnumDWT_CapNoiseFilter { TWNF_NONE = 0, TWNF_AUTO = 1, TWNF_LONEPIXEL = 2, TWNF_MAJORITYRULE = 3 -}; +} /** ICAP_ORIENTATION values. */ declare enum EnumDWT_CapORientation { @@ -1181,7 +1192,8 @@ declare enum EnumDWT_CapORientation { TWOR_AUTOTEXT = 5, /** 2.0 */ TWOR_AUTOPICTURE = 6 -}; +} + /** ICAP_OVERSCAN values. */ declare enum EnumDWT_CapOverscan { TWOV_NONE = 0, @@ -1189,20 +1201,21 @@ declare enum EnumDWT_CapOverscan { TWOV_TOPBOTTOM = 2, TWOV_LEFTRIGHT = 3, TWOV_ALL = 4 -}; +} + /** ICAP_PIXELFLAVOR values. */ declare enum EnumDWT_CapPixelFlavor { /** Zero pixel represents darkest shade. zero pixel represents darkest shade */ TWPF_CHOCOLATE = 0, /** Zero pixel represents lightest shade. zero pixel represents lightest shade */ TWPF_VANILLA = 1 -}; +} /** ICAP_PLANARCHUNKY values. */ declare enum EnumDWT_CapPlanarChunky { TWPC_CHUNKY = 0, TWPC_PLANAR = 1 -}; +} /** Data source status. */ declare enum EnumDWT_DataSourceStatus { @@ -1214,7 +1227,7 @@ declare enum EnumDWT_DataSourceStatus { TWDSS_ENABLED = 2, /** Indicate the data source is acquiring image. */ TWDSS_ACQUIRING = 3 -}; +} /** Fit window type */ declare enum EnumDWT_FitWindowType { @@ -1224,20 +1237,19 @@ declare enum EnumDWT_FitWindowType { enumFitWindowHeight = 1, /** Fit the image to the width of the window */ enumFitWindowWidth = 2 -}; +} declare enum EnumDWT_UploadDataFormat { Binary = 0, Base64 = 1 -}; - +} declare enum EnumDWT_MouseShape { Default = 0, Hand = 1, Crosshair = 2, Zoom = 3 -}; +} /** * @class From 92f1eb1638b29c6cc3aad3f62e799ff9137a0403 Mon Sep 17 00:00:00 2001 From: yushulx Date: Tue, 2 May 2017 15:29:05 +0800 Subject: [PATCH 006/463] strip BOM --- types/dwt/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/dwt/index.d.ts b/types/dwt/index.d.ts index 8be78d4af4..9fb5cb65fd 100644 --- a/types/dwt/index.d.ts +++ b/types/dwt/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for dwt 12.3.0 +// Type definitions for dwt 12.3.0 // Project: http://www.dynamsoft.com/Products/WebTWAIN_Overview.aspx // Definitions by: Xiao Ling // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From 6ed27bf03f461ac35acba7333f9e31f5f317d361 Mon Sep 17 00:00:00 2001 From: yushulx Date: Tue, 2 May 2017 15:41:58 +0800 Subject: [PATCH 007/463] Fixed type error. Added typescript version. --- types/dwt/dwt-tests.ts | 7 +------ types/dwt/index.d.ts | 1 + 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/types/dwt/dwt-tests.ts b/types/dwt/dwt-tests.ts index 531e78e418..1c4bde2f06 100644 --- a/types/dwt/dwt-tests.ts +++ b/types/dwt/dwt-tests.ts @@ -15,15 +15,10 @@ function dwtOnReady() { function acquireImage() { let DWObject = Dynamsoft.WebTwainEnv.GetWebTwain('dwtcontrolContainer'); if (DWObject) { - var OnAcquireImageSuccess, OnAcquireImageFailure; - OnAcquireImageSuccess = OnAcquireImageFailure = function (){ - DWObject.CloseSource(); - }; - DWObject.SelectSourceByIndex(0); //Use method SelectSourceByIndex to avoid the 'Select Source' dialog DWObject.OpenSource(); DWObject.IfDisableSourceAfterAcquire = true; // Scanner source will be disabled/closed automatically after the scan. - DWObject.AcquireImage(OnAcquireImageSuccess, OnAcquireImageFailure); + DWObject.AcquireImage({}, () => {}, (errorCode: number, errorString: string) => {DWObject.CloseSource();}); } } diff --git a/types/dwt/index.d.ts b/types/dwt/index.d.ts index 9fb5cb65fd..92095b1eae 100644 --- a/types/dwt/index.d.ts +++ b/types/dwt/index.d.ts @@ -2,6 +2,7 @@ // Project: http://www.dynamsoft.com/Products/WebTWAIN_Overview.aspx // Definitions by: Xiao Ling // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 /*! * Dynamsoft WebTwain JavaScript Intellisense From b87bce1967999f180b0c982495eef0077439672c Mon Sep 17 00:00:00 2001 From: yushulx Date: Wed, 3 May 2017 08:27:02 +0800 Subject: [PATCH 008/463] Added tslint.json --- types/dwt/tslint.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 types/dwt/tslint.json diff --git a/types/dwt/tslint.json b/types/dwt/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/dwt/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From e039b174b810aa99c062e684901d2981cbc23fef Mon Sep 17 00:00:00 2001 From: yushulx Date: Wed, 3 May 2017 11:02:16 +0800 Subject: [PATCH 009/463] Updated tslint.json --- types/dwt/dwt-tests.ts | 13 ++++++------- types/dwt/index.d.ts | 26 +++++--------------------- types/dwt/tslint.json | 10 +++++++++- 3 files changed, 20 insertions(+), 29 deletions(-) diff --git a/types/dwt/dwt-tests.ts b/types/dwt/dwt-tests.ts index 1c4bde2f06..4b201cf33d 100644 --- a/types/dwt/dwt-tests.ts +++ b/types/dwt/dwt-tests.ts @@ -1,9 +1,8 @@ function dwtOnReady() { let DWObject = Dynamsoft.WebTwainEnv.GetWebTwain('dwtcontrolContainer'); // Get the Dynamic Web TWAIN object that is embeded in the div with id 'dwtcontrolContainer' if (DWObject) { - var count = DWObject.SourceCount; - if(count == 0) - { + let count = DWObject.SourceCount; + if (count === 0) { DWObject.CloseSourceManager(); DWObject.ImageCaptureDriverType = 0; DWObject.OpenSourceManager(); @@ -15,10 +14,10 @@ function dwtOnReady() { function acquireImage() { let DWObject = Dynamsoft.WebTwainEnv.GetWebTwain('dwtcontrolContainer'); if (DWObject) { - DWObject.SelectSourceByIndex(0); //Use method SelectSourceByIndex to avoid the 'Select Source' dialog + DWObject.SelectSourceByIndex(0); // Use method SelectSourceByIndex to avoid the 'Select Source' dialog DWObject.OpenSource(); - DWObject.IfDisableSourceAfterAcquire = true; // Scanner source will be disabled/closed automatically after the scan. - DWObject.AcquireImage({}, () => {}, (errorCode: number, errorString: string) => {DWObject.CloseSource();}); + DWObject.IfDisableSourceAfterAcquire = true; // Scanner source will be disabled/closed automatically after the scan. + DWObject.AcquireImage({}, () => {}, (errorCode: number, errorString: string) => {DWObject.CloseSource(); }); } } @@ -99,4 +98,4 @@ function downloadImage() { DWObject.HTTPPort = 80; DWObject.HTTPDownload("www.dynamsoft.com", "img.png", () => {}, (errorCode: number, errorString: string) => {}); } -} \ No newline at end of file +} diff --git a/types/dwt/index.d.ts b/types/dwt/index.d.ts index 92095b1eae..9198ba80bf 100644 --- a/types/dwt/index.d.ts +++ b/types/dwt/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for dwt 12.3.0 +// Type definitions for dwt 12.3 // Project: http://www.dynamsoft.com/Products/WebTWAIN_Overview.aspx // Definitions by: Xiao Ling // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -14,12 +14,12 @@ * Version: 12.3 */ -/** +/** * @namespace Dynamsoft */ declare namespace Dynamsoft { namespace WebTwainEnv { - function GetWebTwain (cid: string) : WebTwain; + function GetWebTwain (cid: string): WebTwain; function RegisterEvent(event: string, fn: () => void): void; } } @@ -600,7 +600,7 @@ declare enum EnumDWT_TransferMode { /** Buffered Memory Mode Transfers. */ TWSX_MEMORY = 2, /** added 1.91 */ - //TWSX_MEMFILE = 4 + TWSX_MEMFILE = 4 } /** ICAP_IMAGEFILEFORMAT values. */ @@ -641,7 +641,6 @@ declare enum EnumDWT_FileFormat { TWFF_PDFA2 = 16 } - /** TIFF file compression type. */ declare enum EnumDWT_TIFFCompressionType { /** Auto mode. */ @@ -1041,7 +1040,6 @@ declare enum EnumDWT_CapSupportedSizes { TWSS_MAXSIZE = 54 } - /** CAP_FEEDERALIGNMENT values. */ declare enum EnumDWT_CapFeederAlignment { /** The alignment is free-floating. Applications should assume that the origin for frames is on the left. */ @@ -1257,7 +1255,6 @@ declare enum EnumDWT_MouseShape { */ // properties (get/set) / sync functions interface WebTwain { - /** * Returns or sets whether multi-page selection is supported. * @type {bool} @@ -2481,7 +2478,6 @@ interface WebTwain { */ HTTPUploadThroughPostAsMultiPagePDF(HTTPServer: string, ActionPage: string, fileName: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; - /** * [Deprecated.] Directly uploads a specific local file to the HTTP server through the HTTP PUT method without loading it into Dynamic Web TWAIN. * @method WebTwain#HTTPUploadThroughPutDirectly @@ -2899,12 +2895,6 @@ interface WebTwain { SetCapItemsString(index: number, newVal: string): void; // --- SCAN end -- - - - - - - // --- View & Edit start -- /** @@ -3030,7 +3020,6 @@ interface WebTwain { */ GetSelectedImageIndex(sSelectedIndex: number): number; - /** * You can use the method to select images programatically which is ususally done by mouse clicking. * @method WebTwain#SetSelectedImageIndex @@ -3273,8 +3262,6 @@ interface WebTwain { Print(): boolean; // --- View & Edit end -- - - // --- Upload & Save end -- // --- Others --- @@ -3302,8 +3289,6 @@ interface WebTwain { */ EnableSource(): boolean; - - /** * Displays the source's built-in interface to acquire image. * @method WebTwain#AcquireImage @@ -3442,7 +3427,6 @@ interface WebTwain { */ SetSelectedImageArea(sImageIndex: number, left: number, top: number, right: number, bottom: number): boolean; - /** * Converts the images specified by the indices to base64. * @method WebTwain#ConvertToBase64 @@ -3472,4 +3456,4 @@ interface WebTwain { * @return {bool} */ SetHTTPHeader(key: string, value: string): boolean; -} \ No newline at end of file +} diff --git a/types/dwt/tslint.json b/types/dwt/tslint.json index 3db14f85ea..acce7c8a0b 100644 --- a/types/dwt/tslint.json +++ b/types/dwt/tslint.json @@ -1 +1,9 @@ -{ "extends": "dtslint/dt.json" } +{ + "extends": "dtslint/dt.json", + "rules": { + "max-line-length": [false], + "no-trailing-whitespace": false, + "space-before-function-paren": false, + "only-arrow-functions": [false] + } +} From 5070e64b41095eae1270457ab59ad66e14b18e38 Mon Sep 17 00:00:00 2001 From: John Downs Date: Sun, 21 Jan 2018 14:42:56 -0800 Subject: [PATCH 010/463] Add request.getOperationType() method --- types/documentdb-server/index.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/types/documentdb-server/index.d.ts b/types/documentdb-server/index.d.ts index dad0bad292..1b75961aa9 100644 --- a/types/documentdb-server/index.d.ts +++ b/types/documentdb-server/index.d.ts @@ -490,6 +490,10 @@ interface IRequest { */ getBody(): Object; getBody(): T; + /** + * Gets the OperationType for the request with a pre-trigger or post-trigger. + */ + getOperationType(): OperationType; /** * Gets a specified request header value. * @param key the name of the header to retrieve @@ -607,6 +611,13 @@ interface IErrorCodes { InternalServerError: number; } +declare const enum OperationType { + Create = "Create", + Replace = "Replace", + Upsert = "Upsert", + Delete = "Delete" +} + declare function getContext(): IContext; declare var __: I__Object; declare var ErrorCodes: IErrorCodes; \ No newline at end of file From 5023cd29204c0fcb0ab4f1aa34778f4f44b7116f Mon Sep 17 00:00:00 2001 From: John Downs Date: Thu, 25 Jan 2018 21:06:47 -0800 Subject: [PATCH 011/463] Remove use of const enum. --- types/documentdb-server/index.d.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/types/documentdb-server/index.d.ts b/types/documentdb-server/index.d.ts index 1b75961aa9..f0593a595f 100644 --- a/types/documentdb-server/index.d.ts +++ b/types/documentdb-server/index.d.ts @@ -492,8 +492,9 @@ interface IRequest { getBody(): T; /** * Gets the OperationType for the request with a pre-trigger or post-trigger. + * Note: This will be one of 'Create', 'Replace', 'Upsert', or 'Delete'. */ - getOperationType(): OperationType; + getOperationType(): string; /** * Gets a specified request header value. * @param key the name of the header to retrieve @@ -611,13 +612,6 @@ interface IErrorCodes { InternalServerError: number; } -declare const enum OperationType { - Create = "Create", - Replace = "Replace", - Upsert = "Upsert", - Delete = "Delete" -} - declare function getContext(): IContext; declare var __: I__Object; declare var ErrorCodes: IErrorCodes; \ No newline at end of file From 2409f1b11fe5b5654e0fde381f0bca308cc97bc0 Mon Sep 17 00:00:00 2001 From: Blake Kostner Date: Sat, 27 Jan 2018 13:26:13 -0700 Subject: [PATCH 012/463] update bull pause and resume params --- types/bull/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/bull/index.d.ts b/types/bull/index.d.ts index 28070ad44f..e4aa2ba809 100644 --- a/types/bull/index.d.ts +++ b/types/bull/index.d.ts @@ -390,7 +390,7 @@ declare namespace Bull { * * Pausing a queue that is already paused does nothing. */ - pause(): Promise; + pause(isLocal?: boolean): Promise; /** * Returns a promise that resolves when the queue is resumed after being paused. @@ -398,7 +398,7 @@ declare namespace Bull { * * Resuming a queue that is not paused does nothing. */ - resume(): Promise; + resume(isLocal?: boolean): Promise; /** * Returns a promise that returns the number of jobs in the queue, waiting or paused. From f6955298fff02e44da499e85ebb8e256ae3ca740 Mon Sep 17 00:00:00 2001 From: Blake Kostner Date: Sat, 27 Jan 2018 13:38:31 -0700 Subject: [PATCH 013/463] add getWaiting function to queue --- types/bull/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/bull/index.d.ts b/types/bull/index.d.ts index e4aa2ba809..68caef4126 100644 --- a/types/bull/index.d.ts +++ b/types/bull/index.d.ts @@ -425,6 +425,11 @@ declare namespace Bull { */ getJob(jobId: JobId): Promise; + /** + * Returns a promise that will return an array with the waiting jobs between start and end. + */ + getWaiting(start?: number, end?: number): Promise; + /** * Returns a promise that will return an array with the active jobs between start and end. */ From a852fbf34ce9b0595b9851340fe915135917a8a2 Mon Sep 17 00:00:00 2001 From: Blake Kostner Date: Sat, 27 Jan 2018 14:57:15 -0700 Subject: [PATCH 014/463] update JobStatus wait to waiting --- types/bull/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/bull/index.d.ts b/types/bull/index.d.ts index 68caef4126..fceebfd3a3 100644 --- a/types/bull/index.d.ts +++ b/types/bull/index.d.ts @@ -135,7 +135,7 @@ declare namespace Bull { promote(): Promise; } - type JobStatus = 'completed' | 'wait' | 'active' | 'delayed' | 'failed'; + type JobStatus = 'completed' | 'waiting' | 'active' | 'delayed' | 'failed'; interface BackoffOptions { /** From 392a758ba5456dbe13582a222e839d098535caf5 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Sat, 27 Jan 2018 18:48:47 -0800 Subject: [PATCH 015/463] Initial eslint type defintion --- types/eslint/eslint-tests.ts | 99 ++++++++++++++++++ types/eslint/index.d.ts | 190 +++++++++++++++++++++++++++++++++++ types/eslint/tsconfig.json | 23 +++++ types/eslint/tslint.json | 1 + 4 files changed, 313 insertions(+) create mode 100644 types/eslint/eslint-tests.ts create mode 100644 types/eslint/index.d.ts create mode 100644 types/eslint/tsconfig.json create mode 100644 types/eslint/tslint.json diff --git a/types/eslint/eslint-tests.ts b/types/eslint/eslint-tests.ts new file mode 100644 index 0000000000..6b60ef8757 --- /dev/null +++ b/types/eslint/eslint-tests.ts @@ -0,0 +1,99 @@ +import { SourceCode, Linter, CLIEngine, RuleTester } from 'eslint'; + +// ============================================= +// Linter +// ============================================= + +const SOURCE = `var foo = bar;`; + +const sourceCode = new SourceCode(SOURCE, {}); + +const linter = new Linter(); + +linter.verify(SOURCE, { + rules: { + eqeqeq: 'off', + 'no-console': 'error', + quotes: ['error', 'double'] + }, +}, { + filename: 'test.js', +}); + +linter.verifyAndFix(SOURCE, { + rules: { + 'no-console': 'error', + } +}, { + filename: 'test.js', +}); + +linter.defineRule('my-fancy-rule', { + create() {}, +}); + +linter.defineRules({ + 'my-fancy-rule': { create() {} }, + 'my-fancy-other-rule': { create() {} } +}); + +linter.getRules(); + +linter.getSourceCode(); + +// ============================================= +// CLI +// ============================================= + +const cli = new CLIEngine({ + envs: ['browser', 'mocha'], + useEslintrc: false, + rules: { + semi: 2 + } +}); + +cli.executeOnFiles(['myfile.js', 'lib/']); + +const report = cli.executeOnText(SOURCE, 'foo'); + +cli.resolveFileGlobPatterns(['**/*']); + +cli.getConfigForFile('./config.json'); + +cli.addPlugin('my-fancy-plugin', {}); + +cli.isPathIgnored('./dist/index.js'); + +const formatter = cli.getFormatter('codeframe'); +formatter(report.results); + +CLIEngine.getErrorResults(report.results); + +CLIEngine.outputFixes(report); + +// ============================================= +// RuleTester +// ============================================= + +const ruleTester = new RuleTester({ parserOptions: { ecmaVersion: 2015 } }); + +ruleTester.run("my-rule", {}, { + valid: [ + { + code: "var foo = true", + options: [{ allowFoo: true }] + } + ], + + invalid: [ + { + code: "var invalidVariable = true", + errors: [{ message: "Unexpected invalid variable." }] + }, + { + code: "var invalidVariable = true", + errors: [{ message: /^Unexpected.+variable/ }] + } + ] +}); diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts new file mode 100644 index 0000000000..7e04f5ebc7 --- /dev/null +++ b/types/eslint/index.d.ts @@ -0,0 +1,190 @@ +// Type definitions for eslint 4.16 +// Project: https://eslint.org +// Definitions by: Pierre-Marie Dartus +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +export class SourceCode { + text: string; + ast: any; + lines: string[]; + + constructor(text: string, ast: any); +} + +export type RuleLevel = 'off' | 'warn' | 'error' | 0 | 1 | 2; + +export interface Config { + rules?: { + [name: string]: (RuleLevel | [RuleLevel, any]) + }; + parser?: string; + parserOptions?: any; + settings?: any; + env?: { [name: string]: boolean }; + globals?: { [name: string]: boolean }; +} + +export interface LintOptions { + filename?: string; + preprocess?: (code: string) => string[]; + postprocess?: (problemLists: LintMessage[][]) => LintMessage[]; + allowInlineConfig?: boolean; + reportUnusedDisableDirectives?: boolean; +} + +export type Severity = 1 | 2; + +export interface LintMessage { + column: number; + line: number; + endColumn?: number; + endLine?: number; + ruleId: string | null; + message: string; + nodeType: string; + fatal?: true; + severity: Severity; + fix?: Fix; + source: string | null; +} + +export interface FixOptions extends LintOptions { + fix?: boolean; +} + +export interface Fix { + range: [number, number]; + text: string; +} + +export interface FixReport { + fixed: boolean; + output: string; + messages: LintMessage[]; +} + +export type RuleModule = any; + +export type ParserModule = any; + +export class Linter { + version: string; + + verify(code: SourceCode | string, config: Config, filename?: string): LintMessage[]; + verify(code: SourceCode | string, config: Config, options: LintOptions): LintMessage[]; + + verifyAndFix(code: string, config: Config, filename?: string): FixReport; + verifyAndFix(code: string, config: Config, options: FixOptions): FixReport; + + getSourceCode(): SourceCode; + + defineRule(name: string, rule: RuleModule): void; + + defineRules(rules: { [name: string]: RuleModule }): void; + + getRules(): Map; + + defineParser(name: string, parser: ParserModule): void; +} + +export class CLIEngineOptions { + allowInlineConfig?: boolean; + baseConfig?: boolean; + cache?: boolean; + cacheFile?: string; + configFile?: string; + cwd?: string; + envs?: string[]; + extensions?: string[]; + fix?: boolean; + globals?: string[]; + ignore?: boolean; + ignorePath?: string; + ignorePattern?: string; + useEslintrc?: boolean; + parser?: string; + parserOptions?: any; + plugins?: string[]; + rules?: { + [name: string]: (RuleLevel | [RuleLevel, any]); + }; + rulePaths?: string[]; +} + +export interface LintResult { + filePath: string; + messages: LintMessage[]; + errorCount: number; + warningCount: number; + fixableErrorCount: number; + fixableWarningCount: number; + output?: string; + source?: string; +} + +export interface LintReport { + results: LintResult[]; + errorCount: number; + warningCount: number; + fixableErrorCount: number; + fixableWarningCount: number; +} + +export type Formatter = (results: LintResult[]) => string; + +export class CLIEngine { + version: string; + + constructor(options: CLIEngineOptions); + + executeOnFiles(patterns: string[]): LintReport; + + resolveFileGlobPatterns(patterns: string[]): string[]; + + getConfigForFile(filePath: string): Config; + + executeOnText(text: string, filename?: string): LintReport; + + addPlugin(name: string, pluginObject: any): void; + + isPathIgnored(filePath: string): boolean; + + getFormatter(format: string): Formatter; + + static getErrorResults(results: LintResult[]): LintResult[]; + + static outputFixes(report: LintReport): void; + + getRules(): Map; +} + +export interface ValidTestCase { + code: string; + options?: any; + filename?: string; + parserOptions?: any; +} + +export interface TestCaseError { + message?: string | RegExp; + type?: string; + line?: number; + column?: number; + endLine?: number; + endColumn?: number; +} + +export interface InvalidTestCase extends ValidTestCase { + errors: number | Array; +} + +export interface Test { + valid?: ValidTestCase[]; + invalid: InvalidTestCase[]; +} + +export class RuleTester { + constructor(config?: any); + + run(name: string, rule: any, tests: Test): void; +} diff --git a/types/eslint/tsconfig.json b/types/eslint/tsconfig.json new file mode 100644 index 0000000000..2e820d4971 --- /dev/null +++ b/types/eslint/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "eslint-tests.ts" + ] +} diff --git a/types/eslint/tslint.json b/types/eslint/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/eslint/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From fdedcdfaa5ecd49b243f53157e91410cfe50fabd Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Sun, 28 Jan 2018 10:03:03 -0800 Subject: [PATCH 016/463] Add missing types to source code --- types/eslint/eslint-tests.ts | 15 ++++- types/eslint/index.d.ts | 119 +++++++++++++++++++++++++++++++++-- 2 files changed, 127 insertions(+), 7 deletions(-) diff --git a/types/eslint/eslint-tests.ts b/types/eslint/eslint-tests.ts index 6b60ef8757..2d4a4347d9 100644 --- a/types/eslint/eslint-tests.ts +++ b/types/eslint/eslint-tests.ts @@ -1,12 +1,23 @@ import { SourceCode, Linter, CLIEngine, RuleTester } from 'eslint'; // ============================================= -// Linter +// SourceCode // ============================================= const SOURCE = `var foo = bar;`; -const sourceCode = new SourceCode(SOURCE, {}); +const ast = { comments: [], tokens: [], loc: {}, range: [] }; +const sourceCode = new SourceCode(SOURCE, ast); + +const text: string = sourceCode.getText(); + +const lines: string[] = sourceCode.getLines(); + +SourceCode.splitLines(SOURCE); + +// ============================================= +// Linter +// ============================================= const linter = new Linter(); diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index 7e04f5ebc7..b4b0a921ed 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -3,12 +3,121 @@ // Definitions by: Pierre-Marie Dartus // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -export class SourceCode { - text: string; - ast: any; - lines: string[]; +export interface Ast { + comments: any[], + tokens: any[], + loc: any, + range: any[]; +} - constructor(text: string, ast: any); +export type AstNode = any; +export type Token = any; +export type Comment = any; + +export type FilterPredicate = (tokenOrComment: Token | Comment) => boolean; + +export type CursorWithSkipOptions = number | FilterPredicate | { + includeComments?: boolean; + filter?: FilterPredicate; + skip?: number; +} + +export type CursorWithCountOptions = number | FilterPredicate | { + includeComments?: boolean; + filter?: FilterPredicate; + count?: number; +} + +export class TokenStore { + getTokenByRangeStart(offset: number, options?: { includeComments?: boolean }): Token | null; + + getFirstToken(node: AstNode, options: CursorWithSkipOptions): Token | null; + + getFirstTokens(node: AstNode, options: CursorWithCountOptions): Token[]; + + getLastToken(node: AstNode, options: CursorWithSkipOptions): Token | null; + + getLastTokens(node: AstNode, options: CursorWithCountOptions): Token[]; + + getTokenBefore(node: AstNode | Token | Comment, options: CursorWithSkipOptions): Token | null; + + getTokensBefore(node: AstNode | Token | Comment, options: CursorWithCountOptions): Token[]; + + getTokenAfter(node: AstNode | Token | Comment, options: CursorWithSkipOptions): Token | null; + + getTokensAfter(node: AstNode | Token | Comment, options: CursorWithCountOptions): Token[]; + + getFirstTokenBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, options: CursorWithSkipOptions): Token | null; + + getFirstTokensBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, options: CursorWithCountOptions): Token[]; + + getLastTokenBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, options: CursorWithSkipOptions): Token | null; + + getLastTokensBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, options: CursorWithCountOptions): Token[]; + + getTokens(node: AstNode, beforeCount?: number, afterCount?: number): Token[]; + getTokens(node: AstNode, options: FilterPredicate | CursorWithCountOptions): Token[]; + + getTokensBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, padding: number): Token[]; + getTokensBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, padding: FilterPredicate | CursorWithCountOptions): Token[]; + + commentsExistBetween(left: AstNode, right: AstNode): boolean; + + getCommentsBefore(nodeOrToken: AstNode | Token): Comment[]; + + getCommentsAfter(nodeOrToken: AstNode | Token): Comment[]; + + getCommentsInside(node: AstNode): Comment[]; +} + +export interface SourceCodeConfig { + text: string; + ast: Ast; + parserServices?: ParserServices; + scopeManager?: ScopeManager; + visitorKeys?: VisitorKeys; +} + +export interface Location { + line: number; + column: number; +} + +type ParserServices = any; +type ScopeManager = any; +type VisitorKeys = any; + +export class SourceCode extends TokenStore { + text: string; + ast: Ast; + lines: string[]; + hasBOM: boolean; + parserServices: ParserServices; + scopeManager: ScopeManager; + visitorKeys: VisitorKeys; + + constructor(text: string, ast: Ast); + constructor(config: SourceCodeConfig); + + static splitLines(text: string): string[]; + + getText(node?: AstNode, beforeCount?: number, afterCount?: number): string; + + getLines(): string[]; + + getAllComments(): AstNode[]; + + getComments(node: AstNode): { leading: Comment[], trailing: Comment[] }; + + getJSDocComment(node: AstNode): Token | null; + + getNodeByRangeIndex(index: number): AstNode | null; + + isSpaceBetweenTokens(first: Token, second: Token): boolean; + + getLocFromIndex(index: number): Location; + + getIndexFromLoc(location: Location): number; } export type RuleLevel = 'off' | 'warn' | 'error' | 0 | 1 | 2; From ba6ee11d7c9b1cfb8ea5058240f107b1289a9f79 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Sun, 28 Jan 2018 10:59:55 -0800 Subject: [PATCH 017/463] Add RuleModule type defintion --- types/eslint/index.d.ts | 72 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 70 insertions(+), 2 deletions(-) diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index b4b0a921ed..425f5f6c00 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -161,8 +161,10 @@ export interface FixOptions extends LintOptions { fix?: boolean; } +export type Range = [number, number]; + export interface Fix { - range: [number, number]; + range: Range; text: string; } @@ -172,7 +174,73 @@ export interface FixReport { messages: LintMessage[]; } -export type RuleModule = any; +export interface RuleModule { + create(context: RuleContext): any; + meta?: RuleMetaData; +} + +export interface RuleMetaData { + docs?: { + description?: string; + category?: string; + recommended?: boolean; + url?: string; + } + messages?: { [messageId: string]: string }; + fixable?: 'code' | 'whitespace'; + schema?: any; + deprecated?: boolean; +} + +interface RuleContext { + id: string; + options: any[]; + settings: any; + parserPath: string; + parserOptions: any; + parserServices: any; + + getAncestors(): AstNode[]; + + getDeclaredVariables(node: AstNode): any[]; + + getFilename(): string; + + getScope(): any; + + getSourceCode(): SourceCode; + + markVariableAsUsed(name: string): boolean; + + report(descriptor: ReportDescriptor): void; +} + +type ReportDescriptor = ReportDescriptorMessage & ReportDescriptorLocation & ReportDescriptorOptions; +type ReportDescriptorMessage = { message: string } | { messageId: string }; +type ReportDescriptorLocation = { node: AstNode } | { loc: { start: Location, end: Location } | { line: number, column: number } } +type ReportDescriptorOptions = { + data?: any; + + fix?(fixer: RuleFixer): null | Fix | IterableIterator; +} + +interface RuleFixer { + insertTextAfter(nodeOrToken: AstNode | Token, text: string): Fix; + + insertTextAfterRange(range: Range, text: string): Fix; + + insertTextBefore(nodeOrToken: AstNode | Token, text: string): Fix; + + insertTextBeforeRange(range: Range, text: string): Fix; + + remove(nodeOrToken: AstNode | Token): Fix; + + removeRange(range: Range): Fix; + + replaceText(nodeOrToken: AstNode | Token, text: string): Fix; + + replaceTextRange(range: Range, text: string): Fix; +} export type ParserModule = any; From 4edc769299bfd486bda5b24141901b0bd00f3158 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Sun, 28 Jan 2018 11:03:43 -0800 Subject: [PATCH 018/463] Add ParserModule types --- types/eslint/index.d.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index 425f5f6c00..6fca406a62 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -242,7 +242,18 @@ interface RuleFixer { replaceTextRange(range: Range, text: string): Fix; } -export type ParserModule = any; +export type ParserModule = { + parse(text: string, options?: any): AstNode; +} | { + parseForESLint(text: string, options?: any): ESLintParseResult; +} + +export interface ESLintParseResult { + ast: AstNode; + parserServices?: any; + scopeManager?: any; + visitorKeys?: { [type: string]: string[] }; +} export class Linter { version: string; From e1a8c9446c0dc88ec233ae43a956634451d195df Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Sun, 28 Jan 2018 11:16:23 -0800 Subject: [PATCH 019/463] Add RuleTester missing types --- types/eslint/index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index 6fca406a62..80a19f144c 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -280,6 +280,7 @@ export class CLIEngineOptions { baseConfig?: boolean; cache?: boolean; cacheFile?: string; + cacheLocation?: string; configFile?: string; cwd?: string; envs?: string[]; @@ -297,6 +298,7 @@ export class CLIEngineOptions { [name: string]: (RuleLevel | [RuleLevel, any]); }; rulePaths?: string[]; + reportUnusedDisableDirectives?: true; } export interface LintResult { @@ -351,11 +353,16 @@ export interface ValidTestCase { options?: any; filename?: string; parserOptions?: any; + settings?: any; + parser?: string; + globals?: { [name: string]: boolean }; } export interface TestCaseError { message?: string | RegExp; + messageId?: string; type?: string; + data?: any; line?: number; column?: number; endLine?: number; @@ -364,6 +371,7 @@ export interface TestCaseError { export interface InvalidTestCase extends ValidTestCase { errors: number | Array; + output?: string; } export interface Test { From a3bc2e2ac87042f5e51ab6b923a5756f30992840 Mon Sep 17 00:00:00 2001 From: Sheng Chen Date: Mon, 29 Jan 2018 10:44:04 +0800 Subject: [PATCH 020/463] add abort() into the websocket client --- types/websocket/index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/types/websocket/index.d.ts b/types/websocket/index.d.ts index 006d94800f..f67a5da142 100644 --- a/types/websocket/index.d.ts +++ b/types/websocket/index.d.ts @@ -571,6 +571,12 @@ declare class client extends events.EventEmitter { connect(requestUrl: url.Url, protocols?: string, origin?: string, headers?: object, extraRequestOptions?: http.RequestOptions): void; connect(requestUrl: string, protocols?: string, origin?: string, headers?: object, extraRequestOptions?: http.RequestOptions): void; + /** + * Will cancel an in-progress connection request before either the `connect` event or the `connectFailed` event has been emitted. + * If the `connect` or `connectFailed` event has already been emitted, calling `abort()` will do nothing. + */ + abort(): void; + // Events on(event: string, listener: () => void): this; on(event: 'connect', cb: (connection: connection) => void): this; From d63e1610023551f14fff3a3be5792d4057dca6b6 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Sun, 28 Jan 2018 19:24:57 -0800 Subject: [PATCH 021/463] Fix linting errors --- types/eslint/index.d.ts | 43 ++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index 80a19f144c..d5c9556f65 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -4,9 +4,9 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export interface Ast { - comments: any[], - tokens: any[], - loc: any, + comments: any[]; + tokens: any[]; + loc: any; range: any[]; } @@ -20,13 +20,13 @@ export type CursorWithSkipOptions = number | FilterPredicate | { includeComments?: boolean; filter?: FilterPredicate; skip?: number; -} +}; export type CursorWithCountOptions = number | FilterPredicate | { includeComments?: boolean; filter?: FilterPredicate; count?: number; -} +}; export class TokenStore { getTokenByRangeStart(offset: number, options?: { includeComments?: boolean }): Token | null; @@ -47,19 +47,18 @@ export class TokenStore { getTokensAfter(node: AstNode | Token | Comment, options: CursorWithCountOptions): Token[]; - getFirstTokenBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, options: CursorWithSkipOptions): Token | null; + getFirstTokenBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, options: CursorWithSkipOptions): Token | null; - getFirstTokensBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, options: CursorWithCountOptions): Token[]; + getFirstTokensBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, options: CursorWithCountOptions): Token[]; - getLastTokenBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, options: CursorWithSkipOptions): Token | null; + getLastTokenBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, options: CursorWithSkipOptions): Token | null; - getLastTokensBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, options: CursorWithCountOptions): Token[]; + getLastTokensBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, options: CursorWithCountOptions): Token[]; getTokens(node: AstNode, beforeCount?: number, afterCount?: number): Token[]; getTokens(node: AstNode, options: FilterPredicate | CursorWithCountOptions): Token[]; - getTokensBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, padding: number): Token[]; - getTokensBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, padding: FilterPredicate | CursorWithCountOptions): Token[]; + getTokensBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, padding: number | FilterPredicate | CursorWithCountOptions): Token[]; commentsExistBetween(left: AstNode, right: AstNode): boolean; @@ -83,9 +82,9 @@ export interface Location { column: number; } -type ParserServices = any; -type ScopeManager = any; -type VisitorKeys = any; +export type ParserServices = any; +export type ScopeManager = any; +export type VisitorKeys = any; export class SourceCode extends TokenStore { text: string; @@ -185,14 +184,14 @@ export interface RuleMetaData { category?: string; recommended?: boolean; url?: string; - } + }; messages?: { [messageId: string]: string }; fixable?: 'code' | 'whitespace'; schema?: any; deprecated?: boolean; } -interface RuleContext { +export interface RuleContext { id: string; options: any[]; settings: any; @@ -215,16 +214,16 @@ interface RuleContext { report(descriptor: ReportDescriptor): void; } -type ReportDescriptor = ReportDescriptorMessage & ReportDescriptorLocation & ReportDescriptorOptions; -type ReportDescriptorMessage = { message: string } | { messageId: string }; -type ReportDescriptorLocation = { node: AstNode } | { loc: { start: Location, end: Location } | { line: number, column: number } } -type ReportDescriptorOptions = { +export type ReportDescriptor = ReportDescriptorMessage & ReportDescriptorLocation & ReportDescriptorOptions; +export type ReportDescriptorMessage = { message: string } | { messageId: string }; +export type ReportDescriptorLocation = { node: AstNode } | { loc: { start: Location, end: Location } | { line: number, column: number } }; +export interface ReportDescriptorOptions { data?: any; fix?(fixer: RuleFixer): null | Fix | IterableIterator; } -interface RuleFixer { +export interface RuleFixer { insertTextAfter(nodeOrToken: AstNode | Token, text: string): Fix; insertTextAfterRange(range: Range, text: string): Fix; @@ -246,7 +245,7 @@ export type ParserModule = { parse(text: string, options?: any): AstNode; } | { parseForESLint(text: string, options?: any): ESLintParseResult; -} +}; export interface ESLintParseResult { ast: AstNode; From 8254317ecababe24c70ea0a661faea9f46ecfa29 Mon Sep 17 00:00:00 2001 From: Florian Oellerich Date: Mon, 29 Jan 2018 15:03:07 +0100 Subject: [PATCH 022/463] [sequelize] extend RetryOptions * Extend `RetryOptions.match` with `RegExp` and `Error` acording to `retry-as-promised`. * Extend sequelize-tests.ts --- types/sequelize/index.d.ts | 3 ++- types/sequelize/sequelize-tests.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/types/sequelize/index.d.ts b/types/sequelize/index.d.ts index d88754480f..9685fa9d45 100644 --- a/types/sequelize/index.d.ts +++ b/types/sequelize/index.d.ts @@ -10,6 +10,7 @@ // Philippe D'Alva // Carven Zhang // Nikola Vidic +// Florian Oellerich // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -5313,7 +5314,7 @@ declare namespace sequelize { /** * Only retry a query if the error matches one of these strings. */ - match?: string[]; + match?: (string|RegExp|Error)[]; /** * How many times a failing query is automatically retried. Set to 0 to disable retrying on SQL_BUSY error. diff --git a/types/sequelize/sequelize-tests.ts b/types/sequelize/sequelize-tests.ts index b1ee85d2fc..eea19959bd 100644 --- a/types/sequelize/sequelize-tests.ts +++ b/types/sequelize/sequelize-tests.ts @@ -1235,7 +1235,7 @@ new Sequelize( { username: 'user', password: 'pass', retry: { - match: ['failed'], + match: ['failed', /failed/i, Sequelize.ForeignKeyConstraintError], max: 3 }, typeValidation: true From eedcaa68b89399e97131f19a63c994665584af9f Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Mon, 29 Jan 2018 07:48:41 -0800 Subject: [PATCH 023/463] Add types for ASTNode and scope namager --- types/eslint/index.d.ts | 179 ++++++++++++++++++++++++++++------------ 1 file changed, 128 insertions(+), 51 deletions(-) diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index d5c9556f65..5afa86d809 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -2,19 +2,21 @@ // Project: https://eslint.org // Definitions by: Pierre-Marie Dartus // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 + +import { JSONSchema4 } from 'json-schema'; +import * as ESTree from 'estree'; + +export type Token = any; export interface Ast { - comments: any[]; + comments: ESTree.Comment[]; tokens: any[]; loc: any; range: any[]; } -export type AstNode = any; -export type Token = any; -export type Comment = any; - -export type FilterPredicate = (tokenOrComment: Token | Comment) => boolean; +export type FilterPredicate = (tokenOrComment: Token | ESTree.Comment) => boolean; export type CursorWithSkipOptions = number | FilterPredicate | { includeComments?: boolean; @@ -31,42 +33,42 @@ export type CursorWithCountOptions = number | FilterPredicate | { export class TokenStore { getTokenByRangeStart(offset: number, options?: { includeComments?: boolean }): Token | null; - getFirstToken(node: AstNode, options: CursorWithSkipOptions): Token | null; + getFirstToken(node: ESTree.Node, options: CursorWithSkipOptions): Token | null; - getFirstTokens(node: AstNode, options: CursorWithCountOptions): Token[]; + getFirstTokens(node: ESTree.Node, options: CursorWithCountOptions): Token[]; - getLastToken(node: AstNode, options: CursorWithSkipOptions): Token | null; + getLastToken(node: ESTree.Node, options: CursorWithSkipOptions): Token | null; - getLastTokens(node: AstNode, options: CursorWithCountOptions): Token[]; + getLastTokens(node: ESTree.Node, options: CursorWithCountOptions): Token[]; - getTokenBefore(node: AstNode | Token | Comment, options: CursorWithSkipOptions): Token | null; + getTokenBefore(node: ESTree.Node | Token | ESTree.Comment, options: CursorWithSkipOptions): Token | null; - getTokensBefore(node: AstNode | Token | Comment, options: CursorWithCountOptions): Token[]; + getTokensBefore(node: ESTree.Node | Token | ESTree.Comment, options: CursorWithCountOptions): Token[]; - getTokenAfter(node: AstNode | Token | Comment, options: CursorWithSkipOptions): Token | null; + getTokenAfter(node: ESTree.Node | Token | ESTree.Comment, options: CursorWithSkipOptions): Token | null; - getTokensAfter(node: AstNode | Token | Comment, options: CursorWithCountOptions): Token[]; + getTokensAfter(node: ESTree.Node | Token | ESTree.Comment, options: CursorWithCountOptions): Token[]; - getFirstTokenBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, options: CursorWithSkipOptions): Token | null; + getFirstTokenBetween(left: ESTree.Node | Token | ESTree.Comment, right: ESTree.Node | Token | ESTree.Comment, options: CursorWithSkipOptions): Token | null; - getFirstTokensBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, options: CursorWithCountOptions): Token[]; + getFirstTokensBetween(left: ESTree.Node | Token | ESTree.Comment, right: ESTree.Node | Token | ESTree.Comment, options: CursorWithCountOptions): Token[]; - getLastTokenBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, options: CursorWithSkipOptions): Token | null; + getLastTokenBetween(left: ESTree.Node | Token | ESTree.Comment, right: ESTree.Node | Token | ESTree.Comment, options: CursorWithSkipOptions): Token | null; - getLastTokensBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, options: CursorWithCountOptions): Token[]; + getLastTokensBetween(left: ESTree.Node | Token | ESTree.Comment, right: ESTree.Node | Token | ESTree.Comment, options: CursorWithCountOptions): Token[]; - getTokens(node: AstNode, beforeCount?: number, afterCount?: number): Token[]; - getTokens(node: AstNode, options: FilterPredicate | CursorWithCountOptions): Token[]; + getTokens(node: ESTree.Node, beforeCount?: number, afterCount?: number): Token[]; + getTokens(node: ESTree.Node, options: FilterPredicate | CursorWithCountOptions): Token[]; - getTokensBetween(left: AstNode | Token | Comment, right: AstNode | Token | Comment, padding: number | FilterPredicate | CursorWithCountOptions): Token[]; + getTokensBetween(left: ESTree.Node | Token | ESTree.Comment, right: ESTree.Node | Token | ESTree.Comment, padding: number | FilterPredicate | CursorWithCountOptions): Token[]; - commentsExistBetween(left: AstNode, right: AstNode): boolean; + commentsExistBetween(left: ESTree.Node, right: ESTree.Node): boolean; - getCommentsBefore(nodeOrToken: AstNode | Token): Comment[]; + getCommentsBefore(nodeOrToken: ESTree.Node | Token): ESTree.Comment[]; - getCommentsAfter(nodeOrToken: AstNode | Token): Comment[]; + getCommentsAfter(nodeOrToken: ESTree.Node | Token): ESTree.Comment[]; - getCommentsInside(node: AstNode): Comment[]; + getCommentsInside(node: ESTree.Node): ESTree.Comment[]; } export interface SourceCodeConfig { @@ -83,8 +85,70 @@ export interface Location { } export type ParserServices = any; -export type ScopeManager = any; -export type VisitorKeys = any; + +export interface ScopeManager { + scopes: Scope[]; + globalScope: Scope | null; + + acquire(node: ESTree.Node, inner?: boolean): Scope | null; + + getDeclaredVariables(node: ESTree.Node): any[]; +} + +export interface Scope { + type: 'block' | 'catch' | 'class' | 'for' | 'function' | 'function-expression-name' | 'global' | 'module' | 'switch' | 'with' | 'TDZ'; + isStrict: boolean; + upper: Scope | null; + childScopes: Scope[]; + variableScope: Scope; + block: ESTree.Node; + variables: Variable[]; + set: Map; + references: Reference[]; + through: Reference[]; + functionExpressionScope: boolean; +} + +export interface Variable { + name: string; + identifiers: ESTree.Identifier; + references: Reference[]; + defs: Definition[]; +} + +export interface Reference { + identifier: ESTree.Identifier; + from: Scope; + resolved: Variable | null; + writeExpr: ESTree.Node | null; + init: boolean; + + isWrite(): boolean; + + isRead(): boolean; + + isWriteOnly(): boolean; + + isReadOnly(): boolean; + + isReadWrite(): boolean; +} + +export type DefinitionType = + | { type: 'CatchClause', node: ESTree.CatchClause, parent: null } + | { type: 'ClassName', node: ESTree.ClassDeclaration | ESTree.ClassExpression, parent: null } + | { type: 'FunctionName', node: ESTree.FunctionDeclaration | ESTree.FunctionExpression, parent: null } + | { type: 'ImplicitGlobalVariable', node: ESTree.Program, parent: null } + | { type: 'ImportBinding', node: ESTree.ImportSpecifier | ESTree.ImportDefaultSpecifier | ESTree.ImportNamespaceSpecifier, parent: ESTree.ImportDeclaration } + | { type: 'Parameter', node: ESTree.FunctionDeclaration | ESTree.FunctionExpression | ESTree.ArrowFunctionExpression, parent: null } + | { type: 'TDZ', node: any, parent: null } + | { type: 'Variable', node: ESTree.VariableDeclarator, parent: ESTree.VariableDeclaration }; + +export type Definition = DefinitionType & { name: ESTree.Identifier }; + +export interface VisitorKeys { + [nodeType: string]: string[]; +} export class SourceCode extends TokenStore { text: string; @@ -100,17 +164,17 @@ export class SourceCode extends TokenStore { static splitLines(text: string): string[]; - getText(node?: AstNode, beforeCount?: number, afterCount?: number): string; + getText(node?: ESTree.Node, beforeCount?: number, afterCount?: number): string; getLines(): string[]; - getAllComments(): AstNode[]; + getAllComments(): ESTree.Node[]; - getComments(node: AstNode): { leading: Comment[], trailing: Comment[] }; + getComments(node: ESTree.Node): { leading: ESTree.Comment[], trailing: ESTree.Comment[] }; - getJSDocComment(node: AstNode): Token | null; + getJSDocComment(node: ESTree.Node): Token | null; - getNodeByRangeIndex(index: number): AstNode | null; + getNodeByRangeIndex(index: number): ESTree.Node | null; isSpaceBetweenTokens(first: Token, second: Token): boolean; @@ -121,13 +185,26 @@ export class SourceCode extends TokenStore { export type RuleLevel = 'off' | 'warn' | 'error' | 0 | 1 | 2; +export interface ParserOptions { + ecmaVersion?: 3 | 5 | 6 | 7 | 8 | 9 | 2015 | 2016 | 2017 | 2018; + sourceType?: 'script' | 'module'; + ecmaFeatures?: { + globalReturn?: boolean; + impliedStrict?: boolean; + jsx?: boolean; + experimentalObjectRestSpread?: boolean; + [key: string]: any; + }; + [key: string]: any; +} + export interface Config { rules?: { [name: string]: (RuleLevel | [RuleLevel, any]) }; parser?: string; - parserOptions?: any; - settings?: any; + parserOptions?: ParserOptions; + settings?: { [name: string]: any }; env?: { [name: string]: boolean }; globals?: { [name: string]: boolean }; } @@ -187,21 +264,21 @@ export interface RuleMetaData { }; messages?: { [messageId: string]: string }; fixable?: 'code' | 'whitespace'; - schema?: any; + schema?: JSONSchema4 | JSONSchema4[]; deprecated?: boolean; } export interface RuleContext { id: string; options: any[]; - settings: any; + settings: { [name: string]: any }; parserPath: string; - parserOptions: any; + parserOptions: ParserOptions; parserServices: any; - getAncestors(): AstNode[]; + getAncestors(): ESTree.Node[]; - getDeclaredVariables(node: AstNode): any[]; + getDeclaredVariables(node: ESTree.Node): any[]; getFilename(): string; @@ -216,42 +293,42 @@ export interface RuleContext { export type ReportDescriptor = ReportDescriptorMessage & ReportDescriptorLocation & ReportDescriptorOptions; export type ReportDescriptorMessage = { message: string } | { messageId: string }; -export type ReportDescriptorLocation = { node: AstNode } | { loc: { start: Location, end: Location } | { line: number, column: number } }; +export type ReportDescriptorLocation = { node: ESTree.Node } | { loc: { start: Location, end: Location } | { line: number, column: number } }; export interface ReportDescriptorOptions { - data?: any; + data?: { [key: string]: string }; fix?(fixer: RuleFixer): null | Fix | IterableIterator; } export interface RuleFixer { - insertTextAfter(nodeOrToken: AstNode | Token, text: string): Fix; + insertTextAfter(nodeOrToken: ESTree.Node | Token, text: string): Fix; insertTextAfterRange(range: Range, text: string): Fix; - insertTextBefore(nodeOrToken: AstNode | Token, text: string): Fix; + insertTextBefore(nodeOrToken: ESTree.Node | Token, text: string): Fix; insertTextBeforeRange(range: Range, text: string): Fix; - remove(nodeOrToken: AstNode | Token): Fix; + remove(nodeOrToken: ESTree.Node | Token): Fix; removeRange(range: Range): Fix; - replaceText(nodeOrToken: AstNode | Token, text: string): Fix; + replaceText(nodeOrToken: ESTree.Node | Token, text: string): Fix; replaceTextRange(range: Range, text: string): Fix; } export type ParserModule = { - parse(text: string, options?: any): AstNode; + parse(text: string, options?: any): ESTree.Node; } | { parseForESLint(text: string, options?: any): ESLintParseResult; }; export interface ESLintParseResult { - ast: AstNode; + ast: ESTree.Node; parserServices?: any; scopeManager?: any; - visitorKeys?: { [type: string]: string[] }; + visitorKeys?: VisitorKeys; } export class Linter { @@ -291,7 +368,7 @@ export class CLIEngineOptions { ignorePattern?: string; useEslintrc?: boolean; parser?: string; - parserOptions?: any; + parserOptions?: ParserOptions; plugins?: string[]; rules?: { [name: string]: (RuleLevel | [RuleLevel, any]); @@ -351,8 +428,8 @@ export interface ValidTestCase { code: string; options?: any; filename?: string; - parserOptions?: any; - settings?: any; + parserOptions?: ParserOptions; + settings?: { [name: string]: any }; parser?: string; globals?: { [name: string]: boolean }; } From 861aeb58a561c22d88f7808257edaaf80f26c8b2 Mon Sep 17 00:00:00 2001 From: Ryan Cannon Date: Mon, 29 Jan 2018 15:58:17 +0000 Subject: [PATCH 024/463] [express-session]: Allow secret to be an array From [the readme](https://github.com/expressjs/session#secret): > This is the secret used to sign the session ID cookie. This can be either a string for a single secret, or an array of multiple secrets. If an array of secrets is provided, only the first element will be used to sign the session ID cookie, while all the elements will be considered when verifying the signature in requests. --- types/express-session/index.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/express-session/index.d.ts b/types/express-session/index.d.ts index 13ce6ab8b2..20343873f1 100644 --- a/types/express-session/index.d.ts +++ b/types/express-session/index.d.ts @@ -1,6 +1,8 @@ // Type definitions for express-session 1.15 // Project: https://www.npmjs.org/package/express-session -// Definitions by: Hiroki Horiuchi , Jacob Bogers +// Definitions by: Hiroki Horiuchi +// Jacob Bogers +// Ryan Cannon // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 @@ -51,7 +53,7 @@ declare function session(options?: session.SessionOptions): express.RequestHandl declare namespace session { interface SessionOptions { - secret: string; + secret: string | string[]; name?: string; store?: Store | MemoryStore; cookie?: express.CookieOptions; From c712450633f392d791b3309c9fd90fccb9d33aec Mon Sep 17 00:00:00 2001 From: Emily Marigold Klassen Date: Mon, 29 Jan 2018 11:22:13 -0800 Subject: [PATCH 025/463] feat: add transform option to stringify-object --- types/stringify-object/index.d.ts | 7 ++++--- types/stringify-object/stringify-object-tests.ts | 4 ++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/types/stringify-object/index.d.ts b/types/stringify-object/index.d.ts index 3380fc3672..e6265e5e33 100644 --- a/types/stringify-object/index.d.ts +++ b/types/stringify-object/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for stringify-object 3.1 +// Type definitions for stringify-object 3.2 // Project: https://github.com/yeoman/stringify-object // Definitions by: Chris Khoo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -8,8 +8,9 @@ declare namespace stringifyObject { } declare function stringifyObject(o: any, options?: { indent?: string, singleQuotes?: boolean, - filter?(o: any, prop: string): boolean, - inlineCharacterLimit?: number + filter?(o: any, prop: string | symbol): boolean, + inlineCharacterLimit?: number, + transform?: (val: any[] | object, i: number | string | symbol, value: string) => string, }): string; export = stringifyObject; diff --git a/types/stringify-object/stringify-object-tests.ts b/types/stringify-object/stringify-object-tests.ts index a00be6f1c0..7f0c43a902 100644 --- a/types/stringify-object/stringify-object-tests.ts +++ b/types/stringify-object/stringify-object-tests.ts @@ -24,3 +24,7 @@ stringifyObject([1, 2, 3], { stringifyObject([1, 2, 3], { filter: (o, prop) => prop !== '_hidden_' }); + +stringifyObject([1, 2, 3], { + transform: (val, key, value) => value +}); From 58db007331406a7a80dd1d9e634025b7cd08368d Mon Sep 17 00:00:00 2001 From: Emily Marigold Klassen Date: Mon, 29 Jan 2018 11:28:22 -0800 Subject: [PATCH 026/463] style(stringify-object): use four spaces for indent --- types/stringify-object/index.d.ts | 10 +++++----- types/stringify-object/stringify-object-tests.ts | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/types/stringify-object/index.d.ts b/types/stringify-object/index.d.ts index e6265e5e33..3001333b46 100644 --- a/types/stringify-object/index.d.ts +++ b/types/stringify-object/index.d.ts @@ -6,11 +6,11 @@ declare namespace stringifyObject { } declare function stringifyObject(o: any, options?: { - indent?: string, - singleQuotes?: boolean, - filter?(o: any, prop: string | symbol): boolean, - inlineCharacterLimit?: number, - transform?: (val: any[] | object, i: number | string | symbol, value: string) => string, + indent?: string, + singleQuotes?: boolean, + filter?(o: any, prop: string | symbol): boolean, + inlineCharacterLimit?: number, + transform?: (val: any[] | object, i: number | string | symbol, value: string) => string, }): string; export = stringifyObject; diff --git a/types/stringify-object/stringify-object-tests.ts b/types/stringify-object/stringify-object-tests.ts index 7f0c43a902..2f56067923 100644 --- a/types/stringify-object/stringify-object-tests.ts +++ b/types/stringify-object/stringify-object-tests.ts @@ -22,9 +22,9 @@ stringifyObject([1, 2, 3], { }); stringifyObject([1, 2, 3], { - filter: (o, prop) => prop !== '_hidden_' + filter: (o, prop) => prop !== '_hidden_' }); stringifyObject([1, 2, 3], { - transform: (val, key, value) => value + transform: (val, key, value) => value }); From 7aa363e87e5135c669b0f539d37d6dba1c2c5d5d Mon Sep 17 00:00:00 2001 From: Emily Marigold Klassen Date: Mon, 29 Jan 2018 11:58:06 -0800 Subject: [PATCH 027/463] fix: set typescript version to 2.2 --- types/stringify-object/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/stringify-object/index.d.ts b/types/stringify-object/index.d.ts index 3001333b46..575e650064 100644 --- a/types/stringify-object/index.d.ts +++ b/types/stringify-object/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/yeoman/stringify-object // Definitions by: Chris Khoo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 declare namespace stringifyObject { } From c51630db7ff15db4d3e12460b68fc95543ffa107 Mon Sep 17 00:00:00 2001 From: John Downs Date: Tue, 30 Jan 2018 08:05:29 +1100 Subject: [PATCH 028/463] Fixed return type of getOperationType() after PR comment --- types/documentdb-server/index.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/types/documentdb-server/index.d.ts b/types/documentdb-server/index.d.ts index f0593a595f..96934ad4b6 100644 --- a/types/documentdb-server/index.d.ts +++ b/types/documentdb-server/index.d.ts @@ -492,9 +492,8 @@ interface IRequest { getBody(): T; /** * Gets the OperationType for the request with a pre-trigger or post-trigger. - * Note: This will be one of 'Create', 'Replace', 'Upsert', or 'Delete'. */ - getOperationType(): string; + getOperationType(): "Create" | "Replace" | "Upsert" | "Delete"; /** * Gets a specified request header value. * @param key the name of the header to retrieve From 1196157e3869f6c18fa2b61449baf4164b4904db Mon Sep 17 00:00:00 2001 From: Moreton Bay RC Date: Tue, 30 Jan 2018 13:28:46 +1000 Subject: [PATCH 029/463] Add generics for Yup schemas --- types/yup/index.d.ts | 58 +++++++++++++++++++++--------------------- types/yup/yup-tests.ts | 2 +- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/types/yup/index.d.ts b/types/yup/index.d.ts index 99e67121d8..3e6b6691b0 100644 --- a/types/yup/index.d.ts +++ b/types/yup/index.d.ts @@ -1,13 +1,13 @@ // Type definitions for yup 0.24 // Project: https://github.com/jquense/yup -// Definitions by: Dominik Hardtke , Vladyslav Tserman +// Definitions by: Dominik Hardtke , Vladyslav Tserman , Moreton Bay Regional Council // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 -export function reach(schema: Schema, path: string, value?: any, context?: any): Schema; -export function addMethod(schemaCtor: AnySchemaConstructor, name: string, method: (this: T, ...args: any[]) => T): void; +export function reach(schema: Schema, path: string, value?: any, context?: any): Schema; +export function addMethod>(schemaCtor: AnySchemaConstructor, name: string, method: (this: T, ...args: any[]) => T): void; export function ref(path: string, options?: { contextPrefix: string }): Ref; -export function lazy(fn: (value: any) => Schema): Lazy; +export function lazy(fn: (value: T) => Schema): Lazy; export function ValidationError(errors: string | string[], value: any, path: string, type?: any): ValidationError; export const mixed: MixedSchemaConstructor; @@ -27,7 +27,7 @@ export type AnySchemaConstructor = MixedSchemaConstructor | ArraySchemaConstructor | ObjectSchemaConstructor; -export interface Schema { +export interface Schema { clone(): this; label(label: string): this; meta(metadata: any): this; @@ -61,7 +61,7 @@ export interface MixedSchemaConstructor { } // tslint:disable-next-line:no-empty-interface -export interface MixedSchema extends Schema { +export interface MixedSchema extends Schema { } export interface StringSchemaConstructor { @@ -69,7 +69,7 @@ export interface StringSchemaConstructor { new(): StringSchema; } -export interface StringSchema extends Schema { +export interface StringSchema extends Schema { min(limit: number | Ref, message?: string): StringSchema; max(limit: number | Ref, message?: string): StringSchema; matches(regex: RegExp, message?: string): StringSchema; @@ -86,7 +86,7 @@ export interface NumberSchemaConstructor { new(): NumberSchema; } -export interface NumberSchema extends Schema { +export interface NumberSchema extends Schema { min(limit: number | Ref, message?: string): NumberSchema; max(limit: number | Ref, message?: string): NumberSchema; lessThan(limit: number | Ref, message?: string): NumberSchema; @@ -104,7 +104,7 @@ export interface BooleanSchemaConstructor { } // tslint:disable-next-line:no-empty-interface -export interface BooleanSchema extends Schema { +export interface BooleanSchema extends Schema { } export interface DateSchemaConstructor { @@ -112,36 +112,36 @@ export interface DateSchemaConstructor { new(): DateSchema; } -export interface DateSchema extends Schema { +export interface DateSchema extends Schema { min(limit: Date | string | Ref, message?: string): DateSchema; max(limit: Date | string | Ref, message?: string): DateSchema; } export interface ArraySchemaConstructor { - (): ArraySchema; - new(): ArraySchema; + (): ArraySchema; + new(): ArraySchema; } -export interface ArraySchema extends Schema { - of(type: Schema): ArraySchema; - min(limit: number | Ref, message?: string): ArraySchema; - max(limit: number | Ref, message?: string): ArraySchema; - ensure(): ArraySchema; - compact(rejector: (value: any) => boolean): ArraySchema; +export interface ArraySchema extends Schema { + of(type: Schema): ArraySchema; + min(limit: number | Ref, message?: string): ArraySchema; + max(limit: number | Ref, message?: string): ArraySchema; + ensure(): ArraySchema; + compact(rejector: (value: any) => boolean): ArraySchema; } export interface ObjectSchemaConstructor { - (fields?: any): ObjectSchema; - new(): ObjectSchema; + (fields?: T): ObjectSchema; + new (): ObjectSchema; } -export interface ObjectSchema extends Schema { - shape(fields: any, noSortEdges?: Array<[string, string]>): ObjectSchema; - from(fromKey: string, toKey: string, alias?: boolean): ObjectSchema; - noUnknown(onlyKnownKeys: boolean, message?: string): ObjectSchema; +export interface ObjectSchema extends Schema { + shape(fields: { [field in keyof T]: Schema }, noSortEdges?: Array<[string, string]>): ObjectSchema; + from(fromKey: string, toKey: string, alias?: boolean): ObjectSchema; + noUnknown(onlyKnownKeys: boolean, message?: string): ObjectSchema; transformKeys(callback: (key: any) => any): void; - camelCase(): ObjectSchema; - constantCase(): ObjectSchema; + camelCase(): ObjectSchema; + constantCase(): ObjectSchema; } export type TransformFunction = ((this: T, value: any, originalValue: any) => any); @@ -240,7 +240,7 @@ export interface Ref { } // tslint:disable-next-line:no-empty-interface -export interface Lazy extends Schema { +export interface Lazy extends Schema { } export interface LocaleObject { @@ -250,6 +250,6 @@ export interface LocaleObject { boolean?: { [key in keyof BooleanSchema]?: string }; bool?: { [key in keyof BooleanSchema]?: string }; date?: { [key in keyof DateSchema]?: string }; - array?: { [key in keyof ArraySchema]?: string }; - object?: { [key in keyof ObjectSchema]?: string }; + array?: { [key in keyof ArraySchema]?: string }; + object?: { [key in keyof ObjectSchema]?: string }; } diff --git a/types/yup/yup-tests.ts b/types/yup/yup-tests.ts index 8d84bbf42d..e23a6859ea 100644 --- a/types/yup/yup-tests.ts +++ b/types/yup/yup-tests.ts @@ -35,7 +35,7 @@ schema = yup.object().shape({ schema.cast({ foo: { bar: 'boom' } }, { context: { x: 5 } }); // lazy function -const node: ObjectSchema = yup.object().shape({ +const node: ObjectSchema = yup.object().shape({ id: yup.number(), child: yup.lazy(() => node.default(undefined) From 29e106a36b77f6615a9d08f9a7bf127cd89e0487 Mon Sep 17 00:00:00 2001 From: Chris Reeves Date: Tue, 30 Jan 2018 04:14:51 -0500 Subject: [PATCH 030/463] [pg] add special types for array mode queries --- types/pg/index.d.ts | 41 +++++++++++++++++++++++++++++++++-------- types/pg/pg-tests.ts | 30 ++++++++++++++++++++++++++++-- 2 files changed, 61 insertions(+), 10 deletions(-) diff --git a/types/pg/index.d.ts b/types/pg/index.d.ts index 9f945082cd..dde341eba4 100644 --- a/types/pg/index.d.ts +++ b/types/pg/index.d.ts @@ -33,21 +33,24 @@ export interface ClientConfig extends ConnectionConfig { } export interface PoolConfig extends ClientConfig { - // properties from module 'node-pool' - max?: number; - min?: number; - connectionTimeoutMillis?: number; - idleTimeoutMillis?: number; + // properties from module 'node-pool' + max?: number; + min?: number; + connectionTimeoutMillis?: number; + idleTimeoutMillis?: number; - application_name?: string; - Promise?: PromiseConstructorLike; + application_name?: string; + Promise?: PromiseConstructorLike; } export interface QueryConfig { name?: string; text: string; values?: any[]; - rowMode?: string; +} + +export interface QueryArrayConfig extends QueryConfig { + rowMode: 'array'; } export interface QueryResult { @@ -57,6 +60,24 @@ export interface QueryResult { rows: any[]; } +export interface FieldDef { + name: string; + tableID: number; + columnID: number; + dataTypeID: number; + dataTypeSize: number; + dataTypeModifier: number; + format: string; +} + +export interface QueryArrayResult { + command: string; + rowCount: number; + oid: number; + rows: any[][]; + fields: FieldDef[]; +} + export interface Notification { processId: number; channel: string; @@ -84,8 +105,10 @@ export class Pool extends events.EventEmitter { end(callback: () => void): void; query(queryStream: QueryConfig & stream.Readable): stream.Readable; + query(queryConfig: QueryArrayConfig): Promise; query(queryConfig: QueryConfig): Promise; query(queryText: string, values?: any[]): Promise; + query(queryConfig: QueryArrayConfig, callback: (err: Error, result: QueryArrayResult) => 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; @@ -105,8 +128,10 @@ export class Client extends events.EventEmitter { release(err?: Error): void; query(queryStream: QueryConfig & stream.Readable): stream.Readable; + query(queryConfig: QueryArrayConfig): Promise; query(queryConfig: QueryConfig): Promise; query(queryText: string, values?: any[]): Promise; + query(queryConfig: QueryArrayConfig, callback: (err: Error, result: QueryArrayResult) => 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; diff --git a/types/pg/pg-tests.ts b/types/pg/pg-tests.ts index 1f1e312544..018145856a 100644 --- a/types/pg/pg-tests.ts +++ b/types/pg/pg-tests.ts @@ -48,8 +48,7 @@ client.query('SELECT $1::text as name', ['brianc'], (err, res) => { const query = { name: 'get-name', text: 'SELECT $1::text', - values: ['brianc'], - rowMode: 'array' + values: ['brianc'] }; client.query(query, (err, res) => { if (err) { @@ -66,6 +65,33 @@ client.query(query) console.error(e.stack); }); +const queryArrMode: pg.QueryArrayConfig = { + name: 'get-name-array', + text: 'SELECT $1::text', + values: ['brianc'], + rowMode: 'array' +}; +client.query(queryArrMode, (err, res) => { + if (err) { + console.error(err.stack); + } else { + console.log(res.rows); + console.log(res.fields.map(f => f.name)); + } +}); +client.query(queryArrMode) + .then(res => { + console.log(res.rows); + console.log(res.fields.map(f => f.name)); + }) + .catch(e => { + console.error(e.stack); + }); +client.query({ + text: 'select 1', + rowMode: 'array', +}).then(res => console.log(res.fields[0])); + client.end((err) => { console.log('client has disconnected'); if (err) { From 429ba7aab38c6da97e0686eda917c14397f1a01f Mon Sep 17 00:00:00 2001 From: Chris Reeves Date: Tue, 30 Jan 2018 04:16:05 -0500 Subject: [PATCH 031/463] [pg] differentiate between pooled and non-pooled clients (release vs end) --- types/pg/index.d.ts | 26 ++++++++++++++++---------- types/pg/pg-tests.ts | 6 ++++++ 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/types/pg/index.d.ts b/types/pg/index.d.ts index dde341eba4..3876468087 100644 --- a/types/pg/index.d.ts +++ b/types/pg/index.d.ts @@ -98,8 +98,8 @@ export class Pool extends events.EventEmitter { readonly idleCount: number; readonly waitingCount: number; - connect(): Promise; - connect(callback: (err: Error, client: Client, done: () => void) => void): void; + connect(): Promise; + connect(callback: (err: Error, client: PoolClient, done: () => void) => void): void; end(): Promise; end(callback: () => void): void; @@ -112,21 +112,16 @@ export class Pool extends events.EventEmitter { query(queryTextOrConfig: string | QueryConfig, callback: (err: Error, result: QueryResult) => void): Query; query(queryText: string, values: any[], callback: (err: Error, result: QueryResult) => void): Query; - on(event: "error", listener: (err: Error, client: Client) => void): this; - on(event: "connect" | "acquire", listener: (client: Client) => void): this; + on(event: "error", listener: (err: Error, client: PoolClient) => void): this; + on(event: "connect" | "acquire", listener: (client: PoolClient) => void): this; } -export class Client extends events.EventEmitter { +export class ClientBase extends events.EventEmitter { constructor(config: string | ClientConfig); connect(): Promise; connect(callback: (err: Error) => void): void; - end(): Promise; - end(callback: (err: Error) => void): void; - - release(err?: Error): void; - query(queryStream: QueryConfig & stream.Readable): stream.Readable; query(queryConfig: QueryArrayConfig): Promise; query(queryConfig: QueryConfig): Promise; @@ -151,6 +146,17 @@ export class Client extends events.EventEmitter { on(event: "end", listener: () => void): this; } +export class Client extends ClientBase { + constructor(config: string | ClientConfig); + + end(): Promise; + end(callback: (err: Error) => void): void; +} + +export interface PoolClient extends ClientBase { + release(err?: Error): void; +} + export class Query extends events.EventEmitter { on(event: "row", listener: (row: any, result?: ResultBuilder) => void): this; on(event: "error", listener: (err: Error) => void): this; diff --git a/types/pg/pg-tests.ts b/types/pg/pg-tests.ts index 018145856a..b9b3f80d4e 100644 --- a/types/pg/pg-tests.ts +++ b/types/pg/pg-tests.ts @@ -133,6 +133,12 @@ pool.connect((err, client, done) => { }); }); +pool.connect().then(client => { + client.query({ text: 'SELECT $1::int AS number', values: ['1'], rowMode: 'array' }).then(result => { + console.log(result.rowCount, result.rows[0][0], result.fields[0].name); + }).then(() => client.release(), e => client.release(e)); +}); + pool.on('error', (err, client) => { console.error('idle client error', err.message, err.stack); }); From 7c0d23a048709e57e8aa84e110dc97023e874c17 Mon Sep 17 00:00:00 2001 From: Chris Reeves Date: Tue, 30 Jan 2018 04:59:15 -0500 Subject: [PATCH 032/463] [pg-query-stream] pooled clients don't end, they release --- types/pg-query-stream/pg-query-stream-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/pg-query-stream/pg-query-stream-tests.ts b/types/pg-query-stream/pg-query-stream-tests.ts index 1df78ea648..d59286a654 100644 --- a/types/pg-query-stream/pg-query-stream-tests.ts +++ b/types/pg-query-stream/pg-query-stream-tests.ts @@ -12,7 +12,7 @@ const pool = new pg.Pool(); pool.connect((err, client, done) => { const stream = client.query(query); stream.on('end', () => { - client.end(); + client.release(); }); stream.on('data', (data: any) => { console.log(data); From 4c4ba3cb577ff34c1f0c80d34eca7a012792511b Mon Sep 17 00:00:00 2001 From: dgo Date: Tue, 30 Jan 2018 15:54:40 +0100 Subject: [PATCH 033/463] @types/roslib: * Added definition for TFClient. * Added definition for Transform. * Added definition for Vector3. * Added definition for Quaternion. --- types/roslib/index.d.ts | 203 ++++++++++++++++++++++++++++++++++- types/roslib/roslib-tests.ts | 14 +++ 2 files changed, 214 insertions(+), 3 deletions(-) diff --git a/types/roslib/index.d.ts b/types/roslib/index.d.ts index fb5e886c66..6e479d0ff2 100644 --- a/types/roslib/index.d.ts +++ b/types/roslib/index.d.ts @@ -1,6 +1,8 @@ // Type definitions for roslib.js 0.18.2 // Project: http://wiki.ros.org/roslibjs -// Definitions by: Stefan Profanter , Cooper Benson +// Definitions by: Stefan Profanter , +// Cooper Benson , +// David Gonzalez // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -370,6 +372,201 @@ declare namespace ROSLIB { publish(message:Message):void; } + export class TFClient { + /** + * A TF Client that listens to TFs from tf2_web_republisher. + * + * @constructor + * @param options - object with following keys: + * * ros - the ROSLIB.Ros connection handle + * * fixedFrame - the fixed frame, like /base_link + * * angularThres - the angular threshold for the TF republisher + * * transThres - the translation threshold for the TF republisher + * * rate - the rate for the TF republisher + * * updateDelay - the time (in ms) to wait after a new subscription to update the TF republisher's list of TFs + * * topicTimeout - the timeout parameter for the TF republisher + * * serverName (optional) - the name of the tf2_web_republisher server + * * repubServiceName (optional) - the name of the republish_tfs service (non groovy compatibility mode only) default: '/republish_tfs' + */ + constructor(options: { + ros: Ros, + fixedFrame?: string; + angularThres?: number, + transThres?: number, + rate?: number, + updateDelay?: number, + topicTimeout?: number, + serverName?: string, + repubServiceName?: string + }); + + /** + * Unsubscribe and unadvertise all topics associated with this TFClient. + */ + dispose(): void; + + /** + * Process the service response and subscribe to the tf republisher topic. + * + * @param response - the service response containing the topic name + */ + processResponse(response: any): void; + + /** + * Process the incoming TF message and send them out using the callback functions + * @param tf - the TF message from the server + */ + processTfArray(tf: any): void; + + /** + * Subscribe to the given TF frame. + * @param frameId - the TF frame to subscribe to + * @param callback - function with params: + * * transform - the transform data + */ + subscribe(frameId: string, callback:(transform:Transform) => void): void; + + /** + * Unsubscribe from the given TF frame. + * + * @param frameId - the TF frame to unsubscribe from + * @param callback - the callback function to remove + */ + unsubscribe(frameId: string, callback?:(transform:Transform) => void): void; + + /** + * Create and send a new goal (or service request) to the tf2_web_republisher based on the current list of TFs. + */ + updateGoal(): void; + } + + export class Transform { + /** + * A Transform in 3-space. Values are copied into this object. + * + * @constructor + * @param options - object with following keys: + * * translation - the Vector3 describing the translation + * * rotation - the ROSLIB.Quaternion describing the rotation + */ + constructor(options: { + translation: Vector3, + rotation: Quaternion + }); + + // getters + public translation: Vector3; + public rotation: Quaternion; + /** + * Clone a copy of this transform. + * + */ + clone(): Transform; + } + + export class Vector3 { + /** + * A 3D vector. + * + * @constructor + * @param options - object with following keys: + * * x - the x value + * * y - the y value + * * z - the z value + */ + constructor(options: { + x: number, + y: number, + z: number + }); + + // getters + public x: number; + public y: number; + public z: number; + + /** + * Set the values of this vector to the sum of itself and the given vector. + * + * @param v - the vector to add with + */ + add(v: Vector3): void; + + /** + * Clone a copy of this vector. + */ + clone(): Vector3; + + /** + * Multiply the given Quaternion with this vector. + * @param q - the quaternion to multiply with + */ + multiplyQuaternion(q: Quaternion): void; + + /** + * Set the values of this vector to the difference of itself and the given vector. + * + * @param v - the vector to subtract with + */ + subtract(v: Vector3): void; + } + + export class Quaternion { + /** + * A Quaternion. + * + * @constructor + * @param options - object with following keys: + * * x - the x value + * * y - the y value + * * z - the z value + * * w - the w value + */ + constructor(options?: { + x: number, + y: number, + z: number, + w: number + }); + + // getters + public x: number; + public y: number; + public z: number; + public w: number; + + /** + * Clone a copy of this quaternion. + */ + clone(): Quaternion; + + /** + * Perform a conjugation on this quaternion. + */ + conjugate(): void; + + /** + * Convert this quaternion into its inverse. + */ + invert(): void; + + /** + * Set the values of this quaternion to the product of itself and the given quaternion. + * @param q - the quaternion to multiply with + */ + multiply(q: Quaternion): void; + + /** + * Return the norm of this quaternion. + */ + norm(): number; + + /** + * Perform a normalization on this quaternion. + */ + normalize(): void; + } + class ActionClient { /** * An actionlib action client. @@ -419,12 +616,12 @@ declare namespace ROSLIB { /** * Connect callback functions to goal based events - * + * * @param eventName Name of event ('timeout', 'status', 'feedback', 'result') * @param callback Callback function executed on connected event */ on(eventName:string, callback:(event:any) => void):void; - + /** * Send the goal to the action server. * diff --git a/types/roslib/roslib-tests.ts b/types/roslib/roslib-tests.ts index 36b505ea12..d86ce250eb 100644 --- a/types/roslib/roslib-tests.ts +++ b/types/roslib/roslib-tests.ts @@ -107,3 +107,17 @@ maxVelX.set(0.8); maxVelX.get(function (value) { console.log('MAX VAL: ' + value); }); + +// Creating a TF Client +// -------------------- +const tfClient = new ROSLIB.TFClient({ + ros: ros, + fixedFrame: '/world' +}) +const tfclient_callback = function (transform: ROSLIB.Transform) { + console.log('Received transform: ' + transform); + tfClient.unsubscribe('/transform'); +} + +tfClient.subscribe('/transform', tfclient_callback); +tfClient.unsubscribe('/transform', tfclient_callback); From 9526476d01730159e7bfe0187ebd2d5c300323b9 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Tue, 30 Jan 2018 07:33:19 -0800 Subject: [PATCH 034/463] Add RuleListener type --- types/eslint/index.d.ts | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index 5afa86d809..b4bb9e4e84 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -255,6 +255,43 @@ export interface RuleModule { meta?: RuleMetaData; } +export interface RuleListener { + onCodePathStart?(codePath: CodePath, node: ESTree.Node): void; + + onCodePathEnd?(codePath: CodePath, node: ESTree.Node): void; + + onCodePathSegmentStart?(segment: CodePathSegment, node: ESTree.Node): void; + + onCodePathSegmentEnd?(segment: CodePathSegment, node: ESTree.Node): void; + + onCodePathSegmentLoop?(fromSegment: CodePathSegment, toSegment: CodePathSegment, node: ESTree.Node): void; + + [key: string]: + | ((codePath: CodePath, node: ESTree.Node) => void) + | ((segment: CodePathSegment, node: ESTree.Node) => void) + | ((fromSegment: CodePathSegment, toSegment: CodePathSegment, node: ESTree.Node) => void) + | ((node: ESTree.Node) => void) + | undefined; +} + +export interface CodePath { + id: string; + initialSegment: CodePathSegment; + finalSegments: CodePathSegment[]; + returnedSegments: CodePathSegment[]; + thrownSegments: CodePathSegment[]; + currentSegments: CodePathSegment[]; + upper: CodePath | null; + childCodePaths: CodePath[]; +} + +export interface CodePathSegment { + id: string; + nextSegments: CodePathSegment[]; + prevSegments: CodePathSegment[]; + reachable: boolean; +} + export interface RuleMetaData { docs?: { description?: string; From 48378a71f6e7d5b93143f8b2268acdd38fd399d9 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Tue, 30 Jan 2018 07:35:58 -0800 Subject: [PATCH 035/463] Bump min typescript version for json-schema --- types/eslint/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index b4bb9e4e84..ee6b4eab0d 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -2,7 +2,7 @@ // Project: https://eslint.org // Definitions by: Pierre-Marie Dartus // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.1 +// TypeScript Version: 2.2 import { JSONSchema4 } from 'json-schema'; import * as ESTree from 'estree'; From b958945e8ae65874c3e2988ba008499edd5e26ab Mon Sep 17 00:00:00 2001 From: Moreton Bay RC Date: Wed, 31 Jan 2018 09:47:11 +1000 Subject: [PATCH 036/463] Utilise type parameter within Schema --- types/yup/index.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/types/yup/index.d.ts b/types/yup/index.d.ts index 3e6b6691b0..0332e0966d 100644 --- a/types/yup/index.d.ts +++ b/types/yup/index.d.ts @@ -34,12 +34,12 @@ export interface Schema { meta(): any; describe(): SchemaDescription; concat(schema: this): this; - validate(value: U, options?: ValidateOptions): Promise; - validateSync(value: U, options?: ValidateOptions): ValidationError|U; - isValid(value: any, options?: any): Promise; - isValidSync(value: any, options?: any): boolean; - cast(value: any, options?: any): any; - isType(value: any): boolean; + validate(value: T, options?: ValidateOptions): Promise; + validateSync(value: T, options?: ValidateOptions): ValidationError|T; + isValid(value: T, options?: any): Promise; + isValidSync(value: T, options?: any): boolean; + cast(value: any, options?: any): T; + isType(value: any): value is T; strict(isStrict: boolean): this; strip(strip: boolean): this; withMutation(fn: (current: this) => void): void; From 8ed0a49ffd495dacdaa3acea90034e0c2d5d1896 Mon Sep 17 00:00:00 2001 From: Moreton Bay RC Date: Wed, 31 Jan 2018 10:34:21 +1000 Subject: [PATCH 037/463] Add examples for schema tests --- types/yup/yup-tests.ts | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/types/yup/yup-tests.ts b/types/yup/yup-tests.ts index e23a6859ea..0fa05ac47d 100644 --- a/types/yup/yup-tests.ts +++ b/types/yup/yup-tests.ts @@ -261,3 +261,41 @@ setLocale({ number: { max: "Max message", min: "Min message" }, string: { email: "String message"} }); + +interface MyInterface { + stringField: string; + numberField: number; + subFields: SubInterface; +} + +interface SubInterface { + testField: string; +} + +const typedSchema = yup.object().shape({ + stringField: yup.string().required(), + numberField: yup.number().required(), + subFields: yup.object().shape({ + testField: yup.string().required(), + }).required(), +}); + +const testObject = { + stringField: "test1", + numberField: 123, + subFields: { + testField: "test2" + }, +}; + +typedSchema.validate(testObject); + +const untypedSchema = yup.object().shape({ + stringField: yup.string().required(), + numberField: yup.number().required(), + subFields: yup.object().shape({ + testField: yup.string().required(), + }).required(), +}); + +untypedSchema.validate(testObject); From 7c30dc8eff699e8e5b75a6f8a0b257c72d8f70be Mon Sep 17 00:00:00 2001 From: Moreton Bay RC Date: Wed, 31 Jan 2018 10:36:04 +1000 Subject: [PATCH 038/463] Fix type inference for arrays --- types/yup/index.d.ts | 8 ++++---- types/yup/yup-tests.ts | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/types/yup/index.d.ts b/types/yup/index.d.ts index 0332e0966d..844b1a1f8e 100644 --- a/types/yup/index.d.ts +++ b/types/yup/index.d.ts @@ -118,12 +118,12 @@ export interface DateSchema extends Schema { } export interface ArraySchemaConstructor { - (): ArraySchema; - new(): ArraySchema; + (): ArraySchema<{}>; + new(): ArraySchema<{}>; } export interface ArraySchema extends Schema { - of(type: Schema): ArraySchema; + of(type: Schema): ArraySchema; min(limit: number | Ref, message?: string): ArraySchema; max(limit: number | Ref, message?: string): ArraySchema; ensure(): ArraySchema; @@ -132,7 +132,7 @@ export interface ArraySchema extends Schema { export interface ObjectSchemaConstructor { (fields?: T): ObjectSchema; - new (): ObjectSchema; + new (): ObjectSchema<{}>; } export interface ObjectSchema extends Schema { diff --git a/types/yup/yup-tests.ts b/types/yup/yup-tests.ts index 0fa05ac47d..b1a4293915 100644 --- a/types/yup/yup-tests.ts +++ b/types/yup/yup-tests.ts @@ -266,6 +266,7 @@ interface MyInterface { stringField: string; numberField: number; subFields: SubInterface; + arrayField: string[]; } interface SubInterface { @@ -278,6 +279,7 @@ const typedSchema = yup.object().shape({ subFields: yup.object().shape({ testField: yup.string().required(), }).required(), + arrayField: yup.array().of(yup.string()).required(), }); const testObject = { @@ -286,6 +288,7 @@ const testObject = { subFields: { testField: "test2" }, + arrayField: ["hi"], }; typedSchema.validate(testObject); @@ -296,6 +299,7 @@ const untypedSchema = yup.object().shape({ subFields: yup.object().shape({ testField: yup.string().required(), }).required(), + arrayField: yup.array().of(yup.string()).required(), }); untypedSchema.validate(testObject); From 0a21b624ec9d0334a9282a6c91186c6136a1265f Mon Sep 17 00:00:00 2001 From: Moreton Bay RC Date: Wed, 31 Jan 2018 10:41:38 +1000 Subject: [PATCH 039/463] Fix ObjectSchema constructor --- types/yup/index.d.ts | 2 +- types/yup/yup-tests.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/types/yup/index.d.ts b/types/yup/index.d.ts index 844b1a1f8e..632e0875ee 100644 --- a/types/yup/index.d.ts +++ b/types/yup/index.d.ts @@ -131,7 +131,7 @@ export interface ArraySchema extends Schema { } export interface ObjectSchemaConstructor { - (fields?: T): ObjectSchema; + (fields?: { [field in keyof T]: Schema }): ObjectSchema; new (): ObjectSchema<{}>; } diff --git a/types/yup/yup-tests.ts b/types/yup/yup-tests.ts index b1a4293915..cc79e122ba 100644 --- a/types/yup/yup-tests.ts +++ b/types/yup/yup-tests.ts @@ -273,10 +273,10 @@ interface SubInterface { testField: string; } -const typedSchema = yup.object().shape({ +const typedSchema = yup.object({ stringField: yup.string().required(), numberField: yup.number().required(), - subFields: yup.object().shape({ + subFields: yup.object({ testField: yup.string().required(), }).required(), arrayField: yup.array().of(yup.string()).required(), From 6c364020bee9b166ba811f2cb58c89693854ef18 Mon Sep 17 00:00:00 2001 From: Moreton Bay RC Date: Wed, 31 Jan 2018 11:13:53 +1000 Subject: [PATCH 040/463] Allow schema in array constructor --- types/yup/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/yup/index.d.ts b/types/yup/index.d.ts index 632e0875ee..e6dc35c1ea 100644 --- a/types/yup/index.d.ts +++ b/types/yup/index.d.ts @@ -118,7 +118,7 @@ export interface DateSchema extends Schema { } export interface ArraySchemaConstructor { - (): ArraySchema<{}>; + (schema?: Schema): ArraySchema; new(): ArraySchema<{}>; } From 96271e61881bced1c5b6588621059591ace8c722 Mon Sep 17 00:00:00 2001 From: Moreton Bay RC Date: Wed, 31 Jan 2018 11:26:49 +1000 Subject: [PATCH 041/463] Add more assertions --- types/yup/yup-tests.ts | 54 ++++++++++++++++++++++++++++++++---------- 1 file changed, 42 insertions(+), 12 deletions(-) diff --git a/types/yup/yup-tests.ts b/types/yup/yup-tests.ts index cc79e122ba..9dd02ced73 100644 --- a/types/yup/yup-tests.ts +++ b/types/yup/yup-tests.ts @@ -158,7 +158,7 @@ yup.object().shape({ }); // String schema -const strSchema = yup.string(); +const strSchema = yup.string(); // $ExpectType StringSchema strSchema.isValid('hello'); // => true strSchema.required(); strSchema.min(5, 'message'); @@ -172,7 +172,7 @@ strSchema.lowercase(); strSchema.uppercase(); // Number schema -const numSchema = yup.number(); +const numSchema = yup.number(); // $ExpectType NumberSchema numSchema.isValid(10); // => true numSchema.min(5, 'message'); numSchema.max(5, 'message'); @@ -209,6 +209,10 @@ arrSchema.required(); arrSchema.ensure(); arrSchema.compact(value => value === null); +yup.array(); // $ExpectType ArraySchema<{}> +yup.array(yup.string()); // $ExpectType ArraySchema +yup.array().of(yup.string()); // $ExpectType ArraySchema + // Object Schema const objSchema = yup.object().shape({ name: yup.string().required(), @@ -273,16 +277,17 @@ interface SubInterface { testField: string; } +// $ExpectType ObjectSchema const typedSchema = yup.object({ - stringField: yup.string().required(), - numberField: yup.number().required(), + stringField: yup.string().required(), // $ExpectType StringSchema + numberField: yup.number().required(), // $ExpectType NumberSchema subFields: yup.object({ testField: yup.string().required(), }).required(), - arrayField: yup.array().of(yup.string()).required(), + arrayField: yup.array(yup.string()).required(), // $ExpectType ArraySchema }); -const testObject = { +const testObject: MyInterface = { stringField: "test1", numberField: 123, subFields: { @@ -291,15 +296,40 @@ const testObject = { arrayField: ["hi"], }; -typedSchema.validate(testObject); +typedSchema.validateSync(testObject); // $ExpectType ValidationError | MyInterface -const untypedSchema = yup.object().shape({ +// $ExpectError +yup.object({ stringField: yup.string().required(), - numberField: yup.number().required(), - subFields: yup.object().shape({ + subFields: yup.object({ testField: yup.string().required(), }).required(), - arrayField: yup.array().of(yup.string()).required(), + arrayField: yup.array(yup.string()).required(), }); -untypedSchema.validate(testObject); +// $ExpectError +yup.object({ + stringField: yup.number().required(), + numberField: yup.number().required(), + subFields: yup.object({ + testField: yup.string().required(), + }).required(), + arrayField: yup.array(yup.string()).required(), +}); + +// $ExpectError +yup.object({ + stringField: yup.string().required(), + numberField: yup.number().required(), + arrayField: yup.array(yup.string()).required(), +}); + +// $ExpectError +yup.object({ + stringField: yup.string().required(), + numberField: yup.number().required(), + subFields: yup.object({ + testField: yup.number().required(), + }).required(), + arrayField: yup.array(yup.string()).required(), +}); From acb7a9a4360217ad3fc9bcd5cc27027c1d127516 Mon Sep 17 00:00:00 2001 From: Jefff Nelson Date: Tue, 30 Jan 2018 18:26:43 -0800 Subject: [PATCH 042/463] Add filters to ldapjs --- types/ldapjs/index.d.ts | 45 ++++++++++++++++- types/ldapjs/ldapjs-tests.ts | 97 ++++++++++++++++++++++++++++++++---- 2 files changed, 131 insertions(+), 11 deletions(-) diff --git a/types/ldapjs/index.d.ts b/types/ldapjs/index.d.ts index 8034add042..b2444ae232 100644 --- a/types/ldapjs/index.d.ts +++ b/types/ldapjs/index.d.ts @@ -52,7 +52,7 @@ export interface ClientOptions { export interface SearchOptions { scope?: string; - filter?: string; + filter?: string | Filter; attributes?: string[]; sizeLimit?: number; timeLimit?: number; @@ -238,3 +238,46 @@ export interface Client extends EventEmitter { } export function createClient(options?: ClientOptions): Client; + +declare class Filter { + matches(obj: any): boolean; + type: string; +} + +export function parseFilter(filterString: string): Filter; + +export class EqualityFilter extends Filter { + constructor(options: { attribute: string, value: string }) +} + +export class PresenceFilter extends Filter { + constructor(options: { attribute: string }) +} + +export class SubstringFilter extends Filter { + constructor(options: { attribute: string, initial: string, any?: string[], final?: string }) +} + +export class GreaterThanEqualsFilter extends Filter { + constructor(options: { attribute: string, value: string }) +} + +export class LessThanEqualsFilter extends Filter { + constructor(options: { attribute: string, value: string }) +} + +export class AndFilter extends Filter { + constructor(options: { filters: Filter[] }) +} + +export class OrFilter extends Filter { + constructor(options: { filters: Filter[] }) +} + +export class NotFilter extends Filter { + constructor(options: { filter: Filter }) +} + +export class ApproximateFilter extends Filter { + constructor(options: { attribute: string, value: string }) +} diff --git a/types/ldapjs/ldapjs-tests.ts b/types/ldapjs/ldapjs-tests.ts index ec106fd29a..51a0edbd77 100644 --- a/types/ldapjs/ldapjs-tests.ts +++ b/types/ldapjs/ldapjs-tests.ts @@ -2,7 +2,7 @@ import ldap = require("ldapjs"); let client = ldap.createClient({ - url: 'ldap://127.0.0.1:1389' + url: 'ldap://127.0.0.1:1389' }); client.bind('cn=root', 'secret', (err: Error): void => { @@ -10,9 +10,9 @@ client.bind('cn=root', 'secret', (err: Error): void => { }); let opts: ldap.SearchOptions = { - filter: '(&(l=Seattle)(email=*@foo.com))', - scope: 'sub', - attributes: ['dn', 'sn', 'cn'] + filter: '(&(l=Seattle)(email=*@foo.com))', + scope: 'sub', + attributes: ['dn', 'sn', 'cn'] }; client.search('o=example', opts, (err: Error, res: NodeJS.EventEmitter): void => { @@ -20,12 +20,89 @@ client.search('o=example', opts, (err: Error, res: NodeJS.EventEmitter): void => }); let change = new ldap.Change({ - operation: 'add', - modification: { - pets: ['cat', 'dog'] - } + operation: 'add', + modification: { + pets: ['cat', 'dog'] + } }); -client.modify('cn=foo, o=example', change, function(err) { - // nothing +client.modify('cn=foo, o=example', change, function (err) { + // nothing }); + + +let f = ldap.parseFilter('(objectclass=*)'); +f.matches({}); + +let equalityFilter = new ldap.EqualityFilter({ + attribute: 'cn', + value: 'foo' +}); +equalityFilter.matches({ cn: 'foo' }); + +let presenceFilter = new ldap.PresenceFilter({ + attribute: 'cn' +}); +presenceFilter.matches({ cn: 'foo' }); + +let substringFilter = new ldap.SubstringFilter({ + attribute: 'cn', + initial: 'foo', + any: ['bar'], + final: 'baz' +}); +substringFilter.matches({ cn: 'foobigbardogbaz' }); + +let greaterThanEqualsFilter = new ldap.GreaterThanEqualsFilter({ + attribute: 'cn', + value: 'foo', +}); +greaterThanEqualsFilter.matches({ cn: 'foobar' }); + +let lessThanEqualsFilter = new ldap.LessThanEqualsFilter({ + attribute: 'cn', + value: 'foo', +}); +lessThanEqualsFilter.matches({ cn: 'abc' }); + +let andFilter = new ldap.AndFilter({ + filters: [ + new ldap.EqualityFilter({ + attribute: 'cn', + value: 'foo' + }), + new ldap.EqualityFilter({ + attribute: 'sn', + value: 'bar' + }) + ] +}); +andFilter.matches({ cn: 'foo', sn: 'bar' }); + +let orFilter = new ldap.OrFilter({ + filters: [ + new ldap.EqualityFilter({ + attribute: 'cn', + value: 'foo' + }), + new ldap.EqualityFilter({ + attribute: 'sn', + value: 'bar' + }) + ] +}); +orFilter.matches({ cn: 'foo', sn: 'baz' }); + +let notFilter = new ldap.NotFilter({ + filter: new ldap.EqualityFilter({ + attribute: 'cn', + value: 'foo' + }) +}); +notFilter.matches({ cn: 'bar' }); + +let approximateFilter = new ldap.ApproximateFilter({ + attribute: 'cn', + value: 'foo' +}); +approximateFilter.matches({ cn: 'foo' }); From 9b5b28fdd41be42ef41d7811ce6a456fe5d6e2c6 Mon Sep 17 00:00:00 2001 From: Alberto Vasquez Date: Tue, 30 Jan 2018 22:46:16 -0500 Subject: [PATCH 043/463] [config] Adding type definition for toObject Adding type definition toObject(config?: any): any; --- types/config/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/config/index.d.ts b/types/config/index.d.ts index ea5e5a940a..a18e765012 100644 --- a/types/config/index.d.ts +++ b/types/config/index.d.ts @@ -3,6 +3,7 @@ // Definitions by: Roman Korneev // Forrest Bice // James Donald +// Alberto Vasquez // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -39,6 +40,9 @@ declare namespace c { // Return the sources for the configurations getConfigSources(): IConfigSource[]; + + // Returns a new deep copy of the current config object, or any part of the config if provided. + toObject(config?: any): any; /** * This allows module developers to attach their configurations onto From 94144ad358e5a5aa0d71fcb9e50de4a255ce518e Mon Sep 17 00:00:00 2001 From: LeoTindall Date: Tue, 30 Jan 2018 23:47:25 -0600 Subject: [PATCH 044/463] [react-bootstrap] Fix ToggleButtonGroup onChange The signature of onChange was incorrect (did not match the docs); closes #21840 --- types/react-bootstrap/lib/ToggleButtonGroup.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/types/react-bootstrap/lib/ToggleButtonGroup.d.ts b/types/react-bootstrap/lib/ToggleButtonGroup.d.ts index bca9544d70..27be6b95a9 100644 --- a/types/react-bootstrap/lib/ToggleButtonGroup.d.ts +++ b/types/react-bootstrap/lib/ToggleButtonGroup.d.ts @@ -19,16 +19,19 @@ declare namespace ToggleButtonGroup { /** Required if `type` is set to "radio" */ name: string; type: "radio"; + onChange?(value: any): void; } interface CheckboxProps { name?: string; type: "checkbox"; + onChange?(values: any[]): void; } export type ToggleButtonGroupProps = BaseProps & (RadioProps | CheckboxProps) - & Omit, "defaultValue" | "type" | "value">; + & Omit, "defaultValue" | "type" | "value"> + & Omit, "defaultValue" | "type" | "value" | "onChange">; } declare class ToggleButtonGroup extends React.Component { } From 211e27a68e7d7666810d37a1290bc7c375c3708e Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Tue, 30 Jan 2018 21:53:07 -0800 Subject: [PATCH 045/463] Make type consistent --- types/eslint/eslint-tests.ts | 4 +-- types/eslint/index.d.ts | 58 +++++++++++++++++++++++++----------- 2 files changed, 42 insertions(+), 20 deletions(-) diff --git a/types/eslint/eslint-tests.ts b/types/eslint/eslint-tests.ts index 2d4a4347d9..a1c4ddbbc8 100644 --- a/types/eslint/eslint-tests.ts +++ b/types/eslint/eslint-tests.ts @@ -1,4 +1,4 @@ -import { SourceCode, Linter, CLIEngine, RuleTester } from 'eslint'; +import { SourceCode, Linter, CLIEngine, RuleTester, Ast } from 'eslint'; // ============================================= // SourceCode @@ -6,7 +6,7 @@ import { SourceCode, Linter, CLIEngine, RuleTester } from 'eslint'; const SOURCE = `var foo = bar;`; -const ast = { comments: [], tokens: [], loc: {}, range: [] }; +const ast: Ast = { comments: [], tokens: [], loc: { start: { line: 0, column: 0 }, end: { line: 0, column: 10 } }, range: [0, 17] }; const sourceCode = new SourceCode(SOURCE, ast); const text: string = sourceCode.getText(); diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index ee6b4eab0d..5ad0f7df8d 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -7,13 +7,42 @@ import { JSONSchema4 } from 'json-schema'; import * as ESTree from 'estree'; -export type Token = any; +export type TokenType = + | 'Boolean' + | 'Null' + | 'Identifier' + | 'Keyword' + | 'Punctuator' + | 'JSXIdentifier' + | 'JSXText' + | 'Numeric' + | 'String' + | 'RegularExpression'; + +export interface Token { + type: TokenType; + value: string; + range: Range; + loc: SourceLocation; +} + +export interface SourceLocation { + start: Location; + end: Location; +} + +export interface Location { + line: number; + column: number; +} + +export type Range = [number, number]; export interface Ast { comments: ESTree.Comment[]; - tokens: any[]; - loc: any; - range: any[]; + tokens: Token[]; + loc: SourceLocation; + range: Range; } export type FilterPredicate = (tokenOrComment: Token | ESTree.Comment) => boolean; @@ -79,11 +108,6 @@ export interface SourceCodeConfig { visitorKeys?: VisitorKeys; } -export interface Location { - line: number; - column: number; -} - export type ParserServices = any; export interface ScopeManager { @@ -92,7 +116,7 @@ export interface ScopeManager { acquire(node: ESTree.Node, inner?: boolean): Scope | null; - getDeclaredVariables(node: ESTree.Node): any[]; + getDeclaredVariables(node: ESTree.Node): Variable[]; } export interface Scope { @@ -237,8 +261,6 @@ export interface FixOptions extends LintOptions { fix?: boolean; } -export type Range = [number, number]; - export interface Fix { range: Range; text: string; @@ -311,15 +333,15 @@ export interface RuleContext { settings: { [name: string]: any }; parserPath: string; parserOptions: ParserOptions; - parserServices: any; + parserServices: ParserServices; getAncestors(): ESTree.Node[]; - getDeclaredVariables(node: ESTree.Node): any[]; + getDeclaredVariables(node: ESTree.Node): Variable[]; getFilename(): string; - getScope(): any; + getScope(): Scope; getSourceCode(): SourceCode; @@ -330,7 +352,7 @@ export interface RuleContext { export type ReportDescriptor = ReportDescriptorMessage & ReportDescriptorLocation & ReportDescriptorOptions; export type ReportDescriptorMessage = { message: string } | { messageId: string }; -export type ReportDescriptorLocation = { node: ESTree.Node } | { loc: { start: Location, end: Location } | { line: number, column: number } }; +export type ReportDescriptorLocation = { node: ESTree.Node } | { loc: SourceLocation | { line: number, column: number } }; export interface ReportDescriptorOptions { data?: { [key: string]: string }; @@ -363,8 +385,8 @@ export type ParserModule = { export interface ESLintParseResult { ast: ESTree.Node; - parserServices?: any; - scopeManager?: any; + parserServices?: ParserServices; + scopeManager?: ScopeManager; visitorKeys?: VisitorKeys; } From 581167305d724a2ca4e2bb2e40a91e4511b09805 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Tue, 30 Jan 2018 21:55:15 -0800 Subject: [PATCH 046/463] Add @j-f1 to the definition author list --- types/eslint/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index 5ad0f7df8d..d6326c4ad5 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for eslint 4.16 // Project: https://eslint.org // Definitions by: Pierre-Marie Dartus +// Jed Fox // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 From bd86d57a18c9c6377b3e112b512fd19bc3972651 Mon Sep 17 00:00:00 2001 From: Fabio Silva Date: Wed, 31 Jan 2018 11:49:34 +0000 Subject: [PATCH 047/463] allow data-driven expressions on Mapbox GL's icon-image --- types/mapbox-gl/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/mapbox-gl/index.d.ts b/types/mapbox-gl/index.d.ts index 47f62556c3..3cd759b2d0 100644 --- a/types/mapbox-gl/index.d.ts +++ b/types/mapbox-gl/index.d.ts @@ -1031,7 +1031,7 @@ declare namespace mapboxgl { 'icon-size'?: number | StyleFunction | Expression; 'icon-text-fit'?: 'none' | 'both' | 'width' | 'height'; 'icon-text-fit-padding'?: number[] | Expression; - 'icon-image'?: string | StyleFunction; + 'icon-image'?: string | StyleFunction | Expression; 'icon-rotate'?: number | StyleFunction | Expression; 'icon-padding'?: number | Expression; 'icon-keep-upright'?: boolean; From 081d8459b3ed40aa37117c861f277c6bc0b4c54d Mon Sep 17 00:00:00 2001 From: TitaneBoy Date: Wed, 31 Jan 2018 10:36:44 -0500 Subject: [PATCH 048/463] Fix parameter type issue for 'error' event --- types/ws/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/ws/index.d.ts b/types/ws/index.d.ts index 2a52883365..303dcc3875 100644 --- a/types/ws/index.d.ts +++ b/types/ws/index.d.ts @@ -68,7 +68,7 @@ declare class WebSocket extends events.EventEmitter { // Events on(event: 'close', listener: (code: number, reason: string) => void): this; - on(event: 'error', listener: (event: {error: any, message: any, type: string, target: WebSocket }) => void): this; + on(event: 'error', listener: (err: Error) => void): this; on(event: 'upgrade', listener: (request: http.IncomingMessage) => void): this; on(event: 'message', listener: (data: WebSocket.Data) => void): this; on(event: 'open' , listener: () => void): this; From 980f3e6d5171fac32287ed3c8d433531a91bd3a4 Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Wed, 31 Jan 2018 17:49:44 +0200 Subject: [PATCH 049/463] Initial commit --- .../activex-faxcomexlib-tests.ts | 731 ++++++ types/activex-faxcomexlib/index.d.ts | 2031 +++++++++++++++++ types/activex-faxcomexlib/package.json | 6 + types/activex-faxcomexlib/tsconfig.json | 21 + types/activex-faxcomexlib/tslint.json | 6 + 5 files changed, 2795 insertions(+) create mode 100644 types/activex-faxcomexlib/activex-faxcomexlib-tests.ts create mode 100644 types/activex-faxcomexlib/index.d.ts create mode 100644 types/activex-faxcomexlib/package.json create mode 100644 types/activex-faxcomexlib/tsconfig.json create mode 100644 types/activex-faxcomexlib/tslint.json diff --git a/types/activex-faxcomexlib/activex-faxcomexlib-tests.ts b/types/activex-faxcomexlib/activex-faxcomexlib-tests.ts new file mode 100644 index 0000000000..38a591f771 --- /dev/null +++ b/types/activex-faxcomexlib/activex-faxcomexlib-tests.ts @@ -0,0 +1,731 @@ +/// + +const collectionToArray = (col: { Item(index: any): T } | SafeArray) => { + const results: T[] = []; + const enumerator = new Enumerator(col); + enumerator.moveFirst(); + while (!enumerator.atEnd()) { + results.push(enumerator.item()); + enumerator.moveNext(); + } + return results; +}; + +const toSafeArray = (...items: T[]): SafeArray => { + const dict = new ActiveXObject('Scripting.Dictionary'); + items.forEach((x, index) => dict.Add(index, x)); + return dict.Items() as SafeArray; +}; + +const VB = { + InputBox: (prompt: string): string => '' +}; + +const getServer = () => { + const server = new ActiveXObject('FaxComEx.FaxServer'); + server.Connect(''); + return server; +}; + +(() => { + // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693376(v=vs.85).aspx + const server = new ActiveXObject('FaxComEx.FaxServer'); + const document = new ActiveXObject('FaxComEx.FaxDocument'); + + // https://msdn.microsoft.com/en-us/library/windows/desktop/ms692919(v=vs.85).aspx + server.Connect(''); + server.Connect('computername'); +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms693502(v=vs.85).aspx +(() => { + let device: FAXCOMEXLib.FaxDevice; + + const init = () => { + device = getServer().GetDevices().ItemById(1); + device.ReceiveMode = FAXCOMEXLib.FAX_DEVICE_RECEIVE_MODE_ENUM.fdrmAUTO_ANSWER; + device.RingsBeforeAnswer = 5; + device.SendEnabled = true; + }; + + // saving configuration + init(); + device!.Save(); + + // abandoning changes to configuration, using the Refresh method + init(); + device!.Refresh(); +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms693502(v=vs.85).aspx +(() => { + const incomingJob = getServer().Folders.IncomingQueue.GetJobs().Item(1); + incomingJob.Refresh(); + const currentPage = incomingJob.CurrentPage; +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms692922(v=vs.85).aspx +(() => { + const server = getServer(); + + WScript.Echo(`Server information: +API Version: ${server.APIVersion} +Debug: ${server.Debug} +Build and version: ${server.MajorBuild}.${server.MinorBuild}.${server.MajorVersion}.${server.MinorVersion} +Server name: ${server.ServerName}`); +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms693455(v=vs.85).aspx +(() => { + const activity = getServer().Activity; + activity.Refresh(); + + WScript.Echo(` +${activity.IncomingMessages} incoming messages +${activity.OutgoingMessages} outgoing messages +${activity.RoutingMessages} routing messages +${activity.QueuedMessages} queued messages`); +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms693400(v=vs.85).aspx +(() => { + const device = getServer().GetDevices().Item(1); + device.CSID = 'Accounts payable'; + device.Description = 'Primary fax device'; + device.ReceiveMode = FAXCOMEXLib.FAX_DEVICE_RECEIVE_MODE_ENUM.fdrmAUTO_ANSWER; + device.RingsBeforeAnswer = 5; + device.SendEnabled = true; + device.TSID = 'Accounts payable'; + device.Save(); +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms692985(v=vs.85).aspx +(() => { + const devices = getServer().GetDevices(); + WScript.Echo(`This server has ${devices.Count} fax devices`); + for (let i = 1; i <= devices.Count; i++) { + WScript.Echo(`Device ID for device number ${i} is ${devices.Item(i).Id}`); + } + + collectionToArray(devices).forEach(device => { + device.Refresh(); + WScript.Echo(` +Device name: ${device.DeviceName} +Provider unique name: ${device.ProviderUniqueName} +Powered off: ${device.PoweredOff} +Receiving now: ${device.ReceivingNow} +Ringing now: ${device.RingingNow} +Sending now: ${device.SendingNow}`); + + const routingMethods = new VBArray(device.UsedRoutingMethods).toArray(); + routingMethods.forEach((guid, index) => { + WScript.Echo(`Method number ${index} = ${guid}`); + }); + + device.UseRoutingMethod(routingMethods[0], false); + device.Save(); + }); +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms693486(v=vs.85).aspx +(() => { + const outputRuleInfo = (rule: FAXCOMEXLib.FaxOutboundRoutingRule, index?: number) => { + WScript.Echo(` +Outbound routing rule number: ${index || 'unknown'} +Area code: ${rule.AreaCode} +Country/region code: ${rule.CountryCode} +Device ID: ${rule.DeviceId} +Group name: ${rule.GroupName} +Status: ${rule.Status} +Is device used: ${rule.UseDevice}` + .trim()); + }; + + const server = getServer(); + const device = server.GetDevices().Item(1); + const id = device.Id; + const rules = server.OutboundRouting.GetRules(); + const outboundRoutingRules = server.OutboundRouting.GetRules(); + WScript.Echo(`There are ${outboundRoutingRules.Count} outbound routing rules on this server.`); + + collectionToArray(outboundRoutingRules).forEach((rule, index) => { + rule.Refresh(); + outputRuleInfo(rule, index); + + if (!rule.UseDevice) { return; } + if (VB.InputBox('Do you want to change the device for this rule (Y/N)?') === 'Y') { + const newDeviceID = parseInt(VB.InputBox('Enter new device ID'), 10); + rule.DeviceId = newDeviceID; + rule.Save(); + } + }); + + const msg = ` +Do you want to: +1) display an item based on its country/region and area code, +2) remove an item based on its country/region and area code, +3) remove an item based on its item number, or +4) add a rule? +Input 1, 2, 3, 4, or 0 to exit +`.trim(); + const result = parseInt(VB.InputBox(msg), 10); + let countryCode: number; + let areaCode: number; + let itemNumber: number; + let rule: FAXCOMEXLib.FaxOutboundRoutingRule; + switch (result) { + case 1: + countryCode = parseInt(VB.InputBox('Enter the country/region code'), 10); + areaCode = parseInt(VB.InputBox('Enter the area code'), 10); + rule = outboundRoutingRules.ItemByCountryAndArea(countryCode, areaCode); + outputRuleInfo(rule); + break; + case 2: + countryCode = parseInt(VB.InputBox('Enter the country/region code'), 10); + areaCode = parseInt(VB.InputBox('Enter the area code'), 10); + outboundRoutingRules.RemoveByCountryAndArea(countryCode, areaCode); + break; + case 3: + itemNumber = parseInt(VB.InputBox('Enter the item number'), 10); + outboundRoutingRules.Remove(itemNumber); + break; + case 4: + countryCode = parseInt(VB.InputBox('Enter the country/region code'), 10); + areaCode = parseInt(VB.InputBox('Enter the area code'), 10); + rule = outboundRoutingRules.Add(countryCode, areaCode, true, '', id); + break; + default: + return; + } +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms693408(v=vs.85).aspx +(() => { + const server = getServer(); + const outboundRouting = server.OutboundRouting; + const outboundRoutingGroups = outboundRouting.GetGroups(); + const groupName = VB.InputBox('Provide a name for the outbound routing group'); + const outboundRoutingGroup = outboundRoutingGroups.Add(groupName); + const devices = collectionToArray(server.GetDevices()); + + // add the devices to the routing group + devices.forEach(device => outboundRoutingGroup.DeviceIds.Add(device.Id)); + // move the last device to the top of the order + outboundRoutingGroup.DeviceIds.SetOrder(devices[devices.length - 1].Id, 1); + + // display the number of devices, and the device ID of the first device,to confirm its location in the order + const msg = ` +Number of devices: ${outboundRoutingGroup.DeviceIds.Count} +ID of first device: ${outboundRoutingGroup.DeviceIds.Item(1)} +`.trim(); + WScript.Echo(msg); + + // remove the first device + outboundRoutingGroup.DeviceIds.Remove(1); + + WScript.Echo(`There are now ${outboundRoutingGroups.Count} routing groups on the server`); + + collectionToArray(outboundRoutingGroups).forEach((routingGroup, index) => { + const msg = ` +Routing group number: ${index} +Outbound routing group name: ${routingGroup.Name} +Device status: ${routingGroup.Status} +`.trim(); + }); + + // allow user to remove a routing group + if (VB.InputBox('Do you want to remove a routing group (Y/N)?') === 'N') { return; } + const itemNumber = VB.InputBox('Enter the item number for the group you want to remove'); + outboundRoutingGroups.Remove(itemNumber); +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/aa964960(v=vs.85).aspx +(() => { + const accountSet = getServer().FaxAccountSet; + const accounts = collectionToArray(accountSet.GetAccounts()); + WScript.Echo(`Number of accounts: ${accounts.length}`); + accounts.forEach(account => WScript.Echo(account.AccountName)); + + const accountName = VB.InputBox('Enter an account name'); + accountSet.AddAccount(accountName); + accountSet.RemoveAccount(accountName); +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms692952(v=vs.85).aspx +(() => { + const incomingJobs = collectionToArray(getServer().Folders.IncomingQueue.GetJobs()); + WScript.Echo(`There are ${incomingJobs.length} jobs in the incoming queue.`); + const n = parseInt(VB.InputBox('Input the number of a job for which you want information'), 10); + const job = incomingJobs[n - 1]; + WScript.Echo(` +Available operations: ${job.AvailableOperations} +Caller ID: ${job.CallerId} +CSID: ${job.CSID} +Current page: ${job.CurrentPage} +Device ID: ${job.DeviceId} +Extended status: ${job.ExtendedStatus} +Extended status code: ${job.ExtendedStatusCode} +Job ID: ${job.Id} +Job type: ${job.JobType} +Retries: ${job.Retries} +Routing information: ${job.RoutingInformation} +Size: ${job.Size} +Status: ${job.Status} +Transmission start: ${new Date(job.TransmissionStart)} +Transmission end: ${new Date(job.TransmissionEnd)} +TSID: ${job.TSID} +`.trim()); + + if (VB.InputBox('Cancel this fax (Y/N)?') === 'Y') { + job.Cancel(); + } + + if (VB.InputBox('Open this fax (Y/N)?') === 'Y') { + const fileName = VB.InputBox('Enter path to save'); + job.CopyTiff(fileName); + new ActiveXObject('WScript.Shell').Run(fileName); + } +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms692914(v=vs.85).aspx +(() => { + const server = new ActiveXObject('FaxComEx.FaxServer'); + server.Connect(''); + const outgoingQueue = server.Folders.OutgoingQueue; + outgoingQueue.AgeLimit = 2; + outgoingQueue.AllowPersonalCoverPages = true; + outgoingQueue.Blocked = false; + outgoingQueue.Paused = false; + outgoingQueue.Branding = true; + outgoingQueue.DiscountRateStart = new Date(0, 0, 0, 0).getVarDate(); + outgoingQueue.DiscountRateStart = new Date(0, 0, 0, 1).getVarDate(); + outgoingQueue.UseDeviceTSID = true; + outgoingQueue.Save(); +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms693393(v=vs.85).aspx +(() => { + const outgoingQueue = getServer().Folders.OutgoingQueue; + outgoingQueue.Refresh(); + WScript.Echo(`There are ${outgoingQueue.GetJobs().Count} faxes in the outgoing queue`); + const inputResult = VB.InputBox('Which fax should be displayed (item number or job name)?'); + const itemNumber = parseInt(inputResult, 10); + const job = + isNaN(itemNumber) ? + outgoingQueue.GetJob(inputResult) : + outgoingQueue.GetJobs().Item(itemNumber); + + WScript.Echo(` +Available operations: ${job.AvailableOperations} +Broadcast receipts grouped? ${job.GroupBroadcastReceipts} +CSID: ${job.CSID} +Current page: ${job.CurrentPage} +Device ID: ${job.DeviceId} +Document name: ${job.DocumentName} +Extended status: ${job.ExtendedStatus} +Extended status code: ${job.ExtendedStatusCode} +Job ID: ${job.Id} +Original scheduled time: ${new Date(job.OriginalScheduledTime)} +Pages: ${job.Pages} +Priority: ${job.Priority} +Receipt type: ${job.ReceiptType} +`.trim()); + + const fileName = VB.InputBox('Enter path to save'); + job.CopyTiff(fileName); + new ActiveXObject('WScript.Shell').Run(fileName); + + const answer = VB.InputBox(` +Do you want to: +(C) cancel +(P) pause +(R) restart +(E) resume +the job? +`.trim()); + + switch (answer) { + case 'C': + job.Cancel(); + break; + case 'P': + job.Pause(); + break; + case 'R': + job.Restart(); + break; + case 'E': + job.Resume(); + break; + } +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms692936(v=vs.85).aspx +(() => { + const document = new ActiveXObject('FaxComEx.FaxDocument'); + document.Body = 'C:\\docs\\body.txt'; + document.DocumentName = 'My First Fax'; + document.Priority = FAXCOMEXLib.FAX_PRIORITY_TYPE_ENUM.fptHIGH; + document.Recipients.Add('12225550100', 'Bud'); + document.AttachFaxToReceipt = true; + document.CoverPageType = FAXCOMEXLib.FAX_COVERPAGE_TYPE_ENUM.fcptSERVER; + document.Note = 'Here is the info you requested'; + document.ReceiptAddress = 'someone@example.com'; + document.ReceiptType = FAXCOMEXLib.FAX_RECEIPT_TYPE_ENUM.frtMAIL; + document.ScheduleType = FAXCOMEXLib.FAX_SCHEDULE_TYPE_ENUM.fstSPECIFIC_TIME; + document.ScheduleTime = new Date(0, 0, 0, 16, 35, 47).getVarDate(); + document.Subject = 'Today\'s fax'; + + // set sender properties + const sender = document.Sender; + sender.Title = 'Mr.'; + sender.Name = 'Bob'; + sender.City = 'Cleveland Heights'; + sender.State = 'Ohio'; + sender.Company = 'Microsoft'; + sender.Country = 'USA'; + sender.Email = 'someone@microsoft.com'; + sender.FaxNumber = '12165555554'; + sender.HomePhone = '12165555555'; + sender.OfficeLocation = 'Downtown'; + sender.OfficePhone = '12165555553'; + sender.StreetAddress = '123 Main Street'; + sender.TSID = 'Office fax machine'; + sender.ZipCode = '44118'; + sender.BillingCode = '23A54'; + sender.Department = 'Accts Payable'; + sender.SaveDefaultSender(); + + const server = getServer(); + + const jobID = document.ConnectedSubmit(server); + WScript.Echo(`The job ID is ${jobID}`); + + server.Disconnect(); +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms693479(v=vs.85).aspx +(() => { + const document = new ActiveXObject('FaxComEx.FaxDocument'); + document.Body = 'C:\\docs\\body.txt'; + document.DocumentName = 'My First Fax'; + + const recipients = document.Recipients; + recipients.Add('12225550105', 'H'); + recipients.Add('12225550104', 'N'); + recipients.Add('12225550103', 'G'); + + WScript.Echo(`Number of recipients: ${recipients.Count}`); + collectionToArray(recipients).forEach((recipient, index) => + WScript.Echo(`Recipient number ${index}: ${recipient.Name}, ${recipient.FaxNumber}`) + ); + + document.Sender.LoadDefaultSender(); + document.GroupBroadcastReceipts = true; + + const jobIDs = document.Submit(''); + collectionToArray(jobIDs).forEach(jobID => WScript.Echo(`The job ID is ${jobID}`)); + + while (recipients.Count > 0) { + recipients.Remove(1); + } +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/aa964962(v=vs.85).aspx +(() => { + const server = getServer(); + const prefetchCount = parseInt(VB.InputBox('How many messages should be prefetched?'), 10); + server.CurrentAccount.Folders.IncomingArchive.Refresh(); + const messageIterator = server.Folders.IncomingArchive.GetMessages(prefetchCount); + messageIterator.MoveFirst(); + for (let i = 1; i <= prefetchCount; i++) { + if (i > 1 && VB.InputBox('View next message? (Y/N)') !== 'Y') { break; } + const message = messageIterator.Message as FAXCOMEXLib.FaxIncomingMessage; + if (messageIterator.AtEOF) { + WScript.Echo(`End of file reached`); + return; + } + if (!message.WasReAssigned) { + if (VB.InputBox('Message not reassigned. Reassign (Y/N)?') === 'Y') { + message.Subject = 'Reassigning message'; + message.SenderName = 'Test user'; + message.Recipients = VB.InputBox('Enter username, e.g. Domain\\UserName'); + message.SenderFaxNumber = '1234'; + message.ReAssign(); + } + } + messageIterator.MoveNext(); + } +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms693402(v=vs.85).aspx +(() => { + const server = getServer(); + const prefetchCount = parseInt(VB.InputBox('How many messages should be prefetched?'), 10); + server.Folders.OutgoingArchive.Refresh(); + const messageIterator = server.Folders.OutgoingArchive.GetMessages(prefetchCount); + messageIterator.MoveFirst(); + for (let i = 1; i <= prefetchCount; i++) { + if (i > 1 && VB.InputBox('View next message? (Y/N)') !== 'Y') { break; } + if (messageIterator.AtEOF) { + WScript.Echo(`End of file reached`); + return; + } + const message = messageIterator.Message as FAXCOMEXLib.FaxOutgoingMessage; + + const fileName = VB.InputBox('Enter path to save'); + message.CopyTiff(fileName); + new ActiveXObject('WScript.Shell').Run(fileName); + + WScript.Echo(`Message information: +CSID: ${message.CSID} +Device name: ${message.DeviceName} +Document name: ${message.DocumentName} +Message ID: ${message.Id} +Original scheduled time: ${new Date(message.OriginalScheduledTime)} +Pages: ${message.Pages} +Recipient fax number: ${message.Recipient.FaxNumber} +Retries: ${message.Retries} +Sender name: ${message.Sender.Name} +Size: ${message.Size} +Subject: ${message.Subject} +Submission ID: ${message.SubmissionId} +Submission time: ${new Date(message.SubmissionTime)} +Transmission end time: ${new Date(message.TransmissionEnd)} +Transmission start time: ${new Date(message.TransmissionStart)} +TSID: ${message.TSID}`); + + if (VB.InputBox('Delete this fax from the archive (Y/N)?') === 'Y') { + message.Delete(); + } + } +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms693472(v=vs.85).aspx +(() => { + const server = getServer(); + const outgoingArchive = server.Folders.OutgoingArchive; + WScript.Echo(` +Age limit: ${outgoingArchive.AgeLimit} +Archive folder: ${outgoingArchive.ArchiveFolder} +High quota mark: ${outgoingArchive.HighQuotaWaterMark} +Low quota water mark: ${outgoingArchive.LowQuotaWaterMark} +Size high: ${outgoingArchive.SizeHigh} +Size low: ${outgoingArchive.SizeLow} +Size quota warning: ${outgoingArchive.SizeQuotaWarning} +Is archive used? ${outgoingArchive.UseArchive}`.trim() + ); + + const newLimit = VB.InputBox('Set new age limit (enter empty value or Cancel to leave unchanged'); + if (newLimit) { + outgoingArchive.AgeLimit = parseInt(newLimit, 10); + } + + const messageID = VB.InputBox('Retrieve a message by ID (enter an empty value or press Cancel to exit'); + if (messageID) { + const fileName = VB.InputBox('Enter path to save'); + outgoingArchive.GetMessage(messageID).CopyTiff(fileName); + new ActiveXObject('WScript.Shell').Run(fileName); + } +})(); + +(() => { + const server = getServer(); + const messageIterator = server.Folders.OutgoingArchive.GetMessages(); + if (messageIterator.AtEOF) { return; } + messageIterator.MoveFirst(); + while (!messageIterator.AtEOF) { + const message = messageIterator.Message; + WScript.Echo(` +Document name: ${message.DocumentName} +ID: ${message.Id} +Transmission end: ${new Date(message.TransmissionEnd)} +Transmission start: ${new Date(message.TransmissionStart)} +`.trim()); + messageIterator.MoveNext(); + } +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms692976(v=vs.85).aspx +(() => { + const server = getServer(); + const prefetchCount = parseInt(VB.InputBox('How many messages should be prefetched?'), 10); + server.Folders.IncomingArchive.Refresh(); + const messageIterator = server.Folders.IncomingArchive.GetMessages(prefetchCount); + messageIterator.MoveFirst(); + for (let i = 1; i <= prefetchCount; i++) { + if (i > 1 && VB.InputBox('View next message? (Y/N)') !== 'Y') { break; } + const message = messageIterator.Message as FAXCOMEXLib.FaxIncomingMessage; + if (messageIterator.AtEOF) { + WScript.Echo(`End of file reached`); + return; + } + const fileName = VB.InputBox('Enter path to save TIFF file'); + message.CopyTiff(fileName); + new ActiveXObject('WScript.Shell').Run(fileName); + + messageIterator.MoveNext(); + } +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms693406(v=vs.85).aspx +(() => { + const server = getServer(); + const incomingArchive = server.Folders.IncomingArchive; + incomingArchive.Refresh(); + WScript.Echo(` +High quota water mark: ${incomingArchive.HighQuotaWaterMark} +Low quota water mark: ${incomingArchive.LowQuotaWaterMark} +Archive folder: ${incomingArchive.ArchiveFolder} +Age limit: ${incomingArchive.AgeLimit} +Size high: ${incomingArchive.SizeHigh} +Size low: ${incomingArchive.SizeLow} +Is size quota warning on? ${incomingArchive.SizeQuotaWarning} +Is archive used? ${incomingArchive.UseArchive} +`.trim()); + + incomingArchive.AgeLimit = 4; + incomingArchive.Save(); + + const messageID = VB.InputBox('Message ID to retrieve information? (Leave empty, or Cancel, to exit)'); + if (messageID === '') { return; } + const message = incomingArchive.GetMessage(messageID); + WScript.Echo(` +Caller ID: ${message.CallerId} +CSID: ${message.CSID} +Device name: ${message.DeviceName} +Message ID: ${message.Id} +Number of pages: ${message.Pages} +Retries: ${message.Retries} +Routing information: ${message.RoutingInformation} +Size: ${message.Size} +Transmission start: ${new Date(message.TransmissionStart)} +Transmission end: ${new Date(message.TransmissionEnd)} +TSID: ${message.TSID} +`.trim()); + + if (VB.InputBox('Delete this message from the archive (Y/N)?') === 'Y') { + message.Delete(); + } +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms693401(v=vs.85).aspx +(() => { + const server = getServer(); + const loggingOptions = server.LoggingOptions; + const activityLogging = loggingOptions.ActivityLogging; + const eventLogging = loggingOptions.EventLogging; + + activityLogging.Refresh(); + activityLogging.LogIncoming = true; + activityLogging.LogOutgoing = true; + activityLogging.Save(); + + eventLogging.Refresh(); + eventLogging.GeneralEventsLevel = FAXCOMEXLib.FAX_LOG_LEVEL_ENUM.fllMED; + eventLogging.InboundEventsLevel = FAXCOMEXLib.FAX_LOG_LEVEL_ENUM.fllMAX; + eventLogging.InitEventsLevel = FAXCOMEXLib.FAX_LOG_LEVEL_ENUM.fllMAX; + eventLogging.OutboundEventsLevel = FAXCOMEXLib.FAX_LOG_LEVEL_ENUM.fllNONE; + eventLogging.Save(); +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms693387(v=vs.85).aspx +(() => { + const server = getServer(); + const receiptOptions = server.ReceiptOptions; + receiptOptions.Refresh(); + WScript.Echo(` +Allowed receipt types: ${receiptOptions.AllowedReceipts} +Authentication types: ${receiptOptions.AuthenticationType} +SMTP port: ${receiptOptions.SMTPPort} +SMTP sender: ${receiptOptions.SMTPSender} +SMTP server: ${receiptOptions.SMTPSender} +Use for inbound routing? ${receiptOptions.UseForInboundRouting} +`.trim()); + + receiptOptions.AllowedReceipts = FAXCOMEXLib.FAX_RECEIPT_TYPE_ENUM.frtMAIL; + receiptOptions.AuthenticationType = FAXCOMEXLib.FAX_SMTP_AUTHENTICATION_TYPE_ENUM.fsatBASIC; + receiptOptions.SMTPPort = 25; + receiptOptions.SMTPSender = 'someone@example.com'; + receiptOptions.SMTPServer = 'My SMTP Server'; + receiptOptions.UseForInboundRouting = true; + receiptOptions.Save(); +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms693462(v=vs.85).aspx +(() => { + const server = getServer(); + collectionToArray(server.GetDeviceProviders()).forEach((provider, index) => { + WScript.Echo(` +Debug: ${provider.Debug} +Name: ${provider.FriendlyName} +Image name: ${provider.ImageName} +Init error code: ${provider.InitErrorCode} +Build and version: ${provider.MajorBuild}.${provider.MajorVersion}.${provider.MinorBuild}.${provider.MinorVersion} +Status: ${provider.Status} +TAPI provider: ${provider.TapiProviderName} +Unique name: ${provider.UniqueName} +`.trim()); + + new VBArray(provider.DeviceIds).toArray().forEach(id => WScript.Echo(id)); + }); +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms693437(v=vs.85).aspx -- for a fax device +(() => { + const server = getServer(); + const device = server.GetDevices().Item(1); + const deviceProperty = toSafeArray(1, 2, 3); + const propertyName = '{B1F944B9-9A16-45d1-933A-4060A4871AB0}'; + device.SetExtensionProperty(propertyName, deviceProperty); + new VBArray(device.GetExtensionProperty(propertyName)).toArray().forEach(x => WScript.Echo(x)); +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms693437(v=vs.85).aspx -- for a fax device +(() => { + const server = getServer(); + const serverProperty = toSafeArray(4, 2, 3); + const propertyName = `{AC7D0DEE-B6E5-4a44-AF45-835C58CB44D2}`; + server.SetExtensionProperty(propertyName, serverProperty); + new VBArray(server.GetExtensionProperty(propertyName)).toArray().forEach(x => WScript.Echo(x)); +})(); + +// https://msdn.microsoft.com/en-us/library/windows/desktop/ms693013(v=vs.85).aspx +(() => { + const server = getServer(); + + ActiveXObject.on(server, 'OnOutgoingJobAdded', ['pFaxServer', 'bstrJobId'], prm => WScript.Echo('New job added to queue')); + + ActiveXObject.on(server, 'OnOutgoingJobChanged', ['pFaxServer', 'bstrJobId', 'pJobStatus'], prm => { + const status = prm.pJobStatus; + WScript.Echo(` +Available operations: ${status.AvailableOperations} +Caller ID: ${status.CallerId} +CSID: ${status.CSID} +Current page: ${status.CurrentPage} +Device ID: ${status.DeviceId} +Extended status: ${status.ExtendedStatus} +Extended status code: ${status.ExtendedStatusCode} +Job type: ${status.JobType} +Pages: ${status.Pages} +Retries: ${status.Retries} +Routing information: ${status.RoutingInformation} +Scheduled time: ${new Date(status.ScheduledTime)} +Size: ${status.Size} +Status: ${status.Status} +Transmission start: ${new Date(status.TransmissionStart)} +TSID: ${status.TSID} +`.trim()); + + try { + WScript.Echo(`Transmission end: ${new Date(status.TransmissionEnd)}`); + } catch {} + }); + + ActiveXObject.on(server, 'OnServerShutDown', ['pFaxServer'], prm => WScript.Echo('The local fax server has been shut down')); + + server.ListenToServerEvents( + FAXCOMEXLib.FAX_SERVER_EVENTS_TYPE_ENUM.fsetFXSSVC_ENDED + + FAXCOMEXLib.FAX_SERVER_EVENTS_TYPE_ENUM.fsetOUT_QUEUE + ); +})(); diff --git a/types/activex-faxcomexlib/index.d.ts b/types/activex-faxcomexlib/index.d.ts new file mode 100644 index 0000000000..c559badae5 --- /dev/null +++ b/types/activex-faxcomexlib/index.d.ts @@ -0,0 +1,2031 @@ +// Type definitions for Microsoft Fax Service Extended COM Type Library - FAXCOMEXLib 1.0 +// Project: https://msdn.microsoft.com/en-us/library/windows/desktop/ms684513(v=vs.85).aspx +// Definitions by: Zev Spitz +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// + +declare namespace FAXCOMEXLib { + const enum FAX_ACCESS_RIGHTS_ENUM { + farMANAGE_CONFIG = 64, + farMANAGE_IN_ARCHIVE = 256, + farMANAGE_JOBS = 16, + farMANAGE_OUT_ARCHIVE = 1024, + farQUERY_CONFIG = 32, + farQUERY_IN_ARCHIVE = 128, + farQUERY_JOBS = 8, + farQUERY_OUT_ARCHIVE = 512, + farSUBMIT_HIGH = 4, + farSUBMIT_LOW = 1, + farSUBMIT_NORMAL = 2, + } + + const enum FAX_ACCESS_RIGHTS_ENUM_2 { + far2MANAGE_ARCHIVES = 256, + far2MANAGE_CONFIG = 64, + far2MANAGE_OUT_JOBS = 16, + far2MANAGE_RECEIVE_FOLDER = 512, + far2QUERY_ARCHIVES = 128, + far2QUERY_CONFIG = 32, + far2QUERY_OUT_JOBS = 8, + far2SUBMIT_HIGH = 4, + far2SUBMIT_LOW = 1, + far2SUBMIT_NORMAL = 2, + } + + const enum FAX_ACCOUNT_EVENTS_TYPE_ENUM { + faetFXSSVC_ENDED = 16, + faetIN_ARCHIVE = 4, + faetIN_QUEUE = 1, + faetNONE = 0, + faetOUT_ARCHIVE = 8, + faetOUT_QUEUE = 2, + } + + const enum FAX_COVERPAGE_TYPE_ENUM { + fcptLOCAL = 1, + fcptNONE = 0, + fcptSERVER = 2, + } + + const enum FAX_DEVICE_RECEIVE_MODE_ENUM { + fdrmAUTO_ANSWER = 1, + fdrmMANUAL_ANSWER = 2, + fdrmNO_ANSWER = 0, + } + + const enum FAX_GROUP_STATUS_ENUM { + fgsALL_DEV_NOT_VALID = 2, + fgsALL_DEV_VALID = 0, + fgsEMPTY = 1, + fgsSOME_DEV_NOT_VALID = 3, + } + + const enum FAX_JOB_EXTENDED_STATUS_ENUM { + fjesANSWERED = 5, + fjesBAD_ADDRESS = 10, + fjesBUSY = 8, + fjesCALL_ABORTED = 19, + fjesCALL_BLACKLISTED = 14, + fjesCALL_COMPLETED = 18, + fjesCALL_DELAYED = 13, + fjesDIALING = 3, + fjesDISCONNECTED = 1, + fjesFATAL_ERROR = 12, + fjesHANDLED = 17, + fjesINITIALIZING = 2, + fjesLINE_UNAVAILABLE = 7, + fjesNO_ANSWER = 9, + fjesNO_DIAL_TONE = 11, + fjesNONE = 0, + fjesNOT_FAX_CALL = 15, + fjesPARTIALLY_RECEIVED = 16, + fjesPROPRIETARY = 16777216, + fjesRECEIVING = 6, + fjesTRANSMITTING = 4, + } + + const enum FAX_JOB_OPERATIONS_ENUM { + fjoDELETE = 16, + fjoPAUSE = 2, + fjoRECIPIENT_INFO = 32, + fjoRESTART = 8, + fjoRESUME = 4, + fjoSENDER_INFO = 64, + fjoVIEW = 1, + } + + const enum FAX_JOB_STATUS_ENUM { + fjsCANCELED = 512, + fjsCANCELING = 1024, + fjsCOMPLETED = 256, + fjsFAILED = 8, + fjsINPROGRESS = 2, + fjsNOLINE = 32, + fjsPAUSED = 16, + fjsPENDING = 1, + fjsRETRIES_EXCEEDED = 128, + fjsRETRYING = 64, + fjsROUTING = 2048, + } + + const enum FAX_JOB_TYPE_ENUM { + fjtRECEIVE = 1, + fjtROUTING = 2, + fjtSEND = 0, + } + + const enum FAX_LOG_LEVEL_ENUM { + fllMAX = 3, + fllMED = 2, + fllMIN = 1, + fllNONE = 0, + } + + const enum FAX_PRIORITY_TYPE_ENUM { + fptHIGH = 2, + fptLOW = 0, + fptNORMAL = 1, + } + + const enum FAX_PROVIDER_STATUS_ENUM { + fpsBAD_GUID = 2, + fpsBAD_VERSION = 3, + fpsCANT_INIT = 6, + fpsCANT_LINK = 5, + fpsCANT_LOAD = 4, + fpsSERVER_ERROR = 1, + fpsSUCCESS = 0, + } + + const enum FAX_RECEIPT_TYPE_ENUM { + frtMAIL = 1, + frtMSGBOX = 4, + frtNONE = 0, + } + + const enum FAX_ROUTING_RULE_CODE_ENUM { + frrcANY_CODE = 0, + } + + const enum FAX_RULE_STATUS_ENUM { + frsALL_GROUP_DEV_NOT_VALID = 2, + frsBAD_DEVICE = 4, + frsEMPTY_GROUP = 1, + frsSOME_GROUP_DEV_NOT_VALID = 3, + frsVALID = 0, + } + + const enum FAX_SCHEDULE_TYPE_ENUM { + fstDISCOUNT_PERIOD = 2, + fstNOW = 0, + fstSPECIFIC_TIME = 1, + } + + const enum FAX_SERVER_APIVERSION_ENUM { + fsAPI_VERSION_0 = 0, + fsAPI_VERSION_1 = 65536, + fsAPI_VERSION_2 = 131072, + fsAPI_VERSION_3 = 196608, + } + + const enum FAX_SERVER_EVENTS_TYPE_ENUM { + fsetACTIVITY = 8, + fsetCONFIG = 4, + fsetDEVICE_STATUS = 256, + fsetFXSSVC_ENDED = 128, + fsetIN_ARCHIVE = 32, + fsetIN_QUEUE = 1, + fsetINCOMING_CALL = 512, + fsetNONE = 0, + fsetOUT_ARCHIVE = 64, + fsetOUT_QUEUE = 2, + fsetQUEUE_STATE = 16, + } + + const enum FAX_SMTP_AUTHENTICATION_TYPE_ENUM { + fsatANONYMOUS = 0, + fsatBASIC = 1, + fsatNTLM = 2, + } + + const enum FaxConstants { + bstrGROUPNAME_ALLDEVICES = '', + lDEFAULT_PREFETCH_SIZE = 100, + wcharREASSIGN_RECIPIENTS_DELIMITER = 59, + } + + /** FaxAccount Class */ + class FaxAccount { + private 'FAXCOMEXLib.FaxAccount_typekey': FaxAccount; + private constructor(); + + /** Name of the fax account */ + readonly AccountName: string; + + /** Folders belonging to the account */ + readonly Folders: FaxAccountFolders; + + /** Set bit-wise combination of events the fax account listens to */ + ListenToAccountEvents(EventTypes: FAX_ACCOUNT_EVENTS_TYPE_ENUM): void; + + /** Events the fax account is listening to */ + readonly RegisteredEvents: FAX_ACCOUNT_EVENTS_TYPE_ENUM; + } + + /** FaxAccountFolders Class */ + class FaxAccountFolders { + private 'FAXCOMEXLib.FaxAccountFolders_typekey': FaxAccountFolders; + private constructor(); + + /** Incoming archive */ + readonly IncomingArchive: FaxAccountIncomingArchive; + + /** Incoming queue */ + readonly IncomingQueue: FaxAccountIncomingQueue; + + /** Outgoing archive */ + readonly OutgoingArchive: FaxAccountOutgoingArchive; + + /** Outgoing queue */ + readonly OutgoingQueue: FaxAccountOutgoingQueue; + } + + /** FaxAccountIncomingArchive Class */ + class FaxAccountIncomingArchive { + private 'FAXCOMEXLib.FaxAccountIncomingArchive_typekey': FaxAccountIncomingArchive; + private constructor(); + + /** Get an archived message by its ID */ + GetMessage(bstrMessageId: string): IFaxIncomingMessage; + + /** + * Iterator on the archived messages + * @param number [lPrefetchSize=100] + */ + GetMessages(lPrefetchSize?: number): FaxIncomingMessageIterator; + + /** Refresh the object */ + Refresh(): void; + + /** The high 32-bit value of the archive size */ + readonly SizeHigh: number; + + /** The low 32-bit value of the archive size */ + readonly SizeLow: number; + } + + /** FaxAccountIncomingQueue Class */ + class FaxAccountIncomingQueue { + private 'FAXCOMEXLib.FaxAccountIncomingQueue_typekey': FaxAccountIncomingQueue; + private constructor(); + + /** Get incoming job by ID */ + GetJob(bstrJobId: string): FaxIncomingJob; + + /** Collection of incoming jobs */ + GetJobs(): FaxIncomingJobs; + } + + /** FaxAccountOutgoingArchive Class */ + class FaxAccountOutgoingArchive { + private 'FAXCOMEXLib.FaxAccountOutgoingArchive_typekey': FaxAccountOutgoingArchive; + private constructor(); + + /** Get an archived message by its ID */ + GetMessage(bstrMessageId: string): IFaxOutgoingMessage; + + /** + * Iterator on the archived messages + * @param number [lPrefetchSize=100] + */ + GetMessages(lPrefetchSize?: number): FaxOutgoingMessageIterator; + + /** Refresh the object */ + Refresh(): void; + + /** The high 32-bit value of the archive size */ + readonly SizeHigh: number; + + /** The low 32-bit value of the archive size */ + readonly SizeLow: number; + } + + /** FaxAccountOutgoingQueue Class */ + class FaxAccountOutgoingQueue { + private 'FAXCOMEXLib.FaxAccountOutgoingQueue_typekey': FaxAccountOutgoingQueue; + private constructor(); + + /** Get outgoing job by ID */ + GetJob(bstrJobId: string): IFaxOutgoingJob; + + /** Collection of outgoing jobs */ + GetJobs(): FaxOutgoingJobs; + } + + /** FaxAccounts Class */ + class FaxAccounts { + private 'FAXCOMEXLib.FaxAccounts_typekey': FaxAccounts; + private constructor(); + readonly Count: number; + Item(vIndex: any): FaxAccount; + } + + /** FaxAccountSet Class */ + class FaxAccountSet { + private 'FAXCOMEXLib.FaxAccountSet_typekey': FaxAccountSet; + private constructor(); + + /** Adds a fax account */ + AddAccount(bstrAccountName: string): FaxAccount; + + /** Get fax account by name */ + GetAccount(bstrAccountName: string): FaxAccount; + + /** Collection of fax accounts */ + GetAccounts(): FaxAccounts; + + /** Removes a fax account by name */ + RemoveAccount(bstrAccountName: string): void; + } + + /** FaxActivity Class */ + class FaxActivity { + private 'FAXCOMEXLib.FaxActivity_typekey': FaxActivity; + private constructor(); + + /** Number of incoming messages */ + readonly IncomingMessages: number; + + /** Number of outgoing messages */ + readonly OutgoingMessages: number; + + /** Number of queued messages */ + readonly QueuedMessages: number; + + /** Refresh the object */ + Refresh(): void; + + /** Number of routed incoming messages */ + readonly RoutingMessages: number; + } + + /** FaxActivityLogging Class */ + class FaxActivityLogging { + private 'FAXCOMEXLib.FaxActivityLogging_typekey': FaxActivityLogging; + private constructor(); + + /** Activity log database files path */ + DatabasePath: string; + + /** Does the server log incoming fax activity */ + LogIncoming: boolean; + + /** Does the server log outgoing fax activity */ + LogOutgoing: boolean; + + /** Refresh the object */ + Refresh(): void; + + /** Save the object */ + Save(): void; + } + + /** FaxConfiguration Class */ + class FaxConfiguration { + private 'FAXCOMEXLib.FaxConfiguration_typekey': FaxConfiguration; + private constructor(); + + /** Are personal cover pages allowed */ + AllowPersonalCoverPages: boolean; + + /** Indicates how long the fax message is kept on the server */ + ArchiveAgeLimit: number; + + /** Location of the archive on the server */ + ArchiveLocation: string; + + /** The high 32-bit value of the archive size */ + readonly ArchiveSizeHigh: number; + + /** The low 32-bit value of the archive size */ + readonly ArchiveSizeLow: number; + + /** Does the server auto-create fax account on connect */ + AutoCreateAccountOnConnect: boolean; + + /** Does the server generate a brand */ + Branding: boolean; + + /** End of the discount rate period */ + DiscountRateEnd: VarDate; + + /** Start of the discount rate period */ + DiscountRateStart: VarDate; + + /** High quota water mark */ + HighQuotaWaterMark: number; + + /** Are incoming faxes viewable by everyone */ + IncomingFaxesArePublic: boolean; + + /** Is queue blocked for incoming faxes */ + IncomingQueueBlocked: boolean; + + /** Low quota water mark */ + LowQuotaWaterMark: number; + + /** How long the failed fax job is kept on the server */ + OutgoingQueueAgeLimit: number; + + /** Is queue blocked for outgoing faxes */ + OutgoingQueueBlocked: boolean; + + /** Is queue paused for outgoing faxes */ + OutgoingQueuePaused: boolean; + + /** Refresh the object */ + Refresh(): void; + + /** Number of retries */ + Retries: number; + + /** Retry delay */ + RetryDelay: number; + + /** Save the object */ + Save(): void; + + /** Is size quota warning on */ + SizeQuotaWarning: boolean; + + /** Whether faxes should be archived */ + UseArchive: boolean; + + /** Is device Transmitting Station ID used */ + UseDeviceTSID: boolean; + } + + /** FaxDevice Class */ + class FaxDevice { + private 'FAXCOMEXLib.FaxDevice_typekey': FaxDevice; + private constructor(); + + /** Answer the call */ + AnswerCall(): void; + + /** Device's Called Station ID */ + CSID: string; + + /** Description of the device */ + Description: string; + + /** Device name */ + readonly DeviceName: string; + + /** Get the device level extention property */ + GetExtensionProperty(bstrGUID: string): SafeArray; + + /** Unique device ID */ + readonly Id: number; + + /** Is the device is turned off */ + readonly PoweredOff: boolean; + + /** Device provider */ + readonly ProviderUniqueName: string; + + /** The receive mode of the device */ + ReceiveMode: FAX_DEVICE_RECEIVE_MODE_ENUM; + + /** Is the device receiving now */ + readonly ReceivingNow: boolean; + + /** Refresh the object */ + Refresh(): void; + + /** Is the device ringing now */ + readonly RingingNow: boolean; + + /** Number of rings before the device answers */ + RingsBeforeAnswer: number; + + /** Save the object */ + Save(): void; + + /** Is the device is enabled to send */ + SendEnabled: boolean; + + /** Is the device sending now */ + readonly SendingNow: boolean; + + /** Set the device level extention property */ + SetExtensionProperty(bstrGUID: string, vProperty: SafeArray): void; + + /** Device's Transmitting Station ID */ + TSID: string; + + /** Array of routing methods GUIDs */ + readonly UsedRoutingMethods: SafeArray; + + /** Adds or removes routing method */ + UseRoutingMethod(bstrMethodGUID: string, bUse: boolean): void; + } + + /** FaxDeviceIds Class */ + class FaxDeviceIds { + private 'FAXCOMEXLib.FaxDeviceIds_typekey': FaxDeviceIds; + private constructor(); + + /** Add a device */ + Add(lDeviceId: number): void; + readonly Count: number; + Item(lIndex: number): number; + + /** Remove a device */ + Remove(lIndex: number): void; + + /** Set order of the device */ + SetOrder(lDeviceId: number, lNewOrder: number): void; + } + + /** FaxDeviceProvider Class */ + class FaxDeviceProvider { + private 'FAXCOMEXLib.FaxDeviceProvider_typekey': FaxDeviceProvider; + private constructor(); + + /** Is device provider built in debug environment */ + readonly Debug: boolean; + + /** Array of device IDs exposed by the provider */ + readonly DeviceIds: SafeArray; + + /** Provider's friendly name */ + readonly FriendlyName: string; + + /** Full path and file name of the provider DLL */ + readonly ImageName: string; + + /** Last error code at load or initialization */ + readonly InitErrorCode: number; + + /** The major part of the device provider's build number */ + readonly MajorBuild: number; + + /** The major part of the device provider's version number */ + readonly MajorVersion: number; + + /** The minor part of the device provider's build number */ + readonly MinorBuild: number; + + /** The minor part of the device provider's version number */ + readonly MinorVersion: number; + + /** Status of the device provider */ + readonly Status: FAX_PROVIDER_STATUS_ENUM; + + /** TSP name used by the provider */ + readonly TapiProviderName: string; + + /** Unique name of the provider */ + readonly UniqueName: string; + } + + /** FaxDeviceProviders Class */ + class FaxDeviceProviders { + private 'FAXCOMEXLib.FaxDeviceProviders_typekey': FaxDeviceProviders; + private constructor(); + readonly Count: number; + Item(vIndex: any): FaxDeviceProvider; + } + + /** FaxDevices Class */ + class FaxDevices { + private 'FAXCOMEXLib.FaxDevices_typekey': FaxDevices; + private constructor(); + readonly Count: number; + Item(vIndex: any): FaxDevice; + + /** Get device by its ID */ + ItemById(lId: number): FaxDevice; + } + + /** FaxDocument Class */ + class FaxDocument { + private 'FAXCOMEXLib.FaxDocument_typekey': FaxDocument; + private constructor(); + + /** Whether to attach a fax to the receipt */ + AttachFaxToReceipt: boolean; + + /** Full paths to the fax document body files */ + Bodies: any; + + /** Full path to the fax document body file */ + Body: string; + + /** Call handle */ + CallHandle: number; + + /** Submit the fax document on the already connected server */ + ConnectedSubmit(pFaxServer: IFaxServer): any; + + /** Submit the fax document on the already connected server */ + ConnectedSubmit2(pFaxServer: IFaxServer, pvFaxOutgoingJobIDs: any): number; + + /** Cover page file path */ + CoverPage: string; + + /** Is server, local, or no cover page used */ + CoverPageType: FAX_COVERPAGE_TYPE_ENUM; + + /** The document name */ + DocumentName: string; + + /** Whether to group the broadcast receipts */ + GroupBroadcastReceipts: boolean; + + /** Contents of cover page note field */ + Note: string; + + /** Priority of the fax */ + Priority: FAX_PRIORITY_TYPE_ENUM; + + /** Address of the receipt */ + ReceiptAddress: string; + + /** Type of the receipt */ + ReceiptType: FAX_RECEIPT_TYPE_ENUM; + + /** Collection of recipients */ + readonly Recipients: FaxRecipients; + + /** Time to send the fax */ + ScheduleTime: VarDate; + + /** When to send the fax */ + ScheduleType: FAX_SCHEDULE_TYPE_ENUM; + + /** Sender information object */ + readonly Sender: FaxSender; + + /** Contents of cover page subject field */ + Subject: string; + + /** Submission Id for the Fax document */ + readonly SubmissionId: string; + + /** Connect to server, submit the fax document, disconnect */ + Submit(bstrFaxServerName: string): SafeArray; + + /** Connect to server, submit the fax document, disconnect */ + Submit2(bstrFaxServerName: string, pvFaxOutgoingJobIDs: any): number; + + /** Tapi connection */ + TapiConnection: any; + } + + /** FaxEventLogging Class */ + class FaxEventLogging { + private 'FAXCOMEXLib.FaxEventLogging_typekey': FaxEventLogging; + private constructor(); + + /** Detail level of event logs for general (other) events */ + GeneralEventsLevel: FAX_LOG_LEVEL_ENUM; + + /** Detail level of event logs for inbound fax events */ + InboundEventsLevel: FAX_LOG_LEVEL_ENUM; + + /** Detail level of event logs for initialization events */ + InitEventsLevel: FAX_LOG_LEVEL_ENUM; + + /** Detail level of event logs for outbound fax events */ + OutboundEventsLevel: FAX_LOG_LEVEL_ENUM; + + /** Refresh the object */ + Refresh(): void; + + /** Save the object */ + Save(): void; + } + + /** FaxFolders Class */ + class FaxFolders { + private 'FAXCOMEXLib.FaxFolders_typekey': FaxFolders; + private constructor(); + + /** Incoming archive */ + readonly IncomingArchive: FaxIncomingArchive; + + /** Incoming queue */ + readonly IncomingQueue: FaxIncomingQueue; + + /** Outgoing archive */ + readonly OutgoingArchive: FaxOutgoingArchive; + + /** Outgoing queue */ + readonly OutgoingQueue: FaxOutgoingQueue; + } + + /** FaxInboundRouting Class */ + class FaxInboundRouting { + private 'FAXCOMEXLib.FaxInboundRouting_typekey': FaxInboundRouting; + private constructor(); + + /** Registered inbound routing extensions collection */ + GetExtensions(): FaxInboundRoutingExtensions; + + /** Ordered collection of all the registered methods */ + GetMethods(): FaxInboundRoutingMethods; + } + + /** FaxInboundRoutingExtension Class */ + class FaxInboundRoutingExtension { + private 'FAXCOMEXLib.FaxInboundRoutingExtension_typekey': FaxInboundRoutingExtension; + private constructor(); + + /** Is extension built in debug environment */ + readonly Debug: boolean; + + /** Extension's friendly name */ + readonly FriendlyName: string; + + /** Full path and file name of the extension DLL */ + readonly ImageName: string; + + /** Last error code at load or initialization */ + readonly InitErrorCode: number; + + /** The major part of extension's build number */ + readonly MajorBuild: number; + + /** The major part of extension's version number */ + readonly MajorVersion: number; + + /** Array of methods exposed by extension */ + readonly Methods: any; + + /** The minor part of extension's build number */ + readonly MinorBuild: number; + + /** The minor part of extension's version number */ + readonly MinorVersion: number; + + /** Load and initialization status of the extension */ + readonly Status: FAX_PROVIDER_STATUS_ENUM; + + /** Extension's unique name */ + readonly UniqueName: string; + } + + /** FaxInboundRoutingExtensions Class */ + class FaxInboundRoutingExtensions { + private 'FAXCOMEXLib.FaxInboundRoutingExtensions_typekey': FaxInboundRoutingExtensions; + private constructor(); + readonly Count: number; + Item(vIndex: any): FaxInboundRoutingExtension; + } + + /** FaxInboundRoutingMethod Class */ + class FaxInboundRoutingMethod { + private 'FAXCOMEXLib.FaxInboundRoutingMethod_typekey': FaxInboundRoutingMethod; + private constructor(); + + /** Friendly name of the extension exposing this method */ + readonly ExtensionFriendlyName: string; + + /** Image name of the extension exposing this method */ + readonly ExtensionImageName: string; + + /** Internal function name */ + readonly FunctionName: string; + + /** GUID of the method */ + readonly GUID: string; + + /** The name of the method */ + readonly Name: string; + + /** Priority of the method */ + Priority: number; + + /** Refresh the object */ + Refresh(): void; + + /** Save the object */ + Save(): void; + } + + /** FaxInboundRoutingMethods Class */ + class FaxInboundRoutingMethods { + private 'FAXCOMEXLib.FaxInboundRoutingMethods_typekey': FaxInboundRoutingMethods; + private constructor(); + readonly Count: number; + Item(vIndex: any): FaxInboundRoutingMethod; + } + + /** FaxIncomingArchive Class */ + class FaxIncomingArchive { + private 'FAXCOMEXLib.FaxIncomingArchive_typekey': FaxIncomingArchive; + private constructor(); + + /** How long the fax message is kept on the Server */ + AgeLimit: number; + + /** Location of the archive folder on the server */ + ArchiveFolder: string; + + /** Get archived message by its ID */ + GetMessage(bstrMessageId: string): IFaxIncomingMessage; + + /** + * Iterator on the archived messages + * @param number [lPrefetchSize=100] + */ + GetMessages(lPrefetchSize?: number): FaxIncomingMessageIterator; + + /** High quota water mark */ + HighQuotaWaterMark: number; + + /** Low quota water mark */ + LowQuotaWaterMark: number; + + /** Refresh the object */ + Refresh(): void; + + /** Save the object */ + Save(): void; + + /** The high 32-bit value of the archive size */ + readonly SizeHigh: number; + + /** The low 32-bit value of the archive size */ + readonly SizeLow: number; + + /** Is size quota warning on */ + SizeQuotaWarning: boolean; + + /** Whether received faxes should be archived */ + UseArchive: boolean; + } + + /** FaxIncomingJob Class */ + class FaxIncomingJob { + private 'FAXCOMEXLib.FaxIncomingJob_typekey': FaxIncomingJob; + private constructor(); + + /** Available operations, a bit-wise combination of FAX_JOB_OPERATIONS values */ + readonly AvailableOperations: FAX_JOB_OPERATIONS_ENUM; + + /** Caller ID */ + readonly CallerId: string; + + /** Cancel the incoming job */ + Cancel(): void; + + /** Copy TIFF image to the local file */ + CopyTiff(bstrTiffPath: string): void; + + /** Called Station ID */ + readonly CSID: string; + + /** Page currently in transmision */ + readonly CurrentPage: number; + + /** Device ID that transmits the job */ + readonly DeviceId: number; + + /** Extended status description */ + readonly ExtendedStatus: string; + + /** Code of the job's extended status */ + readonly ExtendedStatusCode: FAX_JOB_EXTENDED_STATUS_ENUM; + + /** Unique message ID */ + readonly Id: string; + + /** Job type */ + readonly JobType: FAX_JOB_TYPE_ENUM; + + /** Refresh the object */ + Refresh(): void; + + /** Number of failed transmission retries */ + readonly Retries: number; + + /** Routing information */ + readonly RoutingInformation: string; + + /** Size in bytes of the message's TIFF file */ + readonly Size: number; + + /** Current queue status of the job, a bit-wise combination of FAX_JOB_STATUS values */ + readonly Status: FAX_JOB_STATUS_ENUM; + + /** Transmission end time */ + readonly TransmissionEnd: VarDate; + + /** Transmission start time */ + readonly TransmissionStart: VarDate; + + /** Transmitting Station ID */ + readonly TSID: string; + } + + /** FaxIncomingJobs Class */ + class FaxIncomingJobs { + private 'FAXCOMEXLib.FaxIncomingJobs_typekey': FaxIncomingJobs; + private constructor(); + readonly Count: number; + Item(vIndex: any): FaxIncomingJob; + } + + /** FaxIncomingMessage Class */ + class FaxIncomingMessage extends IFaxIncomingMessage { + private 'FAXCOMEXLib.FaxIncomingMessage_typekey': FaxIncomingMessage; + private constructor(); + + /** Has Cover page */ + HasCoverPage: boolean; + + /** Read flag on the message */ + Read: boolean; + + /** Reassigns the message */ + ReAssign(): void; + + /** Set of recipient names */ + Recipients: string; + + /** Refresh the object */ + Refresh(): void; + + /** Save the object */ + Save(): void; + + /** Sender's fax number */ + SenderFaxNumber: string; + + /** Sender's name */ + SenderName: string; + + /** Contents of cover page subject field */ + Subject: string; + + /** Is message reassigned? */ + readonly WasReAssigned: boolean; + } + + /** FaxIncomingMessageIterator Class */ + class FaxIncomingMessageIterator { + private 'FAXCOMEXLib.FaxIncomingMessageIterator_typekey': FaxIncomingMessageIterator; + private constructor(); + + /** End of archive marker */ + readonly AtEOF: boolean; + + /** The current message */ + readonly Message: IFaxIncomingMessage; + + /** Move to the first message in the archive */ + MoveFirst(): void; + + /** Move to the next message in the archive */ + MoveNext(): void; + + /** Size of the prefetch buffer */ + PrefetchSize: number; + } + + /** FaxIncomingQueue Class */ + class FaxIncomingQueue { + private 'FAXCOMEXLib.FaxIncomingQueue_typekey': FaxIncomingQueue; + private constructor(); + + /** Is queue blocked */ + Blocked: boolean; + + /** Get incoming job by ID */ + GetJob(bstrJobId: string): FaxIncomingJob; + + /** Collection of incoming jobs */ + GetJobs(): FaxIncomingJobs; + + /** Refresh the object */ + Refresh(): void; + + /** Save the object */ + Save(): void; + } + + /** FaxJobStatus Class */ + class FaxJobStatus { + private 'FAXCOMEXLib.FaxJobStatus_typekey': FaxJobStatus; + private constructor(); + + /** Available operations, a bit-wise combination of FAX_JOB_OPERATIONS values */ + readonly AvailableOperations: FAX_JOB_OPERATIONS_ENUM; + + /** Caller ID */ + readonly CallerId: string; + + /** Called Station ID */ + readonly CSID: string; + + /** Page currently in transmision */ + readonly CurrentPage: number; + + /** Device ID of device that transmits the job */ + readonly DeviceId: number; + + /** Extended status description */ + readonly ExtendedStatus: string; + + /** Code of the job's extended status */ + readonly ExtendedStatusCode: FAX_JOB_EXTENDED_STATUS_ENUM; + + /** Job type */ + readonly JobType: FAX_JOB_TYPE_ENUM; + + /** Total number of pages */ + readonly Pages: number; + + /** Number of failed transmission retries */ + readonly Retries: number; + + /** Routing information */ + readonly RoutingInformation: string; + + /** The time the fax job is scheduled to be transmitted */ + readonly ScheduledTime: VarDate; + + /** Size in bytes of TIFF file */ + readonly Size: number; + + /** Current queue status of the job, a bit-wise combination of FAX_JOB_STATUS values */ + readonly Status: FAX_JOB_STATUS_ENUM; + + /** The time the fax job finished its transmission */ + readonly TransmissionEnd: VarDate; + + /** The time the fax job started its transmission */ + readonly TransmissionStart: VarDate; + + /** Transmitting Station ID */ + readonly TSID: string; + } + + /** FaxLoggingOptions Class */ + class FaxLoggingOptions { + private 'FAXCOMEXLib.FaxLoggingOptions_typekey': FaxLoggingOptions; + private constructor(); + + /** Activity logging configuration object */ + readonly ActivityLogging: FaxActivityLogging; + + /** Event logging configuration object */ + readonly EventLogging: FaxEventLogging; + } + + /** FaxOutboundRouting Class */ + class FaxOutboundRouting { + private 'FAXCOMEXLib.FaxOutboundRouting_typekey': FaxOutboundRouting; + private constructor(); + + /** Configuration of the outbound routing groups */ + GetGroups(): FaxOutboundRoutingGroups; + + /** Configuration of the outbound routing rules */ + GetRules(): FaxOutboundRoutingRules; + } + + /** FaxOutboundRoutingGroup Class */ + class FaxOutboundRoutingGroup { + private 'FAXCOMEXLib.FaxOutboundRoutingGroup_typekey': FaxOutboundRoutingGroup; + private constructor(); + + /** Ordered collection of device IDs */ + readonly DeviceIds: FaxDeviceIds; + + /** Name of the group */ + readonly Name: string; + + /** Status of the group */ + readonly Status: FAX_GROUP_STATUS_ENUM; + } + + /** FaxOutboundRoutingGroups Class */ + class FaxOutboundRoutingGroups { + private 'FAXCOMEXLib.FaxOutboundRoutingGroups_typekey': FaxOutboundRoutingGroups; + private constructor(); + + /** Add a group */ + Add(bstrName: string): FaxOutboundRoutingGroup; + readonly Count: number; + Item(vIndex: number | string): FaxOutboundRoutingGroup; + + /** Remove a group */ + Remove(vIndex: number | string): void; + } + + /** FaxOutboundRoutingRule Class */ + class FaxOutboundRoutingRule { + private 'FAXCOMEXLib.FaxOutboundRoutingRule_typekey': FaxOutboundRoutingRule; + private constructor(); + + /** Area code */ + readonly AreaCode: number; + + /** Country code */ + readonly CountryCode: number; + + /** Destination device */ + DeviceId: number; + + /** Group name */ + GroupName: string; + + /** Refresh the object */ + Refresh(): void; + + /** Save the object */ + Save(): void; + + /** Status */ + readonly Status: FAX_RULE_STATUS_ENUM; + + /** Uses single device or group */ + UseDevice: boolean; + } + + /** FaxOutboundRoutingRules Class */ + class FaxOutboundRoutingRules { + private 'FAXCOMEXLib.FaxOutboundRoutingRules_typekey': FaxOutboundRoutingRules; + private constructor(); + + /** Add a rule */ + Add(lCountryCode: number, lAreaCode: number, bUseDevice: boolean, bstrGroupName: string, lDeviceId: number): FaxOutboundRoutingRule; + readonly Count: number; + Item(lIndex: number): FaxOutboundRoutingRule; + + /** Get a rule by criteria */ + ItemByCountryAndArea(lCountryCode: number, lAreaCode: number): FaxOutboundRoutingRule; + + /** Remove a rule */ + Remove(lIndex: number): void; + + /** Remove a rule by criteria */ + RemoveByCountryAndArea(lCountryCode: number, lAreaCode: number): void; + } + + /** FaxOutgoingArchive Class */ + class FaxOutgoingArchive { + private 'FAXCOMEXLib.FaxOutgoingArchive_typekey': FaxOutgoingArchive; + private constructor(); + + /** Indicates how long the fax message is kept on the server */ + AgeLimit: number; + + /** Location of the outgoing archive on the server */ + ArchiveFolder: string; + + /** Get an archived message by its ID */ + GetMessage(bstrMessageId: string): IFaxOutgoingMessage; + + /** + * Iterator on the archived messages + * @param number [lPrefetchSize=100] + */ + GetMessages(lPrefetchSize?: number): FaxOutgoingMessageIterator; + + /** High quota water mark */ + HighQuotaWaterMark: number; + + /** Low quota water mark */ + LowQuotaWaterMark: number; + + /** Refresh the object */ + Refresh(): void; + + /** Save the object */ + Save(): void; + + /** The high 32-bit value of the archive size */ + readonly SizeHigh: number; + + /** The low 32-bit value of the archive size */ + readonly SizeLow: number; + + /** Is the size quota warning on or off */ + SizeQuotaWarning: boolean; + + /** Whether sent faxes should be archived */ + UseArchive: boolean; + } + + /** FaxOutgoingJob Class */ + class FaxOutgoingJob { + private 'FAXCOMEXLib.FaxOutgoingJob_typekey': FaxOutgoingJob; + private constructor(); + + /** Available operations, a bit-wise combination of FAX_JOB_OPERATIONS values */ + readonly AvailableOperations: FAX_JOB_OPERATIONS_ENUM; + + /** Cancel the outbound job */ + Cancel(): void; + + /** Copy the job's TIFF image */ + CopyTiff(bstrTiffPath: string): void; + + /** Called Station ID */ + readonly CSID: string; + + /** Page currently in transmision */ + readonly CurrentPage: number; + + /** Device ID that transmits the job */ + readonly DeviceId: number; + + /** Document's friendly name */ + readonly DocumentName: string; + + /** Extended status description */ + readonly ExtendedStatus: string; + + /** Code of the job's extended status */ + readonly ExtendedStatusCode: FAX_JOB_EXTENDED_STATUS_ENUM; + + /** Whether to group broadcast receipts */ + readonly GroupBroadcastReceipts: boolean; + + /** Has Cover page */ + readonly HasCoverPage: boolean; + + /** Unique job ID */ + readonly Id: string; + + /** Time the job was originally scheduled to be transmitted */ + readonly OriginalScheduledTime: VarDate; + + /** Total number of pages */ + readonly Pages: number; + + /** Pause the outbound job */ + Pause(): void; + + /** Priority of the fax */ + readonly Priority: FAX_PRIORITY_TYPE_ENUM; + + /** Address of the receipt */ + readonly ReceiptAddress: string; + + /** Type of receipt */ + readonly ReceiptType: FAX_RECEIPT_TYPE_ENUM; + + /** Recipient information object */ + readonly Recipient: FaxRecipient; + + /** Refresh the object */ + Refresh(): void; + + /** Restart the outbound job */ + Restart(): void; + + /** Resume the outbound job */ + Resume(): void; + + /** Number of failed transmission retries */ + readonly Retries: number; + + /** The time the fax job is scheduled to be transmitted */ + readonly ScheduledTime: VarDate; + + /** When to send the fax */ + readonly ScheduleType: FAX_SCHEDULE_TYPE_ENUM; + + /** Sender information object */ + readonly Sender: FaxSender; + + /** Size in bytes of TIFF file */ + readonly Size: number; + + /** Current queue status of the job */ + readonly Status: FAX_JOB_STATUS_ENUM; + + /** Cover page's subject field */ + readonly Subject: string; + + /** Unique ID the submission process created for the Job */ + readonly SubmissionId: string; + + /** Time the job was submitted */ + readonly SubmissionTime: VarDate; + + /** The time the fax job finished its transmission */ + readonly TransmissionEnd: VarDate; + + /** The time the fax job started its transmission */ + readonly TransmissionStart: VarDate; + + /** Transmitting Station ID */ + readonly TSID: string; + } + + /** FaxOutgoingJobs Class */ + class FaxOutgoingJobs { + private 'FAXCOMEXLib.FaxOutgoingJobs_typekey': FaxOutgoingJobs; + private constructor(); + readonly Count: number; + Item(vIndex: any): IFaxOutgoingJob; + } + + /** FaxOutgoingMessage Class */ + class FaxOutgoingMessage extends IFaxOutgoingMessage { + private 'FAXCOMEXLib.FaxOutgoingMessage_typekey': FaxOutgoingMessage; + private constructor(); + + /** Copy Tiff image to the local file */ + CopyTiff(bstrTiffPath: string): void; + + /** Has Cover page */ + readonly HasCoverPage: boolean; + + /** Read flag on the message */ + Read: boolean; + + /** Address of the receipt */ + readonly ReceiptAddress: string; + + /** Type of the receipt */ + readonly ReceiptType: FAX_RECEIPT_TYPE_ENUM; + + /** Refresh the object */ + Refresh(): void; + + /** Save the object */ + Save(): void; + } + + /** FaxOutgoingMessageIterator Class */ + class FaxOutgoingMessageIterator { + private 'FAXCOMEXLib.FaxOutgoingMessageIterator_typekey': FaxOutgoingMessageIterator; + private constructor(); + + /** End of archive marker */ + readonly AtEOF: boolean; + + /** Current message */ + readonly Message: IFaxOutgoingMessage; + + /** Move to the first message */ + MoveFirst(): void; + + /** Move to the next message */ + MoveNext(): void; + + /** Size of prefetch buffer */ + PrefetchSize: number; + } + + /** FaxOutgoingQueue Class */ + class FaxOutgoingQueue { + private 'FAXCOMEXLib.FaxOutgoingQueue_typekey': FaxOutgoingQueue; + private constructor(); + + /** How long the failed fax message is kept on the server */ + AgeLimit: number; + + /** Are personal cover pages allowed */ + AllowPersonalCoverPages: boolean; + + /** Is the queue blocked */ + Blocked: boolean; + + /** Does the server generate a brand */ + Branding: boolean; + + /** End of the discount rate period */ + DiscountRateEnd: VarDate; + + /** Start of the discount rate period */ + DiscountRateStart: VarDate; + + /** Outgoing job by ID */ + GetJob(bstrJobId: string): IFaxOutgoingJob; + + /** Collection of outgoing jobs */ + GetJobs(): FaxOutgoingJobs; + + /** Is the queue paused */ + Paused: boolean; + + /** Refresh the object */ + Refresh(): void; + + /** Number of retries */ + Retries: number; + + /** Retry delay */ + RetryDelay: number; + + /** Save the object */ + Save(): void; + + /** Is device Transmitting Station ID used */ + UseDeviceTSID: boolean; + } + + /** FaxReceiptOptions Class */ + class FaxReceiptOptions { + private 'FAXCOMEXLib.FaxReceiptOptions_typekey': FaxReceiptOptions; + private constructor(); + + /** Allowed receipt types, a bit-wise combination of FAX_RECEIPT_TYPE values */ + AllowedReceipts: FAX_RECEIPT_TYPE_ENUM; + + /** Authentication type used by server */ + AuthenticationType: FAX_SMTP_AUTHENTICATION_TYPE_ENUM; + + /** Refresh the object */ + Refresh(): void; + + /** Save the object */ + Save(): void; + + /** SMTP password */ + SMTPPassword: string; + + /** SMTP port number */ + SMTPPort: number; + + /** SMTP sender e-mail address */ + SMTPSender: string; + + /** Name of the SMTP server */ + SMTPServer: string; + + /** SMTP user name */ + SMTPUser: string; + + /** Whether to use the IFaxReceiptOptions settings for MS routing extension */ + UseForInboundRouting: boolean; + } + + /** FaxRecipient Class */ + class FaxRecipient { + private 'FAXCOMEXLib.FaxRecipient_typekey': FaxRecipient; + private constructor(); + + /** Recipient's fax number */ + FaxNumber: string; + + /** Recipient's name */ + Name: string; + } + + /** FaxRecipients Class */ + class FaxRecipients { + private 'FAXCOMEXLib.FaxRecipients_typekey': FaxRecipients; + private constructor(); + + /** + * Add a recipient + * @param string [bstrRecipientName=''] + */ + Add(bstrFaxNumber: string, bstrRecipientName?: string): FaxRecipient; + readonly Count: number; + Item(lIndex: number): FaxRecipient; + + /** Remove a recipient */ + Remove(lIndex: number): void; + } + + /** FaxSecurity Class */ + class FaxSecurity { + private 'FAXCOMEXLib.FaxSecurity_typekey': FaxSecurity; + private constructor(); + + /** Security descriptor */ + Descriptor: any; + + /** Granted rights, a bit-wise combination of FAX_ACCESS_RIGHTS values */ + readonly GrantedRights: FAX_ACCESS_RIGHTS_ENUM; + + /** Security Information Type */ + InformationType: number; + + /** Refresh the object */ + Refresh(): void; + + /** Save the object */ + Save(): void; + } + + /** FaxSecurity2 Class */ + class FaxSecurity2 { + private 'FAXCOMEXLib.FaxSecurity2_typekey': FaxSecurity2; + private constructor(); + + /** Security descriptor */ + Descriptor: any; + + /** Granted rights, a bit-wise combination */ + readonly GrantedRights: FAX_ACCESS_RIGHTS_ENUM_2; + + /** Security Information Type */ + InformationType: number; + + /** Refresh the object */ + Refresh(): void; + + /** Save the object */ + Save(): void; + } + + /** FaxSender Class */ + class FaxSender { + private 'FAXCOMEXLib.FaxSender_typekey': FaxSender; + private constructor(); + + /** Sender's billing code */ + BillingCode: string; + + /** City */ + City: string; + + /** Sender's company */ + Company: string; + + /** Sender's country or region */ + Country: string; + + /** Sender's department */ + Department: string; + + /** Sender's e-mail address */ + Email: string; + + /** Sender's fax number */ + FaxNumber: string; + + /** Sender's home phone */ + HomePhone: string; + + /** Load default sender */ + LoadDefaultSender(): void; + + /** Sender's name */ + Name: string; + + /** Sender's office location */ + OfficeLocation: string; + + /** Sender's office phone */ + OfficePhone: string; + + /** Save default sender */ + SaveDefaultSender(): void; + + /** Sender's state */ + State: string; + + /** Sender's street address */ + StreetAddress: string; + + /** Sender's title */ + Title: string; + + /** Transmitting Station ID */ + TSID: string; + + /** Sender's zip code */ + ZipCode: string; + } + + /** FaxServer Class */ + class FaxServer extends IFaxServer { + private 'FAXCOMEXLib.FaxServer_typekey': FaxServer; + private constructor(); + + /** Fax server configuration */ + readonly Configuration: FaxConfiguration; + + /** FaxAccount for the current connection */ + readonly CurrentAccount: FaxAccount; + + /** The FaxAccountSet configuration object */ + readonly FaxAccountSet: FaxAccountSet; + + /** The security configuration object */ + readonly Security2: FaxSecurity2; + } + + /** IFaxIncomingMessage interface */ + class IFaxIncomingMessage { + /** Caller ID */ + readonly CallerId: string; + + /** Copy Tiff image to the local file */ + CopyTiff(bstrTiffPath: string): void; + + /** Called Station ID */ + readonly CSID: string; + + /** Delete the message from the archive */ + Delete(): void; + + /** Name of the device that received the message */ + readonly DeviceName: string; + + /** Unique message ID */ + readonly Id: string; + + /** Total number of pages */ + readonly Pages: number; + + /** Number of failed routing retries */ + readonly Retries: number; + + /** Routing information */ + readonly RoutingInformation: string; + + /** Size in bytes of the message's TIFF file */ + readonly Size: number; + + /** Transmission end time */ + readonly TransmissionEnd: VarDate; + + /** Transmission start time */ + readonly TransmissionStart: VarDate; + + /** Transmitting Station ID */ + readonly TSID: string; + } + + /** IFaxOutgoingJob interface */ + class IFaxOutgoingJob { + private 'FAXCOMEXLib.IFaxOutgoingJob_typekey': IFaxOutgoingJob; + private constructor(); + + /** Available operations, a bit-wise combination of FAX_JOB_OPERATIONS values */ + readonly AvailableOperations: FAX_JOB_OPERATIONS_ENUM; + + /** Cancel the outbound job */ + Cancel(): void; + + /** Copy the job's TIFF image */ + CopyTiff(bstrTiffPath: string): void; + + /** Called Station ID */ + readonly CSID: string; + + /** Page currently in transmision */ + readonly CurrentPage: number; + + /** Device ID that transmits the job */ + readonly DeviceId: number; + + /** Document's friendly name */ + readonly DocumentName: string; + + /** Extended status description */ + readonly ExtendedStatus: string; + + /** Code of the job's extended status */ + readonly ExtendedStatusCode: FAX_JOB_EXTENDED_STATUS_ENUM; + + /** Whether to group broadcast receipts */ + readonly GroupBroadcastReceipts: boolean; + + /** Unique job ID */ + readonly Id: string; + + /** Time the job was originally scheduled to be transmitted */ + readonly OriginalScheduledTime: VarDate; + + /** Total number of pages */ + readonly Pages: number; + + /** Pause the outbound job */ + Pause(): void; + + /** Priority of the fax */ + readonly Priority: FAX_PRIORITY_TYPE_ENUM; + + /** Type of receipt */ + readonly ReceiptType: FAX_RECEIPT_TYPE_ENUM; + + /** Recipient information object */ + readonly Recipient: FaxRecipient; + + /** Refresh the object */ + Refresh(): void; + + /** Restart the outbound job */ + Restart(): void; + + /** Resume the outbound job */ + Resume(): void; + + /** Number of failed transmission retries */ + readonly Retries: number; + + /** The time the fax job is scheduled to be transmitted */ + readonly ScheduledTime: VarDate; + + /** Sender information object */ + readonly Sender: FaxSender; + + /** Size in bytes of TIFF file */ + readonly Size: number; + + /** Current queue status of the job */ + readonly Status: FAX_JOB_STATUS_ENUM; + + /** Cover page's subject field */ + readonly Subject: string; + + /** Unique ID the submission process created for the Job */ + readonly SubmissionId: string; + + /** Time the job was submitted */ + readonly SubmissionTime: VarDate; + + /** The time the fax job finished its transmission */ + readonly TransmissionEnd: VarDate; + + /** The time the fax job started its transmission */ + readonly TransmissionStart: VarDate; + + /** Transmitting Station ID */ + readonly TSID: string; + } + + /** IFaxOutgoingMessage interface */ + class IFaxOutgoingMessage { + /** Copy Tiff image to the local file */ + CopyTiff(bstrTiffPath: string): void; + + /** Called Station ID */ + readonly CSID: string; + + /** Delete the message from the archive */ + Delete(): void; + + /** Name of the device transmitting the message */ + readonly DeviceName: string; + + /** Document's friendly name */ + readonly DocumentName: string; + + /** Unique message ID */ + readonly Id: string; + + /** Time the job was originally scheduled to be transmitted */ + readonly OriginalScheduledTime: VarDate; + + /** Total number of pages */ + readonly Pages: number; + + /** Priority of the fax */ + readonly Priority: FAX_PRIORITY_TYPE_ENUM; + + /** Recipient information object */ + readonly Recipient: FaxRecipient; + + /** Number of failed routing retries */ + readonly Retries: number; + + /** Sender information object */ + readonly Sender: FaxSender; + + /** Size in bytes of TIFF file */ + readonly Size: number; + + /** Cover page's subject field */ + readonly Subject: string; + + /** Unique ID the submission process created for the job */ + readonly SubmissionId: string; + + /** Time the job was submitted */ + readonly SubmissionTime: VarDate; + + /** Transmission end time */ + readonly TransmissionEnd: VarDate; + + /** Transmission start time */ + readonly TransmissionStart: VarDate; + + /** Transmitting Station ID */ + readonly TSID: string; + } + + /** IFaxServer interface */ + class IFaxServer { + /** The fax server activity status object */ + readonly Activity: FaxActivity; + + /** Version of the fax server API */ + readonly APIVersion: FAX_SERVER_APIVERSION_ENUM; + + /** Connect to the fax server */ + Connect(bstrServerName: string): void; + + /** Is fax server built in debug environment */ + readonly Debug: boolean; + + /** Disconnect from the fax server */ + Disconnect(): void; + + /** The fax folders object */ + readonly Folders: FaxFolders; + + /** The collection of device providers */ + GetDeviceProviders(): FaxDeviceProviders; + + /** The collection of all available devices */ + GetDevices(): FaxDevices; + + /** Return server level extention property */ + GetExtensionProperty(bstrGUID: string): any; + + /** The inbound routing configuration object */ + readonly InboundRouting: FaxInboundRouting; + + /** Set bit-wise combination of events the fax server listens to */ + ListenToServerEvents(EventTypes: FAX_SERVER_EVENTS_TYPE_ENUM): void; + + /** The logging options configuration object */ + readonly LoggingOptions: FaxLoggingOptions; + + /** The major part of the fax server's build number */ + readonly MajorBuild: number; + + /** The major part of the fax server's version number */ + readonly MajorVersion: number; + + /** The minor part of the fax server's build number */ + readonly MinorBuild: number; + + /** The minor part of the fax server's version number */ + readonly MinorVersion: number; + + /** The outbound routing configuration object */ + readonly OutboundRouting: FaxOutboundRouting; + + /** The receipt options configuration object */ + readonly ReceiptOptions: FaxReceiptOptions; + + /** Register device provider */ + RegisterDeviceProvider(bstrGUID: string, bstrFriendlyName: string, bstrImageName: string, TspName: string, lFSPIVersion: number): void; + + /** Events the fax Server is listening to */ + readonly RegisteredEvents: FAX_SERVER_EVENTS_TYPE_ENUM; + + /** Register inbound routing extension */ + RegisterInboundRoutingExtension(bstrExtensionName: string, bstrFriendlyName: string, bstrImageName: string, vMethods: any): void; + + /** The security configuration object */ + readonly Security: FaxSecurity; + + /** The name of the fax server */ + readonly ServerName: string; + + /** Set server level extention property */ + SetExtensionProperty(bstrGUID: string, vProperty: SafeArray): void; + + /** Unregister device provider */ + UnregisterDeviceProvider(bstrUniqueName: string): void; + + /** Unregister inbound routing extension */ + UnregisterInboundRoutingExtension(bstrExtensionUniqueName: string): void; + } + + namespace EventHelperTypes { + type FaxAccount_Invoke_ArgNames = ['dispidMember', 'riid', 'lcid', 'wFlags', 'pdispparams', 'pvarResult', 'pexcepinfo', 'puArgErr']; + + type FaxServer_Invoke_ArgNames = ['dispidMember', 'riid', 'lcid', 'wFlags', 'pdispparams', 'pvarResult', 'pexcepinfo', 'puArgErr']; + + type FaxServer_OnDeviceStatusChange_ArgNames = ['pFaxServer', 'lDeviceId', 'bPoweredOff', 'bSending', 'bReceiving', 'bRinging']; + + interface FaxAccount_Invoke_Parameter { + readonly dispidMember: number; + readonly lcid: number; + readonly pdispparams: stdole.DISPPARAMS; + pexcepinfo: stdole.EXCEPINFO; + puArgErr: number; + pvarResult: any; + readonly riid: stdole.GUID; + readonly wFlags: number; + } + + interface FaxServer_Invoke_Parameter { + readonly dispidMember: number; + readonly lcid: number; + readonly pdispparams: stdole.DISPPARAMS; + pexcepinfo: stdole.EXCEPINFO; + puArgErr: number; + pvarResult: any; + readonly riid: stdole.GUID; + readonly wFlags: number; + } + + interface FaxServer_OnDeviceStatusChange_Parameter { + readonly bPoweredOff: boolean; + readonly bReceiving: boolean; + readonly bRinging: boolean; + readonly bSending: boolean; + readonly lDeviceId: number; + readonly pFaxServer: FaxServer; + } + } +} + +interface ActiveXObject { + on( + obj: FAXCOMEXLib.FaxAccount, event: 'GetIDsOfNames', argNames: ['riid', 'rgszNames', 'cNames', 'lcid', 'rgdispid'], handler: ( + this: FAXCOMEXLib.FaxAccount, parameter: {readonly riid: stdole.GUID, readonly rgszNames: number, readonly cNames: number, readonly lcid: number, rgdispid: number}) => void): void; + on( + obj: FAXCOMEXLib.FaxAccount, event: 'GetTypeInfo', argNames: ['itinfo', 'lcid', 'pptinfo'], handler: ( + this: FAXCOMEXLib.FaxAccount, parameter: {readonly itinfo: number, readonly lcid: number, pptinfo: undefined}) => void): void; + on(obj: FAXCOMEXLib.FaxAccount, event: 'GetTypeInfoCount', argNames: ['pctinfo'], handler: (this: FAXCOMEXLib.FaxAccount, parameter: {pctinfo: number}) => void): void; + on( + obj: FAXCOMEXLib.FaxAccount, event: 'Invoke', argNames: FAXCOMEXLib.EventHelperTypes.FaxAccount_Invoke_ArgNames, handler: ( + this: FAXCOMEXLib.FaxAccount, parameter: FAXCOMEXLib.EventHelperTypes.FaxAccount_Invoke_Parameter) => void): void; + on( + obj: FAXCOMEXLib.FaxAccount, event: 'OnIncomingJobAdded' | 'OnIncomingJobRemoved' | 'OnOutgoingJobAdded' | 'OnOutgoingJobRemoved', + argNames: ['pFaxAccount', 'bstrJobId'], handler: (this: FAXCOMEXLib.FaxAccount, parameter: {readonly pFaxAccount: FAXCOMEXLib.FaxAccount, readonly bstrJobId: string}) => void): void; + on( + obj: FAXCOMEXLib.FaxAccount, event: 'OnIncomingJobChanged' | 'OnOutgoingJobChanged', argNames: ['pFaxAccount', 'bstrJobId', 'pJobStatus'], + handler: (this: FAXCOMEXLib.FaxAccount, parameter: {readonly pFaxAccount: FAXCOMEXLib.FaxAccount, readonly bstrJobId: string, readonly pJobStatus: FAXCOMEXLib.FaxJobStatus}) => void): void; + on( + obj: FAXCOMEXLib.FaxAccount, event: 'OnIncomingMessageAdded', argNames: ['pFaxAccount', 'bstrMessageId', 'fAddedToReceiveFolder'], + handler: (this: FAXCOMEXLib.FaxAccount, parameter: {readonly pFaxAccount: FAXCOMEXLib.FaxAccount, readonly bstrMessageId: string, readonly fAddedToReceiveFolder: boolean}) => void): void; + on( + obj: FAXCOMEXLib.FaxAccount, event: 'OnIncomingMessageRemoved', argNames: ['pFaxAccount', 'bstrMessageId', 'fRemovedFromReceiveFolder'], + handler: (this: FAXCOMEXLib.FaxAccount, parameter: {readonly pFaxAccount: FAXCOMEXLib.FaxAccount, readonly bstrMessageId: string, readonly fRemovedFromReceiveFolder: boolean}) => void): void; + on( + obj: FAXCOMEXLib.FaxAccount, event: 'OnOutgoingMessageAdded' | 'OnOutgoingMessageRemoved', argNames: ['pFaxAccount', 'bstrMessageId'], + handler: (this: FAXCOMEXLib.FaxAccount, parameter: {readonly pFaxAccount: FAXCOMEXLib.FaxAccount, readonly bstrMessageId: string}) => void): void; + on( + obj: FAXCOMEXLib.FaxAccount, event: 'OnServerShutDown', argNames: ['pFaxServer'], handler: ( + this: FAXCOMEXLib.FaxAccount, parameter: {readonly pFaxServer: FAXCOMEXLib.FaxServer}) => void): void; + on( + obj: FAXCOMEXLib.FaxAccount, event: 'QueryInterface', argNames: ['riid', 'ppvObj'], handler: ( + this: FAXCOMEXLib.FaxAccount, parameter: {readonly riid: stdole.GUID, ppvObj: undefined}) => void): void; + on( + obj: FAXCOMEXLib.FaxServer, event: 'GetIDsOfNames', argNames: ['riid', 'rgszNames', 'cNames', 'lcid', 'rgdispid'], handler: ( + this: FAXCOMEXLib.FaxServer, parameter: {readonly riid: stdole.GUID, readonly rgszNames: number, readonly cNames: number, readonly lcid: number, rgdispid: number}) => void): void; + on( + obj: FAXCOMEXLib.FaxServer, event: 'GetTypeInfo', argNames: ['itinfo', 'lcid', 'pptinfo'], handler: ( + this: FAXCOMEXLib.FaxServer, parameter: {readonly itinfo: number, readonly lcid: number, pptinfo: undefined}) => void): void; + on(obj: FAXCOMEXLib.FaxServer, event: 'GetTypeInfoCount', argNames: ['pctinfo'], handler: (this: FAXCOMEXLib.FaxServer, parameter: {pctinfo: number}) => void): void; + on( + obj: FAXCOMEXLib.FaxServer, event: 'Invoke', argNames: FAXCOMEXLib.EventHelperTypes.FaxServer_Invoke_ArgNames, handler: ( + this: FAXCOMEXLib.FaxServer, parameter: FAXCOMEXLib.EventHelperTypes.FaxServer_Invoke_Parameter) => void): void; + on( + obj: FAXCOMEXLib.FaxServer, event: 'OnActivityLoggingConfigChange' | 'OnDevicesConfigChange' | 'OnEventLoggingConfigChange' | 'OnGeneralServerConfigChanged' | + 'OnIncomingArchiveConfigChange' | 'OnOutboundRoutingGroupsConfigChange' | 'OnOutboundRoutingRulesConfigChange' | 'OnOutgoingArchiveConfigChange' | + 'OnOutgoingQueueConfigChange' | 'OnReceiptOptionsChange' | 'OnSecurityConfigChange' | 'OnServerShutDown', + argNames: ['pFaxServer'], + handler: (this: FAXCOMEXLib.FaxServer, parameter: {readonly pFaxServer: FAXCOMEXLib.FaxServer}) => void): void; + on( + obj: FAXCOMEXLib.FaxServer, event: 'OnDeviceStatusChange', argNames: FAXCOMEXLib.EventHelperTypes.FaxServer_OnDeviceStatusChange_ArgNames, + handler: (this: FAXCOMEXLib.FaxServer, parameter: FAXCOMEXLib.EventHelperTypes.FaxServer_OnDeviceStatusChange_Parameter) => void): void; + on( + obj: FAXCOMEXLib.FaxServer, event: 'OnIncomingJobAdded' | 'OnIncomingJobRemoved' | 'OnOutgoingJobAdded' | 'OnOutgoingJobRemoved', + argNames: ['pFaxServer', 'bstrJobId'], handler: (this: FAXCOMEXLib.FaxServer, parameter: {readonly pFaxServer: FAXCOMEXLib.FaxServer, readonly bstrJobId: string}) => void): void; + on( + obj: FAXCOMEXLib.FaxServer, event: 'OnIncomingJobChanged' | 'OnOutgoingJobChanged', argNames: ['pFaxServer', 'bstrJobId', 'pJobStatus'], + handler: (this: FAXCOMEXLib.FaxServer, parameter: {readonly pFaxServer: FAXCOMEXLib.FaxServer, readonly bstrJobId: string, readonly pJobStatus: FAXCOMEXLib.FaxJobStatus}) => void): void; + on( + obj: FAXCOMEXLib.FaxServer, event: 'OnIncomingMessageAdded' | 'OnIncomingMessageRemoved' | 'OnOutgoingMessageAdded' | 'OnOutgoingMessageRemoved', + argNames: ['pFaxServer', 'bstrMessageId'], handler: (this: FAXCOMEXLib.FaxServer, parameter: {readonly pFaxServer: FAXCOMEXLib.FaxServer, readonly bstrMessageId: string}) => void): void; + on( + obj: FAXCOMEXLib.FaxServer, event: 'OnNewCall', argNames: ['pFaxServer', 'lCallId', 'lDeviceId', 'bstrCallerId'], handler: ( + this: FAXCOMEXLib.FaxServer, parameter: {readonly pFaxServer: FAXCOMEXLib.FaxServer, readonly lCallId: number, readonly lDeviceId: number, readonly bstrCallerId: string}) => void): void; + on( + obj: FAXCOMEXLib.FaxServer, event: 'OnQueuesStatusChange', argNames: ['pFaxServer', 'bOutgoingQueueBlocked', 'bOutgoingQueuePaused', 'bIncomingQueueBlocked'], + handler: ( + this: FAXCOMEXLib.FaxServer, + parameter: { + readonly pFaxServer: FAXCOMEXLib.FaxServer, readonly bOutgoingQueueBlocked: boolean, readonly bOutgoingQueuePaused: boolean, readonly bIncomingQueueBlocked: boolean}) => void): void; + on( + obj: FAXCOMEXLib.FaxServer, event: 'OnServerActivityChange', + argNames: ['pFaxServer', 'lIncomingMessages', 'lRoutingMessages', 'lOutgoingMessages', 'lQueuedMessages'], handler: ( + this: FAXCOMEXLib.FaxServer, + parameter: { + readonly pFaxServer: FAXCOMEXLib.FaxServer, readonly lIncomingMessages: number, readonly lRoutingMessages: number, readonly lOutgoingMessages: number, readonly lQueuedMessages: number + }) => void + ): void; + on( + obj: FAXCOMEXLib.FaxServer, event: 'QueryInterface', argNames: ['riid', 'ppvObj'], handler: ( + this: FAXCOMEXLib.FaxServer, parameter: {readonly riid: stdole.GUID, ppvObj: undefined}) => void): void; + on(obj: FAXCOMEXLib.FaxAccount, event: 'AddRef' | 'Release', handler: (this: FAXCOMEXLib.FaxAccount, parameter: {}) => void): void; + on(obj: FAXCOMEXLib.FaxServer, event: 'AddRef' | 'Release', handler: (this: FAXCOMEXLib.FaxServer, parameter: {}) => void): void; + new(progid: K): ActiveXObjectNameMap[K]; +} + +interface ActiveXObjectNameMap { + 'FaxComEx.FaxDocument': FAXCOMEXLib.FaxDocument; + 'FaxComEx.FaxServer': FAXCOMEXLib.FaxServer; +} + +interface EnumeratorConstructor { + new(col: FAXCOMEXLib.FaxAccounts): Enumerator; + new(col: FAXCOMEXLib.FaxDeviceIds): Enumerator; + new(col: FAXCOMEXLib.FaxDeviceProviders): Enumerator; + new(col: FAXCOMEXLib.FaxDevices): Enumerator; + new(col: FAXCOMEXLib.FaxInboundRoutingExtensions): Enumerator; + new(col: FAXCOMEXLib.FaxInboundRoutingMethods): Enumerator; + new(col: FAXCOMEXLib.FaxIncomingJobs): Enumerator; + new(col: FAXCOMEXLib.FaxOutboundRoutingGroups): Enumerator; + new(col: FAXCOMEXLib.FaxOutboundRoutingRules): Enumerator; + new(col: FAXCOMEXLib.FaxOutgoingJobs): Enumerator; + new(col: FAXCOMEXLib.FaxRecipients): Enumerator; +} + +interface SafeArray { + _brand: SafeArray; +} diff --git a/types/activex-faxcomexlib/package.json b/types/activex-faxcomexlib/package.json new file mode 100644 index 0000000000..d9b1031263 --- /dev/null +++ b/types/activex-faxcomexlib/package.json @@ -0,0 +1,6 @@ +{ + "private": true, + "dependencies": { + "activex-helpers": "*" + } +} \ No newline at end of file diff --git a/types/activex-faxcomexlib/tsconfig.json b/types/activex-faxcomexlib/tsconfig.json new file mode 100644 index 0000000000..6c864b8c42 --- /dev/null +++ b/types/activex-faxcomexlib/tsconfig.json @@ -0,0 +1,21 @@ + +{ + "compilerOptions": { + "module": "commonjs", + "lib": ["es5", "scripthost"], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "activex-faxcomexlib-tests.ts" + ] +} \ No newline at end of file diff --git a/types/activex-faxcomexlib/tslint.json b/types/activex-faxcomexlib/tslint.json new file mode 100644 index 0000000000..4ac54521fe --- /dev/null +++ b/types/activex-faxcomexlib/tslint.json @@ -0,0 +1,6 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false] + } +} \ No newline at end of file From 9ad4f0a7440a961e14365e65dc8937caa6e5c140 Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Wed, 31 Jan 2018 18:05:11 +0200 Subject: [PATCH 050/463] no-const-enum --- types/activex-faxcomexlib/tslint.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/activex-faxcomexlib/tslint.json b/types/activex-faxcomexlib/tslint.json index 4ac54521fe..adbe5826d4 100644 --- a/types/activex-faxcomexlib/tslint.json +++ b/types/activex-faxcomexlib/tslint.json @@ -1,6 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { - "interface-name": [false] + "interface-name": [false], + "no-const-enum": false } } \ No newline at end of file From 8b4bf26d7bdd9d02b09ee290a433ee0cfd788a99 Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Wed, 31 Jan 2018 19:09:46 +0200 Subject: [PATCH 051/463] dts fixes --- .../activex-faxcomexlib-tests.ts | 21 +- types/activex-faxcomexlib/index.d.ts | 1 + types/activex-faxcomexlib/tsconfig.json | 1 + .../activex-iwshruntimelibrary-tests.ts | 3 + types/activex-iwshruntimelibrary/index.d.ts | 201 ++++++++++++++++++ types/activex-iwshruntimelibrary/package.json | 6 + .../activex-iwshruntimelibrary/tsconfig.json | 22 ++ types/activex-iwshruntimelibrary/tslint.json | 7 + 8 files changed, 251 insertions(+), 11 deletions(-) create mode 100644 types/activex-iwshruntimelibrary/activex-iwshruntimelibrary-tests.ts create mode 100644 types/activex-iwshruntimelibrary/index.d.ts create mode 100644 types/activex-iwshruntimelibrary/package.json create mode 100644 types/activex-iwshruntimelibrary/tsconfig.json create mode 100644 types/activex-iwshruntimelibrary/tslint.json diff --git a/types/activex-faxcomexlib/activex-faxcomexlib-tests.ts b/types/activex-faxcomexlib/activex-faxcomexlib-tests.ts index 38a591f771..9ae8c7641d 100644 --- a/types/activex-faxcomexlib/activex-faxcomexlib-tests.ts +++ b/types/activex-faxcomexlib/activex-faxcomexlib-tests.ts @@ -39,22 +39,21 @@ const getServer = () => { // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693502(v=vs.85).aspx (() => { - let device: FAXCOMEXLib.FaxDevice; - - const init = () => { - device = getServer().GetDevices().ItemById(1); - device.ReceiveMode = FAXCOMEXLib.FAX_DEVICE_RECEIVE_MODE_ENUM.fdrmAUTO_ANSWER; - device.RingsBeforeAnswer = 5; - device.SendEnabled = true; + const getInitializedDevice = () => { + const ret = getServer().GetDevices().ItemById(1); + ret.ReceiveMode = FAXCOMEXLib.FAX_DEVICE_RECEIVE_MODE_ENUM.fdrmAUTO_ANSWER; + ret.RingsBeforeAnswer = 5; + ret.SendEnabled = true; + return ret; }; // saving configuration - init(); - device!.Save(); + let device = getInitializedDevice(); + device.Save(); // abandoning changes to configuration, using the Refresh method - init(); - device!.Refresh(); + device = getInitializedDevice(); + device.Refresh(); })(); // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693502(v=vs.85).aspx diff --git a/types/activex-faxcomexlib/index.d.ts b/types/activex-faxcomexlib/index.d.ts index c559badae5..44fa176dab 100644 --- a/types/activex-faxcomexlib/index.d.ts +++ b/types/activex-faxcomexlib/index.d.ts @@ -2,6 +2,7 @@ // Project: https://msdn.microsoft.com/en-us/library/windows/desktop/ms684513(v=vs.85).aspx // Definitions by: Zev Spitz // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.6 /// diff --git a/types/activex-faxcomexlib/tsconfig.json b/types/activex-faxcomexlib/tsconfig.json index 6c864b8c42..50b3ab1a0a 100644 --- a/types/activex-faxcomexlib/tsconfig.json +++ b/types/activex-faxcomexlib/tsconfig.json @@ -6,6 +6,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-iwshruntimelibrary/activex-iwshruntimelibrary-tests.ts b/types/activex-iwshruntimelibrary/activex-iwshruntimelibrary-tests.ts new file mode 100644 index 0000000000..2677274321 --- /dev/null +++ b/types/activex-iwshruntimelibrary/activex-iwshruntimelibrary-tests.ts @@ -0,0 +1,3 @@ +let obj1 = new ActiveXObject('WScript.Network'); + +let obj2 = new ActiveXObject('WScript.Shell'); diff --git a/types/activex-iwshruntimelibrary/index.d.ts b/types/activex-iwshruntimelibrary/index.d.ts new file mode 100644 index 0000000000..ddcd30a978 --- /dev/null +++ b/types/activex-iwshruntimelibrary/index.d.ts @@ -0,0 +1,201 @@ +// Type definitions for Windows Script Host Object Model - IWshRuntimeLibrary 1.0 +// Project: https://msdn.microsoft.com/en-us/library/9bbdkx3k(v=vs.84).aspx +// Definitions by: Zev Spitz +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.6 + +declare namespace IWshRuntimeLibrary { + const enum ButtonType { + OK, + OKCancel, + AbortRetryIgnore, + YesNoCancel, + YesNo, + RetryCancel, + CancelTryagainContinue + } + + const enum IconType { + Stop = 16, + QuestionMark = 32, + ExclamationMakr = 48, + InformationMark = 64, + } + + const enum PopupType { + SecondButtonDefault = 256, + ThirdButtonDefault = 512, + Modal = 4096, + RightJustified = 524288, + RTL = 1048576, + } + + const enum PopupSelection { + NoButton = -1, + OK = 1, + Cancel = 2, + Abort = 3, + Retry = 4, + Ignore = 5, + Yes = 6, + No = 7, + TryAgain = 10, + Continue = 11, + } + + const enum WshExecStatus { + WshFailed = 2, + WshFinished = 1, + WshRunning = 0, + } + + const enum WshWindowStyle { + WshHide = 0, + WshMaximizedFocus = 3, + WshMinimizedFocus = 2, + WshMinimizedNoFocus = 6, + WshNormalFocus = 1, + WshNormalNoFocus = 4, + } + + class TextStream { + private 'IWshRuntimeLibrary.TextStream_typekey': TextStream; + private constructor(); + readonly AtEndOfLine: boolean; + readonly AtEndOfStream: boolean; + Close(): void; + readonly Column: number; + readonly Line: number; + Read(Characters: number): string; + ReadAll(): string; + ReadLine(): string; + Skip(Characters: number): void; + SkipLine(): void; + Write(Text: string): void; + WriteBlankLines(Lines: number): void; + + /** @param string [Text=''] */ + WriteLine(Text?: string): void; + } + + /** Generic Collection Object */ + class WshCollection { + private 'IWshRuntimeLibrary.WshCollection_typekey': WshCollection; + private constructor(); + Count(): number; + Item(Index: any): any; + readonly length: number; + } + + /** Environment Variables Collection Object */ + class WshEnvironment { + private 'IWshRuntimeLibrary.WshEnvironment_typekey': WshEnvironment; + private constructor(); + Count(): number; + Item(Name: string): string; + readonly length: number; + Remove(Name: string): void; + } + + /** WSHExec object */ + class WshExec { + private 'IWshRuntimeLibrary.WshExec_typekey': WshExec; + private constructor(); + readonly ExitCode: number; + readonly ProcessID: number; + readonly Status: WshExecStatus; + readonly StdErr: TextStream; + readonly StdIn: TextStream; + readonly StdOut: TextStream; + Terminate(): void; + } + + /** Network Object */ + class WshNetwork { + private 'IWshRuntimeLibrary.WshNetwork_typekey': WshNetwork; + private constructor(); + AddPrinterConnection(LocalName: string, RemoteName: string, UpdateProfile?: any, UserName?: any, Password?: any): void; + + /** + * @param string [DriverName=''] + * @param string [Port='LPT1'] + */ + AddWindowsPrinterConnection(PrinterName: string, DriverName?: string, Port?: string): void; + readonly ComputerName: string; + EnumNetworkDrives(): WshCollection; + EnumPrinterConnections(): WshCollection; + MapNetworkDrive(LocalName: string, RemoteName: string, UpdateProfile?: any, UserName?: any, Password?: any): void; + readonly Organization: string; + RemoveNetworkDrive(Name: string, Force?: any, UpdateProfile?: any): void; + RemovePrinterConnection(Name: string, Force?: any, UpdateProfile?: any): void; + SetDefaultPrinter(Name: string): void; + readonly Site: string; + readonly UserDomain: string; + readonly UserName: string; + readonly UserProfile: string; + } + + /** Shell Object */ + class WshShell { + private 'IWshRuntimeLibrary.WshShell_typekey': WshShell; + private constructor(); + AppActivate(App: any, Wait?: any): boolean; + CreateShortcut(PathLink: string): any; + CurrentDirectory: string; + Environment(Type?: any): WshEnvironment; + Exec(Command: string): WshExec; + ExpandEnvironmentStrings(Src: string): string; + + /** @param string [Target=''] */ + LogEvent(Type: any, Message: string, Target?: string): boolean; + Popup(Text: any, SecondsToWait?: number, Title?: string, Type?: ButtonType | IconType | PopupType): PopupSelection; + RegDelete(Name: string): void; + RegRead(Name: string): any; + RegWrite(Name: string, Value: any, Type?: any): void; + Run(Command: string, WindowStyle?: any, WaitOnReturn?: any): number; + SendKeys(Keys: string, Wait?: any): void; + readonly SpecialFolders: WshCollection; + } + + /** Shortcut Object */ + class WshShortcut { + private 'IWshRuntimeLibrary.WshShortcut_typekey': WshShortcut; + private constructor(); + Arguments: string; + Description: string; + readonly FullName: string; + Hotkey: string; + IconLocation: string; + Load(PathLink: string): void; + readonly RelativePath: string; + Save(): void; + TargetPath: string; + WindowStyle: number; + WorkingDirectory: string; + } + + /** URLShortcut Object */ + class WshURLShortcut { + private 'IWshRuntimeLibrary.WshURLShortcut_typekey': WshURLShortcut; + private constructor(); + readonly FullName: string; + Load(PathLink: string): void; + Save(): void; + TargetPath: string; + } +} + +interface ActiveXObject { + set(obj: IWshRuntimeLibrary.WshEnvironment, propertyName: 'Item', parameterTypes: [string], newValue: string): void; + new (progid: K): ActiveXObjectNameMap[K]; +} + +interface ActiveXObjectNameMap { + 'WScript.Network': IWshRuntimeLibrary.WshNetwork; + 'WScript.Shell': IWshRuntimeLibrary.WshShell; +} + +interface EnumeratorConstructor { + new(col: IWshRuntimeLibrary.WshCollection): Enumerator; + new(col: IWshRuntimeLibrary.WshEnvironment): Enumerator; +} diff --git a/types/activex-iwshruntimelibrary/package.json b/types/activex-iwshruntimelibrary/package.json new file mode 100644 index 0000000000..d9b1031263 --- /dev/null +++ b/types/activex-iwshruntimelibrary/package.json @@ -0,0 +1,6 @@ +{ + "private": true, + "dependencies": { + "activex-helpers": "*" + } +} \ No newline at end of file diff --git a/types/activex-iwshruntimelibrary/tsconfig.json b/types/activex-iwshruntimelibrary/tsconfig.json new file mode 100644 index 0000000000..d2d55bbe09 --- /dev/null +++ b/types/activex-iwshruntimelibrary/tsconfig.json @@ -0,0 +1,22 @@ + +{ + "compilerOptions": { + "module": "commonjs", + "lib": ["es5", "scripthost"], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "activex-iwshruntimelibrary-tests.ts" + ] +} \ No newline at end of file diff --git a/types/activex-iwshruntimelibrary/tslint.json b/types/activex-iwshruntimelibrary/tslint.json new file mode 100644 index 0000000000..adbe5826d4 --- /dev/null +++ b/types/activex-iwshruntimelibrary/tslint.json @@ -0,0 +1,7 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "no-const-enum": false + } +} \ No newline at end of file From 05b4c4f3646c3128545b95c8bf868863ab7b2aa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Tabille=20Manjabosco?= Date: Wed, 31 Jan 2018 16:27:11 -0200 Subject: [PATCH 052/463] Add missing properties "defaultSortDirection" and "headerStyle" to ColumnProps --- types/react-virtualized/dist/es/Table.d.ts | 8 ++++++-- types/react-virtualized/react-virtualized-tests.tsx | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/types/react-virtualized/dist/es/Table.d.ts b/types/react-virtualized/dist/es/Table.d.ts index 97fe20b657..87f79de86d 100644 --- a/types/react-virtualized/dist/es/Table.d.ts +++ b/types/react-virtualized/dist/es/Table.d.ts @@ -74,6 +74,8 @@ export type ColumnProps = { columnData?: any; /** Uniquely identifies the row-data attribute correspnding to this cell */ dataKey: any; + /** Default sort order when clicked for the first time. Valid options include "ASC" and "DESC". Defaults to "ASC" */ + defaultSortDirection?: SortDirectionType; /** If sort is enabled for the table at large, disable it for this column */ disableSort?: boolean; /** Flex grow style; defaults to 0 */ @@ -87,6 +89,10 @@ export type ColumnProps = { * ({ columnData: object, dataKey: string, disableSort: boolean, label: string, sortBy: string, sortDirection: string }): PropTypes.node */ headerRenderer?: TableHeaderRenderer; + /** Optional inline style to apply to this column's header */ + headerStyle?: React.CSSProperties; + /** Optional id to set on the column header; used for aria-describedby */ + id?: string; /** Header label for this column */ label?: string; /** Maximum width of column; this property will only be used if :flexGrow is > 0. */ @@ -97,8 +103,6 @@ export type ColumnProps = { style?: React.CSSProperties; /** Flex basis (width) for this column; This value can grow or shrink based on :flexGrow and :flexShrink properties. */ width: number; - /** Optional id to set on the column header; used for aria-describedby */ - id?: string; } export class Column extends Component { static propTypes: { diff --git a/types/react-virtualized/react-virtualized-tests.tsx b/types/react-virtualized/react-virtualized-tests.tsx index c5958ab96c..d912c1f28f 100644 --- a/types/react-virtualized/react-virtualized-tests.tsx +++ b/types/react-virtualized/react-virtualized-tests.tsx @@ -1546,12 +1546,14 @@ export class TableExample extends PureComponent<{}, any> { } dataKey='index' disableSort={!this._isSortEnabled()} + defaultSortDirection={SortDirection.DESC} width={60} /> } From fce81baa1e54614bcd98fea2d710905af3c5c9ab Mon Sep 17 00:00:00 2001 From: Piotr Pietrzak Date: Wed, 31 Jan 2018 20:54:33 +0100 Subject: [PATCH 053/463] @types/matter-js - Add Matter.use and Matter.Plugin. --- types/matter-js/index.d.ts | 144 ++++++++++++++++++++++++++++- types/matter-js/matter-js-tests.ts | 10 +- 2 files changed, 150 insertions(+), 4 deletions(-) diff --git a/types/matter-js/index.d.ts b/types/matter-js/index.d.ts index 51a367df6c..a76ee1cc51 100644 --- a/types/matter-js/index.d.ts +++ b/types/matter-js/index.d.ts @@ -1,13 +1,24 @@ // Type definitions for Matter.js - 0.9.1 // Project: https://github.com/liabru/matter-js // Definitions by: Ivane Gegia , -// David Asmuth +// David Asmuth , +// Piotr Pietrzak git // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export = Matter; export as namespace Matter; declare namespace Matter { + /** + * Installs the given plugins on the `Matter` namespace. + * This is a short-hand for `Plugin.use`, see it for more information. + * Call this function once at the start of your code, with all of the plugins you wish to install as arguments. + * Avoid calling this function multiple times unless you intend to manually control installation order. + * @method use + * @param ...plugin {Function} The plugin(s) to install on `base` (multi-argument). + */ + export function use(...plugins: (Object | string)[]): void; + /** * The `Matter.Axes` module contains methods for creating and manipulating sets of axes. * @@ -3315,4 +3326,135 @@ declare namespace Matter { static trigger(object: any, eventNames: string, event?: (e: any) => void): void; } + + type Dependency = {name: string, range: string} + | {name: string, version: string} + | string; + + export class Plugin { + + /** + * Registers a plugin object so it can be resolved later by name. + * @method register + * @param plugin {} The plugin to register. + * @return {object} The plugin. + */ + static register(plugin: T): T; + + /** + * Resolves a dependency to a plugin object from the registry if it exists. + * The `dependency` may contain a version, but only the name matters when resolving. + * @method resolve + * @param dependency {string} The dependency. + * @return {object} The plugin if resolved, otherwise `undefined`. + */ + static resolve(dependency: string): object | undefined; + + /** + * Returns `true` if the object meets the minimum standard to be considered a plugin. + * This means it must define the following properties: + * - `name` + * - `version` + * - `install` + * @method isPlugin + * @param obj {} The obj to test. + * @return {boolean} `true` if the object can be considered a plugin otherwise `false`. + */ + static isPlugin(obj: object): boolean; + + /** + * Returns a pretty printed plugin name and version. + * @method toString + * @param plugin {} The plugin. + * @return {string} Pretty printed plugin name and version. + */ + static toString(plugin: string | object): string; + + /** + * Returns `true` if `plugin.for` is applicable to `module` by comparing against `module.name` and `module.version`. + * If `plugin.for` is not specified then it is assumed to be applicable. + * The value of `plugin.for` is a string of the format `'module-name'` or `'module-name@version'`. + * @method isFor + * @param plugin {} The plugin. + * @param module {} The module. + * @return {boolean} `true` if `plugin.for` is applicable to `module`, otherwise `false`. + */ + static isFor(plugin: object, module: object): boolean; + + /** + * Installs the plugins by calling `plugin.install` on each plugin specified in `plugins` if passed, otherwise `module.uses`. + * For installing plugins on `Matter` see the convenience function `Matter.use`. + * Plugins may be specified either by their name or a reference to the plugin object. + * Plugins themselves may specify further dependencies, but each plugin is installed only once. + * Order is important, a topological sort is performed to find the best resulting order of installation. + * This sorting attempts to satisfy every dependency's requested ordering, but may not be exact in all cases. + * This function logs the resulting status of each dependency in the console, along with any warnings. + * - A green tick ✅ indicates a dependency was resolved and installed. + * - An orange diamond 🔶 indicates a dependency was resolved but a warning was thrown for it or one if its dependencies. + * - A red cross ❌ indicates a dependency could not be resolved. + * Avoid calling this function multiple times on the same module unless you intend to manually control installation order. + * @method use + * @param module {} The module install plugins on. + * @param [plugins=module.uses] {} The plugins to install on module (optional, defaults to `module.uses`). + */ + static use(module: object, plugins: string[]): void; + + /** + * Recursively finds all of a module's dependencies and returns a flat dependency graph. + * @method dependencies + * @param module {} The module. + * @return {object} A dependency graph. + */ + static dependencies( + module: Dependency, + tracked: object + ): object | string | undefined + + /** + * Parses a dependency string into its components. + * The `dependency` is a string of the format `'module-name'` or `'module-name@version'`. + * See documentation for `Plugin.versionParse` for a description of the format. + * This function can also handle dependencies that are already resolved (e.g. a module object). + * @method dependencyParse + * @param dependency {string} The dependency of the format `'module-name'` or `'module-name@version'`. + * @return {object} The dependency parsed into its components. + */ + static dependencyParse(dependency: Dependency) : {name: string, range: string}; + + /** + * Parses a version string into its components. + * Versions are strictly of the format `x.y.z` (as in [semver](http://semver.org/)). + * Versions may optionally have a prerelease tag in the format `x.y.z-alpha`. + * Ranges are a strict subset of [npm ranges](https://docs.npmjs.com/misc/semver#advanced-range-syntax). + * Only the following range types are supported: + * - Tilde ranges e.g. `~1.2.3` + * - Caret ranges e.g. `^1.2.3` + * - Exact version e.g. `1.2.3` + * - Any version `*` + * @method versionParse + * @param range {string} The version string. + * @return {object} The version range parsed into its components. + */ + static versionParse(range: string) : { + isRange: boolean, + version: string, + range: string, + operator: string + parts: number[], + prerelease: string, + number: number + }; + + /** + * Returns `true` if `version` satisfies the given `range`. + * See documentation for `Plugin.versionParse` for a description of the format. + * If a version or range is not specified, then any version (`*`) is assumed to satisfy. + * @method versionSatisfies + * @param version {string} The version string. + * @param range {string} The range string. + * @return {boolean} `true` if `version` satisfies `range`, otherwise `false`. + */ + static versionSatisfies(version: string, range: string): boolean; + + } } diff --git a/types/matter-js/matter-js-tests.ts b/types/matter-js/matter-js-tests.ts index d94a1b6bed..bfec5afb66 100644 --- a/types/matter-js/matter-js-tests.ts +++ b/types/matter-js/matter-js-tests.ts @@ -6,9 +6,13 @@ var Engine = Matter.Engine, Composites = Matter.Composites, Constraint = Matter.Constraint, Events = Matter.Events, - Query = Matter.Query; - - + Query = Matter.Query, + Plugin = Matter.Plugin; + + +Matter.use('matter-gravity'); +Plugin.use(Matter, ["matter-world-wrap"]); + var engine = Engine.create(); //Bodies From 51698b21a1d0623d5a5e4cde2b930c8af5e05e61 Mon Sep 17 00:00:00 2001 From: Piotr Pietrzak Date: Wed, 31 Jan 2018 20:59:00 +0100 Subject: [PATCH 054/463] Change `Object` to `object` in Matter.use type. --- types/matter-js/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/matter-js/index.d.ts b/types/matter-js/index.d.ts index a76ee1cc51..b863d6d848 100644 --- a/types/matter-js/index.d.ts +++ b/types/matter-js/index.d.ts @@ -17,7 +17,7 @@ declare namespace Matter { * @method use * @param ...plugin {Function} The plugin(s) to install on `base` (multi-argument). */ - export function use(...plugins: (Object | string)[]): void; + export function use(...plugins: (object | string)[]): void; /** * The `Matter.Axes` module contains methods for creating and manipulating sets of axes. From a91bad190e15c01f12903467bb1f0f30feed66c4 Mon Sep 17 00:00:00 2001 From: Piotr Pietrzak Date: Wed, 31 Jan 2018 21:04:48 +0100 Subject: [PATCH 055/463] Increment @types/matter-js version. --- types/matter-js/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/matter-js/index.d.ts b/types/matter-js/index.d.ts index b863d6d848..63fd2b01d2 100644 --- a/types/matter-js/index.d.ts +++ b/types/matter-js/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Matter.js - 0.9.1 +// Type definitions for Matter.js - 0.10.0 // Project: https://github.com/liabru/matter-js // Definitions by: Ivane Gegia , // David Asmuth , From 61a6251d03669c40166d38e4937fc3d991827610 Mon Sep 17 00:00:00 2001 From: Piotr Pietrzak Date: Wed, 31 Jan 2018 21:51:19 +0100 Subject: [PATCH 056/463] Remove occurences of ": object". Fix header. --- types/matter-js/index.d.ts | 27 +++++++++++++++++---------- types/matter-js/matter-js-tests.ts | 4 ++-- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/types/matter-js/index.d.ts b/types/matter-js/index.d.ts index 63fd2b01d2..ffca8627d0 100644 --- a/types/matter-js/index.d.ts +++ b/types/matter-js/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/liabru/matter-js // Definitions by: Ivane Gegia , // David Asmuth , -// Piotr Pietrzak git +// Piotr Pietrzak // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export = Matter; @@ -17,7 +17,7 @@ declare namespace Matter { * @method use * @param ...plugin {Function} The plugin(s) to install on `base` (multi-argument). */ - export function use(...plugins: (object | string)[]): void; + export function use(...plugins: (Plugin | string)[]): void; /** * The `Matter.Axes` module contains methods for creating and manipulating sets of axes. @@ -3332,6 +3332,10 @@ declare namespace Matter { | string; export class Plugin { + name: string; + version: string; + install: () => void; + for?: string; /** * Registers a plugin object so it can be resolved later by name. @@ -3339,7 +3343,7 @@ declare namespace Matter { * @param plugin {} The plugin to register. * @return {object} The plugin. */ - static register(plugin: T): T; + static register(plugin: Plugin): Plugin; /** * Resolves a dependency to a plugin object from the registry if it exists. @@ -3348,7 +3352,7 @@ declare namespace Matter { * @param dependency {string} The dependency. * @return {object} The plugin if resolved, otherwise `undefined`. */ - static resolve(dependency: string): object | undefined; + static resolve(dependency: string): Plugin | undefined; /** * Returns `true` if the object meets the minimum standard to be considered a plugin. @@ -3360,7 +3364,7 @@ declare namespace Matter { * @param obj {} The obj to test. * @return {boolean} `true` if the object can be considered a plugin otherwise `false`. */ - static isPlugin(obj: object): boolean; + static isPlugin(obj: {}): boolean; /** * Returns a pretty printed plugin name and version. @@ -3368,7 +3372,7 @@ declare namespace Matter { * @param plugin {} The plugin. * @return {string} Pretty printed plugin name and version. */ - static toString(plugin: string | object): string; + static toString(plugin: string | Plugin): string; /** * Returns `true` if `plugin.for` is applicable to `module` by comparing against `module.name` and `module.version`. @@ -3379,7 +3383,7 @@ declare namespace Matter { * @param module {} The module. * @return {boolean} `true` if `plugin.for` is applicable to `module`, otherwise `false`. */ - static isFor(plugin: object, module: object): boolean; + static isFor(plugin: Plugin, module: {name?: string, [_: string]: any}): boolean; /** * Installs the plugins by calling `plugin.install` on each plugin specified in `plugins` if passed, otherwise `module.uses`. @@ -3397,7 +3401,10 @@ declare namespace Matter { * @param module {} The module install plugins on. * @param [plugins=module.uses] {} The plugins to install on module (optional, defaults to `module.uses`). */ - static use(module: object, plugins: string[]): void; + static use( + module: {uses?: (Plugin | string)[]; [_: string]: any}, + plugins: (Plugin | string)[] + ): void; /** * Recursively finds all of a module's dependencies and returns a flat dependency graph. @@ -3407,8 +3414,8 @@ declare namespace Matter { */ static dependencies( module: Dependency, - tracked: object - ): object | string | undefined + tracked?: {[_: string]: string[]} + ): {[_: string]: string[]} | string | undefined /** * Parses a dependency string into its components. diff --git a/types/matter-js/matter-js-tests.ts b/types/matter-js/matter-js-tests.ts index bfec5afb66..3c34f91ecc 100644 --- a/types/matter-js/matter-js-tests.ts +++ b/types/matter-js/matter-js-tests.ts @@ -10,8 +10,8 @@ var Engine = Matter.Engine, Plugin = Matter.Plugin; -Matter.use('matter-gravity'); -Plugin.use(Matter, ["matter-world-wrap"]); +Matter.use('matter-attractors'); +Plugin.use(Matter, ["matter-wrap"]); var engine = Engine.create(); From ada6eccec2131ad505f04e39db7a5cd4d2abc2a4 Mon Sep 17 00:00:00 2001 From: Tiger Oakes Date: Wed, 31 Jan 2018 13:27:12 -0800 Subject: [PATCH 057/463] Improved StaticCanvas types --- types/fabric/index.d.ts | 80 +++++++++++++++++++++++------------------ 1 file changed, 45 insertions(+), 35 deletions(-) diff --git a/types/fabric/index.d.ts b/types/fabric/index.d.ts index 2163faecef..72bd64f20a 100644 --- a/types/fabric/index.d.ts +++ b/types/fabric/index.d.ts @@ -941,7 +941,7 @@ export class StaticCanvas { * Calculates canvas element offset relative to the document * This method is also attached as "resize" event handler of window */ - calcOffset(): StaticCanvas; + calcOffset(): this; /** * Sets {@link fabric.StaticCanvas#overlayImage|overlay image} for this canvas @@ -949,7 +949,7 @@ export class StaticCanvas { * @param callback callback to invoke when image is loaded and set as an overlay * @param [options] Optional options to set for the {@link fabric.Image|overlay image}. */ - setOverlayImage(image: Image|string, callback: Function, options?: IObjectOptions): StaticCanvas; + setOverlayImage(image: Image|string, callback: (img: HTMLImageElement) => void, options?: IImageOptions): this; /** * Sets {@link fabric.StaticCanvas#backgroundImage|background image} for this canvas @@ -957,21 +957,21 @@ export class StaticCanvas { * @param callback Callback to invoke when image is loaded and set as background * @param [options] Optional options to set for the {@link fabric.Image|background image}. */ - setBackgroundImage(image: Image|string, callback?: Function, options?: IObjectOptions): StaticCanvas; + setBackgroundImage(image: Image|string, callback?: (img: HTMLImageElement) => void, options?: IImageOptions): this; /** * Sets {@link fabric.StaticCanvas#overlayColor|background color} for this canvas * @param overlayColor Color or pattern to set background color to * @param callback Callback to invoke when background color is set */ - setOverlayColor(overlayColor: string|Pattern, callback: Function): StaticCanvas; + setOverlayColor(overlayColor: string|Pattern, callback: (pattern: Pattern | undefined) => void): this; /** * Sets {@link fabric.StaticCanvas#backgroundColor|background color} for this canvas * @param backgroundColor Color or pattern to set background color to * @param callback Callback to invoke when background color is set */ - setBackgroundColor(backgroundColor: string|Pattern, callback: Function): StaticCanvas; + setBackgroundColor(backgroundColor: string|Pattern, callback: (pattern: Pattern | undefined) => void): StaticCanvas; /** * Returns canvas width (in px) @@ -988,21 +988,21 @@ export class StaticCanvas { * @param value Value to set width to * @param [options] Options object */ - setWidth(value: number|string, options?: ICanvasDimensionsOptions): StaticCanvas; + setWidth(value: number|string, options?: ICanvasDimensionsOptions): this; /** * Sets height of this canvas instance * @param value Value to set height to * @param [options] Options object */ - setHeight(value: number|string, options?: ICanvasDimensionsOptions): StaticCanvas; + setHeight(value: number|string, options?: ICanvasDimensionsOptions): this; /** * Sets dimensions (width, height) of this canvas instance. when options.cssOnly flag active you should also supply the unit of measure (px/%/em) * @param dimensions Object with width/height properties * @param [options] Options object */ - setDimensions(dimensions: ICanvasDimensions, options?: ICanvasDimensionsOptions): StaticCanvas; + setDimensions(dimensions: ICanvasDimensions, options?: ICanvasDimensionsOptions): this; /** * Returns canvas zoom level @@ -1013,32 +1013,32 @@ export class StaticCanvas { * Sets viewport transform of this canvas instance * @param vpt the transform in the form of context.transform */ - setViewportTransform(vpt: number[]): StaticCanvas; + setViewportTransform(vpt: number[]): this; /** * Sets zoom level of this canvas instance, zoom centered around point * @param point to zoom with respect to * @param value to set zoom to, less than 1 zooms out */ - zoomToPoint(point: Point, value: number): StaticCanvas; + zoomToPoint(point: Point, value: number): this; /** * Sets zoom level of this canvas instance * @param value to set zoom to, less than 1 zooms out */ - setZoom(value: number): StaticCanvas; + setZoom(value: number): this; /** * Pan viewport so as to place point at top left corner of canvas * @param point to move to */ - absolutePan(point: Point): StaticCanvas; + absolutePan(point: Point): this; /** * Pans viewpoint relatively * @param point (position vector) to move by */ - relativePan(point: Point): StaticCanvas; + relativePan(point: Point): this; /** * Returns element corresponding to this instance @@ -1060,7 +1060,7 @@ export class StaticCanvas { * @param ctx Context to clear * @chainable */ - clearContext(ctx: CanvasRenderingContext2D): StaticCanvas; + clearContext(ctx: CanvasRenderingContext2D): this; /** * Returns context of canvas where objects are drawn @@ -1070,14 +1070,14 @@ export class StaticCanvas { /** * Clears all contexts (background, main, top) of an instance */ - clear(): StaticCanvas; + clear(): this; /** * Renders both the top canvas and the secondary container canvas. * @param [allOnTop] Whether we want to force all images to be rendered on the top canvas * @chainable */ - renderAll(allOnTop?: boolean): StaticCanvas; + renderAll(allOnTop?: boolean): this; /** * Method to render only the top canvas. @@ -1096,21 +1096,21 @@ export class StaticCanvas { * You might need to call `setCoords` on an object after centering, to update controls area. * @param object Object to center horizontally */ - centerObjectH(object: Object): StaticCanvas; + centerObjectH(object: Object): this; /** * Centers object vertically. * You might need to call `setCoords` on an object after centering, to update controls area. * @param object Object to center vertically */ - centerObjectV(object: Object): StaticCanvas; + centerObjectV(object: Object): this; /** * Centers object vertically and horizontally. * You might need to call `setCoords` on an object after centering, to update controls area. * @param object Object to center vertically and horizontally */ - centerObject(object: Object): StaticCanvas; + centerObject(object: Object): this; /** * Returs dataless JSON representation of canvas @@ -1148,14 +1148,14 @@ export class StaticCanvas { * @param object Object to send to back * @chainable */ - sendToBack(object: Object): StaticCanvas; + sendToBack(object: Object): this; /** * Moves an object to the top of the stack of drawn objects * @param object Object to send * @chainable */ - bringToFront(object: Object): StaticCanvas; + bringToFront(object: Object): this; /** * Moves an object down in stack of drawn objects @@ -1163,7 +1163,7 @@ export class StaticCanvas { * @param [intersecting] If `true`, send object behind next lower intersecting object * @chainable */ - sendBackwards(object: Object): StaticCanvas; + sendBackwards(object: Object): this; /** * Moves an object up in stack of drawn objects @@ -1171,19 +1171,19 @@ export class StaticCanvas { * @param [intersecting] If `true`, send object in front of next upper intersecting object * @chainable */ - bringForward(object: Object): StaticCanvas; + bringForward(object: Object): this; /** * Moves an object to specified level in stack of drawn objects * @param object Object to send * @param index Position to move to * @chainable */ - moveTo(object: Object, index: number): StaticCanvas; + moveTo(object: Object, index: number): this; /** * Clears a canvas element and removes all event listeners */ - dispose(): StaticCanvas; + dispose(): this; /** * Returns a string representation of an instance @@ -1213,13 +1213,13 @@ export class StaticCanvas { * are initialized * @param [reviver] Method for further parsing of JSON elements, called after each fabric object created. */ - loadFromJSON(json: string|any, callback: Function, reviver?: Function): Canvas; + loadFromJSON(json: string|object, callback: () => void, reviver?: Function): this; /** * Clones canvas instance * @param [callback] Receives cloned instance as a first argument * @param [properties] Array of properties to include in the cloned canvas and children */ - clone(callback: (canvas: StaticCanvas) => void, properties?: any[]): void; + clone(callback: (canvas: StaticCanvas) => void, properties?: string[]): void; /** * Clones canvas instance without cloning existing data. @@ -1241,13 +1241,13 @@ export class StaticCanvas { * Straightens object, then rerenders canvas * @param object Object to straighten */ - straightenObject(object: Object): StaticCanvas; + straightenObject(object: Object): this; /** * Same as straightenObject, but animated * @param object Object to straighten */ - fxStraightenObject(object: Object): StaticCanvas; + fxStraightenObject(object: Object): this; static EMPTY_JSON: string; /** @@ -1971,11 +1971,6 @@ interface IObjectOptions { */ angle?: number; - /** - * Size of object's controlling corners (in pixels) - */ - cornerSize?: number; - /** * When true, object's controlling corners are rendered as transparent inside (i.e. stroke instead of fill) */ @@ -2001,10 +1996,25 @@ interface IObjectOptions { */ cornerColor?: string; + /** + * Array specifying dash pattern of an object's control (hasBorder must be true) + */ + cornerDashArray?: number[]; + + /** + * Size of object's controlling corners (in pixels) + */ + cornerSize?: number; + + /** + * Color of controlling corners of an object (when it's active and transparentCorners false) + */ + cornerStrokeColor?: string; + /** * Specify style of control, 'rect' or 'circle' */ - cornerStrokeColor?: "rect" | "circle"; + cornerStyle?: "rect" | "circle"; /** * When true, this object will use center point as the origin of transformation From a6e83ca94a3521e701ec23c2a551a12b7aaead19 Mon Sep 17 00:00:00 2001 From: Tiger Oakes Date: Wed, 31 Jan 2018 13:30:17 -0800 Subject: [PATCH 058/463] Fixing lint errors --- types/fabric/index.d.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/types/fabric/index.d.ts b/types/fabric/index.d.ts index 72bd64f20a..8b7c007cd7 100644 --- a/types/fabric/index.d.ts +++ b/types/fabric/index.d.ts @@ -1213,7 +1213,7 @@ export class StaticCanvas { * are initialized * @param [reviver] Method for further parsing of JSON elements, called after each fabric object created. */ - loadFromJSON(json: string|object, callback: () => void, reviver?: Function): this; + loadFromJSON(json: string|any, callback: () => void, reviver?: Function): this; /** * Clones canvas instance * @param [callback] Receives cloned instance as a first argument @@ -1709,31 +1709,31 @@ interface IImageOptions extends IObjectOptions { /** * crossOrigin value (one of "", "anonymous", "allow-credentials") */ - crossOrigin: string; + crossOrigin?: string; /** * AlignX value, part of preserveAspectRatio (one of "none", "mid", "min", "max") * This parameter defines how the picture is aligned to its viewport when image element width differs from image width. */ - alignX: string; + alignX?: string; /** * AlignY value, part of preserveAspectRatio (one of "none", "mid", "min", "max") * This parameter defines how the picture is aligned to its viewport when image element height differs from image height. */ - alignY: string; + alignY?: string; /** * meetOrSlice value, part of preserveAspectRatio (one of "meet", "slice"). * if meet the image is always fully visibile, if slice the viewport is always filled with image. * @see http://www.w3.org/TR/SVG/coords.html#PreserveAspectRatioAttribute */ - meetOrSlice: string; + meetOrSlice?: string; /** * Image filter array */ - filters: IBaseFilter[]; + filters?: IBaseFilter[]; } interface Image extends Object, IImageOptions {} export class Image { @@ -1997,7 +1997,7 @@ interface IObjectOptions { cornerColor?: string; /** - * Array specifying dash pattern of an object's control (hasBorder must be true) + * Array specifying dash pattern of an object's control (hasBorder must be true) */ cornerDashArray?: number[]; @@ -2007,7 +2007,7 @@ interface IObjectOptions { cornerSize?: number; /** - * Color of controlling corners of an object (when it's active and transparentCorners false) + * Color of controlling corners of an object (when it's active and transparentCorners false) */ cornerStrokeColor?: string; From 871c58a7b4c8ce83c8bfc94e51e1b13e9fe6fce9 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Wed, 31 Jan 2018 20:35:55 -0800 Subject: [PATCH 059/463] Refactor type defition to leverage namespaces --- types/eslint/eslint-tests.ts | 8 +- types/eslint/index.d.ts | 832 +++++++++++++++++++---------------- 2 files changed, 450 insertions(+), 390 deletions(-) diff --git a/types/eslint/eslint-tests.ts b/types/eslint/eslint-tests.ts index a1c4ddbbc8..46f960dbd4 100644 --- a/types/eslint/eslint-tests.ts +++ b/types/eslint/eslint-tests.ts @@ -15,6 +15,10 @@ const lines: string[] = sourceCode.getLines(); SourceCode.splitLines(SOURCE); +class Foo { + foo = 1; +} + // ============================================= // Linter // ============================================= @@ -89,7 +93,9 @@ CLIEngine.outputFixes(report); const ruleTester = new RuleTester({ parserOptions: { ecmaVersion: 2015 } }); -ruleTester.run("my-rule", {}, { +ruleTester.run("my-rule", { + create() {}, +}, { valid: [ { code: "var foo = true", diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index d6326c4ad5..d30abc5aa1 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -9,16 +9,16 @@ import { JSONSchema4 } from 'json-schema'; import * as ESTree from 'estree'; export type TokenType = - | 'Boolean' - | 'Null' - | 'Identifier' - | 'Keyword' - | 'Punctuator' - | 'JSXIdentifier' - | 'JSXText' - | 'Numeric' - | 'String' - | 'RegularExpression'; + | 'Boolean' + | 'Null' + | 'Identifier' + | 'Keyword' + | 'Punctuator' + | 'JSXIdentifier' + | 'JSXText' + | 'Numeric' + | 'String' + | 'RegularExpression'; export interface Token { type: TokenType; @@ -46,146 +46,81 @@ export interface Ast { range: Range; } -export type FilterPredicate = (tokenOrComment: Token | ESTree.Comment) => boolean; +export namespace Scope { + interface ScopeManager { + scopes: Scope[]; + globalScope: Scope | null; -export type CursorWithSkipOptions = number | FilterPredicate | { - includeComments?: boolean; - filter?: FilterPredicate; - skip?: number; -}; + acquire(node: ESTree.Node, inner?: boolean): Scope | null; -export type CursorWithCountOptions = number | FilterPredicate | { - includeComments?: boolean; - filter?: FilterPredicate; - count?: number; -}; + getDeclaredVariables(node: ESTree.Node): Variable[]; + } -export class TokenStore { - getTokenByRangeStart(offset: number, options?: { includeComments?: boolean }): Token | null; + interface Scope { + type: 'block' | 'catch' | 'class' | 'for' | 'function' | 'function-expression-name' | 'global' | 'module' | 'switch' | 'with' | 'TDZ'; + isStrict: boolean; + upper: Scope | null; + childScopes: Scope[]; + variableScope: Scope; + block: ESTree.Node; + variables: Variable[]; + set: Map; + references: Reference[]; + through: Reference[]; + functionExpressionScope: boolean; + } - getFirstToken(node: ESTree.Node, options: CursorWithSkipOptions): Token | null; + interface Variable { + name: string; + identifiers: ESTree.Identifier; + references: Reference[]; + defs: Definition[]; + } - getFirstTokens(node: ESTree.Node, options: CursorWithCountOptions): Token[]; + interface Reference { + identifier: ESTree.Identifier; + from: Scope; + resolved: Variable | null; + writeExpr: ESTree.Node | null; + init: boolean; - getLastToken(node: ESTree.Node, options: CursorWithSkipOptions): Token | null; + isWrite(): boolean; - getLastTokens(node: ESTree.Node, options: CursorWithCountOptions): Token[]; + isRead(): boolean; - getTokenBefore(node: ESTree.Node | Token | ESTree.Comment, options: CursorWithSkipOptions): Token | null; + isWriteOnly(): boolean; - getTokensBefore(node: ESTree.Node | Token | ESTree.Comment, options: CursorWithCountOptions): Token[]; + isReadOnly(): boolean; - getTokenAfter(node: ESTree.Node | Token | ESTree.Comment, options: CursorWithSkipOptions): Token | null; + isReadWrite(): boolean; + } - getTokensAfter(node: ESTree.Node | Token | ESTree.Comment, options: CursorWithCountOptions): Token[]; + type DefinitionType = + | { type: 'CatchClause', node: ESTree.CatchClause, parent: null } + | { type: 'ClassName', node: ESTree.ClassDeclaration | ESTree.ClassExpression, parent: null } + | { type: 'FunctionName', node: ESTree.FunctionDeclaration | ESTree.FunctionExpression, parent: null } + | { type: 'ImplicitGlobalVariable', node: ESTree.Program, parent: null } + | { type: 'ImportBinding', node: ESTree.ImportSpecifier | ESTree.ImportDefaultSpecifier | ESTree.ImportNamespaceSpecifier, parent: ESTree.ImportDeclaration } + | { type: 'Parameter', node: ESTree.FunctionDeclaration | ESTree.FunctionExpression | ESTree.ArrowFunctionExpression, parent: null } + | { type: 'TDZ', node: any, parent: null } + | { type: 'Variable', node: ESTree.VariableDeclarator, parent: ESTree.VariableDeclaration }; - getFirstTokenBetween(left: ESTree.Node | Token | ESTree.Comment, right: ESTree.Node | Token | ESTree.Comment, options: CursorWithSkipOptions): Token | null; - - getFirstTokensBetween(left: ESTree.Node | Token | ESTree.Comment, right: ESTree.Node | Token | ESTree.Comment, options: CursorWithCountOptions): Token[]; - - getLastTokenBetween(left: ESTree.Node | Token | ESTree.Comment, right: ESTree.Node | Token | ESTree.Comment, options: CursorWithSkipOptions): Token | null; - - getLastTokensBetween(left: ESTree.Node | Token | ESTree.Comment, right: ESTree.Node | Token | ESTree.Comment, options: CursorWithCountOptions): Token[]; - - getTokens(node: ESTree.Node, beforeCount?: number, afterCount?: number): Token[]; - getTokens(node: ESTree.Node, options: FilterPredicate | CursorWithCountOptions): Token[]; - - getTokensBetween(left: ESTree.Node | Token | ESTree.Comment, right: ESTree.Node | Token | ESTree.Comment, padding: number | FilterPredicate | CursorWithCountOptions): Token[]; - - commentsExistBetween(left: ESTree.Node, right: ESTree.Node): boolean; - - getCommentsBefore(nodeOrToken: ESTree.Node | Token): ESTree.Comment[]; - - getCommentsAfter(nodeOrToken: ESTree.Node | Token): ESTree.Comment[]; - - getCommentsInside(node: ESTree.Node): ESTree.Comment[]; + type Definition = DefinitionType & { name: ESTree.Identifier }; } -export interface SourceCodeConfig { - text: string; - ast: Ast; - parserServices?: ParserServices; - scopeManager?: ScopeManager; - visitorKeys?: VisitorKeys; -} +//#region SourceCode -export type ParserServices = any; - -export interface ScopeManager { - scopes: Scope[]; - globalScope: Scope | null; - - acquire(node: ESTree.Node, inner?: boolean): Scope | null; - - getDeclaredVariables(node: ESTree.Node): Variable[]; -} - -export interface Scope { - type: 'block' | 'catch' | 'class' | 'for' | 'function' | 'function-expression-name' | 'global' | 'module' | 'switch' | 'with' | 'TDZ'; - isStrict: boolean; - upper: Scope | null; - childScopes: Scope[]; - variableScope: Scope; - block: ESTree.Node; - variables: Variable[]; - set: Map; - references: Reference[]; - through: Reference[]; - functionExpressionScope: boolean; -} - -export interface Variable { - name: string; - identifiers: ESTree.Identifier; - references: Reference[]; - defs: Definition[]; -} - -export interface Reference { - identifier: ESTree.Identifier; - from: Scope; - resolved: Variable | null; - writeExpr: ESTree.Node | null; - init: boolean; - - isWrite(): boolean; - - isRead(): boolean; - - isWriteOnly(): boolean; - - isReadOnly(): boolean; - - isReadWrite(): boolean; -} - -export type DefinitionType = - | { type: 'CatchClause', node: ESTree.CatchClause, parent: null } - | { type: 'ClassName', node: ESTree.ClassDeclaration | ESTree.ClassExpression, parent: null } - | { type: 'FunctionName', node: ESTree.FunctionDeclaration | ESTree.FunctionExpression, parent: null } - | { type: 'ImplicitGlobalVariable', node: ESTree.Program, parent: null } - | { type: 'ImportBinding', node: ESTree.ImportSpecifier | ESTree.ImportDefaultSpecifier | ESTree.ImportNamespaceSpecifier, parent: ESTree.ImportDeclaration } - | { type: 'Parameter', node: ESTree.FunctionDeclaration | ESTree.FunctionExpression | ESTree.ArrowFunctionExpression, parent: null } - | { type: 'TDZ', node: any, parent: null } - | { type: 'Variable', node: ESTree.VariableDeclarator, parent: ESTree.VariableDeclaration }; - -export type Definition = DefinitionType & { name: ESTree.Identifier }; - -export interface VisitorKeys { - [nodeType: string]: string[]; -} - -export class SourceCode extends TokenStore { +export class SourceCode { text: string; ast: Ast; lines: string[]; hasBOM: boolean; - parserServices: ParserServices; - scopeManager: ScopeManager; - visitorKeys: VisitorKeys; + parserServices: SourceCode.ParserServices; + scopeManager: Scope.ScopeManager; + visitorKeys: SourceCode.VisitorKeys; constructor(text: string, ast: Ast); - constructor(config: SourceCodeConfig); + constructor(config: SourceCode.Config); static splitLines(text: string): string[]; @@ -206,317 +141,436 @@ export class SourceCode extends TokenStore { getLocFromIndex(index: number): Location; getIndexFromLoc(location: Location): number; + + // Inherited methods from TokenStore + // --------------------------------- + + getTokenByRangeStart(offset: number, options?: { includeComments?: boolean }): Token | null; + + getFirstToken(node: ESTree.Node, options: SourceCode.CursorWithSkipOptions): Token | null; + + getFirstTokens(node: ESTree.Node, options: SourceCode.CursorWithCountOptions): Token[]; + + getLastToken(node: ESTree.Node, options: SourceCode.CursorWithSkipOptions): Token | null; + + getLastTokens(node: ESTree.Node, options: SourceCode.CursorWithCountOptions): Token[]; + + getTokenBefore(node: ESTree.Node | Token | ESTree.Comment, options: SourceCode.CursorWithSkipOptions): Token | null; + + getTokensBefore(node: ESTree.Node | Token | ESTree.Comment, options: SourceCode.CursorWithCountOptions): Token[]; + + getTokenAfter(node: ESTree.Node | Token | ESTree.Comment, options: SourceCode.CursorWithSkipOptions): Token | null; + + getTokensAfter(node: ESTree.Node | Token | ESTree.Comment, options: SourceCode.CursorWithCountOptions): Token[]; + + getFirstTokenBetween( + left: ESTree.Node | Token | ESTree.Comment, + right: ESTree.Node | Token | ESTree.Comment, + options: SourceCode.CursorWithSkipOptions + ): Token | null; + + getFirstTokensBetween( + left: ESTree.Node | Token | ESTree.Comment, + right: ESTree.Node | Token | ESTree.Comment, + options: SourceCode.CursorWithCountOptions + ): Token[]; + + getLastTokenBetween( + left: ESTree.Node | Token | ESTree.Comment, + right: ESTree.Node | Token | ESTree.Comment, + options: SourceCode.CursorWithSkipOptions + ): Token | null; + + getLastTokensBetween( + left: ESTree.Node | Token | ESTree.Comment, + right: ESTree.Node | Token | ESTree.Comment, + options: SourceCode.CursorWithCountOptions + ): Token[]; + + getTokensBetween( + left: ESTree.Node | Token | ESTree.Comment, + right: ESTree.Node | Token | ESTree.Comment, + padding: number | SourceCode.FilterPredicate | SourceCode.CursorWithCountOptions + ): Token[]; + + getTokens(node: ESTree.Node, beforeCount?: number, afterCount?: number): Token[]; + getTokens(node: ESTree.Node, options: SourceCode.FilterPredicate | SourceCode.CursorWithCountOptions): Token[]; + + commentsExistBetween(left: ESTree.Node, right: ESTree.Node): boolean; + + getCommentsBefore(nodeOrToken: ESTree.Node | Token): ESTree.Comment[]; + + getCommentsAfter(nodeOrToken: ESTree.Node | Token): ESTree.Comment[]; + + getCommentsInside(node: ESTree.Node): ESTree.Comment[]; } -export type RuleLevel = 'off' | 'warn' | 'error' | 0 | 1 | 2; +export namespace SourceCode { + interface Config { + text: string; + ast: Ast; + parserServices?: ParserServices; + scopeManager?: Scope.ScopeManager; + visitorKeys?: VisitorKeys; + } -export interface ParserOptions { - ecmaVersion?: 3 | 5 | 6 | 7 | 8 | 9 | 2015 | 2016 | 2017 | 2018; - sourceType?: 'script' | 'module'; - ecmaFeatures?: { - globalReturn?: boolean; - impliedStrict?: boolean; - jsx?: boolean; - experimentalObjectRestSpread?: boolean; - [key: string]: any; + type ParserServices = any; + + interface VisitorKeys { + [nodeType: string]: string[]; + } + + type FilterPredicate = (tokenOrComment: Token | ESTree.Comment) => boolean; + + type CursorWithSkipOptions = number | FilterPredicate | { + includeComments?: boolean; + filter?: FilterPredicate; + skip?: number; }; - [key: string]: any; -} -export interface Config { - rules?: { - [name: string]: (RuleLevel | [RuleLevel, any]) + type CursorWithCountOptions = number | FilterPredicate | { + includeComments?: boolean; + filter?: FilterPredicate; + count?: number; }; - parser?: string; - parserOptions?: ParserOptions; - settings?: { [name: string]: any }; - env?: { [name: string]: boolean }; - globals?: { [name: string]: boolean }; } -export interface LintOptions { - filename?: string; - preprocess?: (code: string) => string[]; - postprocess?: (problemLists: LintMessage[][]) => LintMessage[]; - allowInlineConfig?: boolean; - reportUnusedDisableDirectives?: boolean; +//#endregion + +export namespace Rule { + interface RuleModule { + create(context: RuleContext): any; + meta?: RuleMetaData; + } + + interface RuleListener { + onCodePathStart?(codePath: CodePath, node: ESTree.Node): void; + + onCodePathEnd?(codePath: CodePath, node: ESTree.Node): void; + + onCodePathSegmentStart?(segment: CodePathSegment, node: ESTree.Node): void; + + onCodePathSegmentEnd?(segment: CodePathSegment, node: ESTree.Node): void; + + onCodePathSegmentLoop?(fromSegment: CodePathSegment, toSegment: CodePathSegment, node: ESTree.Node): void; + + [key: string]: + | ((codePath: CodePath, node: ESTree.Node) => void) + | ((segment: CodePathSegment, node: ESTree.Node) => void) + | ((fromSegment: CodePathSegment, toSegment: CodePathSegment, node: ESTree.Node) => void) + | ((node: ESTree.Node) => void) + | undefined; + } + + interface CodePath { + id: string; + initialSegment: CodePathSegment; + finalSegments: CodePathSegment[]; + returnedSegments: CodePathSegment[]; + thrownSegments: CodePathSegment[]; + currentSegments: CodePathSegment[]; + upper: CodePath | null; + childCodePaths: CodePath[]; + } + + interface CodePathSegment { + id: string; + nextSegments: CodePathSegment[]; + prevSegments: CodePathSegment[]; + reachable: boolean; + } + + interface RuleMetaData { + docs?: { + description?: string; + category?: string; + recommended?: boolean; + url?: string; + }; + messages?: { [messageId: string]: string }; + fixable?: 'code' | 'whitespace'; + schema?: JSONSchema4 | JSONSchema4[]; + deprecated?: boolean; + } + + interface RuleContext { + id: string; + options: any[]; + settings: { [name: string]: any }; + parserPath: string; + parserOptions: Linter.ParserOptions; + parserServices: SourceCode.ParserServices; + + getAncestors(): ESTree.Node[]; + + getDeclaredVariables(node: ESTree.Node): Scope.Variable[]; + + getFilename(): string; + + getScope(): Scope.Scope; + + getSourceCode(): SourceCode; + + markVariableAsUsed(name: string): boolean; + + report(descriptor: ReportDescriptor): void; + } + + type ReportDescriptor = ReportDescriptorMessage & ReportDescriptorLocation & ReportDescriptorOptions; + type ReportDescriptorMessage = { message: string } | { messageId: string }; + type ReportDescriptorLocation = { node: ESTree.Node } | { loc: SourceLocation | { line: number, column: number } }; + interface ReportDescriptorOptions { + data?: { [key: string]: string }; + + fix?(fixer: RuleFixer): null | Fix | IterableIterator; + } + + interface RuleFixer { + insertTextAfter(nodeOrToken: ESTree.Node | Token, text: string): Fix; + + insertTextAfterRange(range: Range, text: string): Fix; + + insertTextBefore(nodeOrToken: ESTree.Node | Token, text: string): Fix; + + insertTextBeforeRange(range: Range, text: string): Fix; + + remove(nodeOrToken: ESTree.Node | Token): Fix; + + removeRange(range: Range): Fix; + + replaceText(nodeOrToken: ESTree.Node | Token, text: string): Fix; + + replaceTextRange(range: Range, text: string): Fix; + } + + interface Fix { + range: Range; + text: string; + } } -export type Severity = 1 | 2; - -export interface LintMessage { - column: number; - line: number; - endColumn?: number; - endLine?: number; - ruleId: string | null; - message: string; - nodeType: string; - fatal?: true; - severity: Severity; - fix?: Fix; - source: string | null; -} - -export interface FixOptions extends LintOptions { - fix?: boolean; -} - -export interface Fix { - range: Range; - text: string; -} - -export interface FixReport { - fixed: boolean; - output: string; - messages: LintMessage[]; -} - -export interface RuleModule { - create(context: RuleContext): any; - meta?: RuleMetaData; -} - -export interface RuleListener { - onCodePathStart?(codePath: CodePath, node: ESTree.Node): void; - - onCodePathEnd?(codePath: CodePath, node: ESTree.Node): void; - - onCodePathSegmentStart?(segment: CodePathSegment, node: ESTree.Node): void; - - onCodePathSegmentEnd?(segment: CodePathSegment, node: ESTree.Node): void; - - onCodePathSegmentLoop?(fromSegment: CodePathSegment, toSegment: CodePathSegment, node: ESTree.Node): void; - - [key: string]: - | ((codePath: CodePath, node: ESTree.Node) => void) - | ((segment: CodePathSegment, node: ESTree.Node) => void) - | ((fromSegment: CodePathSegment, toSegment: CodePathSegment, node: ESTree.Node) => void) - | ((node: ESTree.Node) => void) - | undefined; -} - -export interface CodePath { - id: string; - initialSegment: CodePathSegment; - finalSegments: CodePathSegment[]; - returnedSegments: CodePathSegment[]; - thrownSegments: CodePathSegment[]; - currentSegments: CodePathSegment[]; - upper: CodePath | null; - childCodePaths: CodePath[]; -} - -export interface CodePathSegment { - id: string; - nextSegments: CodePathSegment[]; - prevSegments: CodePathSegment[]; - reachable: boolean; -} - -export interface RuleMetaData { - docs?: { - description?: string; - category?: string; - recommended?: boolean; - url?: string; - }; - messages?: { [messageId: string]: string }; - fixable?: 'code' | 'whitespace'; - schema?: JSONSchema4 | JSONSchema4[]; - deprecated?: boolean; -} - -export interface RuleContext { - id: string; - options: any[]; - settings: { [name: string]: any }; - parserPath: string; - parserOptions: ParserOptions; - parserServices: ParserServices; - - getAncestors(): ESTree.Node[]; - - getDeclaredVariables(node: ESTree.Node): Variable[]; - - getFilename(): string; - - getScope(): Scope; - - getSourceCode(): SourceCode; - - markVariableAsUsed(name: string): boolean; - - report(descriptor: ReportDescriptor): void; -} - -export type ReportDescriptor = ReportDescriptorMessage & ReportDescriptorLocation & ReportDescriptorOptions; -export type ReportDescriptorMessage = { message: string } | { messageId: string }; -export type ReportDescriptorLocation = { node: ESTree.Node } | { loc: SourceLocation | { line: number, column: number } }; -export interface ReportDescriptorOptions { - data?: { [key: string]: string }; - - fix?(fixer: RuleFixer): null | Fix | IterableIterator; -} - -export interface RuleFixer { - insertTextAfter(nodeOrToken: ESTree.Node | Token, text: string): Fix; - - insertTextAfterRange(range: Range, text: string): Fix; - - insertTextBefore(nodeOrToken: ESTree.Node | Token, text: string): Fix; - - insertTextBeforeRange(range: Range, text: string): Fix; - - remove(nodeOrToken: ESTree.Node | Token): Fix; - - removeRange(range: Range): Fix; - - replaceText(nodeOrToken: ESTree.Node | Token, text: string): Fix; - - replaceTextRange(range: Range, text: string): Fix; -} - -export type ParserModule = { - parse(text: string, options?: any): ESTree.Node; -} | { - parseForESLint(text: string, options?: any): ESLintParseResult; -}; - -export interface ESLintParseResult { - ast: ESTree.Node; - parserServices?: ParserServices; - scopeManager?: ScopeManager; - visitorKeys?: VisitorKeys; -} +//#region Linter export class Linter { version: string; - verify(code: SourceCode | string, config: Config, filename?: string): LintMessage[]; - verify(code: SourceCode | string, config: Config, options: LintOptions): LintMessage[]; + verify(code: SourceCode | string, config: Linter.Config, filename?: string): Linter.LintMessage[]; + verify(code: SourceCode | string, config: Linter.Config, options: Linter.LintOptions): Linter.LintMessage[]; - verifyAndFix(code: string, config: Config, filename?: string): FixReport; - verifyAndFix(code: string, config: Config, options: FixOptions): FixReport; + verifyAndFix(code: string, config: Linter.Config, filename?: string): Linter.FixReport; + verifyAndFix(code: string, config: Linter.Config, options: Linter.FixOptions): Linter.FixReport; getSourceCode(): SourceCode; - defineRule(name: string, rule: RuleModule): void; + defineRule(name: string, rule: Rule.RuleModule): void; - defineRules(rules: { [name: string]: RuleModule }): void; + defineRules(rules: { [name: string]: Rule.RuleModule }): void; - getRules(): Map; + getRules(): Map; - defineParser(name: string, parser: ParserModule): void; + defineParser(name: string, parser: Linter.ParserModule): void; } -export class CLIEngineOptions { - allowInlineConfig?: boolean; - baseConfig?: boolean; - cache?: boolean; - cacheFile?: string; - cacheLocation?: string; - configFile?: string; - cwd?: string; - envs?: string[]; - extensions?: string[]; - fix?: boolean; - globals?: string[]; - ignore?: boolean; - ignorePath?: string; - ignorePattern?: string; - useEslintrc?: boolean; - parser?: string; - parserOptions?: ParserOptions; - plugins?: string[]; - rules?: { - [name: string]: (RuleLevel | [RuleLevel, any]); +export namespace Linter { + type Severity = 0 | 1 | 2; + type RuleLevel = Severity | 'off' | 'warn' | 'error'; + + interface RuleLevelAndOptions extends Array { + 0: RuleLevel; + } + + interface Config { + rules?: { + [name: string]: RuleLevel | RuleLevelAndOptions + }; + parser?: string; + parserOptions?: ParserOptions; + settings?: { [name: string]: any }; + env?: { [name: string]: boolean }; + globals?: { [name: string]: boolean }; + } + + interface ParserOptions { + ecmaVersion?: 3 | 5 | 6 | 7 | 8 | 9 | 2015 | 2016 | 2017 | 2018; + sourceType?: 'script' | 'module'; + ecmaFeatures?: { + globalReturn?: boolean; + impliedStrict?: boolean; + jsx?: boolean; + experimentalObjectRestSpread?: boolean; + [key: string]: any; + }; + [key: string]: any; + } + + interface LintOptions { + filename?: string; + preprocess?: (code: string) => string[]; + postprocess?: (problemLists: LintMessage[][]) => LintMessage[]; + allowInlineConfig?: boolean; + reportUnusedDisableDirectives?: boolean; + } + + interface LintMessage { + column: number; + line: number; + endColumn?: number; + endLine?: number; + ruleId: string | null; + message: string; + nodeType: string; + fatal?: true; + severity: Severity; + fix?: Rule.Fix; + source: string | null; + } + + interface FixOptions extends LintOptions { + fix?: boolean; + } + + interface FixReport { + fixed: boolean; + output: string; + messages: LintMessage[]; + } + + type ParserModule = { + parse(text: string, options?: any): ESTree.Node; + } | { + parseForESLint(text: string, options?: any): ESLintParseResult; }; - rulePaths?: string[]; - reportUnusedDisableDirectives?: true; + + interface ESLintParseResult { + ast: ESTree.Node; + parserServices?: SourceCode.ParserServices; + scopeManager?: Scope.ScopeManager; + visitorKeys?: SourceCode.VisitorKeys; + } } -export interface LintResult { - filePath: string; - messages: LintMessage[]; - errorCount: number; - warningCount: number; - fixableErrorCount: number; - fixableWarningCount: number; - output?: string; - source?: string; -} +//#endregion -export interface LintReport { - results: LintResult[]; - errorCount: number; - warningCount: number; - fixableErrorCount: number; - fixableWarningCount: number; -} - -export type Formatter = (results: LintResult[]) => string; +//#region CLIEngine export class CLIEngine { version: string; - constructor(options: CLIEngineOptions); + constructor(options: CLIEngine.Options); - executeOnFiles(patterns: string[]): LintReport; + executeOnFiles(patterns: string[]): CLIEngine.LintReport; resolveFileGlobPatterns(patterns: string[]): string[]; - getConfigForFile(filePath: string): Config; + getConfigForFile(filePath: string): Linter.Config; - executeOnText(text: string, filename?: string): LintReport; + executeOnText(text: string, filename?: string): CLIEngine.LintReport; addPlugin(name: string, pluginObject: any): void; isPathIgnored(filePath: string): boolean; - getFormatter(format: string): Formatter; + getFormatter(format: string): CLIEngine.Formatter; - static getErrorResults(results: LintResult[]): LintResult[]; + getRules(): Map; - static outputFixes(report: LintReport): void; + static getErrorResults(results: CLIEngine.LintResult[]): CLIEngine.LintResult[]; - getRules(): Map; + static outputFixes(report: CLIEngine.LintReport): void; } -export interface ValidTestCase { - code: string; - options?: any; - filename?: string; - parserOptions?: ParserOptions; - settings?: { [name: string]: any }; - parser?: string; - globals?: { [name: string]: boolean }; +export namespace CLIEngine { + class Options { + allowInlineConfig?: boolean; + baseConfig?: boolean; + cache?: boolean; + cacheFile?: string; + cacheLocation?: string; + configFile?: string; + cwd?: string; + envs?: string[]; + extensions?: string[]; + fix?: boolean; + globals?: string[]; + ignore?: boolean; + ignorePath?: string; + ignorePattern?: string; + useEslintrc?: boolean; + parser?: string; + parserOptions?: Linter.ParserOptions; + plugins?: string[]; + rules?: { + [name: string]: (Linter.RuleLevel | [Linter.RuleLevel, any]); + }; + rulePaths?: string[]; + reportUnusedDisableDirectives?: true; + } + + interface LintResult { + filePath: string; + messages: Linter.LintMessage[]; + errorCount: number; + warningCount: number; + fixableErrorCount: number; + fixableWarningCount: number; + output?: string; + source?: string; + } + + interface LintReport { + results: LintResult[]; + errorCount: number; + warningCount: number; + fixableErrorCount: number; + fixableWarningCount: number; + } + + type Formatter = (results: LintResult[]) => string; } -export interface TestCaseError { - message?: string | RegExp; - messageId?: string; - type?: string; - data?: any; - line?: number; - column?: number; - endLine?: number; - endColumn?: number; -} +//#endregion -export interface InvalidTestCase extends ValidTestCase { - errors: number | Array; - output?: string; -} - -export interface Test { - valid?: ValidTestCase[]; - invalid: InvalidTestCase[]; -} +//#region RuleTester export class RuleTester { constructor(config?: any); - run(name: string, rule: any, tests: Test): void; + run( + name: string, + rule: Rule.RuleModule, + tests: { + valid?: RuleTester.ValidTestCase[]; + invalid?: RuleTester.InvalidTestCase[]; + }, + ): void; } + +export namespace RuleTester { + interface ValidTestCase { + code: string; + options?: any; + filename?: string; + parserOptions?: Linter.ParserOptions; + settings?: { [name: string]: any }; + parser?: string; + globals?: { [name: string]: boolean }; + } + + interface InvalidTestCase extends ValidTestCase { + errors: number | Array; + output?: string; + } + + interface TestCaseError { + message?: string | RegExp; + messageId?: string; + type?: string; + data?: any; + line?: number; + column?: number; + endLine?: number; + endColumn?: number; + } +} + +//#endregion From 7e25fc0f25f9e297200cbfeec65151114a327207 Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Thu, 1 Feb 2018 08:25:36 +0200 Subject: [PATCH 060/463] Windows Script Host objects --- .../activex-iwshruntimelibrary-tests.ts | 50 ++++++++++++++++++- types/activex-iwshruntimelibrary/index.d.ts | 44 +++++++++++++++- 2 files changed, 90 insertions(+), 4 deletions(-) diff --git a/types/activex-iwshruntimelibrary/activex-iwshruntimelibrary-tests.ts b/types/activex-iwshruntimelibrary/activex-iwshruntimelibrary-tests.ts index 2677274321..f39627cc1a 100644 --- a/types/activex-iwshruntimelibrary/activex-iwshruntimelibrary-tests.ts +++ b/types/activex-iwshruntimelibrary/activex-iwshruntimelibrary-tests.ts @@ -1,3 +1,49 @@ -let obj1 = new ActiveXObject('WScript.Network'); +const wshn = new ActiveXObject('WScript.Network'); -let obj2 = new ActiveXObject('WScript.Shell'); +// https://msdn.microsoft.com/en-us/library/s6wt333f(v=vs.84).aspx +// https://msdn.microsoft.com/en-us/library/wck0hkd7(v=vs.84).aspx +// https://msdn.microsoft.com/en-us/library/tte130y1(v=vs.84).aspx +// https://msdn.microsoft.com/en-us/library/3fxhka75(v=vs.84).aspx +(() => { + WScript.Echo('Domain = ' + wshn.UserDomain); + WScript.Echo('Computer Name = ' + wshn.ComputerName); + WScript.Echo('User Name = ' + wshn.UserName); +})(); + +// https://msdn.microsoft.com/en-us/library/zsdh7hkb(v=vs.84).aspx +wshn.AddWindowsPrinterConnection('\\\\printserv\\DefaultPrinter'); + +// https://msdn.microsoft.com/en-us/library/kxsdca3c(v=vs.84).aspx +wshn.AddPrinterConnection("LPT1", "\\\\Server\\Print1"); + +// https://msdn.microsoft.com/en-us/library/t9zt39at(v=vs.84).aspx +// https://msdn.microsoft.com/en-us/library/zhds6k80(v=vs.84).aspx +(() => { + const drives = wshn.EnumNetworkDrives(); + const printers = wshn.EnumPrinterConnections(); + WScript.Echo("Network drive mappings:"); + for (let i = 0; i < drives.length; i += 2) { + WScript.Echo(`Drive ${drives.Item(i)} = ${drives.Item(i + 1)}`); + } + WScript.Echo(''); + WScript.Echo("Network printer mappings:"); + for (let i = 0; i < printers.length; i += 2) { + WScript.Echo(`Port ${printers.Item(i)} = ${printers.Item(i + 1)}`); + } +})(); + +// https://msdn.microsoft.com/en-us/library/8kst88h6(v=vs.84).aspx +wshn.MapNetworkDrive('E:', '\\\\Server\\Public'); + +// https://msdn.microsoft.com/en-us/library/d16d7wbf(v=vs.84).aspx +wshn.RemoveNetworkDrive('E:'); + +// https://msdn.microsoft.com/en-us/library/tsbh2yy7(v=vs.84).aspx +wshn.RemovePrinterConnection('\\\\PRN-CORP1\\B41-4523-A', true, true); + +// https://msdn.microsoft.com/en-us/library/2ccwwdct(v=vs.84).aspx +(() => { + const printerPath = "\\\\research\\library1"; + wshn.AddWindowsPrinterConnection(printerPath); + wshn.SetDefaultPrinter(printerPath); +})(); diff --git a/types/activex-iwshruntimelibrary/index.d.ts b/types/activex-iwshruntimelibrary/index.d.ts index ddcd30a978..1f8f6b32b7 100644 --- a/types/activex-iwshruntimelibrary/index.d.ts +++ b/types/activex-iwshruntimelibrary/index.d.ts @@ -114,19 +114,59 @@ declare namespace IWshRuntimeLibrary { class WshNetwork { private 'IWshRuntimeLibrary.WshNetwork_typekey': WshNetwork; private constructor(); - AddPrinterConnection(LocalName: string, RemoteName: string, UpdateProfile?: any, UserName?: any, Password?: any): void; /** + * Adds a remote MS-DOS-based printer connection to your computer system. + * @param LocalName Local name to assign to the connected printer. + * @param RemoteName Name of the remote printer. + * @param UpdateProfile [false] Whether the printer mapping is stored in the current user's profile. + * + * If you are mapping a remote printer using the profile of someone other than current user, you can specify _UserName_ and _Password_. + */ + AddPrinterConnection(LocalName: string, RemoteName: string, UpdateProfile?: boolean, UserName?: string, Password?: string): void; + + /** + * @param string Path to printer connection * @param string [DriverName=''] * @param string [Port='LPT1'] + * + * Unlike the **AddPrinterConnection** method, this method allows you to create a printer connection without directing it to a specific port, such as LPT1. */ AddWindowsPrinterConnection(PrinterName: string, DriverName?: string, Port?: string): void; readonly ComputerName: string; EnumNetworkDrives(): WshCollection; EnumPrinterConnections(): WshCollection; - MapNetworkDrive(LocalName: string, RemoteName: string, UpdateProfile?: any, UserName?: any, Password?: any): void; + + /** + * Adds a remote MS-DOS-based printer connection to your computer system. + * @param LocalName Name by which the mapped drive will be known locally + * @param RemoteName Share's UNC name (\\xxx\yyy) + * @param UpdateProfile [false] Whether the printer mapping is stored in the current user's profile. + * + * If you are mapping a network drive using the profile of someone other than current user, you can specify _UserName_ and _Password_. + */ + MapNetworkDrive(LocalName: string, RemoteName: string, UpdateProfile?: boolean, UserName?: string, Password?: string): void; readonly Organization: string; + + /** + * Removes a shared network drive from your computer system + * @param Name Name of the mapped drive you want to remove. This will be the drive letter if the drive has a mapping between a local name (drive letter) and a remote name (UNC name); + * it will be the UNC path if there is no such mapping + * @param Force [false] Remove the connections even if the resource is in use + * @param UpdateProfile [false] Remove the mapping from the user's profile + */ RemoveNetworkDrive(Name: string, Force?: any, UpdateProfile?: any): void; + + /** + * Removes a shared network printer connection from your computer system + * @param Name Name that identifies the printer. Can be a UNC name (in the form `\\xxx\yyy`) or a local name (such as `LPT1`) + * @param Force [false] Remove printer connection even if a user is still connected + * @param UpdateProfile [false] Remove the printer connection from the user's profile + * + * The **RemovePrinterConnection** method removes both Windows and MS-DOS based printer connections. If the printer was connected using the method **AddPrinterConnection**, + * _Name_ must be the printer's local name. If the printer was connected using the **AddWindowsPrinterConnection** method or was added manually (using the Add Printer wizard), + * then _Name_ must be the printer's UNC name. + */ RemovePrinterConnection(Name: string, Force?: any, UpdateProfile?: any): void; SetDefaultPrinter(Name: string): void; readonly Site: string; From 21926f39a116d76b682304b5ed4543cb9282dff7 Mon Sep 17 00:00:00 2001 From: Olegs Jeremejevs Date: Thu, 1 Feb 2018 15:09:04 +0200 Subject: [PATCH 061/463] [bluebird-global] Fix finally Needed for TS 2.7. --- types/bluebird-global/index.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/types/bluebird-global/index.d.ts b/types/bluebird-global/index.d.ts index c0e220ce07..e2063b7876 100644 --- a/types/bluebird-global/index.d.ts +++ b/types/bluebird-global/index.d.ts @@ -65,7 +65,7 @@ declare global { each: typeof Bluebird.prototype.each; error: typeof Bluebird.prototype.error; filter: typeof Bluebird.prototype.filter; - finally: typeof Bluebird.prototype.finally; + // finally: typeof Bluebird.prototype.finally; get: typeof Bluebird.prototype.get; isCancelled: typeof Bluebird.prototype.isCancelled; isFulfilled: typeof Bluebird.prototype.isFulfilled; @@ -124,6 +124,11 @@ declare global { catch(ErrorClass: new (...args: any[]) => E, onReject: (error: E) => U | PromiseLike): Bluebird; catch(predicate: Object, onReject: (error: any) => T | PromiseLike | void | PromiseLike): Bluebird; catch(predicate: Object, onReject: (error: any) => U | PromiseLike): Bluebird; + + /* + * See comments above `then` for the reason why this is needed. Taken from esnext.promise.d.ts. + */ + finally(onfinally?: (() => void) | undefined | null): Bluebird; } /* From 596b65ef7ad2a5cff56c996ff3607a0865dcf258 Mon Sep 17 00:00:00 2001 From: Olegs Jeremejevs Date: Thu, 1 Feb 2018 16:06:16 +0200 Subject: [PATCH 062/463] [bluebird-global] Fix trailing whitespace --- types/bluebird-global/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/bluebird-global/index.d.ts b/types/bluebird-global/index.d.ts index e2063b7876..04ad9d5dc2 100644 --- a/types/bluebird-global/index.d.ts +++ b/types/bluebird-global/index.d.ts @@ -124,7 +124,7 @@ declare global { catch(ErrorClass: new (...args: any[]) => E, onReject: (error: E) => U | PromiseLike): Bluebird; catch(predicate: Object, onReject: (error: any) => T | PromiseLike | void | PromiseLike): Bluebird; catch(predicate: Object, onReject: (error: any) => U | PromiseLike): Bluebird; - + /* * See comments above `then` for the reason why this is needed. Taken from esnext.promise.d.ts. */ From 3924d55ba2048ee3b875e795a574631ae3264ed4 Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Thu, 1 Feb 2018 16:15:20 +0200 Subject: [PATCH 063/463] Remove interface-name rule --- types/activex-faxcomexlib/tslint.json | 1 - 1 file changed, 1 deletion(-) diff --git a/types/activex-faxcomexlib/tslint.json b/types/activex-faxcomexlib/tslint.json index adbe5826d4..ed91c31f9c 100644 --- a/types/activex-faxcomexlib/tslint.json +++ b/types/activex-faxcomexlib/tslint.json @@ -1,7 +1,6 @@ { "extends": "dtslint/dt.json", "rules": { - "interface-name": [false], "no-const-enum": false } } \ No newline at end of file From 439a64a164a5ae775fe9abb27c2b9d5178ffe888 Mon Sep 17 00:00:00 2001 From: Florian Oellerich Date: Thu, 1 Feb 2018 15:02:44 +0100 Subject: [PATCH 064/463] [http-proxy] update options Update options to version 1.16.2 of node-http-proxy --- types/http-proxy/index.d.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/types/http-proxy/index.d.ts b/types/http-proxy/index.d.ts index 811789af33..e9ef9a572d 100644 --- a/types/http-proxy/index.d.ts +++ b/types/http-proxy/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for node-http-proxy 1.12 +// Type definitions for node-http-proxy 1.16 // Project: https://github.com/nodejitsu/node-http-proxy -// Definitions by: Maxime LUCE +// Definitions by: Maxime LUCE , Florian Oellerich // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// @@ -189,6 +189,8 @@ declare namespace Server { localAddress?: boolean; /** Changes the origin of the host header to the target URL. */ changeOrigin?: boolean; + /** specify whether you want to keep letter case of response header key */ + preserveHeaderKeyCase?: boolean; /** Basic authentication i.e. 'user:password' to compute an Authorization header. */ auth?: string; /** Rewrites the location hostname on (301 / 302 / 307 / 308) redirects, Default: null. */ @@ -197,6 +199,10 @@ declare namespace Server { autoRewrite?: boolean; /** Rewrites the location protocol on (301 / 302 / 307 / 308) redirects to 'http' or 'https'.Default: null. */ protocolRewrite?: string; + /** rewrites domain of set-cookie headers. */ + cookieDomainRewrite?: false | string | {[oldDomain: string]: string}; + /** object with extra headers to be added to target requests. */ + headers?: {[header: string]: string}; /** Timeout (in milliseconds) when proxy receives no response from target. Default: 120000 (2 minutes) */ proxyTimeout?: number; } From 42b6261b29a0f9df53fbb7be0b1fde1788f1cdab Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Thu, 1 Feb 2018 16:43:36 +0200 Subject: [PATCH 065/463] Cleared tslint.json rules --- types/activex-faxcomexlib/index.d.ts | 21 ++++++++++++++++++++ types/activex-faxcomexlib/tslint.json | 5 +---- types/activex-iwshruntimelibrary/index.d.ts | 6 ++++++ types/activex-iwshruntimelibrary/tslint.json | 6 +----- 4 files changed, 29 insertions(+), 9 deletions(-) diff --git a/types/activex-faxcomexlib/index.d.ts b/types/activex-faxcomexlib/index.d.ts index 44fa176dab..237c841fda 100644 --- a/types/activex-faxcomexlib/index.d.ts +++ b/types/activex-faxcomexlib/index.d.ts @@ -7,6 +7,7 @@ /// declare namespace FAXCOMEXLib { + // tslint:disable-next-line no-const-enum const enum FAX_ACCESS_RIGHTS_ENUM { farMANAGE_CONFIG = 64, farMANAGE_IN_ARCHIVE = 256, @@ -21,6 +22,7 @@ declare namespace FAXCOMEXLib { farSUBMIT_NORMAL = 2, } + // tslint:disable-next-line no-const-enum const enum FAX_ACCESS_RIGHTS_ENUM_2 { far2MANAGE_ARCHIVES = 256, far2MANAGE_CONFIG = 64, @@ -34,6 +36,7 @@ declare namespace FAXCOMEXLib { far2SUBMIT_NORMAL = 2, } + // tslint:disable-next-line no-const-enum const enum FAX_ACCOUNT_EVENTS_TYPE_ENUM { faetFXSSVC_ENDED = 16, faetIN_ARCHIVE = 4, @@ -43,18 +46,21 @@ declare namespace FAXCOMEXLib { faetOUT_QUEUE = 2, } + // tslint:disable-next-line no-const-enum const enum FAX_COVERPAGE_TYPE_ENUM { fcptLOCAL = 1, fcptNONE = 0, fcptSERVER = 2, } + // tslint:disable-next-line no-const-enum const enum FAX_DEVICE_RECEIVE_MODE_ENUM { fdrmAUTO_ANSWER = 1, fdrmMANUAL_ANSWER = 2, fdrmNO_ANSWER = 0, } + // tslint:disable-next-line no-const-enum const enum FAX_GROUP_STATUS_ENUM { fgsALL_DEV_NOT_VALID = 2, fgsALL_DEV_VALID = 0, @@ -62,6 +68,7 @@ declare namespace FAXCOMEXLib { fgsSOME_DEV_NOT_VALID = 3, } + // tslint:disable-next-line no-const-enum const enum FAX_JOB_EXTENDED_STATUS_ENUM { fjesANSWERED = 5, fjesBAD_ADDRESS = 10, @@ -86,6 +93,7 @@ declare namespace FAXCOMEXLib { fjesTRANSMITTING = 4, } + // tslint:disable-next-line no-const-enum const enum FAX_JOB_OPERATIONS_ENUM { fjoDELETE = 16, fjoPAUSE = 2, @@ -96,6 +104,7 @@ declare namespace FAXCOMEXLib { fjoVIEW = 1, } + // tslint:disable-next-line no-const-enum const enum FAX_JOB_STATUS_ENUM { fjsCANCELED = 512, fjsCANCELING = 1024, @@ -110,12 +119,14 @@ declare namespace FAXCOMEXLib { fjsROUTING = 2048, } + // tslint:disable-next-line no-const-enum const enum FAX_JOB_TYPE_ENUM { fjtRECEIVE = 1, fjtROUTING = 2, fjtSEND = 0, } + // tslint:disable-next-line no-const-enum const enum FAX_LOG_LEVEL_ENUM { fllMAX = 3, fllMED = 2, @@ -123,12 +134,14 @@ declare namespace FAXCOMEXLib { fllNONE = 0, } + // tslint:disable-next-line no-const-enum const enum FAX_PRIORITY_TYPE_ENUM { fptHIGH = 2, fptLOW = 0, fptNORMAL = 1, } + // tslint:disable-next-line no-const-enum const enum FAX_PROVIDER_STATUS_ENUM { fpsBAD_GUID = 2, fpsBAD_VERSION = 3, @@ -139,16 +152,19 @@ declare namespace FAXCOMEXLib { fpsSUCCESS = 0, } + // tslint:disable-next-line no-const-enum const enum FAX_RECEIPT_TYPE_ENUM { frtMAIL = 1, frtMSGBOX = 4, frtNONE = 0, } + // tslint:disable-next-line no-const-enum const enum FAX_ROUTING_RULE_CODE_ENUM { frrcANY_CODE = 0, } + // tslint:disable-next-line no-const-enum const enum FAX_RULE_STATUS_ENUM { frsALL_GROUP_DEV_NOT_VALID = 2, frsBAD_DEVICE = 4, @@ -157,12 +173,14 @@ declare namespace FAXCOMEXLib { frsVALID = 0, } + // tslint:disable-next-line no-const-enum const enum FAX_SCHEDULE_TYPE_ENUM { fstDISCOUNT_PERIOD = 2, fstNOW = 0, fstSPECIFIC_TIME = 1, } + // tslint:disable-next-line no-const-enum const enum FAX_SERVER_APIVERSION_ENUM { fsAPI_VERSION_0 = 0, fsAPI_VERSION_1 = 65536, @@ -170,6 +188,7 @@ declare namespace FAXCOMEXLib { fsAPI_VERSION_3 = 196608, } + // tslint:disable-next-line no-const-enum const enum FAX_SERVER_EVENTS_TYPE_ENUM { fsetACTIVITY = 8, fsetCONFIG = 4, @@ -184,12 +203,14 @@ declare namespace FAXCOMEXLib { fsetQUEUE_STATE = 16, } + // tslint:disable-next-line no-const-enum const enum FAX_SMTP_AUTHENTICATION_TYPE_ENUM { fsatANONYMOUS = 0, fsatBASIC = 1, fsatNTLM = 2, } + // tslint:disable-next-line no-const-enum const enum FaxConstants { bstrGROUPNAME_ALLDEVICES = '', lDEFAULT_PREFETCH_SIZE = 100, diff --git a/types/activex-faxcomexlib/tslint.json b/types/activex-faxcomexlib/tslint.json index ed91c31f9c..e60c15844f 100644 --- a/types/activex-faxcomexlib/tslint.json +++ b/types/activex-faxcomexlib/tslint.json @@ -1,6 +1,3 @@ { - "extends": "dtslint/dt.json", - "rules": { - "no-const-enum": false - } + "extends": "dtslint/dt.json" } \ No newline at end of file diff --git a/types/activex-iwshruntimelibrary/index.d.ts b/types/activex-iwshruntimelibrary/index.d.ts index 1f8f6b32b7..c50c9670a2 100644 --- a/types/activex-iwshruntimelibrary/index.d.ts +++ b/types/activex-iwshruntimelibrary/index.d.ts @@ -5,6 +5,7 @@ // TypeScript Version: 2.6 declare namespace IWshRuntimeLibrary { + // tslint:disable-next-line no-const-enum const enum ButtonType { OK, OKCancel, @@ -15,6 +16,7 @@ declare namespace IWshRuntimeLibrary { CancelTryagainContinue } + // tslint:disable-next-line no-const-enum const enum IconType { Stop = 16, QuestionMark = 32, @@ -22,6 +24,7 @@ declare namespace IWshRuntimeLibrary { InformationMark = 64, } + // tslint:disable-next-line no-const-enum const enum PopupType { SecondButtonDefault = 256, ThirdButtonDefault = 512, @@ -30,6 +33,7 @@ declare namespace IWshRuntimeLibrary { RTL = 1048576, } + // tslint:disable-next-line no-const-enum const enum PopupSelection { NoButton = -1, OK = 1, @@ -43,12 +47,14 @@ declare namespace IWshRuntimeLibrary { Continue = 11, } + // tslint:disable-next-line no-const-enum const enum WshExecStatus { WshFailed = 2, WshFinished = 1, WshRunning = 0, } + // tslint:disable-next-line no-const-enum const enum WshWindowStyle { WshHide = 0, WshMaximizedFocus = 3, diff --git a/types/activex-iwshruntimelibrary/tslint.json b/types/activex-iwshruntimelibrary/tslint.json index adbe5826d4..e60c15844f 100644 --- a/types/activex-iwshruntimelibrary/tslint.json +++ b/types/activex-iwshruntimelibrary/tslint.json @@ -1,7 +1,3 @@ { - "extends": "dtslint/dt.json", - "rules": { - "interface-name": [false], - "no-const-enum": false - } + "extends": "dtslint/dt.json" } \ No newline at end of file From 4e6dd4d9bc9736fcfe063ffec6850b2c298cebde Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Thu, 1 Feb 2018 07:27:21 -0800 Subject: [PATCH 066/463] Add namespace for AST and intrgrate misc feedback --- types/eslint/index.d.ts | 161 ++++++++++++++++++++-------------------- 1 file changed, 79 insertions(+), 82 deletions(-) diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index d30abc5aa1..2ef75b2612 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -8,42 +8,39 @@ import { JSONSchema4 } from 'json-schema'; import * as ESTree from 'estree'; -export type TokenType = - | 'Boolean' - | 'Null' - | 'Identifier' - | 'Keyword' - | 'Punctuator' - | 'JSXIdentifier' - | 'JSXText' - | 'Numeric' - | 'String' - | 'RegularExpression'; +export namespace AST { + export type TokenType = + | 'Boolean' + | 'Null' + | 'Identifier' + | 'Keyword' + | 'Punctuator' + | 'JSXIdentifier' + | 'JSXText' + | 'Numeric' + | 'String' + | 'RegularExpression'; -export interface Token { - type: TokenType; - value: string; - range: Range; - loc: SourceLocation; -} + export interface Token { + type: TokenType; + value: string; + range: Range; + loc: SourceLocation; + } -export interface SourceLocation { - start: Location; - end: Location; -} + export interface SourceLocation { + start: ESTree.Position; + end: ESTree.Position; + } -export interface Location { - line: number; - column: number; -} + export type Range = [number, number]; -export type Range = [number, number]; - -export interface Ast { - comments: ESTree.Comment[]; - tokens: Token[]; - loc: SourceLocation; - range: Range; + export interface Program extends ESTree.Program { + comments: ESTree.Comment[]; + tokens: Token[]; + loc: SourceLocation; + range: Range; + } } export namespace Scope { @@ -112,14 +109,14 @@ export namespace Scope { export class SourceCode { text: string; - ast: Ast; + ast: AST.Program; lines: string[]; hasBOM: boolean; parserServices: SourceCode.ParserServices; scopeManager: Scope.ScopeManager; visitorKeys: SourceCode.VisitorKeys; - constructor(text: string, ast: Ast); + constructor(text: string, ast: AST.Program); constructor(config: SourceCode.Config); static splitLines(text: string): string[]; @@ -132,75 +129,75 @@ export class SourceCode { getComments(node: ESTree.Node): { leading: ESTree.Comment[], trailing: ESTree.Comment[] }; - getJSDocComment(node: ESTree.Node): Token | null; + getJSDocComment(node: ESTree.Node): AST.Token | null; getNodeByRangeIndex(index: number): ESTree.Node | null; - isSpaceBetweenTokens(first: Token, second: Token): boolean; + isSpaceBetweenTokens(first: AST.Token, second: AST.Token): boolean; - getLocFromIndex(index: number): Location; + getLocFromIndex(index: number): ESTree.SourceLocation; - getIndexFromLoc(location: Location): number; + getIndexFromLoc(location: ESTree.SourceLocation): number; // Inherited methods from TokenStore // --------------------------------- - getTokenByRangeStart(offset: number, options?: { includeComments?: boolean }): Token | null; + getTokenByRangeStart(offset: number, options?: { includeComments?: boolean }): AST.Token | null; - getFirstToken(node: ESTree.Node, options: SourceCode.CursorWithSkipOptions): Token | null; + getFirstToken(node: ESTree.Node, options: SourceCode.CursorWithSkipOptions): AST.Token | null; - getFirstTokens(node: ESTree.Node, options: SourceCode.CursorWithCountOptions): Token[]; + getFirstTokens(node: ESTree.Node, options: SourceCode.CursorWithCountOptions): AST.Token[]; - getLastToken(node: ESTree.Node, options: SourceCode.CursorWithSkipOptions): Token | null; + getLastToken(node: ESTree.Node, options: SourceCode.CursorWithSkipOptions): AST.Token | null; - getLastTokens(node: ESTree.Node, options: SourceCode.CursorWithCountOptions): Token[]; + getLastTokens(node: ESTree.Node, options: SourceCode.CursorWithCountOptions): AST.Token[]; - getTokenBefore(node: ESTree.Node | Token | ESTree.Comment, options: SourceCode.CursorWithSkipOptions): Token | null; + getTokenBefore(node: ESTree.Node | AST.Token | ESTree.Comment, options: SourceCode.CursorWithSkipOptions): AST.Token | null; - getTokensBefore(node: ESTree.Node | Token | ESTree.Comment, options: SourceCode.CursorWithCountOptions): Token[]; + getTokensBefore(node: ESTree.Node | AST.Token | ESTree.Comment, options: SourceCode.CursorWithCountOptions): AST.Token[]; - getTokenAfter(node: ESTree.Node | Token | ESTree.Comment, options: SourceCode.CursorWithSkipOptions): Token | null; + getTokenAfter(node: ESTree.Node | AST.Token | ESTree.Comment, options: SourceCode.CursorWithSkipOptions): AST.Token | null; - getTokensAfter(node: ESTree.Node | Token | ESTree.Comment, options: SourceCode.CursorWithCountOptions): Token[]; + getTokensAfter(node: ESTree.Node | AST.Token | ESTree.Comment, options: SourceCode.CursorWithCountOptions): AST.Token[]; getFirstTokenBetween( - left: ESTree.Node | Token | ESTree.Comment, - right: ESTree.Node | Token | ESTree.Comment, + left: ESTree.Node | AST.Token | ESTree.Comment, + right: ESTree.Node | AST.Token | ESTree.Comment, options: SourceCode.CursorWithSkipOptions - ): Token | null; + ): AST.Token | null; getFirstTokensBetween( - left: ESTree.Node | Token | ESTree.Comment, - right: ESTree.Node | Token | ESTree.Comment, + left: ESTree.Node | AST.Token | ESTree.Comment, + right: ESTree.Node | AST.Token | ESTree.Comment, options: SourceCode.CursorWithCountOptions - ): Token[]; + ): AST.Token[]; getLastTokenBetween( - left: ESTree.Node | Token | ESTree.Comment, - right: ESTree.Node | Token | ESTree.Comment, + left: ESTree.Node | AST.Token | ESTree.Comment, + right: ESTree.Node | AST.Token | ESTree.Comment, options: SourceCode.CursorWithSkipOptions - ): Token | null; + ): AST.Token | null; getLastTokensBetween( - left: ESTree.Node | Token | ESTree.Comment, - right: ESTree.Node | Token | ESTree.Comment, + left: ESTree.Node | AST.Token | ESTree.Comment, + right: ESTree.Node | AST.Token | ESTree.Comment, options: SourceCode.CursorWithCountOptions - ): Token[]; + ): AST.Token[]; getTokensBetween( - left: ESTree.Node | Token | ESTree.Comment, - right: ESTree.Node | Token | ESTree.Comment, + left: ESTree.Node | AST.Token | ESTree.Comment, + right: ESTree.Node | AST.Token | ESTree.Comment, padding: number | SourceCode.FilterPredicate | SourceCode.CursorWithCountOptions - ): Token[]; + ): AST.Token[]; - getTokens(node: ESTree.Node, beforeCount?: number, afterCount?: number): Token[]; - getTokens(node: ESTree.Node, options: SourceCode.FilterPredicate | SourceCode.CursorWithCountOptions): Token[]; + getTokens(node: ESTree.Node, beforeCount?: number, afterCount?: number): AST.Token[]; + getTokens(node: ESTree.Node, options: SourceCode.FilterPredicate | SourceCode.CursorWithCountOptions): AST.Token[]; commentsExistBetween(left: ESTree.Node, right: ESTree.Node): boolean; - getCommentsBefore(nodeOrToken: ESTree.Node | Token): ESTree.Comment[]; + getCommentsBefore(nodeOrToken: ESTree.Node | AST.Token): ESTree.Comment[]; - getCommentsAfter(nodeOrToken: ESTree.Node | Token): ESTree.Comment[]; + getCommentsAfter(nodeOrToken: ESTree.Node | AST.Token): ESTree.Comment[]; getCommentsInside(node: ESTree.Node): ESTree.Comment[]; } @@ -208,7 +205,7 @@ export class SourceCode { export namespace SourceCode { interface Config { text: string; - ast: Ast; + ast: AST.Program; parserServices?: ParserServices; scopeManager?: Scope.ScopeManager; visitorKeys?: VisitorKeys; @@ -220,7 +217,7 @@ export namespace SourceCode { [nodeType: string]: string[]; } - type FilterPredicate = (tokenOrComment: Token | ESTree.Comment) => boolean; + type FilterPredicate = (tokenOrComment: AST.Token | ESTree.Comment) => boolean; type CursorWithSkipOptions = number | FilterPredicate | { includeComments?: boolean; @@ -318,7 +315,7 @@ export namespace Rule { type ReportDescriptor = ReportDescriptorMessage & ReportDescriptorLocation & ReportDescriptorOptions; type ReportDescriptorMessage = { message: string } | { messageId: string }; - type ReportDescriptorLocation = { node: ESTree.Node } | { loc: SourceLocation | { line: number, column: number } }; + type ReportDescriptorLocation = { node: ESTree.Node } | { loc: AST.SourceLocation | { line: number, column: number } }; interface ReportDescriptorOptions { data?: { [key: string]: string }; @@ -326,25 +323,25 @@ export namespace Rule { } interface RuleFixer { - insertTextAfter(nodeOrToken: ESTree.Node | Token, text: string): Fix; + insertTextAfter(nodeOrToken: ESTree.Node | AST.Token, text: string): Fix; - insertTextAfterRange(range: Range, text: string): Fix; + insertTextAfterRange(range: AST.Range, text: string): Fix; - insertTextBefore(nodeOrToken: ESTree.Node | Token, text: string): Fix; + insertTextBefore(nodeOrToken: ESTree.Node | AST.Token, text: string): Fix; - insertTextBeforeRange(range: Range, text: string): Fix; + insertTextBeforeRange(range: AST.Range, text: string): Fix; - remove(nodeOrToken: ESTree.Node | Token): Fix; + remove(nodeOrToken: ESTree.Node | AST.Token): Fix; - removeRange(range: Range): Fix; + removeRange(range: AST.Range): Fix; - replaceText(nodeOrToken: ESTree.Node | Token, text: string): Fix; + replaceText(nodeOrToken: ESTree.Node | AST.Token, text: string): Fix; - replaceTextRange(range: Range, text: string): Fix; + replaceTextRange(range: AST.Range, text: string): Fix; } interface Fix { - range: Range; + range: AST.Range; text: string; } } @@ -442,7 +439,7 @@ export namespace Linter { }; interface ESLintParseResult { - ast: ESTree.Node; + ast: AST.Program; parserServices?: SourceCode.ParserServices; scopeManager?: Scope.ScopeManager; visitorKeys?: SourceCode.VisitorKeys; @@ -500,10 +497,10 @@ export namespace CLIEngine { parserOptions?: Linter.ParserOptions; plugins?: string[]; rules?: { - [name: string]: (Linter.RuleLevel | [Linter.RuleLevel, any]); + [name: string]: Linter.RuleLevel | Linter.RuleLevelAndOptions; }; rulePaths?: string[]; - reportUnusedDisableDirectives?: true; + reportUnusedDisableDirectives?: boolean; } interface LintResult { @@ -558,7 +555,7 @@ export namespace RuleTester { interface InvalidTestCase extends ValidTestCase { errors: number | Array; - output?: string; + output?: string | null; } interface TestCaseError { From fa00621313f1e37e08e2c7ce290c3e283e60a4a2 Mon Sep 17 00:00:00 2001 From: d-ph Date: Thu, 1 Feb 2018 22:08:24 +0000 Subject: [PATCH 067/463] [bluebird-global] Amend .finally() and update docs for es5 target. --- types/bluebird-global/index.d.ts | 20 ++++++++++++++++++-- types/bluebird-global/tsconfig.json | 2 +- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/types/bluebird-global/index.d.ts b/types/bluebird-global/index.d.ts index 04ad9d5dc2..42054a389e 100644 --- a/types/bluebird-global/index.d.ts +++ b/types/bluebird-global/index.d.ts @@ -31,6 +31,22 @@ * in the runtime. Do this by either importing bluebird.js via a `'); + } +} diff --git a/types/remarkable/tsconfig.json b/types/remarkable/tsconfig.json new file mode 100644 index 0000000000..48f5c8f145 --- /dev/null +++ b/types/remarkable/tsconfig.json @@ -0,0 +1,27 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "lib/common/utils.d.ts", + "lib/index.d.ts", + "lib/renderer.d.ts", + "lib/ruler.d.ts", + "index.d.ts", + "remarkable-tests.ts" + ] +} diff --git a/types/remarkable/tslint.json b/types/remarkable/tslint.json new file mode 100644 index 0000000000..f93cf8562a --- /dev/null +++ b/types/remarkable/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "dtslint/dt.json" +} From aa99e0d967e8415e80740ec5a03c40b786aaef58 Mon Sep 17 00:00:00 2001 From: makepost Date: Sat, 3 Feb 2018 01:42:26 +0200 Subject: [PATCH 085/463] Remarkable: Fix es5 dependent with noUnusedLocals --- types/remarkable/lib/common/utils.d.ts | 2 +- types/remarkable/remarkable-tests.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/types/remarkable/lib/common/utils.d.ts b/types/remarkable/lib/common/utils.d.ts index c0adcf014f..0feaaac0ce 100644 --- a/types/remarkable/lib/common/utils.d.ts +++ b/types/remarkable/lib/common/utils.d.ts @@ -2,7 +2,7 @@ export function isString(obj?: any): boolean; export function has(object: any, key: string): boolean; -export const assign: typeof Object.assign; +export function assign(target: any, ...sources: any[]): any; export function unescapeMd(str: string): string; diff --git a/types/remarkable/remarkable-tests.ts b/types/remarkable/remarkable-tests.ts index 2ba08d5060..9c12632e69 100644 --- a/types/remarkable/remarkable-tests.ts +++ b/types/remarkable/remarkable-tests.ts @@ -38,6 +38,8 @@ export class RemarkableTest { enableStrict() { const md = new Remarkable("commonmark"); + + md.render("# Remarkable rulezz!"); } enableAllRules() { @@ -49,6 +51,8 @@ export class RemarkableTest { linkify: true, typographer: true, }); + + md.render("# Remarkable rulezz!"); } highlightFencedCodeBlocks() { @@ -67,6 +71,8 @@ export class RemarkableTest { return ""; }, }); + + md.render("# Remarkable rulezz!"); } manageRules() { From c4b1e53c5c797d6ca0025355162a0f95a3c971ae Mon Sep 17 00:00:00 2001 From: FaithForHumans Date: Fri, 2 Feb 2018 18:15:25 -0600 Subject: [PATCH 086/463] Adding extends attributes to all components --- types/reactstrap/lib/Alert.d.ts | 2 +- types/reactstrap/lib/Badge.d.ts | 2 +- types/reactstrap/lib/Breadcrumb.d.ts | 2 +- types/reactstrap/lib/BreadcrumbItem.d.ts | 2 +- types/reactstrap/lib/ButtonGroup.d.ts | 2 +- types/reactstrap/lib/ButtonToolbar.d.ts | 2 +- types/reactstrap/lib/Card.d.ts | 2 +- types/reactstrap/lib/CardBody.d.ts | 2 +- types/reactstrap/lib/CardColumns.d.ts | 2 +- types/reactstrap/lib/CardDeck.d.ts | 2 +- types/reactstrap/lib/CardFooter.d.ts | 2 +- types/reactstrap/lib/CardGroup.d.ts | 2 +- types/reactstrap/lib/CardHeader.d.ts | 2 +- types/reactstrap/lib/CardImg.d.ts | 2 +- types/reactstrap/lib/CardImgOverlay.d.ts | 2 +- types/reactstrap/lib/CardLink.d.ts | 2 +- types/reactstrap/lib/CardSubtitle.d.ts | 2 +- types/reactstrap/lib/CardText.d.ts | 2 +- types/reactstrap/lib/CardTitle.d.ts | 2 +- types/reactstrap/lib/Container.d.ts | 2 +- types/reactstrap/lib/Dropdown.d.ts | 2 +- types/reactstrap/lib/DropdownItem.d.ts | 2 +- types/reactstrap/lib/DropdownMenu.d.ts | 2 +- types/reactstrap/lib/DropdownToggle.d.ts | 2 +- types/reactstrap/lib/Fade.d.ts | 2 +- types/reactstrap/lib/FormFeedback.d.ts | 2 +- types/reactstrap/lib/FormText.d.ts | 2 +- types/reactstrap/lib/InputGroup.d.ts | 2 +- types/reactstrap/lib/InputGroupAddon.d.ts | 2 +- types/reactstrap/lib/Jumbotron.d.ts | 2 +- types/reactstrap/lib/ListGroup.d.ts | 2 +- types/reactstrap/lib/ListGroupItem.d.ts | 2 +- types/reactstrap/lib/ListGroupItemHeading.d.ts | 2 +- types/reactstrap/lib/ListGroupItemText.d.ts | 2 +- types/reactstrap/lib/Media.d.ts | 2 +- types/reactstrap/lib/Modal.d.ts | 2 +- types/reactstrap/lib/ModalBody.d.ts | 2 +- types/reactstrap/lib/ModalFooter.d.ts | 2 +- types/reactstrap/lib/ModalHeader.d.ts | 2 +- types/reactstrap/lib/NavItem.d.ts | 2 +- types/reactstrap/lib/Navbar.d.ts | 2 +- types/reactstrap/lib/Pagination.d.ts | 2 +- types/reactstrap/lib/PaginationItem.d.ts | 2 +- types/reactstrap/lib/PopoverBody.d.ts | 2 +- types/reactstrap/lib/PopoverHeader.d.ts | 2 +- types/reactstrap/lib/Progress.d.ts | 2 +- types/reactstrap/lib/Row.d.ts | 2 +- types/reactstrap/lib/TabContent.d.ts | 2 +- types/reactstrap/lib/TabPane.d.ts | 2 +- types/reactstrap/lib/Table.d.ts | 2 +- types/reactstrap/lib/Tag.d.ts | 2 +- 51 files changed, 51 insertions(+), 51 deletions(-) diff --git a/types/reactstrap/lib/Alert.d.ts b/types/reactstrap/lib/Alert.d.ts index c52ff2c35b..2a5a0f8dde 100644 --- a/types/reactstrap/lib/Alert.d.ts +++ b/types/reactstrap/lib/Alert.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface UncontrolledProps { +export interface UncontrolledProps extends React.HTMLAttributes { className?: string; cssModule?: CSSModule; color?: string; diff --git a/types/reactstrap/lib/Badge.d.ts b/types/reactstrap/lib/Badge.d.ts index b58faeed8c..f45c418c52 100644 --- a/types/reactstrap/lib/Badge.d.ts +++ b/types/reactstrap/lib/Badge.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface BadgeProps { +export interface BadgeProps extends React.HTMLAttributes { color?: string; pill?: boolean; tag?: React.ReactType; diff --git a/types/reactstrap/lib/Breadcrumb.d.ts b/types/reactstrap/lib/Breadcrumb.d.ts index 4b5e2b85da..74e770de4f 100644 --- a/types/reactstrap/lib/Breadcrumb.d.ts +++ b/types/reactstrap/lib/Breadcrumb.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface BreadcrumbProps { +export interface BreadcrumbProps extends React.HTMLAttributes { tag?: string; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/BreadcrumbItem.d.ts b/types/reactstrap/lib/BreadcrumbItem.d.ts index 4cb8d77c75..ab2e9cbc4e 100644 --- a/types/reactstrap/lib/BreadcrumbItem.d.ts +++ b/types/reactstrap/lib/BreadcrumbItem.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface BreadcrumbItemProps { +export interface BreadcrumbItemProps extends React.HTMLAttributes { tag?: React.ReactType; active?: boolean; className?: string; diff --git a/types/reactstrap/lib/ButtonGroup.d.ts b/types/reactstrap/lib/ButtonGroup.d.ts index 29bbaac38b..10549f5347 100644 --- a/types/reactstrap/lib/ButtonGroup.d.ts +++ b/types/reactstrap/lib/ButtonGroup.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface ButtonGroupProps { +export interface ButtonGroupProps extends React.HTMLAttributes { tag?: React.ReactType; 'aria-label'?: string; className?: string; diff --git a/types/reactstrap/lib/ButtonToolbar.d.ts b/types/reactstrap/lib/ButtonToolbar.d.ts index 1c782c5745..ebd8733b28 100644 --- a/types/reactstrap/lib/ButtonToolbar.d.ts +++ b/types/reactstrap/lib/ButtonToolbar.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface ButtonToolbarProps { +export interface ButtonToolbarProps extends React.HTMLAttributes { tag?: React.ReactType; 'aria-label'?: string; className?: string; diff --git a/types/reactstrap/lib/Card.d.ts b/types/reactstrap/lib/Card.d.ts index 8fd85c099b..0387ae3e94 100644 --- a/types/reactstrap/lib/Card.d.ts +++ b/types/reactstrap/lib/Card.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface CardProps { +export interface CardProps extends React.HTMLAttributes { tag?: React.ReactType; inverse?: boolean; color?: string; diff --git a/types/reactstrap/lib/CardBody.d.ts b/types/reactstrap/lib/CardBody.d.ts index 433a6a6ac0..d95ac0d31b 100644 --- a/types/reactstrap/lib/CardBody.d.ts +++ b/types/reactstrap/lib/CardBody.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface CardBodyProps { +export interface CardBodyProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/CardColumns.d.ts b/types/reactstrap/lib/CardColumns.d.ts index 92eb2019ec..19f53cc250 100644 --- a/types/reactstrap/lib/CardColumns.d.ts +++ b/types/reactstrap/lib/CardColumns.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface CardColumnsProps { +export interface CardColumnsProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/CardDeck.d.ts b/types/reactstrap/lib/CardDeck.d.ts index c14324df37..09b3d39c34 100644 --- a/types/reactstrap/lib/CardDeck.d.ts +++ b/types/reactstrap/lib/CardDeck.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface CardDeckProps { +export interface CardDeckProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/CardFooter.d.ts b/types/reactstrap/lib/CardFooter.d.ts index 6dba776a38..f1ee324f03 100644 --- a/types/reactstrap/lib/CardFooter.d.ts +++ b/types/reactstrap/lib/CardFooter.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface CardFooterProps { +export interface CardFooterProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/CardGroup.d.ts b/types/reactstrap/lib/CardGroup.d.ts index 695747eef4..5bf83900bf 100644 --- a/types/reactstrap/lib/CardGroup.d.ts +++ b/types/reactstrap/lib/CardGroup.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface CardGroupProps { +export interface CardGroupProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/CardHeader.d.ts b/types/reactstrap/lib/CardHeader.d.ts index 306ff445e3..d630954e78 100644 --- a/types/reactstrap/lib/CardHeader.d.ts +++ b/types/reactstrap/lib/CardHeader.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface CardHeaderProps { +export interface CardHeaderProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/CardImg.d.ts b/types/reactstrap/lib/CardImg.d.ts index e65cba66e2..b4b7021232 100644 --- a/types/reactstrap/lib/CardImg.d.ts +++ b/types/reactstrap/lib/CardImg.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface CardImgProps { +export interface CardImgProps extends React.HTMLAttributes { tag?: React.ReactType; top?: boolean; bottom?: boolean; diff --git a/types/reactstrap/lib/CardImgOverlay.d.ts b/types/reactstrap/lib/CardImgOverlay.d.ts index d31e96d76f..ccc76fa9c9 100644 --- a/types/reactstrap/lib/CardImgOverlay.d.ts +++ b/types/reactstrap/lib/CardImgOverlay.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface CardImgOverlayProps { +export interface CardImgOverlayProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/CardLink.d.ts b/types/reactstrap/lib/CardLink.d.ts index 22c9d614b3..9425571de5 100644 --- a/types/reactstrap/lib/CardLink.d.ts +++ b/types/reactstrap/lib/CardLink.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface CardLinkProps { +export interface CardLinkProps extends React.HTMLAttributes { tag?: React.ReactType; innerRef?: string | ((instance: HTMLButtonElement) => any); className?: string; diff --git a/types/reactstrap/lib/CardSubtitle.d.ts b/types/reactstrap/lib/CardSubtitle.d.ts index 915c69c93f..a237c29119 100644 --- a/types/reactstrap/lib/CardSubtitle.d.ts +++ b/types/reactstrap/lib/CardSubtitle.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface CardSubtitleProps { +export interface CardSubtitleProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/CardText.d.ts b/types/reactstrap/lib/CardText.d.ts index 3782e962be..462c1abef3 100644 --- a/types/reactstrap/lib/CardText.d.ts +++ b/types/reactstrap/lib/CardText.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface CardTextProps { +export interface CardTextProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/CardTitle.d.ts b/types/reactstrap/lib/CardTitle.d.ts index f551d860ab..68c5c6120c 100644 --- a/types/reactstrap/lib/CardTitle.d.ts +++ b/types/reactstrap/lib/CardTitle.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface CardTitleProps { +export interface CardTitleProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/Container.d.ts b/types/reactstrap/lib/Container.d.ts index 4721cf68c1..df2114e773 100644 --- a/types/reactstrap/lib/Container.d.ts +++ b/types/reactstrap/lib/Container.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface ContainerProps { +export interface ContainerProps extends React.HTMLAttributes { tag?: React.ReactType; fluid?: boolean; className?: string; diff --git a/types/reactstrap/lib/Dropdown.d.ts b/types/reactstrap/lib/Dropdown.d.ts index 9754af4fe2..b25fb45bba 100644 --- a/types/reactstrap/lib/Dropdown.d.ts +++ b/types/reactstrap/lib/Dropdown.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface UncontrolledProps { +export interface UncontrolledProps extends React.HTMLAttributes { isOpen?: boolean; toggle?: () => void; className?: string; diff --git a/types/reactstrap/lib/DropdownItem.d.ts b/types/reactstrap/lib/DropdownItem.d.ts index ce11638b83..598c2fbfc8 100644 --- a/types/reactstrap/lib/DropdownItem.d.ts +++ b/types/reactstrap/lib/DropdownItem.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface DropdownItemProps { +export interface DropdownItemProps extends React.HTMLAttributes { disabled?: boolean; divider?: boolean; tag?: React.ReactType; diff --git a/types/reactstrap/lib/DropdownMenu.d.ts b/types/reactstrap/lib/DropdownMenu.d.ts index 1fcbab6c2b..8d3cdb6acd 100644 --- a/types/reactstrap/lib/DropdownMenu.d.ts +++ b/types/reactstrap/lib/DropdownMenu.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface DropdownMenuProps { +export interface DropdownMenuProps extends React.HTMLAttributes { tag?: React.ReactType; right?: boolean; className?: string; diff --git a/types/reactstrap/lib/DropdownToggle.d.ts b/types/reactstrap/lib/DropdownToggle.d.ts index 51028815d4..6c59498d52 100644 --- a/types/reactstrap/lib/DropdownToggle.d.ts +++ b/types/reactstrap/lib/DropdownToggle.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface DropdownToggleProps { +export interface DropdownToggleProps extends React.HTMLAttributes { caret?: boolean; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/Fade.d.ts b/types/reactstrap/lib/Fade.d.ts index 6d67195821..05a13502e1 100644 --- a/types/reactstrap/lib/Fade.d.ts +++ b/types/reactstrap/lib/Fade.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface FadeProps { +export interface FadeProps extends React.HTMLAttributes { in?: boolean; baseClass?: string; baseClassIn?: string; diff --git a/types/reactstrap/lib/FormFeedback.d.ts b/types/reactstrap/lib/FormFeedback.d.ts index 20e9b27745..b5c8f04eae 100644 --- a/types/reactstrap/lib/FormFeedback.d.ts +++ b/types/reactstrap/lib/FormFeedback.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface FormFeedbackProps { +export interface FormFeedbackProps extends React.HTMLAttributes { tag?: string; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/FormText.d.ts b/types/reactstrap/lib/FormText.d.ts index a749d6fc30..99a3675d6b 100644 --- a/types/reactstrap/lib/FormText.d.ts +++ b/types/reactstrap/lib/FormText.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface FormTextProps { +export interface FormTextProps extends React.HTMLAttributes { inline?: boolean; tag?: React.ReactType; color?: string; diff --git a/types/reactstrap/lib/InputGroup.d.ts b/types/reactstrap/lib/InputGroup.d.ts index 22f3ba027c..468b46f1c5 100644 --- a/types/reactstrap/lib/InputGroup.d.ts +++ b/types/reactstrap/lib/InputGroup.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface InputGroupProps { +export interface InputGroupProps extends React.HTMLAttributes { tag?: React.ReactType; size?: string; className?: string; diff --git a/types/reactstrap/lib/InputGroupAddon.d.ts b/types/reactstrap/lib/InputGroupAddon.d.ts index 31f5af505d..53ad596115 100644 --- a/types/reactstrap/lib/InputGroupAddon.d.ts +++ b/types/reactstrap/lib/InputGroupAddon.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface InputGroupAddonProps { +export interface InputGroupAddonProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/Jumbotron.d.ts b/types/reactstrap/lib/Jumbotron.d.ts index 6cb94c04c1..9145e73223 100644 --- a/types/reactstrap/lib/Jumbotron.d.ts +++ b/types/reactstrap/lib/Jumbotron.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface JumbotronProps { +export interface JumbotronProps extends React.HTMLAttributes { tag?: React.ReactType; fluid?: boolean; className?: string; diff --git a/types/reactstrap/lib/ListGroup.d.ts b/types/reactstrap/lib/ListGroup.d.ts index a2a088935b..e9cb511cf0 100644 --- a/types/reactstrap/lib/ListGroup.d.ts +++ b/types/reactstrap/lib/ListGroup.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface ListGroupProps { +export interface ListGroupProps extends React.HTMLAttributes { tag?: React.ReactType; flush?: boolean; className?: string; diff --git a/types/reactstrap/lib/ListGroupItem.d.ts b/types/reactstrap/lib/ListGroupItem.d.ts index d2cb1a9e67..045aa9539e 100644 --- a/types/reactstrap/lib/ListGroupItem.d.ts +++ b/types/reactstrap/lib/ListGroupItem.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface ListGroupItemProps { +export interface ListGroupItemProps extends React.HTMLAttributes { tag?: React.ReactType; active?: boolean; disabled?: boolean; diff --git a/types/reactstrap/lib/ListGroupItemHeading.d.ts b/types/reactstrap/lib/ListGroupItemHeading.d.ts index 0f5bdfb457..09e29f9434 100644 --- a/types/reactstrap/lib/ListGroupItemHeading.d.ts +++ b/types/reactstrap/lib/ListGroupItemHeading.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface ListGroupItemHeadingProps { +export interface ListGroupItemHeadingProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/ListGroupItemText.d.ts b/types/reactstrap/lib/ListGroupItemText.d.ts index 7010eb1289..947ee4cd7a 100644 --- a/types/reactstrap/lib/ListGroupItemText.d.ts +++ b/types/reactstrap/lib/ListGroupItemText.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface ListGroupItemTextProps { +export interface ListGroupItemTextProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/Media.d.ts b/types/reactstrap/lib/Media.d.ts index daf4fadcc8..f7a9afb2c0 100644 --- a/types/reactstrap/lib/Media.d.ts +++ b/types/reactstrap/lib/Media.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface MediaProps { +export interface MediaProps extends React.HTMLAttributes { body?: boolean; bottom?: boolean; className?: string; diff --git a/types/reactstrap/lib/Modal.d.ts b/types/reactstrap/lib/Modal.d.ts index 5fc1ffc734..59bca97472 100644 --- a/types/reactstrap/lib/Modal.d.ts +++ b/types/reactstrap/lib/Modal.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface ModalProps { +export interface ModalProps extends React.HTMLAttributes { isOpen?: boolean; autoFocus?: boolean; size?: string; diff --git a/types/reactstrap/lib/ModalBody.d.ts b/types/reactstrap/lib/ModalBody.d.ts index 1467b5883a..083ac04186 100644 --- a/types/reactstrap/lib/ModalBody.d.ts +++ b/types/reactstrap/lib/ModalBody.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface ModalBodyProps { +export interface ModalBodyProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/ModalFooter.d.ts b/types/reactstrap/lib/ModalFooter.d.ts index ae511eb7cc..40ed54f9ae 100644 --- a/types/reactstrap/lib/ModalFooter.d.ts +++ b/types/reactstrap/lib/ModalFooter.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface ModalFooterProps { +export interface ModalFooterProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/ModalHeader.d.ts b/types/reactstrap/lib/ModalHeader.d.ts index 47632f59e3..c1a3e55b7a 100644 --- a/types/reactstrap/lib/ModalHeader.d.ts +++ b/types/reactstrap/lib/ModalHeader.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface ModalHeaderProps { +export interface ModalHeaderProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/NavItem.d.ts b/types/reactstrap/lib/NavItem.d.ts index 0769347298..6d5e0dd9cb 100644 --- a/types/reactstrap/lib/NavItem.d.ts +++ b/types/reactstrap/lib/NavItem.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface NavItemProps { +export interface NavItemProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/Navbar.d.ts b/types/reactstrap/lib/Navbar.d.ts index ed3f28a02c..83e720731a 100644 --- a/types/reactstrap/lib/Navbar.d.ts +++ b/types/reactstrap/lib/Navbar.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface NavbarProps { +export interface NavbarProps extends React.HTMLAttributes { light?: boolean; dark?: boolean; inverse?: boolean; diff --git a/types/reactstrap/lib/Pagination.d.ts b/types/reactstrap/lib/Pagination.d.ts index 7657d90206..9dabaf8829 100644 --- a/types/reactstrap/lib/Pagination.d.ts +++ b/types/reactstrap/lib/Pagination.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface PaginationProps { +export interface PaginationProps extends React.HTMLAttributes { className?: string; cssModule?: CSSModule; size?: string; diff --git a/types/reactstrap/lib/PaginationItem.d.ts b/types/reactstrap/lib/PaginationItem.d.ts index c2eadfab97..a00fddc413 100644 --- a/types/reactstrap/lib/PaginationItem.d.ts +++ b/types/reactstrap/lib/PaginationItem.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface PaginationItemProps { +export interface PaginationItemProps extends React.HTMLAttributes { className?: string; cssModule?: CSSModule; active?: boolean; diff --git a/types/reactstrap/lib/PopoverBody.d.ts b/types/reactstrap/lib/PopoverBody.d.ts index 93512cacb1..bf67919e49 100644 --- a/types/reactstrap/lib/PopoverBody.d.ts +++ b/types/reactstrap/lib/PopoverBody.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface PopoverBodyProps { +export interface PopoverBodyProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/PopoverHeader.d.ts b/types/reactstrap/lib/PopoverHeader.d.ts index 2ad69c636c..caa0847233 100644 --- a/types/reactstrap/lib/PopoverHeader.d.ts +++ b/types/reactstrap/lib/PopoverHeader.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface PopoverHeaderProps { +export interface PopoverHeaderProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/Progress.d.ts b/types/reactstrap/lib/Progress.d.ts index 89e9df4be9..6f252622a1 100644 --- a/types/reactstrap/lib/Progress.d.ts +++ b/types/reactstrap/lib/Progress.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface ProgressProps { +export interface ProgressProps extends React.HTMLAttributes { bar?: boolean; multi?: boolean; tag?: string; diff --git a/types/reactstrap/lib/Row.d.ts b/types/reactstrap/lib/Row.d.ts index e5553ff81f..35284a9f70 100644 --- a/types/reactstrap/lib/Row.d.ts +++ b/types/reactstrap/lib/Row.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface RowProps extends React.HTMLProps< HTMLElement> { +export interface RowProps extends React.HTMLProps { className?: string; cssModule?: CSSModule; tag?: React.ReactType; diff --git a/types/reactstrap/lib/TabContent.d.ts b/types/reactstrap/lib/TabContent.d.ts index 2581ea7a93..0a180cf3c4 100644 --- a/types/reactstrap/lib/TabContent.d.ts +++ b/types/reactstrap/lib/TabContent.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface TabContentProps { +export interface TabContentProps extends React.HTMLAttributes { tag?: React.ReactType; activeTab?: number | string; className?: string; diff --git a/types/reactstrap/lib/TabPane.d.ts b/types/reactstrap/lib/TabPane.d.ts index a39398d59b..0bcbfd5d17 100644 --- a/types/reactstrap/lib/TabPane.d.ts +++ b/types/reactstrap/lib/TabPane.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface TabPaneProps { +export interface TabPaneProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; diff --git a/types/reactstrap/lib/Table.d.ts b/types/reactstrap/lib/Table.d.ts index c2d31d71e2..0374d7a0b5 100644 --- a/types/reactstrap/lib/Table.d.ts +++ b/types/reactstrap/lib/Table.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface TableProps { +export interface TableProps extends React.HTMLAttributes { className?: string; cssModule?: CSSModule; size?: string; diff --git a/types/reactstrap/lib/Tag.d.ts b/types/reactstrap/lib/Tag.d.ts index 153ff61177..49df70b240 100644 --- a/types/reactstrap/lib/Tag.d.ts +++ b/types/reactstrap/lib/Tag.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface TagProps { +export interface TagProps extends React.HTMLAttributes { color?: string; pill?: boolean; tag?: React.ReactType; From 8644f396ba7aee1593c85063d9d3a15c2b64b31d Mon Sep 17 00:00:00 2001 From: FaithForHumans Date: Fri, 2 Feb 2018 18:10:13 -0600 Subject: [PATCH 087/463] Adding prepend/append for input group addons. Removing old cardblock, inputgroupbutton, and navdropdown components. Adding new InputGroupbuttonDropdown --- types/reactstrap/index.d.ts | 156 +++++++------- types/reactstrap/lib/CardBlock.d.ts | 10 - types/reactstrap/lib/Dropdown.d.ts | 1 + types/reactstrap/lib/DropdownToggle.d.ts | 1 + types/reactstrap/lib/InputGroupAddon.d.ts | 3 +- types/reactstrap/lib/InputGroupButton.d.ts | 13 -- .../lib/InputGroupButtonDropdown.d.ts | 8 + types/reactstrap/lib/InputGroupText.d.ts | 9 + types/reactstrap/lib/NavDropdown.d.ts | 15 -- types/reactstrap/lib/Uncontrolled.d.ts | 3 - types/reactstrap/reactstrap-tests.tsx | 195 +++++++++++------- 11 files changed, 218 insertions(+), 196 deletions(-) delete mode 100644 types/reactstrap/lib/CardBlock.d.ts delete mode 100644 types/reactstrap/lib/InputGroupButton.d.ts create mode 100644 types/reactstrap/lib/InputGroupButtonDropdown.d.ts create mode 100644 types/reactstrap/lib/InputGroupText.d.ts delete mode 100644 types/reactstrap/lib/NavDropdown.d.ts diff --git a/types/reactstrap/index.d.ts b/types/reactstrap/index.d.ts index 38c55bc08a..73b456783a 100644 --- a/types/reactstrap/index.d.ts +++ b/types/reactstrap/index.d.ts @@ -14,82 +14,80 @@ export interface CSSModule { [className: string]: string; } -export { default as Alert, AlertProps } from './lib/Alert'; -export { default as Badge, BadgeProps } from './lib/Badge'; -export { default as Breadcrumb, BreadcrumbProps } from './lib/Breadcrumb'; -export { default as BreadcrumbItem, BreadcrumbItemProps } from './lib/BreadcrumbItem'; -export { default as Button, ButtonProps } from './lib/Button'; -export { default as ButtonDropdown, ButtonDropdownProps } from './lib/ButtonDropdown'; -export { default as ButtonGroup, ButtonGroupProps } from './lib/ButtonGroup'; -export { default as ButtonToolbar, ButtonToolbarProps } from './lib/ButtonToolbar'; -export { default as Card, CardProps } from './lib/Card'; -export { default as CardBody, CardBodyProps } from './lib/CardBody'; -export { default as CardBlock, CardBlockProps } from './lib/CardBlock'; -export { default as CardColumns, CardColumnsProps } from './lib/CardColumns'; -export { default as CardDeck, CardDeckProps } from './lib/CardDeck'; -export { default as CardFooter, CardFooterProps } from './lib/CardFooter'; -export { default as CardGroup, CardGroupProps } from './lib/CardGroup'; -export { default as CardHeader, CardHeaderProps } from './lib/CardHeader'; -export { default as CardImg, CardImgProps } from './lib/CardImg'; -export { default as CardImgOverlay, CardImgOverlayProps } from './lib/CardImgOverlay'; -export { default as CardLink, CardLinkProps } from './lib/CardLink'; -export { default as CardSubtitle, CardSubtitleProps } from './lib/CardSubtitle'; -export { default as CardText, CardTextProps } from './lib/CardText'; -export { default as CardTitle, CardTitleProps } from './lib/CardTitle'; -export { default as Carousel, CarouselProps } from './lib/Carousel'; -export { default as CarouselItem, CarouselItemProps } from './lib/CarouselItem'; -export { default as CarouselControl, CarouselControlProps } from './lib/CarouselControl'; -export { default as CarouselIndicators, CarouselIndicatorsProps } from './lib/CarouselIndicators'; -export { default as CarouselCaption, CarouselCaptionProps } from './lib/CarouselCaption'; -export { default as Col, ColProps } from './lib/Col'; -export { default as Collapse, CollapseProps } from './lib/Collapse'; -export { default as Container, ContainerProps } from './lib/Container'; -export { default as Dropdown, DropdownProps } from './lib/Dropdown'; -export { default as DropdownItem, DropdownItemProps } from './lib/DropdownItem'; -export { default as DropdownMenu, DropdownMenuProps } from './lib/DropdownMenu'; -export { default as DropdownToggle, DropdownToggleProps } from './lib/DropdownToggle'; -export { default as Fade, FadeProps } from './lib/Fade'; -export { default as Form, FormProps } from './lib/Form'; -export { default as FormFeedback, FormFeedbackProps } from './lib/FormFeedback'; -export { default as FormGroup, FormGroupProps } from './lib/FormGroup'; -export { default as FormText, FormTextProps } from './lib/FormText'; -export { default as Input, InputProps } from './lib/Input'; -export { default as InputGroup, InputGroupProps } from './lib/InputGroup'; -export { default as InputGroupAddon, InputGroupAddonProps } from './lib/InputGroupAddon'; -export { default as InputGroupButton, InputGroupButtonProps } from './lib/InputGroupButton'; -export { default as Jumbotron, JumbotronProps } from './lib/Jumbotron'; -export { default as Label, LabelProps } from './lib/Label'; -export { default as ListGroup, ListGroupProps } from './lib/ListGroup'; -export { default as ListGroupItem, ListGroupItemProps } from './lib/ListGroupItem'; -export { default as ListGroupItemHeading, ListGroupItemHeadingProps } from './lib/ListGroupItemHeading'; -export { default as ListGroupItemText, ListGroupItemTextProps } from './lib/ListGroupItemText'; -export { default as Media, MediaProps } from './lib/Media'; -export { default as Modal, ModalProps } from './lib/Modal'; -export { default as ModalBody, ModalBodyProps } from './lib/ModalBody'; -export { default as ModalFooter, ModalFooterProps } from './lib/ModalFooter'; -export { default as ModalHeader, ModalHeaderProps } from './lib/ModalHeader'; -export { default as Nav, NavProps } from './lib/Nav'; -export { default as Navbar, NavbarProps } from './lib/Navbar'; -export { default as NavbarBrand, NavbarBrandProps } from './lib/NavbarBrand'; -export { default as NavbarToggler, NavbarTogglerProps } from './lib/NavbarToggler'; -export { default as NavDropdown, NavDropdownProps } from './lib/NavDropdown'; -export { default as NavItem, NavItemProps } from './lib/NavItem'; -export { default as NavLink, NavLinkProps } from './lib/NavLink'; -export { default as Pagination, PaginationProps } from './lib/Pagination'; -export { default as PaginationItem, PaginationItemProps } from './lib/PaginationItem'; -export { default as PaginationLink, PaginationLinkProps } from './lib/PaginationLink'; -export { default as Popover, PopoverProps } from './lib/Popover'; -export { default as PopoverBody, PopoverBodyProps } from './lib/PopoverBody'; -export { default as PopoverHeader, PopoverHeaderProps } from './lib/PopoverHeader'; -export { default as Progress, ProgressProps } from './lib/Progress'; -export { default as Row, RowProps } from './lib/Row'; -export { default as TabContent, TabContentProps } from './lib/TabContent'; -export { default as Table, TableProps } from './lib/Table'; -export { default as TabPane, TabPaneProps } from './lib/TabPane'; -export { default as Tag, TagProps } from './lib/Tag'; -export { default as Tooltip, TooltipProps } from './lib/Tooltip'; -export { UncontrolledAlert, UncontrolledAlertProps } from './lib/Uncontrolled'; -export { UncontrolledButtonDropdown, UncontrolledButtonDropdownProps } from './lib/Uncontrolled'; -export { UncontrolledDropdown, UncontrolledDropdownProps } from './lib/Uncontrolled'; -export { UncontrolledNavDropdown, UncontrolledNavDropdownProps } from './lib/Uncontrolled'; -export { UncontrolledTooltip, UncontrolledTooltipProps } from './lib/Uncontrolled'; +export { default as Alert, AlertProps } from './lib/Alert'; +export { default as Badge, BadgeProps } from './lib/Badge'; +export { default as Breadcrumb, BreadcrumbProps } from './lib/Breadcrumb'; +export { default as BreadcrumbItem, BreadcrumbItemProps } from './lib/BreadcrumbItem'; +export { default as Button, ButtonProps } from './lib/Button'; +export { default as ButtonDropdown, ButtonDropdownProps } from './lib/ButtonDropdown'; +export { default as ButtonGroup, ButtonGroupProps } from './lib/ButtonGroup'; +export { default as ButtonToolbar, ButtonToolbarProps } from './lib/ButtonToolbar'; +export { default as Card, CardProps } from './lib/Card'; +export { default as CardBody, CardBodyProps } from './lib/CardBody'; +export { default as CardColumns, CardColumnsProps } from './lib/CardColumns'; +export { default as CardDeck, CardDeckProps } from './lib/CardDeck'; +export { default as CardFooter, CardFooterProps } from './lib/CardFooter'; +export { default as CardGroup, CardGroupProps } from './lib/CardGroup'; +export { default as CardHeader, CardHeaderProps } from './lib/CardHeader'; +export { default as CardImg, CardImgProps } from './lib/CardImg'; +export { default as CardImgOverlay, CardImgOverlayProps } from './lib/CardImgOverlay'; +export { default as CardLink, CardLinkProps } from './lib/CardLink'; +export { default as CardSubtitle, CardSubtitleProps } from './lib/CardSubtitle'; +export { default as CardText, CardTextProps } from './lib/CardText'; +export { default as CardTitle, CardTitleProps } from './lib/CardTitle'; +export { default as Carousel, CarouselProps } from './lib/Carousel'; +export { default as CarouselItem, CarouselItemProps } from './lib/CarouselItem'; +export { default as CarouselControl, CarouselControlProps } from './lib/CarouselControl'; +export { default as CarouselIndicators, CarouselIndicatorsProps } from './lib/CarouselIndicators'; +export { default as CarouselCaption, CarouselCaptionProps } from './lib/CarouselCaption'; +export { default as Col, ColProps } from './lib/Col'; +export { default as Collapse, CollapseProps } from './lib/Collapse'; +export { default as Container, ContainerProps } from './lib/Container'; +export { default as Dropdown, DropdownProps } from './lib/Dropdown'; +export { default as DropdownItem, DropdownItemProps } from './lib/DropdownItem'; +export { default as DropdownMenu, DropdownMenuProps } from './lib/DropdownMenu'; +export { default as DropdownToggle, DropdownToggleProps } from './lib/DropdownToggle'; +export { default as Fade, FadeProps } from './lib/Fade'; +export { default as Form, FormProps } from './lib/Form'; +export { default as FormFeedback, FormFeedbackProps } from './lib/FormFeedback'; +export { default as FormGroup, FormGroupProps } from './lib/FormGroup'; +export { default as FormText, FormTextProps } from './lib/FormText'; +export { default as Input, InputProps } from './lib/Input'; +export { default as InputGroup, InputGroupProps } from './lib/InputGroup'; +export { default as InputGroupAddon, InputGroupAddonProps } from './lib/InputGroupAddon'; +export { default as InputGroupButtonDropdown, InputGroupButtonDropdownProps } from './lib/InputGroupButtonDropdown'; +export { default as InputGroupText, InputGroupTextProps } from './lib/InputGroupText'; +export { default as Jumbotron, JumbotronProps } from './lib/Jumbotron'; +export { default as Label, LabelProps } from './lib/Label'; +export { default as ListGroup, ListGroupProps } from './lib/ListGroup'; +export { default as ListGroupItem, ListGroupItemProps } from './lib/ListGroupItem'; +export { default as ListGroupItemHeading, ListGroupItemHeadingProps } from './lib/ListGroupItemHeading'; +export { default as ListGroupItemText, ListGroupItemTextProps } from './lib/ListGroupItemText'; +export { default as Media, MediaProps } from './lib/Media'; +export { default as Modal, ModalProps } from './lib/Modal'; +export { default as ModalBody, ModalBodyProps } from './lib/ModalBody'; +export { default as ModalFooter, ModalFooterProps } from './lib/ModalFooter'; +export { default as ModalHeader, ModalHeaderProps } from './lib/ModalHeader'; +export { default as Nav, NavProps } from './lib/Nav'; +export { default as Navbar, NavbarProps } from './lib/Navbar'; +export { default as NavbarBrand, NavbarBrandProps } from './lib/NavbarBrand'; +export { default as NavbarToggler, NavbarTogglerProps } from './lib/NavbarToggler'; +export { default as NavItem, NavItemProps } from './lib/NavItem'; +export { default as NavLink, NavLinkProps } from './lib/NavLink'; +export { default as Pagination, PaginationProps } from './lib/Pagination'; +export { default as PaginationItem, PaginationItemProps } from './lib/PaginationItem'; +export { default as PaginationLink, PaginationLinkProps } from './lib/PaginationLink'; +export { default as Popover, PopoverProps } from './lib/Popover'; +export { default as PopoverBody, PopoverBodyProps } from './lib/PopoverBody'; +export { default as PopoverHeader, PopoverHeaderProps } from './lib/PopoverHeader'; +export { default as Progress, ProgressProps } from './lib/Progress'; +export { default as Row, RowProps } from './lib/Row'; +export { default as TabContent, TabContentProps } from './lib/TabContent'; +export { default as Table, TableProps } from './lib/Table'; +export { default as TabPane, TabPaneProps } from './lib/TabPane'; +export { default as Tag, TagProps } from './lib/Tag'; +export { default as Tooltip, TooltipProps } from './lib/Tooltip'; +export { UncontrolledAlert, UncontrolledAlertProps } from './lib/Uncontrolled'; +export { UncontrolledButtonDropdown, UncontrolledButtonDropdownProps } from './lib/Uncontrolled'; +export { UncontrolledDropdown, UncontrolledDropdownProps } from './lib/Uncontrolled'; +export { UncontrolledTooltip, UncontrolledTooltipProps } from './lib/Uncontrolled'; diff --git a/types/reactstrap/lib/CardBlock.d.ts b/types/reactstrap/lib/CardBlock.d.ts deleted file mode 100644 index 9830e15e6a..0000000000 --- a/types/reactstrap/lib/CardBlock.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { CSSModule } from '../index'; - -export interface CardBlockProps { - tag?: React.ReactType; - className?: string; - cssModule?: CSSModule; -} - -declare const CardBlock: React.StatelessComponent; -export default CardBlock; diff --git a/types/reactstrap/lib/Dropdown.d.ts b/types/reactstrap/lib/Dropdown.d.ts index 9754af4fe2..e53b813cfe 100644 --- a/types/reactstrap/lib/Dropdown.d.ts +++ b/types/reactstrap/lib/Dropdown.d.ts @@ -18,6 +18,7 @@ export interface Props extends UncontrolledProps { group?: boolean; size?: string; tag?: React.ReactType; + addonType?: boolean | 'prepend' | 'append'; } export interface DropdownProps extends Props { /* intentionally blank */ diff --git a/types/reactstrap/lib/DropdownToggle.d.ts b/types/reactstrap/lib/DropdownToggle.d.ts index 51028815d4..eab2f3879d 100644 --- a/types/reactstrap/lib/DropdownToggle.d.ts +++ b/types/reactstrap/lib/DropdownToggle.d.ts @@ -6,6 +6,7 @@ export interface DropdownToggleProps { cssModule?: CSSModule; disabled?: boolean; onClick?: React.MouseEventHandler; + outline?: boolean; 'data-toggle'?: string; 'aria-haspopup'?: boolean; split?: boolean; diff --git a/types/reactstrap/lib/InputGroupAddon.d.ts b/types/reactstrap/lib/InputGroupAddon.d.ts index 31f5af505d..88b4f678c7 100644 --- a/types/reactstrap/lib/InputGroupAddon.d.ts +++ b/types/reactstrap/lib/InputGroupAddon.d.ts @@ -1,9 +1,10 @@ import { CSSModule } from '../index'; -export interface InputGroupAddonProps { +export interface InputGroupAddonProps extends React.HTMLAttributes { tag?: React.ReactType; className?: string; cssModule?: CSSModule; + addonType: 'prepend' | 'append'; } declare const InputGroupAddon: React.StatelessComponent; diff --git a/types/reactstrap/lib/InputGroupButton.d.ts b/types/reactstrap/lib/InputGroupButton.d.ts deleted file mode 100644 index 0d77701932..0000000000 --- a/types/reactstrap/lib/InputGroupButton.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { CSSModule } from '../index'; - -export interface InputGroupButtonProps { - tag?: React.ReactType; - groupClassName?: string; - groupAttributes?: any; - className?: string; - cssModule?: CSSModule; - color?: string; -} - -declare const InputGroupButton: React.StatelessComponent; -export default InputGroupButton; diff --git a/types/reactstrap/lib/InputGroupButtonDropdown.d.ts b/types/reactstrap/lib/InputGroupButtonDropdown.d.ts new file mode 100644 index 0000000000..32a129d43d --- /dev/null +++ b/types/reactstrap/lib/InputGroupButtonDropdown.d.ts @@ -0,0 +1,8 @@ +import { DropdownProps } from './Dropdown'; + +export interface InputGroupButtonDropdownProps extends DropdownProps { + addonType: 'prepend' | 'append'; +} + +declare const InputGroupButtonDropdown: React.StatelessComponent; +export default InputGroupButtonDropdown; diff --git a/types/reactstrap/lib/InputGroupText.d.ts b/types/reactstrap/lib/InputGroupText.d.ts new file mode 100644 index 0000000000..356babe8f4 --- /dev/null +++ b/types/reactstrap/lib/InputGroupText.d.ts @@ -0,0 +1,9 @@ +import { CSSModule } from '../index'; + +export interface InputGroupTextProps extends React.HTMLAttributes { + tag?: React.ReactType; + cssModule?: CSSModule; +} + +declare const InputGroupText: React.StatelessComponent; +export default InputGroupText; diff --git a/types/reactstrap/lib/NavDropdown.d.ts b/types/reactstrap/lib/NavDropdown.d.ts deleted file mode 100644 index e40e60601c..0000000000 --- a/types/reactstrap/lib/NavDropdown.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { UncontrolledDropdownProps, DropdownProps } from './Dropdown'; - -export interface UncontrolledProps extends UncontrolledDropdownProps { - /* intentionally blank */ -} -export interface UncontrolledNavDropdownProps extends UncontrolledProps { - /* intentionally blank */ -} - -export interface NavDropdownProps extends DropdownProps { - /* intentionally blank */ -} - -declare const NavDropdown: React.StatelessComponent; -export default NavDropdown; diff --git a/types/reactstrap/lib/Uncontrolled.d.ts b/types/reactstrap/lib/Uncontrolled.d.ts index b3b292dd6b..d241477adb 100644 --- a/types/reactstrap/lib/Uncontrolled.d.ts +++ b/types/reactstrap/lib/Uncontrolled.d.ts @@ -1,17 +1,14 @@ import { UncontrolledAlertProps } from './Alert'; import { UncontrolledButtonDropdownProps } from './ButtonDropdown'; import { UncontrolledDropdownProps } from './Dropdown'; -import { UncontrolledNavDropdownProps } from './NavDropdown'; import { UncontrolledTooltipProps } from './Tooltip'; export const UncontrolledAlert: React.StatelessComponent; export const UncontrolledButtonDropdown: React.StatelessComponent; export const UncontrolledDropdown: React.StatelessComponent; -export const UncontrolledNavDropdown: React.StatelessComponent; export const UncontrolledTooltip: React.StatelessComponent; export { UncontrolledAlertProps } from './Alert'; export { UncontrolledButtonDropdownProps } from './ButtonDropdown'; export { UncontrolledDropdownProps } from './Dropdown'; -export { UncontrolledNavDropdownProps } from './NavDropdown'; export { UncontrolledTooltipProps } from './Tooltip'; diff --git a/types/reactstrap/reactstrap-tests.tsx b/types/reactstrap/reactstrap-tests.tsx index 0f0bf7b81d..756d3acbd0 100644 --- a/types/reactstrap/reactstrap-tests.tsx +++ b/types/reactstrap/reactstrap-tests.tsx @@ -15,7 +15,6 @@ import { DropdownToggle, Card, CardBody, - CardBlock, CardColumns, CardDeck, CardFooter, @@ -44,7 +43,8 @@ import { Input, InputGroup, InputGroupAddon, - InputGroupButton, + InputGroupButtonDropdown, + InputGroupText, Pagination, Label, ListGroup, @@ -61,7 +61,6 @@ import { Navbar, NavbarBrand, NavbarToggler, - NavDropdown, NavItem, NavLink, PaginationItem, @@ -73,7 +72,6 @@ import { TabPane, UncontrolledButtonDropdown, UncontrolledDropdown, - UncontrolledNavDropdown, UncontrolledTooltip, TabContent, Table, @@ -522,12 +520,12 @@ const Example25 = (props: any) => {
- + Card title Card subtitle Some quick example text to build on the card title and make up the bulk of the card's content. - +
); @@ -537,16 +535,16 @@ const Example26 = (props: any) => { return (
- + Card title Card subtitle - + Card image cap - + Some quick example text to build on the card title and make up the bulk of the card's content. Card Link Another Link - +
); @@ -600,21 +598,21 @@ const Example29 = (props: any) => {
Header - + Special Title Treatment With supporting text below as a natural lead-in to additional content. - + Footer Featured - + Special Title Treatment With supporting text below as a natural lead-in to additional content. - + Footer
@@ -626,22 +624,22 @@ const Example30 = (props: any) => {
- + Card Title This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. Last updated 3 mins ago - + - + Card Title This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. Last updated 3 mins ago - +
@@ -744,25 +742,25 @@ const Example34 = (props: any) => { - + Card title Card subtitle This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. - + - + Card title Card subtitle This card has supporting text below as a natural lead-in to additional content. - + - + Card title Card subtitle @@ -770,7 +768,7 @@ const Example34 = (props: any) => { card has even longer content than the first to show that equal height action. - + ); @@ -781,25 +779,25 @@ const Example35 = (props: any) => { - + Card title Card subtitle This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. - + - + Card title Card subtitle This card has supporting text below as a natural lead-in to additional content. - + - + Card title Card subtitle @@ -807,7 +805,7 @@ const Example35 = (props: any) => { even longer content than the first to show that equal height action. - + ); @@ -818,23 +816,23 @@ const Example36 = (props: any) => { - + Card title Card subtitle This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. - + - + Card title Card subtitle This card has supporting text below as a natural lead-in to additional content. - + Special Title Treatment @@ -845,7 +843,7 @@ const Example36 = (props: any) => { - + Card title Card subtitle @@ -853,7 +851,7 @@ const Example36 = (props: any) => { has even longer content than the first to show that equal height action. - + Special Title Treatment @@ -883,12 +881,12 @@ class Example37 extends React.Component { - + Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. - + @@ -925,12 +923,12 @@ class Example38 extends React.Component {
Current state: {this.state.status}
- + Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. - + @@ -1422,12 +1420,12 @@ const Example52 = (props: any) => { return (
- @ + @
- + @@ -1435,21 +1433,25 @@ const Example52 = (props: any) => {
- @example.com + @example.com
- $ - $ + + $ + $ + - $ - $ + + $ + $ +
- $ + $ - .00 + .00
); @@ -1459,19 +1461,19 @@ const Example53 = (props: any) => { return (
- To the Left! + To the Left!
- To the Right! + To the Right!
- To the Left! + To the Left! - To the Right! + To the Right!
); @@ -1481,17 +1483,17 @@ const Example54 = (props: any) => { return (
- @lg + @lg
- @normal + @normal
- @sm + @sm
@@ -1502,19 +1504,19 @@ const Example55 = (props: any) => { return (
- +
- +
- + - +
); @@ -1524,17 +1526,17 @@ const Example56 = (props: any) => { return (
- @lg + @lg
- @normal + @normal
- @sm + @sm
@@ -1545,19 +1547,19 @@ const Example57 = (props: any) => { return (
- +
- +
- + - +
); @@ -1567,19 +1569,19 @@ const Example58 = (props: any) => { return (
- To the Left! + To the Left!
- To the Right! + To the Right!
- To the Left! + To the Left! - To the Right! + To the Right!
); @@ -2242,7 +2244,7 @@ class Example79 extends React.Component { Link - + Dropdown @@ -2253,7 +2255,7 @@ class Example79 extends React.Component { Another Action - + Link @@ -2292,7 +2294,7 @@ class Example80 extends React.Component { Link - + Dropdown @@ -2303,7 +2305,7 @@ class Example80 extends React.Component { Another Action - + Link @@ -3614,3 +3616,46 @@ class Example115 extends React.Component { ); } } + +const Example116 = (props: any) => { + return( +
+ + + + +
+ + + + + Button Dropdown + + + Header + Action + Another Action + + Another Action + + + +
+ + + + + + Header + Action + Another Action + + Another Action + + + + + +
+ ); +}; From 282ad3e16b2b9072ac19bbd5c7f817557d1a0586 Mon Sep 17 00:00:00 2001 From: Brad Menchl Date: Fri, 2 Feb 2018 20:29:39 -0500 Subject: [PATCH 088/463] Add argument type to onFocus prop --- types/react-geosuggest/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-geosuggest/index.d.ts b/types/react-geosuggest/index.d.ts index c0f2aa5ede..5a45a1ca2e 100644 --- a/types/react-geosuggest/index.d.ts +++ b/types/react-geosuggest/index.d.ts @@ -34,7 +34,7 @@ export interface GeosuggestProps extends InputHTMLAttributes { queryDelay?: number; minLength?: number; highlightMatch?: boolean; - onFocus?(): void; + onFocus?(value: any): void; onBlur?(value: any): void; onChange?(value: any): void; onKeyDown?(event: any): void; From 67f47f95bd396a644bb8cae585704aca80e338d8 Mon Sep 17 00:00:00 2001 From: mtgto Date: Sat, 3 Feb 2018 11:47:47 +0900 Subject: [PATCH 089/463] [material-ui] Delete IconMenu.children --- types/material-ui/index.d.ts | 1 - types/material-ui/material-ui-tests.tsx | 9 +++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/types/material-ui/index.d.ts b/types/material-ui/index.d.ts index 9624e6d4a2..646988fc07 100644 --- a/types/material-ui/index.d.ts +++ b/types/material-ui/index.d.ts @@ -1262,7 +1262,6 @@ declare namespace __MaterialUI { // Other properties from autoWidth?: boolean; - children?: React.ReactElement | Array>; desktop?: boolean; disableAutoFocus?: boolean; initiallyKeyboardFocused?: boolean; diff --git a/types/material-ui/material-ui-tests.tsx b/types/material-ui/material-ui-tests.tsx index 51b22c936c..a997ca7512 100644 --- a/types/material-ui/material-ui-tests.tsx +++ b/types/material-ui/material-ui-tests.tsx @@ -4503,6 +4503,15 @@ const IconMenuExampleSimple = () => ( > + } + > + {false} + {undefined} + {null} + {true} + + ); From 78c32c0c0bf91dc1d131f2b48dab4a52f9da96fe Mon Sep 17 00:00:00 2001 From: bang Date: Sat, 3 Feb 2018 17:15:46 +0800 Subject: [PATCH 090/463] fix: add missing static property positions --- types/react-native-drawer-layout/index.d.ts | 20 +++++++++++-------- .../react-native-drawer-layout-tests.tsx | 10 ++++++++++ 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/types/react-native-drawer-layout/index.d.ts b/types/react-native-drawer-layout/index.d.ts index f6cf7a0d4a..f8b34fc3fd 100644 --- a/types/react-native-drawer-layout/index.d.ts +++ b/types/react-native-drawer-layout/index.d.ts @@ -94,12 +94,16 @@ export interface DrawerLayoutProperties extends ViewProperties { } export default class DrawerLayout extends React.Component { - /** - * Opens the drawer. - */ - openDrawer(): void; - /** - * Closes the drawer. - */ - closeDrawer(): void; + static positions: { + Left: "left"; + Right: "right"; + }; + /** + * Opens the drawer. + */ + openDrawer(): void; + /** + * Closes the drawer. + */ + closeDrawer(): void; } diff --git a/types/react-native-drawer-layout/react-native-drawer-layout-tests.tsx b/types/react-native-drawer-layout/react-native-drawer-layout-tests.tsx index c194756333..e0371643ee 100644 --- a/types/react-native-drawer-layout/react-native-drawer-layout-tests.tsx +++ b/types/react-native-drawer-layout/react-native-drawer-layout-tests.tsx @@ -32,6 +32,16 @@ class DrawerTest extends React.Component<{}, DrawerTestState> { > Screen content + + { + DrawerLayout.positions.Left + } + + + { + DrawerLayout.positions.Right + } + ); From b59d51ea8b036d0bf64704e9a5cfb4b867198df0 Mon Sep 17 00:00:00 2001 From: TomBarta Date: Sat, 3 Feb 2018 07:07:59 -0700 Subject: [PATCH 091/463] update SingleDatePicker prop types --- types/react-dates/index.d.ts | 1 + types/react-dates/react-dates-tests.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/types/react-dates/index.d.ts b/types/react-dates/index.d.ts index 2038b8a5d2..d88094e67c 100644 --- a/types/react-dates/index.d.ts +++ b/types/react-dates/index.d.ts @@ -163,6 +163,7 @@ declare namespace ReactDates { hideKeyboardShortcutsPanel?: boolean, daySize?: number, isRTL?: boolean, + verticalSpacing?: number, // navigation related props navPrev?: string | JSX.Element, diff --git a/types/react-dates/react-dates-tests.tsx b/types/react-dates/react-dates-tests.tsx index f9d3118a4f..87a1794fb8 100644 --- a/types/react-dates/react-dates-tests.tsx +++ b/types/react-dates/react-dates-tests.tsx @@ -64,6 +64,7 @@ class SingleDatePickerFullTest extends React.Component { orientation="horizontal" monthFormat="MM" renderDayContents={day => day.toString()} + verticalSpacing={4} /> } } From fe93d60e9a2e62c03d4f33ecbe40e42c17a9a3a6 Mon Sep 17 00:00:00 2001 From: TomBarta Date: Sat, 3 Feb 2018 07:21:06 -0700 Subject: [PATCH 092/463] update SingleDatePicker prop types --- types/react-dates/index.d.ts | 6 +++++- types/react-dates/react-dates-tests.tsx | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/types/react-dates/index.d.ts b/types/react-dates/index.d.ts index d88094e67c..abc0de7498 100644 --- a/types/react-dates/index.d.ts +++ b/types/react-dates/index.d.ts @@ -146,6 +146,9 @@ declare namespace ReactDates { customInputIcon?: string | JSX.Element, noBorder?: boolean, block?: boolean, + small?: boolean, + regular?: boolean, + keepFocusOnInput?: boolean, // calendar presentation and interaction related props renderMonth?: (day: momentPropTypes.momentObj) => (string | JSX.Element), @@ -163,7 +166,8 @@ declare namespace ReactDates { hideKeyboardShortcutsPanel?: boolean, daySize?: number, isRTL?: boolean, - verticalSpacing?: number, + verticalSpacing?: number, + verticalHeight?: number| null, // navigation related props navPrev?: string | JSX.Element, diff --git a/types/react-dates/react-dates-tests.tsx b/types/react-dates/react-dates-tests.tsx index 87a1794fb8..3a95453a78 100644 --- a/types/react-dates/react-dates-tests.tsx +++ b/types/react-dates/react-dates-tests.tsx @@ -65,6 +65,8 @@ class SingleDatePickerFullTest extends React.Component { monthFormat="MM" renderDayContents={day => day.toString()} verticalSpacing={4} + keepFocusOnInput={true} + verticalHeight={5} /> } } From e88f86490391631ceb00e0d19e55e081d114f2b2 Mon Sep 17 00:00:00 2001 From: TomBarta Date: Sat, 3 Feb 2018 07:25:17 -0700 Subject: [PATCH 093/463] update SingleDatePicker prop types --- types/react-dates/react-dates-tests.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/react-dates/react-dates-tests.tsx b/types/react-dates/react-dates-tests.tsx index 3a95453a78..9de177ac34 100644 --- a/types/react-dates/react-dates-tests.tsx +++ b/types/react-dates/react-dates-tests.tsx @@ -67,6 +67,8 @@ class SingleDatePickerFullTest extends React.Component { verticalSpacing={4} keepFocusOnInput={true} verticalHeight={5} + regular={true} + small={true} /> } } From c4c47a16775e37edf52241afd1990ce9b35f0a1b Mon Sep 17 00:00:00 2001 From: Huw McNamara Date: Sat, 3 Feb 2018 15:23:08 +0000 Subject: [PATCH 094/463] tidied up and de-duplicated tls options --- types/node/v8/index.d.ts | 95 +++++++++++++------------------------ types/node/v8/tsconfig.json | 4 +- 2 files changed, 36 insertions(+), 63 deletions(-) diff --git a/types/node/v8/index.d.ts b/types/node/v8/index.d.ts index 18ba96575d..791b27de1d 100644 --- a/types/node/v8/index.d.ts +++ b/types/node/v8/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Node.js 8.5.x +// Type definitions for Node.js 8.9.x // Project: http://nodejs.org/ // Definitions by: Microsoft TypeScript // DefinitelyTyped @@ -17,6 +17,7 @@ // Sebastian Silbermann // Hannes Magnusson // Alberto Schiabel +// Huw // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /** inspector module types */ @@ -111,7 +112,7 @@ declare function clearImmediate(immediateId: any): void; // TODO: change to `type NodeRequireFunction = (id: string) => any;` in next mayor version. interface NodeRequireFunction { -/* tslint:disable-next-line:callable-types */ + /* tslint:disable-next-line:callable-types */ (id: string): any; } @@ -1728,33 +1729,20 @@ declare module "https" { import * as http from "http"; import { URL } from "url"; - 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 | null, ctx: tls.SecureContext) => void) => void; - secureProtocol?: string; - } + export type ServerOptions = tls.SecureContextOptions & tls.TlsServerOptions; - export interface RequestOptions extends http.RequestOptions { - pfx?: any; - key?: any; - passphrase?: string; - cert?: any; - ca?: any; - ciphers?: string; - rejectUnauthorized?: boolean; - secureProtocol?: string; - servername?: string; - } + // see https://nodejs.org/docs/latest-v8.x/api/https.html#https_https_request_options_callback + type extendedRequestKeys = "pfx" | + "key" | + "passphrase" | + "cert" | + "ca" | + "ciphers" | + "rejectUnauthorized" | + "secureProtocol" | + "servername"; + + export type RequestOptions = http.RequestOptions & Pick export interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions { rejectUnauthorized?: boolean; @@ -4816,7 +4804,7 @@ declare module "tls" { * An array of strings or a Buffer naming possible NPN protocols. * (Protocols should be ordered by their priority.) */ - NPNProtocols?: string[] | Buffer, + NPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array; /** * An array of strings or a Buffer naming possible ALPN protocols. * (Protocols should be ordered by their priority.) When the server @@ -4824,7 +4812,7 @@ declare module "tls" { * precedence over NPN and the server does not send an NPN extension * to the client. */ - ALPNProtocols?: string[] | Buffer, + ALPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array; /** * SNICallback(servername, cb) A function that will be * called if the client supports SNI TLS extension. Two arguments @@ -4834,7 +4822,7 @@ declare module "tls" { * 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, + SNICallback?: (servername: string, cb: (err: Error | null, ctx: SecureContext) => void) => void; /** * An optional Buffer instance containing a TLS session. */ @@ -4900,7 +4888,7 @@ declare module "tls" { * @param callback - callback(err) will be executed with null as err, once the renegotiation * is successfully completed. */ - renegotiate(options: TlsOptions, callback: (err: Error | null) => void): any; + renegotiate(options: { rejectUnauthorized: boolean, requestCert: boolean }, callback: (err: Error | null) => void): 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 @@ -4943,30 +4931,15 @@ declare module "tls" { prependOnceListener(event: "secureConnect", listener: () => void): this; } - 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; + export interface TlsServerOptions extends SecureContextOptions { + handshakeTimeout?: number; requestCert?: boolean; rejectUnauthorized?: boolean; - NPNProtocols?: string[] | Buffer; + NPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array; + ALPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array; SNICallback?: (servername: string, cb: (err: Error | null, ctx: SecureContext) => void) => void; - ecdhCurve?: string; - dhparam?: string | Buffer; - handshakeTimeout?: number; - ALPNProtocols?: string[] | Buffer; sessionTimeout?: number; - ticketKeys?: Buffer; - sessionIdContext?: string; - secureProtocol?: string; - secureOptions?: number; + ticketKeys: Buffer; } export interface ConnectionOptions extends SecureContextOptions { @@ -4975,8 +4948,8 @@ declare module "tls" { path?: string; // Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored. socket?: net.Socket; // Establish secure connection on a given socket rather than creating a new socket rejectUnauthorized?: boolean; // Defaults to true - NPNProtocols?: Array; - ALPNProtocols?: Array; + NPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array; + ALPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array checkServerIdentity?: typeof checkServerIdentity; servername?: string; // SNI TLS Extension session?: Buffer; @@ -5093,7 +5066,7 @@ declare module "tls" { * Returns Error object, populating it with the reason, host and cert on failure. On success, returns undefined. */ export function checkServerIdentity(host: string, cert: PeerCertificate): Error | undefined; - export function createServer(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server; + export function createServer(options: TlsServerOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server; export function connect(options: ConnectionOptions, secureConnectionListener?: () => void): TLSSocket; export function connect(port: number, host?: string, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; export function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; @@ -5374,7 +5347,7 @@ declare module "stream" { writable: boolean; constructor(opts?: WritableOptions); _write(chunk: any, encoding: string, callback: (err?: Error) => void): void; - _writev?(chunks: Array<{chunk: any, encoding: string}>, callback: (err?: Error) => void): void; + _writev?(chunks: Array<{ chunk: any, encoding: string }>, callback: (err?: Error) => void): void; _destroy(err: Error, callback: Function): void; _final(callback: Function): void; write(chunk: any, cb?: Function): boolean; @@ -5465,7 +5438,7 @@ declare module "stream" { writable: boolean; constructor(opts?: DuplexOptions); _write(chunk: any, encoding: string, callback: (err?: Error) => void): void; - _writev?(chunks: Array<{chunk: any, encoding: string}>, callback: (err?: Error) => void): void; + _writev?(chunks: Array<{ chunk: any, encoding: string }>, callback: (err?: Error) => void): void; _destroy(err: Error, callback: Function): void; _final(callback: Function): void; write(chunk: any, cb?: Function): boolean; @@ -5545,9 +5518,9 @@ declare module "util" { export function callbackify(fn: (arg1: T1, arg2: T2) => Promise): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException) => void) => void; export function callbackify(fn: (arg1: T1, arg2: T2) => Promise): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; export function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3) => Promise): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException) => void) => void; - export function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3) => Promise): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; + export function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3) => Promise): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; export function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException) => void) => void; - export function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; + export function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; export function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException) => void) => void; export function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; export function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: (err: NodeJS.ErrnoException) => void) => void; @@ -6142,7 +6115,7 @@ declare module "http2" { } export interface ServerStreamFileResponseOptions { - statCheck?: (stats: fs.Stats, headers: OutgoingHttpHeaders, statOptions: StatOptions) => void|boolean; + statCheck?: (stats: fs.Stats, headers: OutgoingHttpHeaders, statOptions: StatOptions) => void | boolean; getTrailers?: (trailers: OutgoingHttpHeaders) => void; offset?: number; length?: number; @@ -6488,7 +6461,7 @@ declare module "http2" { export type ServerSessionOptions = SessionOptions; export interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions { } - export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsOptions { } + export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsServerOptions { } export interface ServerOptions extends ServerSessionOptions { allowHTTP1?: boolean; diff --git a/types/node/v8/tsconfig.json b/types/node/v8/tsconfig.json index 3f4614bef4..ce2e55d06f 100644 --- a/types/node/v8/tsconfig.json +++ b/types/node/v8/tsconfig.json @@ -11,7 +11,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ @@ -26,4 +26,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file From 22ee81d082108eb11b62e8a280af61693d8351dc Mon Sep 17 00:00:00 2001 From: Huw McNamara Date: Sat, 3 Feb 2018 15:38:01 +0000 Subject: [PATCH 095/463] fixed build issues --- types/node/v8/index.d.ts | 7 ++++--- types/node/v8/tsconfig.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/types/node/v8/index.d.ts b/types/node/v8/index.d.ts index 791b27de1d..e277ab2404 100644 --- a/types/node/v8/index.d.ts +++ b/types/node/v8/index.d.ts @@ -19,6 +19,7 @@ // Alberto Schiabel // Huw // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 /** inspector module types */ /// @@ -1742,7 +1743,7 @@ declare module "https" { "secureProtocol" | "servername"; - export type RequestOptions = http.RequestOptions & Pick + export type RequestOptions = http.RequestOptions & Pick; export interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions { rejectUnauthorized?: boolean; @@ -4939,7 +4940,7 @@ declare module "tls" { ALPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array; SNICallback?: (servername: string, cb: (err: Error | null, ctx: SecureContext) => void) => void; sessionTimeout?: number; - ticketKeys: Buffer; + ticketKeys?: Buffer; } export interface ConnectionOptions extends SecureContextOptions { @@ -4949,7 +4950,7 @@ declare module "tls" { socket?: net.Socket; // Establish secure connection on a given socket rather than creating a new socket rejectUnauthorized?: boolean; // Defaults to true NPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array; - ALPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array + ALPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array; checkServerIdentity?: typeof checkServerIdentity; servername?: string; // SNI TLS Extension session?: Buffer; diff --git a/types/node/v8/tsconfig.json b/types/node/v8/tsconfig.json index ce2e55d06f..8deb391829 100644 --- a/types/node/v8/tsconfig.json +++ b/types/node/v8/tsconfig.json @@ -11,7 +11,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": true, + "strictNullChecks": false, "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ From f960c08627d257113c1755e45628c85cbeef87a3 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Sat, 3 Feb 2018 08:59:40 -0800 Subject: [PATCH 096/463] Test for rules and fix --- types/eslint/eslint-tests.ts | 151 +++++++++++++++++++++++++++++------ types/eslint/index.d.ts | 3 +- 2 files changed, 128 insertions(+), 26 deletions(-) diff --git a/types/eslint/eslint-tests.ts b/types/eslint/eslint-tests.ts index 65bfcc294d..5f15b21039 100644 --- a/types/eslint/eslint-tests.ts +++ b/types/eslint/eslint-tests.ts @@ -1,5 +1,5 @@ import { Comment } from 'estree'; -import { SourceCode, Linter, CLIEngine, RuleTester, AST } from 'eslint'; +import { AST, SourceCode, Rule, Linter, CLIEngine, RuleTester } from 'eslint'; const SOURCE = `var foo = bar;`; @@ -210,40 +210,143 @@ sourceCode.getCommentsInside(AST); //#endregion +//#region Rule + +let rule: Rule.RuleModule; + +rule = { create(context) { return {}; } }; +rule = { create(context) { return {}; }, meta: {} }; +rule = { create(context) { return {}; }, meta: { + docs: { + description: 'disallow the use of `console`', + category: 'Possible Errors', + recommended: true, + url: 'https://eslint.org/docs/rules/no-console', + } +}}; +rule = { create(context) { return {}; }, meta: { fixable: 'whitespace' }}; +rule = { create(context) { return {}; }, meta: { fixable: 'code' }}; +rule = { create(context) { return {}; }, meta: { schema: [{ enum: ['always', 'never'] }] }}; +rule = { create(context) { return {}; }, meta: { deprecated: true }}; + +rule = { + create(context) { + context.getAncestors(); + + context.getDeclaredVariables(AST); + + context.getFilename(); + + context.getSourceCode(); + + // TODO: Add test for scope + context.getScope(); + + context.markVariableAsUsed('foo'); + + context.report({ message: 'foo', node: AST }); + context.report({ message: 'foo', loc: { line: 0, column: 0 } }); + context.report({ message: 'foo', node: AST, data: { foo: 'bar' } }); + context.report({ message: 'foo', node: AST, fix: () => null }); + context.report({ message: 'foo', node: AST, fix: ruleFixer => ruleFixer.replaceText(AST, 'foo') }); + + context.report({ + message: 'foo', + node: AST, + fix: ruleFixer => { + ruleFixer.insertTextAfter(AST, 'foo'); + ruleFixer.insertTextAfter(TOKEN, 'foo'); + + ruleFixer.insertTextAfterRange([0, 0], 'foo'); + + ruleFixer.insertTextBefore(AST, 'foo'); + ruleFixer.insertTextBefore(TOKEN, 'foo'); + + ruleFixer.insertTextBeforeRange([0, 0], 'foo'); + + ruleFixer.remove(AST); + ruleFixer.remove(TOKEN); + + ruleFixer.removeRange([0, 0]); + + ruleFixer.replaceText(AST, 'foo'); + ruleFixer.replaceText(TOKEN, 'foo'); + + ruleFixer.replaceTextRange([0, 0], 'foo'); + + return null; + } + }); + + return { + onCodePathStart(codePath, node) {}, + onCodePathEnd(codePath, node) {}, + onCodePathSegmentStart(segment, node) {}, + onCodePathSegmentEnd(segment, node) {}, + onCodePathSegmentLoop(fromSegment, toSegment, node) {}, + 'Program:exit'() {}, + }; + }, +}; + +//#endregion + //#region Linter const linter = new Linter(); -linter.verify(SOURCE, { - rules: { - eqeqeq: 'off', - 'no-console': 'error', - quotes: ['error', 'double'] - }, -}, { - filename: 'test.js', -}); +linter.version; -linter.verifyAndFix(SOURCE, { - rules: { - 'no-console': 'error', - } -}, { - filename: 'test.js', -}); +linter.verify(SOURCE, {}); +linter.verify(new SourceCode(SOURCE, AST), {}); -linter.defineRule('my-fancy-rule', { - create() {}, +linter.verify(SOURCE, {}, 'test.js'); +linter.verify(SOURCE, {}, {}); +linter.verify(SOURCE, {}, { filename: 'test.js' }); +linter.verify(SOURCE, {}, { allowInlineConfig: false }); +linter.verify(SOURCE, {}, { reportUnusedDisableDirectives: true }); +linter.verify(SOURCE, {}, { preprocess: input => input.split(' ') }); +linter.verify(SOURCE, {}, { postprocess: problemList => problemList[0] }); + +linter.verify(SOURCE, { parserOptions: { ecmaVersion: 6 } }, 'test.js'); +linter.verify(SOURCE, { parserOptions: { ecmaVersion: 6, ecmaFeatures: { globalReturn: true } } }, 'test.js'); +linter.verify(SOURCE, { parserOptions: { ecmaVersion: 6, ecmaFeatures: { experimentalObjectRestSpread: true } } }, 'test.js'); +linter.verify(SOURCE, { env: { node: true } }, 'test.js'); +linter.verify(SOURCE, { globals: { foo: true } }, 'test.js'); +linter.verify(SOURCE, { parser: 'custom-parser' }, 'test.js'); +linter.verify(SOURCE, { settings: { info: 'foo' } }, 'test.js'); + +linter.verify(SOURCE, { rules: {} }, 'test.js'); +linter.verify(SOURCE, { rules: { quotes: 2 } }, 'test.js'); +linter.verify(SOURCE, { rules: { quotes: [2, 'double'] } }, 'test.js'); +linter.verify(SOURCE, { rules: { 'no-unused-vars': [2, { vars: "all" }] } }, 'test.js'); +linter.verify(SOURCE, { rules: { 'no-console': 1 } }, 'test.js'); +linter.verify(SOURCE, { rules: { 'no-console': 0 } }, 'test.js'); +linter.verify(SOURCE, { rules: { 'no-console': 'error' } }, 'test.js'); +linter.verify(SOURCE, { rules: { 'no-console': 'warn' } }, 'test.js'); +linter.verify(SOURCE, { rules: { 'no-console': 'off' } }, 'test.js'); + +linter.verifyAndFix(SOURCE, {}); +linter.verifyAndFix(SOURCE, {}, 'test.js'); +linter.verifyAndFix(SOURCE, {}, { fix: false }); + +linter.getSourceCode(); + +// TODO: Fix me +linter.defineRule('test', { + create() => {}, }); +// TODO: Fix me linter.defineRules({ - 'my-fancy-rule': { create() {} }, - 'my-fancy-other-rule': { create() {} } + 'test': { create() => {} }, + 'test-2': { create() => {} }, }); linter.getRules(); -linter.getSourceCode(); +// TODO: Fix me +linter.defineParser('cutom-parser', ); //#endregion @@ -282,9 +385,7 @@ CLIEngine.outputFixes(report); const ruleTester = new RuleTester({ parserOptions: { ecmaVersion: 2015 } }); -ruleTester.run("my-rule", { - create() {}, -}, { +ruleTester.run("my-rule", rule, { valid: [ { code: "var foo = true", diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index 1a0ec2b8f4..26f2452fe2 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -236,7 +236,7 @@ export namespace SourceCode { export namespace Rule { interface RuleModule { - create(context: RuleContext): any; + create(context: RuleContext): RuleListener; meta?: RuleMetaData; } @@ -284,6 +284,7 @@ export namespace Rule { recommended?: boolean; url?: string; }; + //TODO: Find usage of message field messages?: { [messageId: string]: string }; fixable?: 'code' | 'whitespace'; schema?: JSONSchema4 | JSONSchema4[]; From f91d88c1261f474989afff5c8963434b2b1e4eee Mon Sep 17 00:00:00 2001 From: Ehsan Ziya Date: Fri, 2 Feb 2018 17:18:31 +0000 Subject: [PATCH 097/463] Add extensions definition to express-graphql options --- types/express-graphql/express-graphql-tests.ts | 3 ++- types/express-graphql/index.d.ts | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/types/express-graphql/express-graphql-tests.ts b/types/express-graphql/express-graphql-tests.ts index d476682104..c91f73029e 100644 --- a/types/express-graphql/express-graphql-tests.ts +++ b/types/express-graphql/express-graphql-tests.ts @@ -10,7 +10,8 @@ const graphqlOption: graphqlHTTP.OptionsObj = { schema: schema, formatError: (error: Error) => ({ message: error.message - }) + }), + extensions: (args) => { } }; const graphqlOptionRequest = (request: express.Request): graphqlHTTP.OptionsObj => ({ diff --git a/types/express-graphql/index.d.ts b/types/express-graphql/index.d.ts index 82f988a506..89a0a80ed8 100644 --- a/types/express-graphql/index.d.ts +++ b/types/express-graphql/index.d.ts @@ -3,6 +3,7 @@ // Definitions by: Isman Usoh // Nitin Tutlani // Daniel Fader +// Ehsan Ziya // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -48,8 +49,22 @@ declare namespace graphqlHTTP { * A boolean to optionally enable GraphiQL mode. */ graphiql?: boolean, + + /** + * An optional function for adding additional metadata to the GraphQL response as a key-value object. + * The result will be added to "extensions" field in the resulting JSON. + */ + extensions?: (args: ExtenstionsArgs) => any; + }; + interface ExtenstionsArgs { + document: object, + variables: object, + operationName: any, + result: object + } + type Middleware = (request: Request, response: Response) => void; } From cef3a6f728de99f1c30dda112c10b7570db2e0d2 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Sat, 3 Feb 2018 18:38:38 +0100 Subject: [PATCH 098/463] Revert "Remove global spyOn, pending, fail (#23226)" This reverts commit f08ec1c02ffbc2c26297d5d6eae2e288053a8e8a. --- types/jest/index.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/types/jest/index.d.ts b/types/jest/index.d.ts index e3cac9b881..e0d73d5c9e 100644 --- a/types/jest/index.d.ts +++ b/types/jest/index.d.ts @@ -548,6 +548,16 @@ declare namespace jest { // Relevant parts of Jasmine's API are below so they can be changed and removed over time. // This file can't reference jasmine.d.ts since the globals aren't compatible. +declare function spyOn(object: any, method: string): jasmine.Spy; +/** + * If you call the function pending anywhere in the spec body, + * no matter the expectations, the spec will be marked pending. + */ +declare function pending(reason?: string): void; +/** + * Fails a test when called within one. + */ +declare function fail(error?: any): void; declare namespace jasmine { let DEFAULT_TIMEOUT_INTERVAL: number; function clock(): Clock; From 317a828a2fd4fb2ea2072fb50f7dc161a36584d3 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Sat, 3 Feb 2018 10:40:45 -0800 Subject: [PATCH 099/463] Close gaps in scope and linter tests --- types/eslint/eslint-tests.ts | 103 +++++++++++++++++++++++++++++++---- types/eslint/index.d.ts | 2 +- 2 files changed, 92 insertions(+), 13 deletions(-) diff --git a/types/eslint/eslint-tests.ts b/types/eslint/eslint-tests.ts index 5f15b21039..57a58d475e 100644 --- a/types/eslint/eslint-tests.ts +++ b/types/eslint/eslint-tests.ts @@ -1,5 +1,5 @@ import { Comment } from 'estree'; -import { AST, SourceCode, Rule, Linter, CLIEngine, RuleTester } from 'eslint'; +import { AST, SourceCode, Rule, Linter, CLIEngine, RuleTester, Scope } from 'eslint'; const SOURCE = `var foo = bar;`; @@ -38,7 +38,7 @@ const COMMENT: Comment = { //#region SourceCode -const sourceCode = new SourceCode(SOURCE, AST); +let sourceCode = new SourceCode(SOURCE, AST); SourceCode.splitLines(SOURCE); @@ -210,6 +210,48 @@ sourceCode.getCommentsInside(AST); //#endregion +//#region Scope + +const scopeManager: Scope.ScopeManager = { + scopes: [], + globalScope: null, + acquire(node, inner) { + return this.scopes[0]; + }, + getDeclaredVariables() { + return []; + } +}; + +const scope = scopeManager.scopes[0]; + +const variable = scope.variables[0]; + +variable.name = 'foo'; + +variable.identifiers[0].type = 'Identifier'; + +variable.defs[0].name.type = 'Identifier'; +variable.defs[0].type; +variable.defs[0].node; +variable.defs[0].parent; + +const reference = scope.references[0]; + +reference.from = scope; +reference.identifier.type = 'Identifier'; +reference.resolved = variable; +reference.writeExpr = AST; +reference.init = true; + +reference.isRead(); +reference.isReadOnly(); +reference.isWrite(); +reference.isWriteOnly(); +reference.isReadWrite(); + +//#endregion + //#region Rule let rule: Rule.RuleModule; @@ -326,27 +368,64 @@ linter.verify(SOURCE, { rules: { 'no-console': 'error' } }, 'test.js'); linter.verify(SOURCE, { rules: { 'no-console': 'warn' } }, 'test.js'); linter.verify(SOURCE, { rules: { 'no-console': 'off' } }, 'test.js'); +const lintingResult = linter.verify(SOURCE, {}); + +for (const msg of lintingResult) { + msg.severity = 1; + msg.severity = 2; + + msg.ruleId = 'foo'; + + msg.fatal = true; + + msg.line = 0; + msg.endLine = 0; + msg.column = 0; + msg.endColumn = 0; + + msg.source = SOURCE; + + if (msg.fix) { + msg.fix.text = 'foo'; + msg.fix.range = [0, 0]; + } +} + linter.verifyAndFix(SOURCE, {}); linter.verifyAndFix(SOURCE, {}, 'test.js'); linter.verifyAndFix(SOURCE, {}, { fix: false }); -linter.getSourceCode(); +const fixResult = linter.verifyAndFix(SOURCE, {}); -// TODO: Fix me -linter.defineRule('test', { - create() => {}, -}); +fixResult.fixed = true; +fixResult.output = 'foo'; + +for (const msg of fixResult.messages) { + msg.ruleId = 'foo'; +} + +sourceCode = linter.getSourceCode(); + +linter.defineRule('test', rule); -// TODO: Fix me linter.defineRules({ - 'test': { create() => {} }, - 'test-2': { create() => {} }, + foo: rule, + bar: rule, }); linter.getRules(); -// TODO: Fix me -linter.defineParser('cutom-parser', ); +linter.defineParser('custom-parser', { parse: (src, opts) => AST }); +linter.defineParser('custom-parser', { + parseForESLint(src, opts) { + return { + ast: AST, + visitorKeys: {}, + parserServices: {}, + scopeManager, + }; + } +}); //#endregion diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index 26f2452fe2..4ba910329c 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -69,7 +69,7 @@ export namespace Scope { interface Variable { name: string; - identifiers: ESTree.Identifier; + identifiers: ESTree.Identifier[]; references: Reference[]; defs: Definition[]; } From 164beef44424ec8561966d584ecd2c7e2a3a2865 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Sat, 3 Feb 2018 10:42:48 -0800 Subject: [PATCH 100/463] Fix linting errors --- types/eslint/eslint-tests.ts | 2 +- types/eslint/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/eslint/eslint-tests.ts b/types/eslint/eslint-tests.ts index 57a58d475e..a7aa0e3ba6 100644 --- a/types/eslint/eslint-tests.ts +++ b/types/eslint/eslint-tests.ts @@ -216,7 +216,7 @@ const scopeManager: Scope.ScopeManager = { scopes: [], globalScope: null, acquire(node, inner) { - return this.scopes[0]; + return scopeManager.scopes[0]; }, getDeclaredVariables() { return []; diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index 4ba910329c..84503a2b40 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -284,7 +284,7 @@ export namespace Rule { recommended?: boolean; url?: string; }; - //TODO: Find usage of message field + // TODO: Find usage of message field messages?: { [messageId: string]: string }; fixable?: 'code' | 'whitespace'; schema?: JSONSchema4 | JSONSchema4[]; From 120dbdb0e2224f5cc69b0ae6db9a8d818fe07c34 Mon Sep 17 00:00:00 2001 From: Dave Wasmer Date: Sat, 3 Feb 2018 12:49:52 -0700 Subject: [PATCH 101/463] Fix accepts.encodings parameters --- types/accepts/index.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/accepts/index.d.ts b/types/accepts/index.d.ts index 33ee0db8a1..0b36e3b640 100644 --- a/types/accepts/index.d.ts +++ b/types/accepts/index.d.ts @@ -24,6 +24,7 @@ declare namespace accepts { /** * Return the first accepted encoding. If nothing in `encodings` is accepted, then `false` is returned. */ + encoding(): string[]; encoding(encodings: string[]): string | false; encoding(...encodings: string[]): string | false; @@ -31,6 +32,8 @@ declare namespace accepts { * Return the encodings that the request accepts, in the order of the client's preference (most preferred first). */ encodings(): string[]; + encodings(encodings: string[]): string | false; + encodings(...encodings: string[]): string | false; /** * Return the first accepted language. If nothing in `languages` is accepted, then `false` is returned. From 197062a1790ad3fe7ff6faae98c3ef3020bf0dc9 Mon Sep 17 00:00:00 2001 From: Dave Wasmer Date: Sat, 3 Feb 2018 12:57:30 -0700 Subject: [PATCH 102/463] Fix charset signatures, update doc comments --- types/accepts/index.d.ts | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/types/accepts/index.d.ts b/types/accepts/index.d.ts index 0b36e3b640..c5cc9a7936 100644 --- a/types/accepts/index.d.ts +++ b/types/accepts/index.d.ts @@ -12,24 +12,35 @@ declare namespace accepts { interface Accepts { /** * Return the first accepted charset. If nothing in `charsets` is accepted, then `false` is returned. + * If no charsets are supplied, all accepted charsets are returned, in the order of the client's preference + * (most preferred first). */ + charset(): string[]; 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). + * Return the first accepted charset. If nothing in `charsets` is accepted, then `false` is returned. + * If no charsets are supplied, all accepted charsets are returned, in the order of the client's preference + * (most preferred first). */ charsets(): string[]; + charsets(charsets: string[]): string | false; + charsets(...charsets: string[]): string | false; /** * Return the first accepted encoding. If nothing in `encodings` is accepted, then `false` is returned. + * If no encodings are supplied, all accepted encodings are returned, in the order of the client's preference + * (most preferred first). */ encoding(): string[]; 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). + * Return the first accepted encoding. If nothing in `encodings` is accepted, then `false` is returned. + * If no encodings are supplied, all accepted encodings are returned, in the order of the client's preference + * (most preferred first). */ encodings(): string[]; encodings(encodings: string[]): string | false; From 70945527bcadbbb5458eabc86bc9ae1b85b9b2fc Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Sat, 3 Feb 2018 11:59:34 -0800 Subject: [PATCH 103/463] Add tests for RuleTester --- types/eslint/eslint-tests.ts | 89 +++++++++++++++++++++++++----------- 1 file changed, 63 insertions(+), 26 deletions(-) diff --git a/types/eslint/eslint-tests.ts b/types/eslint/eslint-tests.ts index a7aa0e3ba6..6b4b19e463 100644 --- a/types/eslint/eslint-tests.ts +++ b/types/eslint/eslint-tests.ts @@ -361,7 +361,7 @@ linter.verify(SOURCE, { settings: { info: 'foo' } }, 'test.js'); linter.verify(SOURCE, { rules: {} }, 'test.js'); linter.verify(SOURCE, { rules: { quotes: 2 } }, 'test.js'); linter.verify(SOURCE, { rules: { quotes: [2, 'double'] } }, 'test.js'); -linter.verify(SOURCE, { rules: { 'no-unused-vars': [2, { vars: "all" }] } }, 'test.js'); +linter.verify(SOURCE, { rules: { 'no-unused-vars': [2, { vars: 'all' }] } }, 'test.js'); linter.verify(SOURCE, { rules: { 'no-console': 1 } }, 'test.js'); linter.verify(SOURCE, { rules: { 'no-console': 0 } }, 'test.js'); linter.verify(SOURCE, { rules: { 'no-console': 'error' } }, 'test.js'); @@ -431,17 +431,31 @@ linter.defineParser('custom-parser', { //#region CLIEngine -const cli = new CLIEngine({ - envs: ['browser', 'mocha'], - useEslintrc: false, - rules: { - semi: 2 - } -}); +let cli: CLIEngine; -cli.executeOnFiles(['myfile.js', 'lib/']); +cli = new CLIEngine({ allowInlineConfig: false }); +cli = new CLIEngine({ baseConfig: false }); +cli = new CLIEngine({ cache: true }); +cli = new CLIEngine({ cacheFile: 'foo' }); +cli = new CLIEngine({ configFile: 'foo' }); +cli = new CLIEngine({ cwd: 'foo' }); +cli = new CLIEngine({ envs: ['browser'] }); +cli = new CLIEngine({ extensions: ['js'] }); +cli = new CLIEngine({ fix: true }); +cli = new CLIEngine({ globals: ['foo'] }); +cli = new CLIEngine({ ignore: true }); +cli = new CLIEngine({ ignorePath: 'foo' }); +cli = new CLIEngine({ ignorePattern: 'foo' }); +cli = new CLIEngine({ useEslintrc: false }); +cli = new CLIEngine({ parserOptions: {} }); +cli = new CLIEngine({ plugins: ['foo'] }); +cli = new CLIEngine({ rules: { 'test/example-rule': 1 } }); +cli = new CLIEngine({ rulePaths: ['foo'] }); +cli = new CLIEngine({ reportUnusedDisableDirectives: true }); -const report = cli.executeOnText(SOURCE, 'foo'); +let cliReport = cli.executeOnFiles(['myfile.js', 'lib/']); + +cliReport = cli.executeOnText(SOURCE, 'foo'); cli.resolveFileGlobPatterns(['**/*']); @@ -452,11 +466,33 @@ cli.addPlugin('my-fancy-plugin', {}); cli.isPathIgnored('./dist/index.js'); const formatter = cli.getFormatter('codeframe'); -formatter(report.results); -CLIEngine.getErrorResults(report.results); +formatter(cliReport.results); -CLIEngine.outputFixes(report); +CLIEngine.getErrorResults(cliReport.results); + +CLIEngine.outputFixes(cliReport); + +cliReport.errorCount = 0; +cliReport.warningCount = 0; +cliReport.fixableErrorCount = 0; +cliReport.fixableWarningCount = 0; + +for (const file of cliReport.results) { + file.filePath = 'foo.js'; + + file.errorCount = 0; + file.warningCount = 0; + file.fixableErrorCount = 0; + file.fixableWarningCount = 0; + + file.source = 'foo'; + file.output = 'foo'; + + for (const message of file.messages) { + message.ruleId = 'foo'; + } +} //#endregion @@ -464,23 +500,24 @@ CLIEngine.outputFixes(report); const ruleTester = new RuleTester({ parserOptions: { ecmaVersion: 2015 } }); -ruleTester.run("my-rule", rule, { +ruleTester.run('my-rule', rule, { valid: [ - { - code: "var foo = true", - options: [{ allowFoo: true }] - } + { code: 'foo' }, + { code: 'foo', options: [{ allowFoo: true }] }, + { code: 'foo', filename: 'test.js' }, + { code: 'foo', parserOptions: {} }, + { code: 'foo', settings: { foo: true } }, + { code: 'foo', parser: 'foo' }, + { code: 'foo', globals: { foo: true } }, ], invalid: [ - { - code: "var invalidVariable = true", - errors: [{ message: "Unexpected invalid variable." }] - }, - { - code: "var invalidVariable = true", - errors: [{ message: /^Unexpected.+variable/ }] - } + { code: 'foo', errors: 1 }, + { code: 'foo', errors: ['foo'] }, + { code: 'foo', errors: [{ message: 'foo' }] }, + { code: 'foo', errors: [{ message: 'foo', type: 'foo' }] }, + { code: 'foo', errors: [{ message: 'foo', data: { foo: true } }] }, + { code: 'foo', errors: [{ message: 'foo', line: 0 }] }, ] }); From c459668c8ca1c9c6810f3e680f9edc7c82495407 Mon Sep 17 00:00:00 2001 From: Dave Wasmer Date: Sat, 3 Feb 2018 13:01:04 -0700 Subject: [PATCH 104/463] Fix language(s) signatures --- types/accepts/index.d.ts | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/types/accepts/index.d.ts b/types/accepts/index.d.ts index c5cc9a7936..02cb0fbb97 100644 --- a/types/accepts/index.d.ts +++ b/types/accepts/index.d.ts @@ -48,14 +48,39 @@ declare namespace accepts { /** * Return the first accepted language. If nothing in `languages` is accepted, then `false` is returned. + * If no languaes are supplied, all accepted languages are returned, in the order of the client's preference + * (most preferred first). */ + language(): string[]; 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). + * Return the first accepted language. If nothing in `languages` is accepted, then `false` is returned. + * If no languaes are supplied, all accepted languages are returned, in the order of the client's preference + * (most preferred first). */ languages(): string[]; + languages(languages: string[]): string | false; + languages(...languages: string[]): string | false; + + /** + * Return the first accepted language. If nothing in `languages` is accepted, then `false` is returned. + * If no languaes are supplied, all accepted languages are returned, in the order of the client's preference + * (most preferred first). + */ + lang(): string[]; + lang(languages: string[]): string | false; + lang(...languages: string[]): string | false; + + /** + * Return the first accepted language. If nothing in `languages` is accepted, then `false` is returned. + * If no languaes are supplied, all accepted languages are returned, in the order of the client's preference + * (most preferred first). + */ + langs(): string[]; + langs(languages: string[]): string | false; + langs(...languages: string[]): string | false; /** * 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. From 25d95f9e69d120ae213a09d0784c1a5426b8a271 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Sat, 3 Feb 2018 12:08:36 -0800 Subject: [PATCH 105/463] Resolve trailing TODOs --- types/eslint/eslint-tests.ts | 17 +++++++++++++---- types/eslint/index.d.ts | 27 +++++++++++++-------------- 2 files changed, 26 insertions(+), 18 deletions(-) diff --git a/types/eslint/eslint-tests.ts b/types/eslint/eslint-tests.ts index 6b4b19e463..624d438ea7 100644 --- a/types/eslint/eslint-tests.ts +++ b/types/eslint/eslint-tests.ts @@ -69,7 +69,7 @@ sourceCode.getIndexFromLoc({ line: 0, column: 0 }); sourceCode.getTokenByRangeStart(0); sourceCode.getTokenByRangeStart(0, { includeComments: true }); -// TODO: Should accept no second parameter? +sourceCode.getFirstToken(AST); sourceCode.getFirstToken(AST, 0); sourceCode.getFirstToken(AST, { skip: 0 }); sourceCode.getFirstToken(AST, t => t.type === 'Identifier'); @@ -79,6 +79,7 @@ sourceCode.getFirstToken(AST, { includeComments: true }); sourceCode.getFirstToken(AST, { includeComments: true, skip: 0 }); sourceCode.getFirstToken(AST, { includeComments: true, skip: 0, filter: t => t.type === 'Identifier' }); +sourceCode.getFirstTokens(AST); sourceCode.getFirstTokens(AST, 0); sourceCode.getFirstTokens(AST, { count: 0 }); sourceCode.getFirstTokens(AST, t => t.type === 'Identifier'); @@ -88,6 +89,7 @@ sourceCode.getFirstTokens(AST, { includeComments: true }); sourceCode.getFirstTokens(AST, { includeComments: true, count: 0 }); sourceCode.getFirstTokens(AST, { includeComments: true, count: 0, filter: t => t.type === 'Identifier' }); +sourceCode.getLastToken(AST); sourceCode.getLastToken(AST, 0); sourceCode.getLastToken(AST, { skip: 0 }); sourceCode.getLastToken(AST, t => t.type === 'Identifier'); @@ -97,6 +99,7 @@ sourceCode.getLastToken(AST, { includeComments: true }); sourceCode.getLastToken(AST, { includeComments: true, skip: 0 }); sourceCode.getLastToken(AST, { includeComments: true, skip: 0, filter: t => t.type === 'Identifier' }); +sourceCode.getLastTokens(AST); sourceCode.getLastTokens(AST, 0); sourceCode.getLastTokens(AST, { count: 0 }); sourceCode.getLastTokens(AST, t => t.type === 'Identifier'); @@ -106,6 +109,7 @@ sourceCode.getLastTokens(AST, { includeComments: true }); sourceCode.getLastTokens(AST, { includeComments: true, count: 0 }); sourceCode.getLastTokens(AST, { includeComments: true, count: 0, filter: t => t.type === 'Identifier' }); +sourceCode.getTokenBefore(AST); sourceCode.getTokenBefore(AST, 0); sourceCode.getTokenBefore(AST, { skip: 0 }); sourceCode.getTokenBefore(AST, t => t.type === 'Identifier'); @@ -117,6 +121,7 @@ sourceCode.getTokenBefore(AST, { includeComments: true, skip: 0, filter: t => t. sourceCode.getTokenBefore(TOKEN, 0); sourceCode.getTokenBefore(COMMENT, 0); +sourceCode.getTokensBefore(AST); sourceCode.getTokensBefore(AST, 0); sourceCode.getTokensBefore(AST, { count: 0 }); sourceCode.getTokensBefore(AST, t => t.type === 'Identifier'); @@ -128,6 +133,7 @@ sourceCode.getTokensBefore(AST, { includeComments: true, count: 0, filter: t => sourceCode.getTokensBefore(TOKEN, 0); sourceCode.getTokensBefore(COMMENT, 0); +sourceCode.getTokenAfter(AST); sourceCode.getTokenAfter(AST, 0); sourceCode.getTokenAfter(AST, { skip: 0 }); sourceCode.getTokenAfter(AST, t => t.type === 'Identifier'); @@ -139,6 +145,7 @@ sourceCode.getTokenAfter(AST, { includeComments: true, skip: 0, filter: t => t.t sourceCode.getTokenAfter(TOKEN, 0); sourceCode.getTokenAfter(COMMENT, 0); +sourceCode.getTokensAfter(AST); sourceCode.getTokensAfter(AST, 0); sourceCode.getTokensAfter(AST, { count: 0 }); sourceCode.getTokensAfter(AST, t => t.type === 'Identifier'); @@ -150,6 +157,7 @@ sourceCode.getTokensAfter(AST, { includeComments: true, count: 0, filter: t => t sourceCode.getTokensAfter(TOKEN, 0); sourceCode.getTokensAfter(COMMENT, 0); +sourceCode.getFirstTokenBetween(AST, AST); sourceCode.getFirstTokenBetween(AST, AST, 0); sourceCode.getFirstTokenBetween(AST, AST, { skip: 0 }); sourceCode.getFirstTokenBetween(AST, AST, t => t.type === 'Identifier'); @@ -159,6 +167,7 @@ sourceCode.getFirstTokenBetween(AST, AST, { includeComments: true }); sourceCode.getFirstTokenBetween(AST, AST, { includeComments: true, skip: 0 }); sourceCode.getFirstTokenBetween(AST, AST, { includeComments: true, skip: 0, filter: t => t.type === 'Identifier' }); +sourceCode.getFirstTokensBetween(AST, AST); sourceCode.getFirstTokensBetween(AST, AST, 0); sourceCode.getFirstTokensBetween(AST, AST, { count: 0 }); sourceCode.getFirstTokensBetween(AST, AST, t => t.type === 'Identifier'); @@ -168,6 +177,7 @@ sourceCode.getFirstTokensBetween(AST, AST, { includeComments: true }); sourceCode.getFirstTokensBetween(AST, AST, { includeComments: true, count: 0 }); sourceCode.getFirstTokensBetween(AST, AST, { includeComments: true, count: 0, filter: t => t.type === 'Identifier' }); +sourceCode.getLastTokenBetween(AST, AST); sourceCode.getLastTokenBetween(AST, AST, 0); sourceCode.getLastTokenBetween(AST, AST, { skip: 0 }); sourceCode.getLastTokenBetween(AST, AST, t => t.type === 'Identifier'); @@ -177,6 +187,7 @@ sourceCode.getLastTokenBetween(AST, AST, { includeComments: true }); sourceCode.getLastTokenBetween(AST, AST, { includeComments: true, skip: 0 }); sourceCode.getLastTokenBetween(AST, AST, { includeComments: true, skip: 0, filter: t => t.type === 'Identifier' }); +sourceCode.getLastTokensBetween(AST, AST); sourceCode.getLastTokensBetween(AST, AST, 0); sourceCode.getLastTokensBetween(AST, AST, { count: 0 }); sourceCode.getLastTokensBetween(AST, AST, t => t.type === 'Identifier'); @@ -186,6 +197,7 @@ sourceCode.getLastTokensBetween(AST, AST, { includeComments: true }); sourceCode.getLastTokensBetween(AST, AST, { includeComments: true, count: 0 }); sourceCode.getLastTokensBetween(AST, AST, { includeComments: true, count: 0, filter: t => t.type === 'Identifier' }); +sourceCode.getTokensBetween(AST, AST); sourceCode.getTokensBetween(AST, AST, 0); sourceCode.getTokens(AST); @@ -196,7 +208,6 @@ sourceCode.getTokens(AST, { filter: t => t.type === 'Identifier' }); sourceCode.getTokens(AST, { includeComments: true }); sourceCode.getTokens(AST, { includeComments: true, filter: t => t.type === 'Identifier' }); -// TODO: Is it token or Node ? sourceCode.commentsExistBetween(AST, AST); sourceCode.getCommentsBefore(AST); @@ -205,7 +216,6 @@ sourceCode.getCommentsBefore(TOKEN); sourceCode.getCommentsAfter(AST); sourceCode.getCommentsAfter(TOKEN); -// TODO: Should it support also token? sourceCode.getCommentsInside(AST); //#endregion @@ -281,7 +291,6 @@ rule = { context.getSourceCode(); - // TODO: Add test for scope context.getScope(); context.markVariableAsUsed('foo'); diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index 84503a2b40..abe7b7ce90 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -144,50 +144,50 @@ export class SourceCode { getTokenByRangeStart(offset: number, options?: { includeComments?: boolean }): AST.Token | null; - getFirstToken(node: ESTree.Node, options: SourceCode.CursorWithSkipOptions): AST.Token | null; + getFirstToken(node: ESTree.Node, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; - getFirstTokens(node: ESTree.Node, options: SourceCode.CursorWithCountOptions): AST.Token[]; + getFirstTokens(node: ESTree.Node, options?: SourceCode.CursorWithCountOptions): AST.Token[]; - getLastToken(node: ESTree.Node, options: SourceCode.CursorWithSkipOptions): AST.Token | null; + getLastToken(node: ESTree.Node, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; - getLastTokens(node: ESTree.Node, options: SourceCode.CursorWithCountOptions): AST.Token[]; + getLastTokens(node: ESTree.Node, options?: SourceCode.CursorWithCountOptions): AST.Token[]; - getTokenBefore(node: ESTree.Node | AST.Token | ESTree.Comment, options: SourceCode.CursorWithSkipOptions): AST.Token | null; + getTokenBefore(node: ESTree.Node | AST.Token | ESTree.Comment, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; - getTokensBefore(node: ESTree.Node | AST.Token | ESTree.Comment, options: SourceCode.CursorWithCountOptions): AST.Token[]; + getTokensBefore(node: ESTree.Node | AST.Token | ESTree.Comment, options?: SourceCode.CursorWithCountOptions): AST.Token[]; - getTokenAfter(node: ESTree.Node | AST.Token | ESTree.Comment, options: SourceCode.CursorWithSkipOptions): AST.Token | null; + getTokenAfter(node: ESTree.Node | AST.Token | ESTree.Comment, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; - getTokensAfter(node: ESTree.Node | AST.Token | ESTree.Comment, options: SourceCode.CursorWithCountOptions): AST.Token[]; + getTokensAfter(node: ESTree.Node | AST.Token | ESTree.Comment, options?: SourceCode.CursorWithCountOptions): AST.Token[]; getFirstTokenBetween( left: ESTree.Node | AST.Token | ESTree.Comment, right: ESTree.Node | AST.Token | ESTree.Comment, - options: SourceCode.CursorWithSkipOptions + options?: SourceCode.CursorWithSkipOptions ): AST.Token | null; getFirstTokensBetween( left: ESTree.Node | AST.Token | ESTree.Comment, right: ESTree.Node | AST.Token | ESTree.Comment, - options: SourceCode.CursorWithCountOptions + options?: SourceCode.CursorWithCountOptions ): AST.Token[]; getLastTokenBetween( left: ESTree.Node | AST.Token | ESTree.Comment, right: ESTree.Node | AST.Token | ESTree.Comment, - options: SourceCode.CursorWithSkipOptions + options?: SourceCode.CursorWithSkipOptions ): AST.Token | null; getLastTokensBetween( left: ESTree.Node | AST.Token | ESTree.Comment, right: ESTree.Node | AST.Token | ESTree.Comment, - options: SourceCode.CursorWithCountOptions + options?: SourceCode.CursorWithCountOptions ): AST.Token[]; getTokensBetween( left: ESTree.Node | AST.Token | ESTree.Comment, right: ESTree.Node | AST.Token | ESTree.Comment, - padding: number | SourceCode.FilterPredicate | SourceCode.CursorWithCountOptions + padding?: number | SourceCode.FilterPredicate | SourceCode.CursorWithCountOptions ): AST.Token[]; getTokens(node: ESTree.Node, beforeCount?: number, afterCount?: number): AST.Token[]; @@ -284,7 +284,6 @@ export namespace Rule { recommended?: boolean; url?: string; }; - // TODO: Find usage of message field messages?: { [messageId: string]: string }; fixable?: 'code' | 'whitespace'; schema?: JSONSchema4 | JSONSchema4[]; From 657add1fa267257b9323e8c29e7fad63c3d6c4a8 Mon Sep 17 00:00:00 2001 From: Kiarash Date: Sat, 3 Feb 2018 21:11:43 +0100 Subject: [PATCH 106/463] #23371 Better definition for Chart.js --- types/chart.js/index.d.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/types/chart.js/index.d.ts b/types/chart.js/index.d.ts index a2d22dbd67..83b164f15a 100644 --- a/types/chart.js/index.d.ts +++ b/types/chart.js/index.d.ts @@ -279,9 +279,11 @@ declare namespace Chart { } interface ChartTooltipsStaticConfiguartion { - positioners: any; + positioners: {[mode: string]: ChartTooltipPositioner}; } + type ChartTooltipPositioner = (elements: any[], eventPosition: Point) => Point; + interface ChartHoverOptions { mode?: string; animationDuration?: number; @@ -568,6 +570,11 @@ declare namespace Chart { pointLabels?: PointLabelOptions; ticks?: TickOptions; } + + interface Point { + x: number; + y: number; + } } export = Chart; From e28df7ba4a0c0147db37fa3b1a905e6d24246665 Mon Sep 17 00:00:00 2001 From: Kiarash Date: Sat, 3 Feb 2018 21:24:56 +0100 Subject: [PATCH 107/463] #23371 Fiy typo and updat test --- types/chart.js/chart.js-tests.ts | 9 ++++----- types/chart.js/index.d.ts | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/types/chart.js/chart.js-tests.ts b/types/chart.js/chart.js-tests.ts index 8400fb5db7..8bbbaab044 100644 --- a/types/chart.js/chart.js-tests.ts +++ b/types/chart.js/chart.js-tests.ts @@ -1,4 +1,4 @@ -import { Chart, ChartData } from 'chart.js'; +import { Chart, ChartData, Point } from 'chart.js'; // alternative: // import chartjs = require('chart.js'); @@ -67,10 +67,9 @@ if (chart.chartArea) { } // http://www.chartjs.org/docs/latest/configuration/tooltip.html#position-modes -Chart.Tooltip.positioners.custom = function(elements: any, eventPosition: any) { - const tooltip = this; +Chart.Tooltip.positioners.custom = function(elements: any[], eventPosition: Point) { return { - x: 0, - y: 0 + x: eventPosition.x, + y: eventPosition.y + 10 }; }; diff --git a/types/chart.js/index.d.ts b/types/chart.js/index.d.ts index 83b164f15a..25b579db7f 100644 --- a/types/chart.js/index.d.ts +++ b/types/chart.js/index.d.ts @@ -46,7 +46,7 @@ declare class Chart { }; // Tooltip Static Options - static Tooltip: Chart.ChartTooltipsStaticConfiguartion; + static Tooltip: Chart.ChartTooltipsStaticConfiguration; } declare class PluginServiceStatic { register(plugin: PluginServiceRegistrationOptions): void; @@ -278,7 +278,7 @@ declare namespace Chart { borderWidth?: number; } - interface ChartTooltipsStaticConfiguartion { + interface ChartTooltipsStaticConfiguration { positioners: {[mode: string]: ChartTooltipPositioner}; } From 2a5d98d3a4079475ab1fc67449729b296628dc13 Mon Sep 17 00:00:00 2001 From: Kiarash Date: Sat, 3 Feb 2018 21:35:53 +0100 Subject: [PATCH 108/463] #23371 Fix Travis error --- types/chart.js/chart.js-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/chart.js/chart.js-tests.ts b/types/chart.js/chart.js-tests.ts index 8bbbaab044..8ba81e8747 100644 --- a/types/chart.js/chart.js-tests.ts +++ b/types/chart.js/chart.js-tests.ts @@ -67,7 +67,7 @@ if (chart.chartArea) { } // http://www.chartjs.org/docs/latest/configuration/tooltip.html#position-modes -Chart.Tooltip.positioners.custom = function(elements: any[], eventPosition: Point) { +Chart.Tooltip.positioners.custom = (elements: any[], eventPosition: Point) => { return { x: eventPosition.x, y: eventPosition.y + 10 From d4fbe68f639cdd7cf28be72333d717c9ed3544c1 Mon Sep 17 00:00:00 2001 From: Kiarash Date: Sat, 3 Feb 2018 21:51:48 +0100 Subject: [PATCH 109/463] #23371 Change ChartTooltipOptions.position tpye to string --- types/chart.js/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/chart.js/index.d.ts b/types/chart.js/index.d.ts index 25b579db7f..9a8269bee4 100644 --- a/types/chart.js/index.d.ts +++ b/types/chart.js/index.d.ts @@ -271,7 +271,7 @@ declare namespace Chart { callbacks?: ChartTooltipCallback; filter?(item: ChartTooltipItem): boolean; itemSort?(itemA: ChartTooltipItem, itemB: ChartTooltipItem): number; - position?: "average"|"nearest"; + position?: string; caretPadding?: number; displayColors?: boolean; borderColor?: ChartColor; From c3ae41c5716da106eaa1ea8dc0d535bf59d41ead Mon Sep 17 00:00:00 2001 From: Klaus Meinhardt Date: Sat, 3 Feb 2018 22:22:13 +0100 Subject: [PATCH 110/463] Add get-caller-file --- .../get-caller-file/get-caller-file-tests.ts | 4 ++++ types/get-caller-file/index.d.ts | 9 ++++++++ types/get-caller-file/tsconfig.json | 23 +++++++++++++++++++ types/get-caller-file/tslint.json | 1 + 4 files changed, 37 insertions(+) create mode 100644 types/get-caller-file/get-caller-file-tests.ts create mode 100644 types/get-caller-file/index.d.ts create mode 100644 types/get-caller-file/tsconfig.json create mode 100644 types/get-caller-file/tslint.json diff --git a/types/get-caller-file/get-caller-file-tests.ts b/types/get-caller-file/get-caller-file-tests.ts new file mode 100644 index 0000000000..b7fdd9a8a4 --- /dev/null +++ b/types/get-caller-file/get-caller-file-tests.ts @@ -0,0 +1,4 @@ +import getCallerFile = require('get-caller-file'); + +let caller: string = getCallerFile(); +caller = getCallerFile(3); diff --git a/types/get-caller-file/index.d.ts b/types/get-caller-file/index.d.ts new file mode 100644 index 0000000000..65cbd8b6f9 --- /dev/null +++ b/types/get-caller-file/index.d.ts @@ -0,0 +1,9 @@ +// Type definitions for get-caller-file 1.0 +// Project: https://github.com/stefanpenner/get-caller-file#readme +// Definitions by: My Self +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +declare function getCallerFile(position?: number): string; +declare namespace getCallerFile {} + +export = getCallerFile; diff --git a/types/get-caller-file/tsconfig.json b/types/get-caller-file/tsconfig.json new file mode 100644 index 0000000000..1f87ecddd2 --- /dev/null +++ b/types/get-caller-file/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "get-caller-file-tests.ts" + ] +} diff --git a/types/get-caller-file/tslint.json b/types/get-caller-file/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/get-caller-file/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From d041430dc5c2b5013ba2ab645191dd5abd157cc2 Mon Sep 17 00:00:00 2001 From: Mellet Solbakk Date: Sun, 4 Feb 2018 00:05:09 +0100 Subject: [PATCH 111/463] Fix tabBarOnPress to destructure arguments --- types/react-navigation/index.d.ts | 4 ++-- types/react-navigation/react-navigation-tests.tsx | 11 ++++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/types/react-navigation/index.d.ts b/types/react-navigation/index.d.ts index 1c6f6716a9..49164e353f 100644 --- a/types/react-navigation/index.d.ts +++ b/types/react-navigation/index.d.ts @@ -347,10 +347,10 @@ export interface NavigationTabScreenOptions extends NavigationScreenOptions { > | string | null)); tabBarVisible?: boolean; tabBarTestIDProps?: { testID?: string, accessibilityLabel?: string }; - tabBarOnPress?: ( + tabBarOnPress?: (options: { scene: TabScene, jumpToIndex: (index: number) => void - ) => void; + }) => void; } export interface NavigationDrawerScreenOptions extends NavigationScreenOptions { diff --git a/types/react-navigation/react-navigation-tests.tsx b/types/react-navigation/react-navigation-tests.tsx index 9b61d11c2d..662cd0bb9d 100644 --- a/types/react-navigation/react-navigation-tests.tsx +++ b/types/react-navigation/react-navigation-tests.tsx @@ -140,7 +140,7 @@ const tabNavigatorScreenOptions: NavigationTabScreenOptions = { tabBarVisible: true, tabBarIcon: , tabBarLabel: 'label', - tabBarOnPress: (scene, index) => {} + tabBarOnPress: ({scene, jumpToIndex}) => {} }; const tabNavigatorConfig: TabNavigatorConfig = { @@ -154,6 +154,15 @@ const tabNavigatorConfigWithInitialLayout: TabNavigatorConfig = { initialLayout: { height: 0, width: 100 }, }; +const tabNavigatorConfigWithNavigationOptions: TabNavigatorConfig = { + ...tabNavigatorConfig, + navigationOptions: { + tabBarOnPress: ({scene, jumpToIndex}) => { + jumpToIndex(scene.index); + } + }, +}; + const BasicTabNavigator = TabNavigator( routeConfigMap, tabNavigatorConfig, From c9e511143d1b4a1f496f1e8a201806e76f98f737 Mon Sep 17 00:00:00 2001 From: Tim Chen Date: Sat, 3 Feb 2018 18:33:13 -0500 Subject: [PATCH 112/463] add missing ModalProps --- types/reactstrap/lib/Modal.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/reactstrap/lib/Modal.d.ts b/types/reactstrap/lib/Modal.d.ts index 5fc1ffc734..6db7207e9f 100644 --- a/types/reactstrap/lib/Modal.d.ts +++ b/types/reactstrap/lib/Modal.d.ts @@ -1,4 +1,5 @@ import { CSSModule } from '../index'; +import { FadeProps } from './Fade'; export interface ModalProps { isOpen?: boolean; @@ -9,6 +10,8 @@ export interface ModalProps { backdrop?: boolean | 'static'; onEnter?: () => void; onExit?: () => void; + onOpened?: () => void; + onClosed?: () => void; className?: string; cssModule?: CSSModule; wrapClassName?: string; @@ -17,6 +20,8 @@ export interface ModalProps { contentClassName?: string; zIndex?: number | string; fade?: boolean; + backdropTransition?: FadeProps; + modalTransition?: FadeProps; } declare const Modal: React.StatelessComponent; From 11b262328140691d26c8e6f0b1964f8da3cadcd2 Mon Sep 17 00:00:00 2001 From: Tim Chen Date: Sat, 3 Feb 2018 18:47:26 -0500 Subject: [PATCH 113/463] add myself to contributors --- types/reactstrap/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/reactstrap/index.d.ts b/types/reactstrap/index.d.ts index 38c55bc08a..0c1c8d134a 100644 --- a/types/reactstrap/index.d.ts +++ b/types/reactstrap/index.d.ts @@ -7,6 +7,7 @@ // FaithForHumans // Kurt Preston // Kræn Hansen +// Tim Chen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 From 5d5aaa8b7a0b4e8e1b6efc42d55fb773ae6030ac Mon Sep 17 00:00:00 2001 From: Tim Chen Date: Sat, 3 Feb 2018 18:52:11 -0500 Subject: [PATCH 114/463] Player should be the default export --- types/vimeo__player/index.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/vimeo__player/index.d.ts b/types/vimeo__player/index.d.ts index 3712e20cf7..c2699d15d2 100755 --- a/types/vimeo__player/index.d.ts +++ b/types/vimeo__player/index.d.ts @@ -1,6 +1,8 @@ // Type definitions for @vimeo/player 2.0 // Project: https://github.com/vimeo/player.js -// Definitions by: Denis Yılmaz , Felix Albert +// Definitions by: Denis Yılmaz +// Felix Albert +// Tim Chen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export function myMethod(a: string): string; @@ -23,7 +25,7 @@ export interface TypeError extends Error {name: "TypeError"; message: string; me export type EventName = "play" | "pause" | "ended" | "timeupdate" | "progress" | "seeked" | "texttrackchange" | "cuechange" | "cuepoint" | "volumechange" | "error" | "loaded" | string; export type EventCallback = (data: any) => any; -export class Player { +export default class Player { constructor(element: HTMLIFrameElement|HTMLElement|string, options: Options); on(event: EventName, callback: EventCallback): void; From 255933f96afde10d8a7f477fe10e0cf9f4f5a2bb Mon Sep 17 00:00:00 2001 From: Tim Chen Date: Sat, 3 Feb 2018 19:29:23 -0500 Subject: [PATCH 115/463] fix test --- types/vimeo__player/vimeo__player-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/vimeo__player/vimeo__player-tests.ts b/types/vimeo__player/vimeo__player-tests.ts index 622d5ca339..bf5a637762 100644 --- a/types/vimeo__player/vimeo__player-tests.ts +++ b/types/vimeo__player/vimeo__player-tests.ts @@ -1,4 +1,4 @@ -import { Player } from '@vimeo/player'; +import Player from '@vimeo/player'; // based on README.md of @vimeo/player >> https://github.com/vimeo/player.js From 866091be5343c5f2058b055ca91ee81dbe14e174 Mon Sep 17 00:00:00 2001 From: leak4mk0 Date: Sun, 4 Feb 2018 19:32:03 +0900 Subject: [PATCH 116/463] Fix return value type of orderBy method. --- types/bookshelf/bookshelf-tests.ts | 2 +- types/bookshelf/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/bookshelf/bookshelf-tests.ts b/types/bookshelf/bookshelf-tests.ts index 77af31461b..92a5d73c18 100644 --- a/types/bookshelf/bookshelf-tests.ts +++ b/types/bookshelf/bookshelf-tests.ts @@ -1124,7 +1124,7 @@ ships.on('fetched', (collection, response) => { User.collection() .orderBy('-name') .fetch() - .then((users: Bookshelf.Collection) => { + .then((users: Bookshelf.Collection>) => { console.log(users); }) } diff --git a/types/bookshelf/index.d.ts b/types/bookshelf/index.d.ts index dca8d5fad2..c151e81624 100644 --- a/types/bookshelf/index.d.ts +++ b/types/bookshelf/index.d.ts @@ -250,7 +250,7 @@ declare namespace Bookshelf { detach(options?: SyncOptions): BlueBird; fetchOne(options?: CollectionFetchOneOptions): BlueBird; load(relations: string | string[], options?: SyncOptions): BlueBird>; - orderBy(column: string, order?: SortOrder): T; + orderBy(column: string, order?: SortOrder): Collection; // Declaration order matters otherwise TypeScript gets confused between query() and query(...query: string[]) query(): Knex.QueryBuilder; From c86178045e0b87d8c2cfd3c35e760eb406d88cd1 Mon Sep 17 00:00:00 2001 From: gentoo90 Date: Sun, 4 Feb 2018 12:27:29 +0200 Subject: [PATCH 117/463] jquery.colorpicker: make disable field in options optional --- types/jquery.colorpicker/index.d.ts | 2 +- types/jquery.colorpicker/jquery.colorpicker-tests.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/types/jquery.colorpicker/index.d.ts b/types/jquery.colorpicker/index.d.ts index 05ee2cf5d2..1ece8a3c66 100644 --- a/types/jquery.colorpicker/index.d.ts +++ b/types/jquery.colorpicker/index.d.ts @@ -31,7 +31,7 @@ interface JQueryColorpickerOptions { closeOnOutside?: boolean; color?: string; colorFormat?: string; - disabled: boolean; + disabled?: boolean; draggable?: boolean; duration?: string; format?: string; diff --git a/types/jquery.colorpicker/jquery.colorpicker-tests.ts b/types/jquery.colorpicker/jquery.colorpicker-tests.ts index 4d2adfb69b..7d6e5c7ce3 100644 --- a/types/jquery.colorpicker/jquery.colorpicker-tests.ts +++ b/types/jquery.colorpicker/jquery.colorpicker-tests.ts @@ -70,6 +70,9 @@ colorpicker.colorpicker("destroy"); colorpicker.colorpicker("setColor", "#deadbeef"); colorpicker.colorpicker("option", "disabled", true); +// check if all options are optional +let defaultColorpicker = $("").colorpicker({}); + // example plugins provided $.colorpicker.parts["memory"] = function (inst) { From f2ce6a9bb436ba43b6f352fa20a07422972bc5a1 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Sun, 4 Feb 2018 08:01:41 -0800 Subject: [PATCH 118/463] Fix commentsExistBetween signature and make parse return Program --- types/eslint/eslint-tests.ts | 1 + types/eslint/index.d.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/types/eslint/eslint-tests.ts b/types/eslint/eslint-tests.ts index 624d438ea7..376cdf0a92 100644 --- a/types/eslint/eslint-tests.ts +++ b/types/eslint/eslint-tests.ts @@ -209,6 +209,7 @@ sourceCode.getTokens(AST, { includeComments: true }); sourceCode.getTokens(AST, { includeComments: true, filter: t => t.type === 'Identifier' }); sourceCode.commentsExistBetween(AST, AST); +sourceCode.commentsExistBetween(TOKEN, TOKEN); sourceCode.getCommentsBefore(AST); sourceCode.getCommentsBefore(TOKEN); diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index abe7b7ce90..9e0e68af0b 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -193,7 +193,7 @@ export class SourceCode { getTokens(node: ESTree.Node, beforeCount?: number, afterCount?: number): AST.Token[]; getTokens(node: ESTree.Node, options: SourceCode.FilterPredicate | SourceCode.CursorWithCountOptions): AST.Token[]; - commentsExistBetween(left: ESTree.Node, right: ESTree.Node): boolean; + commentsExistBetween(left: ESTree.Node | AST.Token, right: ESTree.Node | AST.Token): boolean; getCommentsBefore(nodeOrToken: ESTree.Node | AST.Token): ESTree.Comment[]; @@ -433,7 +433,7 @@ export namespace Linter { } type ParserModule = { - parse(text: string, options?: any): ESTree.Node; + parse(text: string, options?: any): AST.Program; } | { parseForESLint(text: string, options?: any): ESLintParseResult; }; From 97bae499e4d6b64497bc55e89e07725afbd55057 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Sun, 4 Feb 2018 11:36:33 -0500 Subject: [PATCH 119/463] Removing myself as an author --- types/lodash/index.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/types/lodash/index.d.ts b/types/lodash/index.d.ts index fd421681c1..578bfacd21 100644 --- a/types/lodash/index.d.ts +++ b/types/lodash/index.d.ts @@ -3,7 +3,6 @@ // Definitions by: Brian Zengel , // Ilya Mochalov , // Stepan Mikhaylyuk , -// Eric L Anderson , // AJ Richardson , // Junyoung Clare Jang , // e-cloud , From 20266dcf977ba514a9bb1cfbbf7e519749745767 Mon Sep 17 00:00:00 2001 From: Ehsan Ziya Date: Sun, 4 Feb 2018 16:56:03 +0000 Subject: [PATCH 120/463] Add async function definition for extensions --- types/express-graphql/express-graphql-tests.ts | 3 ++- types/express-graphql/index.d.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/types/express-graphql/express-graphql-tests.ts b/types/express-graphql/express-graphql-tests.ts index c91f73029e..8c0b14d49d 100644 --- a/types/express-graphql/express-graphql-tests.ts +++ b/types/express-graphql/express-graphql-tests.ts @@ -24,7 +24,8 @@ const graphqlOptionRequestAsync = async (request: express.Request): Promise { } }; }; diff --git a/types/express-graphql/index.d.ts b/types/express-graphql/index.d.ts index 89a0a80ed8..166bdae6e7 100644 --- a/types/express-graphql/index.d.ts +++ b/types/express-graphql/index.d.ts @@ -54,7 +54,7 @@ declare namespace graphqlHTTP { * An optional function for adding additional metadata to the GraphQL response as a key-value object. * The result will be added to "extensions" field in the resulting JSON. */ - extensions?: (args: ExtenstionsArgs) => any; + extensions?: ((args: ExtenstionsArgs) => any) | ((args: ExtenstionsArgs) => Promise); }; From 9fadb92bdcc8a79e3532583676b82f7fdf5dd74c Mon Sep 17 00:00:00 2001 From: Mohammad Hasani <20781126+brodmann@users.noreply.github.com> Date: Sun, 4 Feb 2018 21:11:58 +0330 Subject: [PATCH 121/463] fix: use Url interface instead of URL class --- types/got/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/got/index.d.ts b/types/got/index.d.ts index f76a907b7d..30a5b2c0be 100644 --- a/types/got/index.d.ts +++ b/types/got/index.d.ts @@ -80,7 +80,7 @@ declare namespace got { type GotStreamFn = (url: GotUrl, options?: GotOptions) => GotEmitter & nodeStream.Duplex; - type GotUrl = string | http.RequestOptions | URL; + type GotUrl = string | http.RequestOptions | Url; interface GotBodyOptions extends GotOptions { body?: string | Buffer | nodeStream.Readable; From 28ac79260ddd793cfdaef6351245188367e01fc6 Mon Sep 17 00:00:00 2001 From: Johan Levin Date: Sun, 4 Feb 2018 21:54:49 +0100 Subject: [PATCH 122/463] Change return type of net.Socket methods --- types/node/index.d.ts | 6 +++--- types/node/v4/index.d.ts | 6 +++--- types/node/v6/index.d.ts | 6 +++--- types/node/v7/index.d.ts | 6 +++--- types/node/v8/index.d.ts | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 38f043554b..5a8a95fea2 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -2621,9 +2621,9 @@ declare module "net" { destroy(err?: any): void; pause(): this; resume(): this; - setTimeout(timeout: number, callback?: Function): void; - setNoDelay(noDelay?: boolean): void; - setKeepAlive(enable?: boolean, initialDelay?: number): void; + setTimeout(timeout: number, callback?: Function): this; + setNoDelay(noDelay?: boolean): this; + setKeepAlive(enable?: boolean, initialDelay?: number): this; address(): { port: number; family: string; address: string; }; unref(): void; ref(): void; diff --git a/types/node/v4/index.d.ts b/types/node/v4/index.d.ts index b2db9f80ee..9d724643ca 100644 --- a/types/node/v4/index.d.ts +++ b/types/node/v4/index.d.ts @@ -1549,9 +1549,9 @@ declare module "net" { destroy(): void; pause(): void; resume(): void; - setTimeout(timeout: number, callback?: Function): void; - setNoDelay(noDelay?: boolean): void; - setKeepAlive(enable?: boolean, initialDelay?: number): void; + setTimeout(timeout: number, callback?: Function): this; + setNoDelay(noDelay?: boolean): this; + setKeepAlive(enable?: boolean, initialDelay?: number): this; address(): { port: number; family: string; address: string; }; unref(): void; ref(): void; diff --git a/types/node/v6/index.d.ts b/types/node/v6/index.d.ts index 5cbe7ab3dc..9b229306a3 100644 --- a/types/node/v6/index.d.ts +++ b/types/node/v6/index.d.ts @@ -2093,9 +2093,9 @@ declare module "net" { setEncoding(encoding?: string): void; 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; + setTimeout(timeout: number, callback?: Function): this; + setNoDelay(noDelay?: boolean): this; + setKeepAlive(enable?: boolean, initialDelay?: number): this; address(): { port: number; family: string; address: string; }; unref(): void; ref(): void; diff --git a/types/node/v7/index.d.ts b/types/node/v7/index.d.ts index 038c4a6f58..e95ce4bff2 100644 --- a/types/node/v7/index.d.ts +++ b/types/node/v7/index.d.ts @@ -2219,9 +2219,9 @@ declare module "net" { destroy(err?: any): void; pause(): this; resume(): this; - setTimeout(timeout: number, callback?: Function): void; - setNoDelay(noDelay?: boolean): void; - setKeepAlive(enable?: boolean, initialDelay?: number): void; + setTimeout(timeout: number, callback?: Function): this; + setNoDelay(noDelay?: boolean): this; + setKeepAlive(enable?: boolean, initialDelay?: number): this; address(): { port: number; family: string; address: string; }; unref(): void; ref(): void; diff --git a/types/node/v8/index.d.ts b/types/node/v8/index.d.ts index 18ba96575d..7d9750f53f 100644 --- a/types/node/v8/index.d.ts +++ b/types/node/v8/index.d.ts @@ -2609,9 +2609,9 @@ declare module "net" { destroy(err?: any): void; pause(): this; resume(): this; - setTimeout(timeout: number, callback?: Function): void; - setNoDelay(noDelay?: boolean): void; - setKeepAlive(enable?: boolean, initialDelay?: number): void; + setTimeout(timeout: number, callback?: Function): this; + setNoDelay(noDelay?: boolean): this; + setKeepAlive(enable?: boolean, initialDelay?: number): this; address(): { port: number; family: string; address: string; }; unref(): void; ref(): void; From e38672cd3e38f759708d7bd5a3a520559f431d33 Mon Sep 17 00:00:00 2001 From: glmdgrielson <32415403+glmdgrielson@users.noreply.github.com> Date: Sun, 4 Feb 2018 18:13:44 -0500 Subject: [PATCH 123/463] Updated require.resolve The official `require.resolve` docs say that it now accepts a second argument, an object with a paths property is an array which I think is comprised of strings. --- types/node/index.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 38f043554b..5d4a3d54c3 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -118,12 +118,17 @@ interface NodeRequireFunction { } interface NodeRequire extends NodeRequireFunction { - resolve(id: string): string; + resolve: RequireResolve; cache: any; extensions: NodeExtensions; main: NodeModule | undefined; } +interface RequireResolve { + (id: string, options?: { paths: string[]; }): string; + paths(request: string): string[]; +} + interface NodeExtensions { '.js': (m: NodeModule, filename: string) => any; '.json': (m: NodeModule, filename: string) => any; From aa6b62b81fae34eddf363ea1de270ccbfed7b170 Mon Sep 17 00:00:00 2001 From: glmdgrielson <32415403+glmdgrielson@users.noreply.github.com> Date: Sun, 4 Feb 2018 18:46:17 -0500 Subject: [PATCH 124/463] A bit of backporting It was added in 8.9 after all... --- types/node/v8/index.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/types/node/v8/index.d.ts b/types/node/v8/index.d.ts index 18ba96575d..98d6b10e2d 100644 --- a/types/node/v8/index.d.ts +++ b/types/node/v8/index.d.ts @@ -116,12 +116,17 @@ interface NodeRequireFunction { } interface NodeRequire extends NodeRequireFunction { - resolve(id: string): string; + resolve: RequireResolve; cache: any; extensions: NodeExtensions; main: NodeModule | undefined; } +interface RequireResolve { + (id: string, options?: { paths: string[]; }): string; + paths(request: string): string[]; +} + interface NodeExtensions { '.js': (m: NodeModule, filename: string) => any; '.json': (m: NodeModule, filename: string) => any; From 3d46301f55a4f5aaa1aa84606de974c5594a74da Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Mon, 5 Feb 2018 02:09:50 +0200 Subject: [PATCH 125/463] lodash: support `ReadonlyArray` for specifying property names Closes #23278 --- types/lodash/common/common.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/lodash/common/common.d.ts b/types/lodash/common/common.d.ts index 4956ca2ae0..5af72d2440 100644 --- a/types/lodash/common/common.d.ts +++ b/types/lodash/common/common.d.ts @@ -2,7 +2,7 @@ import _ = require("../index"); type GlobalPartial = Partial; declare module "../index" { type PartialObject = GlobalPartial; - type Many = T | T[]; + type Many = T | ReadonlyArray; interface LoDashStatic { /** * Creates a lodash object which wraps value to enable implicit method chain sequences. @@ -252,4 +252,4 @@ declare module "../index" { type LoDashExplicitNillableObjectWrapper = LoDashExplicitWrapper; type LoDashExplicitNumberArrayWrapper = LoDashExplicitWrapper; type LoDashExplicitStringWrapper = LoDashExplicitWrapper; -} \ No newline at end of file +} From ff4c5d83b633a8f3c6ad53546ae2c42375ef6945 Mon Sep 17 00:00:00 2001 From: Chris Krycho Date: Sun, 4 Feb 2018 20:22:15 -0700 Subject: [PATCH 126/463] Ember Data: use type registry for cleaner API. --- types/ember-data/index.d.ts | 536 ++++++++++++---------- types/ember-data/test/belongs-to.ts | 10 +- types/ember-data/test/has-many.ts | 38 +- types/ember-data/test/record-reference.ts | 8 +- types/ember-data/test/relationships.ts | 13 +- types/ember-data/test/store.ts | 127 +++-- types/ember-data/tslint.json | 1 + 7 files changed, 414 insertions(+), 319 deletions(-) diff --git a/types/ember-data/index.d.ts b/types/ember-data/index.d.ts index a59ab4de97..0e9ccadcb4 100644 --- a/types/ember-data/index.d.ts +++ b/types/ember-data/index.d.ts @@ -5,9 +5,22 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.4 -declare module "ember-data" { - import Ember from "ember"; +declare module 'ember-data' { + import Ember from 'ember'; import RSVP from 'rsvp'; + + export interface ModelRegistry { + [key: string]: DS.Model; + } + + export interface AdapterRegistry { + [key: string]: DS.Adapter; + } + + export interface SerializerRegistry { + [key: string]: DS.Serializer; + } + namespace DS { /** * Convert an hash of errors into an array with errors in JSON-API format. @@ -21,47 +34,47 @@ declare module "ember-data" { * `DS.belongsTo` is used to define One-To-One and One-To-Many * relationships on a [DS.Model](/api/data/classes/DS.Model.html). */ - function belongsTo( - modelName: string, + function belongsTo( + modelName: K, options: { async: false; inverse?: string | null; polymorphic?: boolean; } - ): Ember.ComputedProperty; - function belongsTo( - modelName: string, + ): Ember.ComputedProperty; + function belongsTo( + modelName: K, options?: { async?: true; inverse?: string | null; polymorphic?: boolean; } - ): Ember.ComputedProperty>; + ): Ember.ComputedProperty>; /** * `DS.hasMany` is used to define One-To-Many and Many-To-Many * relationships on a [DS.Model](/api/data/classes/DS.Model.html). */ - function hasMany( - type: string, + function hasMany( + type: K, options: { async: false; inverse?: string | null; polymorphic?: boolean; } - ): Ember.ComputedProperty>; - function hasMany( - type: string, + ): Ember.ComputedProperty>; + function hasMany( + type: K, options?: { async?: true; inverse?: string | null; polymorphic?: boolean; } - ): Ember.ComputedProperty>; + ): Ember.ComputedProperty>; /** * This method normalizes a modelName into the format Ember Data uses * internally. */ - function normalizeModelName(modelName: string): string; + function normalizeModelName(modelName: K): string; const VERSION: string; interface AttrOptions { @@ -77,19 +90,19 @@ declare module "ember-data" { * [DS.Transform](/api/data/classes/DS.Transform.html). */ function attr( - type: "string", + type: 'string', options?: AttrOptions ): Ember.ComputedProperty; function attr( - type: "boolean", + type: 'boolean', options?: AttrOptions ): Ember.ComputedProperty; function attr( - type: "number", + type: 'number', options?: AttrOptions ): Ember.ComputedProperty; function attr( - type: "date", + type: 'date', options?: AttrOptions ): Ember.ComputedProperty; function attr( @@ -118,89 +131,89 @@ declare module "ember-data" { /** * Builds a URL for a given type and optional ID. */ - buildURL( - modelName?: string, + buildURL( + modelName?: K, id?: string | any[] | {} | null, - snapshot?: Snapshot | any[] | null, + snapshot?: Snapshot | any[] | null, requestType?: string, query?: {} ): string; /** * Builds a URL for a `store.findRecord(type, id)` call. */ - urlForFindRecord( + urlForFindRecord( id: string, - modelName: string, - snapshot: Snapshot + modelName: K, + snapshot: Snapshot ): string; /** * Builds a URL for a `store.findAll(type)` call. */ - urlForFindAll( - modelName: string, - snapshot: SnapshotRecordArray + urlForFindAll( + modelName: K, + snapshot: SnapshotRecordArray ): string; /** * Builds a URL for a `store.query(type, query)` call. */ - urlForQuery(query: {}, modelName: string): string; + urlForQuery(query: {}, modelName: K): string; /** * Builds a URL for a `store.queryRecord(type, query)` call. */ - urlForQueryRecord(query: {}, modelName: string): string; + urlForQueryRecord(query: {}, modelName: K): string; /** * Builds a URL for coalesceing multiple `store.findRecord(type, id)` * records into 1 request when the adapter's `coalesceFindRequests` * property is true. */ - urlForFindMany( + urlForFindMany( ids: any[], - modelName: string, + modelName: K, snapshots: any[] ): string; /** * Builds a URL for fetching a async hasMany relationship when a url * is not provided by the server. */ - urlForFindHasMany( + urlForFindHasMany( id: string, - modelName: string, - snapshot: Snapshot + modelName: K, + snapshot: Snapshot ): string; /** * Builds a URL for fetching a async belongsTo relationship when a url * is not provided by the server. */ - urlForFindBelongsTo( + urlForFindBelongsTo( id: string, - modelName: string, - snapshot: Snapshot + modelName: K, + snapshot: Snapshot ): string; /** * Builds a URL for a `record.save()` call when the record was created * locally using `store.createRecord()`. */ - urlForCreateRecord(modelName: string, snapshot: Snapshot): string; + urlForCreateRecord(modelName: K, snapshot: Snapshot): string; /** * Builds a URL for a `record.save()` call when the record has been update locally. */ - urlForUpdateRecord( + urlForUpdateRecord( id: string, - modelName: string, - snapshot: Snapshot + modelName: K, + snapshot: Snapshot ): string; /** * Builds a URL for a `record.save()` call when the record has been deleted locally. */ - urlForDeleteRecord( + urlForDeleteRecord( id: string, - modelName: string, - snapshot: Snapshot + modelName: K, + snapshot: Snapshot ): string; /** * Determines the pathname for a given type. */ - pathForType(modelName: string): string; + pathForType(modelName: K): string; } /** * A `DS.AdapterError` is used by an adapter to signal that an error occurred @@ -502,11 +515,11 @@ declare module "ember-data" { /** * Get the reference for the specified belongsTo relationship. */ - belongsTo(name: string): BelongsToReference; + belongsTo(name: keyof ModelRegistry): BelongsToReference; /** * Get the reference for the specified hasMany relationship. */ - hasMany(name: string): HasManyReference; + hasMany(name: keyof ModelRegistry): HasManyReference; /** * Given a callback, iterates over each of the relationships in the model, * invoking the callback with the name of each relationship and its relationship @@ -517,15 +530,15 @@ declare module "ember-data" { * Represents the model's class name as a string. This can be used to look up the model's class name through * `DS.Store`'s modelFor method. */ - static modelName: string; + static modelName: keyof ModelRegistry; /** * For a given relationship name, returns the model type of the relationship. */ - static typeForRelationship(name: string, store: Store): Model; + static typeForRelationship(name: K, store: Store): ModelRegistry[K]; /** * Find the relationship which is the inverse of the one asked for. */ - static inverseFor(name: string, store: Store): {}; + static inverseFor(name: K, store: Store): {}; /** * The model's relationships as a map, keyed on the type of the * relationship. The value of each entry is an array containing a descriptor @@ -854,7 +867,7 @@ declare module "ember-data" { */ interface PromiseArray extends Ember.ArrayProxy, - Ember.PromiseProxyMixin> {} + Ember.PromiseProxyMixin> {} class PromiseArray {} /** * A `PromiseObject` is an object that acts like both an `Ember.Object` @@ -865,7 +878,7 @@ declare module "ember-data" { */ interface PromiseObject extends Ember.ObjectProxy, - Ember.PromiseProxyMixin> {} + Ember.PromiseProxyMixin> {} class PromiseObject {} /** * A PromiseManyArray is a PromiseArray that also proxies certain method calls @@ -885,7 +898,7 @@ declare module "ember-data" { */ createRecord(inputProperties?: {}): T; } - class SnapshotRecordArray { + class SnapshotRecordArray { /** * Number of records in the array */ @@ -905,13 +918,13 @@ declare module "ember-data" { /** * The type of the underlying records for the snapshots in the array, as a DS.Model */ - type: Model; + type: ModelRegistry[K]; /** * Get snapshots of the underlying record array */ snapshots(): any[]; } - class Snapshot { + class Snapshot { /** * The underlying record for this snapshot. Can be used to access methods and * properties defined on the record. @@ -928,11 +941,11 @@ declare module "ember-data" { /** * The name of the type of the underlying record for this snapshot, as a string. */ - modelName: string; + modelName: K; /** * The type of the underlying record for this snapshot, as a DS.Model. */ - type: Model; + type: ModelRegistry[K]; /** * Returns the value of an attribute. */ @@ -951,7 +964,7 @@ declare module "ember-data" { belongsTo( keyName: string, options?: {} - ): Snapshot | string | null | undefined; + ): Snapshot | string | null | undefined; /** * Returns the current value of a hasMany relationship. */ @@ -971,6 +984,7 @@ declare module "ember-data" { */ serialize(options: {}): {}; } + /** * The store contains all of the data for records loaded from the server. * It is also responsible for creating instances of `DS.Model` that wrap @@ -988,10 +1002,10 @@ declare module "ember-data" { * Create a new record in the current store. The properties passed * to this method are set on the newly created record. */ - createRecord( - modelName: string, + createRecord( + modelName: K, inputProperties?: {} - ): T; + ): ModelRegistry[K]; /** * For symmetry, a record can be deleted via the store. */ @@ -1004,83 +1018,86 @@ declare module "ember-data" { /** * This method returns a record for a given type and id combination. */ - findRecord( - modelName: string, + findRecord( + modelName: K, id: string | number, options?: {} - ): PromiseObject & T; + ): PromiseObject & ModelRegistry[K]; /** * Get the reference for the specified record. */ - getReference( - modelName: string, + getReference( + modelName: K, id: string | number - ): RecordReference; + ): RecordReference; /** * Get a record by a given type and ID without triggering a fetch. */ - peekRecord( - modelName: string, + peekRecord( + modelName: K, id: string | number - ): T | null; + ): ModelRegistry[K] | null; /** * This method returns true if a record for a given modelName and id is already * loaded in the store. Use this function to know beforehand if a findRecord() * will result in a request or that it will be a cache hit. */ - hasRecordForId(modelName: string, id: string | number): boolean; + hasRecordForId( + modelName: K, + id: string | number + ): boolean; /** * This method delegates a query to the adapter. This is the one place where * adapter-level semantics are exposed to the application. */ - query( - modelName: string, + query( + modelName: K, query: any - ): AdapterPopulatedRecordArray & PromiseArray; + ): AdapterPopulatedRecordArray & PromiseArray; /** * This method makes a request for one record, where the `id` is not known * beforehand (if the `id` is known, use [`findRecord`](#method_findRecord) * instead). */ - queryRecord( - modelName: string, + queryRecord( + modelName: K, query: any - ): RSVP.Promise; + ): RSVP.Promise; /** * `findAll` asks the adapter's `findAll` method to find the records for the * given type, and returns a promise which will resolve with all records of * this type present in the store, even if the adapter only returns a subset * of them. */ - findAll( - modelName: string, + findAll( + modelName: K, options?: { reload?: boolean; backgroundReload?: boolean; include?: string; adapterOptions?: any; } - ): PromiseArray; + ): PromiseArray; /** * This method returns a filtered array that contains all of the * known records for a given type in the store. */ - peekAll(modelName: string): RecordArray; + peekAll(modelName: K): RecordArray; /** * This method unloads all records in the store. * It schedules unloading to happen during the next run loop. */ - unloadAll(modelName: string): void; + unloadAll(modelName: K): void; /** * DEPRECATED: * This method has been deprecated and is an alias for store.hasRecordForId, which should * be used instead. */ - recordIsLoaded(modelName: string, id: string): boolean; + recordIsLoaded(modelName: K, id: string): boolean; /** * Returns the model class for the particular `modelName`. */ - modelFor(modelName: string): M; + modelFor(modelName: K): ModelRegistry[K]; /** * Push some data for a given type into the store. */ @@ -1088,25 +1105,25 @@ declare module "ember-data" { /** * Push some raw data into the store. */ - pushPayload(modelName: string, inputPayload: {}): any; + pushPayload(modelName: K, inputPayload: {}): any; pushPayload(inputPayload: {}): any; /** * `normalize` converts a json payload into the normalized form that * [push](#method_push) expects. */ - normalize(modelName: string, payload: {}): {}; + normalize(modelName: K, payload: {}): {}; /** * Returns an instance of the adapter for a given type. For * example, `adapterFor('person')` will return an instance of * `App.PersonAdapter`. */ - adapterFor(modelName: string): A; + adapterFor(modelName: K): AdapterRegistry[K]; /** * Returns an instance of the serializer for a given type. For * example, `serializerFor('person')` will return an instance of * `App.PersonSerializer`. */ - serializerFor(modelName: string): S; + serializerFor(modelName: K): SerializerRegistry[K]; } /** * The `JSONAPIAdapter` is the default adapter used by Ember Data. It @@ -1132,7 +1149,11 @@ declare module "ember-data" { /** * Takes a URL, an HTTP method and a hash of data, and makes an HTTP request. */ - ajax(url: string, type: string, options?: object): RSVP.Promise; + ajax( + url: string, + type: string, + options?: object + ): RSVP.Promise; /** * Generate ajax options */ @@ -1170,38 +1191,42 @@ declare module "ember-data" { * Called by the store in order to fetch the JSON for a given * type and ID. */ - findRecord( + findRecord( store: Store, - type: Model, + type: ModelRegistry[K], id: string, - snapshot: Snapshot + snapshot: Snapshot ): RSVP.Promise; /** * Called by the store in order to fetch a JSON array for all * of the records for a given type. */ - findAll( + findAll( store: Store, - type: Model, + type: ModelRegistry[K], sinceToken: string, - snapshotRecordArray: SnapshotRecordArray + snapshotRecordArray: SnapshotRecordArray ): RSVP.Promise; /** * Called by the store in order to fetch a JSON array for * the records that match a particular query. */ - query(store: Store, type: Model, query: {}): RSVP.Promise; + query(store: Store, type: ModelRegistry[K], query: {}): RSVP.Promise; /** * Called by the store in order to fetch a JSON object for * the record that matches a particular query. */ - queryRecord(store: Store, type: Model, query: {}): RSVP.Promise; + queryRecord( + store: Store, + type: ModelRegistry[K], + query: {} + ): RSVP.Promise; /** * Called by the store in order to fetch several records together if `coalesceFindRequests` is true */ - findMany( + findMany( store: Store, - type: Model, + type: ModelRegistry[K], ids: any[], snapshots: any[] ): RSVP.Promise; @@ -1210,9 +1235,9 @@ declare module "ember-data" { * the unloaded records in a has-many relationship that were originally * specified as a URL (inside of `links`). */ - findHasMany( + findHasMany( store: Store, - snapshot: Snapshot, + snapshot: Snapshot, url: string, relationship: {} ): RSVP.Promise; @@ -1221,36 +1246,36 @@ declare module "ember-data" { * belongs-to relationship that was originally specified as a URL (inside of * `links`). */ - findBelongsTo( + findBelongsTo( store: Store, - snapshot: Snapshot, + snapshot: Snapshot, url: string ): RSVP.Promise; /** * Called by the store when a newly created record is * saved via the `save` method on a model record instance. */ - createRecord( + createRecord( store: Store, - type: Model, - snapshot: Snapshot + type: ModelRegistry[K], + snapshot: Snapshot ): RSVP.Promise; /** * Called by the store when an existing record is saved * via the `save` method on a model record instance. */ - updateRecord( + updateRecord( store: Store, - type: Model, - snapshot: Snapshot + type: ModelRegistry[K], + snapshot: Snapshot ): RSVP.Promise; /** * Called by the store when a record is deleted. */ - deleteRecord( + deleteRecord( store: Store, - type: Model, - snapshot: Snapshot + type: ModelRegistry[K], + snapshot: Snapshot ): RSVP.Promise; /** * Organize records into groups, each of which is to be passed to separate @@ -1295,89 +1320,89 @@ declare module "ember-data" { /** * Builds a URL for a given type and optional ID. */ - buildURL( - modelName?: string, + buildURL( + modelName?: K, id?: string | any[] | {} | null, - snapshot?: Snapshot | any[] | null, + snapshot?: Snapshot | any[] | null, requestType?: string, query?: {} ): string; /** * Builds a URL for a `store.findRecord(type, id)` call. */ - urlForFindRecord( + urlForFindRecord( id: string, - modelName: string, - snapshot: Snapshot + modelName: K, + snapshot: Snapshot ): string; /** * Builds a URL for a `store.findAll(type)` call. */ - urlForFindAll( - modelName: string, - snapshot: SnapshotRecordArray + urlForFindAll( + modelName: K, + snapshot: SnapshotRecordArray ): string; /** * Builds a URL for a `store.query(type, query)` call. */ - urlForQuery(query: {}, modelName: string): string; + urlForQuery(query: {}, modelName: K): string; /** * Builds a URL for a `store.queryRecord(type, query)` call. */ - urlForQueryRecord(query: {}, modelName: string): string; + urlForQueryRecord(query: {}, modelName: K): string; /** * Builds a URL for coalesceing multiple `store.findRecord(type, id)` * records into 1 request when the adapter's `coalesceFindRequests` * property is true. */ - urlForFindMany( + urlForFindMany( ids: any[], - modelName: string, + modelName: K, snapshots: any[] ): string; /** * Builds a URL for fetching a async hasMany relationship when a url * is not provided by the server. */ - urlForFindHasMany( + urlForFindHasMany( id: string, - modelName: string, - snapshot: Snapshot + modelName: K, + snapshot: Snapshot ): string; /** * Builds a URL for fetching a async belongsTo relationship when a url * is not provided by the server. */ - urlForFindBelongsTo( + urlForFindBelongsTo( id: string, - modelName: string, - snapshot: Snapshot + modelName: K, + snapshot: Snapshot ): string; /** * Builds a URL for a `record.save()` call when the record was created * locally using `store.createRecord()`. */ - urlForCreateRecord(modelName: string, snapshot: Snapshot): string; + urlForCreateRecord(modelName: K, snapshot: Snapshot): string; /** * Builds a URL for a `record.save()` call when the record has been update locally. */ - urlForUpdateRecord( + urlForUpdateRecord( id: string, - modelName: string, - snapshot: Snapshot + modelName: K, + snapshot: Snapshot ): string; /** * Builds a URL for a `record.save()` call when the record has been deleted locally. */ - urlForDeleteRecord( + urlForDeleteRecord( id: string, - modelName: string, - snapshot: Snapshot + modelName: K, + snapshot: Snapshot ): string; /** * Determines the pathname for a given type. */ - pathForType(modelName: string): string; + pathForType(modelName: K): string; } /** * ## Using Embedded Records @@ -1391,16 +1416,16 @@ declare module "ember-data" { /** * Serialize `belongsTo` relationship when it is configured as an embedded object. */ - serializeBelongsTo( - snapshot: Snapshot, + serializeBelongsTo( + snapshot: Snapshot, json: {}, relationship: {} ): any; /** * Serializes `hasMany` relationships when it is configured as embedded objects. */ - serializeHasMany( - snapshot: Snapshot, + serializeHasMany( + snapshot: Snapshot, json: {}, relationship: {} ): any; @@ -1408,9 +1433,9 @@ declare module "ember-data" { * When serializing an embedded record, modify the property (in the json payload) * that refers to the parent record (foreign key for relationship). */ - removeEmbeddedForeignKey( - snapshot: Snapshot, - embeddedSnapshot: Snapshot, + removeEmbeddedForeignKey( + snapshot: Snapshot, + embeddedSnapshot: Snapshot, relationship: {}, json: {} ): any; @@ -1428,7 +1453,7 @@ declare module "ember-data" { /** * Converts the model name to a pluralized version of the model name. */ - payloadKeyFromModelName(modelName: string): string; + payloadKeyFromModelName(modelName: K): string; /** * `keyForAttribute` can be used to define rules for how to convert an * attribute name in your model to a key in your JSON. @@ -1458,7 +1483,7 @@ declare module "ember-data" { * `payloadTypeFromModelName` can be used to change the mapping for the type in * the payload, taken from the model name. */ - payloadTypeFromModelName(modelname: string): string; + payloadTypeFromModelName(modelName: K): string; } /** * Ember Data 2.0 Serializer: @@ -1620,8 +1645,8 @@ declare module "ember-data" { /** * Check if the given hasMany relationship should be serialized */ - shouldSerializeHasMany( - snapshot: Snapshot, + shouldSerializeHasMany( + snapshot: Snapshot, key: string, relationshipType: string ): boolean; @@ -1629,7 +1654,7 @@ declare module "ember-data" { * Called when a record is saved in order to convert the * record into JSON. */ - serialize(snapshot: Snapshot, options: {}): {}; + serialize(snapshot: Snapshot, options: {}): {}; /** * You can use this method to customize how a serialized record is added to the complete * JSON hash to be sent to the server. By default the JSON Serializer does not namespace @@ -1638,18 +1663,18 @@ declare module "ember-data" { * Otherwise you can override this method to customize how the record is added to the hash. * The hash property should be modified by reference. */ - serializeIntoHash( + serializeIntoHash( hash: {}, - typeClass: Model, - snapshot: Snapshot, + typeClass: ModelRegistry[K], + snapshot: Snapshot, options?: {} ): any; /** * `serializeAttribute` can be used to customize how `DS.attr` * properties are serialized */ - serializeAttribute( - snapshot: Snapshot, + serializeAttribute( + snapshot: Snapshot, json: {}, key: string, attribute: {} @@ -1658,8 +1683,8 @@ declare module "ember-data" { * `serializeBelongsTo` can be used to customize how `DS.belongsTo` * properties are serialized. */ - serializeBelongsTo( - snapshot: Snapshot, + serializeBelongsTo( + snapshot: Snapshot, json: {}, relationship: {} ): any; @@ -1667,8 +1692,8 @@ declare module "ember-data" { * `serializeHasMany` can be used to customize how `DS.hasMany` * properties are serialized. */ - serializeHasMany( - snapshot: Snapshot, + serializeHasMany( + snapshot: Snapshot, json: {}, relationship: {} ): any; @@ -1678,8 +1703,8 @@ declare module "ember-data" { * `{ polymorphic: true }` is pass as the second argument to the * `DS.belongsTo` function. */ - serializePolymorphicType( - snapshot: Snapshot, + serializePolymorphicType( + snapshot: Snapshot, json: {}, relationship: {} ): any; @@ -1726,7 +1751,7 @@ declare module "ember-data" { * serializeId can be used to customize how id is serialized * For example, your server may expect integer datatype of id */ - serializeId(snapshot: Snapshot, json: {}, primaryKey: string): any; + serializeId(snapshot: Snapshot, json: {}, primaryKey: string): any; } /** * Normally, applications will use the `RESTSerializer` by implementing @@ -1764,17 +1789,17 @@ declare module "ember-data" { * Called when a record is saved in order to convert the * record into JSON. */ - serialize(snapshot: Snapshot, options: {}): {}; + serialize(snapshot: Snapshot, options: {}): {}; /** * You can use this method to customize the root keys serialized into the JSON. * The hash property should be modified by reference (possibly using something like _.extend) * By default the REST Serializer sends the modelName of a model, which is a camelized * version of the name. */ - serializeIntoHash( + serializeIntoHash( hash: {}, typeClass: Model, - snapshot: Snapshot, + snapshot: Snapshot, options?: {} ): any; /** @@ -1782,14 +1807,14 @@ declare module "ember-data" { * request. By default, the RESTSerializer returns a camelized version of the * model's name. */ - payloadKeyFromModelName(modelName: string): string; + payloadKeyFromModelName(modelName: K): string; /** * You can use this method to customize how polymorphic objects are serialized. * By default the REST Serializer creates the key by appending `Type` to * the attribute and value from the model's camelcased model name. */ - serializePolymorphicType( - snapshot: Snapshot, + serializePolymorphicType( + snapshot: Snapshot, json: {}, relationship: {} ): any; @@ -1811,7 +1836,7 @@ declare module "ember-data" { * `payloadTypeFromModelName` can be used to change the mapping for the type in * the payload, taken from the model name. */ - payloadTypeFromModelName(modelName: string): string; + payloadTypeFromModelName(modelName: K): string; } /** * The `DS.BooleanTransform` class is used to serialize and deserialize @@ -1883,27 +1908,27 @@ declare module "ember-data" { * method should return a promise that will resolve to a JavaScript object that will be * normalized by the serializer. */ - findRecord( + findRecord( store: Store, - type: Model, + type: ModelRegistry[K], id: string, - snapshot: Snapshot + snapshot: Snapshot ): RSVP.Promise; /** * The `findAll()` method is used to retrieve all records for a given type. */ - findAll( + findAll( store: Store, - type: Model, + type: ModelRegistry[K], sinceToken: string, - snapshotRecordArray: SnapshotRecordArray + snapshotRecordArray: SnapshotRecordArray ): RSVP.Promise; /** * This method is called when you call `query` on the store. */ - query( + query( store: Store, - type: Model, + type: ModelRegistry[K], query: {}, recordArray: AdapterPopulatedRecordArray ): RSVP.Promise; @@ -1911,48 +1936,52 @@ declare module "ember-data" { * The `queryRecord()` method is invoked when the store is asked for a single * record through a query object. */ - queryRecord(store: Store, type: Model, query: {}): RSVP.Promise; + queryRecord( + store: Store, + type: ModelRegistry[K], + query: {} + ): RSVP.Promise; /** * If the globally unique IDs for your records should be generated on the client, * implement the `generateIdForRecord()` method. This method will be invoked * each time you create a new record, and the value returned from it will be * assigned to the record's `primaryKey`. */ - generateIdForRecord( + generateIdForRecord( store: Store, - type: Model, + type: ModelRegistry[K], inputProperties: {} ): string | number; /** * Proxies to the serializer's `serialize` method. */ - serialize(snapshot: Snapshot, options: {}): {}; + serialize(snapshot: Snapshot, options: {}): {}; /** * Implement this method in a subclass to handle the creation of * new records. */ - createRecord( + createRecord( store: Store, - type: Model, - snapshot: Snapshot + type: ModelRegistry[K], + snapshot: Snapshot ): RSVP.Promise; /** * Implement this method in a subclass to handle the updating of * a record. */ - updateRecord( + updateRecord( store: Store, - type: Model, - snapshot: Snapshot + type: ModelRegistry[K], + snapshot: Snapshot ): RSVP.Promise; /** * Implement this method in a subclass to handle the deletion of * a record. */ - deleteRecord( + deleteRecord( store: Store, - type: Model, - snapshot: Snapshot + type: ModelRegistry[K], + snapshot: Snapshot ): RSVP.Promise; /** * By default the store will try to coalesce all `fetchRecord` calls within the same runloop @@ -1966,9 +1995,9 @@ declare module "ember-data" { * requests to find multiple records at once if coalesceFindRequests * is true. */ - findMany( + findMany( store: Store, - type: Model, + type: ModelRegistry[K], ids: any[], snapshots: any[] ): RSVP.Promise; @@ -1982,33 +2011,33 @@ declare module "ember-data" { * reload a record from the adapter when a record is requested by * `store.findRecord`. */ - shouldReloadRecord(store: Store, snapshot: Snapshot): boolean; + shouldReloadRecord(store: Store, snapshot: Snapshot): boolean; /** * This method is used by the store to determine if the store should * reload all records from the adapter when records are requested by * `store.findAll`. */ - shouldReloadAll( + shouldReloadAll( store: Store, - snapshotRecordArray: SnapshotRecordArray + snapshotRecordArray: SnapshotRecordArray ): boolean; /** * This method is used by the store to determine if the store should * reload a record after the `store.findRecord` method resolves a * cached record. */ - shouldBackgroundReloadRecord( + shouldBackgroundReloadRecord( store: Store, - snapshot: Snapshot + snapshot: Snapshot ): boolean; /** * This method is used by the store to determine if the store should * reload a record array after the `store.findAll` method resolves * with a cached record array. */ - shouldBackgroundReloadAll( + shouldBackgroundReloadAll( store: Store, - snapshotRecordArray: SnapshotRecordArray + snapshotRecordArray: SnapshotRecordArray ): boolean; } /** @@ -2038,7 +2067,7 @@ declare module "ember-data" { * The `serialize` method is used when a record is saved in order to convert * the record into the form that your external data source expects. */ - serialize(snapshot: Snapshot, options: {}): {}; + serialize(snapshot: Snapshot, options: {}): {}; /** * The `normalize` method is used to convert a payload received from your * external data source into the normalized form `store.push()` expects. You @@ -2048,11 +2077,12 @@ declare module "ember-data" { normalize(typeClass: Model, hash: {}): {}; } } + export default DS; } -declare module "ember" { - import DS from "ember-data"; +declare module 'ember' { + import DS from 'ember-data'; namespace Ember { /* * The store is automatically injected into these objects @@ -2071,89 +2101,89 @@ declare module "ember" { } } declare module 'ember-data/adapter' { - import DS from 'ember-data'; - export default DS.Adapter; + import DS from 'ember-data'; + export default DS.Adapter; } declare module 'ember-data/adapters/errors' { - import DS from 'ember-data'; - const AdapterError: typeof DS.AdapterError; - const InvalidError: typeof DS.InvalidError; - const UnauthorizedError: typeof DS.UnauthorizedError; - const ForbiddenError: typeof DS.ForbiddenError; - const NotFoundError: typeof DS.NotFoundError; - const ConflictError: typeof DS.ConflictError; - const ServerError: typeof DS.ServerError; - const TimeoutError: typeof DS.TimeoutError; - const AbortError: typeof DS.AbortError; - const errorsHashToArray: typeof DS.errorsHashToArray; - const errorsArrayToHash: typeof DS.errorsArrayToHash; + import DS from 'ember-data'; + const AdapterError: typeof DS.AdapterError; + const InvalidError: typeof DS.InvalidError; + const UnauthorizedError: typeof DS.UnauthorizedError; + const ForbiddenError: typeof DS.ForbiddenError; + const NotFoundError: typeof DS.NotFoundError; + const ConflictError: typeof DS.ConflictError; + const ServerError: typeof DS.ServerError; + const TimeoutError: typeof DS.TimeoutError; + const AbortError: typeof DS.AbortError; + const errorsHashToArray: typeof DS.errorsHashToArray; + const errorsArrayToHash: typeof DS.errorsArrayToHash; } declare module 'ember-data/adapters/json-api' { - import DS from 'ember-data'; - export default DS.JSONAPIAdapter; + import DS from 'ember-data'; + export default DS.JSONAPIAdapter; } declare module 'ember-data/adapters/rest' { - import DS from 'ember-data'; - export default DS.RESTAdapter; + import DS from 'ember-data'; + export default DS.RESTAdapter; } declare module 'ember-data/attr' { - import DS from 'ember-data'; - export default DS.attr; + import DS from 'ember-data'; + export default DS.attr; } declare module 'ember-data/model' { - import DS from 'ember-data'; - export default DS.Model; + import DS from 'ember-data'; + export default DS.Model; } declare module 'ember-data/relationships' { - import DS from 'ember-data'; - const hasMany: typeof DS.hasMany; - const belongsTo: typeof DS.belongsTo; + import DS from 'ember-data'; + const hasMany: typeof DS.hasMany; + const belongsTo: typeof DS.belongsTo; } declare module 'ember-data/serializer' { - import DS from 'ember-data'; - export default DS.Serializer; + import DS from 'ember-data'; + export default DS.Serializer; } declare module 'ember-data/serializers/embedded-records-mixin' { - import DS from 'ember-data'; - export default DS.EmbeddedRecordsMixin; + import DS from 'ember-data'; + export default DS.EmbeddedRecordsMixin; } declare module 'ember-data/serializers/json-api' { - import DS from 'ember-data'; - export default DS.JSONAPISerializer; + import DS from 'ember-data'; + export default DS.JSONAPISerializer; } declare module 'ember-data/serializers/json' { - import DS from 'ember-data'; - export default DS.JSONSerializer; + import DS from 'ember-data'; + export default DS.JSONSerializer; } declare module 'ember-data/serializers/rest' { - import DS from 'ember-data'; - export default DS.RESTSerializer; + import DS from 'ember-data'; + export default DS.RESTSerializer; } -declare module "ember-data/store" { - import DS from "ember-data"; +declare module 'ember-data/store' { + import DS from 'ember-data'; export default DS.Store; } -declare module "ember-data/transform" { - import DS from "ember-data"; +declare module 'ember-data/transform' { + import DS from 'ember-data'; export default DS.Transform; } -declare module "ember-data/transforms/boolean" { - import DS from "ember-data"; +declare module 'ember-data/transforms/boolean' { + import DS from 'ember-data'; export default DS.BooleanTransform; } -declare module "ember-data/transforms/date" { - import DS from "ember-data"; +declare module 'ember-data/transforms/date' { + import DS from 'ember-data'; export default DS.DateTransform; } -declare module "ember-data/transforms/number" { - import DS from "ember-data"; +declare module 'ember-data/transforms/number' { + import DS from 'ember-data'; export default DS.NumberTransform; } -declare module "ember-data/transforms/string" { - import DS from "ember-data"; +declare module 'ember-data/transforms/string' { + import DS from 'ember-data'; export default DS.StringTransform; } -declare module "ember-data/transforms/transform" { - import DS from "ember-data"; +declare module 'ember-data/transforms/transform' { + import DS from 'ember-data'; export default DS.Transform; } diff --git a/types/ember-data/test/belongs-to.ts b/types/ember-data/test/belongs-to.ts index 9e59aa6128..bd1037a65e 100644 --- a/types/ember-data/test/belongs-to.ts +++ b/types/ember-data/test/belongs-to.ts @@ -3,8 +3,14 @@ import { assertType } from './lib/assert'; class Folder extends DS.Model { name = DS.attr('string'); - children = DS.hasMany('folder', { inverse: 'parent' }); - parent = DS.belongsTo('folder', { inverse: 'children' }); + children = DS.hasMany('folder', { inverse: 'parent' }); + parent = DS.belongsTo('folder', { inverse: 'children' }); +} + +declare module 'ember-data' { + interface ModelRegistry { + folder: Folder; + } } const folder = Folder.create(); diff --git a/types/ember-data/test/has-many.ts b/types/ember-data/test/has-many.ts index 7fb586ff4a..a369d166ea 100644 --- a/types/ember-data/test/has-many.ts +++ b/types/ember-data/test/has-many.ts @@ -1,40 +1,46 @@ import DS from 'ember-data'; import { assertType } from './lib/assert'; -class Comment extends DS.Model { +class BlogComment extends DS.Model { text = DS.attr('string'); } +declare module 'ember-data' { + interface ModelRegistry { + 'blog-comment': BlogComment; + } +} + class BlogPost extends DS.Model { title = DS.attr('string'); - commentsAsync = DS.hasMany('comment'); - commentsSync = DS.hasMany('comment', { async: false }); + commentsAsync = DS.hasMany('blog-comment'); + commentsSync = DS.hasMany('blog-comment', { async: false }); } -const post = BlogPost.create(); +const blogPost = BlogPost.create(); -assertType>(post.get('commentsSync').reload()); -assertType(post.get('commentsSync').createRecord()); +assertType>(blogPost.get('commentsSync').reload()); +assertType(blogPost.get('commentsSync').createRecord()); -const comment = post.get('commentsSync').get('firstObject'); -assertType(comment); +const comment = blogPost.get('commentsSync').get('firstObject'); +assertType(comment); if (comment) { assertType(comment.get('text')); } -assertType>(post.get('commentsAsync').reload()); -assertType(post.get('commentsAsync').createRecord()); -assertType(post.get('commentsAsync').get('firstObject')); +assertType>(blogPost.get('commentsAsync').reload()); +assertType(blogPost.get('commentsAsync').createRecord()); +assertType(blogPost.get('commentsAsync').get('firstObject')); -const commentAsync = post.get('commentsAsync').get('firstObject'); -assertType(commentAsync); +const commentAsync = blogPost.get('commentsAsync').get('firstObject'); +assertType(commentAsync); if (commentAsync) { assertType(commentAsync.get('text')); } -assertType(post.get('commentsAsync').get('isFulfilled')); +assertType(blogPost.get('commentsAsync').get('isFulfilled')); -post.get('commentsAsync').then(comments => { - assertType(comments.get('firstObject')); +blogPost.get('commentsAsync').then(comments => { + assertType(comments.get('firstObject')); assertType(comments.get('firstObject')!.get('text')); }); diff --git a/types/ember-data/test/record-reference.ts b/types/ember-data/test/record-reference.ts index bb4fda42d4..f5bf973402 100644 --- a/types/ember-data/test/record-reference.ts +++ b/types/ember-data/test/record-reference.ts @@ -7,7 +7,13 @@ class User extends DS.Model { username = DS.attr('string'); } -let userRef = store.getReference('user', 1); +declare module 'ember-data' { + interface ModelRegistry { + user: User; + } +} + +let userRef = store.getReference('user', 1); // get the record of the reference (null if not yet available) let user = userRef.value(); diff --git a/types/ember-data/test/relationships.ts b/types/ember-data/test/relationships.ts index a878428bc4..fb89d4410c 100644 --- a/types/ember-data/test/relationships.ts +++ b/types/ember-data/test/relationships.ts @@ -16,14 +16,21 @@ class Comment extends DS.Model { author = DS.attr('string'); } -class BlogPost extends DS.Model { +class RelationalPost extends DS.Model { title = DS.attr('string'); tag = DS.attr('string'); - comments = DS.hasMany('comment', { async: true }); + comments = DS.hasMany('comment', { async: true }); relatedPosts = DS.hasMany('post'); } -let blogPost = store.peekRecord('blog-post', 1); +declare module 'ember-data' { + interface ModelRegistry { + 'relational-post': RelationalPost; + comment: Comment; + } +} + +let blogPost = store.peekRecord('relational-post', 1); blogPost!.get('comments').then((comments) => { // now we can work with the comments let author: string = comments.get('firstObject')!.get('author'); diff --git a/types/ember-data/test/store.ts b/types/ember-data/test/store.ts index 46b0987981..ca63730224 100644 --- a/types/ember-data/test/store.ts +++ b/types/ember-data/test/store.ts @@ -1,24 +1,30 @@ import Ember from 'ember'; import DS from 'ember-data'; -import { assertType } from "./lib/assert"; +import { assertType } from './lib/assert'; declare const store: DS.Store; class Post extends DS.Model { - title = DS.attr('string'); + title = DS.attr('string'); } -let post = store.createRecord('post', { +declare module 'ember-data' { + interface ModelRegistry { + post: Post; + } +} + +let post = store.createRecord('post', { title: 'Rails is Omakase', - body: 'Lorem ipsum' + body: 'Lorem ipsum', }); post.save(); // => POST to '/posts' -post.save().then((saved) => { +post.save().then(saved => { assertType(saved); }); -store.findRecord('post', 1).then(function(post) { +store.findRecord('post', 1).then(function(post) { post.get('title'); // => "Rails is Omakase" post.set('title', 'A new post'); post.save(); // => PATCH to '/posts/1' @@ -28,21 +34,27 @@ class User extends DS.Model { username = DS.attr('string'); } -store.queryRecord('user', {}).then(function(user) { +declare module 'ember-data' { + interface ModelRegistry { + user: User; + } +} + +store.queryRecord('user', {}).then(function(user) { let username = user.get('username'); console.log(`Currently logged in as ${username}`); }); -store.findAll('blog-post'); // => GET /blog-posts +store.findAll('post'); // => GET /blog-posts store.findAll('author', { reload: true }).then(function(authors) { authors.getEach('id'); // ['first', 'second'] }); store.findAll('post', { - adapterOptions: { subscribe: false } + adapterOptions: { subscribe: false }, }); store.findAll('post', { include: 'comments,comments.author' }); -store.peekAll('blog-post'); // => no network request +store.peekAll('post'); // => no network request if (store.hasRecordForId('post', 1)) { let maybePost = store.peekRecord('post', 1); @@ -52,10 +64,16 @@ if (store.hasRecordForId('post', 1)) { } class Message extends DS.Model { - hasBeenSeen = DS.attr('boolean'); + hasBeenSeen = DS.attr('boolean'); } -const messages = store.peekAll('message'); +declare module 'ember-data' { + interface ModelRegistry { + message: Message; + } +} + +const messages = store.peekAll('message'); messages.forEach(function(message) { message.set('hasBeenSeen', true); }); @@ -70,53 +88,74 @@ people.get('isUpdating'); // true const MyRoute = Ember.Route.extend({ model(params: any): any { - return this.store.findRecord('post', params.post_id, {include: 'comments,comments.author'}); - } + return this.store.findRecord('post', params.post_id, { + include: 'comments,comments.author', + }); + }, }); // GET to /users?filter[email]=tomster@example.com -const tom = store.query('user', { - filter: { - email: 'tomster@example.com' - } -}).then(function(users) { - return users.get("firstObject"); -}); +const tom = store + .query('user', { + filter: { + email: 'tomster@example.com', + }, + }) + .then(function(users) { + return users.get('firstObject'); + }); // GET /users?isAdmin=true const admins = store.query('user', { isAdmin: true }); admins.then(function() { - console.log(admins.get("length")); // 42 + console.log(admins.get('length')); // 42 }); admins.update().then(function() { admins.get('isUpdating'); // false - console.log(admins.get("length")); // 123 + console.log(admins.get('length')); // 123 }); store.push({ - data: [{ - id: 1, - type: 'album', - attributes: { - title: 'Fewer Moving Parts', - artist: 'David Bazan', - songCount: 10 + data: [ + { + id: 1, + type: 'album', + attributes: { + title: 'Fewer Moving Parts', + artist: 'David Bazan', + songCount: 10, + }, + relationships: {}, }, - relationships: {} - }, { - id: 2, - type: 'album', - attributes: { - title: 'Calgary b/w I Can\'t Make You Love Me/Nick Of Time', - artist: 'Bon Iver', - songCount: 2 + { + id: 2, + type: 'album', + attributes: { + title: "Calgary b/w I Can't Make You Love Me/Nick Of Time", + artist: 'Bon Iver', + songCount: 2, + }, + relationships: {}, }, - relationships: {} - }] + ], }); -class UserAdapter extends DS.Adapter { } -class UserSerializer extends DS.Serializer { } +class UserAdapter extends DS.Adapter { + thisAdapterOnlyMethod(): void {} +} +class UserSerializer extends DS.Serializer { + thisSerializerOnlyMethod(): void {} +} -assertType(store.adapterFor('user')); -assertType(store.serializerFor('user')); +declare module 'ember-data' { + interface AdapterRegistry { + user: UserAdapter; + } + + interface SerializerRegistry { + user: UserSerializer; + } +} + +assertType(store.adapterFor('user')); +assertType(store.serializerFor('user')); diff --git a/types/ember-data/tslint.json b/types/ember-data/tslint.json index 6d765664cf..2389d09a3b 100644 --- a/types/ember-data/tslint.json +++ b/types/ember-data/tslint.json @@ -1,6 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { + "strict-export-declare-modifiers": false, // Heavy use of Function type in this older package. "ban-types": false, "jsdoc-format": false, From 031e2ad65c038dc39c3b2e7f829dfa38492bbede Mon Sep 17 00:00:00 2001 From: Chris Krycho Date: Sun, 4 Feb 2018 20:37:13 -0700 Subject: [PATCH 127/463] Ember: use type registry from service, controller lookups. --- types/ember/index.d.ts | 20 ++++++++++++++++++-- types/ember/test/inject.ts | 14 ++++++++++++-- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/types/ember/index.d.ts b/types/ember/index.d.ts index 61bdcb9828..32f4f7be05 100755 --- a/types/ember/index.d.ts +++ b/types/ember/index.d.ts @@ -18,6 +18,18 @@ declare module 'ember' { import Rsvp from 'rsvp'; import { TemplateFactory } from 'htmlbars-inline-precompile'; + // A type registry for Ember `Service`s. Meant to be declaration-merged so + // string lookups resolve to the correct type. + export interface ServiceRegistry { + [serviceName: string]: Ember.Service; + } + + // A type registry for Ember `Controller`s. Meant to be declaration-merged + // so string lookups resolve to the correct type. + export interface ControllerRegistry { + [controllerName: string]: Ember.Controller; + } + // Get an alias to the global Array type to use in inner scope below. type GlobalArray = T[]; @@ -2340,12 +2352,16 @@ declare module 'ember' { * Creates a property that lazily looks up another controller in the container. * Can only be used when defining another controller. */ - function controller(name?: string): ComputedProperty; + function controller( + name?: K + ): ComputedProperty; /** * Creates a property that lazily looks up a service in the container. There * are no restrictions as to what objects a service can be injected into. */ - function service(name?: string): ComputedProperty; + function service( + name?: K + ): ComputedProperty; } namespace ENV { const EXTEND_PROTOTYPES: typeof Ember.EXTEND_PROTOTYPES; diff --git a/types/ember/test/inject.ts b/types/ember/test/inject.ts index dd628f6d2a..5afc159ec4 100755 --- a/types/ember/test/inject.ts +++ b/types/ember/test/inject.ts @@ -8,9 +8,19 @@ class ApplicationController extends Ember.Controller { transitionToLogin() {} } +declare module 'ember' { + interface ServiceRegistry { + auth: AuthService; + } + + interface ControllerRegistry { + application: ApplicationController; + } +} + class LoginRoute extends Ember.Route { - auth = Ember.inject.service('authentication') as Ember.ComputedProperty; - application = Ember.inject.controller() as Ember.ComputedProperty; + auth = Ember.inject.service('auth'); + application = Ember.inject.controller('application'); didTransition() { if (!this.get('auth').get('isAuthenticated')) { From d05c3cfe3f977082d7d6d8de82605b1d521010e8 Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Mon, 5 Feb 2018 06:32:38 +0200 Subject: [PATCH 128/463] Updated test code; minor fixes --- .../activex-scripting-tests.ts | 245 +++++++++++++++--- types/activex-scripting/index.d.ts | 42 +-- 2 files changed, 232 insertions(+), 55 deletions(-) diff --git a/types/activex-scripting/activex-scripting-tests.ts b/types/activex-scripting/activex-scripting-tests.ts index 2297548b81..ae724c376d 100644 --- a/types/activex-scripting/activex-scripting-tests.ts +++ b/types/activex-scripting/activex-scripting-tests.ts @@ -1,40 +1,217 @@ -// source -- https://msdn.microsoft.com/en-us/library/ebkhfaaz.aspx - -// Generates a string describing the drive type of a given Drive object. -function showDriveType(drive: Scripting.Drive) { - switch (drive.DriveType) { - case Scripting.DriveTypeConst.Removable: - return 'Removeable'; - case Scripting.DriveTypeConst.Fixed: - return 'Fixecd'; - case Scripting.DriveTypeConst.Remote: - return 'Network'; - case Scripting.DriveTypeConst.CDRom: - return 'CD-ROM'; - case Scripting.DriveTypeConst.RamDisk: - return 'RAM Disk'; - default: - return 'Unknown'; +const collectionToArray = (col: { Item(key: any): T }): T[] => { + const results: T[] = []; + const enumerator = new Enumerator(col); + enumerator.moveFirst(); + while (!enumerator.atEnd()) { + results.push(enumerator.item()); + enumerator.moveNext(); } -} + return results; +}; -// Generates a string describing the attributes of a file or folder. -function showFileAttributes(file: Scripting.File) { - const attr = file.Attributes; - if (attr === 0) { - return 'Normal'; +const fso = new ActiveXObject('Scripting.FileSystemObject'); + +// https://msdn.microsoft.com/en-us/library/ebkhfaaz(v=vs.84).aspx +(() => { + /** Generates a string describing the drive type of a given Drive object. */ + const driveTypeString = (drive: Scripting.Drive) => { + switch (drive.DriveType) { + case Scripting.DriveTypeConst.Removable: + return 'Removeable'; + case Scripting.DriveTypeConst.Fixed: + return 'Fixecd'; + case Scripting.DriveTypeConst.Remote: + return 'Network'; + case Scripting.DriveTypeConst.CDRom: + return 'CD-ROM'; + case Scripting.DriveTypeConst.RamDisk: + return 'RAM Disk'; + default: + return 'Unknown'; + } + }; + + /** Generates a string describing the attributes of a file or folder. */ + const attributesString = (f: Scripting.File | Scripting.Folder) => { + const attr = f.Attributes; + if (attr === 0) { + return 'Normal'; + } + const attributeStrings: string[] = []; + if (attr & Scripting.FileAttribute.Directory) { attributeStrings.push('Directory'); } + if (attr & Scripting.FileAttribute.ReadOnly) { attributeStrings.push('Read-only'); } + if (attr & Scripting.FileAttribute.Hidden) { attributeStrings.push('Hidden'); } + if (attr & Scripting.FileAttribute.System) { attributeStrings.push('System'); } + if (attr & Scripting.FileAttribute.Volume) { attributeStrings.push('Volume'); } + if (attr & Scripting.FileAttribute.Archive) { attributeStrings.push('Archive'); } + if (attr & Scripting.FileAttribute.Alias) { attributeStrings.push('Alias'); } + if (attr & Scripting.FileAttribute.Compressed) { attributeStrings.push('Compressed'); } + return attributeStrings.join(','); + }; + + const drivesInfoReport = () => { + const driveLine = (d: Scripting.Drive) => { + let parts: Array = [ + d.DriveLetter, + d.Path, + driveTypeString(d), + d.IsReady ? 'true' : 'false' + ]; + if (d.IsReady) { + parts = parts.concat([ + d.DriveType === Scripting.DriveTypeConst.Remote ? d.ShareName : d.VolumeName, + d.FileSystem, + d.TotalSize, + d.FreeSpace, + d.AvailableSpace, + d.SerialNumber.toString(16) + ]); + } + return parts.join(' '); + }; + + const ret = ` +Number of drives: ${fso.Drives.Count} + + Drive File Total Free Available Serial +Letter Path Type Ready? Name System Space Space Space Number +${new Array(106).join('-')} +${collectionToArray(fso.Drives).map(driveLine).join('\n')}` + .trim().replace(' ', '\t'); + }; + + type fiileFolderKey = keyof Scripting.File & keyof Scripting.Folder; + type keys = fiileFolderKey | 'Attribs' | 'Created' | 'Accessed' | 'Modified'; + const detailBuilder = (f: Scripting.File | Scripting.Folder, x: fiileFolderKey | 'Attribs' | 'Created' | 'Accessed' | 'Modified') => { + if (x === 'Attribs') { return attributesString(f); } + const label = x; + switch (x) { + case 'Created': + x = 'DateCreated'; + break; + case 'Accessed': + x = 'DateLastAccessed'; + break; + case 'Modified': + x = 'DateLastModified'; + break; + } + return `${label}\t${f[x]}\n`; + }; + + const fileDetailsString = (f: Scripting.File) => { + const keys: keys[] = ['Path', 'Name', 'Type', 'Attribs', 'Created', 'Accessed', 'Modified', 'Size']; + return keys.map(x => detailBuilder(f, x)).join(''); + }; + + const folderDetailsString = (f: Scripting.Folder) => { + const keys: keys[] = ['Path', 'Name', 'Attribs', 'Created', 'Accessed', 'Modified', 'Size']; + return keys.map(x => detailBuilder(f, x)).join(''); + }; + + const folderContentsString = (f: Scripting.Folder): string => { + const files = collectionToArray(f.Files); + const subfolders = collectionToArray(f.SubFolders); + return ` +Folder: ${f.Path} + +There ${files.length === 1 ? 'is 1 file' : `are ${files.length} files`} +${files.map(fileDetailsString).join('')} + +There ${subfolders.length === 1 ? 'is 1 subfolder' : `are ${subfolders.length} subfolders`} +${subfolders.map(folderDetailsString).join('')} +${subfolders.map(folderContentsString).join('')}` + .trim().replace(' ', '\t'); + }; + + const testDrive = 'C:\\'; + const testPath = 'C:\\test'; + const testfolderInfo = () => { + if (!fso.DriveExists(testDrive) || !fso.FolderExists(testPath)) { return ''; } + return folderContentsString(fso.GetFolder(testPath)); + }; + + const deleteTestFolder = () => { + // two ways to delete a file: + const filepathToDelete = `${testPath}\\LoremIpsum\Paragraph1.txt`; + fso.DeleteFile(filepathToDelete); + fso.GetFile(filepathToDelete).Delete(); + + // two ways to delete a folder: + const folderpathToDelete = `${testPath}\\LoremIpsum`; + fso.DeleteFolder(folderpathToDelete); + fso.GetFolder(folderpathToDelete).Delete(); + }; + + const createLyrics = (folder: Scripting.Folder) => { + let stream = folder.CreateTextFile('Paragraph1.txt'); + stream.Write('Lorem Ipsum - Paragraph 1'); + stream.WriteBlankLines(1); + stream.WriteLine('Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas sem.'); + stream.WriteLine('Donec ante. Nulla facilisi. Phasellus interdum nulla a nunc. Morbi laoreet nunc.'); + stream.WriteBlankLines(2); + stream.Close(); + + stream = folder.CreateTextFile('Paragraph2.txt'); + stream.WriteLine('Lorem Ipsum - Paragraph 2'); + stream.WriteBlankLines(1); + stream.WriteLine('Nullam nulla quam, sollicitudin ut, lobortis ornare, tristique a, augue.'); + stream.WriteLine('Vestibulum sem felis, fermentum eu, volutpat eu, vulputate eget, elit. '); + stream.WriteBlankLines(2); + stream.Close(); + }; + + const getLyrics = () => { + const folderPath = `${testPath}\\LoremIpsum`; + let lyrics = ''; + + // One way to read from a file + let stream = fso.OpenTextFile(fso.BuildPath(folderPath, 'Paragraph1.txt')); + lyrics = stream.ReadAll() + '\n\n'; + stream.Close(); + + // Another way to read from a file + stream = fso.GetFile(fso.BuildPath(folderPath, 'Paragraph2.txt')).OpenAsTextStream(); + while (!stream.AtEndOfStream) { + lyrics += stream.ReadLine() + '\n'; + } + stream.Close(); + + return lyrics; + }; + + const buildTestFolder = () => { + // Bail out if the drive doesn't exists ... + if (!fso.DriveExists(testDrive)) { return false; } + // or the directory already exists + if (fso.FolderExists(testPath)) { return false; } + + const testFolder = fso.CreateFolder(testPath); + + const stream = fso.CreateTextFile(fso.BuildPath(testPath, 'readme.txt')); + stream.WriteLine('My sample text collection'); + stream.Close(); + + const subfolder = testFolder.SubFolders.Add('LoremIpsum'); + createLyrics(subfolder); + return true; + }; + + const echoLines = (linecount = 1) => new Array(linecount).forEach(() => WScript.Echo('')); + + if (!buildTestFolder()) { + WScript.Echo('Test directory already exists or cannot be created. Cannot continue.'); + return; } - const attributeStrings: string[] = []; - if (attr & Scripting.FileAttribute.Directory) { attributeStrings.push('Directory'); } - if (attr & Scripting.FileAttribute.ReadOnly) { attributeStrings.push('Read-only'); } - if (attr & Scripting.FileAttribute.Hidden) { attributeStrings.push('Hidden'); } - if (attr & Scripting.FileAttribute.System) { attributeStrings.push('System'); } - if (attr & Scripting.FileAttribute.Volume) { attributeStrings.push('Volume'); } - if (attr & Scripting.FileAttribute.Archive) { attributeStrings.push('Archive'); } - if (attr & Scripting.FileAttribute.Alias) { attributeStrings.push('Alias'); } - if (attr & Scripting.FileAttribute.Compressed) { attributeStrings.push('Compressed'); } - return attributeStrings.join(','); -} + + WScript.Echo(drivesInfoReport); + echoLines(2); + WScript.Echo(testfolderInfo); + echoLines(2); + WScript.Echo(getLyrics()); + echoLines(2); + deleteTestFolder(); +})(); // source --https://msdn.microsoft.com/en-us/library/ts2t8ybh(v=vs.84).aspx function showFreeSpace(drvPath: string) { diff --git a/types/activex-scripting/index.d.ts b/types/activex-scripting/index.d.ts index c4a64c54af..a8014fbed4 100644 --- a/types/activex-scripting/index.d.ts +++ b/types/activex-scripting/index.d.ts @@ -1,5 +1,5 @@ // Type definitions for Microsoft Scripting Runtime 1.0 -// Project: https://msdn.microsoft.com/en-us/library/bstcxhf7.aspx +// Project: https://msdn.microsoft.com/en-us/library/bstcxhf7(v=vs.84).aspx // Definitions by: Zev Spitz // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -57,9 +57,9 @@ declare namespace Scripting { } /** Scripting.Dictionary */ - interface Dictionary { + interface Dictionary { /** Add a new key and item to the dictionary. */ - Add(Key: any, Item: any): void; + Add(Key: TKey, Item: TItem): void; /** Set or get the string comparison method. */ CompareMode: CompareMethod; @@ -68,23 +68,23 @@ declare namespace Scripting { readonly Count: number; /** Determine if a given key is in the dictionary. */ - Exists(Key: any): boolean; - HashVal(Key: any): any; + Exists(Key: TKey): boolean; + HashVal(Key: TKey): any; /** Set or get the item for a given key */ - Item(Key: any): any; + Item(Key: TKey): TItem; /** Get an array containing all items in the dictionary. */ - Items(): any; + Items(): SafeArray; /** Change a key to a different key. */ - Key(Key: any): any; + Key(Key: TKey): TKey; /** Get an array containing all keys in the dictionary. */ - Keys(): any; + Keys(): SafeArray; /** Remove a given key from the dictionary. */ - Remove(Key: any): void; + Remove(Key: TKey): void; /** Remove all information from the dictionary. */ RemoveAll(): void; @@ -93,7 +93,7 @@ declare namespace Scripting { /** Drive Object */ interface Drive { /** Get available space */ - readonly AvailableSpace: any; + readonly AvailableSpace: number; /** Drive letter */ readonly DriveLetter: string; @@ -105,7 +105,7 @@ declare namespace Scripting { readonly FileSystem: string; /** Get drive free space */ - readonly FreeSpace: any; + readonly FreeSpace: number; /** Check if disk is available */ readonly IsReady: boolean; @@ -123,7 +123,7 @@ declare namespace Scripting { readonly ShareName: string; /** Get total drive size */ - readonly TotalSize: any; + readonly TotalSize: number; /** Name of volume */ VolumeName: string; @@ -134,8 +134,8 @@ declare namespace Scripting { /** Number of drives */ readonly Count: number; - /** Get drive */ - Item(Key: any): Drive; + /** Get drive using the drive letter (`C`) or path (`C:\\`) */ + Item(Key: string): Drive; } /** Script Encoder Object */ @@ -199,7 +199,7 @@ declare namespace Scripting { readonly ShortPath: string; /** File size */ - readonly Size: any; + readonly Size: number; /** Type description */ readonly Type: string; @@ -210,8 +210,8 @@ declare namespace Scripting { /** Number of folders */ readonly Count: number; - /** Get file */ - Item(Key: any): File; + /** Get file object using the name and extension of the file */ + Item(Key: string): File; } /** FileSystem Object */ @@ -383,7 +383,7 @@ declare namespace Scripting { readonly ShortPath: string; /** Sum of files and subfolders */ - readonly Size: any; + readonly Size: number; /** Get folders collection */ readonly SubFolders: Folders; @@ -400,8 +400,8 @@ declare namespace Scripting { /** Number of folders */ readonly Count: number; - /** Get folder */ - Item(Key: any): Folder; + /** Get folder in collection using the folder's name */ + Item(Key: string): Folder; } /** TextStream object */ From 5f0dc4e46ddb26d5c2c4bab48c685c6f061330a7 Mon Sep 17 00:00:00 2001 From: Tony Luo Date: Sun, 4 Feb 2018 21:46:26 -0800 Subject: [PATCH 129/463] Allow LoggerInstance.remove to take string --- types/winston/index.d.ts | 2 +- types/winston/winston-tests.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/types/winston/index.d.ts b/types/winston/index.d.ts index 3de43e4349..df360f1e01 100644 --- a/types/winston/index.d.ts +++ b/types/winston/index.d.ts @@ -223,7 +223,7 @@ declare namespace winston { unhandleExceptions(...transports: TransportInstance[]): void; add(transport: TransportInstance, options?: TransportOptions, created?: boolean): LoggerInstance; clear(): void; - remove(transport: TransportInstance): LoggerInstance; + remove(transport: string | TransportInstance): LoggerInstance; startTimer(): ProfileHandler; profile(id: string, msg?: string, meta?: any, callback?: (err: Error, level: string, msg: string, meta: any) => void): LoggerInstance; configure(options: LoggerOptions): void; diff --git a/types/winston/winston-tests.ts b/types/winston/winston-tests.ts index a0620c94e0..c9c8fcd0da 100644 --- a/types/winston/winston-tests.ts +++ b/types/winston/winston-tests.ts @@ -260,6 +260,9 @@ logger = new (winston.Logger)({ ] }); +/* Remove transport by name */ +logger = logger.remove('nooo'); + /* Reconfigure logger */ logger.configure({ level: 'silly' }); From 8e121327a9daf1a85869e6d8b9f817affbf51a1f Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Mon, 5 Feb 2018 08:14:40 +0200 Subject: [PATCH 130/463] Reduce any; add jsDoc --- types/activex-iwshruntimelibrary/index.d.ts | 125 ++++++++++++++++++-- 1 file changed, 112 insertions(+), 13 deletions(-) diff --git a/types/activex-iwshruntimelibrary/index.d.ts b/types/activex-iwshruntimelibrary/index.d.ts index c50c9670a2..b384e57a16 100644 --- a/types/activex-iwshruntimelibrary/index.d.ts +++ b/types/activex-iwshruntimelibrary/index.d.ts @@ -5,6 +5,9 @@ // TypeScript Version: 2.6 declare namespace IWshRuntimeLibrary { + type WindowStyle = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10; + type ShortcutWindowStyle = 1 | 3 | 7; + // tslint:disable-next-line no-const-enum const enum ButtonType { OK, @@ -16,6 +19,16 @@ declare namespace IWshRuntimeLibrary { CancelTryagainContinue } + // tslint:disable-next-line no-const-enum + const enum EventType { + AuditFailure = 5, + AuditSuccess = 4, + Error = 1, + Information = 3, + Success = 0, + Warning = 2 + } + // tslint:disable-next-line no-const-enum const enum IconType { Stop = 16, @@ -161,7 +174,7 @@ declare namespace IWshRuntimeLibrary { * @param Force [false] Remove the connections even if the resource is in use * @param UpdateProfile [false] Remove the mapping from the user's profile */ - RemoveNetworkDrive(Name: string, Force?: any, UpdateProfile?: any): void; + RemoveNetworkDrive(Name: string, Force?: boolean, UpdateProfile?: boolean): void; /** * Removes a shared network printer connection from your computer system @@ -173,7 +186,7 @@ declare namespace IWshRuntimeLibrary { * _Name_ must be the printer's local name. If the printer was connected using the **AddWindowsPrinterConnection** method or was added manually (using the Add Printer wizard), * then _Name_ must be the printer's UNC name. */ - RemovePrinterConnection(Name: string, Force?: any, UpdateProfile?: any): void; + RemovePrinterConnection(Name: string, Force?: true, UpdateProfile?: true): void; SetDefaultPrinter(Name: string): void; readonly Site: string; readonly UserDomain: string; @@ -185,21 +198,98 @@ declare namespace IWshRuntimeLibrary { class WshShell { private 'IWshRuntimeLibrary.WshShell_typekey': WshShell; private constructor(); - AppActivate(App: any, Wait?: any): boolean; - CreateShortcut(PathLink: string): any; + + /** + * Activates an application window + * @param App Title of application as it appears in the title bar, or the process ID + * @param Wait + * + * This method changes the focus to the named application or window. The window must be attached to the calling thread's message queue. It does not affect whether it is maximized or + * minimized. Focus moves from the activated application window when the user takes action to change the focus (or closes the window). + * + * In determining which application to activate, the specified title is compared to the title string of each running application. If no exact match exists, any application whose title + * string begins with title is activated. If an application still cannot be found, any application whose title string ends with title is activated. If more than one instance of the + * application named by title exists, one instance is arbitrarily activated. + * + * The method might return `false` under the following conditions: + * + * * The window is not brought to the foreground. + * * The window is brought to the foreground but is not given keyboard focus. + * * A Command Prompt window (`cmd.exe`) is brought to the foreground and is given keyboard focus. + */ + AppActivate(App: string | number, Wait?: any): boolean; + + /** + * Creates a shortcut + * @param PathLink Path where the shortcut should be created + * + * The shortcut object exists in memory until you save it to disk with the **Save** method. + */ + CreateShortcut(PathLink: string): WshShortcut | WshURLShortcut; CurrentDirectory: string; - Environment(Type?: any): WshEnvironment; + Environment(Type?: 'System' | 'User' | 'Proces' | 'Volatile'): WshEnvironment; Exec(Command: string): WshExec; ExpandEnvironmentStrings(Src: string): string; - /** @param string [Target=''] */ - LogEvent(Type: any, Message: string, Target?: string): boolean; - Popup(Text: any, SecondsToWait?: number, Title?: string, Type?: ButtonType | IconType | PopupType): PopupSelection; + /** @param string [Target=''] Name of the computer system where the event should be logged; default is the local computer system */ + LogEvent(Type: EventType, Message: string, Target?: string): boolean; + Popup(Text: string, SecondsToWait?: number, Title?: string, Type?: ButtonType | IconType | PopupType): PopupSelection; RegDelete(Name: string): void; - RegRead(Name: string): any; - RegWrite(Name: string, Value: any, Type?: any): void; - Run(Command: string, WindowStyle?: any, WaitOnReturn?: any): number; - SendKeys(Keys: string, Wait?: any): void; + + /** + * Returns the value of a key or value-name from the registry + * @param Name Key (ends with a final `\`) or value-name (doesn't end with a final `\`) + * + * Returns one of the following, based on the registry value type: + * + * * **REG_SZ** -- a string + * * **REG_DWORD** -- a number + * * **REG_SBINARY** -- a binary value, as a COM SafeArray containing integers + * * **REG_EXPAND_SZ** -- an expandable string + * * **REG_MULTI_SZ** -- an array of srings, as a COM SafeArray + */ + RegRead(Name: string): string | number | SafeArray | SafeArray; + + /** + * Creates a new key, adds another value-name to an existing key and assigns it a value, or changes the value of an existing value-name + * @param Name Key (ends with a final `\`) or value-name (doesn't end with a final `\`) + * @param Value Will be coerced to `string` or `integer` based on the value-name type: + * `REG_SZ | REG_EXPAND_SZ` will be converted to `string`; + * `REG_DWORD | REG_BINARY` will be converted to `integer` + * @param Type + */ + RegWrite(Name: string, Value: any, Type?: 'REG_SZ' | 'REG_DWORD' | 'REG_BINARY' | 'REG_EXPAND_SZ'): void; + + /** + * Runs a program in a new process. + * @param Command Command-line, including any parameters you want to pass to the executable file. + * @param WindowStyle Appearance of the program window. Not all programs make use of this information. + * @param WaitOnReturn Block script until program finishes executing. + * + * If `false` is passed into **WaitOnReturn**, the **Run** method will return 0 immediately. If `true` is passed in, **Run** will return the program's error code, if any. + * + * Environment variables will be expanded within the command line. + * + * Passing a registered file type will automatically open the program registered to the file type. + * + * Possible values for **WindowStyle**: + * + * * **0** -- Hides the window and activates another window. + * * **1** -- Activates and displays a window. If the window is minimized or maximized, the system restores it to its original size and position. An application should specify this flag + * when displaying the window for the first time. + * * **2** -- Activates the window and displays it as a minimized window. + * * **3** -- Activates the window and displays it as a maximized window. + * * **4** -- Displays a window in its most recent size and position. The active window remains active. + * * **5** -- Activates the window and displays it in its current size and position. + * * **6** -- Minimizes the specified window and activates the next top-level window in the Z order. + * * **7** -- Displays the window as a minimized window. The active window remains active. + * * **8** -- Displays the window in its current state. The active window remains active. + * * **9** -- Activates and displays the window. If the window is minimized or maximized, the system restores it to its original size and position. An application should specify this flag + * when restoring a minimized window. + * * **10** -- Sets the show-state based on the state of the program that started the application. + */ + Run(Command: string, WindowStyle?: WindowStyle, WaitOnReturn?: boolean): number; + SendKeys(Keys: string, Wait?: boolean): void; readonly SpecialFolders: WshCollection; } @@ -216,7 +306,16 @@ declare namespace IWshRuntimeLibrary { readonly RelativePath: string; Save(): void; TargetPath: string; - WindowStyle: number; + + /** + * Possible values: + * + * * **1** -- Activates and displays a window. If the window is minimized or maximized, the system restores it to its original size and position. An application should specify this flag + * when displaying the window for the first time. + * * **3** -- Activates the window and displays it as a maximized window. + * * **7** -- Displays the window as a minimized window. The active window remains active. + */ + WindowStyle: ShortcutWindowStyle; WorkingDirectory: string; } From b6d6f3737964859f166764b568ca4487ef50c0aa Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Mon, 5 Feb 2018 09:29:35 +0200 Subject: [PATCH 131/463] Popup fix --- types/activex-shell/activex-shell-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/activex-shell/activex-shell-tests.ts b/types/activex-shell/activex-shell-tests.ts index 1a7e08754c..f236f6e592 100644 --- a/types/activex-shell/activex-shell-tests.ts +++ b/types/activex-shell/activex-shell-tests.ts @@ -59,7 +59,7 @@ shell.ShowBrowserBar(Shell32.ExplorerBarCLSID.Favorites, true); // https://msdn.microsoft.com/en-us/library/windows/desktop/bb774107(v=vs.85).aspx const wshShell = new ActiveXObject('WScript.Shell'); -wshShell.Popup(shell.Windows().Count); +wshShell.Popup(shell.Windows().Count.toString()); // https://msdn.microsoft.com/en-us/library/windows/desktop/bb787866(v=vs.85).aspx shell.NameSpace(`c:\\windows`)!.CopyHere('c:\\autoexec.bat'); From 45f7026dc7a07fa239675baa1779497aba6badb2 Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Mon, 5 Feb 2018 10:22:23 +0200 Subject: [PATCH 132/463] Typing for Enumerator constructor on Dictionary --- types/activex-scripting/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/activex-scripting/index.d.ts b/types/activex-scripting/index.d.ts index a8014fbed4..088fff3c99 100644 --- a/types/activex-scripting/index.d.ts +++ b/types/activex-scripting/index.d.ts @@ -458,7 +458,8 @@ interface ActiveXObject { } interface EnumeratorConstructor { - new(col: Scripting.Dictionary): any; + // tslint:disable-next-line:no-unnecessary-generics + new(col: Scripting.Dictionary): TItem; new(col: Scripting.Drives): Scripting.Drive; new(col: Scripting.Files): Scripting.File; new(col: Scripting.Folders): Scripting.Folder; From ded5d86b471cea2e54acfe9d672e251ee8f6ce96 Mon Sep 17 00:00:00 2001 From: Nico Jansen Date: Mon, 5 Feb 2018 10:26:33 +0100 Subject: [PATCH 133/463] feat(js-sha512): add js-sha512 types --- types/js-sha512/index.d.ts | 40 ++++++++++++++++++++++ types/js-sha512/js-sha512-tests.ts | 53 ++++++++++++++++++++++++++++++ types/js-sha512/tsconfig.json | 23 +++++++++++++ types/js-sha512/tslint.json | 1 + 4 files changed, 117 insertions(+) create mode 100644 types/js-sha512/index.d.ts create mode 100644 types/js-sha512/js-sha512-tests.ts create mode 100644 types/js-sha512/tsconfig.json create mode 100644 types/js-sha512/tslint.json diff --git a/types/js-sha512/index.d.ts b/types/js-sha512/index.d.ts new file mode 100644 index 0000000000..ad7c0844b1 --- /dev/null +++ b/types/js-sha512/index.d.ts @@ -0,0 +1,40 @@ +// Type definitions for js-sha512 0.7 +// Project: https://github.com/emn178/js-sha512 +// Definitions by: Nico Jansen +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +interface Hash { + update(messageToHash: string): Hash; + hex(): string; + array(): number[]; + digest(): number[]; + arrayBuffer(): ArrayBuffer; +} + +interface HashStatic { + (messageToHash: string): string; + hex(messageToHash: string): string; + array(messageToHash: string): number[]; + digest(messageToHash: string): number[]; + arrayBuffer(messageToHash: string): ArrayBuffer; + create(): Hash; + update(messageToHash: string): Hash; + hmac: HmacStatic; +} + +interface JSSha512Static extends HashStatic { + sha512: HashStatic; + sha384: HashStatic; + sha512_224: HashStatic; + sha512_256: HashStatic; + create(): Hash; +} + +interface HmacStatic { + (key: string, messageToHash: string): string; + create(key: string): Hash; + update(key: string, messageToHash: string): Hash; +} + +declare const jsSha512: JSSha512Static; +export = jsSha512; diff --git a/types/js-sha512/js-sha512-tests.ts b/types/js-sha512/js-sha512-tests.ts new file mode 100644 index 0000000000..8d1ce687c5 --- /dev/null +++ b/types/js-sha512/js-sha512-tests.ts @@ -0,0 +1,53 @@ +import jsSha512 = require('js-sha512'); +import { sha384, sha512, sha512_224, sha512_256 } from 'js-sha512'; + +sha512('Message to hash'); +sha384('Message to hash'); +sha512_256('Message to hash'); +sha512_224('Message to hash'); + +const hash = sha512.create(); +hash.update('Message to hash'); +hash.hex(); + +const hash2 = sha512.update('Message to hash'); +hash2.update('Message2 to hash'); +hash2.array(); + +// HMAC +sha512.hmac('key', 'Message to hash'); +sha384.hmac('key', 'Message to hash'); + +const hash3 = sha512.hmac.create('key'); +hash3.update('Message to hash'); +hash3.hex(); + +const hash4 = sha512.hmac.update('key', 'Message to hash'); +hash4.update('Message2 to hash'); +hash4.array(); + +sha512(''); // cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e +sha512('The quick brown fox jumps over the lazy dog'); // 07e547d9586f6a73f73fbac0435ed76951218fb7d0c8d788a309d785436bbb642e93a252a954f23912547d1e8a3b5ed6e1bfd7097821233fa0538f3db854fee6 +sha512('The quick brown fox jumps over the lazy dog.'); // 91ea1245f20d46ae9a037a989f54f1f790f0a47607eeb8a14d12890cea77a1bbc6c7ed9cf205e67b7f2b8fd4c7dfd3a7a8617e45f3c463d481c7e586c39ac1ed +sha384(''); // 38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b +sha384('The quick brown fox jumps over the lazy dog'); // ca737f1014a48f4c0b6dd43cb177b0afd9e5169367544c494011e3317dbf9a509cb1e5dc1e85a941bbee3d7f2afbc9b1 +sha384('The quick brown fox jumps over the lazy dog.'); // ed892481d8272ca6df370bf706e4d7bc1b5739fa2177aae6c50e946678718fc67a7af2819a021c2fc34e91bdb63409d7 +sha512_256(''); // c672b8d1ef56ed28ab87c3622c5114069bdd3ad7b8f9737498d0c01ecef0967a +sha512_256('The quick brown fox jumps over the lazy dog'); // dd9d67b371519c339ed8dbd25af90e976a1eeefd4ad3d889005e532fc5bef04d +sha512_256('The quick brown fox jumps over the lazy dog.'); // 1546741840f8a492b959d9b8b2344b9b0eb51b004bba35c0aebaac86d45264c3 +sha512_224(''); // 6ed0dd02806fa89e25de060c19d3ac86cabb87d6a0ddd05c333b84f4 +sha512_224('The quick brown fox jumps over the lazy dog'); // 944cd2847fb54558d4775db0485a50003111c8e5daa63fe722c6aa37 +sha512_224('The quick brown fox jumps over the lazy dog.'); // 6d6a9279495ec4061769752e7ff9c68b6b0b3c5a281b7917ce0572de + +// It also supports UTF-8 encoding +sha512('中文'); // 8b88efc2ebbcbdad5ac2d65af05bec57bda25e71fd5fb25bbd892057a2755fbd05d8d8491cb2946febd5b0f124ffdfbaecf7e34946353c4f1b5ab29545895468 +sha384('中文'); // 93422ceb8291a69b22f02dc1114c39a287493ad525dcebc77e4019a44eaee2633a85d0f29cd298ee6799048c33a4be0c +sha512_256('中文'); // b6dab29c16ec35ab34a5d92ff135b58de96741dda78b1009a2181cf8b45d2f72 +sha512_224('中文'); // 0f46a0ae7f226517dd66ece0ce1efa29ffb7ced05ac4566fdcaed188 + +// Different output +sha512(''); // cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e +sha512.hex(''); // cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e +sha512.array(''); // [207, 131, ..., 62] +sha512.digest(''); // [207, 131, ..., 62] +sha512.arrayBuffer(''); // ArrayBuffer diff --git a/types/js-sha512/tsconfig.json b/types/js-sha512/tsconfig.json new file mode 100644 index 0000000000..7777de3803 --- /dev/null +++ b/types/js-sha512/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "js-sha512-tests.ts" + ] +} diff --git a/types/js-sha512/tslint.json b/types/js-sha512/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/js-sha512/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From a01b03d0bb03436a457d926e2ddb27da30c767a1 Mon Sep 17 00:00:00 2001 From: Donovan Date: Mon, 5 Feb 2018 10:43:17 +0100 Subject: [PATCH 134/463] Changed type of item for the TimelineEventPropertiesResult to the approperiate type --- types/vis/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/vis/index.d.ts b/types/vis/index.d.ts index 9c0adb0a97..e7ca718dab 100644 --- a/types/vis/index.d.ts +++ b/types/vis/index.d.ts @@ -290,7 +290,7 @@ export interface TimelineEventPropertiesResult { /** * The id of the clicked item. */ - item?: number | null; + item?: IdType | null; /** * Absolute horizontal position of the click event. From 5f16d9478ca5922c0db5c7f1df7fcc7345a66042 Mon Sep 17 00:00:00 2001 From: Florian Keller Date: Mon, 5 Feb 2018 10:50:49 +0100 Subject: [PATCH 135/463] fix(ed2curve): Corrected return values --- types/ed2curve/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/ed2curve/index.d.ts b/types/ed2curve/index.d.ts index 6b27ee56e4..272220b831 100644 --- a/types/ed2curve/index.d.ts +++ b/types/ed2curve/index.d.ts @@ -15,7 +15,7 @@ export as namespace ed2curve; export function convertPublicKey(publicKey: SignKeyPair["publicKey"]): BoxKeyPair["publicKey"] | null; /** Converts Ed25519 secret key to Curve25519 secret key. */ -export function convertSecretKey(secretKey: SignKeyPair["secretKey"]): BoxKeyPair["secretKey"] | null; +export function convertSecretKey(secretKey: SignKeyPair["secretKey"]): BoxKeyPair["secretKey"]; /** Converts Ed25519 key pair to Curve25519 key pair. */ -export function convertKeyPair(keyPair: SignKeyPair): BoxKeyPair; +export function convertKeyPair(keyPair: SignKeyPair): BoxKeyPair | null; From cbef44fbdb3772758800d0fc525341fbde837974 Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Mon, 5 Feb 2018 12:20:59 +0200 Subject: [PATCH 136/463] tests for _.concat --- types/lodash/lodash-tests.ts | 118 +++++++++++++++++------------------ 1 file changed, 58 insertions(+), 60 deletions(-) diff --git a/types/lodash/lodash-tests.ts b/types/lodash/lodash-tests.ts index c30a3276f7..18a179c4c6 100644 --- a/types/lodash/lodash-tests.ts +++ b/types/lodash/lodash-tests.ts @@ -3775,77 +3775,75 @@ namespace TestCommit { // _.prototype.concat namespace TestConcat { - { - let result: _.LoDashImplicitArrayWrapper; + const numberROA: ReadonlyArray = [0]; - result = _(1).concat(2); - result = _(1).concat(2, 3); - result = _(1).concat(2, 3, 4); + _.concat(1); // $ExpectType number[] + _.concat([1]); // $ExpectType number[] + _.concat(numberROA); // $ExpectType number[] + _.concat(1, 2); // $ExpectType number[] + _.concat(1, [1]); // $ExpectType number[] + _.concat(1, [1], numberROA); // $ExpectType number[] - result = _(1).concat(2); - result = _(1).concat(2, 3); - result = _(1).concat(2, 3, 4); - } + _(1).concat(2); // $ExpectType LoDashImplicitWrapper + _(1).concat([1]); // $ExpectType LoDashImplicitWrapper + _(1).concat([2], numberROA); // $ExpectType LoDashImplicitWrapper + _([1]).concat(2); // $ExpectType LoDashImplicitWrapper + _(numberROA).concat(numberROA); // $ExpectType LoDashImplicitWrapper + _(numberROA).concat(numberROA, numberROA); // $ExpectType LoDashImplicitWrapper - { - let result: _.LoDashImplicitArrayWrapper; + _.chain(1).concat(2); // $ExpectType LoDashExplicitWrapper + _.chain(1).concat([1]); // $ExpectType LoDashExplicitWrapper + _.chain(1).concat([2], numberROA); // $ExpectType LoDashExplicitWrapper + _.chain([1]).concat(2); // $ExpectType LoDashExplicitWrapper + _.chain(numberROA).concat(numberROA); // $ExpectType LoDashExplicitWrapper + _.chain(numberROA).concat(numberROA, numberROA); // $ExpectType LoDashExplicitWrapper - result = _(['']).concat(['']); - result = _(['']).concat([''], ['']); - result = _(['']).concat([''], [''], ['']); + const stringROA: ReadonlyArray = ['']; - result = _(['']).concat(['']); - result = _(['']).concat([''], ['']); - result = _(['']).concat([''], [''], ['']); - } + _.concat('a'); // $ExpectType string[] + _.concat(['a']); // $ExpectType string[] + _.concat(stringROA); // $ExpectType string[] + _.concat('a', 'b'); // $ExpectType string[] + _.concat('a', ['a']); // $ExpectType string[] + _.concat('a', ['a'], stringROA); // $ExpectType string[] - { - let result: _.LoDashImplicitArrayWrapper<{a: string}>; + _('a').concat('b'); // $ExpectType LoDashImplicitWrapper + _('a').concat(['a']); // $ExpectType LoDashImplicitWrapper + _('a').concat(['b'], stringROA); // $ExpectType LoDashImplicitWrapper + _(['a']).concat('b'); // $ExpectType LoDashImplicitWrapper + _(stringROA).concat(stringROA); // $ExpectType LoDashImplicitWrapper + _(stringROA).concat(stringROA, stringROA); // $ExpectType LoDashImplicitWrapper - result = _({a: ''}).concat<{a: string}>({a: ''}); - result = _({a: ''}).concat<{a: string}>({a: ''}, {a: ''}); - result = _({a: ''}).concat<{a: string}>({a: ''}, {a: ''}, {a: ''}); + _.chain('a').concat('b'); // $ExpectType LoDashExplicitWrapper + _.chain('a').concat(['a']); // $ExpectType LoDashExplicitWrapper + _.chain('a').concat(['b'], stringROA); // $ExpectType LoDashExplicitWrapper + _.chain(['a']).concat('b'); // $ExpectType LoDashExplicitWrapper + _.chain(stringROA).concat(stringROA); // $ExpectType LoDashExplicitWrapper + _.chain(stringROA).concat(stringROA, stringROA); // $ExpectType LoDashExplicitWrapper - result = _({a: ''}).concat({a: ''}); - result = _({a: ''}).concat({a: ''}, {a: ''}); - result = _({a: ''}).concat({a: ''}, {a: ''}, {a: ''}); - } + const abcObject: AbcObject = { a: 1, b: 'foo', c: true }; + const objectROA: ReadonlyArray = [{ a: 1, b: 'foo', c: true }]; - { - let result: _.LoDashExplicitArrayWrapper; + _.concat(abcObject); // $ExpectType AbcObject[] + _.concat([abcObject]); // $ExpectType AbcObject[] + _.concat(objectROA); // $ExpectType AbcObject[] + _.concat(abcObject, abcObject); // $ExpectType AbcObject[] + _.concat(abcObject, [abcObject]); // $ExpectType AbcObject[] + _.concat(abcObject, [abcObject], objectROA); // $ExpectType AbcObject[] - result = _(1).chain().concat(2); - result = _(1).chain().concat(2, 3); - result = _(1).chain().concat(2, 3, 4); + _(abcObject).concat(abcObject); // $ExpectType LoDashImplicitWrapper + _(abcObject).concat([abcObject]); // $ExpectType LoDashImplicitWrapper + _(abcObject).concat([abcObject], objectROA); // $ExpectType LoDashImplicitWrapper + _([abcObject]).concat(abcObject); // $ExpectType LoDashImplicitWrapper + _(objectROA).concat(objectROA); // $ExpectType LoDashImplicitWrapper + _(objectROA).concat(objectROA, objectROA); // $ExpectType LoDashImplicitWrapper - result = _(1).chain().concat(2); - result = _(1).chain().concat(2, 3); - result = _(1).chain().concat(2, 3, 4); - } - - { - let result: _.LoDashExplicitArrayWrapper; - - result = _(['']).chain().concat(['']); - result = _(['']).chain().concat([''], ['']); - result = _(['']).chain().concat([''], [''], ['']); - - result = _(['']).chain().concat(['']); - result = _(['']).chain().concat([''], ['']); - result = _(['']).chain().concat([''], [''], ['']); - } - - { - let result: _.LoDashExplicitArrayWrapper<{a: string}>; - - result = _({a: ''}).chain().concat<{a: string}>({a: ''}); - result = _({a: ''}).chain().concat<{a: string}>({a: ''}, {a: ''}); - result = _({a: ''}).chain().concat<{a: string}>({a: ''}, {a: ''}, {a: ''}); - - result = _({a: ''}).chain().concat({a: ''}); - result = _({a: ''}).chain().concat({a: ''}, {a: ''}); - result = _({a: ''}).chain().concat({a: ''}, {a: ''}, {a: ''}); - } + _.chain(abcObject).concat(abcObject); // $ExpectType LoDashExplicitWrapper + _.chain(abcObject).concat([abcObject]); // $ExpectType LoDashExplicitWrapper + _.chain(abcObject).concat([abcObject], objectROA); // $ExpectType LoDashExplicitWrapper + _.chain([abcObject]).concat(abcObject); // $ExpectType LoDashExplicitWrapper + _.chain(objectROA).concat(objectROA); // $ExpectType LoDashExplicitWrapper + _.chain(objectROA).concat(objectROA, objectROA); // $ExpectType LoDashExplicitWrapper } // _.prototype.plant From 8aba723555f97610fff751e6105275747a3c5a20 Mon Sep 17 00:00:00 2001 From: Kyle Roach Date: Mon, 5 Feb 2018 06:36:20 -0400 Subject: [PATCH 137/463] react-native-material-ui - Add positionContainer on ActionButton style --- types/react-native-material-ui/index.d.ts | 3 ++- .../react-native-material-ui-tests.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/types/react-native-material-ui/index.d.ts b/types/react-native-material-ui/index.d.ts index f3147eecf7..d8560653d7 100644 --- a/types/react-native-material-ui/index.d.ts +++ b/types/react-native-material-ui/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for react-native-material-ui 1.12 +// Type definitions for react-native-material-ui 1.19 // Project: https://github.com/xotahal/react-native-material-ui // Definitions by: Kyle Roach // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -18,6 +18,7 @@ export interface ActionButtonProps { style?: { container?: ViewStyle icon?: TextStyle + positionContainer?: ViewStyle }; transition?: 'toolbar' | 'speedDial'; onPress?(): void; diff --git a/types/react-native-material-ui/react-native-material-ui-tests.tsx b/types/react-native-material-ui/react-native-material-ui-tests.tsx index 4acb9db12e..b4380fc388 100644 --- a/types/react-native-material-ui/react-native-material-ui-tests.tsx +++ b/types/react-native-material-ui/react-native-material-ui-tests.tsx @@ -25,7 +25,7 @@ const theme = { const Example = () => - + From 267674ea8fe92fd684eb898a25dc2da1e2f348df Mon Sep 17 00:00:00 2001 From: Mathias Lykkegaard Lorenzen Date: Mon, 5 Feb 2018 11:36:44 +0100 Subject: [PATCH 138/463] Update index.d.ts --- types/knockout/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/knockout/index.d.ts b/types/knockout/index.d.ts index 570f61d80b..ade040f441 100644 --- a/types/knockout/index.d.ts +++ b/types/knockout/index.d.ts @@ -314,6 +314,7 @@ interface KnockoutUtils { triggerEvent(element: any, eventType: any): void; unwrapObservable(value: KnockoutObservable | T): T; + unwrapObservable(value: KnockoutObservableArray | T[]): T[]; // NOT PART OF THE MINIFIED API SURFACE (ONLY IN knockout-{version}.debug.js) https://github.com/SteveSanderson/knockout/issues/670 // forceRefresh(node: any): void; @@ -454,6 +455,7 @@ interface KnockoutStatic { renderTemplate(template: Function, viewModel: any, options?: any, target?: any, renderMode?: any): any; renderTemplate(template: string, viewModel: any, options?: any, target?: any, renderMode?: any): any; unwrap(value: KnockoutObservable | T): T; + unwrap(value: KnockoutObservableArray | T[]): T[]; computedContext: KnockoutComputedContext; From 4e3f9e69d701e604dce4fa89eb62b151e932f39d Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Mon, 5 Feb 2018 12:40:40 +0200 Subject: [PATCH 139/463] Fixed typo in Proces --- types/activex-iwshruntimelibrary/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/activex-iwshruntimelibrary/index.d.ts b/types/activex-iwshruntimelibrary/index.d.ts index b384e57a16..a0f0f04ab6 100644 --- a/types/activex-iwshruntimelibrary/index.d.ts +++ b/types/activex-iwshruntimelibrary/index.d.ts @@ -227,7 +227,7 @@ declare namespace IWshRuntimeLibrary { */ CreateShortcut(PathLink: string): WshShortcut | WshURLShortcut; CurrentDirectory: string; - Environment(Type?: 'System' | 'User' | 'Proces' | 'Volatile'): WshEnvironment; + Environment(Type: 'System' | 'User' | 'Process' | 'Volatile'): WshEnvironment; Exec(Command: string): WshExec; ExpandEnvironmentStrings(Src: string): string; From be9eaa2cd6dc415f98551c1aa5e9d8b1e01ec1f0 Mon Sep 17 00:00:00 2001 From: Rhys Brett-Bowen Date: Mon, 5 Feb 2018 11:41:03 +0000 Subject: [PATCH 140/463] Add priority for transform definition --- types/quill/index.d.ts | 4 ++-- types/quill/quill-tests.ts | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/types/quill/index.d.ts b/types/quill/index.d.ts index a996babf30..6cc5c824c5 100644 --- a/types/quill/index.d.ts +++ b/types/quill/index.d.ts @@ -84,9 +84,9 @@ export interface DeltaStatic { concat(other: DeltaStatic): DeltaStatic; diff(other: DeltaStatic, index?: number): DeltaStatic; eachLine(predicate: (line: DeltaStatic, attributes: StringMap, idx: number) => any, newline?: string): DeltaStatic; - transform(index: number): number; + transform(index: number, priority?: boolean): number; transform(other: DeltaStatic, priority: boolean): DeltaStatic; - transformPosition(index: number): number; + transformPosition(index: number, priority?: boolean): number; } export class Delta implements DeltaStatic { diff --git a/types/quill/quill-tests.ts b/types/quill/quill-tests.ts index f907092ed1..bda294251d 100644 --- a/types/quill/quill-tests.ts +++ b/types/quill/quill-tests.ts @@ -310,10 +310,14 @@ function test_DeltaTransform() { const d1: DeltaStatic = a.transform(b, true); // new Delta().retain(1).insert('b').retain(5).insert('c'); const d2: DeltaStatic = a.transform(b, false); // new Delta().insert('b').retain(6).insert('c'); const n1: number = a.transform(5); + const n2: number = a.transform(5, true); + const n3: number = a.transform(5, false); } function test_DeltatransformPosition() { const delta = new Delta().retain(5).insert('a'); const n1: number = delta.transformPosition(4); // 4 const n2: number = delta.transformPosition(5); // 6 + const n3: number = delta.transformPosition(5, true); + const n4: number = delta.transformPosition(5, false); } From cc34c06fd6cbc425cb556f2f3cfd307c51324e22 Mon Sep 17 00:00:00 2001 From: Maksim Kavalenka Date: Mon, 5 Feb 2018 15:14:53 +0300 Subject: [PATCH 141/463] Set an appropriate name of the method --- types/milliseconds/index.d.ts | 2 +- types/milliseconds/milliseconds-tests.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/milliseconds/index.d.ts b/types/milliseconds/index.d.ts index 144886e457..937b281bde 100644 --- a/types/milliseconds/index.d.ts +++ b/types/milliseconds/index.d.ts @@ -9,7 +9,7 @@ interface Milliseconds { hours(hours: number): number days(days: number): number weeks(weeks: number): number - month(month: number): number + months(months: number): number years(years: number): number } diff --git a/types/milliseconds/milliseconds-tests.ts b/types/milliseconds/milliseconds-tests.ts index ea3b7c23ef..adb9efe7f3 100644 --- a/types/milliseconds/milliseconds-tests.ts +++ b/types/milliseconds/milliseconds-tests.ts @@ -5,5 +5,5 @@ milliseconds.minutes(2) milliseconds.hours(3) milliseconds.days(4) milliseconds.weeks(5) -milliseconds.month(6) +milliseconds.months(6) milliseconds.years(7) From 2cdc9ea07129bfe1bd8a20df2f3171ca4c066308 Mon Sep 17 00:00:00 2001 From: Vitalie Andries Date: Mon, 5 Feb 2018 15:35:26 +0200 Subject: [PATCH 142/463] @trivial - modal commands can take 2nd argument as relatedTarget and use as event property --- types/bootstrap/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/bootstrap/index.d.ts b/types/bootstrap/index.d.ts index a3117596af..06142cc1d1 100644 --- a/types/bootstrap/index.d.ts +++ b/types/bootstrap/index.d.ts @@ -87,7 +87,7 @@ interface TransitionEventNames { interface JQuery { modal(options?: ModalOptions): JQuery; modal(options?: ModalOptionsBackdropString): JQuery; - modal(command: string): JQuery; + modal(command: string, relatedTarget?: Element): JQuery; dropdown(): JQuery; dropdown(command: string): JQuery; From b86955ac31118d1a476f16d7d958e2b83bdaae65 Mon Sep 17 00:00:00 2001 From: glmdgrielson <32415403+glmdgrielson@users.noreply.github.com> Date: Mon, 5 Feb 2018 09:13:51 -0500 Subject: [PATCH 143/463] Update require.resolve.paths type I'm not too familiar with the strict null checks, sorry. --- types/node/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 5d4a3d54c3..8c002ed5e3 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -126,7 +126,7 @@ interface NodeRequire extends NodeRequireFunction { interface RequireResolve { (id: string, options?: { paths: string[]; }): string; - paths(request: string): string[]; + paths(request: string): string[] | null; } interface NodeExtensions { From 8c8d986e3b66246035a053051220286f57e9a585 Mon Sep 17 00:00:00 2001 From: glmdgrielson <32415403+glmdgrielson@users.noreply.github.com> Date: Mon, 5 Feb 2018 09:16:15 -0500 Subject: [PATCH 144/463] Update require.resolve.paths type I've also changed the version in the header, as this bit wasn't added until 8.9.x. I hope that's okay. --- types/node/v8/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/node/v8/index.d.ts b/types/node/v8/index.d.ts index 98d6b10e2d..d2c9d822ba 100644 --- a/types/node/v8/index.d.ts +++ b/types/node/v8/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Node.js 8.5.x +// Type definitions for Node.js 8.9.x // Project: http://nodejs.org/ // Definitions by: Microsoft TypeScript // DefinitelyTyped @@ -124,7 +124,7 @@ interface NodeRequire extends NodeRequireFunction { interface RequireResolve { (id: string, options?: { paths: string[]; }): string; - paths(request: string): string[]; + paths(request: string): string[] | null; } interface NodeExtensions { From dc854d79f1a9ca96a0723d4fb4c57e3063f8a635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20S=C3=A1nchez?= Date: Mon, 5 Feb 2018 15:19:22 +0100 Subject: [PATCH 145/463] rename method name for version 23 --- types/expo/v23/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/expo/v23/index.d.ts b/types/expo/v23/index.d.ts index 8aaa28bace..61c0a384cc 100644 --- a/types/expo/v23/index.d.ts +++ b/types/expo/v23/index.d.ts @@ -1200,7 +1200,7 @@ export namespace Notifications { type LocalNotificationId = string | number; function addListener(listener: (notification: Notification) => any): EventSubscription; - function getExponentPushTokenAsync(): Promise; + function getExpoPushTokenAsync(): Promise; function presentLocalNotificationAsync(localNotification: LocalNotification): Promise; function scheduleLocalNotificationAsync( localNotification: LocalNotification, From b29ebabcb860dd8c4482a79c4a1fa860a0437e4a Mon Sep 17 00:00:00 2001 From: glmdgrielson <32415403+glmdgrielson@users.noreply.github.com> Date: Mon, 5 Feb 2018 09:29:26 -0500 Subject: [PATCH 146/463] Made paths property optional Granted, I can't imagine any reason you wouldn't have it, but you don't have to! --- types/node/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 8c002ed5e3..72a9d5085c 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -125,7 +125,7 @@ interface NodeRequire extends NodeRequireFunction { } interface RequireResolve { - (id: string, options?: { paths: string[]; }): string; + (id: string, options?: { paths?: string[]; }): string; paths(request: string): string[] | null; } From 91fcfae67f771fcb8e337db89a3d879477dc1593 Mon Sep 17 00:00:00 2001 From: glmdgrielson <32415403+glmdgrielson@users.noreply.github.com> Date: Mon, 5 Feb 2018 09:30:33 -0500 Subject: [PATCH 147/463] Made paths property optional I'm making a lot of seemingly duplicate commits here, aren't I? --- types/node/v8/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/node/v8/index.d.ts b/types/node/v8/index.d.ts index d2c9d822ba..fb80321e0c 100644 --- a/types/node/v8/index.d.ts +++ b/types/node/v8/index.d.ts @@ -123,7 +123,7 @@ interface NodeRequire extends NodeRequireFunction { } interface RequireResolve { - (id: string, options?: { paths: string[]; }): string; + (id: string, options?: { paths?: string[]; }): string; paths(request: string): string[] | null; } From 1e48a332ba00c0ea6d137a763625bbf99f96afd9 Mon Sep 17 00:00:00 2001 From: Art Date: Mon, 5 Feb 2018 14:31:03 +0000 Subject: [PATCH 148/463] Update index.d.ts --- types/node/v6/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/node/v6/index.d.ts b/types/node/v6/index.d.ts index 5cbe7ab3dc..187bd24c4d 100644 --- a/types/node/v6/index.d.ts +++ b/types/node/v6/index.d.ts @@ -2596,7 +2596,8 @@ declare module "fs" { */ 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 readdir(path: string | Buffer, opts: string | {encoding?: string}, callback?: (err: NodeJS.ErrnoException, files: string[]) => void): void; + export function readdirSync(path: string | Buffer, opts?: string | {encoding?: string}): 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; From c84b2631309e1421913fc24666e6a32758b36d19 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Mon, 5 Feb 2018 06:46:30 -0800 Subject: [PATCH 149/463] Add Ranged interface --- types/eslint/eslint-tests.ts | 3 +- types/eslint/index.d.ts | 66 +++++++++++++++--------------------- 2 files changed, 28 insertions(+), 41 deletions(-) diff --git a/types/eslint/eslint-tests.ts b/types/eslint/eslint-tests.ts index 376cdf0a92..425f14580b 100644 --- a/types/eslint/eslint-tests.ts +++ b/types/eslint/eslint-tests.ts @@ -1,4 +1,3 @@ -import { Comment } from 'estree'; import { AST, SourceCode, Rule, Linter, CLIEngine, RuleTester, Scope } from 'eslint'; const SOURCE = `var foo = bar;`; @@ -26,7 +25,7 @@ const TOKEN: AST.Token = { range: [0, 3] }; -const COMMENT: Comment = { +const COMMENT: AST.Comment = { type: 'Block', value: 'foo', loc: { diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index 9e0e68af0b..81f3c875c8 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -35,12 +35,20 @@ export namespace AST { type Range = [number, number]; + interface Ranged { + range: Range; + } + interface Program extends ESTree.Program { comments: ESTree.Comment[]; tokens: Token[]; loc: SourceLocation; range: Range; } + + interface Comment extends ESTree.Comment { + range: Range; + } } export namespace Scope { @@ -144,62 +152,42 @@ export class SourceCode { getTokenByRangeStart(offset: number, options?: { includeComments?: boolean }): AST.Token | null; - getFirstToken(node: ESTree.Node, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; + getFirstToken(node: AST.Ranged, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; - getFirstTokens(node: ESTree.Node, options?: SourceCode.CursorWithCountOptions): AST.Token[]; + getFirstTokens(node: AST.Ranged, options?: SourceCode.CursorWithCountOptions): AST.Token[]; - getLastToken(node: ESTree.Node, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; + getLastToken(node: AST.Ranged, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; - getLastTokens(node: ESTree.Node, options?: SourceCode.CursorWithCountOptions): AST.Token[]; + getLastTokens(node: AST.Ranged, options?: SourceCode.CursorWithCountOptions): AST.Token[]; - getTokenBefore(node: ESTree.Node | AST.Token | ESTree.Comment, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; + getTokenBefore(node: AST.Ranged, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; - getTokensBefore(node: ESTree.Node | AST.Token | ESTree.Comment, options?: SourceCode.CursorWithCountOptions): AST.Token[]; + getTokensBefore(node: AST.Ranged, options?: SourceCode.CursorWithCountOptions): AST.Token[]; - getTokenAfter(node: ESTree.Node | AST.Token | ESTree.Comment, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; + getTokenAfter(node: AST.Ranged, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; - getTokensAfter(node: ESTree.Node | AST.Token | ESTree.Comment, options?: SourceCode.CursorWithCountOptions): AST.Token[]; + getTokensAfter(node: AST.Ranged, options?: SourceCode.CursorWithCountOptions): AST.Token[]; - getFirstTokenBetween( - left: ESTree.Node | AST.Token | ESTree.Comment, - right: ESTree.Node | AST.Token | ESTree.Comment, - options?: SourceCode.CursorWithSkipOptions - ): AST.Token | null; + getFirstTokenBetween(left: AST.Ranged, right: AST.Ranged, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; - getFirstTokensBetween( - left: ESTree.Node | AST.Token | ESTree.Comment, - right: ESTree.Node | AST.Token | ESTree.Comment, - options?: SourceCode.CursorWithCountOptions - ): AST.Token[]; + getFirstTokensBetween(left: AST.Ranged, right: AST.Ranged, options?: SourceCode.CursorWithCountOptions): AST.Token[]; - getLastTokenBetween( - left: ESTree.Node | AST.Token | ESTree.Comment, - right: ESTree.Node | AST.Token | ESTree.Comment, - options?: SourceCode.CursorWithSkipOptions - ): AST.Token | null; + getLastTokenBetween(left: AST.Ranged, right: AST.Ranged, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; - getLastTokensBetween( - left: ESTree.Node | AST.Token | ESTree.Comment, - right: ESTree.Node | AST.Token | ESTree.Comment, - options?: SourceCode.CursorWithCountOptions - ): AST.Token[]; + getLastTokensBetween(left: AST.Ranged, right: AST.Ranged, options?: SourceCode.CursorWithCountOptions): AST.Token[]; - getTokensBetween( - left: ESTree.Node | AST.Token | ESTree.Comment, - right: ESTree.Node | AST.Token | ESTree.Comment, - padding?: number | SourceCode.FilterPredicate | SourceCode.CursorWithCountOptions - ): AST.Token[]; + getTokensBetween(left: AST.Ranged, right: AST.Ranged, padding?: number | SourceCode.FilterPredicate | SourceCode.CursorWithCountOptions): AST.Token[]; - getTokens(node: ESTree.Node, beforeCount?: number, afterCount?: number): AST.Token[]; - getTokens(node: ESTree.Node, options: SourceCode.FilterPredicate | SourceCode.CursorWithCountOptions): AST.Token[]; + getTokens(node: AST.Ranged, beforeCount?: number, afterCount?: number): AST.Token[]; + getTokens(node: AST.Ranged, options: SourceCode.FilterPredicate | SourceCode.CursorWithCountOptions): AST.Token[]; - commentsExistBetween(left: ESTree.Node | AST.Token, right: ESTree.Node | AST.Token): boolean; + commentsExistBetween(left: AST.Ranged, right: AST.Ranged): boolean; - getCommentsBefore(nodeOrToken: ESTree.Node | AST.Token): ESTree.Comment[]; + getCommentsBefore(nodeOrToken: AST.Ranged): ESTree.Comment[]; - getCommentsAfter(nodeOrToken: ESTree.Node | AST.Token): ESTree.Comment[]; + getCommentsAfter(nodeOrToken: AST.Ranged): ESTree.Comment[]; - getCommentsInside(node: ESTree.Node): ESTree.Comment[]; + getCommentsInside(node: AST.Ranged): ESTree.Comment[]; } export namespace SourceCode { From a6a051d44838a32fe7f81ded506eb8dc8a1b22fe Mon Sep 17 00:00:00 2001 From: glmdgrielson <32415403+glmdgrielson@users.noreply.github.com> Date: Mon, 5 Feb 2018 09:52:01 -0500 Subject: [PATCH 150/463] Removed whitespace Stupid auto-indent... --- types/node/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 72a9d5085c..3741468c4f 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -128,7 +128,7 @@ interface RequireResolve { (id: string, options?: { paths?: string[]; }): string; paths(request: string): string[] | null; } - + interface NodeExtensions { '.js': (m: NodeModule, filename: string) => any; '.json': (m: NodeModule, filename: string) => any; From dca88a98185c739d0999b49259caadb804517d70 Mon Sep 17 00:00:00 2001 From: Matt Clarkson Date: Mon, 5 Feb 2018 15:11:31 +0000 Subject: [PATCH 151/463] object-hash: add excludeKeys option Added in 1.2.0 of the library --- types/object-hash/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/object-hash/index.d.ts b/types/object-hash/index.d.ts index c6b16df950..4da49c262c 100644 --- a/types/object-hash/index.d.ts +++ b/types/object-hash/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for object-hash v1.1.8 +// Type definitions for object-hash v1.2.0 // Project: https://github.com/puleos/object-hash // Definitions by: Michael Zabka // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -18,6 +18,7 @@ declare namespace ObjectHash { respectFunctionNames?: boolean; unorderedArrays?: boolean; unorderedSets?: boolean; + excludeKeys?: (key: string) => boolean; } interface HashTableItem { From fd35f96ddd5ec5efd64ba37af88e5f3ce4c363cf Mon Sep 17 00:00:00 2001 From: Art Date: Mon, 5 Feb 2018 15:46:48 +0000 Subject: [PATCH 152/463] Update index.d.ts Add definitions author tag --- types/node/v6/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/node/v6/index.d.ts b/types/node/v6/index.d.ts index 187bd24c4d..7104436a01 100644 --- a/types/node/v6/index.d.ts +++ b/types/node/v6/index.d.ts @@ -5,6 +5,7 @@ // Wilco Bakker // Thomas Bouldin // Sebastian Silbermann +// Alorel // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /************************************************ From 360a819fc47df8b96c3926f390bf8063c685d626 Mon Sep 17 00:00:00 2001 From: Caleb Everett Date: Mon, 5 Feb 2018 11:34:18 -0500 Subject: [PATCH 153/463] Added TypeScript definition for s3-download-stream --- types/s3-download-stream/LICENSE | 21 +++++++++++++++++++++ types/s3-download-stream/README.md | 16 ++++++++++++++++ types/s3-download-stream/index.d.ts | 20 ++++++++++++++++++++ types/s3-download-stream/package.json | 18 ++++++++++++++++++ 4 files changed, 75 insertions(+) create mode 100644 types/s3-download-stream/LICENSE create mode 100644 types/s3-download-stream/README.md create mode 100644 types/s3-download-stream/index.d.ts create mode 100644 types/s3-download-stream/package.json diff --git a/types/s3-download-stream/LICENSE b/types/s3-download-stream/LICENSE new file mode 100644 index 0000000000..5cf7c8db62 --- /dev/null +++ b/types/s3-download-stream/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) Microsoft Corporation. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE diff --git a/types/s3-download-stream/README.md b/types/s3-download-stream/README.md new file mode 100644 index 0000000000..bed78317a2 --- /dev/null +++ b/types/s3-download-stream/README.md @@ -0,0 +1,16 @@ +# Installation +> `npm install --save @types/s3-download-stream` + +# Summary +This package contains type definitions for s3-download-stream (https://github.com/jb55/s3-download-stream). + +# Details +Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/s3-download-stream + +Additional Details + * Last updated: Mon, 05 Feb 2018 16:21:00 GMT + * Dependencies: stream, aws-sdk, node + * Global values: none + +# Credits +These definitions were written by Caleb Everett . diff --git a/types/s3-download-stream/index.d.ts b/types/s3-download-stream/index.d.ts new file mode 100644 index 0000000000..0577dc0a09 --- /dev/null +++ b/types/s3-download-stream/index.d.ts @@ -0,0 +1,20 @@ +// Type definitions for s3-download-stream 0.1 +// Project: https://github.com/jb55/s3-download-stream +// Definitions by: Caleb Everett +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// +import { Readable } from "stream"; +import { S3 } from "aws-sdk"; + +declare namespace s3Stream { + interface S3StreamDownloaderOptions { + client: S3, + concurrency?: number, + chunkSize?: string, + params: S3.GetObjectRequest + } +} + +declare function s3Stream(options: s3Stream.S3StreamDownloaderOptions): Readable; +export = s3Stream; diff --git a/types/s3-download-stream/package.json b/types/s3-download-stream/package.json new file mode 100644 index 0000000000..c1b46eab19 --- /dev/null +++ b/types/s3-download-stream/package.json @@ -0,0 +1,18 @@ +{ + "name": "@types/s3-download-stream", + "version": "0.1.0", + "description": "TypeScript definitions for s3-download-stream", + "main": "", + "repository": { + "type": "git", + "url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" + }, + "scripts": {}, + "license": "MIT", + "typeScriptVersion": "2.0", + "types": "index.d.ts", + "dependencies": { + "@types/node": "*", + "aws-sdk": "^2.188.0" + } +} From fb7345aacbc42a63a26fce89884ac1b49e76983e Mon Sep 17 00:00:00 2001 From: Caleb Everett Date: Mon, 5 Feb 2018 11:41:40 -0500 Subject: [PATCH 154/463] Changed to match instructions for contributions --- types/s3-download-stream/LICENSE | 21 ---------------- types/s3-download-stream/README.md | 16 ------------- types/s3-download-stream/package.json | 20 ++++------------ .../s3-download-stream-tests.ts | 18 ++++++++++++++ types/s3-download-stream/tsconfig.json | 24 +++++++++++++++++++ types/s3-download-stream/tslint.json | 1 + 6 files changed, 47 insertions(+), 53 deletions(-) delete mode 100644 types/s3-download-stream/LICENSE delete mode 100644 types/s3-download-stream/README.md create mode 100644 types/s3-download-stream/s3-download-stream-tests.ts create mode 100644 types/s3-download-stream/tsconfig.json create mode 100644 types/s3-download-stream/tslint.json diff --git a/types/s3-download-stream/LICENSE b/types/s3-download-stream/LICENSE deleted file mode 100644 index 5cf7c8db62..0000000000 --- a/types/s3-download-stream/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) Microsoft Corporation. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE diff --git a/types/s3-download-stream/README.md b/types/s3-download-stream/README.md deleted file mode 100644 index bed78317a2..0000000000 --- a/types/s3-download-stream/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# Installation -> `npm install --save @types/s3-download-stream` - -# Summary -This package contains type definitions for s3-download-stream (https://github.com/jb55/s3-download-stream). - -# Details -Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/s3-download-stream - -Additional Details - * Last updated: Mon, 05 Feb 2018 16:21:00 GMT - * Dependencies: stream, aws-sdk, node - * Global values: none - -# Credits -These definitions were written by Caleb Everett . diff --git a/types/s3-download-stream/package.json b/types/s3-download-stream/package.json index c1b46eab19..3711406140 100644 --- a/types/s3-download-stream/package.json +++ b/types/s3-download-stream/package.json @@ -1,18 +1,6 @@ { - "name": "@types/s3-download-stream", - "version": "0.1.0", - "description": "TypeScript definitions for s3-download-stream", - "main": "", - "repository": { - "type": "git", - "url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" - }, - "scripts": {}, - "license": "MIT", - "typeScriptVersion": "2.0", - "types": "index.d.ts", - "dependencies": { - "@types/node": "*", - "aws-sdk": "^2.188.0" - } + "private": true, + "dependencies": { + "aws-sdk": "^2.37.0" + } } diff --git a/types/s3-download-stream/s3-download-stream-tests.ts b/types/s3-download-stream/s3-download-stream-tests.ts new file mode 100644 index 0000000000..0e8e0b9e90 --- /dev/null +++ b/types/s3-download-stream/s3-download-stream-tests.ts @@ -0,0 +1,18 @@ +import * as S3Stream from "s3-download-stream"; +import * as AWS from "aws-sdk"; +import * as fs from "fs"; + +// Documentation for "params": +// http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#getObject-property +var config = { + client: new AWS.S3({}), + concurrency: 6, + chunkSize: '512KB', + params: { + Key: 'key-name', + Bucket: 'bucket-name' + } +} + +S3Stream(config) + .pipe(fs.createWriteStream('/path/to/a/file')); diff --git a/types/s3-download-stream/tsconfig.json b/types/s3-download-stream/tsconfig.json new file mode 100644 index 0000000000..bf42854536 --- /dev/null +++ b/types/s3-download-stream/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "s3-download-stream-tests.ts" + ] +} diff --git a/types/s3-download-stream/tslint.json b/types/s3-download-stream/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/s3-download-stream/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 681a028b7016060cd0355f8387138091ddf3c4c8 Mon Sep 17 00:00:00 2001 From: Caleb Everett Date: Mon, 5 Feb 2018 11:46:03 -0500 Subject: [PATCH 155/463] Tweaked tsconfig.json so it has the noImplicitAny, noImplicitThis, strictNullChecks, and strictFunctionTypes set to true --- types/s3-download-stream/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/s3-download-stream/tsconfig.json b/types/s3-download-stream/tsconfig.json index bf42854536..d2d7d3763c 100644 --- a/types/s3-download-stream/tsconfig.json +++ b/types/s3-download-stream/tsconfig.json @@ -7,7 +7,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ From a13d90b79bf57376cfab7268c83ea312c435cc20 Mon Sep 17 00:00:00 2001 From: Caleb Everett Date: Mon, 5 Feb 2018 11:47:49 -0500 Subject: [PATCH 156/463] Made s3-download-stream-tests.ts indentation 4 spaces --- .../s3-download-stream-tests.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/types/s3-download-stream/s3-download-stream-tests.ts b/types/s3-download-stream/s3-download-stream-tests.ts index 0e8e0b9e90..1fede898bb 100644 --- a/types/s3-download-stream/s3-download-stream-tests.ts +++ b/types/s3-download-stream/s3-download-stream-tests.ts @@ -5,14 +5,14 @@ import * as fs from "fs"; // Documentation for "params": // http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#getObject-property var config = { - client: new AWS.S3({}), - concurrency: 6, - chunkSize: '512KB', - params: { - Key: 'key-name', - Bucket: 'bucket-name' - } + client: new AWS.S3({}), + concurrency: 6, + chunkSize: '512KB', + params: { + Key: 'key-name', + Bucket: 'bucket-name' + } } S3Stream(config) - .pipe(fs.createWriteStream('/path/to/a/file')); + .pipe(fs.createWriteStream('/path/to/a/file')); From 12ac31209bb7bac41dc3d5521a8a9c80bc3a4ec5 Mon Sep 17 00:00:00 2001 From: Caleb Everett Date: Mon, 5 Feb 2018 11:49:44 -0500 Subject: [PATCH 157/463] Added blank line to improve readability --- types/s3-download-stream/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/s3-download-stream/index.d.ts b/types/s3-download-stream/index.d.ts index 0577dc0a09..20729b7d47 100644 --- a/types/s3-download-stream/index.d.ts +++ b/types/s3-download-stream/index.d.ts @@ -4,6 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// + import { Readable } from "stream"; import { S3 } from "aws-sdk"; From 879c918b441da7b257d12261f2a2d8d63cb091c4 Mon Sep 17 00:00:00 2001 From: Caleb Everett Date: Mon, 5 Feb 2018 12:07:56 -0500 Subject: [PATCH 158/463] Fixed build errors from Travis CI --- types/s3-download-stream/index.d.ts | 8 ++++---- types/s3-download-stream/s3-download-stream-tests.ts | 7 +++---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/types/s3-download-stream/index.d.ts b/types/s3-download-stream/index.d.ts index 20729b7d47..defd116e7c 100644 --- a/types/s3-download-stream/index.d.ts +++ b/types/s3-download-stream/index.d.ts @@ -10,10 +10,10 @@ import { S3 } from "aws-sdk"; declare namespace s3Stream { interface S3StreamDownloaderOptions { - client: S3, - concurrency?: number, - chunkSize?: string, - params: S3.GetObjectRequest + client: S3; + concurrency?: number; + chunkSize?: string; + params: S3.GetObjectRequest; } } diff --git a/types/s3-download-stream/s3-download-stream-tests.ts b/types/s3-download-stream/s3-download-stream-tests.ts index 1fede898bb..cf1176203d 100644 --- a/types/s3-download-stream/s3-download-stream-tests.ts +++ b/types/s3-download-stream/s3-download-stream-tests.ts @@ -4,7 +4,7 @@ import * as fs from "fs"; // Documentation for "params": // http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#getObject-property -var config = { +const config = { client: new AWS.S3({}), concurrency: 6, chunkSize: '512KB', @@ -12,7 +12,6 @@ var config = { Key: 'key-name', Bucket: 'bucket-name' } -} +}; -S3Stream(config) - .pipe(fs.createWriteStream('/path/to/a/file')); +S3Stream(config).pipe(fs.createWriteStream('/path/to/a/file')); From d85cf6b138ec075dc73e00b7a4c9406c97fb485c Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Mon, 5 Feb 2018 19:16:41 +0200 Subject: [PATCH 159/463] tests for _.pick --- types/lodash/lodash-tests.ts | 69 ++++++++++++++---------------------- 1 file changed, 26 insertions(+), 43 deletions(-) diff --git a/types/lodash/lodash-tests.ts b/types/lodash/lodash-tests.ts index 18a179c4c6..ca33017323 100644 --- a/types/lodash/lodash-tests.ts +++ b/types/lodash/lodash-tests.ts @@ -11800,52 +11800,35 @@ namespace TestOmitBy { // _.pick namespace TestPick { - let obj1: AbcObject | null | undefined = anything; - let obj2: AbcObject = anything; + const obj1: AbcObject | null | undefined = anything; + const obj2: AbcObject = anything; + const readonlyArray: ReadonlyArray = ['a', 'b']; + const literalsArray = ['a' as 'a', 'b' as 'b']; + const roLiteralsArray: ReadonlyArray<'a' | 'b'> = literalsArray; - { - let result: Partial; + _.pick(obj1, 'a'); // $ExpectType PartialDeep + _.pick(obj1, 0, 'a'); // $ExpectType PartialDeep + _.pick(obj1, ['b', 1], 0, 'a'); // $ExpectType PartialDeep + _.pick(obj1, readonlyArray); // $ExpectType PartialDeep + _.pick(obj2, 'a', 'b'); // $ExpectType Pick + _.pick(obj2, literalsArray); // $ExpectType Pick + _.pick(obj2, roLiteralsArray); // $ExpectType Pick - result = _.pick(obj1, 'a'); - result = _.pick(obj1, 0, 'a'); - result = _.pick(obj1, ['b', 1], 0, 'a'); - } + _(obj1).pick('a'); // $ExpectType LoDashImplicitWrapper> + _(obj1).pick(0, 'a'); // $ExpectType LoDashImplicitWrapper> + _(obj1).pick(['b', 1], 0, 'a'); // $ExpectType LoDashImplicitWrapper> + _(obj1).pick(readonlyArray); // $ExpectType LoDashImplicitWrapper> + _(obj2).pick('a', 'b'); // $ExpectType LoDashImplicitWrapper> + _(obj2).pick(literalsArray); // $ExpectType LoDashImplicitWrapper> + _(obj2).pick(roLiteralsArray); // $ExpectType LoDashImplicitWrapper> - { - let result: Pick; - result = _.pick(obj2, 'a', 'b'); - result = _.pick(obj2, ['a' as 'a', 'b' as 'b']); - } - - { - let result: _.LoDashImplicitWrapper>; - - result = _(obj1).pick('a'); - result = _(obj1).pick(0, 'a'); - result = _(obj1).pick(['b', 1], 0, 'a'); - } - - { - let result: _.LoDashImplicitWrapper>; - - result = _(obj2).pick('a', 'b'); - result = _(obj2).pick(['a' as 'a', 'b' as 'b']); - } - - { - let result: _.LoDashExplicitWrapper>; - - result = _(obj1).chain().pick('a'); - result = _(obj1).chain().pick(0, 'a'); - result = _(obj1).chain().pick(['b', 1], 0, 'a'); - } - - { - let result: _.LoDashExplicitWrapper>; - - result = _(obj2).chain().pick('a', 'b'); - result = _(obj2).chain().pick(['a' as 'a', 'b' as 'b']); - } + _.chain(obj1).pick('a'); // $ExpectType LoDashExplicitWrapper> + _.chain(obj1).pick(0, 'a'); // $ExpectType LoDashExplicitWrapper> + _.chain(obj1).pick(['b', 1], 0, 'a'); // $ExpectType LoDashExplicitWrapper> + _.chain(obj1).pick(readonlyArray); // $ExpectType LoDashExplicitWrapper> + _.chain(obj2).pick('a', 'b'); // $ExpectType LoDashExplicitWrapper> + _.chain(obj2).pick(literalsArray); // $ExpectType LoDashExplicitWrapper> + _.chain(obj2).pick(roLiteralsArray); // $ExpectType LoDashExplicitWrapper> } // _.pickBy From bef4d2b27db722a9e5f262d470fa3e010b0f93e3 Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 5 Feb 2018 11:01:56 -0800 Subject: [PATCH 160/463] Enable "esModuleInterop" in all tsconfigs (#23354) --- scripts/generate-tsconfigs.ts | 2 +- types/abbrev/tsconfig.json | 3 +- types/abs/tsconfig.json | 3 +- types/absolute/tsconfig.json | 3 +- types/acc-wizard/tsconfig.json | 3 +- types/accept-language-parser/tsconfig.json | 3 +- types/accepts/tsconfig.json | 3 +- types/accounting/tsconfig.json | 3 +- types/ace/tsconfig.json | 3 +- types/acl/tsconfig.json | 3 +- types/acorn/tsconfig.json | 3 +- types/actioncable/tsconfig.json | 3 +- types/actions-on-google/tsconfig.json | 5 +- types/activex-access/tsconfig.json | 3 +- types/activex-adodb/tsconfig.json | 3 +- types/activex-dao/tsconfig.json | 3 +- types/activex-diskquota/tsconfig.json | 9 ++- types/activex-excel/tsconfig.json | 3 +- types/activex-faxcomexlib/tsconfig.json | 9 ++- types/activex-infopath/tsconfig.json | 3 +- .../activex-iwshruntimelibrary/tsconfig.json | 9 ++- types/activex-libreoffice/tsconfig.json | 3 +- types/activex-msforms/tsconfig.json | 3 +- types/activex-mshtml/tsconfig.json | 3 +- types/activex-msxml2/tsconfig.json | 3 +- types/activex-office/tsconfig.json | 3 +- types/activex-outlook/tsconfig.json | 3 +- types/activex-powerpoint/tsconfig.json | 3 +- types/activex-scripting/tsconfig.json | 3 +- types/activex-stdole/tsconfig.json | 3 +- types/activex-vbide/tsconfig.json | 3 +- types/activex-wia/tsconfig.json | 3 +- types/activex-word/tsconfig.json | 3 +- types/adal-angular/tsconfig.json | 3 +- types/add-zero/tsconfig.json | 5 +- types/add2home/tsconfig.json | 3 +- types/adm-zip/tsconfig.json | 3 +- types/adone/tsconfig.json | 1 + types/aframe/tsconfig.json | 3 +- types/agenda/tsconfig.json | 3 +- types/aggregate-error/tsconfig.json | 3 +- types/alertify/tsconfig.json | 3 +- types/alexa-sdk/tsconfig.json | 5 +- types/alexa-voice-service/tsconfig.json | 3 +- types/algebra.js/tsconfig.json | 3 +- types/algoliasearch/tsconfig.json | 38 +++++++----- types/alt/tsconfig.json | 3 +- types/amazon-product-api/tsconfig.json | 3 +- types/amcharts/tsconfig.json | 3 +- types/amplify-deferred/tsconfig.json | 3 +- types/amplify/tsconfig.json | 3 +- types/amplitude-js/tsconfig.json | 3 +- types/amqp-rpc/tsconfig.json | 3 +- types/amqp/tsconfig.json | 3 +- types/amqplib/tsconfig.json | 3 +- types/analytics-node/tsconfig.json | 3 +- types/angular-agility/tsconfig.json | 3 +- types/angular-animate/tsconfig.json | 3 +- types/angular-block-ui/tsconfig.json | 3 +- .../angular-bootstrap-calendar/tsconfig.json | 3 +- .../angular-bootstrap-lightbox/tsconfig.json | 3 +- types/angular-breadcrumb/tsconfig.json | 3 +- types/angular-clipboard/tsconfig.json | 3 +- types/angular-cookie/tsconfig.json | 3 +- types/angular-cookies/tsconfig.json | 3 +- .../angular-deferred-bootstrap/tsconfig.json | 3 +- types/angular-dialog-service/tsconfig.json | 3 +- types/angular-dynamic-locale/tsconfig.json | 3 +- types/angular-environment/tsconfig.json | 3 +- types/angular-es/tsconfig.json | 3 +- types/angular-feature-flags/tsconfig.json | 3 +- types/angular-file-saver/tsconfig.json | 3 +- types/angular-file-upload/tsconfig.json | 3 +- types/angular-formly/tsconfig.json | 3 +- types/angular-fullscreen/tsconfig.json | 3 +- types/angular-gettext/tsconfig.json | 3 +- types/angular-google-analytics/tsconfig.json | 3 +- types/angular-gridster/tsconfig.json | 3 +- types/angular-growl-v2/tsconfig.json | 3 +- types/angular-hotkeys/tsconfig.json | 5 +- types/angular-http-auth/tsconfig.json | 3 +- types/angular-httpi/tsconfig.json | 3 +- types/angular-idle/tsconfig.json | 3 +- types/angular-jwt/tsconfig.json | 3 +- types/angular-load/tsconfig.json | 3 +- types/angular-loading-bar/tsconfig.json | 3 +- types/angular-local-storage/tsconfig.json | 3 +- types/angular-localforage/tsconfig.json | 3 +- types/angular-locker/tsconfig.json | 3 +- types/angular-material/tsconfig.json | 3 +- types/angular-media-queries/tsconfig.json | 3 +- types/angular-meteor/tsconfig.json | 3 +- types/angular-mocks/tsconfig.json | 3 +- types/angular-modal/tsconfig.json | 3 +- types/angular-notifications/tsconfig.json | 3 +- types/angular-notify/tsconfig.json | 3 +- types/angular-oauth2/tsconfig.json | 3 +- types/angular-odata-resources/tsconfig.json | 3 +- types/angular-pdfjs-viewer/tsconfig.json | 3 +- types/angular-permission/tsconfig.json | 3 +- types/angular-promise-tracker/tsconfig.json | 3 +- types/angular-q-spread/tsconfig.json | 3 +- types/angular-resource/tsconfig.json | 3 +- types/angular-route/tsconfig.json | 3 +- types/angular-sanitize/tsconfig.json | 3 +- types/angular-scenario/tsconfig.json | 3 +- types/angular-scroll/tsconfig.json | 3 +- types/angular-signalr-hub/tsconfig.json | 3 +- types/angular-spinner/tsconfig.json | 3 +- types/angular-storage/tsconfig.json | 3 +- types/angular-strap/tsconfig.json | 3 +- types/angular-toastr/tsconfig.json | 3 +- types/angular-toasty/tsconfig.json | 3 +- types/angular-tooltips/tsconfig.json | 3 +- types/angular-touchspin/tsconfig.json | 3 +- types/angular-translate/tsconfig.json | 3 +- types/angular-ui-bootstrap/tsconfig.json | 3 +- types/angular-ui-notification/tsconfig.json | 3 +- types/angular-ui-router/tsconfig.json | 3 +- types/angular-ui-scroll/tsconfig.json | 3 +- types/angular-ui-sortable/tsconfig.json | 3 +- types/angular-ui-tree/tsconfig.json | 3 +- types/angular-websocket/tsconfig.json | 5 +- types/angular-wizard/tsconfig.json | 3 +- types/angular-xeditable/tsconfig.json | 3 +- types/angular.throttle/tsconfig.json | 3 +- types/angular/tsconfig.json | 5 +- types/angularfire/tsconfig.json | 3 +- types/angularlocalstorage/tsconfig.json | 3 +- types/angulartics/tsconfig.json | 3 +- types/animation-frame/tsconfig.json | 3 +- types/animejs/tsconfig.json | 3 +- types/annyang/tsconfig.json | 3 +- types/ansi-colors/tsconfig.json | 5 +- types/ansi-regex/tsconfig.json | 7 ++- types/ansi-styles/tsconfig.json | 3 +- types/ansicolors/tsconfig.json | 3 +- types/any-db-transaction/tsconfig.json | 3 +- types/any-db/tsconfig.json | 3 +- types/anybar/tsconfig.json | 3 +- types/anymatch/tsconfig.json | 3 +- types/apex.js/tsconfig.json | 3 +- types/aphrodite/tsconfig.json | 1 + types/api-error-handler/tsconfig.json | 3 +- types/apigee-access/tsconfig.json | 3 +- types/apollo-codegen/tsconfig.json | 3 +- types/app-root-path/tsconfig.json | 3 +- types/appdmg/tsconfig.json | 5 +- types/appframework/tsconfig.json | 3 +- types/applepayjs/tsconfig.json | 1 + types/appletvjs/tsconfig.json | 3 +- types/applicationinsights-js/tsconfig.json | 3 +- types/aqb/tsconfig.json | 3 +- types/arbiter/tsconfig.json | 3 +- types/arcgis-js-api/tsconfig.json | 3 +- types/arcgis-js-api/v3/tsconfig.json | 3 +- types/arcgis-rest-api/tsconfig.json | 3 +- types/arcgis-to-geojson-utils/tsconfig.json | 3 +- types/archiver/tsconfig.json | 3 +- types/archy/tsconfig.json | 3 +- types/are-we-there-yet/tsconfig.json | 3 +- types/argon2-browser/tsconfig.json | 5 +- types/argparse/tsconfig.json | 3 +- types/args/tsconfig.json | 3 +- types/argv/tsconfig.json | 3 +- types/arr-union/tsconfig.json | 5 +- types/array-find-index/tsconfig.json | 3 +- types/array-foreach/tsconfig.json | 3 +- types/array-uniq/tsconfig.json | 3 +- types/arrify/tsconfig.json | 3 +- types/artillery/tsconfig.json | 5 +- types/asana/tsconfig.json | 3 +- types/ascii2mathml/tsconfig.json | 3 +- types/asciify/tsconfig.json | 3 +- types/asenv/tsconfig.json | 3 +- types/asn1js/tsconfig.json | 3 +- types/aspnet-identity-pw/tsconfig.json | 3 +- types/assert-equal-jsx/tsconfig.json | 3 +- types/assert-plus/tsconfig.json | 3 +- types/assertsharp/tsconfig.json | 3 +- types/assets-webpack-plugin/tsconfig.json | 3 +- types/async-cache/tsconfig.json | 3 +- types/async-lock/tsconfig.json | 3 +- types/async-polling/tsconfig.json | 3 +- types/async-retry/tsconfig.json | 3 +- types/async-writer/tsconfig.json | 3 +- types/async.nexttick/tsconfig.json | 3 +- types/async/tsconfig.json | 3 +- types/asynciterator/tsconfig.json | 5 +- types/atmosphere.js/tsconfig.json | 3 +- types/atom-keymap/tsconfig.json | 5 +- types/atom-mocha-test-runner/tsconfig.json | 5 +- types/atom/tsconfig.json | 5 +- types/atpl/tsconfig.json | 3 +- types/audiosprite/tsconfig.json | 3 +- types/auth0-angular/tsconfig.json | 3 +- types/auth0-js/tsconfig.json | 3 +- types/auth0-js/v7/tsconfig.json | 3 +- types/auth0-lock/tsconfig.json | 3 +- types/auth0.widget/tsconfig.json | 3 +- types/auth0/tsconfig.json | 3 +- types/auto-launch/tsconfig.json | 3 +- types/auto-sni/tsconfig.json | 3 +- types/autobahn/tsconfig.json | 3 +- types/autolinker/tsconfig.json | 3 +- types/autoprefixer-core/tsconfig.json | 3 +- types/autoprefixer/tsconfig.json | 3 +- types/autosize/tsconfig.json | 3 +- types/avoscloud-sdk/tsconfig.json | 3 +- types/awesomplete/tsconfig.json | 3 +- types/aws-iot-device-sdk/tsconfig.json | 3 +- types/aws-lambda-mock-context/tsconfig.json | 3 +- types/aws-lambda/tsconfig.json | 3 +- types/aws-serverless-express/tsconfig.json | 3 +- types/aws4/tsconfig.json | 3 +- types/axel/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/azure-sb/tsconfig.json | 6 +- types/azure/tsconfig.json | 3 +- types/b_/tsconfig.json | 3 +- types/babel-code-frame/tsconfig.json | 3 +- types/babel-core/tsconfig.json | 3 +- types/babel-generator/tsconfig.json | 3 +- types/babel-plugin-react-pug/tsconfig.json | 1 + types/babel-plugin-syntax-jsx/tsconfig.json | 3 +- types/babel-template/tsconfig.json | 3 +- types/babel-traverse/tsconfig.json | 3 +- types/babel-types/tsconfig.json | 3 +- types/babel-webpack-plugin/tsconfig.json | 5 +- types/babelify/tsconfig.json | 3 +- types/babylon-walk/tsconfig.json | 1 + types/babylon/tsconfig.json | 3 +- types/babyparse/tsconfig.json | 3 +- types/backbone-associations/tsconfig.json | 3 +- types/backbone-fetch-cache/tsconfig.json | 3 +- types/backbone-relational/tsconfig.json | 3 +- types/backbone.layoutmanager/tsconfig.json | 3 +- types/backbone.localstorage/tsconfig.json | 3 +- types/backbone.marionette/tsconfig.json | 3 +- types/backbone.paginator/tsconfig.json | 3 +- types/backbone.radio/tsconfig.json | 3 +- types/backbone/tsconfig.json | 3 +- types/backgrid/tsconfig.json | 3 +- types/backlog-js/tsconfig.json | 3 +- types/backoff/tsconfig.json | 3 +- types/baconjs/tsconfig.json | 3 +- types/bagpipes/tsconfig.json | 3 +- types/baidumap-web-sdk/tsconfig.json | 3 +- types/barcode/tsconfig.json | 3 +- types/bardjs/tsconfig.json | 3 +- types/base-64/tsconfig.json | 3 +- types/base-x/tsconfig.json | 3 +- types/base16/tsconfig.json | 3 +- types/base64-js/tsconfig.json | 3 +- types/bases/tsconfig.json | 3 +- types/bash-glob/tsconfig.json | 5 +- types/basic-auth/tsconfig.json | 3 +- types/batch-stream/tsconfig.json | 3 +- types/bazinga-translator/tsconfig.json | 3 +- types/bcrypt-nodejs/tsconfig.json | 3 +- types/bcrypt/tsconfig.json | 3 +- types/bcryptjs/tsconfig.json | 3 +- types/beats/tsconfig.json | 5 +- types/bech32/tsconfig.json | 5 +- types/bem-cn/tsconfig.json | 3 +- types/benchmark/tsconfig.json | 3 +- types/better-curry/tsconfig.json | 3 +- types/better-sqlite3/tsconfig.json | 3 +- types/bezier-easing/tsconfig.json | 3 +- types/bezier-js/tsconfig.json | 3 +- types/bgiframe/tsconfig.json | 3 +- types/big.js/tsconfig.json | 3 +- types/bigi/tsconfig.json | 3 +- types/bigint/tsconfig.json | 3 +- types/bignum/tsconfig.json | 3 +- types/bigscreen/tsconfig.json | 3 +- types/binary-parser/tsconfig.json | 5 +- types/bind-ponyfill/tsconfig.json | 3 +- types/bindings/tsconfig.json | 5 +- types/bingmaps/tsconfig.json | 3 +- types/bintrees/tsconfig.json | 3 +- types/bip21/tsconfig.json | 3 +- types/bip38/tsconfig.json | 5 +- types/bip39/tsconfig.json | 5 +- types/bit-array/tsconfig.json | 3 +- types/bitcoinjs-lib/tsconfig.json | 3 +- types/bittorrent-protocol/tsconfig.json | 3 +- types/bitwise-xor/tsconfig.json | 3 +- types/bl/tsconfig.json | 3 +- types/blacklist/tsconfig.json | 3 +- types/blazy/tsconfig.json | 3 +- types/bleno/tsconfig.json | 3 +- types/blessed/tsconfig.json | 3 +- types/blissfuljs/tsconfig.json | 3 +- types/blob-stream/tsconfig.json | 3 +- types/blob-to-buffer/tsconfig.json | 5 +- types/blob-util/tsconfig.json | 3 +- types/blocks/tsconfig.json | 3 +- types/bloomfilter/tsconfig.json | 3 +- types/blue-tape/tsconfig.json | 3 +- types/bluebird-global/tsconfig.json | 3 +- types/bluebird-retry/tsconfig.json | 3 +- types/bluebird/tsconfig.json | 5 +- types/bluebird/v1/tsconfig.json | 3 +- types/bluebird/v2/tsconfig.json | 3 +- types/blueimp-md5/tsconfig.json | 3 +- types/body-parser/tsconfig.json | 3 +- types/bonjour/tsconfig.json | 3 +- types/bookshelf/tsconfig.json | 3 +- types/boolify-string/tsconfig.json | 3 +- types/boom/tsconfig.json | 3 +- types/boom/v3/tsconfig.json | 3 +- types/boom/v4/tsconfig.json | 5 +- types/bootbox/tsconfig.json | 3 +- types/bootpag/tsconfig.json | 3 +- types/bootstrap-datepicker/tsconfig.json | 3 +- types/bootstrap-fileinput/tsconfig.json | 3 +- .../bootstrap-growl-ifightcrime/tsconfig.json | 3 +- types/bootstrap-maxlength/tsconfig.json | 3 +- types/bootstrap-notify/tsconfig.json | 3 +- types/bootstrap-select/tsconfig.json | 3 +- types/bootstrap-slider/tsconfig.json | 3 +- types/bootstrap-switch/tsconfig.json | 3 +- types/bootstrap-table/tsconfig.json | 3 +- types/bootstrap-touchspin/tsconfig.json | 3 +- types/bootstrap-treeview/tsconfig.json | 3 +- types/bootstrap-validator/tsconfig.json | 3 +- types/bootstrap.paginator/tsconfig.json | 3 +- types/bootstrap.timepicker/tsconfig.json | 3 +- .../bootstrap.v3.datetimepicker/tsconfig.json | 3 +- .../v3/tsconfig.json | 3 +- types/bootstrap/tsconfig.json | 3 +- types/bounce.js/tsconfig.json | 3 +- types/box2d/tsconfig.json | 3 +- types/brace-expansion/tsconfig.json | 3 +- types/braces/tsconfig.json | 3 +- types/braft-editor/tsconfig.json | 3 +- types/braintree-web/tsconfig.json | 3 +- types/breeze/tsconfig.json | 3 +- types/bricks.js/tsconfig.json | 3 +- types/brorand/tsconfig.json | 3 +- types/browser-bunyan/tsconfig.json | 3 +- types/browser-fingerprint/tsconfig.json | 3 +- types/browser-harness/tsconfig.json | 3 +- types/browser-pack/tsconfig.json | 3 +- types/browser-report/tsconfig.json | 3 +- types/browser-resolve/tsconfig.json | 3 +- types/browser-sync/tsconfig.json | 3 +- types/browserify/tsconfig.json | 3 +- types/bs58/tsconfig.json | 3 +- types/bson/tsconfig.json | 3 +- types/bucks/tsconfig.json | 3 +- types/buffer-compare/tsconfig.json | 3 +- types/buffer-equal/tsconfig.json | 3 +- types/buffers/tsconfig.json | 3 +- types/bufferstream/tsconfig.json | 3 +- types/bull/tsconfig.json | 3 +- types/bull/v2/tsconfig.json | 3 +- types/bump-regex/tsconfig.json | 5 +- types/bunnymq/tsconfig.json | 3 +- types/bunyan-blackhole/tsconfig.json | 3 +- types/bunyan-bugsnag/tsconfig.json | 3 +- types/bunyan-config/tsconfig.json | 3 +- types/bunyan-format/tsconfig.json | 5 +- types/bunyan-logentries/tsconfig.json | 3 +- types/bunyan-prettystream/tsconfig.json | 3 +- types/bunyan-winston-adapter/tsconfig.json | 3 +- types/bunyan/tsconfig.json | 3 +- types/busboy/tsconfig.json | 3 +- types/business-rules-engine/tsconfig.json | 3 +- types/bwip-js/tsconfig.json | 3 +- types/byline/tsconfig.json | 3 +- types/bytebuffer/tsconfig.json | 3 +- types/bytes/tsconfig.json | 3 +- types/c3/tsconfig.json | 3 +- types/cache-manager/tsconfig.json | 3 +- types/cal-heatmap/tsconfig.json | 3 +- types/callsite/tsconfig.json | 3 +- types/callsites/tsconfig.json | 3 +- types/calq/tsconfig.json | 3 +- types/camelcase-keys/tsconfig.json | 3 +- types/camelcase/tsconfig.json | 3 +- types/camljs/tsconfig.json | 3 +- types/camo/tsconfig.json | 3 +- types/cancan/tsconfig.json | 5 +- types/cannon/tsconfig.json | 3 +- types/canvas-gauges/tsconfig.json | 3 +- types/canvasjs/tsconfig.json | 3 +- types/capitalize/tsconfig.json | 3 +- types/card-validator/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/caseless/tsconfig.json | 5 +- types/cash/tsconfig.json | 3 +- types/casperjs/tsconfig.json | 3 +- types/cassandra-driver/tsconfig.json | 3 +- types/catalog/tsconfig.json | 49 +++++++-------- types/catbox/tsconfig.json | 9 ++- types/cbor/tsconfig.json | 3 +- types/ccap/tsconfig.json | 3 +- types/chai-arrays/tsconfig.json | 3 +- types/chai-as-promised/tsconfig.json | 3 +- types/chai-datetime/tsconfig.json | 3 +- types/chai-dom/tsconfig.json | 3 +- types/chai-enzyme/tsconfig.json | 1 + types/chai-fuzzy/tsconfig.json | 3 +- types/chai-http/tsconfig.json | 3 +- types/chai-jest-snapshot/tsconfig.json | 3 +- types/chai-jquery/tsconfig.json | 3 +- types/chai-json-schema/tsconfig.json | 3 +- types/chai-oequal/tsconfig.json | 3 +- types/chai-spies/tsconfig.json | 3 +- types/chai-string/tsconfig.json | 3 +- types/chai-subset/tsconfig.json | 3 +- types/chai-things/tsconfig.json | 3 +- types/chai-webdriverio/tsconfig.json | 3 +- types/chai-xml/tsconfig.json | 3 +- types/chai/tsconfig.json | 3 +- types/chai/v2/tsconfig.json | 3 +- types/chance/tsconfig.json | 3 +- types/change-emitter/tsconfig.json | 3 +- types/charm/tsconfig.json | 3 +- types/charset/tsconfig.json | 5 +- types/chart.js/tsconfig.json | 3 +- types/chartist/tsconfig.json | 3 +- types/chayns/tsconfig.json | 3 +- types/check-sum/tsconfig.json | 3 +- types/check-types/tsconfig.json | 41 +++++++------ types/checkstyle-formatter/tsconfig.json | 3 +- types/checksum/tsconfig.json | 3 +- types/cheerio/tsconfig.json | 3 +- types/chmodr/tsconfig.json | 3 +- types/chocolatechipjs/tsconfig.json | 3 +- types/chokidar/tsconfig.json | 3 +- types/chosen-js/tsconfig.json | 3 +- types/chownr/tsconfig.json | 3 +- types/chroma-js/tsconfig.json | 3 +- types/chroma-js/v0/tsconfig.json | 3 +- types/chrome/tsconfig.json | 5 +- types/chui/tsconfig.json | 3 +- types/circular-json/tsconfig.json | 3 +- types/ckeditor/tsconfig.json | 3 +- types/clamp-js-main/tsconfig.json | 5 +- types/clamp-js/tsconfig.json | 3 +- types/classnames/tsconfig.json | 3 +- types/cldrjs/tsconfig.json | 3 +- types/clean-css/tsconfig.json | 3 +- types/clean-stack/tsconfig.json | 3 +- types/clean-webpack-plugin/tsconfig.json | 5 +- types/clear-require/tsconfig.json | 3 +- types/cleave.js/tsconfig.json | 3 +- types/cli-color/tsconfig.json | 3 +- types/cli-spinner/tsconfig.json | 5 +- types/cli-table2/tsconfig.json | 3 +- types/cli/tsconfig.json | 3 +- types/client-sessions/tsconfig.json | 3 +- types/cliff/tsconfig.json | 3 +- types/clipboard-js/tsconfig.json | 3 +- types/clipboard/tsconfig.json | 3 +- types/clipboardy/tsconfig.json | 3 +- types/clndr/tsconfig.json | 3 +- types/clockpicker/tsconfig.json | 5 +- types/clone/tsconfig.json | 3 +- types/closure-compiler/tsconfig.json | 3 +- types/cloud-env/tsconfig.json | 3 +- types/cloudflare-apps/tsconfig.json | 1 + types/cls-hooked/tsconfig.json | 3 +- types/clusterize.js/tsconfig.json | 5 +- types/cmd-shim/tsconfig.json | 5 +- types/co-body/tsconfig.json | 3 +- types/co-views/tsconfig.json | 3 +- types/code/tsconfig.json | 3 +- types/codemirror/tsconfig.json | 3 +- types/codependency/tsconfig.json | 3 +- types/coffeeify/tsconfig.json | 3 +- types/coinbase/tsconfig.json | 5 +- types/coinstring/tsconfig.json | 3 +- types/collections/tsconfig.json | 3 +- types/color-convert/tsconfig.json | 3 +- types/color-name/tsconfig.json | 1 + types/color-string/tsconfig.json | 3 +- types/color/tsconfig.json | 3 +- types/color/v0/tsconfig.json | 3 +- types/color/v1/tsconfig.json | 3 +- types/color/v2/tsconfig.json | 5 +- types/colorbrewer/tsconfig.json | 3 +- types/colors/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/combine-source-map/tsconfig.json | 3 +- types/combined-stream/tsconfig.json | 3 +- types/combokeys/tsconfig.json | 3 +- types/cometd/tsconfig.json | 3 +- types/command-line-args/tsconfig.json | 3 +- types/command-line-commands/tsconfig.json | 3 +- types/commangular/tsconfig.json | 3 +- types/comment-json/tsconfig.json | 3 +- types/common-tags/tsconfig.json | 3 +- types/commonmark/tsconfig.json | 3 +- types/compare-version/tsconfig.json | 3 +- types/complex/tsconfig.json | 3 +- types/component-emitter/tsconfig.json | 3 +- types/compose-function/tsconfig.json | 3 +- types/compressible/tsconfig.json | 3 +- .../compression-webpack-plugin/tsconfig.json | 3 +- types/compression/tsconfig.json | 3 +- types/compute-stdev/tsconfig.json | 5 +- types/concat-stream/tsconfig.json | 3 +- types/concaveman/tsconfig.json | 3 +- types/conf/tsconfig.json | 3 +- types/conf/v0/tsconfig.json | 3 +- types/confidence/tsconfig.json | 3 +- types/config/tsconfig.json | 3 +- types/configstore/tsconfig.json | 3 +- types/confit/tsconfig.json | 3 +- types/connect-busboy/tsconfig.json | 5 +- types/connect-ensure-login/tsconfig.json | 3 +- types/connect-flash/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/connect-livereload/tsconfig.json | 3 +- types/connect-modrewrite/tsconfig.json | 3 +- types/connect-mongo/tsconfig.json | 3 +- types/connect-pg-simple/tsconfig.json | 3 +- types/connect-redis/tsconfig.json | 3 +- types/connect-slashes/tsconfig.json | 3 +- types/connect-timeout/tsconfig.json | 3 +- types/connect/tsconfig.json | 3 +- types/console-stamp/tsconfig.json | 3 +- types/consolidate/tsconfig.json | 3 +- types/consul/tsconfig.json | 3 +- types/content-disposition/tsconfig.json | 3 +- types/content-type/tsconfig.json | 3 +- .../contentful-resolve-response/tsconfig.json | 3 +- types/contextjs/tsconfig.json | 3 +- .../continuation-local-storage/tsconfig.json | 3 +- types/convert-hrtime/tsconfig.json | 3 +- types/convert-layout/tsconfig.json | 3 +- types/convert-source-map/tsconfig.json | 3 +- types/convict/tsconfig.json | 3 +- types/cookie-parser/tsconfig.json | 3 +- types/cookie-session/tsconfig.json | 3 +- types/cookie-signature/tsconfig.json | 3 +- types/cookie/tsconfig.json | 3 +- types/cookie_js/tsconfig.json | 3 +- types/cookies/tsconfig.json | 3 +- types/copy-paste/tsconfig.json | 3 +- types/copy-text-to-clipboard/tsconfig.json | 3 +- types/copy-webpack-plugin/tsconfig.json | 3 +- types/cordova-ionic/tsconfig.json | 3 +- .../cordova-plugin-app-version/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/cordova-plugin-badge/tsconfig.json | 3 +- .../cordova-plugin-ble-central/tsconfig.json | 3 +- .../cordova-plugin-canvascamera/tsconfig.json | 1 + .../cordova-plugin-device-name/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../cordova-plugin-file-opener2/tsconfig.json | 3 +- types/cordova-plugin-ibeacon/tsconfig.json | 3 +- types/cordova-plugin-insomnia/tsconfig.json | 3 +- types/cordova-plugin-keyboard/tsconfig.json | 3 +- types/cordova-plugin-mapsforge/tsconfig.json | 3 +- types/cordova-plugin-ms-adal/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/cordova-plugin-ouralabs/tsconfig.json | 3 +- types/cordova-plugin-qrscanner/tsconfig.json | 3 +- types/cordova-plugin-spinner/tsconfig.json | 3 +- types/cordova-plugin-websql/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/cordova-sqlite-storage/tsconfig.json | 3 +- .../tsconfig.json | 5 +- types/cordova/tsconfig.json | 3 +- .../cordova_app_version_plugin/tsconfig.json | 3 +- types/cordovarduino/tsconfig.json | 3 +- types/core-js/tsconfig.json | 3 +- types/cors/tsconfig.json | 3 +- types/cote/tsconfig.json | 3 +- types/couchbase/tsconfig.json | 3 +- types/countdown/tsconfig.json | 3 +- types/counterpart/tsconfig.json | 3 +- types/countries-and-timezones/tsconfig.json | 3 +- types/country-list/tsconfig.json | 3 +- types/country-select-js/tsconfig.json | 3 +- types/coverup/tsconfig.json | 5 +- types/cp-file/tsconfig.json | 3 +- types/cpx/tsconfig.json | 5 +- types/cpy/tsconfig.json | 3 +- types/cqrs-domain/tsconfig.json | 5 +- types/cradle/tsconfig.json | 3 +- types/crc/tsconfig.json | 3 +- types/create-error/tsconfig.json | 3 +- types/create-react-class/tsconfig.json | 3 +- types/createjs-lib/tsconfig.json | 3 +- types/createjs/tsconfig.json | 3 +- types/credential/tsconfig.json | 3 +- types/credit-card-type/tsconfig.json | 3 +- types/cron/tsconfig.json | 3 +- types/cropperjs/tsconfig.json | 3 +- types/croppie/tsconfig.json | 3 +- types/cross-spawn/tsconfig.json | 5 +- types/cross-storage/tsconfig.json | 3 +- types/crossfilter/tsconfig.json | 3 +- types/crossroads/tsconfig.json | 3 +- types/cryptiles/tsconfig.json | 3 +- types/crypto-js/tsconfig.json | 3 +- types/cryptojs/tsconfig.json | 3 +- types/cson/tsconfig.json | 3 +- types/csprng/tsconfig.json | 3 +- types/csrf/tsconfig.json | 3 +- types/css-font-loading-module/tsconfig.json | 3 +- types/css-modules-require-hook/tsconfig.json | 3 +- types/css-modules/tsconfig.json | 3 +- types/css/tsconfig.json | 3 +- types/cssbeautify/tsconfig.json | 3 +- types/csurf/tsconfig.json | 3 +- types/csv-parse/tsconfig.json | 3 +- types/csv-stringify/tsconfig.json | 3 +- types/csvrow/tsconfig.json | 5 +- types/csvtojson/tsconfig.json | 3 +- types/cucumber/tsconfig.json | 3 +- types/cucumber/v1/tsconfig.json | 3 +- types/cucumber/v3/tsconfig.json | 3 +- types/cuid/tsconfig.json | 3 +- types/currency-formatter/tsconfig.json | 3 +- types/custom-error-generator/tsconfig.json | 3 +- types/cwise-compiler/tsconfig.json | 3 +- types/cwise-parser/tsconfig.json | 3 +- types/cwise/tsconfig.json | 3 +- types/cybozulabs-md5/tsconfig.json | 3 +- types/cytoscape/tsconfig.json | 3 +- types/d3-array/tsconfig.json | 3 +- types/d3-axis/tsconfig.json | 3 +- types/d3-box/tsconfig.json | 3 +- types/d3-brush/tsconfig.json | 3 +- types/d3-chord/tsconfig.json | 3 +- types/d3-collection/tsconfig.json | 3 +- types/d3-color/tsconfig.json | 3 +- types/d3-contour/tsconfig.json | 3 +- types/d3-dispatch/tsconfig.json | 3 +- types/d3-drag/tsconfig.json | 3 +- types/d3-dsv/tsconfig.json | 5 +- types/d3-dsv/v0/tsconfig.json | 3 +- types/d3-ease/tsconfig.json | 3 +- types/d3-fetch/tsconfig.json | 5 +- types/d3-force/tsconfig.json | 3 +- types/d3-format/tsconfig.json | 3 +- types/d3-geo/tsconfig.json | 3 +- types/d3-hexbin/tsconfig.json | 3 +- types/d3-hierarchy/tsconfig.json | 3 +- types/d3-hsv/tsconfig.json | 3 +- types/d3-interpolate/tsconfig.json | 3 +- types/d3-path/tsconfig.json | 3 +- types/d3-polygon/tsconfig.json | 3 +- types/d3-quadtree/tsconfig.json | 3 +- types/d3-queue/tsconfig.json | 3 +- types/d3-random/tsconfig.json | 3 +- types/d3-request/tsconfig.json | 3 +- types/d3-sankey/tsconfig.json | 3 +- types/d3-scale-chromatic/tsconfig.json | 3 +- types/d3-scale/tsconfig.json | 3 +- types/d3-selection-multi/tsconfig.json | 3 +- types/d3-selection/tsconfig.json | 3 +- types/d3-shape/tsconfig.json | 3 +- types/d3-time-format/tsconfig.json | 5 +- types/d3-time/tsconfig.json | 3 +- types/d3-timer/tsconfig.json | 3 +- types/d3-tip/tsconfig.json | 3 +- types/d3-transition/tsconfig.json | 3 +- types/d3-voronoi/tsconfig.json | 3 +- types/d3-zoom/tsconfig.json | 3 +- types/d3.cloud.layout/tsconfig.json | 3 +- types/d3.slider/tsconfig.json | 3 +- types/d3/tsconfig.json | 3 +- types/d3/v3/tsconfig.json | 3 +- types/d3kit/tsconfig.json | 3 +- types/d3kit/v1/tsconfig.json | 3 +- types/d3pie/tsconfig.json | 3 +- types/dagre-d3/tsconfig.json | 3 +- types/dagre-layout/tsconfig.json | 3 +- types/dagre/tsconfig.json | 3 +- types/dargs/tsconfig.json | 3 +- types/dashify/tsconfig.json | 3 +- types/dat-gui/tsconfig.json | 3 +- types/data-driven/tsconfig.json | 3 +- types/datadog-metrics/tsconfig.json | 3 +- types/datatables.net-buttons/tsconfig.json | 3 +- .../datatables.net-fixedheader/tsconfig.json | 3 +- types/datatables.net-rowgroup/tsconfig.json | 45 +++++++------- types/datatables.net-rowreorder/tsconfig.json | 3 +- types/datatables.net-select/tsconfig.json | 3 +- types/datatables.net/tsconfig.json | 3 +- types/date-arithmetic/tsconfig.json | 3 +- types/date.format.js/tsconfig.json | 3 +- types/dateformat/tsconfig.json | 3 +- types/datejs/tsconfig.json | 3 +- types/daterangepicker/tsconfig.json | 3 +- types/db-migrate-base/tsconfig.json | 3 +- types/db-migrate-pg/tsconfig.json | 3 +- types/db.js/tsconfig.json | 3 +- types/dc/tsconfig.json | 3 +- types/deasync/tsconfig.json | 3 +- types/debessmann/tsconfig.json | 3 +- types/debounce/tsconfig.json | 3 +- types/debug/tsconfig.json | 3 +- types/decamelize/tsconfig.json | 3 +- types/decay/tsconfig.json | 3 +- types/decompress/tsconfig.json | 3 +- types/decorum/tsconfig.json | 3 +- types/dedent/tsconfig.json | 3 +- types/deep-assign/tsconfig.json | 3 +- types/deep-diff/tsconfig.json | 3 +- types/deep-equal/tsconfig.json | 3 +- types/deep-extend/tsconfig.json | 3 +- types/deep-freeze-es6/tsconfig.json | 3 +- types/deep-freeze-strict/tsconfig.json | 3 +- types/deep-freeze/tsconfig.json | 3 +- types/deepmerge/tsconfig.json | 3 +- types/defaults/tsconfig.json | 3 +- types/defer-promise/tsconfig.json | 5 +- types/define-lazy-prop/tsconfig.json | 3 +- types/defined/tsconfig.json | 3 +- types/deku/tsconfig.json | 3 +- types/del/tsconfig.json | 3 +- types/del/v2/tsconfig.json | 3 +- types/delaunator/tsconfig.json | 3 +- types/delay/tsconfig.json | 3 +- types/denodeify/tsconfig.json | 3 +- types/deoxxa-content-type/tsconfig.json | 3 +- types/depcheck/tsconfig.json | 5 +- types/depd/tsconfig.json | 3 +- types/deployjava/tsconfig.json | 3 +- types/destroy-on-hwm/tsconfig.json | 3 +- types/destroy/tsconfig.json | 3 +- types/detect-browser/tsconfig.json | 3 +- types/detect-hover/tsconfig.json | 3 +- types/detect-indent/tsconfig.json | 3 +- types/detect-indent/v0/tsconfig.json | 3 +- types/detect-it/tsconfig.json | 3 +- types/detect-newline/tsconfig.json | 3 +- types/detect-passive-events/tsconfig.json | 3 +- types/detect-pointer/tsconfig.json | 3 +- types/detect-port/tsconfig.json | 3 +- types/detect-touch-events/tsconfig.json | 3 +- types/devexpress-web/tsconfig.json | 3 +- types/devexpress-web/v161/tsconfig.json | 3 +- types/devexpress-web/v162/tsconfig.json | 3 +- types/devtools-detect/tsconfig.json | 3 +- types/df-visible/tsconfig.json | 3 +- types/dhtmlxgantt/tsconfig.json | 3 +- types/dhtmlxscheduler/tsconfig.json | 3 +- types/di-lite/tsconfig.json | 3 +- types/diacritics/tsconfig.json | 3 +- types/diff-match-patch/tsconfig.json | 3 +- types/diff/tsconfig.json | 3 +- types/diff2html/tsconfig.json | 3 +- types/dir-resolve/tsconfig.json | 3 +- types/discontinuous-range/tsconfig.json | 3 +- types/disposable-email-domains/tsconfig.json | 3 +- types/doccookies/tsconfig.json | 3 +- types/dock-spawn/tsconfig.json | 3 +- types/dockerode/tsconfig.json | 3 +- types/docopt/tsconfig.json | 3 +- types/doctrine/tsconfig.json | 3 +- types/documentdb-server/tsconfig.json | 3 +- types/documentdb-session/tsconfig.json | 3 +- types/documentdb/tsconfig.json | 3 +- types/dojo/tsconfig.json | 6 +- types/dom-inputevent/tsconfig.json | 3 +- types/dom4/tsconfig.json | 3 +- types/domo/tsconfig.json | 3 +- types/dompurify/tsconfig.json | 3 +- types/domready/tsconfig.json | 3 +- types/domurl/tsconfig.json | 3 +- types/donna/tsconfig.json | 3 +- types/dookie/tsconfig.json | 3 +- types/dot-object/tsconfig.json | 3 +- types/dot-prop/tsconfig.json | 3 +- types/dot-prop/v2/tsconfig.json | 3 +- types/dot/tsconfig.json | 3 +- types/dotdir-regex/tsconfig.json | 5 +- types/dotdotdot/tsconfig.json | 3 +- types/dotenv-safe/tsconfig.json | 3 +- types/dotenv/tsconfig.json | 3 +- types/dotenv/v2/tsconfig.json | 3 +- types/dotfile-regex/tsconfig.json | 5 +- types/dottie/tsconfig.json | 3 +- types/double-ended-queue/tsconfig.json | 5 +- types/doublearray/tsconfig.json | 3 +- types/doubleclick-gpt/tsconfig.json | 3 +- types/download/tsconfig.json | 5 +- types/downloadjs/tsconfig.json | 3 +- types/draft-js/tsconfig.json | 3 +- types/drag-timetable/tsconfig.json | 3 +- types/draggabilly/tsconfig.json | 3 +- types/dragster/tsconfig.json | 3 +- types/dragula/tsconfig.json | 3 +- types/dropboxjs/tsconfig.json | 3 +- types/dropkickjs/tsconfig.json | 3 +- types/dropzone/tsconfig.json | 3 +- types/dropzone/v4/tsconfig.json | 1 + types/dsv/tsconfig.json | 3 +- types/dts-bundle/tsconfig.json | 3 +- types/dts-generator/tsconfig.json | 3 +- types/duplexer2/tsconfig.json | 3 +- types/duplexer3/tsconfig.json | 3 +- types/duplexify/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/durandal/tsconfig.json | 3 +- types/durandal/v1/tsconfig.json | 3 +- types/dustjs-linkedin/tsconfig.json | 3 +- types/dvtng-jss/tsconfig.json | 5 +- types/dw-bxslider-4/tsconfig.json | 3 +- types/dwt/tsconfig.json | 3 +- types/dwt/v12/tsconfig.json | 3 +- types/dygraphs/tsconfig.json | 3 +- types/dymo-label-framework/tsconfig.json | 3 +- types/dynatable/tsconfig.json | 3 +- types/dynogels/tsconfig.json | 3 +- types/each/tsconfig.json | 3 +- types/earcut/tsconfig.json | 3 +- types/easeljs/tsconfig.json | 3 +- types/easy-api-request/tsconfig.json | 3 +- types/easy-jsend/tsconfig.json | 3 +- types/easy-session/tsconfig.json | 3 +- types/easy-table/tsconfig.json | 3 +- types/easy-xapi-utils/tsconfig.json | 3 +- types/easy-xapi/tsconfig.json | 3 +- types/ebongarde-root/tsconfig.json | 3 +- types/echarts/tsconfig.json | 3 +- types/ecurve/tsconfig.json | 3 +- types/ed25519/tsconfig.json | 5 +- types/ed2curve/tsconfig.json | 5 +- types/egg-mock/tsconfig.json | 3 +- types/egg.js/tsconfig.json | 3 +- types/egjs__axes/tsconfig.json | 1 + types/egjs__component/tsconfig.json | 1 + types/ej.web.all/tsconfig.json | 3 +- types/ejs-locals/tsconfig.json | 3 +- types/ejs/tsconfig.json | 3 +- types/ejson/tsconfig.json | 3 +- types/elastic.js/tsconfig.json | 3 +- types/elasticsearch/tsconfig.json | 5 +- types/electron-config/tsconfig.json | 3 +- types/electron-debug/tsconfig.json | 3 +- .../electron-devtools-installer/tsconfig.json | 3 +- types/electron-is-dev/tsconfig.json | 3 +- types/electron-json-storage/tsconfig.json | 3 +- types/electron-notifications/tsconfig.json | 3 +- types/electron-notify/tsconfig.json | 3 +- types/electron-packager/tsconfig.json | 3 +- types/electron-settings/tsconfig.json | 3 +- types/electron-settings/v2/tsconfig.json | 3 +- types/electron-spellchecker/tsconfig.json | 5 +- types/electron-store/tsconfig.json | 3 +- types/electron-util/tsconfig.json | 5 +- types/electron-window-state/tsconfig.json | 3 +- types/electron-winstaller/tsconfig.json | 3 +- types/element-ready/tsconfig.json | 3 +- types/element-resize-detector/tsconfig.json | 5 +- types/element-resize-event/tsconfig.json | 3 +- types/elm/tsconfig.json | 3 +- types/email-templates/tsconfig.json | 3 +- types/ember-data/tsconfig.json | 9 ++- types/ember-feature-flags/tsconfig.json | 5 +- types/ember-mocha/tsconfig.json | 9 ++- types/ember-modal-dialog/tsconfig.json | 5 +- types/ember-qunit/tsconfig.json | 9 ++- types/ember-qunit/v2/tsconfig.json | 13 ++-- types/ember-test-helpers/tsconfig.json | 9 ++- types/ember-testing-helpers/tsconfig.json | 7 ++- types/ember/tsconfig.json | 9 ++- types/ember/v1/tsconfig.json | 3 +- types/emissary/tsconfig.json | 3 +- types/emoji-mart/tsconfig.json | 3 +- types/emojione/tsconfig.json | 3 +- types/empower/tsconfig.json | 3 +- types/emscripten/tsconfig.json | 3 +- types/encoding-japanese/tsconfig.json | 3 +- types/end-of-stream/tsconfig.json | 3 +- types/engine.io-client/tsconfig.json | 3 +- types/engine.io/tsconfig.json | 3 +- types/enhanced-resolve/tsconfig.json | 3 +- types/enigma.js/tsconfig.json | 3 +- types/ent/tsconfig.json | 3 +- types/entities/tsconfig.json | 3 +- types/env-to-object/tsconfig.json | 3 +- types/envify/tsconfig.json | 3 +- types/enzyme-adapter-react-15.4/tsconfig.json | 5 +- types/enzyme-adapter-react-15/tsconfig.json | 46 ++++++++------ types/enzyme-adapter-react-16/tsconfig.json | 46 ++++++++------ types/enzyme-to-json/tsconfig.json | 3 +- types/enzyme/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/epiceditor/tsconfig.json | 3 +- types/epilogue/tsconfig.json | 5 +- types/epub/tsconfig.json | 3 +- types/eq.js/tsconfig.json | 3 +- types/errorhandler/tsconfig.json | 3 +- types/es6-collections/tsconfig.json | 3 +- types/es6-promisify/tsconfig.json | 3 +- types/es6-shim/tsconfig.json | 3 +- types/es6-weak-map/tsconfig.json | 3 +- types/escape-html/tsconfig.json | 3 +- types/escape-latex/tsconfig.json | 3 +- types/escape-string-regexp/tsconfig.json | 3 +- types/escodegen/tsconfig.json | 3 +- types/eslint-plugin-prettier/tsconfig.json | 3 +- types/esprima-walk/tsconfig.json | 3 +- types/esprima/tsconfig.json | 3 +- types/esprima/v2/tsconfig.json | 3 +- types/espruino/tsconfig.json | 9 +-- types/esri-leaflet-geocoder/tsconfig.json | 3 +- types/esri-leaflet/tsconfig.json | 3 +- types/estraverse/tsconfig.json | 3 +- types/estree/tsconfig.json | 3 +- types/etag/tsconfig.json | 3 +- types/ethjs-signer/tsconfig.json | 3 +- types/eureka-js-client/tsconfig.json | 3 +- types/evaporate/tsconfig.json | 3 +- types/event-emitter/tsconfig.json | 3 +- types/event-kit/tsconfig.json | 5 +- types/event-loop-lag/tsconfig.json | 3 +- types/event-stream/tsconfig.json | 3 +- types/event-to-promise/tsconfig.json | 3 +- types/events/tsconfig.json | 41 +++++++------ types/evernote/tsconfig.json | 3 +- types/exceljs/tsconfig.json | 3 +- types/execa/tsconfig.json | 3 +- types/exit-hook/tsconfig.json | 3 +- types/exit/tsconfig.json | 3 +- types/exorcist/tsconfig.json | 3 +- types/expect.js/tsconfig.json | 3 +- types/expect/tsconfig.json | 3 +- types/expectations/tsconfig.json | 3 +- types/expo/tsconfig.json | 5 +- types/expo/v23/tsconfig.json | 5 +- types/expo__vector-icons/tsconfig.json | 3 +- types/express-brute-memcached/tsconfig.json | 3 +- types/express-brute-mongo/tsconfig.json | 3 +- types/express-brute-redis/tsconfig.json | 3 +- types/express-brute/tsconfig.json | 3 +- types/express-busboy/tsconfig.json | 5 +- types/express-cluster/tsconfig.json | 3 +- types/express-debug/tsconfig.json | 3 +- types/express-domain-middleware/tsconfig.json | 3 +- types/express-ejs-layouts/tsconfig.json | 5 +- types/express-enforces-ssl/tsconfig.json | 3 +- types/express-fileupload/tsconfig.json | 3 +- types/express-flash-2/tsconfig.json | 3 +- .../express-flash-notification/tsconfig.json | 9 +-- types/express-formidable/tsconfig.json | 5 +- types/express-graphql/tsconfig.json | 3 +- types/express-handlebars/tsconfig.json | 3 +- types/express-jwt/tsconfig.json | 3 +- types/express-less/tsconfig.json | 3 +- types/express-minify/tsconfig.json | 3 +- types/express-mongo-sanitize/tsconfig.json | 3 +- types/express-mung/tsconfig.json | 3 +- types/express-myconnection/tsconfig.json | 3 +- types/express-mysql-session/tsconfig.json | 3 +- types/express-oauth-server/tsconfig.json | 5 +- types/express-openapi/tsconfig.json | 3 +- types/express-partials/tsconfig.json | 3 +- types/express-promise-router/tsconfig.json | 5 +- types/express-rate-limit/tsconfig.json | 3 +- types/express-route-fs/tsconfig.json | 3 +- types/express-sanitized/tsconfig.json | 3 +- types/express-serve-static-core/tsconfig.json | 3 +- types/express-session/tsconfig.json | 3 +- types/express-to-koa/tsconfig.json | 5 +- types/express-unless/tsconfig.json | 3 +- types/express-useragent/tsconfig.json | 3 +- types/express-winston/tsconfig.json | 5 +- types/express/tsconfig.json | 3 +- types/extend/tsconfig.json | 3 +- types/extjs/tsconfig.json | 3 +- types/extract-stack/tsconfig.json | 3 +- .../extract-text-webpack-plugin/tsconfig.json | 3 +- types/extract-zip/tsconfig.json | 3 +- types/eyes/tsconfig.json | 3 +- types/f1/tsconfig.json | 3 +- types/fabric/tsconfig.json | 3 +- types/facebook-js-sdk/tsconfig.json | 3 +- types/facebook-pixel/tsconfig.json | 3 +- types/faker/tsconfig.json | 3 +- types/faker/v3/tsconfig.json | 3 +- types/falcor-express/tsconfig.json | 3 +- types/falcor-http-datasource/tsconfig.json | 3 +- types/falcor-json-graph/tsconfig.json | 3 +- types/falcor-router/tsconfig.json | 3 +- types/falcor/tsconfig.json | 3 +- types/famous/tsconfig.json | 3 +- types/fancy-log/tsconfig.json | 5 +- types/fancybox/tsconfig.json | 3 +- types/farbtastic/tsconfig.json | 3 +- types/fast-diff/tsconfig.json | 3 +- types/fast-levenshtein/tsconfig.json | 3 +- types/fast-list/tsconfig.json | 3 +- types/fast-stats/tsconfig.json | 3 +- types/fastclick/tsconfig.json | 3 +- types/favico.js/tsconfig.json | 3 +- types/fb/tsconfig.json | 3 +- types/fbemitter/tsconfig.json | 3 +- types/featherlight/tsconfig.json | 3 +- .../tsconfig.json | 14 +++-- .../tsconfig.json | 14 +++-- .../tsconfig.json | 14 +++-- .../tsconfig.json | 14 +++-- .../tsconfig.json | 14 +++-- .../feathersjs__authentication/tsconfig.json | 14 +++-- types/feathersjs__configuration/tsconfig.json | 14 +++-- types/feathersjs__errors/tsconfig.json | 20 ++++-- types/feathersjs__express/tsconfig.json | 14 +++-- types/feathersjs__feathers/tsconfig.json | 10 ++- types/feathersjs__primus-client/tsconfig.json | 14 +++-- types/feathersjs__primus/tsconfig.json | 14 +++-- types/feathersjs__rest-client/tsconfig.json | 10 ++- .../feathersjs__socket-commons/tsconfig.json | 14 +++-- .../feathersjs__socketio-client/tsconfig.json | 15 +++-- types/feathersjs__socketio/tsconfig.json | 14 +++-- types/feedme/tsconfig.json | 3 +- types/feedparser/tsconfig.json | 5 +- types/fetch-jsonp/tsconfig.json | 1 + types/fetch-mock/tsconfig.json | 3 +- types/fetch.io/tsconfig.json | 3 +- types/ffi/tsconfig.json | 5 +- types/ffmpeg-static/tsconfig.json | 3 +- types/ffprobe-static/tsconfig.json | 3 +- types/fhir/tsconfig.json | 3 +- types/fibers/tsconfig.json | 3 +- types/field/tsconfig.json | 3 +- types/figures/tsconfig.json | 3 +- types/file-exists/tsconfig.json | 3 +- types/file-saver/tsconfig.json | 5 +- types/file-type/tsconfig.json | 3 +- types/file-url/tsconfig.json | 3 +- types/filenamify/tsconfig.json | 3 +- types/filesize/tsconfig.json | 3 +- types/filesystem/tsconfig.json | 3 +- types/filewriter/tsconfig.json | 3 +- types/fill-pdf/tsconfig.json | 3 +- types/finalhandler/tsconfig.json | 3 +- types/finch/tsconfig.json | 3 +- types/find-root/tsconfig.json | 25 ++++---- types/find-up/tsconfig.json | 3 +- types/find/tsconfig.json | 5 +- types/findup-sync/tsconfig.json | 3 +- types/fingerprintjs/tsconfig.json | 3 +- types/fingerprintjs2/tsconfig.json | 3 +- types/firebase-client/tsconfig.json | 3 +- types/firebase-token-generator/tsconfig.json | 3 +- types/firebird/tsconfig.json | 3 +- types/firefox-webext-browser/tsconfig.json | 5 +- types/firefox/tsconfig.json | 3 +- types/firmata/tsconfig.json | 7 ++- types/first-mate/tsconfig.json | 5 +- types/fixed-data-table-2/tsconfig.json | 12 ++-- types/fixed-data-table/tsconfig.json | 3 +- types/flake-idgen/tsconfig.json | 3 +- types/flat/tsconfig.json | 3 +- types/flatbuffers/tsconfig.json | 3 +- types/flexslider/tsconfig.json | 3 +- types/flickity/tsconfig.json | 3 +- types/flight/tsconfig.json | 3 +- types/flightplan/tsconfig.json | 3 +- types/flipsnap/tsconfig.json | 3 +- types/flot/tsconfig.json | 3 +- types/flowjs/tsconfig.json | 3 +- types/fluent-ffmpeg/tsconfig.json | 3 +- types/flux/tsconfig.json | 1 + types/fluxxor/tsconfig.json | 3 +- types/fm-websync/tsconfig.json | 3 +- types/fontfaceobserver/tsconfig.json | 3 +- types/fontoxml/tsconfig.json | 3 +- types/forever-monitor/tsconfig.json | 3 +- types/forge-di/tsconfig.json | 3 +- types/form-data/tsconfig.json | 3 +- types/form-serializer/tsconfig.json | 3 +- types/form-urlencoded/tsconfig.json | 5 +- types/format-duration/tsconfig.json | 5 +- types/format-io/tsconfig.json | 5 +- types/format-unicorn/tsconfig.json | 3 +- types/formidable/tsconfig.json | 3 +- types/forms/tsconfig.json | 5 +- types/forwarded/tsconfig.json | 3 +- types/fossil-delta/tsconfig.json | 3 +- types/foundation/tsconfig.json | 3 +- types/fpsmeter/tsconfig.json | 3 +- types/framebus/tsconfig.json | 3 +- types/freedom/tsconfig.json | 3 +- types/freeport/tsconfig.json | 3 +- types/fresh/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/frisby/tsconfig.json | 3 +- types/from/tsconfig.json | 3 +- types/from2/tsconfig.json | 3 +- types/fromjs/tsconfig.json | 3 +- types/fromnow/tsconfig.json | 3 +- types/fs-cson/tsconfig.json | 5 +- types/fs-ext/tsconfig.json | 3 +- types/fs-extra-promise-es6/tsconfig.json | 3 +- types/fs-extra-promise/tsconfig.json | 3 +- types/fs-extra/tsconfig.json | 3 +- types/fs-extra/v4/tsconfig.json | 3 +- types/fs-finder/tsconfig.json | 3 +- types/fs-mock/tsconfig.json | 3 +- types/fs-plus/tsconfig.json | 5 +- types/fs-promise/tsconfig.json | 3 +- types/fs-readdir-recursive/tsconfig.json | 3 +- types/fs-readfile-promise/tsconfig.json | 3 +- types/fscreen/tsconfig.json | 5 +- types/fsevents/tsconfig.json | 3 +- types/ftdomdelegate/tsconfig.json | 3 +- types/ftp/tsconfig.json | 3 +- types/ftpd/tsconfig.json | 3 +- types/fullname/tsconfig.json | 3 +- types/fullpage.js/tsconfig.json | 5 +- types/fuse/tsconfig.json | 3 +- types/fusioncharts/tsconfig.json | 3 +- types/fuzzaldrin-plus/tsconfig.json | 3 +- types/fuzzaldrin/tsconfig.json | 5 +- types/fuzzyset.js/tsconfig.json | 5 +- types/fuzzyset/tsconfig.json | 3 +- types/fxn/tsconfig.json | 3 +- types/gae.channel.api/tsconfig.json | 3 +- types/gamepad/tsconfig.json | 3 +- types/gamequery/tsconfig.json | 3 +- types/gandi-livedns/tsconfig.json | 3 +- types/gapi.analytics/tsconfig.json | 3 +- types/gapi.auth2/tsconfig.json | 3 +- types/gapi.calendar/tsconfig.json | 1 + .../tsconfig.json | 3 +- .../gapi.client.adexchangebuyer/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/gapi.client.admin/tsconfig.json | 3 +- types/gapi.client.adsense/tsconfig.json | 3 +- types/gapi.client.adsensehost/tsconfig.json | 3 +- types/gapi.client.analytics/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/gapi.client.appengine/tsconfig.json | 3 +- types/gapi.client.appsactivity/tsconfig.json | 3 +- types/gapi.client.appstate/tsconfig.json | 3 +- types/gapi.client.bigquery/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/gapi.client.blogger/tsconfig.json | 3 +- types/gapi.client.books/tsconfig.json | 3 +- types/gapi.client.calendar/tsconfig.json | 3 +- types/gapi.client.civicinfo/tsconfig.json | 3 +- types/gapi.client.classroom/tsconfig.json | 3 +- types/gapi.client.cloudbilling/tsconfig.json | 3 +- types/gapi.client.cloudbuild/tsconfig.json | 3 +- types/gapi.client.clouddebugger/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../gapi.client.cloudfunctions/tsconfig.json | 3 +- types/gapi.client.cloudiot/tsconfig.json | 3 +- types/gapi.client.cloudkms/tsconfig.json | 3 +- .../gapi.client.cloudmonitoring/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/gapi.client.cloudtasks/tsconfig.json | 3 +- types/gapi.client.cloudtrace/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/gapi.client.compute/tsconfig.json | 3 +- .../gapi.client.consumersurveys/tsconfig.json | 3 +- types/gapi.client.container/tsconfig.json | 3 +- types/gapi.client.content/tsconfig.json | 3 +- types/gapi.client.customsearch/tsconfig.json | 3 +- types/gapi.client.dataflow/tsconfig.json | 3 +- types/gapi.client.dataproc/tsconfig.json | 3 +- types/gapi.client.datastore/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/gapi.client.dfareporting/tsconfig.json | 3 +- types/gapi.client.discovery/tsconfig.json | 3 +- types/gapi.client.dlp/tsconfig.json | 3 +- types/gapi.client.dns/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/gapi.client.drive/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/gapi.client.firebaserules/tsconfig.json | 3 +- types/gapi.client.firestore/tsconfig.json | 3 +- types/gapi.client.fitness/tsconfig.json | 3 +- types/gapi.client.fusiontables/tsconfig.json | 3 +- types/gapi.client.games/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../gapi.client.gamesmanagement/tsconfig.json | 3 +- types/gapi.client.genomics/tsconfig.json | 3 +- types/gapi.client.gmail/tsconfig.json | 3 +- .../gapi.client.groupsmigration/tsconfig.json | 3 +- .../gapi.client.groupssettings/tsconfig.json | 3 +- types/gapi.client.iam/tsconfig.json | 3 +- .../gapi.client.identitytoolkit/tsconfig.json | 3 +- types/gapi.client.kgsearch/tsconfig.json | 3 +- types/gapi.client.language/tsconfig.json | 3 +- types/gapi.client.licensing/tsconfig.json | 3 +- types/gapi.client.logging/tsconfig.json | 3 +- types/gapi.client.manufacturers/tsconfig.json | 3 +- types/gapi.client.mirror/tsconfig.json | 3 +- types/gapi.client.ml/tsconfig.json | 3 +- types/gapi.client.monitoring/tsconfig.json | 3 +- types/gapi.client.oauth2/tsconfig.json | 3 +- types/gapi.client.oslogin/tsconfig.json | 3 +- .../gapi.client.pagespeedonline/tsconfig.json | 3 +- types/gapi.client.partners/tsconfig.json | 3 +- types/gapi.client.people/tsconfig.json | 3 +- types/gapi.client.playcustomapp/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/gapi.client.plus/tsconfig.json | 3 +- types/gapi.client.plusdomains/tsconfig.json | 3 +- types/gapi.client.prediction/tsconfig.json | 3 +- .../gapi.client.proximitybeacon/tsconfig.json | 3 +- types/gapi.client.pubsub/tsconfig.json | 3 +- types/gapi.client.qpxexpress/tsconfig.json | 3 +- types/gapi.client.reseller/tsconfig.json | 3 +- types/gapi.client.resourceviews/tsconfig.json | 3 +- types/gapi.client.runtimeconfig/tsconfig.json | 3 +- types/gapi.client.safebrowsing/tsconfig.json | 3 +- types/gapi.client.script/tsconfig.json | 3 +- types/gapi.client.searchconsole/tsconfig.json | 3 +- .../gapi.client.servicecontrol/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/gapi.client.serviceuser/tsconfig.json | 3 +- types/gapi.client.sheets/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/gapi.client.slides/tsconfig.json | 3 +- types/gapi.client.sourcerepo/tsconfig.json | 3 +- types/gapi.client.spanner/tsconfig.json | 3 +- types/gapi.client.spectrum/tsconfig.json | 3 +- types/gapi.client.speech/tsconfig.json | 3 +- types/gapi.client.sqladmin/tsconfig.json | 3 +- types/gapi.client.storage/tsconfig.json | 3 +- .../gapi.client.storagetransfer/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/gapi.client.surveys/tsconfig.json | 3 +- types/gapi.client.tagmanager/tsconfig.json | 3 +- types/gapi.client.taskqueue/tsconfig.json | 3 +- types/gapi.client.tasks/tsconfig.json | 3 +- types/gapi.client.testing/tsconfig.json | 3 +- types/gapi.client.toolresults/tsconfig.json | 3 +- types/gapi.client.translate/tsconfig.json | 3 +- types/gapi.client.urlshortener/tsconfig.json | 3 +- types/gapi.client.vault/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/gapi.client.vision/tsconfig.json | 3 +- types/gapi.client.webfonts/tsconfig.json | 3 +- types/gapi.client.webmasters/tsconfig.json | 3 +- types/gapi.client.youtube/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/gapi.client/tsconfig.json | 3 +- types/gapi.drive/tsconfig.json | 3 +- types/gapi.pagespeedonline/tsconfig.json | 3 +- types/gapi.people/tsconfig.json | 1 + types/gapi.plus/tsconfig.json | 1 + types/gapi.translate/tsconfig.json | 3 +- types/gapi.urlshortener/tsconfig.json | 3 +- types/gapi.youtube/tsconfig.json | 3 +- types/gapi.youtubeanalytics/tsconfig.json | 3 +- types/gapi/tsconfig.json | 3 +- types/gaussian/tsconfig.json | 3 +- types/geetest/tsconfig.json | 5 +- types/gen-readlines/tsconfig.json | 5 +- types/generic-functions/tsconfig.json | 3 +- types/generic-pool/tsconfig.json | 3 +- types/gently/tsconfig.json | 3 +- types/geodesy/tsconfig.json | 3 +- types/geoip-lite/tsconfig.json | 3 +- types/geojson/tsconfig.json | 3 +- types/geojson2osm/tsconfig.json | 3 +- types/geokdbush/tsconfig.json | 3 +- types/geometry-dom/tsconfig.json | 3 +- types/geopattern/tsconfig.json | 3 +- types/get-node-dimensions/tsconfig.json | 3 +- types/get-port/tsconfig.json | 3 +- types/get-stdin/tsconfig.json | 3 +- types/get-stream/tsconfig.json | 3 +- types/getos/tsconfig.json | 3 +- types/gettext.js/tsconfig.json | 3 +- types/gifffer/tsconfig.json | 5 +- types/gijgo/tsconfig.json | 3 +- types/giraffe/tsconfig.json | 3 +- types/git-config/tsconfig.json | 3 +- types/git-remote-origin-url/tsconfig.json | 3 +- types/git-rev/tsconfig.json | 3 +- types/git/tsconfig.json | 3 +- types/github-username-regex/tsconfig.json | 5 +- types/gl-matrix/tsconfig.json | 3 +- types/gldatepicker/tsconfig.json | 3 +- types/glidejs/tsconfig.json | 3 +- types/glob-base/tsconfig.json | 3 +- types/glob-expand/tsconfig.json | 3 +- types/glob-parent/tsconfig.json | 5 +- types/glob-stream/tsconfig.json | 3 +- types/glob/tsconfig.json | 3 +- types/global-tunnel-ng/tsconfig.json | 3 +- types/globalize-compiler/tsconfig.json | 3 +- types/globalize/tsconfig.json | 3 +- types/globby/tsconfig.json | 3 +- types/globule/tsconfig.json | 3 +- types/gm/tsconfig.json | 3 +- types/go/tsconfig.json | 3 +- types/google-adwords-scripts/tsconfig.json | 3 +- types/google-apps-script-oauth2/tsconfig.json | 5 +- types/google-apps-script/tsconfig.json | 3 +- types/google-closure-compiler/tsconfig.json | 3 +- types/google-cloud__datastore/tsconfig.json | 3 +- types/google-cloud__pubsub/tsconfig.json | 3 +- types/google-cloud__storage/tsconfig.json | 3 +- types/google-drive-realtime-api/tsconfig.json | 3 +- types/google-earth/tsconfig.json | 3 +- types/google-images/tsconfig.json | 3 +- types/google-libphonenumber/tsconfig.json | 3 +- types/google-map-react/tsconfig.json | 3 +- types/google-maps/tsconfig.json | 3 +- types/google-protobuf/tsconfig.json | 3 +- types/google.analytics/tsconfig.json | 3 +- types/google.feeds/tsconfig.json | 3 +- types/google.fonts/tsconfig.json | 3 +- types/google.geolocation/tsconfig.json | 3 +- types/google.picker/tsconfig.json | 3 +- types/google.visualization/tsconfig.json | 3 +- types/googlemaps.infobubble/tsconfig.json | 3 +- types/googlemaps/tsconfig.json | 3 +- types/got/tsconfig.json | 3 +- types/graceful-fs/tsconfig.json | 3 +- types/graceful-fs/v2/tsconfig.json | 3 +- types/graham_scan/tsconfig.json | 3 +- types/graphite-udp/tsconfig.json | 3 +- types/graphlib/tsconfig.json | 3 +- types/graphql-date/tsconfig.json | 3 +- types/graphql-iso-date/tsconfig.json | 5 +- types/graphql-relay/tsconfig.json | 3 +- types/graphql-type-json/tsconfig.json | 3 +- types/graphql/tsconfig.json | 3 +- types/graphviz/tsconfig.json | 3 +- types/grasp/tsconfig.json | 18 ++++-- types/gravatar-url/tsconfig.json | 3 +- types/gravatar/tsconfig.json | 3 +- types/greasemonkey/tsconfig.json | 3 +- types/grecaptcha/tsconfig.json | 3 +- types/grecaptcha/v0/tsconfig.json | 3 +- types/gregorian-calendar/tsconfig.json | 3 +- types/gridfs-stream/tsconfig.json | 3 +- types/gridstack/tsconfig.json | 3 +- types/grunt/tsconfig.json | 3 +- types/gsap/tsconfig.json | 3 +- types/guid/tsconfig.json | 5 +- .../gulp-angular-templatecache/tsconfig.json | 3 +- types/gulp-autoprefixer/tsconfig.json | 3 +- types/gulp-babel/tsconfig.json | 3 +- types/gulp-batch/tsconfig.json | 3 +- types/gulp-bump/tsconfig.json | 3 +- types/gulp-cache/tsconfig.json | 3 +- types/gulp-cached/tsconfig.json | 3 +- types/gulp-changed/tsconfig.json | 3 +- types/gulp-cheerio/tsconfig.json | 3 +- types/gulp-clean-dest/tsconfig.json | 5 +- types/gulp-coffeeify/tsconfig.json | 3 +- types/gulp-coffeelint/tsconfig.json | 3 +- types/gulp-concat/tsconfig.json | 3 +- types/gulp-connect/tsconfig.json | 3 +- types/gulp-copy/tsconfig.json | 3 +- types/gulp-csso/tsconfig.json | 3 +- types/gulp-debug/tsconfig.json | 3 +- types/gulp-diff/tsconfig.json | 3 +- types/gulp-dtsm/tsconfig.json | 3 +- types/gulp-espower/tsconfig.json | 3 +- types/gulp-file-include/tsconfig.json | 3 +- types/gulp-filter/tsconfig.json | 3 +- types/gulp-flatten/tsconfig.json | 3 +- types/gulp-gh-pages/tsconfig.json | 3 +- types/gulp-gzip/tsconfig.json | 3 +- types/gulp-help-doc/tsconfig.json | 3 +- types/gulp-help/tsconfig.json | 3 +- types/gulp-html-replace/tsconfig.json | 3 +- types/gulp-htmlmin/tsconfig.json | 3 +- types/gulp-if/tsconfig.json | 3 +- types/gulp-inject/tsconfig.json | 3 +- types/gulp-insert/tsconfig.json | 3 +- types/gulp-install/tsconfig.json | 3 +- types/gulp-istanbul/tsconfig.json | 3 +- types/gulp-jade/tsconfig.json | 3 +- types/gulp-jasmine-browser/tsconfig.json | 3 +- types/gulp-jasmine/tsconfig.json | 5 +- types/gulp-json-editor/tsconfig.json | 3 +- types/gulp-jsonminify/tsconfig.json | 5 +- types/gulp-jspm/tsconfig.json | 3 +- types/gulp-less/tsconfig.json | 3 +- types/gulp-load-plugins/tsconfig.json | 3 +- types/gulp-minify-css/tsconfig.json | 3 +- types/gulp-minify-html/tsconfig.json | 3 +- types/gulp-mocha/tsconfig.json | 3 +- types/gulp-modernizr/tsconfig.json | 3 +- types/gulp-msbuild/tsconfig.json | 3 +- types/gulp-mustache/tsconfig.json | 3 +- types/gulp-newer/tsconfig.json | 3 +- types/gulp-ng-annotate/tsconfig.json | 3 +- types/gulp-nodemon/tsconfig.json | 3 +- types/gulp-nunit-runner/tsconfig.json | 3 +- types/gulp-plumber/tsconfig.json | 3 +- types/gulp-protractor/tsconfig.json | 3 +- types/gulp-pug/tsconfig.json | 3 +- types/gulp-remember/tsconfig.json | 3 +- types/gulp-rename/tsconfig.json | 3 +- types/gulp-replace/tsconfig.json | 3 +- types/gulp-rev-replace/tsconfig.json | 3 +- types/gulp-rev/tsconfig.json | 3 +- types/gulp-ruby-sass/tsconfig.json | 3 +- types/gulp-sass/tsconfig.json | 3 +- types/gulp-shell/tsconfig.json | 3 +- types/gulp-size/tsconfig.json | 3 +- types/gulp-sort/tsconfig.json | 3 +- types/gulp-sourcemaps/tsconfig.json | 3 +- types/gulp-strip-debug/tsconfig.json | 3 +- types/gulp-svg-sprite/tsconfig.json | 3 +- types/gulp-task-listing/tsconfig.json | 3 +- types/gulp-tsd/tsconfig.json | 3 +- types/gulp-uglify/tsconfig.json | 3 +- types/gulp-useref/tsconfig.json | 3 +- types/gulp-util/tsconfig.json | 3 +- types/gulp-watch/tsconfig.json | 3 +- types/gulp-zip/tsconfig.json | 3 +- types/gulp/tsconfig.json | 1 + types/gulp/v3/tsconfig.json | 3 +- types/gzip-js/tsconfig.json | 5 +- types/gzip-size/tsconfig.json | 3 +- types/gzip-size/v3/tsconfig.json | 5 +- types/h2o2/tsconfig.json | 9 ++- types/halfred/tsconfig.json | 3 +- types/halogen/tsconfig.json | 1 + types/hammerjs/tsconfig.json | 3 +- types/hammerjs/v1/tsconfig.json | 3 +- types/handlebars/tsconfig.json | 3 +- types/handlebars/v1/tsconfig.json | 3 +- types/hapi-auth-basic/tsconfig.json | 9 ++- types/hapi-auth-jwt2/tsconfig.json | 9 ++- types/hapi-decorators/tsconfig.json | 9 ++- types/hapi/tsconfig.json | 9 ++- types/hapi/v12/tsconfig.json | 3 +- types/hapi/v15/tsconfig.json | 3 +- types/hapi/v8/tsconfig.json | 3 +- types/har-format/tsconfig.json | 3 +- types/hard-rejection/tsconfig.json | 3 +- types/harmony-proxy/tsconfig.json | 3 +- types/has-ansi/tsconfig.json | 3 +- types/hash-file/tsconfig.json | 3 +- types/hash-stream/tsconfig.json | 3 +- types/hasha/tsconfig.json | 3 +- types/hasher/tsconfig.json | 3 +- types/hashids/tsconfig.json | 3 +- types/hashmap/tsconfig.json | 3 +- types/hashmap/v1/tsconfig.json | 3 +- types/hashset/tsconfig.json | 3 +- types/hashtable/tsconfig.json | 3 +- types/haversine/tsconfig.json | 3 +- types/hbs/tsconfig.json | 3 +- types/he/tsconfig.json | 3 +- types/headroom/tsconfig.json | 3 +- types/heap/tsconfig.json | 3 +- types/heapdump/tsconfig.json | 5 +- types/heatmap.js/tsconfig.json | 3 +- types/hedron/tsconfig.json | 1 + types/hellojs/tsconfig.json | 3 +- types/hellosign-embedded/tsconfig.json | 3 +- types/helmet/tsconfig.json | 3 +- types/heredatalens/tsconfig.json | 3 +- types/heremaps/tsconfig.json | 3 +- types/heroku-logger/tsconfig.json | 3 +- types/hex-rgba/tsconfig.json | 3 +- types/hexo-bunyan/tsconfig.json | 3 +- types/hexo-fs/tsconfig.json | 3 +- types/hexo-log/tsconfig.json | 3 +- types/highcharts-ng/tsconfig.json | 3 +- types/highcharts/tsconfig.json | 3 +- types/highland/tsconfig.json | 3 +- types/highlight.js/tsconfig.json | 3 +- types/highlight.js/v7/tsconfig.json | 3 +- types/hiredis/tsconfig.json | 3 +- types/history.js/tsconfig.json | 3 +- types/history/tsconfig.json | 3 +- types/history/v2/tsconfig.json | 3 +- types/history/v3/tsconfig.json | 3 +- types/hjson/tsconfig.json | 3 +- types/hls.js/tsconfig.json | 3 +- types/hoek/tsconfig.json | 3 +- types/holderjs/tsconfig.json | 5 +- types/hooker/tsconfig.json | 3 +- types/hopscotch/tsconfig.json | 3 +- types/howler/tsconfig.json | 3 +- types/hpp/tsconfig.json | 3 +- types/html-entities/tsconfig.json | 3 +- types/html-minifier/tsconfig.json | 3 +- types/html-minifier/v1/tsconfig.json | 11 +++- types/html-pdf/tsconfig.json | 3 +- types/html-to-text/tsconfig.json | 3 +- types/html-webpack-plugin/tsconfig.json | 3 +- types/html-webpack-template/tsconfig.json | 3 +- types/html2canvas/tsconfig.json | 3 +- .../htmlbars-inline-precompile/tsconfig.json | 3 +- types/htmlescape/tsconfig.json | 3 +- types/htmlhint/tsconfig.json | 3 +- types/htmlparser2/tsconfig.json | 3 +- types/htmltojsx/tsconfig.json | 3 +- types/http-assert/tsconfig.json | 3 +- types/http-aws-es/tsconfig.json | 3 +- types/http-codes/tsconfig.json | 3 +- types/http-context/tsconfig.json | 5 +- types/http-errors/tsconfig.json | 3 +- types/http-link-header/tsconfig.json | 3 +- types/http-proxy-agent/tsconfig.json | 5 +- types/http-proxy-middleware/tsconfig.json | 3 +- types/http-proxy/tsconfig.json | 3 +- types/http-server/tsconfig.json | 3 +- types/http-status/tsconfig.json | 3 +- types/http-string-parser/tsconfig.json | 3 +- types/httperr/tsconfig.json | 3 +- types/hubot/tsconfig.json | 3 +- types/hubspot-pace/tsconfig.json | 3 +- types/humane/tsconfig.json | 3 +- types/humanize-plus/tsconfig.json | 3 +- types/humanize-string/tsconfig.json | 5 +- types/humanparser/tsconfig.json | 3 +- types/humps/tsconfig.json | 3 +- types/hyco-ws/tsconfig.json | 3 +- types/hyperscript/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/hystrixjs/tsconfig.json | 5 +- types/i18n-js/tsconfig.json | 5 +- types/i18n/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../v0/tsconfig.json | 3 +- .../i18next-express-middleware/tsconfig.json | 3 +- types/i18next-node-fs-backend/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/i18next-xhr-backend/tsconfig.json | 3 +- types/i18next/tsconfig.json | 3 +- types/i18next/v2/tsconfig.json | 3 +- types/i2c-bus/tsconfig.json | 3 +- types/iban/tsconfig.json | 3 +- types/ibm-mobilefirst/tsconfig.json | 3 +- types/ibm_db/tsconfig.json | 3 +- types/icepick/tsconfig.json | 3 +- types/icheck/tsconfig.json | 3 +- types/iconv/tsconfig.json | 3 +- types/ids/tsconfig.json | 3 +- types/iframe-resizer/tsconfig.json | 3 +- types/ignite-ui/tsconfig.json | 3 +- types/ignore-styles/tsconfig.json | 5 +- types/iltorb/tsconfig.json | 5 +- types/image-size/tsconfig.json | 3 +- types/imagemagick-native/tsconfig.json | 3 +- types/imagemagick/tsconfig.json | 3 +- types/imagemapster/tsconfig.json | 3 +- types/images/tsconfig.json | 3 +- types/imagesloaded/tsconfig.json | 3 +- types/imap-simple/tsconfig.json | 3 +- types/imap/tsconfig.json | 3 +- types/imgur-rest-api/tsconfig.json | 3 +- types/impress/tsconfig.json | 3 +- types/in-range/tsconfig.json | 3 +- types/incremental-dom/tsconfig.json | 3 +- types/indent-string/tsconfig.json | 3 +- types/inert/tsconfig.json | 9 ++- types/inflected/tsconfig.json | 3 +- types/inflection/tsconfig.json | 3 +- types/inherits/tsconfig.json | 3 +- types/ini/tsconfig.json | 3 +- types/iniparser/tsconfig.json | 3 +- types/inline-css/tsconfig.json | 3 +- types/inline-style-prefixer/tsconfig.json | 3 +- types/inquirer/tsconfig.json | 3 +- types/insert-module-globals/tsconfig.json | 3 +- types/insight/tsconfig.json | 3 +- types/integer/tsconfig.json | 3 +- types/interact.js/tsconfig.json | 3 +- types/intercom-web/tsconfig.json | 3 +- types/intercomjs/tsconfig.json | 3 +- types/internal-ip/tsconfig.json | 3 +- types/intl-messageformat/tsconfig.json | 3 +- types/intl-tel-input/tsconfig.json | 3 +- types/intl/tsconfig.json | 3 +- types/into-stream/tsconfig.json | 3 +- types/intro.js/tsconfig.json | 3 +- types/invariant/tsconfig.json | 3 +- types/inversify-devtools/tsconfig.json | 3 +- types/ion.rangeslider/tsconfig.json | 3 +- types/ion.rangeslider/v1/tsconfig.json | 3 +- types/ioredis/tsconfig.json | 3 +- types/iota.lib.js/tsconfig.json | 43 ++++++------- types/ip-regex/tsconfig.json | 3 +- types/ip/tsconfig.json | 3 +- types/irc/tsconfig.json | 3 +- types/iron/tsconfig.json | 5 +- types/is-absolute-url/tsconfig.json | 3 +- types/is-alphanumerical/tsconfig.json | 3 +- types/is-archive/tsconfig.json | 3 +- types/is-array/tsconfig.json | 3 +- types/is-binary-path/tsconfig.json | 3 +- types/is-compressed/tsconfig.json | 3 +- types/is-finite/tsconfig.json | 3 +- types/is-glob/tsconfig.json | 5 +- types/is-ip/tsconfig.json | 3 +- types/is-my-json-valid/tsconfig.json | 3 +- types/is-negated-glob/tsconfig.json | 5 +- types/is-number/tsconfig.json | 3 +- types/is-object/tsconfig.json | 5 +- types/is-path-cwd/tsconfig.json | 3 +- types/is-path-in-cwd/tsconfig.json | 3 +- types/is-promise/tsconfig.json | 3 +- types/is-relative-url/tsconfig.json | 3 +- types/is-root-path/tsconfig.json | 3 +- types/is-root/tsconfig.json | 3 +- types/is-scoped/tsconfig.json | 5 +- types/is-stream/tsconfig.json | 3 +- types/is-svg/tsconfig.json | 3 +- types/is-text-path/tsconfig.json | 3 +- types/is-url-superb/tsconfig.json | 3 +- types/is-url/tsconfig.json | 3 +- types/is-windows/tsconfig.json | 3 +- types/is/tsconfig.json | 3 +- types/isbn-utils/tsconfig.json | 3 +- types/iscroll/tsconfig.json | 3 +- types/iscroll/v4/tsconfig.json | 3 +- types/ismobilejs/tsconfig.json | 5 +- types/iso-3166-2/tsconfig.json | 3 +- types/iso8601-localizer/tsconfig.json | 3 +- types/isomorphic-fetch/tsconfig.json | 3 +- types/isotope-layout/tsconfig.json | 3 +- types/istanbul-lib-coverage/tsconfig.json | 3 +- types/istanbul-lib-hook/tsconfig.json | 3 +- types/istanbul-lib-instrument/tsconfig.json | 3 +- types/istanbul-lib-report/tsconfig.json | 3 +- types/istanbul-lib-source-maps/tsconfig.json | 3 +- types/istanbul-middleware/tsconfig.json | 3 +- types/istanbul-reports/tsconfig.json | 3 +- types/istanbul/tsconfig.json | 3 +- types/ityped/tsconfig.json | 3 +- types/ix.js/tsconfig.json | 3 +- types/jade/tsconfig.json | 3 +- types/jake/tsconfig.json | 3 +- types/jalaali-js/tsconfig.json | 3 +- types/japanese-holidays/tsconfig.json | 3 +- types/jasmine-ajax/tsconfig.json | 3 +- types/jasmine-data_driven_tests/tsconfig.json | 3 +- types/jasmine-enzyme/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/jasmine-fixture/tsconfig.json | 3 +- types/jasmine-given/tsconfig.json | 3 +- types/jasmine-jquery/tsconfig.json | 3 +- types/jasmine-matchers/tsconfig.json | 3 +- types/jasmine-node/tsconfig.json | 3 +- types/jasmine-promise-matchers/tsconfig.json | 3 +- types/jasmine/tsconfig.json | 5 +- types/jasmine/v1/tsconfig.json | 3 +- types/jasmine_dom_matchers/tsconfig.json | 3 +- types/jasminewd2/tsconfig.json | 3 +- types/java-applet/tsconfig.json | 3 +- types/java/tsconfig.json | 3 +- types/javascript-astar/tsconfig.json | 3 +- types/javascript-bignum/tsconfig.json | 3 +- types/javascript-obfuscator/tsconfig.json | 3 +- types/javascript-state-machine/tsconfig.json | 3 +- types/jbinary/tsconfig.json | 3 +- types/jcanvas/tsconfig.json | 3 +- types/jdataview/tsconfig.json | 3 +- types/jdenticon/tsconfig.json | 3 +- types/jee-jsf/tsconfig.json | 3 +- types/jenkins/tsconfig.json | 3 +- types/jest-diff/tsconfig.json | 5 +- types/jest-docblock/tsconfig.json | 3 +- types/jest-get-type/tsconfig.json | 5 +- types/jest-in-case/tsconfig.json | 5 +- types/jest-json-schema/tsconfig.json | 5 +- types/jest-matcher-utils/tsconfig.json | 5 +- types/jest-matchers/tsconfig.json | 3 +- types/jest-validate/tsconfig.json | 3 +- types/jest/tsconfig.json | 3 +- types/jest/v16/tsconfig.json | 3 +- types/jfp/tsconfig.json | 3 +- types/jfs/tsconfig.json | 3 +- types/jjv/tsconfig.json | 3 +- types/jjve/tsconfig.json | 3 +- types/jmespath/tsconfig.json | 3 +- types/johnny-five/tsconfig.json | 3 +- types/joi/tsconfig.json | 5 +- types/joi/v10/tsconfig.json | 5 +- types/joi/v6/tsconfig.json | 3 +- types/joigoose/tsconfig.json | 3 +- types/josa/tsconfig.json | 5 +- types/jpeg-js/tsconfig.json | 3 +- types/jpm/tsconfig.json | 3 +- types/jqgrid/tsconfig.json | 3 +- types/jqrangeslider/tsconfig.json | 3 +- types/jquery-ajax-chain/tsconfig.json | 3 +- types/jquery-alertable/tsconfig.json | 3 +- types/jquery-awesome-cursor/tsconfig.json | 3 +- types/jquery-backstretch/tsconfig.json | 3 +- types/jquery-cropbox/tsconfig.json | 3 +- types/jquery-deparam/tsconfig.json | 3 +- types/jquery-easy-loading/tsconfig.json | 3 +- types/jquery-editable-select/tsconfig.json | 3 +- types/jquery-fullscreen/tsconfig.json | 3 +- types/jquery-galleria/tsconfig.json | 3 +- types/jquery-handsontable/tsconfig.json | 3 +- types/jquery-jcrop/tsconfig.json | 45 +++++++------- types/jquery-jsonrpcclient/tsconfig.json | 3 +- types/jquery-knob/tsconfig.json | 3 +- types/jquery-mask-plugin/tsconfig.json | 3 +- types/jquery-match-height/tsconfig.json | 3 +- types/jquery-mockjax/tsconfig.json | 3 +- types/jquery-mousewheel/tsconfig.json | 3 +- types/jquery-notifier/tsconfig.json | 5 +- types/jquery-param/tsconfig.json | 3 +- types/jquery-sortable/tsconfig.json | 3 +- types/jquery-steps/tsconfig.json | 3 +- types/jquery-sticky/tsconfig.json | 3 +- types/jquery-tags-input/tsconfig.json | 3 +- types/jquery-timeentry/tsconfig.json | 3 +- .../jquery-toastmessage-plugin/tsconfig.json | 3 +- types/jquery-truncate-html/tsconfig.json | 3 +- types/jquery-urlparam/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/jquery.address/tsconfig.json | 3 +- types/jquery.are-you-sure/tsconfig.json | 3 +- types/jquery.autosize/tsconfig.json | 3 +- types/jquery.base64/tsconfig.json | 3 +- types/jquery.bbq/tsconfig.json | 3 +- types/jquery.blockui/tsconfig.json | 3 +- types/jquery.bootstrap.wizard/tsconfig.json | 3 +- types/jquery.cleditor/tsconfig.json | 3 +- types/jquery.clientsidelogging/tsconfig.json | 3 +- types/jquery.color/tsconfig.json | 3 +- types/jquery.colorbox/tsconfig.json | 3 +- types/jquery.colorpicker/tsconfig.json | 3 +- types/jquery.contextmenu/tsconfig.json | 3 +- types/jquery.cookie/tsconfig.json | 3 +- types/jquery.customselect/tsconfig.json | 3 +- types/jquery.cycle/tsconfig.json | 3 +- types/jquery.cycle2/tsconfig.json | 3 +- types/jquery.dropotron/tsconfig.json | 3 +- types/jquery.dynatree/tsconfig.json | 3 +- types/jquery.elang/tsconfig.json | 3 +- types/jquery.fancytree/tsconfig.json | 3 +- types/jquery.fileupload/tsconfig.json | 3 +- types/jquery.filtertable/tsconfig.json | 3 +- types/jquery.finger/tsconfig.json | 3 +- types/jquery.flagstrap/tsconfig.json | 3 +- types/jquery.form/tsconfig.json | 3 +- types/jquery.fullscreen/tsconfig.json | 3 +- types/jquery.gridster/tsconfig.json | 3 +- types/jquery.growl/tsconfig.json | 3 +- types/jquery.highlight-bartaz/tsconfig.json | 3 +- types/jquery.jnotify/tsconfig.json | 3 +- types/jquery.joyride/tsconfig.json | 3 +- types/jquery.jsignature/tsconfig.json | 3 +- types/jquery.leanmodal/tsconfig.json | 3 +- types/jquery.livestampjs/tsconfig.json | 3 +- types/jquery.menuaim/tsconfig.json | 3 +- types/jquery.mmenu/tsconfig.json | 3 +- types/jquery.notify/tsconfig.json | 3 +- types/jquery.notifybar/tsconfig.json | 3 +- types/jquery.noty/tsconfig.json | 3 +- types/jquery.payment/tsconfig.json | 3 +- types/jquery.pjax/tsconfig.json | 3 +- types/jquery.placeholder/tsconfig.json | 3 +- types/jquery.pnotify/tsconfig.json | 3 +- types/jquery.postmessage/tsconfig.json | 3 +- types/jquery.prettyphoto/tsconfig.json | 3 +- types/jquery.qrcode/tsconfig.json | 3 +- types/jquery.rateit/tsconfig.json | 3 +- types/jquery.rowgrid/tsconfig.json | 3 +- types/jquery.scrollto/tsconfig.json | 3 +- types/jquery.simplemodal/tsconfig.json | 3 +- types/jquery.simplepagination/tsconfig.json | 3 +- types/jquery.simulate/tsconfig.json | 3 +- types/jquery.slimscroll/tsconfig.json | 3 +- types/jquery.soap/tsconfig.json | 3 +- types/jquery.sortelements/tsconfig.json | 3 +- types/jquery.superlink/tsconfig.json | 3 +- types/jquery.tagsmanager/tsconfig.json | 3 +- types/jquery.tile/tsconfig.json | 3 +- types/jquery.timeago/tsconfig.json | 3 +- types/jquery.timepicker/tsconfig.json | 3 +- types/jquery.timer/tsconfig.json | 3 +- types/jquery.tinycarousel/tsconfig.json | 3 +- types/jquery.tinyscrollbar/tsconfig.json | 3 +- types/jquery.tipsy/tsconfig.json | 3 +- types/jquery.tools/tsconfig.json | 3 +- types/jquery.total-storage/tsconfig.json | 3 +- types/jquery.transit/tsconfig.json | 3 +- types/jquery.ui.datetimepicker/tsconfig.json | 3 +- types/jquery.ui.layout/tsconfig.json | 3 +- types/jquery.uniform/tsconfig.json | 3 +- types/jquery.validation/tsconfig.json | 3 +- types/jquery.watermark/tsconfig.json | 3 +- types/jquery.window/tsconfig.json | 3 +- types/jquery/tsconfig.json | 3 +- types/jquery/v1/tsconfig.json | 3 +- types/jquery/v2/tsconfig.json | 3 +- types/jquerymobile/tsconfig.json | 3 +- types/jqueryui/tsconfig.json | 3 +- types/js-base64/tsconfig.json | 13 ++-- types/js-beautify/tsconfig.json | 3 +- types/js-clipper/tsconfig.json | 3 +- types/js-combinatorics/tsconfig.json | 3 +- types/js-cookie/tsconfig.json | 3 +- types/js-data-angular/tsconfig.json | 3 +- types/js-fixtures/tsconfig.json | 3 +- types/js-git/tsconfig.json | 3 +- types/js-md5/tsconfig.json | 3 +- types/js-priority-queue/tsconfig.json | 3 +- types/js-quantities/tsconfig.json | 3 +- types/js-schema/tsconfig.json | 3 +- types/js-search/tsconfig.json | 3 +- types/js-to-java/tsconfig.json | 3 +- types/js-url/tsconfig.json | 3 +- types/js-yaml/tsconfig.json | 5 +- types/js.spec/tsconfig.json | 3 +- types/jsbn/tsconfig.json | 3 +- types/jschannel/tsconfig.json | 5 +- types/jscrollpane/tsconfig.json | 3 +- types/jsdeferred/tsconfig.json | 3 +- types/jsdom/tsconfig.json | 3 +- types/jsdom/v2/tsconfig.json | 3 +- types/jsen/tsconfig.json | 3 +- types/jsend/tsconfig.json | 3 +- types/jsesc/tsconfig.json | 3 +- types/jsfl/tsconfig.json | 3 +- types/jsforce/tsconfig.json | 3 +- types/jshamcrest/tsconfig.json | 3 +- types/jsmockito/tsconfig.json | 3 +- types/jsnox/tsconfig.json | 3 +- types/json-editor/tsconfig.json | 3 +- types/json-js/tsconfig.json | 3 +- types/json-merge-patch/tsconfig.json | 3 +- types/json-patch/tsconfig.json | 3 +- types/json-pointer/tsconfig.json | 3 +- types/json-query/tsconfig.json | 3 +- types/json-rpc-ws/tsconfig.json | 3 +- types/json-schema/tsconfig.json | 3 +- types/json-socket/tsconfig.json | 3 +- types/json-stable-stringify/tsconfig.json | 3 +- types/json-stringify-safe/tsconfig.json | 3 +- types/json2md/tsconfig.json | 3 +- types/json5/tsconfig.json | 3 +- types/jsonata/tsconfig.json | 3 +- types/jsoneditor/tsconfig.json | 3 +- types/jsoneditoronline/tsconfig.json | 3 +- types/jsonfile/tsconfig.json | 3 +- types/jsonminify/tsconfig.json | 3 +- types/jsonnet/tsconfig.json | 3 +- types/jsonp/tsconfig.json | 3 +- types/jsonpath/tsconfig.json | 3 +- types/jsonrpc-serializer/tsconfig.json | 3 +- types/jsonstream/tsconfig.json | 3 +- types/jsonwebtoken/tsconfig.json | 3 +- types/jspdf/tsconfig.json | 3 +- types/jsqrcode/tsconfig.json | 1 + types/jsrender/tsconfig.json | 3 +- types/jsreport-core/tsconfig.json | 43 ++++++------- types/jsrp/tsconfig.json | 3 +- types/jss/tsconfig.json | 5 +- types/jssha/tsconfig.json | 3 +- types/jstimezonedetect/tsconfig.json | 3 +- types/jstorage/tsconfig.json | 3 +- types/jstree/tsconfig.json | 3 +- types/jsts/tsconfig.json | 3 +- types/jsuite/tsconfig.json | 3 +- types/jsuri/tsconfig.json | 3 +- types/jsurl/tsconfig.json | 3 +- types/jsx-chai/tsconfig.json | 3 +- types/jszip/tsconfig.json | 3 +- types/jug/tsconfig.json | 3 +- types/jui-core/tsconfig.json | 3 +- types/jui-grid/tsconfig.json | 3 +- types/jui/tsconfig.json | 3 +- types/jump.js/tsconfig.json | 3 +- types/jweixin/tsconfig.json | 3 +- types/jwplayer/tsconfig.json | 3 +- types/jws/tsconfig.json | 5 +- types/jwt-client/tsconfig.json | 3 +- types/jwt-decode/tsconfig.json | 3 +- types/jwt-decode/v1/tsconfig.json | 3 +- types/jwt-simple/tsconfig.json | 3 +- types/kafka-node/tsconfig.json | 3 +- types/karma-chai-sinon/tsconfig.json | 3 +- types/karma-chai/tsconfig.json | 3 +- types/karma-coverage/tsconfig.json | 3 +- types/karma-fixture/tsconfig.json | 3 +- types/karma-jasmine/tsconfig.json | 3 +- types/karma-webpack/tsconfig.json | 3 +- types/karma/tsconfig.json | 3 +- types/katex/tsconfig.json | 3 +- types/kcors/tsconfig.json | 3 +- types/kdbush/tsconfig.json | 3 +- types/kefir/tsconfig.json | 3 +- types/kendo-ui/tsconfig.json | 3 +- types/keyboardjs/tsconfig.json | 3 +- types/keygrip/tsconfig.json | 3 +- types/keymaster/tsconfig.json | 3 +- types/keymirror/tsconfig.json | 3 +- types/keypress.js/tsconfig.json | 3 +- types/keysym/tsconfig.json | 3 +- types/keytar/tsconfig.json | 3 +- types/kii-cloud-sdk/tsconfig.json | 3 +- types/kik-browser/tsconfig.json | 3 +- types/kineticjs/tsconfig.json | 3 +- types/klaw-sync/tsconfig.json | 3 +- types/klaw/tsconfig.json | 3 +- types/klaw/v1/tsconfig.json | 3 +- types/kms-json/tsconfig.json | 5 +- types/knex-postgis/tsconfig.json | 3 +- types/knex/tsconfig.json | 5 +- types/knockback/tsconfig.json | 3 +- types/knockout-amd-helpers/tsconfig.json | 3 +- types/knockout-secure-binding/tsconfig.json | 3 +- types/knockout-transformations/tsconfig.json | 3 +- types/knockout.deferred.updates/tsconfig.json | 3 +- types/knockout.editables/tsconfig.json | 3 +- types/knockout.es5/tsconfig.json | 3 +- types/knockout.kogrid/tsconfig.json | 3 +- types/knockout.mapper/tsconfig.json | 3 +- types/knockout.mapping/tsconfig.json | 3 +- types/knockout.postbox/tsconfig.json | 3 +- types/knockout.projections/tsconfig.json | 3 +- types/knockout.punches/tsconfig.json | 3 +- types/knockout.rx/tsconfig.json | 3 +- types/knockout.validation/tsconfig.json | 3 +- types/knockout.viewmodel/tsconfig.json | 3 +- types/knockout/tsconfig.json | 3 +- types/knockstrap/tsconfig.json | 3 +- types/knuddels-userapps-api/tsconfig.json | 3 +- types/ko.plus/tsconfig.json | 3 +- types/koa-basic-auth/tsconfig.json | 3 +- types/koa-bodyparser/tsconfig.json | 3 +- types/koa-cache-control/tsconfig.json | 3 +- types/koa-compose/tsconfig.json | 3 +- types/koa-compress/tsconfig.json | 3 +- types/koa-conditional-get/tsconfig.json | 5 +- types/koa-csrf/tsconfig.json | 5 +- types/koa-etag/tsconfig.json | 5 +- types/koa-favicon/tsconfig.json | 3 +- types/koa-generic-session/tsconfig.json | 3 +- types/koa-hbs/tsconfig.json | 3 +- types/koa-helmet/tsconfig.json | 3 +- types/koa-joi-router/tsconfig.json | 3 +- types/koa-json-error/tsconfig.json | 3 +- types/koa-json/tsconfig.json | 3 +- types/koa-logger-winston/tsconfig.json | 3 +- types/koa-logger/tsconfig.json | 3 +- types/koa-morgan/tsconfig.json | 3 +- types/koa-mount/tsconfig.json | 3 +- types/koa-multer/tsconfig.json | 5 +- types/koa-passport/tsconfig.json | 3 +- types/koa-pino-logger/tsconfig.json | 3 +- types/koa-pug/tsconfig.json | 3 +- types/koa-range/tsconfig.json | 3 +- types/koa-redis/tsconfig.json | 3 +- types/koa-route/tsconfig.json | 3 +- types/koa-router/tsconfig.json | 3 +- types/koa-send/tsconfig.json | 3 +- types/koa-session-minimal/tsconfig.json | 3 +- types/koa-session/tsconfig.json | 5 +- types/koa-sslify/tsconfig.json | 5 +- types/koa-static/tsconfig.json | 3 +- types/koa-views/tsconfig.json | 3 +- types/koa-webpack/tsconfig.json | 5 +- types/koa-websocket/tsconfig.json | 3 +- types/koa/tsconfig.json | 3 +- types/koa2-cors/tsconfig.json | 3 +- types/koa__cors/tsconfig.json | 1 + types/kolite/tsconfig.json | 3 +- types/konami.js/tsconfig.json | 3 +- types/kraken-js/tsconfig.json | 9 ++- types/kramed/tsconfig.json | 3 +- types/kss/tsconfig.json | 3 +- types/kue/tsconfig.json | 3 +- types/kurento-utils/tsconfig.json | 3 +- types/kuromoji/tsconfig.json | 3 +- types/lab/tsconfig.json | 3 +- types/ladda/tsconfig.json | 3 +- types/lasso/tsconfig.json | 5 +- types/later/tsconfig.json | 3 +- types/latinize/tsconfig.json | 3 +- types/latlon-geohash/tsconfig.json | 5 +- types/launchpad/tsconfig.json | 1 + types/lazy.js/tsconfig.json | 3 +- types/lazypipe/tsconfig.json | 3 +- types/ldapjs/tsconfig.json | 5 +- types/leadfoot/tsconfig.json | 3 +- types/leaflet-areaselect/tsconfig.json | 3 +- types/leaflet-curve/tsconfig.json | 3 +- types/leaflet-draw/tsconfig.json | 3 +- types/leaflet-editable/tsconfig.json | 3 +- types/leaflet-fullscreen/tsconfig.json | 3 +- types/leaflet-geocoder-mapzen/tsconfig.json | 3 +- types/leaflet-gpx/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/leaflet-label/tsconfig.json | 3 +- types/leaflet-mouse-position/tsconfig.json | 5 +- types/leaflet-polylinedecorator/tsconfig.json | 3 +- types/leaflet-providers/tsconfig.json | 3 +- types/leaflet-rotatedmarker/tsconfig.json | 5 +- types/leaflet.awesome-markers/tsconfig.json | 3 +- .../leaflet.awesome-markers/v0/tsconfig.json | 3 +- types/leaflet.fullscreen/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/leaflet.heat/tsconfig.json | 47 +++++++------- types/leaflet.locatecontrol/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/leaflet.markercluster/tsconfig.json | 3 +- types/leaflet.pancontrol/tsconfig.json | 5 +- types/leaflet.pm/tsconfig.json | 3 +- types/leaflet.polylinemeasure/tsconfig.json | 5 +- types/leaflet/tsconfig.json | 3 +- types/leaflet/v0/tsconfig.json | 3 +- types/leapmotionts/tsconfig.json | 3 +- types/legal-eagle/tsconfig.json | 5 +- types/less-middleware/tsconfig.json | 3 +- types/less/tsconfig.json | 3 +- types/less2sass/tsconfig.json | 5 +- types/lestate/tsconfig.json | 3 +- types/level-sublevel/tsconfig.json | 3 +- types/leveldown/tsconfig.json | 3 +- types/levelup/tsconfig.json | 3 +- types/leven/tsconfig.json | 3 +- types/levenshtein/tsconfig.json | 3 +- types/libpq/tsconfig.json | 3 +- types/libxmljs/tsconfig.json | 3 +- types/libxslt/tsconfig.json | 3 +- types/license-checker/tsconfig.json | 3 +- types/lil-uuid/tsconfig.json | 5 +- types/lime-js/tsconfig.json | 3 +- types/line-by-line/tsconfig.json | 3 +- types/line-reader/tsconfig.json | 3 +- types/linkify-it/tsconfig.json | 3 +- types/lls/tsconfig.json | 3 +- types/load-json-file/tsconfig.json | 3 +- types/loader-runner/tsconfig.json | 3 +- types/loader-utils/tsconfig.json | 3 +- types/loadware/tsconfig.json | 3 +- types/lobibox/tsconfig.json | 3 +- types/local-dynamo/tsconfig.json | 5 +- types/localized-countries/tsconfig.json | 3 +- types/localizejs-library/tsconfig.json | 3 +- types/locate-path/tsconfig.json | 3 +- types/lockfile/tsconfig.json | 3 +- types/lockfile/v0/tsconfig.json | 3 +- types/lockr/tsconfig.json | 3 +- types/locutus/tsconfig.json | 3 +- types/lodash-es/tsconfig.json | 5 +- types/lodash-webpack-plugin/tsconfig.json | 3 +- types/lodash.add/tsconfig.json | 3 +- types/lodash.after/tsconfig.json | 3 +- types/lodash.ary/tsconfig.json | 3 +- types/lodash.assign/tsconfig.json | 3 +- types/lodash.assignin/tsconfig.json | 3 +- types/lodash.assigninwith/tsconfig.json | 3 +- types/lodash.assignwith/tsconfig.json | 3 +- types/lodash.at/tsconfig.json | 3 +- types/lodash.attempt/tsconfig.json | 3 +- types/lodash.before/tsconfig.json | 3 +- types/lodash.bind/tsconfig.json | 3 +- types/lodash.bindall/tsconfig.json | 3 +- types/lodash.bindkey/tsconfig.json | 3 +- types/lodash.camelcase/tsconfig.json | 3 +- types/lodash.capitalize/tsconfig.json | 3 +- types/lodash.castarray/tsconfig.json | 3 +- types/lodash.ceil/tsconfig.json | 3 +- types/lodash.chunk/tsconfig.json | 3 +- types/lodash.clamp/tsconfig.json | 3 +- types/lodash.clone/tsconfig.json | 3 +- types/lodash.clonedeep/tsconfig.json | 3 +- types/lodash.clonedeepwith/tsconfig.json | 3 +- types/lodash.clonewith/tsconfig.json | 3 +- types/lodash.compact/tsconfig.json | 3 +- types/lodash.concat/tsconfig.json | 3 +- types/lodash.cond/tsconfig.json | 3 +- types/lodash.constant/tsconfig.json | 3 +- types/lodash.countby/tsconfig.json | 3 +- types/lodash.create/tsconfig.json | 3 +- types/lodash.curry/tsconfig.json | 3 +- types/lodash.curryright/tsconfig.json | 3 +- types/lodash.debounce/tsconfig.json | 3 +- types/lodash.deburr/tsconfig.json | 3 +- types/lodash.defaults/tsconfig.json | 3 +- types/lodash.defaultsdeep/tsconfig.json | 3 +- types/lodash.defer/tsconfig.json | 3 +- types/lodash.delay/tsconfig.json | 3 +- types/lodash.difference/tsconfig.json | 3 +- types/lodash.differenceby/tsconfig.json | 3 +- types/lodash.differencewith/tsconfig.json | 3 +- types/lodash.divide/tsconfig.json | 3 +- types/lodash.drop/tsconfig.json | 3 +- types/lodash.dropright/tsconfig.json | 3 +- types/lodash.droprightwhile/tsconfig.json | 3 +- types/lodash.dropwhile/tsconfig.json | 3 +- types/lodash.endswith/tsconfig.json | 3 +- types/lodash.eq/tsconfig.json | 3 +- types/lodash.escape/tsconfig.json | 3 +- types/lodash.escaperegexp/tsconfig.json | 3 +- types/lodash.every/tsconfig.json | 3 +- types/lodash.fill/tsconfig.json | 3 +- types/lodash.filter/tsconfig.json | 3 +- types/lodash.find/tsconfig.json | 3 +- types/lodash.findindex/tsconfig.json | 3 +- types/lodash.findkey/tsconfig.json | 3 +- types/lodash.findlast/tsconfig.json | 3 +- types/lodash.findlastindex/tsconfig.json | 3 +- types/lodash.findlastkey/tsconfig.json | 3 +- types/lodash.first/tsconfig.json | 3 +- types/lodash.flatmap/tsconfig.json | 3 +- types/lodash.flatmapdeep/tsconfig.json | 3 +- types/lodash.flatmapdepth/tsconfig.json | 3 +- types/lodash.flatten/tsconfig.json | 3 +- types/lodash.flattendeep/tsconfig.json | 3 +- types/lodash.flattendepth/tsconfig.json | 3 +- types/lodash.flip/tsconfig.json | 3 +- types/lodash.floor/tsconfig.json | 3 +- types/lodash.flow/tsconfig.json | 3 +- types/lodash.flowright/tsconfig.json | 3 +- types/lodash.foreach/tsconfig.json | 3 +- types/lodash.foreachright/tsconfig.json | 3 +- types/lodash.forin/tsconfig.json | 3 +- types/lodash.forinright/tsconfig.json | 3 +- types/lodash.forown/tsconfig.json | 3 +- types/lodash.forownright/tsconfig.json | 3 +- types/lodash.frompairs/tsconfig.json | 3 +- types/lodash.functions/tsconfig.json | 3 +- types/lodash.functionsin/tsconfig.json | 3 +- types/lodash.get/tsconfig.json | 3 +- types/lodash.groupby/tsconfig.json | 3 +- types/lodash.gt/tsconfig.json | 3 +- types/lodash.gte/tsconfig.json | 3 +- types/lodash.has/tsconfig.json | 3 +- types/lodash.hasin/tsconfig.json | 3 +- types/lodash.head/tsconfig.json | 3 +- types/lodash.identity/tsconfig.json | 3 +- types/lodash.includes/tsconfig.json | 3 +- types/lodash.indexof/tsconfig.json | 3 +- types/lodash.initial/tsconfig.json | 3 +- types/lodash.inrange/tsconfig.json | 3 +- types/lodash.intersection/tsconfig.json | 3 +- types/lodash.intersectionby/tsconfig.json | 3 +- types/lodash.intersectionwith/tsconfig.json | 3 +- types/lodash.invert/tsconfig.json | 3 +- types/lodash.invertby/tsconfig.json | 3 +- types/lodash.invoke/tsconfig.json | 3 +- types/lodash.invokemap/tsconfig.json | 3 +- types/lodash.isarguments/tsconfig.json | 3 +- types/lodash.isarray/tsconfig.json | 3 +- types/lodash.isarraybuffer/tsconfig.json | 3 +- types/lodash.isarraylike/tsconfig.json | 3 +- types/lodash.isarraylikeobject/tsconfig.json | 3 +- types/lodash.isboolean/tsconfig.json | 3 +- types/lodash.isbuffer/tsconfig.json | 3 +- types/lodash.isdate/tsconfig.json | 3 +- types/lodash.iselement/tsconfig.json | 3 +- types/lodash.isempty/tsconfig.json | 3 +- types/lodash.isequal/tsconfig.json | 3 +- types/lodash.isequalwith/tsconfig.json | 3 +- types/lodash.iserror/tsconfig.json | 3 +- types/lodash.isfinite/tsconfig.json | 3 +- types/lodash.isfunction/tsconfig.json | 3 +- types/lodash.isinteger/tsconfig.json | 3 +- types/lodash.islength/tsconfig.json | 3 +- types/lodash.ismap/tsconfig.json | 3 +- types/lodash.ismatch/tsconfig.json | 3 +- types/lodash.ismatchwith/tsconfig.json | 3 +- types/lodash.isnan/tsconfig.json | 3 +- types/lodash.isnative/tsconfig.json | 3 +- types/lodash.isnil/tsconfig.json | 3 +- types/lodash.isnull/tsconfig.json | 3 +- types/lodash.isnumber/tsconfig.json | 3 +- types/lodash.isobject/tsconfig.json | 3 +- types/lodash.isobjectlike/tsconfig.json | 3 +- types/lodash.isplainobject/tsconfig.json | 3 +- types/lodash.isregexp/tsconfig.json | 3 +- types/lodash.issafeinteger/tsconfig.json | 3 +- types/lodash.isset/tsconfig.json | 3 +- types/lodash.isstring/tsconfig.json | 3 +- types/lodash.issymbol/tsconfig.json | 3 +- types/lodash.istypedarray/tsconfig.json | 3 +- types/lodash.isundefined/tsconfig.json | 3 +- types/lodash.isweakmap/tsconfig.json | 3 +- types/lodash.isweakset/tsconfig.json | 3 +- types/lodash.iteratee/tsconfig.json | 3 +- types/lodash.join/tsconfig.json | 3 +- types/lodash.kebabcase/tsconfig.json | 3 +- types/lodash.keyby/tsconfig.json | 3 +- types/lodash.keys/tsconfig.json | 3 +- types/lodash.keysin/tsconfig.json | 3 +- types/lodash.last/tsconfig.json | 3 +- types/lodash.lastindexof/tsconfig.json | 3 +- types/lodash.lowercase/tsconfig.json | 3 +- types/lodash.lowerfirst/tsconfig.json | 3 +- types/lodash.lt/tsconfig.json | 3 +- types/lodash.lte/tsconfig.json | 3 +- types/lodash.mapkeys/tsconfig.json | 3 +- types/lodash.mapvalues/tsconfig.json | 3 +- types/lodash.matches/tsconfig.json | 3 +- types/lodash.matchesproperty/tsconfig.json | 3 +- types/lodash.max/tsconfig.json | 3 +- types/lodash.maxby/tsconfig.json | 3 +- types/lodash.mean/tsconfig.json | 3 +- types/lodash.meanby/tsconfig.json | 3 +- types/lodash.memoize/tsconfig.json | 3 +- types/lodash.merge/tsconfig.json | 3 +- types/lodash.mergewith/tsconfig.json | 3 +- types/lodash.method/tsconfig.json | 3 +- types/lodash.methodof/tsconfig.json | 3 +- types/lodash.min/tsconfig.json | 3 +- types/lodash.minby/tsconfig.json | 3 +- types/lodash.mixin/tsconfig.json | 3 +- types/lodash.negate/tsconfig.json | 3 +- types/lodash.noop/tsconfig.json | 3 +- types/lodash.now/tsconfig.json | 3 +- types/lodash.nth/tsconfig.json | 3 +- types/lodash.ntharg/tsconfig.json | 3 +- types/lodash.omit/tsconfig.json | 3 +- types/lodash.omitby/tsconfig.json | 3 +- types/lodash.once/tsconfig.json | 3 +- types/lodash.orderby/tsconfig.json | 3 +- types/lodash.over/tsconfig.json | 3 +- types/lodash.overargs/tsconfig.json | 3 +- types/lodash.overevery/tsconfig.json | 3 +- types/lodash.oversome/tsconfig.json | 3 +- types/lodash.pad/tsconfig.json | 3 +- types/lodash.padend/tsconfig.json | 3 +- types/lodash.padstart/tsconfig.json | 3 +- types/lodash.parseint/tsconfig.json | 3 +- types/lodash.partial/tsconfig.json | 3 +- types/lodash.partialright/tsconfig.json | 3 +- types/lodash.partition/tsconfig.json | 3 +- types/lodash.pick/tsconfig.json | 3 +- types/lodash.pickby/tsconfig.json | 3 +- types/lodash.property/tsconfig.json | 3 +- types/lodash.propertyof/tsconfig.json | 3 +- types/lodash.pull/tsconfig.json | 3 +- types/lodash.pullall/tsconfig.json | 3 +- types/lodash.pullallby/tsconfig.json | 3 +- types/lodash.pullallwith/tsconfig.json | 3 +- types/lodash.pullat/tsconfig.json | 3 +- types/lodash.random/tsconfig.json | 3 +- types/lodash.range/tsconfig.json | 3 +- types/lodash.rangeright/tsconfig.json | 3 +- types/lodash.rearg/tsconfig.json | 3 +- types/lodash.reduce/tsconfig.json | 3 +- types/lodash.reduceright/tsconfig.json | 3 +- types/lodash.reject/tsconfig.json | 3 +- types/lodash.remove/tsconfig.json | 3 +- types/lodash.repeat/tsconfig.json | 3 +- types/lodash.replace/tsconfig.json | 3 +- types/lodash.rest/tsconfig.json | 3 +- types/lodash.result/tsconfig.json | 3 +- types/lodash.reverse/tsconfig.json | 3 +- types/lodash.round/tsconfig.json | 3 +- types/lodash.sample/tsconfig.json | 3 +- types/lodash.samplesize/tsconfig.json | 3 +- types/lodash.set/tsconfig.json | 3 +- types/lodash.setwith/tsconfig.json | 3 +- types/lodash.shuffle/tsconfig.json | 3 +- types/lodash.size/tsconfig.json | 3 +- types/lodash.slice/tsconfig.json | 3 +- types/lodash.snakecase/tsconfig.json | 3 +- types/lodash.some/tsconfig.json | 3 +- types/lodash.sortby/tsconfig.json | 3 +- types/lodash.sortedindex/tsconfig.json | 3 +- types/lodash.sortedindexby/tsconfig.json | 3 +- types/lodash.sortedindexof/tsconfig.json | 3 +- types/lodash.sortedlastindex/tsconfig.json | 3 +- types/lodash.sortedlastindexby/tsconfig.json | 3 +- types/lodash.sortedlastindexof/tsconfig.json | 3 +- types/lodash.sorteduniq/tsconfig.json | 3 +- types/lodash.sorteduniqby/tsconfig.json | 3 +- types/lodash.split/tsconfig.json | 3 +- types/lodash.spread/tsconfig.json | 3 +- types/lodash.startcase/tsconfig.json | 3 +- types/lodash.startswith/tsconfig.json | 3 +- types/lodash.subtract/tsconfig.json | 3 +- types/lodash.sum/tsconfig.json | 3 +- types/lodash.sumby/tsconfig.json | 3 +- types/lodash.tail/tsconfig.json | 3 +- types/lodash.take/tsconfig.json | 3 +- types/lodash.takeright/tsconfig.json | 3 +- types/lodash.takerightwhile/tsconfig.json | 3 +- types/lodash.takewhile/tsconfig.json | 3 +- types/lodash.template/tsconfig.json | 3 +- types/lodash.throttle/tsconfig.json | 3 +- types/lodash.times/tsconfig.json | 3 +- types/lodash.toarray/tsconfig.json | 3 +- types/lodash.tofinite/tsconfig.json | 3 +- types/lodash.tointeger/tsconfig.json | 3 +- types/lodash.tolength/tsconfig.json | 3 +- types/lodash.tolower/tsconfig.json | 3 +- types/lodash.tonumber/tsconfig.json | 3 +- types/lodash.topairs/tsconfig.json | 3 +- types/lodash.topairsin/tsconfig.json | 3 +- types/lodash.topath/tsconfig.json | 3 +- types/lodash.toplainobject/tsconfig.json | 3 +- types/lodash.tosafeinteger/tsconfig.json | 3 +- types/lodash.tostring/tsconfig.json | 3 +- types/lodash.toupper/tsconfig.json | 3 +- types/lodash.transform/tsconfig.json | 3 +- types/lodash.trim/tsconfig.json | 3 +- types/lodash.trimend/tsconfig.json | 3 +- types/lodash.trimstart/tsconfig.json | 3 +- types/lodash.truncate/tsconfig.json | 3 +- types/lodash.unary/tsconfig.json | 3 +- types/lodash.unescape/tsconfig.json | 3 +- types/lodash.union/tsconfig.json | 3 +- types/lodash.unionby/tsconfig.json | 3 +- types/lodash.unionwith/tsconfig.json | 3 +- types/lodash.uniq/tsconfig.json | 3 +- types/lodash.uniqby/tsconfig.json | 3 +- types/lodash.uniqueid/tsconfig.json | 3 +- types/lodash.uniqwith/tsconfig.json | 3 +- types/lodash.unset/tsconfig.json | 3 +- types/lodash.unzip/tsconfig.json | 3 +- types/lodash.unzipwith/tsconfig.json | 3 +- types/lodash.update/tsconfig.json | 3 +- types/lodash.updatewith/tsconfig.json | 3 +- types/lodash.uppercase/tsconfig.json | 3 +- types/lodash.upperfirst/tsconfig.json | 3 +- types/lodash.values/tsconfig.json | 3 +- types/lodash.valuesin/tsconfig.json | 3 +- types/lodash.without/tsconfig.json | 3 +- types/lodash.words/tsconfig.json | 3 +- types/lodash.wrap/tsconfig.json | 3 +- types/lodash.xor/tsconfig.json | 3 +- types/lodash.xorby/tsconfig.json | 3 +- types/lodash.xorwith/tsconfig.json | 3 +- types/lodash.zip/tsconfig.json | 3 +- types/lodash.zipobject/tsconfig.json | 3 +- types/lodash.zipobjectdeep/tsconfig.json | 3 +- types/lodash.zipwith/tsconfig.json | 3 +- types/lodash/tsconfig.json | 5 +- types/lodash/v3/tsconfig.json | 3 +- types/log-symbols/tsconfig.json | 3 +- types/log-update/tsconfig.json | 3 +- types/logat/tsconfig.json | 3 +- types/logform/tsconfig.json | 5 +- types/logg/tsconfig.json | 3 +- types/loggly/tsconfig.json | 3 +- types/loglevel/tsconfig.json | 5 +- types/logrotate-stream/tsconfig.json | 3 +- types/lokijs/tsconfig.json | 3 +- types/lolex/tsconfig.json | 3 +- types/long/tsconfig.json | 3 +- types/loopback-boot/tsconfig.json | 3 +- types/loopback/tsconfig.json | 3 +- types/lorem-ipsum/tsconfig.json | 3 +- types/lory.js/tsconfig.json | 3 +- types/loud-rejection/tsconfig.json | 3 +- types/lovefield/tsconfig.json | 3 +- types/lowdb/tsconfig.json | 5 +- types/lowlight/tsconfig.json | 3 +- types/lozad/tsconfig.json | 3 +- types/lru-cache/tsconfig.json | 3 +- types/lscache/tsconfig.json | 3 +- types/ltx/tsconfig.json | 3 +- types/luaparse/tsconfig.json | 3 +- types/lunr/tsconfig.json | 3 +- types/lunr/v0/tsconfig.json | 3 +- types/lusca/tsconfig.json | 5 +- types/luxon/tsconfig.json | 5 +- types/lwip/tsconfig.json | 3 +- types/lz-string/tsconfig.json | 3 +- types/magic-number/tsconfig.json | 3 +- types/magicsuggest/tsconfig.json | 3 +- types/magnet-uri/tsconfig.json | 3 +- types/mailcheck/tsconfig.json | 3 +- types/maildev/tsconfig.json | 3 +- types/mailgen/tsconfig.json | 3 +- types/mailparser/tsconfig.json | 3 +- types/main-bower-files/tsconfig.json | 3 +- types/mainloop.js/tsconfig.json | 3 +- types/make-dir/tsconfig.json | 3 +- types/maker.js/tsconfig.json | 3 +- types/mandrill-api/tsconfig.json | 3 +- types/map-obj/tsconfig.json | 3 +- types/mapbox-gl/tsconfig.json | 5 +- types/mapbox/tsconfig.json | 3 +- types/mapbox__shelf-pack/tsconfig.json | 3 +- types/mapnik/tsconfig.json | 43 ++++++------- types/mapsjs/tsconfig.json | 3 +- types/mariasql/tsconfig.json | 3 +- types/mark.js/tsconfig.json | 5 +- types/markdown-it-anchor/tsconfig.json | 3 +- types/markdown-it-container/tsconfig.json | 3 +- types/markdown-it/tsconfig.json | 3 +- types/markdownlint/tsconfig.json | 5 +- types/marked/tsconfig.json | 3 +- .../marker-animate-unobtrusive/tsconfig.json | 3 +- types/markerclustererplus/tsconfig.json | 3 +- types/markitup/tsconfig.json | 3 +- types/maskedinput/tsconfig.json | 3 +- types/masonry-layout/tsconfig.json | 3 +- types/massive/tsconfig.json | 3 +- types/massive/v3/tsconfig.json | 7 ++- types/match-media-mock/tsconfig.json | 3 +- types/material-components-web/tsconfig.json | 5 +- types/material-design-lite/tsconfig.json | 3 +- types/material-ui-datatables/tsconfig.json | 3 +- types/material-ui-pagination/tsconfig.json | 3 +- types/material-ui/tsconfig.json | 3 +- types/material__animation/tsconfig.json | 5 +- types/material__auto-init/tsconfig.json | 5 +- types/material__base/tsconfig.json | 5 +- types/material__checkbox/tsconfig.json | 5 +- types/material__dialog/tsconfig.json | 5 +- types/material__drawer/tsconfig.json | 5 +- types/material__form-field/tsconfig.json | 5 +- types/material__grid-list/tsconfig.json | 5 +- types/material__icon-toggle/tsconfig.json | 5 +- types/material__linear-progress/tsconfig.json | 5 +- types/material__menu/tsconfig.json | 5 +- types/material__radio/tsconfig.json | 5 +- types/material__ripple/tsconfig.json | 5 +- types/material__select/tsconfig.json | 5 +- .../material__selection-control/tsconfig.json | 5 +- types/material__slider/tsconfig.json | 5 +- types/material__snackbar/tsconfig.json | 5 +- types/material__tabs/tsconfig.json | 5 +- types/material__textfield/tsconfig.json | 5 +- types/material__toolbar/tsconfig.json | 5 +- types/materialize-css/tsconfig.json | 5 +- types/materialize-css/v0/tsconfig.json | 5 +- types/math3d/tsconfig.json | 3 +- types/mathjax/tsconfig.json | 3 +- types/mathjs/tsconfig.json | 3 +- types/matter-js/tsconfig.json | 3 +- types/maxmind/tsconfig.json | 3 +- types/mcustomscrollbar/tsconfig.json | 3 +- types/md5/tsconfig.json | 3 +- types/mdns/tsconfig.json | 3 +- types/mdurl/tsconfig.json | 3 +- types/media-typer/tsconfig.json | 3 +- types/medium-editor/tsconfig.json | 3 +- types/mem/tsconfig.json | 3 +- types/memcached/tsconfig.json | 3 +- types/memoizee/tsconfig.json | 3 +- types/memory-cache/tsconfig.json | 3 +- types/memory-fs/tsconfig.json | 3 +- types/memwatch-next/tsconfig.json | 3 +- types/menubar/tsconfig.json | 3 +- types/meow/tsconfig.json | 3 +- types/merge-descriptors/tsconfig.json | 3 +- types/merge-stream/tsconfig.json | 3 +- types/merge2/tsconfig.json | 3 +- types/merkle/tsconfig.json | 3 +- types/mersenne-twister/tsconfig.json | 3 +- types/meshblu/tsconfig.json | 3 +- types/mess/tsconfig.json | 3 +- types/messenger/tsconfig.json | 3 +- types/meteor-accounts-phone/tsconfig.json | 3 +- types/meteor-collection-hooks/tsconfig.json | 3 +- types/meteor-jboulhous-dev/tsconfig.json | 3 +- types/meteor-persistent-session/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/meteor-publish-composite/tsconfig.json | 3 +- types/meteor-roles/tsconfig.json | 3 +- types/meteor/tsconfig.json | 5 +- types/method-override/tsconfig.json | 3 +- types/methods/tsconfig.json | 3 +- types/metric-suffix/tsconfig.json | 3 +- types/mfiles/tsconfig.json | 3 +- types/micro/tsconfig.json | 3 +- types/micromatch/tsconfig.json | 3 +- types/micromatch/v2/tsconfig.json | 3 +- types/microrouter/tsconfig.json | 3 +- types/microsoft-ajax/tsconfig.json | 3 +- types/microsoft-live-connect/tsconfig.json | 3 +- types/microsoft-sdk-soap/tsconfig.json | 3 +- types/microsoftteams/tsconfig.json | 3 +- types/microtime/tsconfig.json | 3 +- types/milkcocoa/tsconfig.json | 3 +- types/milliseconds/tsconfig.json | 3 +- types/mime-db/tsconfig.json | 3 +- types/mime-types/tsconfig.json | 3 +- types/mime/tsconfig.json | 3 +- types/mimos/tsconfig.json | 3 +- types/mina/tsconfig.json | 3 +- types/minilog/tsconfig.json | 3 +- types/minimatch/tsconfig.json | 3 +- types/minimist-options/tsconfig.json | 5 +- types/minimist/tsconfig.json | 3 +- types/minipass/tsconfig.json | 3 +- types/mirrorx/tsconfig.json | 5 +- types/mithril-global/tsconfig.json | 1 + types/mithril/tsconfig.json | 1 + types/mitm/tsconfig.json | 3 +- types/mixpanel/tsconfig.json | 3 +- types/mixto/tsconfig.json | 3 +- types/mkdirp/tsconfig.json | 3 +- types/mkpath/tsconfig.json | 3 +- types/mmmagic/tsconfig.json | 3 +- types/mobx-apollo/tsconfig.json | 18 ++++-- types/mocha-phantomjs/tsconfig.json | 3 +- types/mocha-steps/tsconfig.json | 5 +- types/mocha/tsconfig.json | 3 +- types/mochaccino/tsconfig.json | 5 +- types/mock-aws-s3/tsconfig.json | 18 ++++-- types/mock-fs/tsconfig.json | 3 +- types/mock-knex/tsconfig.json | 5 +- types/mock-raf/tsconfig.json | 3 +- types/mock-require/tsconfig.json | 3 +- types/mockdate/tsconfig.json | 3 +- types/mockery/tsconfig.json | 3 +- types/mockjs/tsconfig.json | 3 +- types/modernizr/tsconfig.json | 3 +- types/modesl/tsconfig.json | 3 +- types/moji/tsconfig.json | 39 ++++++------ types/moment-business-time/tsconfig.json | 5 +- types/moment-business/tsconfig.json | 3 +- types/moment-duration-format/tsconfig.json | 3 +- types/moment-holiday/tsconfig.json | 5 +- types/moment-jalaali/tsconfig.json | 3 +- types/moment-range/tsconfig.json | 3 +- types/moment-round/tsconfig.json | 3 +- types/moment-strftime2/tsconfig.json | 5 +- types/moment-timezone/tsconfig.json | 3 +- types/mongodb/tsconfig.json | 3 +- types/mongodb/v1/tsconfig.json | 3 +- types/mongodb/v2/tsconfig.json | 3 +- types/mongoose-auto-increment/tsconfig.json | 3 +- types/mongoose-deep-populate/tsconfig.json | 3 +- types/mongoose-geojson-schema/tsconfig.json | 5 +- types/mongoose-mock/tsconfig.json | 3 +- types/mongoose-paginate/tsconfig.json | 3 +- types/mongoose-promise/tsconfig.json | 3 +- types/mongoose-seeder/tsconfig.json | 3 +- types/mongoose-sequence/tsconfig.json | 3 +- types/mongoose-simple-random/tsconfig.json | 3 +- types/mongoose-unique-validator/tsconfig.json | 3 +- types/mongoose/tsconfig.json | 3 +- types/mongoose/v3/tsconfig.json | 3 +- types/mongoose/v4/tsconfig.json | 3 +- types/moo/tsconfig.json | 3 +- types/moonjs/tsconfig.json | 3 +- types/morgan/tsconfig.json | 3 +- types/morris.js/tsconfig.json | 3 +- types/mousetrap/tsconfig.json | 3 +- types/move-concurrently/tsconfig.json | 3 +- types/moviedb/tsconfig.json | 3 +- types/moxios/tsconfig.json | 3 +- types/mozilla-readability/tsconfig.json | 5 +- types/mpromise/tsconfig.json | 3 +- types/mri/tsconfig.json | 3 +- types/ms/tsconfig.json | 3 +- types/msgpack-lite/tsconfig.json | 3 +- types/msgpack/tsconfig.json | 3 +- types/msgpack5/tsconfig.json | 3 +- types/msnodesql/tsconfig.json | 3 +- types/msportalfx-test/tsconfig.json | 3 +- types/mssql/tsconfig.json | 3 +- types/mu2/tsconfig.json | 3 +- types/multer-gridfs-storage/tsconfig.json | 3 +- types/multer-gridfs-storage/v1/tsconfig.json | 3 +- types/multer-s3/tsconfig.json | 3 +- types/multer/tsconfig.json | 3 +- types/multi-typeof/tsconfig.json | 3 +- types/multimatch/tsconfig.json | 3 +- types/multiparty/tsconfig.json | 3 +- types/multiplexjs/tsconfig.json | 3 +- types/multisort/tsconfig.json | 5 +- types/multistream/tsconfig.json | 5 +- types/murmurhash-js/tsconfig.json | 3 +- types/murmurhash3js/tsconfig.json | 3 +- types/musicmetadata/tsconfig.json | 3 +- types/mustache/tsconfig.json | 3 +- types/mv/tsconfig.json | 3 +- types/mysql/tsconfig.json | 5 +- types/mz/tsconfig.json | 3 +- types/n3/tsconfig.json | 3 +- types/nano/tsconfig.json | 3 +- types/nanoajax/tsconfig.json | 3 +- types/nanoid/tsconfig.json | 3 +- types/nanomsg/tsconfig.json | 3 +- types/nanoscroller/tsconfig.json | 3 +- types/nanp/tsconfig.json | 3 +- types/nats-hemera/tsconfig.json | 3 +- types/natsort/tsconfig.json | 3 +- types/natural-sort/tsconfig.json | 3 +- types/natural/tsconfig.json | 3 +- types/navigation-react/tsconfig.json | 3 +- types/navigation/tsconfig.json | 3 +- types/navigo/tsconfig.json | 3 +- types/nblas/tsconfig.json | 3 +- types/nconf/tsconfig.json | 3 +- types/ncp/tsconfig.json | 3 +- types/ndarray/tsconfig.json | 3 +- types/nearley/tsconfig.json | 3 +- types/nedb-logger/tsconfig.json | 3 +- types/nedb/tsconfig.json | 3 +- types/needle/tsconfig.json | 3 +- types/needle/v0/tsconfig.json | 3 +- types/needle/v1/tsconfig.json | 3 +- types/negotiator/tsconfig.json | 3 +- types/neo4j/tsconfig.json | 3 +- types/nes/tsconfig.json | 9 ++- types/net-keepalive/tsconfig.json | 41 +++++++------ types/netmask/tsconfig.json | 3 +- types/new-relic-browser/tsconfig.json | 5 +- types/nexpect/tsconfig.json | 3 +- types/next-redux-wrapper/tsconfig.json | 3 +- types/next/tsconfig.json | 3 +- types/ng-command/tsconfig.json | 3 +- types/ng-cordova/tsconfig.json | 3 +- types/ng-dialog/tsconfig.json | 3 +- types/ng-facebook/tsconfig.json | 3 +- types/ng-file-upload/tsconfig.json | 3 +- types/ng-flow/tsconfig.json | 3 +- types/ng-grid/tsconfig.json | 3 +- types/ng-i18next/tsconfig.json | 3 +- types/ng-notify/tsconfig.json | 3 +- types/ng-stomp/tsconfig.json | 3 +- types/ngbootbox/tsconfig.json | 3 +- types/ngeohash/tsconfig.json | 3 +- types/ngkookies/tsconfig.json | 3 +- types/ngmap/tsconfig.json | 3 +- types/ngprogress-lite/tsconfig.json | 3 +- types/ngprogress/tsconfig.json | 3 +- types/ngreact/tsconfig.json | 1 + types/ngstorage/tsconfig.json | 3 +- types/ngtoaster/tsconfig.json | 3 +- types/ngwysiwyg/tsconfig.json | 3 +- types/nightmare/tsconfig.json | 3 +- types/nightwatch/tsconfig.json | 3 +- types/noble/tsconfig.json | 3 +- types/nock/tsconfig.json | 3 +- types/nodal/tsconfig.json | 3 +- types/node-7z/tsconfig.json | 3 +- types/node-array-ext/tsconfig.json | 3 +- types/node-cache/tsconfig.json | 3 +- types/node-calendar/tsconfig.json | 3 +- types/node-cleanup/tsconfig.json | 3 +- types/node-common-errors/tsconfig.json | 3 +- types/node-config-manager/tsconfig.json | 3 +- types/node-cron/tsconfig.json | 5 +- types/node-dir/tsconfig.json | 3 +- types/node-dogstatsd/tsconfig.json | 3 +- types/node-emoji/tsconfig.json | 3 +- types/node-fetch/tsconfig.json | 3 +- types/node-fibers/tsconfig.json | 3 +- types/node-forge/tsconfig.json | 3 +- types/node-gcm/tsconfig.json | 3 +- types/node-geocoder/tsconfig.json | 3 +- types/node-getopt/tsconfig.json | 3 +- types/node-hid/tsconfig.json | 3 +- types/node-horseman/tsconfig.json | 5 +- types/node-hue-api/tsconfig.json | 3 +- types/node-int64/tsconfig.json | 3 +- types/node-ipc/tsconfig.json | 3 +- types/node-jsfl-runner/tsconfig.json | 3 +- types/node-json-db/tsconfig.json | 3 +- types/node-mysql-wrapper/tsconfig.json | 3 +- types/node-notifier/tsconfig.json | 3 +- types/node-persist/tsconfig.json | 3 +- types/node-polyglot/tsconfig.json | 3 +- types/node-powershell/tsconfig.json | 3 +- types/node-ral/tsconfig.json | 3 +- types/node-red/tsconfig.json | 3 +- types/node-rsa/tsconfig.json | 3 +- types/node-sass-middleware/tsconfig.json | 3 +- types/node-sass/tsconfig.json | 3 +- types/node-schedule/tsconfig.json | 3 +- types/node-slack/tsconfig.json | 3 +- types/node-snap7/tsconfig.json | 3 +- types/node-sprite-generator/tsconfig.json | 3 +- types/node-static/tsconfig.json | 3 +- types/node-statsd/tsconfig.json | 3 +- types/node-telegram-bot-api/tsconfig.json | 3 +- types/node-uuid/tsconfig.json | 3 +- types/node-validator/tsconfig.json | 3 +- types/node-vault/tsconfig.json | 3 +- types/node-wit/tsconfig.json | 3 +- types/node-xmpp-client/tsconfig.json | 3 +- types/node-xmpp-core/tsconfig.json | 3 +- types/node-zookeeper-client/tsconfig.json | 3 +- types/node/tsconfig.json | 3 +- types/node/v0/tsconfig.json | 3 +- types/node/v4/tsconfig.json | 3 +- types/node/v6/tsconfig.json | 3 +- types/node/v7/tsconfig.json | 3 +- types/node/v8/tsconfig.json | 5 +- types/node_redis/tsconfig.json | 3 +- types/nodegit/tsconfig.json | 5 +- .../nodemailer-direct-transport/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../nodemailer-pickup-transport/tsconfig.json | 3 +- types/nodemailer-ses-transport/tsconfig.json | 3 +- types/nodemailer-smtp-pool/tsconfig.json | 3 +- types/nodemailer-smtp-transport/tsconfig.json | 3 +- types/nodemailer-stub-transport/tsconfig.json | 3 +- types/nodemailer/tsconfig.json | 3 +- types/nodemailer/v3/tsconfig.json | 3 +- types/nodeunit/tsconfig.json | 3 +- types/noisejs/tsconfig.json | 3 +- types/nomnom/tsconfig.json | 3 +- types/nopt/tsconfig.json | 3 +- types/normalize-package-data/tsconfig.json | 5 +- types/normalize-url/tsconfig.json | 3 +- types/notie/tsconfig.json | 3 +- types/notify/tsconfig.json | 3 +- types/notifyjs-browser/tsconfig.json | 3 +- types/notifyjs/tsconfig.json | 3 +- types/notyf/tsconfig.json | 5 +- types/nouislider/tsconfig.json | 3 +- types/nouislider/v7/tsconfig.json | 3 +- types/nouislider/v8/tsconfig.json | 3 +- types/novnc-core/tsconfig.json | 3 +- types/npm-package-arg/tsconfig.json | 3 +- types/npm/tsconfig.json | 3 +- types/nprogress/tsconfig.json | 3 +- types/ns-api/tsconfig.json | 3 +- types/nslog/tsconfig.json | 3 +- types/nsqjs/tsconfig.json | 4 +- types/number-is-nan/tsconfig.json | 3 +- types/number-to-words/tsconfig.json | 3 +- types/numeral/tsconfig.json | 3 +- types/numjs/tsconfig.json | 3 +- types/nunjucks-date/tsconfig.json | 3 +- types/nunjucks/tsconfig.json | 5 +- types/nvd3/tsconfig.json | 3 +- types/nw.gui/tsconfig.json | 3 +- types/nw.js/tsconfig.json | 3 +- types/o.js/tsconfig.json | 3 +- types/oauth.js/tsconfig.json | 3 +- types/oauth2-server/tsconfig.json | 1 + types/oauth2orize/tsconfig.json | 3 +- types/obelisk.js/tsconfig.json | 3 +- types/object-assign/tsconfig.json | 3 +- types/object-diff/tsconfig.json | 3 +- types/object-hash/tsconfig.json | 3 +- types/object-inspect/tsconfig.json | 5 +- types/object-map/tsconfig.json | 3 +- types/object-path/tsconfig.json | 3 +- types/object-refs/tsconfig.json | 3 +- types/oblo-util/tsconfig.json | 3 +- types/oboe/tsconfig.json | 3 +- types/observe-js/tsconfig.json | 3 +- types/oclazyload/tsconfig.json | 3 +- types/odata/tsconfig.json | 3 +- types/ofe/tsconfig.json | 3 +- types/office-js/tsconfig.json | 3 +- types/offline-js/tsconfig.json | 3 +- types/oibackoff/tsconfig.json | 3 +- types/oidc-token-manager/tsconfig.json | 3 +- types/ol/tsconfig.json | 5 +- types/on-finished/tsconfig.json | 3 +- types/on-headers/tsconfig.json | 3 +- types/once/tsconfig.json | 3 +- types/onesignal-cordova-plugin/tsconfig.json | 5 +- types/onetime/tsconfig.json | 3 +- types/oniguruma/tsconfig.json | 3 +- types/onoff/tsconfig.json | 3 +- types/open/tsconfig.json | 3 +- types/opener/tsconfig.json | 3 +- types/openfin/tsconfig.json | 3 +- types/openfin/v15/tsconfig.json | 3 +- types/openfin/v16/tsconfig.json | 3 +- types/openjscad/tsconfig.json | 3 +- types/openlayers/tsconfig.json | 3 +- types/openlayers/v2/tsconfig.json | 3 +- types/openlayers/v3/tsconfig.json | 3 +- types/openpgp/tsconfig.json | 3 +- types/openstack-wrapper/tsconfig.json | 3 +- types/opentok/tsconfig.json | 3 +- types/opentype.js/tsconfig.json | 3 +- types/openui5/tsconfig.json | 3 +- types/opn/tsconfig.json | 18 ++++-- types/optics-agent/tsconfig.json | 9 ++- types/optimist/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/ora/tsconfig.json | 3 +- types/ora/v0/tsconfig.json | 3 +- types/oracledb/tsconfig.json | 3 +- types/orchestrator/tsconfig.json | 3 +- types/orderedmap/tsconfig.json | 3 +- types/orientjs/tsconfig.json | 3 +- types/os-homedir/tsconfig.json | 3 +- types/os-locale/tsconfig.json | 3 +- types/os-locale/v1/tsconfig.json | 3 +- types/os-name/tsconfig.json | 3 +- types/os-tmpdir/tsconfig.json | 3 +- types/osmosis/tsconfig.json | 3 +- types/osmtogeojson/tsconfig.json | 3 +- types/osrm/tsconfig.json | 3 +- types/otplib/tsconfig.json | 5 +- .../tsconfig.json | 5 +- types/owl.carousel/tsconfig.json | 3 +- types/owlcarousel/tsconfig.json | 3 +- types/p-all/tsconfig.json | 3 +- types/p-any/tsconfig.json | 3 +- types/p-cancelable/tsconfig.json | 3 +- types/p-debounce/tsconfig.json | 3 +- types/p-defer/tsconfig.json | 3 +- types/p-do-whilst/tsconfig.json | 3 +- types/p-each-series/tsconfig.json | 3 +- types/p-event/tsconfig.json | 3 +- types/p-every/tsconfig.json | 3 +- types/p-lazy/tsconfig.json | 3 +- types/p-limit/tsconfig.json | 3 +- types/p-loading/tsconfig.json | 5 +- types/p-locate/tsconfig.json | 3 +- types/p-log/tsconfig.json | 3 +- types/p-map-series/tsconfig.json | 3 +- types/p-map/tsconfig.json | 3 +- types/p-one/tsconfig.json | 3 +- types/p-props/tsconfig.json | 3 +- types/p-queue/tsconfig.json | 3 +- types/p-reduce/tsconfig.json | 3 +- types/p-reflect/tsconfig.json | 3 +- types/p-retry/tsconfig.json | 3 +- types/p-series/tsconfig.json | 3 +- types/p-settle/tsconfig.json | 3 +- types/p-some/tsconfig.json | 3 +- types/p-tap/tsconfig.json | 3 +- types/p-throttle/tsconfig.json | 3 +- types/p-timeout/tsconfig.json | 3 +- types/p-try/tsconfig.json | 3 +- types/p-wait-for/tsconfig.json | 3 +- types/p-whilst/tsconfig.json | 3 +- types/p2/tsconfig.json | 3 +- types/package-json/tsconfig.json | 5 +- types/packery/tsconfig.json | 3 +- types/pad/tsconfig.json | 3 +- types/page-icon/tsconfig.json | 3 +- types/page/tsconfig.json | 3 +- types/paho-mqtt/tsconfig.json | 3 +- types/pako/tsconfig.json | 3 +- types/pangu/tsconfig.json | 5 +- types/papaparse/tsconfig.json | 3 +- types/paper/tsconfig.json | 3 +- types/paralleljs/tsconfig.json | 3 +- types/parent-package-json/tsconfig.json | 5 +- types/parse-git-config/tsconfig.json | 3 +- types/parse-glob/tsconfig.json | 3 +- types/parse-json/tsconfig.json | 5 +- types/parse-link-header/tsconfig.json | 3 +- types/parse-mockdb/tsconfig.json | 3 +- types/parse-ms/tsconfig.json | 5 +- types/parse-torrent-file/tsconfig.json | 3 +- types/parse-torrent/tsconfig.json | 3 +- types/parse-unit/tsconfig.json | 3 +- types/parse/tsconfig.json | 3 +- types/parseurl/tsconfig.json | 3 +- types/parsimmon/tsconfig.json | 5 +- types/passport-anonymous/tsconfig.json | 3 +- types/passport-beam/tsconfig.json | 3 +- types/passport-discord/tsconfig.json | 3 +- types/passport-facebook-token/tsconfig.json | 3 +- types/passport-facebook/tsconfig.json | 3 +- types/passport-github/tsconfig.json | 3 +- types/passport-github2/tsconfig.json | 3 +- types/passport-google-oauth/tsconfig.json | 18 ++++-- types/passport-google-oauth2/tsconfig.json | 3 +- types/passport-http-bearer/tsconfig.json | 3 +- types/passport-http/tsconfig.json | 3 +- types/passport-jwt/tsconfig.json | 3 +- types/passport-kakao/tsconfig.json | 5 +- types/passport-local-mongoose/tsconfig.json | 3 +- types/passport-local/tsconfig.json | 3 +- types/passport-naver/tsconfig.json | 5 +- .../tsconfig.json | 3 +- types/passport-oauth2/tsconfig.json | 3 +- types/passport-saml/tsconfig.json | 3 +- types/passport-steam/tsconfig.json | 3 +- types/passport-strategy/tsconfig.json | 3 +- types/passport-twitter/tsconfig.json | 3 +- types/passport-unique-token/tsconfig.json | 3 +- types/passport/tsconfig.json | 3 +- types/password-hash-and-salt/tsconfig.json | 3 +- types/password-hash/tsconfig.json | 3 +- types/path-exists/tsconfig.json | 3 +- types/path-exists/v1/tsconfig.json | 3 +- types/path-is-absolute/tsconfig.json | 3 +- types/path-parse/tsconfig.json | 3 +- types/pathfinding/tsconfig.json | 3 +- types/pathjs/tsconfig.json | 3 +- types/pathwatcher/tsconfig.json | 5 +- types/pause/tsconfig.json | 3 +- types/payment/tsconfig.json | 3 +- types/paypal-cordova-plugin/tsconfig.json | 3 +- types/paypal-rest-sdk/tsconfig.json | 3 +- types/pbf/tsconfig.json | 3 +- types/pdfjs-dist/tsconfig.json | 3 +- types/pdfkit/tsconfig.json | 3 +- types/pdfobject/tsconfig.json | 3 +- types/pebblekitjs/tsconfig.json | 3 +- types/peer-dial/tsconfig.json | 3 +- types/peerjs/tsconfig.json | 3 +- types/pegjs/tsconfig.json | 3 +- types/pem/tsconfig.json | 3 +- types/persona/tsconfig.json | 3 +- types/pet-finder-api/tsconfig.json | 3 +- types/pg-ears/tsconfig.json | 3 +- types/pg-escape/tsconfig.json | 3 +- types/pg-pool/tsconfig.json | 3 +- types/pg-query-stream/tsconfig.json | 3 +- types/pg-types/tsconfig.json | 3 +- types/pg/tsconfig.json | 3 +- types/pg/v6/tsconfig.json | 3 +- types/pgwmodal/tsconfig.json | 3 +- types/phantom/tsconfig.json | 3 +- types/phantomcss/tsconfig.json | 3 +- types/phantomjs/tsconfig.json | 3 +- types/phoenix/tsconfig.json | 3 +- types/phone-formatter/tsconfig.json | 3 +- types/phone/tsconfig.json | 3 +- types/phonegap-facebook-plugin/tsconfig.json | 3 +- types/phonegap-nfc/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/phonegap/tsconfig.json | 3 +- types/phonon/tsconfig.json | 3 +- types/photonui/tsconfig.json | 3 +- types/photoswipe/tsconfig.json | 3 +- types/physijs/tsconfig.json | 3 +- types/pi-spi/tsconfig.json | 3 +- types/pick-weight/tsconfig.json | 3 +- types/pickadate/tsconfig.json | 3 +- types/picturefill/tsconfig.json | 3 +- types/pidusage/tsconfig.json | 3 +- types/pify/tsconfig.json | 3 +- types/pigpio/tsconfig.json | 3 +- types/pikaday-time/tsconfig.json | 3 +- types/pikaday/tsconfig.json | 3 +- types/pinkyswear/tsconfig.json | 3 +- types/pino-multi-stream/tsconfig.json | 5 +- types/pino/tsconfig.json | 3 +- types/pino/v3/tsconfig.json | 3 +- types/pinterest-sdk/tsconfig.json | 3 +- types/pinyin/tsconfig.json | 3 +- types/piwik-tracker/tsconfig.json | 3 +- types/pixelmatch/tsconfig.json | 5 +- types/pixi.js/tsconfig.json | 3 +- types/pkg-dir/tsconfig.json | 5 +- types/pkijs/tsconfig.json | 3 +- types/platform/tsconfig.json | 3 +- types/playcanvas/tsconfig.json | 5 +- types/playerframework/tsconfig.json | 3 +- types/pleasejs/tsconfig.json | 3 +- types/plotly.js/tsconfig.json | 3 +- types/plugapi/tsconfig.json | 3 +- types/plugin-error/tsconfig.json | 5 +- types/plupload/tsconfig.json | 3 +- types/pluralize/tsconfig.json | 3 +- types/png-async/tsconfig.json | 3 +- types/pngjs/tsconfig.json | 3 +- types/pngjs2/tsconfig.json | 3 +- types/podcast/tsconfig.json | 3 +- types/podium/tsconfig.json | 3 +- types/point-in-polygon/tsconfig.json | 3 +- types/polylabel/tsconfig.json | 3 +- types/polyline/tsconfig.json | 3 +- types/polymer-ts/tsconfig.json | 3 +- types/polymer/tsconfig.json | 3 +- types/popcorn/tsconfig.json | 3 +- types/portscanner/tsconfig.json | 3 +- types/postal/tsconfig.json | 3 +- types/postal/v0/tsconfig.json | 3 +- types/postmark/tsconfig.json | 3 +- types/pouch-redux-middleware/tsconfig.json | 3 +- types/pouchdb-adapter-fruitdown/tsconfig.json | 3 +- types/pouchdb-adapter-http/tsconfig.json | 3 +- types/pouchdb-adapter-idb/tsconfig.json | 3 +- types/pouchdb-adapter-leveldb/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/pouchdb-adapter-memory/tsconfig.json | 3 +- .../pouchdb-adapter-node-websql/tsconfig.json | 3 +- types/pouchdb-adapter-websql/tsconfig.json | 3 +- types/pouchdb-browser/tsconfig.json | 3 +- types/pouchdb-core/tsconfig.json | 3 +- types/pouchdb-find/tsconfig.json | 3 +- types/pouchdb-http/tsconfig.json | 3 +- types/pouchdb-mapreduce/tsconfig.json | 3 +- types/pouchdb-node/tsconfig.json | 3 +- types/pouchdb-replication/tsconfig.json | 3 +- types/pouchdb-upsert/tsconfig.json | 3 +- types/pouchdb/tsconfig.json | 3 +- types/power-assert-formatter/tsconfig.json | 3 +- types/power-assert/tsconfig.json | 3 +- types/precise/tsconfig.json | 3 +- types/precond/tsconfig.json | 3 +- types/preloadjs/tsconfig.json | 3 +- types/prelude-ls/tsconfig.json | 3 +- types/prettier/tsconfig.json | 3 +- types/pretty-bytes/tsconfig.json | 3 +- types/pretty-format/tsconfig.json | 3 +- types/pretty-ms/tsconfig.json | 3 +- types/prettyjson/tsconfig.json | 3 +- types/printf/tsconfig.json | 3 +- types/priorityqueuejs/tsconfig.json | 3 +- types/prismjs/tsconfig.json | 3 +- types/private-ip/tsconfig.json | 3 +- types/procfs-stats/tsconfig.json | 3 +- types/progress/tsconfig.json | 3 +- types/progressbar/tsconfig.json | 3 +- types/progressjs/tsconfig.json | 3 +- types/proj4/tsconfig.json | 3 +- types/proj4leaflet/tsconfig.json | 3 +- types/project-oxford/tsconfig.json | 3 +- types/promise-dag/tsconfig.json | 3 +- types/promise-pg/tsconfig.json | 3 +- types/promise-polyfill/tsconfig.json | 3 +- types/promise-pool/tsconfig.json | 3 +- types/promise-queue/tsconfig.json | 5 +- types/promise-retry/tsconfig.json | 5 +- types/promise.prototype.finally/tsconfig.json | 3 +- types/promised-temp/tsconfig.json | 3 +- types/promisify-node/tsconfig.json | 3 +- types/promisify-supertest/tsconfig.json | 3 +- types/prompt-sync-history/tsconfig.json | 3 +- types/prompt-sync/tsconfig.json | 3 +- types/promptly/tsconfig.json | 3 +- types/prop-types/tsconfig.json | 1 + types/properties-reader/tsconfig.json | 3 +- types/prosemirror-collab/tsconfig.json | 3 +- types/prosemirror-commands/tsconfig.json | 3 +- types/prosemirror-gapcursor/tsconfig.json | 3 +- types/prosemirror-history/tsconfig.json | 3 +- types/prosemirror-inputrules/tsconfig.json | 3 +- types/prosemirror-keymap/tsconfig.json | 3 +- types/prosemirror-markdown/tsconfig.json | 3 +- types/prosemirror-menu/tsconfig.json | 3 +- types/prosemirror-model/tsconfig.json | 3 +- types/prosemirror-schema-basic/tsconfig.json | 3 +- types/prosemirror-schema-list/tsconfig.json | 3 +- types/prosemirror-state/tsconfig.json | 3 +- types/prosemirror-tables/tsconfig.json | 3 +- types/prosemirror-transform/tsconfig.json | 3 +- types/prosemirror-view/tsconfig.json | 3 +- types/protractor-browser-logs/tsconfig.json | 3 +- types/protractor-helpers/tsconfig.json | 3 +- types/protractor-http-mock/tsconfig.json | 3 +- types/provinces/tsconfig.json | 5 +- types/proxy-addr/tsconfig.json | 3 +- types/proxyquire/tsconfig.json | 3 +- types/pty.js/tsconfig.json | 3 +- types/public-ip/tsconfig.json | 3 +- types/pubnub/tsconfig.json | 45 +++++++------- types/pubsub-js/tsconfig.json | 3 +- types/pug/tsconfig.json | 3 +- types/pulltorefreshjs/tsconfig.json | 3 +- types/pump/tsconfig.json | 3 +- types/pupa/tsconfig.json | 5 +- types/puppeteer/tsconfig.json | 3 +- types/puppeteer/v0/tsconfig.json | 17 +++--- types/pure-render-decorator/tsconfig.json | 3 +- types/purl/tsconfig.json | 3 +- types/pusher-js/tsconfig.json | 3 +- types/pvutils/tsconfig.json | 3 +- types/python-shell/tsconfig.json | 3 +- types/q-io/tsconfig.json | 3 +- types/q-retry/tsconfig.json | 3 +- types/q/tsconfig.json | 3 +- types/q/v0/tsconfig.json | 3 +- types/qhistory/tsconfig.json | 3 +- types/qlik-engineapi/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/qlik/tsconfig.json | 3 +- types/qr-image/tsconfig.json | 3 +- types/qrcode.react/tsconfig.json | 3 +- types/qrcode/tsconfig.json | 3 +- types/qs/tsconfig.json | 3 +- types/qtip2/tsconfig.json | 3 +- types/query-string/tsconfig.json | 3 +- types/quick-lru/tsconfig.json | 3 +- types/quill/tsconfig.json | 3 +- types/quixote/tsconfig.json | 3 +- types/qunit/tsconfig.json | 3 +- types/qunit/v1/tsconfig.json | 3 +- types/quoted-printable/tsconfig.json | 3 +- types/qwest/tsconfig.json | 3 +- types/r-script/tsconfig.json | 3 +- types/rabbit.js/tsconfig.json | 3 +- types/ractive/tsconfig.json | 3 +- types/radium/tsconfig.json | 3 +- types/radius/tsconfig.json | 3 +- types/ramda/tsconfig.json | 3 +- types/random-js/tsconfig.json | 3 +- types/random-seed/tsconfig.json | 3 +- types/random-string/tsconfig.json | 3 +- types/randomcolor/tsconfig.json | 3 +- types/randomstring/tsconfig.json | 3 +- types/range-parser/tsconfig.json | 3 +- types/rangy/tsconfig.json | 3 +- types/rangyinputs/tsconfig.json | 3 +- types/raphael/tsconfig.json | 3 +- types/rappid/tsconfig.json | 3 +- types/raspi-board/tsconfig.json | 3 +- types/raspi-gpio/tsconfig.json | 3 +- types/raspi-i2c/tsconfig.json | 3 +- types/raspi-led/tsconfig.json | 3 +- types/raspi-onewire/tsconfig.json | 3 +- types/raspi-peripheral/tsconfig.json | 3 +- types/raspi-pwm/tsconfig.json | 3 +- types/raspi-serial/tsconfig.json | 3 +- types/raspi-soft-pwm/tsconfig.json | 3 +- types/raspi/tsconfig.json | 3 +- types/ratelimiter/tsconfig.json | 3 +- types/raty/tsconfig.json | 3 +- types/raven-for-redux/tsconfig.json | 5 +- types/raven/tsconfig.json | 3 +- types/raygun4js/tsconfig.json | 3 +- types/rbac-a/tsconfig.json | 5 +- types/rbush/tsconfig.json | 3 +- types/rc-select/tsconfig.json | 3 +- types/rc-slider/tsconfig.json | 1 + types/rc-tooltip/tsconfig.json | 1 + types/rc-tree/tsconfig.json | 3 +- types/rc/tsconfig.json | 3 +- types/rcloader/tsconfig.json | 3 +- types/rdf-data-model/tsconfig.json | 5 +- types/rdf-js/tsconfig.json | 5 +- .../tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/react-addons-perf/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../tsconfig.json | 1 + types/react-addons-test-utils/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/react-addons-update/tsconfig.json | 3 +- types/react-alert/tsconfig.json | 3 +- types/react-alice-carousel/tsconfig.json | 47 +++++++------- types/react-app/tsconfig.json | 3 +- types/react-aria-menubutton/tsconfig.json | 3 +- types/react-autosuggest/tsconfig.json | 3 +- types/react-beautiful-dnd/tsconfig.json | 3 +- types/react-big-calendar/tsconfig.json | 1 + types/react-body-classname/tsconfig.json | 3 +- .../react-bootstrap-date-picker/tsconfig.json | 1 + .../tsconfig.json | 3 +- types/react-bootstrap-table/tsconfig.json | 3 +- types/react-bootstrap-table/v2/tsconfig.json | 5 +- types/react-bootstrap-typeahead/tsconfig.json | 5 +- types/react-bootstrap/tsconfig.json | 1 + types/react-breadcrumbs-dynamic/tsconfig.json | 5 +- types/react-breadcrumbs/tsconfig.json | 1 + types/react-broadcast/tsconfig.json | 41 ++++++++----- types/react-burger-menu/tsconfig.json | 1 + types/react-bytesize-icons/tsconfig.json | 1 + types/react-calendar-heatmap/tsconfig.json | 1 + types/react-calendar-timeline/tsconfig.json | 1 + types/react-cartographer/tsconfig.json | 1 + types/react-click-outside/tsconfig.json | 49 +++++++-------- types/react-codemirror/tsconfig.json | 1 + types/react-collapse/tsconfig.json | 5 +- types/react-color/tsconfig.json | 1 + types/react-confirm/tsconfig.json | 3 +- types/react-content-loader/tsconfig.json | 5 +- types/react-copy-to-clipboard/tsconfig.json | 3 +- types/react-cropper/tsconfig.json | 3 +- types/react-css-modules/tsconfig.json | 1 + .../tsconfig.json | 1 + types/react-custom-scrollbars/tsconfig.json | 1 + .../react-custom-scrollbars/v3/tsconfig.json | 1 + types/react-data-grid/tsconfig.json | 3 +- types/react-data-grid/v1/tsconfig.json | 1 + types/react-datagrid/tsconfig.json | 3 +- types/react-date-range/tsconfig.json | 1 + types/react-datepicker/tsconfig.json | 1 + types/react-daterange-picker/tsconfig.json | 1 + types/react-dates/tsconfig.json | 3 +- types/react-daum-postcode/tsconfig.json | 3 +- types/react-dnd-html5-backend/tsconfig.json | 3 +- types/react-dnd-multi-backend/tsconfig.json | 3 +- types/react-dnd-test-backend/tsconfig.json | 5 +- types/react-dnd-touch-backend/tsconfig.json | 5 +- types/react-dnd/tsconfig.json | 3 +- types/react-document-title/tsconfig.json | 1 + types/react-dom-factories/tsconfig.json | 5 +- types/react-dom/tsconfig.json | 1 + types/react-dom/v15/tsconfig.json | 3 +- types/react-dropzone/tsconfig.json | 3 +- types/react-dropzone/v2/tsconfig.json | 3 +- types/react-dropzone/v3/tsconfig.json | 3 +- types/react-dynamic-number/tsconfig.json | 17 ++++-- types/react-easy-chart/tsconfig.json | 3 +- types/react-event-listener/tsconfig.json | 3 +- types/react-fa/tsconfig.json | 3 +- types/react-facebook-login/tsconfig.json | 3 +- types/react-faux-dom/tsconfig.json | 1 + types/react-file-input/tsconfig.json | 1 + types/react-file-reader-input/tsconfig.json | 1 + types/react-flags-select/tsconfig.json | 5 +- types/react-flatpickr/tsconfig.json | 3 +- types/react-flex/tsconfig.json | 1 + types/react-flexr/tsconfig.json | 1 + types/react-fontawesome/tsconfig.json | 1 + types/react-form/tsconfig.json | 3 +- types/react-form/v1/tsconfig.json | 57 ++++++++--------- types/react-foundation/tsconfig.json | 1 + types/react-geosuggest/tsconfig.json | 3 +- types/react-google-recaptcha/tsconfig.json | 5 +- types/react-gravatar/tsconfig.json | 3 +- types/react-grid-layout/tsconfig.json | 1 + types/react-hamburger-menu/tsconfig.json | 3 +- types/react-helmet/tsconfig.json | 3 +- types/react-helmet/v4/tsconfig.json | 3 +- types/react-highlight-words/tsconfig.json | 3 +- types/react-highlighter/tsconfig.json | 1 + types/react-holder/tsconfig.json | 3 +- types/react-hot-loader/tsconfig.json | 3 +- types/react-hyperscript/tsconfig.json | 5 +- types/react-i18next/tsconfig.json | 4 +- types/react-i18next/v1/tsconfig.json | 1 + types/react-i18next/v4/tsconfig.json | 3 +- types/react-icon-base/tsconfig.json | 1 + types/react-icons/tsconfig.json | 1 + types/react-image-gallery/tsconfig.json | 5 +- types/react-imageloader/tsconfig.json | 1 + types/react-infinite-scroller/tsconfig.json | 3 +- types/react-infinite/tsconfig.json | 3 +- types/react-input-calendar/tsconfig.json | 3 +- types/react-input-mask/tsconfig.json | 3 +- types/react-intl-redux/tsconfig.json | 1 + types/react-intl/tsconfig.json | 5 +- types/react-intl/v1/tsconfig.json | 1 + types/react-is-deprecated/tsconfig.json | 1 + types/react-joyride/tsconfig.json | 3 +- types/react-json-pretty/tsconfig.json | 3 +- types/react-json-tree/tsconfig.json | 1 + types/react-json/tsconfig.json | 1 + types/react-jsonschema-form/tsconfig.json | 1 + types/react-lazyload/tsconfig.json | 1 + types/react-leaflet/tsconfig.json | 3 +- types/react-list/tsconfig.json | 1 + types/react-loadable/tsconfig.json | 3 +- types/react-loader/tsconfig.json | 3 +- types/react-maskedinput/tsconfig.json | 1 + types/react-mce/tsconfig.json | 3 +- types/react-mdl/tsconfig.json | 3 +- types/react-measure/tsconfig.json | 3 +- types/react-mixin/tsconfig.json | 3 +- types/react-modal/tsconfig.json | 3 +- types/react-monaco-editor/tsconfig.json | 1 + types/react-motion-slider/tsconfig.json | 1 + types/react-motion/tsconfig.json | 3 +- types/react-native-collapsible/tsconfig.json | 1 + .../react-native-communications/tsconfig.json | 1 + types/react-native-datepicker/tsconfig.json | 1 + types/react-native-doc-viewer/tsconfig.json | 1 + .../tsconfig.json | 1 + .../react-native-drawer-layout/tsconfig.json | 1 + types/react-native-drawer/tsconfig.json | 1 + types/react-native-fabric/tsconfig.json | 5 +- types/react-native-fbsdk/tsconfig.json | 1 + types/react-native-fetch-blob/tsconfig.json | 3 +- types/react-native-fs/tsconfig.json | 3 +- .../react-native-google-signin/tsconfig.json | 3 +- types/react-native-keep-awake/tsconfig.json | 1 + .../tsconfig.json | 3 +- .../tsconfig.json | 1 + types/react-native-material-kit/tsconfig.json | 1 + types/react-native-material-ui/tsconfig.json | 1 + types/react-native-mixpanel/tsconfig.json | 3 +- types/react-native-modalbox/tsconfig.json | 1 + types/react-native-navigation/tsconfig.json | 3 +- types/react-native-orientation/tsconfig.json | 3 +- types/react-native-popup-dialog/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/react-native-qrcode/tsconfig.json | 1 + types/react-native-safari-view/tsconfig.json | 1 + .../tsconfig.json | 1 + .../react-native-sensor-manager/tsconfig.json | 3 +- .../react-native-snap-carousel/tsconfig.json | 1 + .../react-native-sortable-grid/tsconfig.json | 5 +- .../react-native-sortable-list/tsconfig.json | 1 + types/react-native-svg-uri/tsconfig.json | 1 + types/react-native-swiper/tsconfig.json | 1 + .../react-native-tab-navigator/tsconfig.json | 1 + types/react-native-tab-view/tsconfig.json | 40 +++++++----- types/react-native-touch-id/tsconfig.json | 3 +- types/react-native-vector-icons/tsconfig.json | 1 + types/react-native-video/tsconfig.json | 1 + types/react-native/tsconfig.json | 3 +- types/react-navigation/tsconfig.json | 3 +- .../tsconfig.json | 1 + types/react-notification-system/tsconfig.json | 1 + types/react-numeric-input/tsconfig.json | 5 +- types/react-onclickoutside/tsconfig.json | 1 + types/react-onclickoutside/v5/tsconfig.json | 1 + types/react-onsenui/tsconfig.json | 1 + types/react-overlays/tsconfig.json | 1 + types/react-paginate/tsconfig.json | 1 + types/react-pointable/tsconfig.json | 3 +- types/react-portal/tsconfig.json | 1 + types/react-props-decorators/tsconfig.json | 3 +- types/react-recaptcha/tsconfig.json | 3 +- types/react-redux-i18n/tsconfig.json | 1 + types/react-redux-toastr/tsconfig.json | 3 +- types/react-redux/tsconfig.json | 3 +- types/react-relay/tsconfig.json | 3 +- types/react-resolver/tsconfig.json | 3 +- types/react-responsive/tsconfig.json | 3 +- types/react-responsive/v1/tsconfig.json | 3 +- types/react-router-bootstrap/tsconfig.json | 3 +- types/react-router-config/tsconfig.json | 1 + types/react-router-dom/tsconfig.json | 1 + types/react-router-native/tsconfig.json | 1 + .../tsconfig.json | 17 ++++-- types/react-router-navigation/tsconfig.json | 17 ++++-- types/react-router-redux/tsconfig.json | 3 +- types/react-router-redux/v3/tsconfig.json | 3 +- types/react-router-redux/v4/tsconfig.json | 3 +- types/react-router/tsconfig.json | 3 +- types/react-router/v2/tsconfig.json | 3 +- types/react-router/v3/tsconfig.json | 3 +- types/react-s-alert/tsconfig.json | 5 +- types/react-scroll/tsconfig.json | 3 +- types/react-scrollbar/tsconfig.json | 3 +- types/react-select/tsconfig.json | 3 +- types/react-side-effect/tsconfig.json | 3 +- types/react-sidebar/tsconfig.json | 3 +- types/react-sketchapp/tsconfig.json | 1 + types/react-slick/tsconfig.json | 3 +- types/react-smooth-scrollbar/tsconfig.json | 3 +- types/react-sortable-hoc/tsconfig.json | 3 +- types/react-sortable-pane/tsconfig.json | 3 +- types/react-sortable-tree/tsconfig.json | 3 +- types/react-spinkit/tsconfig.json | 3 +- types/react-spinkit/v1/tsconfig.json | 3 +- types/react-sticky/tsconfig.json | 3 +- types/react-stripe-elements/tsconfig.json | 3 +- types/react-svg-pan-zoom/tsconfig.json | 3 +- types/react-swf/tsconfig.json | 3 +- types/react-swipe/tsconfig.json | 3 +- types/react-swipeable-views/tsconfig.json | 3 +- types/react-swipeable/tsconfig.json | 3 +- types/react-syntax-highlighter/tsconfig.json | 1 + types/react-table/tsconfig.json | 3 +- types/react-tabs/tsconfig.json | 3 +- types/react-tag-input/tsconfig.json | 3 +- types/react-tagcloud/tsconfig.json | 3 +- types/react-tagsinput/tsconfig.json | 3 +- types/react-tap-event-plugin/tsconfig.json | 3 +- types/react-test-renderer/tsconfig.json | 3 +- types/react-test-renderer/v15/tsconfig.json | 5 +- types/react-tether/tsconfig.json | 3 +- types/react-textarea-autosize/tsconfig.json | 1 + types/react-toastr/tsconfig.json | 3 +- types/react-toggle/tsconfig.json | 1 + types/react-toggle/v2/tsconfig.json | 1 + types/react-tooltip/tsconfig.json | 3 +- types/react-touch/tsconfig.json | 3 +- types/react-tracking/tsconfig.json | 1 + types/react-transition-group/tsconfig.json | 3 +- types/react-transition-group/v1/tsconfig.json | 3 +- types/react-treeview/tsconfig.json | 3 +- types/react-truncate/tsconfig.json | 3 +- types/react-user-tour/tsconfig.json | 1 + types/react-virtual-keyboard/tsconfig.json | 3 +- types/react-virtualized-select/tsconfig.json | 3 +- types/react-virtualized/tsconfig.json | 3 +- types/react-weui/tsconfig.json | 3 +- types/react-widgets-moment/tsconfig.json | 5 +- types/react-widgets/tsconfig.json | 3 +- types/react-youtube/tsconfig.json | 3 +- types/react/tsconfig.json | 1 + types/react/v15/tsconfig.json | 1 + types/reactable/tsconfig.json | 1 + types/reactcss/tsconfig.json | 1 + types/reactstrap/tsconfig.json | 3 +- types/reactstrap/v4/tsconfig.json | 7 ++- types/read-chunk/tsconfig.json | 3 +- types/read-package-tree/tsconfig.json | 3 +- types/read-pkg-up/tsconfig.json | 3 +- types/read-pkg/tsconfig.json | 5 +- types/read/tsconfig.json | 3 +- types/readdir-enhanced/tsconfig.json | 5 +- types/readdir-stream/tsconfig.json | 3 +- types/readline-sync/tsconfig.json | 3 +- types/reapop/tsconfig.json | 1 + types/rebass/tsconfig.json | 3 +- types/recase/tsconfig.json | 3 +- types/recharts/tsconfig.json | 3 +- types/recompose/tsconfig.json | 3 +- types/reconnectingwebsocket/tsconfig.json | 3 +- types/recursive-readdir/tsconfig.json | 3 +- types/recursive-readdir/v1/tsconfig.json | 3 +- types/redis-errors/tsconfig.json | 5 +- types/redis-mock/tsconfig.json | 3 +- types/redis-rate-limiter/tsconfig.json | 3 +- types/redis-scripto/tsconfig.json | 3 +- types/redis/tsconfig.json | 5 +- types/redlock/tsconfig.json | 3 +- types/redlock/v2/tsconfig.json | 3 +- types/redom/tsconfig.json | 5 +- types/reduce-reducers/tsconfig.json | 3 +- types/redux-action-utils/tsconfig.json | 3 +- types/redux-action/tsconfig.json | 3 +- types/redux-actions/tsconfig.json | 3 +- types/redux-auth-wrapper/tsconfig.json | 1 + types/redux-auth-wrapper/v1/tsconfig.json | 1 + types/redux-batched-subscribe/tsconfig.json | 3 +- types/redux-debounced/tsconfig.json | 3 +- .../redux-devtools-dock-monitor/tsconfig.json | 3 +- .../redux-devtools-log-monitor/tsconfig.json | 3 +- types/redux-devtools/tsconfig.json | 3 +- types/redux-doghouse/tsconfig.json | 3 +- types/redux-first-router-link/tsconfig.json | 1 + types/redux-first-router/tsconfig.json | 3 +- types/redux-form/tsconfig.json | 5 +- types/redux-form/v4/tsconfig.json | 1 + types/redux-form/v6/tsconfig.json | 5 +- .../tsconfig.json | 3 +- types/redux-immutable/tsconfig.json | 3 +- types/redux-infinite-scroll/tsconfig.json | 3 +- types/redux-injectable-store/tsconfig.json | 5 +- types/redux-little-router/tsconfig.json | 3 +- .../redux-localstorage-debounce/tsconfig.json | 3 +- types/redux-localstorage-filter/tsconfig.json | 3 +- types/redux-localstorage/tsconfig.json | 3 +- types/redux-logger/tsconfig.json | 19 ++++-- types/redux-mock-store/tsconfig.json | 3 +- types/redux-optimistic-ui/tsconfig.json | 3 +- types/redux-pack/tsconfig.json | 3 +- .../tsconfig.json | 1 + .../tsconfig.json | 1 + types/redux-promise-middleware/tsconfig.json | 3 +- types/redux-promise/tsconfig.json | 3 +- types/redux-recycle/tsconfig.json | 3 +- types/redux-router/tsconfig.json | 3 +- types/redux-socket.io/tsconfig.json | 5 +- .../redux-storage-engine-jsurl/tsconfig.json | 3 +- .../tsconfig.json | 45 +++++++------- types/redux-storage/tsconfig.json | 3 +- types/redux-ui/tsconfig.json | 1 + types/ref-array/tsconfig.json | 3 +- types/ref-struct/tsconfig.json | 3 +- types/ref-union/tsconfig.json | 3 +- types/ref/tsconfig.json | 3 +- types/reflux/tsconfig.json | 3 +- types/relateurl/tsconfig.json | 3 +- types/relaxed-json/tsconfig.json | 3 +- types/relay-runtime/tsconfig.json | 5 +- types/remote-redux-devtools/tsconfig.json | 3 +- types/remove-markdown/tsconfig.json | 3 +- types/replace-ext/tsconfig.json | 3 +- types/request-ip/tsconfig.json | 3 +- types/request-promise-native/tsconfig.json | 3 +- types/request-promise/tsconfig.json | 3 +- types/request/tsconfig.json | 5 +- types/requestretry/tsconfig.json | 3 +- types/require-dir/tsconfig.json | 5 +- types/require-directory/tsconfig.json | 3 +- types/require-from-string/tsconfig.json | 3 +- types/require-relative/tsconfig.json | 5 +- types/requirejs-domready/tsconfig.json | 3 +- types/requirejs/tsconfig.json | 3 +- types/resemblejs/tsconfig.json | 3 +- types/resolve-from/tsconfig.json | 3 +- types/resolve/tsconfig.json | 3 +- types/resourcejs/tsconfig.json | 11 ++-- types/response-time/tsconfig.json | 3 +- types/rest/tsconfig.json | 3 +- types/restangular/tsconfig.json | 3 +- types/restful.js/tsconfig.json | 3 +- types/restify-cookies/tsconfig.json | 5 +- types/restify-cors-middleware/tsconfig.json | 3 +- types/restify-errors/tsconfig.json | 3 +- types/restify-plugins/tsconfig.json | 3 +- types/restify/tsconfig.json | 3 +- types/restify/v4/tsconfig.json | 3 +- types/restler/tsconfig.json | 3 +- types/restling/tsconfig.json | 3 +- types/resumablejs/tsconfig.json | 3 +- types/rethinkdb/tsconfig.json | 3 +- types/retry/tsconfig.json | 3 +- types/rev-hash/tsconfig.json | 3 +- types/revalidate/tsconfig.json | 3 +- types/revalidator/tsconfig.json | 3 +- types/reveal/tsconfig.json | 3 +- types/rewire/tsconfig.json | 3 +- types/rfc2047/tsconfig.json | 3 +- types/rheostat/tsconfig.json | 3 +- types/rickshaw/tsconfig.json | 3 +- types/rimraf/tsconfig.json | 3 +- types/riot-api-nodejs/tsconfig.json | 3 +- types/riot-games-api/tsconfig.json | 3 +- types/riot/tsconfig.json | 3 +- types/riotcontrol/tsconfig.json | 3 +- types/riotjs/tsconfig.json | 3 +- types/rison/tsconfig.json | 3 +- types/rivets/tsconfig.json | 3 +- types/rollup-plugin-json/tsconfig.json | 5 +- types/ronomon__crypto-async/tsconfig.json | 3 +- types/rosie/tsconfig.json | 3 +- types/roslib/tsconfig.json | 3 +- types/rot-js/tsconfig.json | 3 +- types/route-parser/tsconfig.json | 3 +- types/routie/tsconfig.json | 3 +- types/royalslider/tsconfig.json | 3 +- types/rpio/tsconfig.json | 3 +- types/rrc/tsconfig.json | 3 +- types/rrule/tsconfig.json | 3 +- types/rsmq-worker/tsconfig.json | 3 +- types/rsmq/tsconfig.json | 3 +- types/rss/tsconfig.json | 3 +- types/rsvp/tsconfig.json | 19 ++++-- types/rsync/tsconfig.json | 3 +- types/rtree/tsconfig.json | 3 +- types/run-sequence/tsconfig.json | 3 +- types/rwlock/tsconfig.json | 3 +- types/rx-angular/tsconfig.json | 3 +- types/rx-core-binding/tsconfig.json | 3 +- types/rx-core/tsconfig.json | 3 +- types/rx-dom/tsconfig.json | 3 +- types/rx-jquery/tsconfig.json | 3 +- types/rx-lite-aggregates/tsconfig.json | 3 +- types/rx-lite-async/tsconfig.json | 3 +- types/rx-lite-backpressure/tsconfig.json | 3 +- types/rx-lite-coincidence/tsconfig.json | 3 +- types/rx-lite-experimental/tsconfig.json | 3 +- types/rx-lite-joinpatterns/tsconfig.json | 3 +- types/rx-lite-testing/tsconfig.json | 3 +- types/rx-lite-time/tsconfig.json | 3 +- types/rx-lite-virtualtime/tsconfig.json | 3 +- types/rx-lite/tsconfig.json | 3 +- types/rx-node/tsconfig.json | 3 +- types/rx.wamp/tsconfig.json | 3 +- types/rx/tsconfig.json | 3 +- types/s3-upload-stream/tsconfig.json | 3 +- types/s3-uploader/tsconfig.json | 3 +- types/s3rver/tsconfig.json | 3 +- types/safari-extension-content/tsconfig.json | 3 +- types/safari-extension/tsconfig.json | 3 +- types/safe-compare/tsconfig.json | 5 +- types/safe-json-stringify/tsconfig.json | 3 +- types/safe-regex/tsconfig.json | 3 +- types/sails.io.js/tsconfig.json | 3 +- types/saml2-js/tsconfig.json | 3 +- types/saml20/tsconfig.json | 3 +- types/samlp/tsconfig.json | 3 +- types/sammy/tsconfig.json | 3 +- types/sanctuary/tsconfig.json | 5 +- types/sandboxed-module/tsconfig.json | 3 +- types/sane/tsconfig.json | 3 +- types/sanitize-filename/tsconfig.json | 3 +- types/sanitize-html/tsconfig.json | 3 +- types/sanitizer/tsconfig.json | 3 +- types/sap__xsenv/tsconfig.json | 3 +- types/sass-graph/tsconfig.json | 3 +- types/sat/tsconfig.json | 5 +- types/satnav/tsconfig.json | 3 +- types/sax/tsconfig.json | 3 +- types/saywhen/tsconfig.json | 1 + types/scalike/tsconfig.json | 3 +- types/screenfull/tsconfig.json | 3 +- types/screeps-profiler/tsconfig.json | 3 +- types/screeps/tsconfig.json | 5 +- types/scriptjs/tsconfig.json | 3 +- types/scroll-into-view/tsconfig.json | 3 +- types/scroller/tsconfig.json | 3 +- types/scrollreveal/tsconfig.json | 3 +- types/scrolltofixed/tsconfig.json | 3 +- types/scrypt-async/tsconfig.json | 3 +- types/scryptsy/tsconfig.json | 5 +- types/seamless-immutable/tsconfig.json | 3 +- types/seamless/tsconfig.json | 3 +- types/seedrandom/tsconfig.json | 3 +- types/segment-analytics/tsconfig.json | 3 +- types/select2/tsconfig.json | 3 +- types/selectables/tsconfig.json | 5 +- types/selectize/tsconfig.json | 3 +- types/selenium-webdriver/tsconfig.json | 3 +- types/selenium-webdriver/v2/tsconfig.json | 3 +- types/semantic-ui-accordion/tsconfig.json | 3 +- types/semantic-ui-api/tsconfig.json | 3 +- types/semantic-ui-checkbox/tsconfig.json | 3 +- types/semantic-ui-dimmer/tsconfig.json | 3 +- types/semantic-ui-dropdown/tsconfig.json | 3 +- types/semantic-ui-embed/tsconfig.json | 3 +- types/semantic-ui-form/tsconfig.json | 3 +- types/semantic-ui-modal/tsconfig.json | 3 +- types/semantic-ui-nag/tsconfig.json | 3 +- types/semantic-ui-popup/tsconfig.json | 3 +- types/semantic-ui-progress/tsconfig.json | 3 +- types/semantic-ui-rating/tsconfig.json | 3 +- types/semantic-ui-search/tsconfig.json | 3 +- types/semantic-ui-shape/tsconfig.json | 3 +- types/semantic-ui-sidebar/tsconfig.json | 3 +- types/semantic-ui-site/tsconfig.json | 3 +- types/semantic-ui-sticky/tsconfig.json | 3 +- types/semantic-ui-tab/tsconfig.json | 3 +- types/semantic-ui-transition/tsconfig.json | 3 +- types/semantic-ui-visibility/tsconfig.json | 3 +- types/semantic-ui/tsconfig.json | 3 +- types/semaphore/tsconfig.json | 3 +- types/semver-compare/tsconfig.json | 3 +- types/semver-diff/tsconfig.json | 3 +- types/semver/tsconfig.json | 3 +- types/sencha_touch/tsconfig.json | 3 +- types/send/tsconfig.json | 3 +- types/seneca/tsconfig.json | 3 +- types/sequelize-fixtures/tsconfig.json | 3 +- types/sequelize/tsconfig.json | 3 +- types/sequelize/v3/tsconfig.json | 3 +- types/sequencify/tsconfig.json | 3 +- types/sequester/tsconfig.json | 3 +- types/serialize-javascript/tsconfig.json | 3 +- types/serialport/tsconfig.json | 3 +- types/serialport/v4/tsconfig.json | 7 ++- types/serve-favicon/tsconfig.json | 3 +- types/serve-index/tsconfig.json | 3 +- types/serve-static/tsconfig.json | 3 +- types/server-destroy/tsconfig.json | 3 +- types/session-file-store/tsconfig.json | 3 +- types/set-cookie-parser/tsconfig.json | 3 +- types/sha1/tsconfig.json | 3 +- types/shallowequal/tsconfig.json | 3 +- types/shapefile/tsconfig.json | 3 +- types/sharedworker/tsconfig.json | 3 +- types/sharepoint/tsconfig.json | 3 +- types/sharp/tsconfig.json | 3 +- types/sheetify/tsconfig.json | 3 +- types/shell-escape/tsconfig.json | 3 +- types/shell-quote/tsconfig.json | 3 +- types/shelljs/tsconfig.json | 3 +- types/shimmer/tsconfig.json | 3 +- types/shipit-utils/tsconfig.json | 3 +- types/shipit/tsconfig.json | 3 +- types/shopify-buy/tsconfig.json | 3 +- types/shortid/tsconfig.json | 3 +- types/shot/tsconfig.json | 3 +- types/showdown/tsconfig.json | 3 +- types/shrink-ray/tsconfig.json | 5 +- types/shuffle-array/tsconfig.json | 3 +- types/siema/tsconfig.json | 5 +- types/siesta/tsconfig.json | 3 +- types/sigmajs/tsconfig.json | 3 +- types/sigmund/tsconfig.json | 3 +- types/signalr-no-jquery/tsconfig.json | 3 +- types/signalr/tsconfig.json | 3 +- types/signalr/v1/tsconfig.json | 3 +- types/signals/tsconfig.json | 3 +- types/signature_pad/tsconfig.json | 3 +- types/simple-assign/tsconfig.json | 3 +- types/simple-cw-node/tsconfig.json | 3 +- types/simple-lru/tsconfig.json | 3 +- types/simple-mock/tsconfig.json | 3 +- types/simple-oauth2/tsconfig.json | 3 +- types/simple-peer/tsconfig.json | 3 +- types/simple-url-cache/tsconfig.json | 3 +- types/simple-xml/tsconfig.json | 3 +- types/simplebar/tsconfig.json | 3 +- types/simplebar/v1/tsconfig.json | 3 +- types/simplemde/tsconfig.json | 3 +- types/simplesmtp/tsconfig.json | 3 +- types/simplestorage.js/tsconfig.json | 3 +- types/sinon-as-promised/tsconfig.json | 3 +- types/sinon-chai/tsconfig.json | 3 +- types/sinon-chrome/tsconfig.json | 3 +- types/sinon-express-mock/tsconfig.json | 3 +- types/sinon-mongoose/tsconfig.json | 3 +- types/sinon-stub-promise/tsconfig.json | 3 +- types/sinon-test/tsconfig.json | 3 +- types/sinon/tsconfig.json | 3 +- types/sip.js/tsconfig.json | 3 +- types/sipml/tsconfig.json | 3 +- types/sitemap2/tsconfig.json | 3 +- types/sizzle/tsconfig.json | 3 +- types/sjcl/tsconfig.json | 3 +- types/skatejs/tsconfig.json | 3 +- types/ski/tsconfig.json | 3 +- types/skyway/tsconfig.json | 3 +- types/slack-node/tsconfig.json | 3 +- types/slack-winston/tsconfig.json | 3 +- types/slackify-html/tsconfig.json | 3 +- types/slate-irc/tsconfig.json | 3 +- types/sleep/tsconfig.json | 3 +- types/slick-carousel/tsconfig.json | 3 +- types/slickgrid/tsconfig.json | 3 +- types/slideout/tsconfig.json | 3 +- types/slimerjs/tsconfig.json | 3 +- types/slocket/tsconfig.json | 3 +- types/slug/tsconfig.json | 3 +- types/smart-fox-server/tsconfig.json | 3 +- types/smoothscroll-polyfill/tsconfig.json | 3 +- types/smtp-server/tsconfig.json | 3 +- types/smtp-server/v1/tsconfig.json | 3 +- types/smtpapi/tsconfig.json | 3 +- types/snapsvg/tsconfig.json | 3 +- types/snazzy-info-window/tsconfig.json | 3 +- types/snekfetch/tsconfig.json | 3 +- types/snoowrap/tsconfig.json | 1 + types/snowboy/tsconfig.json | 3 +- types/socket.io-client/tsconfig.json | 3 +- types/socket.io-parser/tsconfig.json | 3 +- types/socket.io-redis/tsconfig.json | 3 +- types/socket.io.users/tsconfig.json | 3 +- types/socket.io/tsconfig.json | 3 +- types/socketio-jwt-auth/tsconfig.json | 3 +- types/socketio-wildcard/tsconfig.json | 3 +- types/socketty/tsconfig.json | 3 +- types/sockjs-client/tsconfig.json | 3 +- types/sockjs/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/sort-array/tsconfig.json | 5 +- types/sortablejs/tsconfig.json | 3 +- types/soundjs/tsconfig.json | 3 +- types/soundmanager2/tsconfig.json | 3 +- types/source-list-map/tsconfig.json | 3 +- types/source-map-support/tsconfig.json | 3 +- types/space-pen/tsconfig.json | 3 +- types/spark-md5/tsconfig.json | 3 +- types/sparkly/tsconfig.json | 3 +- types/sparkpost/tsconfig.json | 3 +- types/sparkpost/v1/tsconfig.json | 3 +- types/sparqljs/tsconfig.json | 3 +- types/spatialite/tsconfig.json | 3 +- types/spdx-correct/tsconfig.json | 5 +- types/spdx-satisfies/tsconfig.json | 5 +- types/spdy/tsconfig.json | 3 +- types/speakeasy/tsconfig.json | 3 +- types/speakingurl/tsconfig.json | 3 +- types/spectacle/tsconfig.json | 1 + types/spectrum/tsconfig.json | 3 +- types/split.js/tsconfig.json | 3 +- types/split/tsconfig.json | 3 +- types/split2/tsconfig.json | 3 +- types/spotify-api/tsconfig.json | 3 +- types/spotify-web-playback-sdk/tsconfig.json | 5 +- types/sprintf-js/tsconfig.json | 3 +- types/sprintf/tsconfig.json | 3 +- types/sql.js/tsconfig.json | 3 +- types/sqlite3/tsconfig.json | 3 +- types/sqlstring/tsconfig.json | 3 +- types/sqs-consumer/tsconfig.json | 3 +- types/sqs-producer/tsconfig.json | 3 +- types/squirejs/tsconfig.json | 3 +- types/srp/tsconfig.json | 3 +- types/ssh-key-decrypt/tsconfig.json | 3 +- types/ssh2-sftp-client/tsconfig.json | 3 +- types/ssh2-streams/tsconfig.json | 3 +- types/ssh2/tsconfig.json | 3 +- types/sshpk/tsconfig.json | 3 +- types/stack-mapper/tsconfig.json | 3 +- types/stack-trace/tsconfig.json | 3 +- types/stack-utils/tsconfig.json | 3 +- types/stacktrace-js/tsconfig.json | 3 +- types/stale-lru-cache/tsconfig.json | 3 +- types/stampit/tsconfig.json | 3 +- types/stamplay-js-sdk/tsconfig.json | 3 +- types/stat-mode/tsconfig.json | 3 +- types/static-eval/tsconfig.json | 3 +- types/stats.js/tsconfig.json | 3 +- types/statsd-client/tsconfig.json | 3 +- types/statuses/tsconfig.json | 3 +- types/std-mocks/tsconfig.json | 5 +- types/steam/tsconfig.json | 3 +- types/steed/tsconfig.json | 3 +- types/stemmer/tsconfig.json | 5 +- types/sticky-cluster/tsconfig.json | 5 +- types/stompjs/tsconfig.json | 3 +- types/stoppable/tsconfig.json | 3 +- types/storejs/tsconfig.json | 3 +- types/storejs/v1/tsconfig.json | 3 +- types/storybook__addon-a11y/tsconfig.json | 61 ++++++++++--------- types/storybook__addon-actions/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/storybook__addon-info/tsconfig.json | 5 +- types/storybook__addon-knobs/tsconfig.json | 3 +- types/storybook__addon-links/tsconfig.json | 3 +- types/storybook__addon-notes/tsconfig.json | 3 +- types/storybook__addon-options/tsconfig.json | 3 +- types/storybook__react/tsconfig.json | 3 +- types/storybook__vue/tsconfig.json | 3 +- types/stream-buffers/tsconfig.json | 3 +- types/stream-meter/tsconfig.json | 3 +- types/stream-series/tsconfig.json | 3 +- types/stream-to-array/tsconfig.json | 3 +- types/stream-to-array/v0/tsconfig.json | 3 +- types/streaming-json-stringify/tsconfig.json | 3 +- types/streamjs/tsconfig.json | 3 +- types/strftime/tsconfig.json | 3 +- types/string-hash/tsconfig.json | 3 +- types/string-similarity/tsconfig.json | 3 +- types/string-template/tsconfig.json | 3 +- types/string/tsconfig.json | 3 +- types/string_score/tsconfig.json | 3 +- types/stringify-object/tsconfig.json | 3 +- types/strip-ansi/tsconfig.json | 3 +- types/strip-bom/tsconfig.json | 3 +- types/strip-json-comments/tsconfig.json | 3 +- types/stripe-checkout/tsconfig.json | 3 +- types/stripe-v2/tsconfig.json | 3 +- types/stripe-v3/tsconfig.json | 3 +- types/stripe/tsconfig.json | 3 +- types/strong-cluster-control/tsconfig.json | 3 +- types/strophe/tsconfig.json | 3 +- types/styled-jsx/tsconfig.json | 3 +- types/stylelint-webpack-plugin/tsconfig.json | 3 +- types/stylelint/tsconfig.json | 3 +- types/stylus/tsconfig.json | 3 +- types/subsume/tsconfig.json | 3 +- types/succinct/tsconfig.json | 3 +- types/sudo-block/tsconfig.json | 3 +- types/suitescript/tsconfig.json | 3 +- types/sumo-logger/tsconfig.json | 3 +- types/superagent-no-cache/tsconfig.json | 3 +- types/superagent-prefix/tsconfig.json | 3 +- types/superagent/tsconfig.json | 3 +- types/superagent/v2/tsconfig.json | 3 +- types/supercluster/tsconfig.json | 3 +- types/supertest-as-promised/tsconfig.json | 3 +- types/supertest/tsconfig.json | 3 +- types/supports-color/tsconfig.json | 3 +- types/svg-injector/tsconfig.json | 3 +- types/svg-parser/tsconfig.json | 5 +- types/svg-sprite/tsconfig.json | 3 +- types/svg2png/tsconfig.json | 3 +- types/svg4everybody/tsconfig.json | 3 +- types/svgjs.draggable/tsconfig.json | 3 +- types/svgjs.resize/tsconfig.json | 3 +- types/svgo/tsconfig.json | 5 +- types/swag/tsconfig.json | 3 +- .../swagger-express-middleware/tsconfig.json | 3 +- types/swagger-express-mw/tsconfig.json | 9 ++- types/swagger-hapi/tsconfig.json | 9 ++- types/swagger-jsdoc/tsconfig.json | 3 +- types/swagger-node-runner/tsconfig.json | 9 ++- types/swagger-parser/tsconfig.json | 3 +- types/swagger-restify-mw/tsconfig.json | 9 ++- types/swagger-sails-hook/tsconfig.json | 9 ++- types/swagger-schema-official/tsconfig.json | 3 +- types/swagger-tools/tsconfig.json | 3 +- types/swaggerize-express/tsconfig.json | 3 +- types/swfobject/tsconfig.json | 3 +- types/swiftclick/tsconfig.json | 3 +- types/swig-email-templates/tsconfig.json | 5 +- types/swig/tsconfig.json | 3 +- types/swipe/tsconfig.json | 3 +- types/swiper/tsconfig.json | 3 +- types/swiper/v2/tsconfig.json | 3 +- types/swipeview/tsconfig.json | 3 +- types/switchery/tsconfig.json | 3 +- types/swiz/tsconfig.json | 3 +- types/sylvester/tsconfig.json | 3 +- types/synaptic/tsconfig.json | 3 +- types/systeminformation/tsconfig.json | 3 +- types/systemjs/tsconfig.json | 3 +- types/table/tsconfig.json | 3 +- types/tabris-plugin-firebase/tsconfig.json | 5 +- types/tabtab/tsconfig.json | 3 +- types/tabulator/tsconfig.json | 3 +- types/tapable/tsconfig.json | 3 +- types/tape/tsconfig.json | 3 +- types/tar/tsconfig.json | 3 +- types/tcp-ping/tsconfig.json | 5 +- types/tea-merge/tsconfig.json | 3 +- types/tedious-connection-pool/tsconfig.json | 3 +- types/tedious/tsconfig.json | 3 +- types/teechart/tsconfig.json | 3 +- types/telebot/tsconfig.json | 3 +- types/temp-fs/tsconfig.json | 3 +- types/temp-write/tsconfig.json | 3 +- types/temp/tsconfig.json | 3 +- types/tempfile/tsconfig.json | 3 +- types/tempy/tsconfig.json | 3 +- types/terminal-menu/tsconfig.json | 3 +- types/tesseract.js/tsconfig.json | 3 +- types/testingbot-api/tsconfig.json | 3 +- types/tether-drop/tsconfig.json | 3 +- types/tether-shepherd/tsconfig.json | 3 +- types/tether/tsconfig.json | 3 +- types/text-buffer/tsconfig.json | 5 +- types/text-encoding-utf-8/tsconfig.json | 3 +- types/text-encoding/tsconfig.json | 3 +- types/three/tsconfig.json | 5 +- types/thrift/tsconfig.json | 3 +- types/throng/tsconfig.json | 3 +- types/throttle-debounce/tsconfig.json | 3 +- types/throttle/tsconfig.json | 3 +- types/through/tsconfig.json | 3 +- types/through2-map/tsconfig.json | 3 +- types/through2/tsconfig.json | 3 +- types/through2/v0/tsconfig.json | 3 +- types/tile-reduce/tsconfig.json | 3 +- types/tilebelt/tsconfig.json | 3 +- types/time-span/tsconfig.json | 3 +- types/timelinejs/tsconfig.json | 3 +- types/timelinejs3/tsconfig.json | 3 +- types/timer-machine/tsconfig.json | 3 +- types/timezone-js/tsconfig.json | 3 +- types/tinder/tsconfig.json | 3 +- types/tinycolor2/tsconfig.json | 3 +- types/tinycopy/tsconfig.json | 3 +- types/tinymce/tsconfig.json | 3 +- types/titanium/tsconfig.json | 3 +- types/title/tsconfig.json | 3 +- types/tldjs/tsconfig.json | 3 +- types/tmp/tsconfig.json | 3 +- types/to-absolute-glob/tsconfig.json | 5 +- types/to-camel-case/tsconfig.json | 3 +- types/to-markdown/tsconfig.json | 3 +- types/to-title-case-gouch/tsconfig.json | 3 +- types/toastr/tsconfig.json | 3 +- types/tocktimer/tsconfig.json | 3 +- types/tooltipster/tsconfig.json | 3 +- types/topojson/tsconfig.json | 3 +- types/torrent-stream/tsconfig.json | 3 +- types/touch-events/tsconfig.json | 3 +- types/touch/tsconfig.json | 3 +- types/tough-cookie/tsconfig.json | 3 +- types/traceback/tsconfig.json | 3 +- types/tracking/tsconfig.json | 3 +- types/transducers-js/tsconfig.json | 3 +- types/transducers.js/tsconfig.json | 3 +- types/trash/tsconfig.json | 5 +- types/traverse/tsconfig.json | 3 +- types/traverson/tsconfig.json | 3 +- types/trayballoon/tsconfig.json | 3 +- types/tress/tsconfig.json | 3 +- types/trim/tsconfig.json | 3 +- types/trunk8/tsconfig.json | 3 +- types/tspromise/tsconfig.json | 3 +- types/tunnel/tsconfig.json | 3 +- types/tus-js-client/tsconfig.json | 3 +- types/tv4/tsconfig.json | 3 +- types/tween.js/tsconfig.json | 3 +- types/tweenjs/tsconfig.json | 3 +- types/tweezer.js/tsconfig.json | 3 +- types/twig/tsconfig.json | 3 +- types/twilio/tsconfig.json | 3 +- types/twit/tsconfig.json | 3 +- types/twitter-stream-channels/tsconfig.json | 3 +- types/twitter-text/tsconfig.json | 3 +- types/twitter/tsconfig.json | 3 +- types/twix/tsconfig.json | 3 +- types/type-check/tsconfig.json | 3 +- types/type-detect/tsconfig.json | 3 +- types/type-detect/v0/tsconfig.json | 7 ++- types/type-is/tsconfig.json | 3 +- types/type-name/tsconfig.json | 3 +- types/typeahead/tsconfig.json | 3 +- types/typedarray-pool/tsconfig.json | 3 +- types/typescript-deferred/tsconfig.json | 3 +- types/tz-format/tsconfig.json | 3 +- types/ua-parser-js/tsconfig.json | 3 +- types/uglify-js/tsconfig.json | 3 +- types/uglifycss/tsconfig.json | 3 +- types/ui-grid/tsconfig.json | 3 +- types/ui-router-extras/tsconfig.json | 3 +- types/ui-select/tsconfig.json | 3 +- types/uid-safe/tsconfig.json | 3 +- types/uikit/tsconfig.json | 3 +- types/uinput/tsconfig.json | 45 +++++++------- types/ultra-strftime/tsconfig.json | 3 +- types/umbraco/tsconfig.json | 3 +- types/umd/tsconfig.json | 3 +- types/umzug/tsconfig.json | 3 +- types/underscore-ko/tsconfig.json | 3 +- types/underscore.string/tsconfig.json | 3 +- types/underscore/tsconfig.json | 5 +- types/undertaker-registry/tsconfig.json | 3 +- types/undertaker/tsconfig.json | 3 +- types/uniq/tsconfig.json | 3 +- types/uniqid/tsconfig.json | 3 +- types/unique-hash-stream/tsconfig.json | 3 +- types/unique-random/tsconfig.json | 3 +- types/unist/tsconfig.json | 3 +- types/unity-webapi/tsconfig.json | 3 +- types/universal-analytics/tsconfig.json | 3 +- types/universal-router/tsconfig.json | 3 +- types/unorm/tsconfig.json | 3 +- types/untildify/tsconfig.json | 3 +- types/unused-filename/tsconfig.json | 3 +- types/unzip/tsconfig.json | 3 +- types/unzipper/tsconfig.json | 41 +++++++------ types/update-notifier/tsconfig.json | 3 +- types/update-notifier/v1/tsconfig.json | 7 ++- types/uppercamelcase/tsconfig.json | 3 +- types/urbanairship-cordova/tsconfig.json | 3 +- types/uri-templates/tsconfig.json | 3 +- types/urijs/tsconfig.json | 3 +- types/uritemplate/tsconfig.json | 3 +- types/url-assembler/tsconfig.json | 3 +- types/url-join/tsconfig.json | 3 +- types/url-metadata/tsconfig.json | 5 +- types/url-parse/tsconfig.json | 3 +- types/url-regex/tsconfig.json | 3 +- types/url-search-params/tsconfig.json | 3 +- types/url-template/tsconfig.json | 3 +- types/urlrouter/tsconfig.json | 3 +- types/urlsafe-base64/tsconfig.json | 3 +- types/usage/tsconfig.json | 3 +- types/usb/tsconfig.json | 3 +- types/user-home/tsconfig.json | 3 +- types/useragent/tsconfig.json | 3 +- types/username/tsconfig.json | 3 +- types/utf8/tsconfig.json | 3 +- types/util-deprecate/tsconfig.json | 3 +- types/util.promisify/tsconfig.json | 3 +- types/utils-merge/tsconfig.json | 3 +- types/uuid-1345/tsconfig.json | 3 +- types/uuid-js/tsconfig.json | 3 +- types/uuid-validate/tsconfig.json | 3 +- types/uuid/tsconfig.json | 3 +- types/uuid/v2/tsconfig.json | 3 +- types/uws/tsconfig.json | 3 +- types/v8-profiler/tsconfig.json | 3 +- types/valdr-message/tsconfig.json | 3 +- types/valdr/tsconfig.json | 3 +- types/valerie/tsconfig.json | 3 +- types/vali-date/tsconfig.json | 5 +- types/valid-url/tsconfig.json | 3 +- types/validator/tsconfig.json | 3 +- types/validatorjs/tsconfig.json | 3 +- types/vanilla-modal/tsconfig.json | 5 +- types/vanilla-tilt/tsconfig.json | 3 +- types/vary/tsconfig.json | 3 +- types/vast-client/tsconfig.json | 3 +- types/vec3/tsconfig.json | 3 +- types/vectorious/tsconfig.json | 3 +- types/vega/tsconfig.json | 3 +- types/velocity-animate/tsconfig.json | 3 +- types/verror/tsconfig.json | 3 +- types/vertx3-eventbus-client/tsconfig.json | 3 +- types/vex-js/tsconfig.json | 3 +- types/vexflow/tsconfig.json | 3 +- types/vfile-location/tsconfig.json | 18 ++++-- types/vfile/tsconfig.json | 3 +- types/victor/tsconfig.json | 3 +- types/victory/tsconfig.json | 1 + types/video.js/tsconfig.json | 3 +- types/viewability-helper/tsconfig.json | 3 +- types/viewerjs/tsconfig.json | 3 +- types/viewporter/tsconfig.json | 3 +- types/vimeo/tsconfig.json | 3 +- types/vimeo__player/tsconfig.json | 3 +- types/vinyl-buffer/tsconfig.json | 3 +- types/vinyl-fs/tsconfig.json | 3 +- types/vinyl-paths/tsconfig.json | 3 +- types/vinyl-source-stream/tsconfig.json | 3 +- types/vinyl/tsconfig.json | 3 +- types/vinyl/v0/tsconfig.json | 3 +- types/virtual-dom/tsconfig.json | 3 +- types/virtual-keyboard/tsconfig.json | 3 +- types/vis/tsconfig.json | 3 +- types/vision/tsconfig.json | 9 ++- types/vitalsigns/tsconfig.json | 3 +- types/vivus/tsconfig.json | 3 +- types/vkbeautify/tsconfig.json | 3 +- types/voca/tsconfig.json | 3 +- types/voronoi-diagram/tsconfig.json | 3 +- types/vortex-web-client/tsconfig.json | 3 +- types/voximplant-websdk/tsconfig.json | 3 +- types/vue-resource/tsconfig.json | 3 +- types/vue-scrollto/tsconfig.json | 7 ++- types/vuex-i18n/tsconfig.json | 3 +- types/w2ui/tsconfig.json | 3 +- types/w3c-generic-sensor/tsconfig.json | 3 +- types/w3c-image-capture/tsconfig.json | 5 +- types/w3c-screen-orientation/tsconfig.json | 3 +- types/w3c-web-usb/tsconfig.json | 3 +- types/waitme/tsconfig.json | 3 +- types/wake_on_lan/tsconfig.json | 3 +- types/wallabyjs/tsconfig.json | 3 +- types/wallpaper/tsconfig.json | 3 +- types/wampy/tsconfig.json | 3 +- types/warning/tsconfig.json | 3 +- types/watch/tsconfig.json | 3 +- types/watchify/tsconfig.json | 3 +- types/watchpack/tsconfig.json | 3 +- types/waterline/tsconfig.json | 3 +- types/watson-developer-cloud/tsconfig.json | 3 +- types/waypoints/tsconfig.json | 3 +- types/wcwidth/tsconfig.json | 3 +- types/weak/tsconfig.json | 5 +- types/weapp-api/tsconfig.json | 3 +- types/web-animations-js/tsconfig.json | 3 +- types/web-bluetooth/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/webassembly-js-api/tsconfig.json | 3 +- types/webcl/tsconfig.json | 3 +- types/webcomponents.js/tsconfig.json | 3 +- types/webcrypto/tsconfig.json | 3 +- types/webdriverio/tsconfig.json | 1 + types/webfontloader/tsconfig.json | 3 +- types/webgl-ext/tsconfig.json | 3 +- types/webgl2/tsconfig.json | 3 +- types/webmidi/tsconfig.json | 3 +- types/webpack-bundle-analyzer/tsconfig.json | 3 +- types/webpack-chain/tsconfig.json | 3 +- types/webpack-chunk-hash/tsconfig.json | 3 +- types/webpack-cleanup-plugin/tsconfig.json | 5 +- types/webpack-dev-middleware/tsconfig.json | 3 +- types/webpack-dev-middleware/v1/tsconfig.json | 3 +- types/webpack-dev-server/tsconfig.json | 3 +- types/webpack-dotenv-plugin/tsconfig.json | 3 +- types/webpack-env/tsconfig.json | 3 +- types/webpack-fail-plugin/tsconfig.json | 3 +- types/webpack-hot-middleware/tsconfig.json | 3 +- types/webpack-manifest-plugin/tsconfig.json | 3 +- types/webpack-merge/tsconfig.json | 3 +- types/webpack-merge/v0/tsconfig.json | 3 +- types/webpack-node-externals/tsconfig.json | 3 +- types/webpack-notifier/tsconfig.json | 3 +- types/webpack-sources/tsconfig.json | 3 +- types/webpack-stream/tsconfig.json | 3 +- types/webpack-validator/tsconfig.json | 3 +- types/webpack/tsconfig.json | 3 +- types/webrtc/tsconfig.json | 3 +- types/website-scraper/tsconfig.json | 3 +- types/websocket/tsconfig.json | 3 +- types/webspeechapi/tsconfig.json | 3 +- types/websql/tsconfig.json | 3 +- types/webtorrent/tsconfig.json | 3 +- types/webvr-api/tsconfig.json | 3 +- types/week/tsconfig.json | 3 +- types/weighted/tsconfig.json | 3 +- types/weixin-app/tsconfig.json | 3 +- types/wellknown/tsconfig.json | 3 +- types/whatwg-streams/tsconfig.json | 3 +- types/wheel/tsconfig.json | 14 +++-- types/when/tsconfig.json | 3 +- types/which/tsconfig.json | 3 +- types/why-did-you-update/tsconfig.json | 3 +- types/wicg-mediasession/tsconfig.json | 3 +- types/wiiu/tsconfig.json | 3 +- types/window-or-global/tsconfig.json | 3 +- types/window-size/tsconfig.json | 3 +- types/windows-1251/tsconfig.json | 3 +- types/windows-service/tsconfig.json | 3 +- types/winjs/tsconfig.json | 3 +- types/winjs/v1/tsconfig.json | 3 +- types/winjs/v2/tsconfig.json | 3 +- types/winreg/tsconfig.json | 3 +- types/winrt-uwp/tsconfig.json | 3 +- types/winrt/tsconfig.json | 3 +- types/winston-dynamodb/tsconfig.json | 3 +- types/winston/tsconfig.json | 3 +- types/wiredep/tsconfig.json | 3 +- types/wiring-pi/tsconfig.json | 3 +- types/wnumb/tsconfig.json | 3 +- types/wonder.js/tsconfig.json | 3 +- types/word-list-json/tsconfig.json | 5 +- types/wordcloud/tsconfig.json | 3 +- types/words-to-numbers/tsconfig.json | 3 +- types/wrap-ansi/tsconfig.json | 3 +- types/wreck/tsconfig.json | 3 +- types/wrench/tsconfig.json | 3 +- types/write-file-atomic/tsconfig.json | 3 +- types/write-json-file/tsconfig.json | 3 +- types/ws/tsconfig.json | 3 +- types/wtfnode/tsconfig.json | 5 +- types/wu/tsconfig.json | 3 +- types/wx-js-sdk-dt/tsconfig.json | 3 +- types/x-editable/tsconfig.json | 3 +- types/x-ray-crawler/tsconfig.json | 5 +- types/x-ray/tsconfig.json | 5 +- types/xdate/tsconfig.json | 3 +- types/xdg-basedir/tsconfig.json | 3 +- types/xdomain/tsconfig.json | 3 +- types/xml-parser/tsconfig.json | 3 +- types/xml/tsconfig.json | 3 +- types/xml2js/tsconfig.json | 3 +- types/xml2json/tsconfig.json | 3 +- types/xmlbuilder/tsconfig.json | 3 +- types/xmldoc/tsconfig.json | 3 +- types/xmldom/tsconfig.json | 3 +- types/xmlpoke/tsconfig.json | 3 +- types/xmlrpc/tsconfig.json | 3 +- types/xmltojson/tsconfig.json | 3 +- types/xmpp__jid/tsconfig.json | 3 +- types/xregexp/tsconfig.json | 3 +- types/xrm/tsconfig.json | 3 +- types/xrm/v6/tsconfig.json | 3 +- types/xrm/v7/tsconfig.json | 3 +- types/xrm/v8/tsconfig.json | 3 +- types/xsd-schema-validator/tsconfig.json | 3 +- types/xsockets/tsconfig.json | 3 +- types/xss-filters/tsconfig.json | 3 +- types/xtend/tsconfig.json | 3 +- types/xxhashjs/tsconfig.json | 3 +- types/yallist/tsconfig.json | 3 +- types/yamljs/tsconfig.json | 3 +- types/yandex-maps/tsconfig.json | 3 +- types/yandex-money-sdk/tsconfig.json | 3 +- types/yargs/tsconfig.json | 5 +- types/yargs/v8/tsconfig.json | 5 +- types/yayson/tsconfig.json | 3 +- types/ydn-db/tsconfig.json | 3 +- types/yeoman-generator/tsconfig.json | 3 +- types/yeoman-test/tsconfig.json | 3 +- types/yog-bigpipe/tsconfig.json | 3 +- types/yog-log/tsconfig.json | 3 +- types/yog2-kernel/tsconfig.json | 3 +- types/yosay/tsconfig.json | 3 +- types/youtube-dl/tsconfig.json | 7 ++- types/youtube/tsconfig.json | 3 +- types/yui/tsconfig.json | 3 +- types/yup/tsconfig.json | 3 +- types/z-schema/tsconfig.json | 3 +- types/zapier-platform-core/tsconfig.json | 3 +- types/zen-observable/tsconfig.json | 3 +- types/zen-push/tsconfig.json | 5 +- types/zenscroll/tsconfig.json | 7 ++- types/zepto/tsconfig.json | 3 +- types/zeroclipboard/tsconfig.json | 3 +- types/zeroclipboard/v1/tsconfig.json | 3 +- types/zeromq/tsconfig.json | 3 +- types/zip.js/tsconfig.json | 3 +- types/zipcodes/tsconfig.json | 43 ++++++------- types/zipkin-context-cls/tsconfig.json | 5 +- .../tsconfig.json | 5 +- .../tsconfig.json | 5 +- types/zipkin-transport-http/tsconfig.json | 5 +- types/zmq/tsconfig.json | 3 +- types/zookeeper/tsconfig.json | 5 +- types/zui/tsconfig.json | 3 +- types/zxcvbn/tsconfig.json | 5 +- 4219 files changed, 9602 insertions(+), 5107 deletions(-) diff --git a/scripts/generate-tsconfigs.ts b/scripts/generate-tsconfigs.ts index 0115067e34..e1e1998950 100644 --- a/scripts/generate-tsconfigs.ts +++ b/scripts/generate-tsconfigs.ts @@ -5,7 +5,7 @@ import * as fs from 'fs'; import * as path from 'path'; -const home = path.join(__dirname, '..'); +const home = path.join(__dirname, "..", "types"); for (const dirName of fs.readdirSync(home)) { if (dirName.startsWith(".") || dirName === "node_modules" || dirName === "scripts") { diff --git a/types/abbrev/tsconfig.json b/types/abbrev/tsconfig.json index 0755c19fe1..b33fbb06bc 100644 --- a/types/abbrev/tsconfig.json +++ b/types/abbrev/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/abs/tsconfig.json b/types/abs/tsconfig.json index 2bcb3f7094..be1e00e9b9 100644 --- a/types/abs/tsconfig.json +++ b/types/abs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/absolute/tsconfig.json b/types/absolute/tsconfig.json index ba18df791e..9932020aa3 100644 --- a/types/absolute/tsconfig.json +++ b/types/absolute/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/acc-wizard/tsconfig.json b/types/acc-wizard/tsconfig.json index a20aeba97b..f63878ba9b 100644 --- a/types/acc-wizard/tsconfig.json +++ b/types/acc-wizard/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/accept-language-parser/tsconfig.json b/types/accept-language-parser/tsconfig.json index 11532082db..86f839c4be 100644 --- a/types/accept-language-parser/tsconfig.json +++ b/types/accept-language-parser/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/accepts/tsconfig.json b/types/accepts/tsconfig.json index 35b618292d..9d62081738 100644 --- a/types/accepts/tsconfig.json +++ b/types/accepts/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/accounting/tsconfig.json b/types/accounting/tsconfig.json index f815c5b01e..7ec0b3a159 100644 --- a/types/accounting/tsconfig.json +++ b/types/accounting/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ace/tsconfig.json b/types/ace/tsconfig.json index eb52fff185..97c51e2bf9 100644 --- a/types/ace/tsconfig.json +++ b/types/ace/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/acl/tsconfig.json b/types/acl/tsconfig.json index 9f5c6a01ef..ada20a1b2c 100644 --- a/types/acl/tsconfig.json +++ b/types/acl/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/acorn/tsconfig.json b/types/acorn/tsconfig.json index 0b4760b0fc..9a9bbdd763 100644 --- a/types/acorn/tsconfig.json +++ b/types/acorn/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/actioncable/tsconfig.json b/types/actioncable/tsconfig.json index cb137a8982..544fc4d502 100644 --- a/types/actioncable/tsconfig.json +++ b/types/actioncable/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/actions-on-google/tsconfig.json b/types/actions-on-google/tsconfig.json index 6682b5c194..82fc80a44f 100644 --- a/types/actions-on-google/tsconfig.json +++ b/types/actions-on-google/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", @@ -25,4 +26,4 @@ "transactions.d.ts", "actions-on-google-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/activex-access/tsconfig.json b/types/activex-access/tsconfig.json index a376fcb722..d1fac56caa 100644 --- a/types/activex-access/tsconfig.json +++ b/types/activex-access/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-adodb/tsconfig.json b/types/activex-adodb/tsconfig.json index 5cb32f94c9..7a5b6e8f13 100644 --- a/types/activex-adodb/tsconfig.json +++ b/types/activex-adodb/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-dao/tsconfig.json b/types/activex-dao/tsconfig.json index 2ddea247b9..da7ac77da9 100644 --- a/types/activex-dao/tsconfig.json +++ b/types/activex-dao/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-diskquota/tsconfig.json b/types/activex-diskquota/tsconfig.json index b7430e47f9..61686bd769 100644 --- a/types/activex-diskquota/tsconfig.json +++ b/types/activex-diskquota/tsconfig.json @@ -1,8 +1,10 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, @@ -13,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-excel/tsconfig.json b/types/activex-excel/tsconfig.json index 244ab1d0ef..a9599850ef 100644 --- a/types/activex-excel/tsconfig.json +++ b/types/activex-excel/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-faxcomexlib/tsconfig.json b/types/activex-faxcomexlib/tsconfig.json index 50b3ab1a0a..673e3f49ea 100644 --- a/types/activex-faxcomexlib/tsconfig.json +++ b/types/activex-faxcomexlib/tsconfig.json @@ -1,8 +1,10 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, @@ -13,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-infopath/tsconfig.json b/types/activex-infopath/tsconfig.json index 6feef8496c..e6479e5c7c 100644 --- a/types/activex-infopath/tsconfig.json +++ b/types/activex-infopath/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-iwshruntimelibrary/tsconfig.json b/types/activex-iwshruntimelibrary/tsconfig.json index d2d55bbe09..0c79715db6 100644 --- a/types/activex-iwshruntimelibrary/tsconfig.json +++ b/types/activex-iwshruntimelibrary/tsconfig.json @@ -1,8 +1,10 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, @@ -13,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-libreoffice/tsconfig.json b/types/activex-libreoffice/tsconfig.json index 712ea46ca1..c72038c18a 100644 --- a/types/activex-libreoffice/tsconfig.json +++ b/types/activex-libreoffice/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-msforms/tsconfig.json b/types/activex-msforms/tsconfig.json index 38f907552d..ee18e776a1 100644 --- a/types/activex-msforms/tsconfig.json +++ b/types/activex-msforms/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-mshtml/tsconfig.json b/types/activex-mshtml/tsconfig.json index deba2b6ba3..9f0594a26d 100644 --- a/types/activex-mshtml/tsconfig.json +++ b/types/activex-mshtml/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-msxml2/tsconfig.json b/types/activex-msxml2/tsconfig.json index 49c53f71ca..5d1cee05aa 100644 --- a/types/activex-msxml2/tsconfig.json +++ b/types/activex-msxml2/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-office/tsconfig.json b/types/activex-office/tsconfig.json index 729657e813..4c8b5ce9e5 100644 --- a/types/activex-office/tsconfig.json +++ b/types/activex-office/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-outlook/tsconfig.json b/types/activex-outlook/tsconfig.json index 1a9fddc714..5d2f6c157b 100644 --- a/types/activex-outlook/tsconfig.json +++ b/types/activex-outlook/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-powerpoint/tsconfig.json b/types/activex-powerpoint/tsconfig.json index 8a0392da3f..4ecc0048fb 100644 --- a/types/activex-powerpoint/tsconfig.json +++ b/types/activex-powerpoint/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-scripting/tsconfig.json b/types/activex-scripting/tsconfig.json index e2008551fd..1d660ed39c 100644 --- a/types/activex-scripting/tsconfig.json +++ b/types/activex-scripting/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-stdole/tsconfig.json b/types/activex-stdole/tsconfig.json index cbe3ce7aae..d96d7fd4dc 100644 --- a/types/activex-stdole/tsconfig.json +++ b/types/activex-stdole/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-vbide/tsconfig.json b/types/activex-vbide/tsconfig.json index 6fb205a3c4..504d5c01b2 100644 --- a/types/activex-vbide/tsconfig.json +++ b/types/activex-vbide/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-wia/tsconfig.json b/types/activex-wia/tsconfig.json index e77b3d1b66..b1b82a2134 100644 --- a/types/activex-wia/tsconfig.json +++ b/types/activex-wia/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-word/tsconfig.json b/types/activex-word/tsconfig.json index c62626ca52..e220df56dc 100644 --- a/types/activex-word/tsconfig.json +++ b/types/activex-word/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/adal-angular/tsconfig.json b/types/adal-angular/tsconfig.json index 9052e3fc04..b7adaf8e3c 100644 --- a/types/adal-angular/tsconfig.json +++ b/types/adal-angular/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/add-zero/tsconfig.json b/types/add-zero/tsconfig.json index e71d235cdf..bb76d7ed20 100644 --- a/types/add-zero/tsconfig.json +++ b/types/add-zero/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "add-zero-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/add2home/tsconfig.json b/types/add2home/tsconfig.json index 904e5e7453..d32b9dc570 100644 --- a/types/add2home/tsconfig.json +++ b/types/add2home/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/adm-zip/tsconfig.json b/types/adm-zip/tsconfig.json index 8e998c6f38..da3abd8503 100644 --- a/types/adm-zip/tsconfig.json +++ b/types/adm-zip/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/adone/tsconfig.json b/types/adone/tsconfig.json index 8d1f4040d6..175d3c1252 100644 --- a/types/adone/tsconfig.json +++ b/types/adone/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "experimentalDecorators": true }, "files": [ diff --git a/types/aframe/tsconfig.json b/types/aframe/tsconfig.json index 3385a8aca7..02c0041107 100755 --- a/types/aframe/tsconfig.json +++ b/types/aframe/tsconfig.json @@ -17,7 +17,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/agenda/tsconfig.json b/types/agenda/tsconfig.json index 0a553809fd..2f448c9517 100644 --- a/types/agenda/tsconfig.json +++ b/types/agenda/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/aggregate-error/tsconfig.json b/types/aggregate-error/tsconfig.json index f092ab1c3e..836ac69bbf 100644 --- a/types/aggregate-error/tsconfig.json +++ b/types/aggregate-error/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/alertify/tsconfig.json b/types/alertify/tsconfig.json index 86ae0eac3d..731efc063b 100644 --- a/types/alertify/tsconfig.json +++ b/types/alertify/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/alexa-sdk/tsconfig.json b/types/alexa-sdk/tsconfig.json index d1932fa469..0fe3e93a8e 100644 --- a/types/alexa-sdk/tsconfig.json +++ b/types/alexa-sdk/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "alexa-sdk-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/alexa-voice-service/tsconfig.json b/types/alexa-voice-service/tsconfig.json index 737cccf9e6..90b1ec9310 100644 --- a/types/alexa-voice-service/tsconfig.json +++ b/types/alexa-voice-service/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/algebra.js/tsconfig.json b/types/algebra.js/tsconfig.json index e9f585ef8a..db065d64f2 100644 --- a/types/algebra.js/tsconfig.json +++ b/types/algebra.js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/algoliasearch/tsconfig.json b/types/algoliasearch/tsconfig.json index 4d7e52dd8b..41a2b8341e 100644 --- a/types/algoliasearch/tsconfig.json +++ b/types/algoliasearch/tsconfig.json @@ -1,16 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": ["es6"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": ["index.d.ts", "algoliasearch-tests.ts"] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "algoliasearch-tests.ts" + ] +} \ No newline at end of file diff --git a/types/alt/tsconfig.json b/types/alt/tsconfig.json index 82260e525d..d062b2a515 100644 --- a/types/alt/tsconfig.json +++ b/types/alt/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/amazon-product-api/tsconfig.json b/types/amazon-product-api/tsconfig.json index 060741740b..148065775e 100644 --- a/types/amazon-product-api/tsconfig.json +++ b/types/amazon-product-api/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/amcharts/tsconfig.json b/types/amcharts/tsconfig.json index 1d07459b73..83ea10e97c 100644 --- a/types/amcharts/tsconfig.json +++ b/types/amcharts/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/amplify-deferred/tsconfig.json b/types/amplify-deferred/tsconfig.json index 443772e942..2e8ba65ef8 100644 --- a/types/amplify-deferred/tsconfig.json +++ b/types/amplify-deferred/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/amplify/tsconfig.json b/types/amplify/tsconfig.json index 44daa69ba9..f6c250d148 100644 --- a/types/amplify/tsconfig.json +++ b/types/amplify/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/amplitude-js/tsconfig.json b/types/amplitude-js/tsconfig.json index 0ca8f85efe..78806bc9f3 100644 --- a/types/amplitude-js/tsconfig.json +++ b/types/amplitude-js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/amqp-rpc/tsconfig.json b/types/amqp-rpc/tsconfig.json index f8bfc7aa64..29eaed2194 100644 --- a/types/amqp-rpc/tsconfig.json +++ b/types/amqp-rpc/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/amqp/tsconfig.json b/types/amqp/tsconfig.json index e73b54d700..e388306124 100644 --- a/types/amqp/tsconfig.json +++ b/types/amqp/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/amqplib/tsconfig.json b/types/amqplib/tsconfig.json index b5b83b84ce..e678b2ed30 100644 --- a/types/amqplib/tsconfig.json +++ b/types/amqplib/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/analytics-node/tsconfig.json b/types/analytics-node/tsconfig.json index 3684577e65..8a01d1d5f7 100644 --- a/types/analytics-node/tsconfig.json +++ b/types/analytics-node/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-agility/tsconfig.json b/types/angular-agility/tsconfig.json index 460060cde0..b0b8a89582 100644 --- a/types/angular-agility/tsconfig.json +++ b/types/angular-agility/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-animate/tsconfig.json b/types/angular-animate/tsconfig.json index d34d6a1d77..19a01dfff9 100644 --- a/types/angular-animate/tsconfig.json +++ b/types/angular-animate/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/angular-block-ui/tsconfig.json b/types/angular-block-ui/tsconfig.json index f5717731be..38788cb14c 100644 --- a/types/angular-block-ui/tsconfig.json +++ b/types/angular-block-ui/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-bootstrap-calendar/tsconfig.json b/types/angular-bootstrap-calendar/tsconfig.json index 72a05b7ce7..5bcba1159b 100644 --- a/types/angular-bootstrap-calendar/tsconfig.json +++ b/types/angular-bootstrap-calendar/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-bootstrap-lightbox/tsconfig.json b/types/angular-bootstrap-lightbox/tsconfig.json index 3792bc3da5..5e8d01f684 100644 --- a/types/angular-bootstrap-lightbox/tsconfig.json +++ b/types/angular-bootstrap-lightbox/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-breadcrumb/tsconfig.json b/types/angular-breadcrumb/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/angular-breadcrumb/tsconfig.json +++ b/types/angular-breadcrumb/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/angular-clipboard/tsconfig.json b/types/angular-clipboard/tsconfig.json index 0c6a1dadaf..504fce5afd 100644 --- a/types/angular-clipboard/tsconfig.json +++ b/types/angular-clipboard/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/angular-cookie/tsconfig.json b/types/angular-cookie/tsconfig.json index ae3ec8dd21..c4dd687a17 100644 --- a/types/angular-cookie/tsconfig.json +++ b/types/angular-cookie/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-cookies/tsconfig.json b/types/angular-cookies/tsconfig.json index d34d6a1d77..19a01dfff9 100644 --- a/types/angular-cookies/tsconfig.json +++ b/types/angular-cookies/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/angular-deferred-bootstrap/tsconfig.json b/types/angular-deferred-bootstrap/tsconfig.json index 119199cc5a..48a0fc6c3b 100644 --- a/types/angular-deferred-bootstrap/tsconfig.json +++ b/types/angular-deferred-bootstrap/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/angular-dialog-service/tsconfig.json b/types/angular-dialog-service/tsconfig.json index b6db392406..06a65572bf 100644 --- a/types/angular-dialog-service/tsconfig.json +++ b/types/angular-dialog-service/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-dynamic-locale/tsconfig.json b/types/angular-dynamic-locale/tsconfig.json index b117d5eabe..2669a8f2c1 100644 --- a/types/angular-dynamic-locale/tsconfig.json +++ b/types/angular-dynamic-locale/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-environment/tsconfig.json b/types/angular-environment/tsconfig.json index 35bd754e95..62fb380377 100644 --- a/types/angular-environment/tsconfig.json +++ b/types/angular-environment/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-es/tsconfig.json b/types/angular-es/tsconfig.json index 8eb4ea8925..1ef656103f 100644 --- a/types/angular-es/tsconfig.json +++ b/types/angular-es/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-feature-flags/tsconfig.json b/types/angular-feature-flags/tsconfig.json index 07b352a43c..d90297220f 100644 --- a/types/angular-feature-flags/tsconfig.json +++ b/types/angular-feature-flags/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-file-saver/tsconfig.json b/types/angular-file-saver/tsconfig.json index 60a3fb0eca..c00f267d7d 100644 --- a/types/angular-file-saver/tsconfig.json +++ b/types/angular-file-saver/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-file-upload/tsconfig.json b/types/angular-file-upload/tsconfig.json index 11194d71d0..ac8f890b89 100644 --- a/types/angular-file-upload/tsconfig.json +++ b/types/angular-file-upload/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-formly/tsconfig.json b/types/angular-formly/tsconfig.json index 3812b7cd66..7b6a686160 100644 --- a/types/angular-formly/tsconfig.json +++ b/types/angular-formly/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-fullscreen/tsconfig.json b/types/angular-fullscreen/tsconfig.json index 72a22e0897..03dc1874c4 100644 --- a/types/angular-fullscreen/tsconfig.json +++ b/types/angular-fullscreen/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-gettext/tsconfig.json b/types/angular-gettext/tsconfig.json index 43c7dc3cab..074b1ad11a 100644 --- a/types/angular-gettext/tsconfig.json +++ b/types/angular-gettext/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-google-analytics/tsconfig.json b/types/angular-google-analytics/tsconfig.json index b66432d04c..aff84bc612 100644 --- a/types/angular-google-analytics/tsconfig.json +++ b/types/angular-google-analytics/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-gridster/tsconfig.json b/types/angular-gridster/tsconfig.json index 94b4c6ceff..e722d13578 100644 --- a/types/angular-gridster/tsconfig.json +++ b/types/angular-gridster/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-growl-v2/tsconfig.json b/types/angular-growl-v2/tsconfig.json index 16ccffe41f..38d37a5922 100644 --- a/types/angular-growl-v2/tsconfig.json +++ b/types/angular-growl-v2/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-hotkeys/tsconfig.json b/types/angular-hotkeys/tsconfig.json index acb11ff247..efb5ab899b 100644 --- a/types/angular-hotkeys/tsconfig.json +++ b/types/angular-hotkeys/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "angular-hotkeys-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/angular-http-auth/tsconfig.json b/types/angular-http-auth/tsconfig.json index 61029fcc00..ac7e064e0e 100644 --- a/types/angular-http-auth/tsconfig.json +++ b/types/angular-http-auth/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-httpi/tsconfig.json b/types/angular-httpi/tsconfig.json index 64c28306cf..ea3d19611c 100644 --- a/types/angular-httpi/tsconfig.json +++ b/types/angular-httpi/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-idle/tsconfig.json b/types/angular-idle/tsconfig.json index 57cc641db8..442299d2f1 100644 --- a/types/angular-idle/tsconfig.json +++ b/types/angular-idle/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-jwt/tsconfig.json b/types/angular-jwt/tsconfig.json index b884cbc435..eb96bc8736 100644 --- a/types/angular-jwt/tsconfig.json +++ b/types/angular-jwt/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-load/tsconfig.json b/types/angular-load/tsconfig.json index ee5ee74b72..970cb503e6 100644 --- a/types/angular-load/tsconfig.json +++ b/types/angular-load/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-loading-bar/tsconfig.json b/types/angular-loading-bar/tsconfig.json index f639942629..8311dad9f5 100644 --- a/types/angular-loading-bar/tsconfig.json +++ b/types/angular-loading-bar/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-local-storage/tsconfig.json b/types/angular-local-storage/tsconfig.json index 44c357b558..5a73ac26f9 100644 --- a/types/angular-local-storage/tsconfig.json +++ b/types/angular-local-storage/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-localforage/tsconfig.json b/types/angular-localforage/tsconfig.json index dc98f1186d..847bbbbda0 100644 --- a/types/angular-localforage/tsconfig.json +++ b/types/angular-localforage/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-locker/tsconfig.json b/types/angular-locker/tsconfig.json index 35091c7ea8..d0fbbafb71 100644 --- a/types/angular-locker/tsconfig.json +++ b/types/angular-locker/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-material/tsconfig.json b/types/angular-material/tsconfig.json index 3ecdc4851c..7184dc1fb1 100644 --- a/types/angular-material/tsconfig.json +++ b/types/angular-material/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/angular-media-queries/tsconfig.json b/types/angular-media-queries/tsconfig.json index 6a02589dc1..80d3ac3f0c 100644 --- a/types/angular-media-queries/tsconfig.json +++ b/types/angular-media-queries/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-meteor/tsconfig.json b/types/angular-meteor/tsconfig.json index 16d4015269..62d012a4af 100644 --- a/types/angular-meteor/tsconfig.json +++ b/types/angular-meteor/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-mocks/tsconfig.json b/types/angular-mocks/tsconfig.json index cfce69a898..84f176c47b 100644 --- a/types/angular-mocks/tsconfig.json +++ b/types/angular-mocks/tsconfig.json @@ -20,6 +20,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/angular-modal/tsconfig.json b/types/angular-modal/tsconfig.json index c727f39fbb..7eb8491cd7 100644 --- a/types/angular-modal/tsconfig.json +++ b/types/angular-modal/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-notifications/tsconfig.json b/types/angular-notifications/tsconfig.json index 7186df8fd5..8914d19761 100644 --- a/types/angular-notifications/tsconfig.json +++ b/types/angular-notifications/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-notify/tsconfig.json b/types/angular-notify/tsconfig.json index a993101ea8..2a45fe4c01 100644 --- a/types/angular-notify/tsconfig.json +++ b/types/angular-notify/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-oauth2/tsconfig.json b/types/angular-oauth2/tsconfig.json index 253e138f2f..6c8b2cff83 100644 --- a/types/angular-oauth2/tsconfig.json +++ b/types/angular-oauth2/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-odata-resources/tsconfig.json b/types/angular-odata-resources/tsconfig.json index cf8b87b038..bf9ce61633 100644 --- a/types/angular-odata-resources/tsconfig.json +++ b/types/angular-odata-resources/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-pdfjs-viewer/tsconfig.json b/types/angular-pdfjs-viewer/tsconfig.json index bdae87bf50..584aacaaf3 100644 --- a/types/angular-pdfjs-viewer/tsconfig.json +++ b/types/angular-pdfjs-viewer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-permission/tsconfig.json b/types/angular-permission/tsconfig.json index 80dd668340..ccc8ab9ba0 100644 --- a/types/angular-permission/tsconfig.json +++ b/types/angular-permission/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/angular-promise-tracker/tsconfig.json b/types/angular-promise-tracker/tsconfig.json index 2e81cb6ea3..89ba7d321d 100644 --- a/types/angular-promise-tracker/tsconfig.json +++ b/types/angular-promise-tracker/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-q-spread/tsconfig.json b/types/angular-q-spread/tsconfig.json index a00f0e4d5f..8b381fb83f 100644 --- a/types/angular-q-spread/tsconfig.json +++ b/types/angular-q-spread/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/angular-resource/tsconfig.json b/types/angular-resource/tsconfig.json index 7599b3e12e..1f4598b8b9 100644 --- a/types/angular-resource/tsconfig.json +++ b/types/angular-resource/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/angular-route/tsconfig.json b/types/angular-route/tsconfig.json index 9960b488ba..12021442e1 100644 --- a/types/angular-route/tsconfig.json +++ b/types/angular-route/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/angular-sanitize/tsconfig.json b/types/angular-sanitize/tsconfig.json index 4ce7848518..2e1212592b 100644 --- a/types/angular-sanitize/tsconfig.json +++ b/types/angular-sanitize/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/angular-scenario/tsconfig.json b/types/angular-scenario/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/angular-scenario/tsconfig.json +++ b/types/angular-scenario/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/angular-scroll/tsconfig.json b/types/angular-scroll/tsconfig.json index b6d6daecb2..a844a05fd7 100644 --- a/types/angular-scroll/tsconfig.json +++ b/types/angular-scroll/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-signalr-hub/tsconfig.json b/types/angular-signalr-hub/tsconfig.json index d0e69b894d..d81d1cccc6 100644 --- a/types/angular-signalr-hub/tsconfig.json +++ b/types/angular-signalr-hub/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-spinner/tsconfig.json b/types/angular-spinner/tsconfig.json index e09fc93f8e..8eebbd1455 100644 --- a/types/angular-spinner/tsconfig.json +++ b/types/angular-spinner/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-storage/tsconfig.json b/types/angular-storage/tsconfig.json index 07dc148cef..e88846bcec 100644 --- a/types/angular-storage/tsconfig.json +++ b/types/angular-storage/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-strap/tsconfig.json b/types/angular-strap/tsconfig.json index 7ac157876b..da95fa04c8 100644 --- a/types/angular-strap/tsconfig.json +++ b/types/angular-strap/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-toastr/tsconfig.json b/types/angular-toastr/tsconfig.json index be88b26d08..36a22e1aee 100644 --- a/types/angular-toastr/tsconfig.json +++ b/types/angular-toastr/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-toasty/tsconfig.json b/types/angular-toasty/tsconfig.json index 085335904c..f4e2c1c4d0 100644 --- a/types/angular-toasty/tsconfig.json +++ b/types/angular-toasty/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-tooltips/tsconfig.json b/types/angular-tooltips/tsconfig.json index 8465b76909..84f3606454 100644 --- a/types/angular-tooltips/tsconfig.json +++ b/types/angular-tooltips/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-touchspin/tsconfig.json b/types/angular-touchspin/tsconfig.json index 8c3d5338c4..4084b66480 100644 --- a/types/angular-touchspin/tsconfig.json +++ b/types/angular-touchspin/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-translate/tsconfig.json b/types/angular-translate/tsconfig.json index 7b3df3db88..02bb9edf7a 100644 --- a/types/angular-translate/tsconfig.json +++ b/types/angular-translate/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-ui-bootstrap/tsconfig.json b/types/angular-ui-bootstrap/tsconfig.json index 62765ca465..36174e37b6 100644 --- a/types/angular-ui-bootstrap/tsconfig.json +++ b/types/angular-ui-bootstrap/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-ui-notification/tsconfig.json b/types/angular-ui-notification/tsconfig.json index 25e3769186..2b774ef2ff 100644 --- a/types/angular-ui-notification/tsconfig.json +++ b/types/angular-ui-notification/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-ui-router/tsconfig.json b/types/angular-ui-router/tsconfig.json index 83aeab8d3b..ba18a834ba 100644 --- a/types/angular-ui-router/tsconfig.json +++ b/types/angular-ui-router/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-ui-scroll/tsconfig.json b/types/angular-ui-scroll/tsconfig.json index 8fb95049e4..90fd12c708 100644 --- a/types/angular-ui-scroll/tsconfig.json +++ b/types/angular-ui-scroll/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-ui-sortable/tsconfig.json b/types/angular-ui-sortable/tsconfig.json index b96f69101e..3defe86650 100644 --- a/types/angular-ui-sortable/tsconfig.json +++ b/types/angular-ui-sortable/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-ui-tree/tsconfig.json b/types/angular-ui-tree/tsconfig.json index cb2693e910..3c8fa163c7 100644 --- a/types/angular-ui-tree/tsconfig.json +++ b/types/angular-ui-tree/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-websocket/tsconfig.json b/types/angular-websocket/tsconfig.json index 89d5cb9dc3..b24f8dfdf8 100644 --- a/types/angular-websocket/tsconfig.json +++ b/types/angular-websocket/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "angular-websocket-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/angular-wizard/tsconfig.json b/types/angular-wizard/tsconfig.json index a87aedbbe4..2409b05725 100644 --- a/types/angular-wizard/tsconfig.json +++ b/types/angular-wizard/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular-xeditable/tsconfig.json b/types/angular-xeditable/tsconfig.json index 44cdeea7bf..de3ba1d092 100644 --- a/types/angular-xeditable/tsconfig.json +++ b/types/angular-xeditable/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/angular.throttle/tsconfig.json b/types/angular.throttle/tsconfig.json index bcee04a06f..11865e0ab8 100644 --- a/types/angular.throttle/tsconfig.json +++ b/types/angular.throttle/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angular/tsconfig.json b/types/angular/tsconfig.json index 5ce810f938..c8e218ccd3 100644 --- a/types/angular/tsconfig.json +++ b/types/angular/tsconfig.json @@ -23,6 +23,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/angularfire/tsconfig.json b/types/angularfire/tsconfig.json index 79526d1d23..05a89bc308 100644 --- a/types/angularfire/tsconfig.json +++ b/types/angularfire/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angularlocalstorage/tsconfig.json b/types/angularlocalstorage/tsconfig.json index 18cbe35651..c3ce44e55b 100644 --- a/types/angularlocalstorage/tsconfig.json +++ b/types/angularlocalstorage/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/angulartics/tsconfig.json b/types/angulartics/tsconfig.json index 2cfa5bb6a9..18593f0b9c 100644 --- a/types/angulartics/tsconfig.json +++ b/types/angulartics/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/animation-frame/tsconfig.json b/types/animation-frame/tsconfig.json index 50f3aa0703..b1ec9c5358 100644 --- a/types/animation-frame/tsconfig.json +++ b/types/animation-frame/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/animejs/tsconfig.json b/types/animejs/tsconfig.json index 02c5552371..084939a4f9 100644 --- a/types/animejs/tsconfig.json +++ b/types/animejs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/annyang/tsconfig.json b/types/annyang/tsconfig.json index f16b627fac..8087bb565e 100644 --- a/types/annyang/tsconfig.json +++ b/types/annyang/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ansi-colors/tsconfig.json b/types/ansi-colors/tsconfig.json index 8a0f980cbc..7ee743c176 100644 --- a/types/ansi-colors/tsconfig.json +++ b/types/ansi-colors/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "ansi-colors-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ansi-regex/tsconfig.json b/types/ansi-regex/tsconfig.json index cf1ac84a5c..67d64d91c2 100644 --- a/types/ansi-regex/tsconfig.json +++ b/types/ansi-regex/tsconfig.json @@ -7,17 +7,18 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, - "strictFunctionTypes": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "ansi-regex-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ansi-styles/tsconfig.json b/types/ansi-styles/tsconfig.json index daf091f6ce..052e258a64 100644 --- a/types/ansi-styles/tsconfig.json +++ b/types/ansi-styles/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ansicolors/tsconfig.json b/types/ansicolors/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/ansicolors/tsconfig.json +++ b/types/ansicolors/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/any-db-transaction/tsconfig.json b/types/any-db-transaction/tsconfig.json index 70db166ef8..1eb8e09d43 100644 --- a/types/any-db-transaction/tsconfig.json +++ b/types/any-db-transaction/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/any-db/tsconfig.json b/types/any-db/tsconfig.json index 21170c7c68..b78a69c22c 100644 --- a/types/any-db/tsconfig.json +++ b/types/any-db/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/anybar/tsconfig.json b/types/anybar/tsconfig.json index 1dd62548e6..17fc096621 100644 --- a/types/anybar/tsconfig.json +++ b/types/anybar/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/anymatch/tsconfig.json b/types/anymatch/tsconfig.json index d30a18ba98..921e277144 100644 --- a/types/anymatch/tsconfig.json +++ b/types/anymatch/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/apex.js/tsconfig.json b/types/apex.js/tsconfig.json index 2a67c3005a..d254229f4e 100644 --- a/types/apex.js/tsconfig.json +++ b/types/apex.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/aphrodite/tsconfig.json b/types/aphrodite/tsconfig.json index 733098707c..0794c0ff34 100644 --- a/types/aphrodite/tsconfig.json +++ b/types/aphrodite/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "preserve" }, "files": [ diff --git a/types/api-error-handler/tsconfig.json b/types/api-error-handler/tsconfig.json index 343e9007e9..7c46d54e64 100644 --- a/types/api-error-handler/tsconfig.json +++ b/types/api-error-handler/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/apigee-access/tsconfig.json b/types/apigee-access/tsconfig.json index 3a18c6594a..fabc7bafac 100644 --- a/types/apigee-access/tsconfig.json +++ b/types/apigee-access/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/apollo-codegen/tsconfig.json b/types/apollo-codegen/tsconfig.json index a793b04d75..da8da1b4e9 100644 --- a/types/apollo-codegen/tsconfig.json +++ b/types/apollo-codegen/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/app-root-path/tsconfig.json b/types/app-root-path/tsconfig.json index 0786aa8b6c..c32fe9ae27 100644 --- a/types/app-root-path/tsconfig.json +++ b/types/app-root-path/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/appdmg/tsconfig.json b/types/appdmg/tsconfig.json index f4ca0f95c5..6d729c863b 100644 --- a/types/appdmg/tsconfig.json +++ b/types/appdmg/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "appdmg-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/appframework/tsconfig.json b/types/appframework/tsconfig.json index 8ed9e604ca..aa6405cffa 100644 --- a/types/appframework/tsconfig.json +++ b/types/appframework/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/applepayjs/tsconfig.json b/types/applepayjs/tsconfig.json index 892c52bd37..b2fb66fe6e 100644 --- a/types/applepayjs/tsconfig.json +++ b/types/applepayjs/tsconfig.json @@ -2,6 +2,7 @@ "compilerOptions": { "baseUrl": "../", "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "lib": [ "dom", "es6" diff --git a/types/appletvjs/tsconfig.json b/types/appletvjs/tsconfig.json index 44dc1a34db..e1ad39d576 100644 --- a/types/appletvjs/tsconfig.json +++ b/types/appletvjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/applicationinsights-js/tsconfig.json b/types/applicationinsights-js/tsconfig.json index db2a137f6b..8eeecc5c0f 100644 --- a/types/applicationinsights-js/tsconfig.json +++ b/types/applicationinsights-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/aqb/tsconfig.json b/types/aqb/tsconfig.json index 44cb0d912f..09b73d3cfa 100644 --- a/types/aqb/tsconfig.json +++ b/types/aqb/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/arbiter/tsconfig.json b/types/arbiter/tsconfig.json index 674951954e..dafaff86db 100644 --- a/types/arbiter/tsconfig.json +++ b/types/arbiter/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/arcgis-js-api/tsconfig.json b/types/arcgis-js-api/tsconfig.json index 8a696a3a1e..815352a45c 100644 --- a/types/arcgis-js-api/tsconfig.json +++ b/types/arcgis-js-api/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/arcgis-js-api/v3/tsconfig.json b/types/arcgis-js-api/v3/tsconfig.json index 320cb582e1..63b40a8d0a 100644 --- a/types/arcgis-js-api/v3/tsconfig.json +++ b/types/arcgis-js-api/v3/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/arcgis-rest-api/tsconfig.json b/types/arcgis-rest-api/tsconfig.json index 346b0c1ea3..f65b0c47c2 100644 --- a/types/arcgis-rest-api/tsconfig.json +++ b/types/arcgis-rest-api/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/arcgis-to-geojson-utils/tsconfig.json b/types/arcgis-to-geojson-utils/tsconfig.json index c2ef5bf641..09d3eda55e 100644 --- a/types/arcgis-to-geojson-utils/tsconfig.json +++ b/types/arcgis-to-geojson-utils/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/archiver/tsconfig.json b/types/archiver/tsconfig.json index 71db696c82..fc2d8192fe 100644 --- a/types/archiver/tsconfig.json +++ b/types/archiver/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/archy/tsconfig.json b/types/archy/tsconfig.json index d26c849987..34f8c99625 100644 --- a/types/archy/tsconfig.json +++ b/types/archy/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/are-we-there-yet/tsconfig.json b/types/are-we-there-yet/tsconfig.json index 9df0996daa..06a8973b97 100644 --- a/types/are-we-there-yet/tsconfig.json +++ b/types/are-we-there-yet/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/argon2-browser/tsconfig.json b/types/argon2-browser/tsconfig.json index a380778b29..3faa9d5cba 100644 --- a/types/argon2-browser/tsconfig.json +++ b/types/argon2-browser/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "argon2-browser-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/argparse/tsconfig.json b/types/argparse/tsconfig.json index 49e7b03ca8..f3aac6f2d4 100644 --- a/types/argparse/tsconfig.json +++ b/types/argparse/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/args/tsconfig.json b/types/args/tsconfig.json index d287417769..7b53eb08e5 100644 --- a/types/args/tsconfig.json +++ b/types/args/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/argv/tsconfig.json b/types/argv/tsconfig.json index 2a123030fa..5158b5969d 100644 --- a/types/argv/tsconfig.json +++ b/types/argv/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/arr-union/tsconfig.json b/types/arr-union/tsconfig.json index 64a3b1efed..a5fb2d419f 100644 --- a/types/arr-union/tsconfig.json +++ b/types/arr-union/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "arr-union-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/array-find-index/tsconfig.json b/types/array-find-index/tsconfig.json index 41c6183cbe..0de263e4f3 100644 --- a/types/array-find-index/tsconfig.json +++ b/types/array-find-index/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/array-foreach/tsconfig.json b/types/array-foreach/tsconfig.json index bacc698e34..3a83dc7215 100644 --- a/types/array-foreach/tsconfig.json +++ b/types/array-foreach/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/array-uniq/tsconfig.json b/types/array-uniq/tsconfig.json index 71557f6481..ca86571124 100644 --- a/types/array-uniq/tsconfig.json +++ b/types/array-uniq/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/arrify/tsconfig.json b/types/arrify/tsconfig.json index 63d89a9c7f..2bbc02b851 100644 --- a/types/arrify/tsconfig.json +++ b/types/arrify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/artillery/tsconfig.json b/types/artillery/tsconfig.json index 0ad4bae0ee..6f8e79fafa 100644 --- a/types/artillery/tsconfig.json +++ b/types/artillery/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "artillery-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/asana/tsconfig.json b/types/asana/tsconfig.json index 452aade0b1..d4d565e8e3 100644 --- a/types/asana/tsconfig.json +++ b/types/asana/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ascii2mathml/tsconfig.json b/types/ascii2mathml/tsconfig.json index b4c4b0a21b..e41fd0d954 100644 --- a/types/ascii2mathml/tsconfig.json +++ b/types/ascii2mathml/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/asciify/tsconfig.json b/types/asciify/tsconfig.json index 5f84d92e80..08737c3b21 100644 --- a/types/asciify/tsconfig.json +++ b/types/asciify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/asenv/tsconfig.json b/types/asenv/tsconfig.json index c779998e24..d58b835636 100644 --- a/types/asenv/tsconfig.json +++ b/types/asenv/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/asn1js/tsconfig.json b/types/asn1js/tsconfig.json index 59420b595d..2a8fff0568 100644 --- a/types/asn1js/tsconfig.json +++ b/types/asn1js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/aspnet-identity-pw/tsconfig.json b/types/aspnet-identity-pw/tsconfig.json index 2d2ba0ec28..ba41002410 100644 --- a/types/aspnet-identity-pw/tsconfig.json +++ b/types/aspnet-identity-pw/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/assert-equal-jsx/tsconfig.json b/types/assert-equal-jsx/tsconfig.json index 3f476135f8..1a14c64d1c 100644 --- a/types/assert-equal-jsx/tsconfig.json +++ b/types/assert-equal-jsx/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/assert-plus/tsconfig.json b/types/assert-plus/tsconfig.json index 5c89ae8c31..8c8ef3cd0a 100644 --- a/types/assert-plus/tsconfig.json +++ b/types/assert-plus/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/assertsharp/tsconfig.json b/types/assertsharp/tsconfig.json index bc2779726e..febbb6ed84 100644 --- a/types/assertsharp/tsconfig.json +++ b/types/assertsharp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/assets-webpack-plugin/tsconfig.json b/types/assets-webpack-plugin/tsconfig.json index 3c08912345..91c958ed40 100644 --- a/types/assets-webpack-plugin/tsconfig.json +++ b/types/assets-webpack-plugin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/async-cache/tsconfig.json b/types/async-cache/tsconfig.json index 21657ef518..6a2cbf5f82 100644 --- a/types/async-cache/tsconfig.json +++ b/types/async-cache/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/async-lock/tsconfig.json b/types/async-lock/tsconfig.json index 1bc997ef73..22b7c33b0b 100644 --- a/types/async-lock/tsconfig.json +++ b/types/async-lock/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/async-polling/tsconfig.json b/types/async-polling/tsconfig.json index 5bcccb20f2..d3f9246be9 100644 --- a/types/async-polling/tsconfig.json +++ b/types/async-polling/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/async-retry/tsconfig.json b/types/async-retry/tsconfig.json index 8bdf98656d..e371a3e4d6 100644 --- a/types/async-retry/tsconfig.json +++ b/types/async-retry/tsconfig.json @@ -14,10 +14,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ "index.d.ts", "async-retry-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/async-writer/tsconfig.json b/types/async-writer/tsconfig.json index 2b8771e48c..565754dbb5 100644 --- a/types/async-writer/tsconfig.json +++ b/types/async-writer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/async.nexttick/tsconfig.json b/types/async.nexttick/tsconfig.json index b824f94a44..71de47e764 100644 --- a/types/async.nexttick/tsconfig.json +++ b/types/async.nexttick/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/async/tsconfig.json b/types/async/tsconfig.json index 153a5471fb..3834ff925d 100644 --- a/types/async/tsconfig.json +++ b/types/async/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/asynciterator/tsconfig.json b/types/asynciterator/tsconfig.json index 8b8b919abc..345f06297a 100644 --- a/types/asynciterator/tsconfig.json +++ b/types/asynciterator/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "asynciterator-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/atmosphere.js/tsconfig.json b/types/atmosphere.js/tsconfig.json index f06f28e8f7..7c135528bc 100644 --- a/types/atmosphere.js/tsconfig.json +++ b/types/atmosphere.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/atom-keymap/tsconfig.json b/types/atom-keymap/tsconfig.json index 8a17cc061c..0da99e34c6 100644 --- a/types/atom-keymap/tsconfig.json +++ b/types/atom-keymap/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "atom-keymap-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/atom-mocha-test-runner/tsconfig.json b/types/atom-mocha-test-runner/tsconfig.json index c6e9fb20c0..78526855a4 100644 --- a/types/atom-mocha-test-runner/tsconfig.json +++ b/types/atom-mocha-test-runner/tsconfig.json @@ -16,10 +16,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "atom-mocha-test-runner-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/atom/tsconfig.json b/types/atom/tsconfig.json index a58ec7b74c..255161da5d 100644 --- a/types/atom/tsconfig.json +++ b/types/atom/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", @@ -24,4 +25,4 @@ "linter/index.d.ts", "status-bar/index.d.ts" ] -} +} \ No newline at end of file diff --git a/types/atpl/tsconfig.json b/types/atpl/tsconfig.json index 24f7da314f..29701793a6 100644 --- a/types/atpl/tsconfig.json +++ b/types/atpl/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/audiosprite/tsconfig.json b/types/audiosprite/tsconfig.json index b761c9572e..b62f115d3e 100644 --- a/types/audiosprite/tsconfig.json +++ b/types/audiosprite/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/auth0-angular/tsconfig.json b/types/auth0-angular/tsconfig.json index 42ee707301..7ebb721b12 100644 --- a/types/auth0-angular/tsconfig.json +++ b/types/auth0-angular/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/auth0-js/tsconfig.json b/types/auth0-js/tsconfig.json index a813aae68d..94352610d5 100644 --- a/types/auth0-js/tsconfig.json +++ b/types/auth0-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/auth0-js/v7/tsconfig.json b/types/auth0-js/v7/tsconfig.json index e76b7d7dd8..a545bdd735 100644 --- a/types/auth0-js/v7/tsconfig.json +++ b/types/auth0-js/v7/tsconfig.json @@ -23,7 +23,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/auth0-lock/tsconfig.json b/types/auth0-lock/tsconfig.json index 2e008d7c0d..4f1a4777b1 100644 --- a/types/auth0-lock/tsconfig.json +++ b/types/auth0-lock/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/auth0.widget/tsconfig.json b/types/auth0.widget/tsconfig.json index d18a18213b..bcf85a4971 100644 --- a/types/auth0.widget/tsconfig.json +++ b/types/auth0.widget/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/auth0/tsconfig.json b/types/auth0/tsconfig.json index dd7c60796c..035f06fa53 100644 --- a/types/auth0/tsconfig.json +++ b/types/auth0/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/auto-launch/tsconfig.json b/types/auto-launch/tsconfig.json index 952d3c0c5d..ae1120e02d 100644 --- a/types/auto-launch/tsconfig.json +++ b/types/auto-launch/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/auto-sni/tsconfig.json b/types/auto-sni/tsconfig.json index 9c03900b72..9a339b5439 100644 --- a/types/auto-sni/tsconfig.json +++ b/types/auto-sni/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/autobahn/tsconfig.json b/types/autobahn/tsconfig.json index 35ca105b25..a3b68fe8fd 100644 --- a/types/autobahn/tsconfig.json +++ b/types/autobahn/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/autolinker/tsconfig.json b/types/autolinker/tsconfig.json index 7d8068c47c..14a6b796bf 100644 --- a/types/autolinker/tsconfig.json +++ b/types/autolinker/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/autoprefixer-core/tsconfig.json b/types/autoprefixer-core/tsconfig.json index 91b4bc2e7c..ec4c2ed5c6 100644 --- a/types/autoprefixer-core/tsconfig.json +++ b/types/autoprefixer-core/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/autoprefixer/tsconfig.json b/types/autoprefixer/tsconfig.json index 92adece604..526589c957 100644 --- a/types/autoprefixer/tsconfig.json +++ b/types/autoprefixer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/autosize/tsconfig.json b/types/autosize/tsconfig.json index d74b3d9c37..40eb47cb0e 100644 --- a/types/autosize/tsconfig.json +++ b/types/autosize/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/avoscloud-sdk/tsconfig.json b/types/avoscloud-sdk/tsconfig.json index 2d3d9589f4..4500518b48 100644 --- a/types/avoscloud-sdk/tsconfig.json +++ b/types/avoscloud-sdk/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/awesomplete/tsconfig.json b/types/awesomplete/tsconfig.json index 74f690ea77..c7d261fded 100644 --- a/types/awesomplete/tsconfig.json +++ b/types/awesomplete/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/aws-iot-device-sdk/tsconfig.json b/types/aws-iot-device-sdk/tsconfig.json index 3fdd4b0f28..4b938cc66f 100644 --- a/types/aws-iot-device-sdk/tsconfig.json +++ b/types/aws-iot-device-sdk/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/aws-lambda-mock-context/tsconfig.json b/types/aws-lambda-mock-context/tsconfig.json index 5d1dfe3f1f..8587235c8a 100644 --- a/types/aws-lambda-mock-context/tsconfig.json +++ b/types/aws-lambda-mock-context/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/aws-lambda/tsconfig.json b/types/aws-lambda/tsconfig.json index f4f2cc28f6..37e2690d7e 100644 --- a/types/aws-lambda/tsconfig.json +++ b/types/aws-lambda/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/aws-serverless-express/tsconfig.json b/types/aws-serverless-express/tsconfig.json index be920785f5..6c4cceb55a 100644 --- a/types/aws-serverless-express/tsconfig.json +++ b/types/aws-serverless-express/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/aws4/tsconfig.json b/types/aws4/tsconfig.json index a0bcbfa73e..014d560bbd 100644 --- a/types/aws4/tsconfig.json +++ b/types/aws4/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/axel/tsconfig.json b/types/axel/tsconfig.json index a3e2b5e015..ef8d480470 100644 --- a/types/axel/tsconfig.json +++ b/types/axel/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "axel-tests.ts", diff --git a/types/azure-mobile-services-client/tsconfig.json b/types/azure-mobile-services-client/tsconfig.json index 1d424df8c4..a31791ed92 100644 --- a/types/azure-mobile-services-client/tsconfig.json +++ b/types/azure-mobile-services-client/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/azure-sb/tsconfig.json b/types/azure-sb/tsconfig.json index 09c9a2a9e4..d111d611fb 100644 --- a/types/azure-sb/tsconfig.json +++ b/types/azure-sb/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "lib/servicebusservice.d.ts", @@ -38,5 +39,4 @@ "azure-sb-tests.ts", "index.d.ts" ] -} - +} \ No newline at end of file diff --git a/types/azure/tsconfig.json b/types/azure/tsconfig.json index 0c4b536df2..df0f82f64b 100644 --- a/types/azure/tsconfig.json +++ b/types/azure/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/b_/tsconfig.json b/types/b_/tsconfig.json index 9227b30bf1..6dfab1f4a1 100644 --- a/types/b_/tsconfig.json +++ b/types/b_/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/babel-code-frame/tsconfig.json b/types/babel-code-frame/tsconfig.json index 48e33ae829..57a0a8bb26 100644 --- a/types/babel-code-frame/tsconfig.json +++ b/types/babel-code-frame/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/babel-core/tsconfig.json b/types/babel-core/tsconfig.json index 41aee71205..11a8a8f40c 100644 --- a/types/babel-core/tsconfig.json +++ b/types/babel-core/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/babel-generator/tsconfig.json b/types/babel-generator/tsconfig.json index 76d138f54d..3024006f80 100644 --- a/types/babel-generator/tsconfig.json +++ b/types/babel-generator/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/babel-plugin-react-pug/tsconfig.json b/types/babel-plugin-react-pug/tsconfig.json index 6cb3ae3ee1..b29df5be30 100644 --- a/types/babel-plugin-react-pug/tsconfig.json +++ b/types/babel-plugin-react-pug/tsconfig.json @@ -15,6 +15,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/babel-plugin-syntax-jsx/tsconfig.json b/types/babel-plugin-syntax-jsx/tsconfig.json index 6b52644488..c139912293 100644 --- a/types/babel-plugin-syntax-jsx/tsconfig.json +++ b/types/babel-plugin-syntax-jsx/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/babel-template/tsconfig.json b/types/babel-template/tsconfig.json index 96de23cec7..4dc5b17820 100644 --- a/types/babel-template/tsconfig.json +++ b/types/babel-template/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/babel-traverse/tsconfig.json b/types/babel-traverse/tsconfig.json index 03dfa6ea51..dfbed1aef9 100644 --- a/types/babel-traverse/tsconfig.json +++ b/types/babel-traverse/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/babel-types/tsconfig.json b/types/babel-types/tsconfig.json index 92d7d6442e..ec251d52b2 100644 --- a/types/babel-types/tsconfig.json +++ b/types/babel-types/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/babel-webpack-plugin/tsconfig.json b/types/babel-webpack-plugin/tsconfig.json index 3e73343283..78fccc30bc 100644 --- a/types/babel-webpack-plugin/tsconfig.json +++ b/types/babel-webpack-plugin/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "babel-webpack-plugin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/babelify/tsconfig.json b/types/babelify/tsconfig.json index 9e07702ef2..e54236cdd6 100644 --- a/types/babelify/tsconfig.json +++ b/types/babelify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/babylon-walk/tsconfig.json b/types/babylon-walk/tsconfig.json index 9e1d7c33b7..b92a49ec5e 100644 --- a/types/babylon-walk/tsconfig.json +++ b/types/babylon-walk/tsconfig.json @@ -14,6 +14,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/babylon/tsconfig.json b/types/babylon/tsconfig.json index 94d5c0bd59..750f9357ac 100644 --- a/types/babylon/tsconfig.json +++ b/types/babylon/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/babyparse/tsconfig.json b/types/babyparse/tsconfig.json index da28a97d29..86af41a356 100644 --- a/types/babyparse/tsconfig.json +++ b/types/babyparse/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/backbone-associations/tsconfig.json b/types/backbone-associations/tsconfig.json index 7f905ff541..b822a91a70 100644 --- a/types/backbone-associations/tsconfig.json +++ b/types/backbone-associations/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/backbone-fetch-cache/tsconfig.json b/types/backbone-fetch-cache/tsconfig.json index 28c3240abc..bf3efc040a 100644 --- a/types/backbone-fetch-cache/tsconfig.json +++ b/types/backbone-fetch-cache/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/backbone-relational/tsconfig.json b/types/backbone-relational/tsconfig.json index 961582a08f..d0b124e315 100644 --- a/types/backbone-relational/tsconfig.json +++ b/types/backbone-relational/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/backbone.layoutmanager/tsconfig.json b/types/backbone.layoutmanager/tsconfig.json index 85b5e97b31..be801dd5e2 100644 --- a/types/backbone.layoutmanager/tsconfig.json +++ b/types/backbone.layoutmanager/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/backbone.localstorage/tsconfig.json b/types/backbone.localstorage/tsconfig.json index 65302c1d16..f745e8beb4 100644 --- a/types/backbone.localstorage/tsconfig.json +++ b/types/backbone.localstorage/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/backbone.marionette/tsconfig.json b/types/backbone.marionette/tsconfig.json index b31d3cbfa4..a9396b0e55 100644 --- a/types/backbone.marionette/tsconfig.json +++ b/types/backbone.marionette/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/backbone.paginator/tsconfig.json b/types/backbone.paginator/tsconfig.json index 453c5e2861..fc77167b76 100644 --- a/types/backbone.paginator/tsconfig.json +++ b/types/backbone.paginator/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/backbone.radio/tsconfig.json b/types/backbone.radio/tsconfig.json index 024840f373..ebf120cfac 100644 --- a/types/backbone.radio/tsconfig.json +++ b/types/backbone.radio/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/backbone/tsconfig.json b/types/backbone/tsconfig.json index c1185d6adf..227a495055 100644 --- a/types/backbone/tsconfig.json +++ b/types/backbone/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/backgrid/tsconfig.json b/types/backgrid/tsconfig.json index f2db8efd4c..e7449e8481 100644 --- a/types/backgrid/tsconfig.json +++ b/types/backgrid/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/backlog-js/tsconfig.json b/types/backlog-js/tsconfig.json index 360392d4ca..5e2cfc0b1c 100644 --- a/types/backlog-js/tsconfig.json +++ b/types/backlog-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/backoff/tsconfig.json b/types/backoff/tsconfig.json index 1946d82f81..71a863de5b 100644 --- a/types/backoff/tsconfig.json +++ b/types/backoff/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/baconjs/tsconfig.json b/types/baconjs/tsconfig.json index c9d82e16f7..4da0a4158f 100644 --- a/types/baconjs/tsconfig.json +++ b/types/baconjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bagpipes/tsconfig.json b/types/bagpipes/tsconfig.json index 56d9d43a52..db3bcb65b2 100755 --- a/types/bagpipes/tsconfig.json +++ b/types/bagpipes/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/baidumap-web-sdk/tsconfig.json b/types/baidumap-web-sdk/tsconfig.json index 6504c4665a..a0ee2590d8 100644 --- a/types/baidumap-web-sdk/tsconfig.json +++ b/types/baidumap-web-sdk/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/barcode/tsconfig.json b/types/barcode/tsconfig.json index a66d2ab178..f608cf0384 100644 --- a/types/barcode/tsconfig.json +++ b/types/barcode/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bardjs/tsconfig.json b/types/bardjs/tsconfig.json index bd5226a586..bf1bcdf426 100644 --- a/types/bardjs/tsconfig.json +++ b/types/bardjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/base-64/tsconfig.json b/types/base-64/tsconfig.json index 49de73c3ef..a4ca7d05ca 100644 --- a/types/base-64/tsconfig.json +++ b/types/base-64/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/base-x/tsconfig.json b/types/base-x/tsconfig.json index d69790c7d6..42a2d63c40 100644 --- a/types/base-x/tsconfig.json +++ b/types/base-x/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/base16/tsconfig.json b/types/base16/tsconfig.json index d354b0ba01..01e600fe79 100644 --- a/types/base16/tsconfig.json +++ b/types/base16/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/base64-js/tsconfig.json b/types/base64-js/tsconfig.json index 3a65d8af45..0199f01efa 100644 --- a/types/base64-js/tsconfig.json +++ b/types/base64-js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bases/tsconfig.json b/types/bases/tsconfig.json index 4b8912ac99..97e27e72e2 100644 --- a/types/bases/tsconfig.json +++ b/types/bases/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bash-glob/tsconfig.json b/types/bash-glob/tsconfig.json index 6a45a2d74d..0fdaf237e6 100644 --- a/types/bash-glob/tsconfig.json +++ b/types/bash-glob/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "bash-glob-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/basic-auth/tsconfig.json b/types/basic-auth/tsconfig.json index 7c49ef4d01..09bfa7fda6 100644 --- a/types/basic-auth/tsconfig.json +++ b/types/basic-auth/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/batch-stream/tsconfig.json b/types/batch-stream/tsconfig.json index e99f40b376..e746a4a8a2 100644 --- a/types/batch-stream/tsconfig.json +++ b/types/batch-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bazinga-translator/tsconfig.json b/types/bazinga-translator/tsconfig.json index 1ca08ada9b..22d98fdda3 100644 --- a/types/bazinga-translator/tsconfig.json +++ b/types/bazinga-translator/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bcrypt-nodejs/tsconfig.json b/types/bcrypt-nodejs/tsconfig.json index 1d7991ff5f..ffce95575f 100644 --- a/types/bcrypt-nodejs/tsconfig.json +++ b/types/bcrypt-nodejs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bcrypt/tsconfig.json b/types/bcrypt/tsconfig.json index 97c8808944..484a20da18 100644 --- a/types/bcrypt/tsconfig.json +++ b/types/bcrypt/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bcryptjs/tsconfig.json b/types/bcryptjs/tsconfig.json index 094f87744c..f20bc8f4bf 100644 --- a/types/bcryptjs/tsconfig.json +++ b/types/bcryptjs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/beats/tsconfig.json b/types/beats/tsconfig.json index 89bd0b5995..51a7504c29 100644 --- a/types/beats/tsconfig.json +++ b/types/beats/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "beats-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bech32/tsconfig.json b/types/bech32/tsconfig.json index 886ec79796..6fd17c5386 100644 --- a/types/bech32/tsconfig.json +++ b/types/bech32/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "bech32-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bem-cn/tsconfig.json b/types/bem-cn/tsconfig.json index e9212d8d91..fcef3bbd2f 100644 --- a/types/bem-cn/tsconfig.json +++ b/types/bem-cn/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/benchmark/tsconfig.json b/types/benchmark/tsconfig.json index ba1b6a3e55..252c53edbf 100644 --- a/types/benchmark/tsconfig.json +++ b/types/benchmark/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/better-curry/tsconfig.json b/types/better-curry/tsconfig.json index e5ceee43fc..ca9c7198ad 100644 --- a/types/better-curry/tsconfig.json +++ b/types/better-curry/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/better-sqlite3/tsconfig.json b/types/better-sqlite3/tsconfig.json index 30a480355b..498fdb02b0 100644 --- a/types/better-sqlite3/tsconfig.json +++ b/types/better-sqlite3/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bezier-easing/tsconfig.json b/types/bezier-easing/tsconfig.json index 2603e9bae8..cb1796c552 100644 --- a/types/bezier-easing/tsconfig.json +++ b/types/bezier-easing/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bezier-js/tsconfig.json b/types/bezier-js/tsconfig.json index 02796cc09c..ed32c02bde 100644 --- a/types/bezier-js/tsconfig.json +++ b/types/bezier-js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bgiframe/tsconfig.json b/types/bgiframe/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/bgiframe/tsconfig.json +++ b/types/bgiframe/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/big.js/tsconfig.json b/types/big.js/tsconfig.json index 950e8b410f..f0a159d0df 100644 --- a/types/big.js/tsconfig.json +++ b/types/big.js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bigi/tsconfig.json b/types/bigi/tsconfig.json index de6aa90a97..d2a61fc6d4 100644 --- a/types/bigi/tsconfig.json +++ b/types/bigi/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bigint/tsconfig.json b/types/bigint/tsconfig.json index 37005189a4..37b2fc8ffe 100644 --- a/types/bigint/tsconfig.json +++ b/types/bigint/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bignum/tsconfig.json b/types/bignum/tsconfig.json index 15cb8a7b4f..64fc11893f 100644 --- a/types/bignum/tsconfig.json +++ b/types/bignum/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bigscreen/tsconfig.json b/types/bigscreen/tsconfig.json index 71230cc8e1..16e554a953 100644 --- a/types/bigscreen/tsconfig.json +++ b/types/bigscreen/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/binary-parser/tsconfig.json b/types/binary-parser/tsconfig.json index cb361f52c5..5f5844d984 100644 --- a/types/binary-parser/tsconfig.json +++ b/types/binary-parser/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "binary-parser-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bind-ponyfill/tsconfig.json b/types/bind-ponyfill/tsconfig.json index 29d2a7cac2..bc3d132161 100644 --- a/types/bind-ponyfill/tsconfig.json +++ b/types/bind-ponyfill/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bindings/tsconfig.json b/types/bindings/tsconfig.json index fb9350642a..885e8058e8 100644 --- a/types/bindings/tsconfig.json +++ b/types/bindings/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "bindings-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bingmaps/tsconfig.json b/types/bingmaps/tsconfig.json index 421876221b..f3efc20f2b 100644 --- a/types/bingmaps/tsconfig.json +++ b/types/bingmaps/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bintrees/tsconfig.json b/types/bintrees/tsconfig.json index d21ec38c1e..13adede158 100644 --- a/types/bintrees/tsconfig.json +++ b/types/bintrees/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bip21/tsconfig.json b/types/bip21/tsconfig.json index be0b017722..c487184fe8 100644 --- a/types/bip21/tsconfig.json +++ b/types/bip21/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bip38/tsconfig.json b/types/bip38/tsconfig.json index 6ce875b1d1..b490f75d5b 100644 --- a/types/bip38/tsconfig.json +++ b/types/bip38/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "bip38-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bip39/tsconfig.json b/types/bip39/tsconfig.json index d44c1197ad..d3452a293a 100644 --- a/types/bip39/tsconfig.json +++ b/types/bip39/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "bip39-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bit-array/tsconfig.json b/types/bit-array/tsconfig.json index ba2e9e32a2..589e137b19 100644 --- a/types/bit-array/tsconfig.json +++ b/types/bit-array/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bitcoinjs-lib/tsconfig.json b/types/bitcoinjs-lib/tsconfig.json index f874ae9858..35de2c3aab 100644 --- a/types/bitcoinjs-lib/tsconfig.json +++ b/types/bitcoinjs-lib/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bittorrent-protocol/tsconfig.json b/types/bittorrent-protocol/tsconfig.json index f128669698..311ea796cb 100644 --- a/types/bittorrent-protocol/tsconfig.json +++ b/types/bittorrent-protocol/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bitwise-xor/tsconfig.json b/types/bitwise-xor/tsconfig.json index a6b66cda37..35574c6254 100644 --- a/types/bitwise-xor/tsconfig.json +++ b/types/bitwise-xor/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bl/tsconfig.json b/types/bl/tsconfig.json index 0f7c861ce8..96ce63bb4e 100644 --- a/types/bl/tsconfig.json +++ b/types/bl/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/blacklist/tsconfig.json b/types/blacklist/tsconfig.json index 76cb49e40f..4e45bff651 100644 --- a/types/blacklist/tsconfig.json +++ b/types/blacklist/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/blazy/tsconfig.json b/types/blazy/tsconfig.json index e452d910ec..8e6b8be63e 100644 --- a/types/blazy/tsconfig.json +++ b/types/blazy/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bleno/tsconfig.json b/types/bleno/tsconfig.json index 338f3e3d24..ddc7332cf7 100644 --- a/types/bleno/tsconfig.json +++ b/types/bleno/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/blessed/tsconfig.json b/types/blessed/tsconfig.json index e57d4b78d6..663cf64ce8 100644 --- a/types/blessed/tsconfig.json +++ b/types/blessed/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/blissfuljs/tsconfig.json b/types/blissfuljs/tsconfig.json index 42087d76ef..16201714f3 100644 --- a/types/blissfuljs/tsconfig.json +++ b/types/blissfuljs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/blob-stream/tsconfig.json b/types/blob-stream/tsconfig.json index 2ebe6cacb9..c8ae5c3565 100644 --- a/types/blob-stream/tsconfig.json +++ b/types/blob-stream/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/blob-to-buffer/tsconfig.json b/types/blob-to-buffer/tsconfig.json index 2421ce2493..ed4fc69e7b 100644 --- a/types/blob-to-buffer/tsconfig.json +++ b/types/blob-to-buffer/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "blob-to-buffer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/blob-util/tsconfig.json b/types/blob-util/tsconfig.json index 7f7970ab0b..2f53f29186 100644 --- a/types/blob-util/tsconfig.json +++ b/types/blob-util/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/blocks/tsconfig.json b/types/blocks/tsconfig.json index 85da699a13..4203094315 100644 --- a/types/blocks/tsconfig.json +++ b/types/blocks/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bloomfilter/tsconfig.json b/types/bloomfilter/tsconfig.json index 76ea34c251..578ee0b36b 100644 --- a/types/bloomfilter/tsconfig.json +++ b/types/bloomfilter/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/blue-tape/tsconfig.json b/types/blue-tape/tsconfig.json index a4fc12b9e1..5271d69567 100644 --- a/types/blue-tape/tsconfig.json +++ b/types/blue-tape/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bluebird-global/tsconfig.json b/types/bluebird-global/tsconfig.json index d037429e0d..5256c6c206 100644 --- a/types/bluebird-global/tsconfig.json +++ b/types/bluebird-global/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bluebird-retry/tsconfig.json b/types/bluebird-retry/tsconfig.json index 5ae2b487db..ea6622b197 100644 --- a/types/bluebird-retry/tsconfig.json +++ b/types/bluebird-retry/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bluebird/tsconfig.json b/types/bluebird/tsconfig.json index 909dae3771..b0b641abfd 100644 --- a/types/bluebird/tsconfig.json +++ b/types/bluebird/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/bluebird/v1/tsconfig.json b/types/bluebird/v1/tsconfig.json index 3e22a6a885..1a61a9f82c 100644 --- a/types/bluebird/v1/tsconfig.json +++ b/types/bluebird/v1/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bluebird/v2/tsconfig.json b/types/bluebird/v2/tsconfig.json index 773747fb4a..e58ea42703 100644 --- a/types/bluebird/v2/tsconfig.json +++ b/types/bluebird/v2/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/blueimp-md5/tsconfig.json b/types/blueimp-md5/tsconfig.json index 286b0abda2..84d291ab5f 100644 --- a/types/blueimp-md5/tsconfig.json +++ b/types/blueimp-md5/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/body-parser/tsconfig.json b/types/body-parser/tsconfig.json index 9c0314a557..fcab8a9b2c 100644 --- a/types/body-parser/tsconfig.json +++ b/types/body-parser/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bonjour/tsconfig.json b/types/bonjour/tsconfig.json index 8cc7d3f823..8840a855b0 100644 --- a/types/bonjour/tsconfig.json +++ b/types/bonjour/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bookshelf/tsconfig.json b/types/bookshelf/tsconfig.json index e983e9b53c..97c8b4593f 100644 --- a/types/bookshelf/tsconfig.json +++ b/types/bookshelf/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/boolify-string/tsconfig.json b/types/boolify-string/tsconfig.json index fcc1b15038..dee33294ce 100644 --- a/types/boolify-string/tsconfig.json +++ b/types/boolify-string/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/boom/tsconfig.json b/types/boom/tsconfig.json index 81f6f5cacf..dc98c5e8dd 100644 --- a/types/boom/tsconfig.json +++ b/types/boom/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/boom/v3/tsconfig.json b/types/boom/v3/tsconfig.json index 1f8b8e7f4a..5e710a4782 100644 --- a/types/boom/v3/tsconfig.json +++ b/types/boom/v3/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/boom/v4/tsconfig.json b/types/boom/v4/tsconfig.json index 58f1109eee..0a547414fb 100644 --- a/types/boom/v4/tsconfig.json +++ b/types/boom/v4/tsconfig.json @@ -19,10 +19,11 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "boom-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bootbox/tsconfig.json b/types/bootbox/tsconfig.json index 75da35b2bc..c5edc1ed75 100644 --- a/types/bootbox/tsconfig.json +++ b/types/bootbox/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bootpag/tsconfig.json b/types/bootpag/tsconfig.json index 69b09cc3a6..6861920942 100644 --- a/types/bootpag/tsconfig.json +++ b/types/bootpag/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-datepicker/tsconfig.json b/types/bootstrap-datepicker/tsconfig.json index 6770944b42..a8fed647e2 100644 --- a/types/bootstrap-datepicker/tsconfig.json +++ b/types/bootstrap-datepicker/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-fileinput/tsconfig.json b/types/bootstrap-fileinput/tsconfig.json index fa1c069762..b4076b50e2 100644 --- a/types/bootstrap-fileinput/tsconfig.json +++ b/types/bootstrap-fileinput/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/bootstrap-growl-ifightcrime/tsconfig.json b/types/bootstrap-growl-ifightcrime/tsconfig.json index dbeadea241..fc7523d1ed 100644 --- a/types/bootstrap-growl-ifightcrime/tsconfig.json +++ b/types/bootstrap-growl-ifightcrime/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-maxlength/tsconfig.json b/types/bootstrap-maxlength/tsconfig.json index 403883963c..e4b44ea983 100644 --- a/types/bootstrap-maxlength/tsconfig.json +++ b/types/bootstrap-maxlength/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-notify/tsconfig.json b/types/bootstrap-notify/tsconfig.json index f833291433..655e25aee4 100644 --- a/types/bootstrap-notify/tsconfig.json +++ b/types/bootstrap-notify/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-select/tsconfig.json b/types/bootstrap-select/tsconfig.json index 108bd0a43f..5e091020b7 100644 --- a/types/bootstrap-select/tsconfig.json +++ b/types/bootstrap-select/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-slider/tsconfig.json b/types/bootstrap-slider/tsconfig.json index 7400a08d09..290df45757 100644 --- a/types/bootstrap-slider/tsconfig.json +++ b/types/bootstrap-slider/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-switch/tsconfig.json b/types/bootstrap-switch/tsconfig.json index 794d73cac9..12b39ceee9 100644 --- a/types/bootstrap-switch/tsconfig.json +++ b/types/bootstrap-switch/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-table/tsconfig.json b/types/bootstrap-table/tsconfig.json index b38fb73330..8ce2a4f120 100644 --- a/types/bootstrap-table/tsconfig.json +++ b/types/bootstrap-table/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-touchspin/tsconfig.json b/types/bootstrap-touchspin/tsconfig.json index 1ce86dec76..dd3a9a264f 100644 --- a/types/bootstrap-touchspin/tsconfig.json +++ b/types/bootstrap-touchspin/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-treeview/tsconfig.json b/types/bootstrap-treeview/tsconfig.json index 30898529bb..07ec80679b 100644 --- a/types/bootstrap-treeview/tsconfig.json +++ b/types/bootstrap-treeview/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-validator/tsconfig.json b/types/bootstrap-validator/tsconfig.json index 4f61ae94f9..c2fe1d7649 100644 --- a/types/bootstrap-validator/tsconfig.json +++ b/types/bootstrap-validator/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap.paginator/tsconfig.json b/types/bootstrap.paginator/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/bootstrap.paginator/tsconfig.json +++ b/types/bootstrap.paginator/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/bootstrap.timepicker/tsconfig.json b/types/bootstrap.timepicker/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/bootstrap.timepicker/tsconfig.json +++ b/types/bootstrap.timepicker/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/bootstrap.v3.datetimepicker/tsconfig.json b/types/bootstrap.v3.datetimepicker/tsconfig.json index 36febd5a8f..07477e55ee 100644 --- a/types/bootstrap.v3.datetimepicker/tsconfig.json +++ b/types/bootstrap.v3.datetimepicker/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/bootstrap.v3.datetimepicker/v3/tsconfig.json b/types/bootstrap.v3.datetimepicker/v3/tsconfig.json index 3dcc23bdff..2647486a31 100644 --- a/types/bootstrap.v3.datetimepicker/v3/tsconfig.json +++ b/types/bootstrap.v3.datetimepicker/v3/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/bootstrap/tsconfig.json b/types/bootstrap/tsconfig.json index 536901e8a6..69b44a5acc 100644 --- a/types/bootstrap/tsconfig.json +++ b/types/bootstrap/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bounce.js/tsconfig.json b/types/bounce.js/tsconfig.json index a0f7048729..e98358df0d 100644 --- a/types/bounce.js/tsconfig.json +++ b/types/bounce.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/box2d/tsconfig.json b/types/box2d/tsconfig.json index 9fae5e8326..d2792ff0aa 100644 --- a/types/box2d/tsconfig.json +++ b/types/box2d/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/brace-expansion/tsconfig.json b/types/brace-expansion/tsconfig.json index a64fa9ea3b..5bf38b657e 100644 --- a/types/brace-expansion/tsconfig.json +++ b/types/brace-expansion/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/braces/tsconfig.json b/types/braces/tsconfig.json index bdacb750ad..4cea273caa 100644 --- a/types/braces/tsconfig.json +++ b/types/braces/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/braft-editor/tsconfig.json b/types/braft-editor/tsconfig.json index f04b8febfe..f944ddb136 100644 --- a/types/braft-editor/tsconfig.json +++ b/types/braft-editor/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/braintree-web/tsconfig.json b/types/braintree-web/tsconfig.json index 3a39178d0e..8ebecd3737 100644 --- a/types/braintree-web/tsconfig.json +++ b/types/braintree-web/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/breeze/tsconfig.json b/types/breeze/tsconfig.json index 236bcba327..6960f68bf4 100644 --- a/types/breeze/tsconfig.json +++ b/types/breeze/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bricks.js/tsconfig.json b/types/bricks.js/tsconfig.json index 5f265430a3..af736ecb51 100644 --- a/types/bricks.js/tsconfig.json +++ b/types/bricks.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/brorand/tsconfig.json b/types/brorand/tsconfig.json index 52e7dbf24c..46bf46253f 100644 --- a/types/brorand/tsconfig.json +++ b/types/brorand/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/browser-bunyan/tsconfig.json b/types/browser-bunyan/tsconfig.json index ab3fb51bd2..258572b639 100644 --- a/types/browser-bunyan/tsconfig.json +++ b/types/browser-bunyan/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/browser-fingerprint/tsconfig.json b/types/browser-fingerprint/tsconfig.json index 7f34a8f380..b542891e6d 100644 --- a/types/browser-fingerprint/tsconfig.json +++ b/types/browser-fingerprint/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/browser-harness/tsconfig.json b/types/browser-harness/tsconfig.json index 1694e52c08..94f44fa93e 100644 --- a/types/browser-harness/tsconfig.json +++ b/types/browser-harness/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/browser-pack/tsconfig.json b/types/browser-pack/tsconfig.json index 1dc87a2e2d..23cf069267 100644 --- a/types/browser-pack/tsconfig.json +++ b/types/browser-pack/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/browser-report/tsconfig.json b/types/browser-report/tsconfig.json index f0bb076ca9..d356e5aa89 100644 --- a/types/browser-report/tsconfig.json +++ b/types/browser-report/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/browser-resolve/tsconfig.json b/types/browser-resolve/tsconfig.json index 5f873c7ee5..82c5c037ca 100644 --- a/types/browser-resolve/tsconfig.json +++ b/types/browser-resolve/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/browser-sync/tsconfig.json b/types/browser-sync/tsconfig.json index 830268a3a6..0984bd5d70 100644 --- a/types/browser-sync/tsconfig.json +++ b/types/browser-sync/tsconfig.json @@ -19,7 +19,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/browserify/tsconfig.json b/types/browserify/tsconfig.json index df71b7fb3b..f0588d71c8 100644 --- a/types/browserify/tsconfig.json +++ b/types/browserify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bs58/tsconfig.json b/types/bs58/tsconfig.json index 9e0ed25701..3c8b90f97d 100644 --- a/types/bs58/tsconfig.json +++ b/types/bs58/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bson/tsconfig.json b/types/bson/tsconfig.json index aa4936d595..684c19c644 100644 --- a/types/bson/tsconfig.json +++ b/types/bson/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bucks/tsconfig.json b/types/bucks/tsconfig.json index f06df83926..fe5a89bfe7 100644 --- a/types/bucks/tsconfig.json +++ b/types/bucks/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/buffer-compare/tsconfig.json b/types/buffer-compare/tsconfig.json index 76638cae6e..0c58396698 100644 --- a/types/buffer-compare/tsconfig.json +++ b/types/buffer-compare/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/buffer-equal/tsconfig.json b/types/buffer-equal/tsconfig.json index 5576be8e43..d6b1d1f588 100644 --- a/types/buffer-equal/tsconfig.json +++ b/types/buffer-equal/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/buffers/tsconfig.json b/types/buffers/tsconfig.json index 148f3d1dbb..26bb76ee44 100644 --- a/types/buffers/tsconfig.json +++ b/types/buffers/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bufferstream/tsconfig.json b/types/bufferstream/tsconfig.json index 000bd2d09c..be892dede3 100644 --- a/types/bufferstream/tsconfig.json +++ b/types/bufferstream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bull/tsconfig.json b/types/bull/tsconfig.json index 3ce6f08792..6027d4730a 100644 --- a/types/bull/tsconfig.json +++ b/types/bull/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bull/v2/tsconfig.json b/types/bull/v2/tsconfig.json index c0b2369568..980cf8d0cf 100644 --- a/types/bull/v2/tsconfig.json +++ b/types/bull/v2/tsconfig.json @@ -22,7 +22,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bump-regex/tsconfig.json b/types/bump-regex/tsconfig.json index 001effea6a..404f062975 100644 --- a/types/bump-regex/tsconfig.json +++ b/types/bump-regex/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "bump-regex-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bunnymq/tsconfig.json b/types/bunnymq/tsconfig.json index d1a470e451..10ba808afe 100644 --- a/types/bunnymq/tsconfig.json +++ b/types/bunnymq/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bunyan-blackhole/tsconfig.json b/types/bunyan-blackhole/tsconfig.json index 0266e86bae..21feb4a051 100644 --- a/types/bunyan-blackhole/tsconfig.json +++ b/types/bunyan-blackhole/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bunyan-bugsnag/tsconfig.json b/types/bunyan-bugsnag/tsconfig.json index 1910cbaf79..ddfbaa92ab 100644 --- a/types/bunyan-bugsnag/tsconfig.json +++ b/types/bunyan-bugsnag/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bunyan-config/tsconfig.json b/types/bunyan-config/tsconfig.json index 7866deb22e..818c7dad3f 100644 --- a/types/bunyan-config/tsconfig.json +++ b/types/bunyan-config/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bunyan-format/tsconfig.json b/types/bunyan-format/tsconfig.json index c26359cdb6..a40e9a48e5 100644 --- a/types/bunyan-format/tsconfig.json +++ b/types/bunyan-format/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "bunyan-format-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bunyan-logentries/tsconfig.json b/types/bunyan-logentries/tsconfig.json index f367f2fff8..0f9234b499 100644 --- a/types/bunyan-logentries/tsconfig.json +++ b/types/bunyan-logentries/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bunyan-prettystream/tsconfig.json b/types/bunyan-prettystream/tsconfig.json index ac589169ba..8cbd62ba10 100644 --- a/types/bunyan-prettystream/tsconfig.json +++ b/types/bunyan-prettystream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bunyan-winston-adapter/tsconfig.json b/types/bunyan-winston-adapter/tsconfig.json index 7278f5ac72..44b0bf2a41 100644 --- a/types/bunyan-winston-adapter/tsconfig.json +++ b/types/bunyan-winston-adapter/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bunyan/tsconfig.json b/types/bunyan/tsconfig.json index 290ffc3a6d..dfda2cef0e 100644 --- a/types/bunyan/tsconfig.json +++ b/types/bunyan/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/busboy/tsconfig.json b/types/busboy/tsconfig.json index 6e60377b23..8e894f9794 100644 --- a/types/busboy/tsconfig.json +++ b/types/busboy/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/business-rules-engine/tsconfig.json b/types/business-rules-engine/tsconfig.json index 385150055b..5a5b7469c1 100644 --- a/types/business-rules-engine/tsconfig.json +++ b/types/business-rules-engine/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bwip-js/tsconfig.json b/types/bwip-js/tsconfig.json index c421a4a7b6..8695c19f9f 100644 --- a/types/bwip-js/tsconfig.json +++ b/types/bwip-js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/byline/tsconfig.json b/types/byline/tsconfig.json index f21fc8983d..d4322a5534 100644 --- a/types/byline/tsconfig.json +++ b/types/byline/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bytebuffer/tsconfig.json b/types/bytebuffer/tsconfig.json index 5fdc833e9b..580d7bc39a 100644 --- a/types/bytebuffer/tsconfig.json +++ b/types/bytebuffer/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/bytes/tsconfig.json b/types/bytes/tsconfig.json index 4de1fdb57a..b541397abf 100644 --- a/types/bytes/tsconfig.json +++ b/types/bytes/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/c3/tsconfig.json b/types/c3/tsconfig.json index fe3b00c503..6ec75e8352 100644 --- a/types/c3/tsconfig.json +++ b/types/c3/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cache-manager/tsconfig.json b/types/cache-manager/tsconfig.json index f754de4a67..68cda85b6b 100644 --- a/types/cache-manager/tsconfig.json +++ b/types/cache-manager/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cal-heatmap/tsconfig.json b/types/cal-heatmap/tsconfig.json index ff8d65a2e2..b803ce055b 100644 --- a/types/cal-heatmap/tsconfig.json +++ b/types/cal-heatmap/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/callsite/tsconfig.json b/types/callsite/tsconfig.json index 473c5c08fd..3210df01f9 100644 --- a/types/callsite/tsconfig.json +++ b/types/callsite/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/callsites/tsconfig.json b/types/callsites/tsconfig.json index 010199b740..6551532b88 100644 --- a/types/callsites/tsconfig.json +++ b/types/callsites/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/calq/tsconfig.json b/types/calq/tsconfig.json index 595f095f74..cecaa097cd 100644 --- a/types/calq/tsconfig.json +++ b/types/calq/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/camelcase-keys/tsconfig.json b/types/camelcase-keys/tsconfig.json index f99870f8d9..0774991702 100644 --- a/types/camelcase-keys/tsconfig.json +++ b/types/camelcase-keys/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/camelcase/tsconfig.json b/types/camelcase/tsconfig.json index bcc1b505e1..28d8446c42 100644 --- a/types/camelcase/tsconfig.json +++ b/types/camelcase/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/camljs/tsconfig.json b/types/camljs/tsconfig.json index 5fbe5605e9..ed88508fc3 100644 --- a/types/camljs/tsconfig.json +++ b/types/camljs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/camo/tsconfig.json b/types/camo/tsconfig.json index 46a6a2814c..089ef0623c 100644 --- a/types/camo/tsconfig.json +++ b/types/camo/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cancan/tsconfig.json b/types/cancan/tsconfig.json index 8aace9dd52..f746eff819 100644 --- a/types/cancan/tsconfig.json +++ b/types/cancan/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "cancan-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cannon/tsconfig.json b/types/cannon/tsconfig.json index ca5618a8a0..b75a303b0c 100644 --- a/types/cannon/tsconfig.json +++ b/types/cannon/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/canvas-gauges/tsconfig.json b/types/canvas-gauges/tsconfig.json index 07055c34bb..88a7c53ae5 100644 --- a/types/canvas-gauges/tsconfig.json +++ b/types/canvas-gauges/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/canvasjs/tsconfig.json b/types/canvasjs/tsconfig.json index 57f76052a9..3d14bb3e07 100644 --- a/types/canvasjs/tsconfig.json +++ b/types/canvasjs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/capitalize/tsconfig.json b/types/capitalize/tsconfig.json index 463b6ca645..14a386e76d 100644 --- a/types/capitalize/tsconfig.json +++ b/types/capitalize/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/card-validator/tsconfig.json b/types/card-validator/tsconfig.json index 685e0c4bbe..cc89881539 100644 --- a/types/card-validator/tsconfig.json +++ b/types/card-validator/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/case-sensitive-paths-webpack-plugin/tsconfig.json b/types/case-sensitive-paths-webpack-plugin/tsconfig.json index b8cb05390a..bddcd8721e 100644 --- a/types/case-sensitive-paths-webpack-plugin/tsconfig.json +++ b/types/case-sensitive-paths-webpack-plugin/tsconfig.json @@ -14,10 +14,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ "index.d.ts", "case-sensitive-paths-webpack-plugin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/caseless/tsconfig.json b/types/caseless/tsconfig.json index c7dace4424..c153bc58d3 100644 --- a/types/caseless/tsconfig.json +++ b/types/caseless/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "caseless-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cash/tsconfig.json b/types/cash/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/cash/tsconfig.json +++ b/types/cash/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/casperjs/tsconfig.json b/types/casperjs/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/casperjs/tsconfig.json +++ b/types/casperjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/cassandra-driver/tsconfig.json b/types/cassandra-driver/tsconfig.json index e47bfd4444..5f7dffd9f9 100644 --- a/types/cassandra-driver/tsconfig.json +++ b/types/cassandra-driver/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/catalog/tsconfig.json b/types/catalog/tsconfig.json index 95f43ccaf0..00e00ca7a7 100644 --- a/types/catalog/tsconfig.json +++ b/types/catalog/tsconfig.json @@ -1,25 +1,26 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "jsx": "react" - }, - "files": [ - "index.d.ts", - "catalog-tests.tsx" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, + "jsx": "react" + }, + "files": [ + "index.d.ts", + "catalog-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/catbox/tsconfig.json b/types/catbox/tsconfig.json index 16f6fb780e..424dece7ec 100644 --- a/types/catbox/tsconfig.json +++ b/types/catbox/tsconfig.json @@ -14,13 +14,16 @@ ], "types": [], "paths": { - "boom": ["boom/v4"] + "boom": [ + "boom/v4" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "catbox-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cbor/tsconfig.json b/types/cbor/tsconfig.json index 199ead141d..1211823d22 100644 --- a/types/cbor/tsconfig.json +++ b/types/cbor/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ccap/tsconfig.json b/types/ccap/tsconfig.json index e4fa68a956..a043df5754 100644 --- a/types/ccap/tsconfig.json +++ b/types/ccap/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chai-arrays/tsconfig.json b/types/chai-arrays/tsconfig.json index 84b3de823b..f1d8d90394 100644 --- a/types/chai-arrays/tsconfig.json +++ b/types/chai-arrays/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chai-as-promised/tsconfig.json b/types/chai-as-promised/tsconfig.json index 2d1a15b6eb..002750f2df 100644 --- a/types/chai-as-promised/tsconfig.json +++ b/types/chai-as-promised/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chai-datetime/tsconfig.json b/types/chai-datetime/tsconfig.json index 93d28d082f..be6e164724 100644 --- a/types/chai-datetime/tsconfig.json +++ b/types/chai-datetime/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chai-dom/tsconfig.json b/types/chai-dom/tsconfig.json index 8840510c78..e6c3147faf 100644 --- a/types/chai-dom/tsconfig.json +++ b/types/chai-dom/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chai-enzyme/tsconfig.json b/types/chai-enzyme/tsconfig.json index 4b7cdcf075..0beb02ded3 100644 --- a/types/chai-enzyme/tsconfig.json +++ b/types/chai-enzyme/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/chai-fuzzy/tsconfig.json b/types/chai-fuzzy/tsconfig.json index c6254dc8d8..13b8041e55 100644 --- a/types/chai-fuzzy/tsconfig.json +++ b/types/chai-fuzzy/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chai-http/tsconfig.json b/types/chai-http/tsconfig.json index 3554b4ab09..0f73b862cd 100644 --- a/types/chai-http/tsconfig.json +++ b/types/chai-http/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chai-jest-snapshot/tsconfig.json b/types/chai-jest-snapshot/tsconfig.json index ae15eb95a0..d466996d29 100644 --- a/types/chai-jest-snapshot/tsconfig.json +++ b/types/chai-jest-snapshot/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chai-jquery/tsconfig.json b/types/chai-jquery/tsconfig.json index b26a07d06d..b7a09dd6fd 100644 --- a/types/chai-jquery/tsconfig.json +++ b/types/chai-jquery/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chai-json-schema/tsconfig.json b/types/chai-json-schema/tsconfig.json index 9c8408ae05..fe54d634bf 100644 --- a/types/chai-json-schema/tsconfig.json +++ b/types/chai-json-schema/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chai-oequal/tsconfig.json b/types/chai-oequal/tsconfig.json index 0e63915d75..a2f5f9697e 100644 --- a/types/chai-oequal/tsconfig.json +++ b/types/chai-oequal/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chai-spies/tsconfig.json b/types/chai-spies/tsconfig.json index a439cf07a4..0125b21a90 100644 --- a/types/chai-spies/tsconfig.json +++ b/types/chai-spies/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chai-string/tsconfig.json b/types/chai-string/tsconfig.json index 1227af23ab..bfea2831a3 100644 --- a/types/chai-string/tsconfig.json +++ b/types/chai-string/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chai-subset/tsconfig.json b/types/chai-subset/tsconfig.json index c79fad5e82..3c4fceea1e 100644 --- a/types/chai-subset/tsconfig.json +++ b/types/chai-subset/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chai-things/tsconfig.json b/types/chai-things/tsconfig.json index 84e31abe2f..451820be5f 100644 --- a/types/chai-things/tsconfig.json +++ b/types/chai-things/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chai-webdriverio/tsconfig.json b/types/chai-webdriverio/tsconfig.json index c44958af89..6f99050ed5 100644 --- a/types/chai-webdriverio/tsconfig.json +++ b/types/chai-webdriverio/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chai-xml/tsconfig.json b/types/chai-xml/tsconfig.json index 95a0d68969..5c6cb3e360 100644 --- a/types/chai-xml/tsconfig.json +++ b/types/chai-xml/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chai/tsconfig.json b/types/chai/tsconfig.json index 4e0c687060..eb0c557006 100644 --- a/types/chai/tsconfig.json +++ b/types/chai/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/chai/v2/tsconfig.json b/types/chai/v2/tsconfig.json index 927a017f3d..e2efdb7c51 100644 --- a/types/chai/v2/tsconfig.json +++ b/types/chai/v2/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/chance/tsconfig.json b/types/chance/tsconfig.json index f05e6076cc..660b15aed2 100644 --- a/types/chance/tsconfig.json +++ b/types/chance/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/change-emitter/tsconfig.json b/types/change-emitter/tsconfig.json index 208441aafa..e0c6ea9a00 100644 --- a/types/change-emitter/tsconfig.json +++ b/types/change-emitter/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/charm/tsconfig.json b/types/charm/tsconfig.json index 40eba0a076..8e481fdee8 100644 --- a/types/charm/tsconfig.json +++ b/types/charm/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/charset/tsconfig.json b/types/charset/tsconfig.json index 52652c8e44..089cfffc1c 100644 --- a/types/charset/tsconfig.json +++ b/types/charset/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "charset-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/chart.js/tsconfig.json b/types/chart.js/tsconfig.json index 3b5b6bffed..eb4278aa82 100644 --- a/types/chart.js/tsconfig.json +++ b/types/chart.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chartist/tsconfig.json b/types/chartist/tsconfig.json index afe951be86..d4b563655d 100644 --- a/types/chartist/tsconfig.json +++ b/types/chartist/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chayns/tsconfig.json b/types/chayns/tsconfig.json index 4ac301174a..b5b318b647 100644 --- a/types/chayns/tsconfig.json +++ b/types/chayns/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/check-sum/tsconfig.json b/types/check-sum/tsconfig.json index 5d2955a50f..655aac3937 100644 --- a/types/check-sum/tsconfig.json +++ b/types/check-sum/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/check-types/tsconfig.json b/types/check-types/tsconfig.json index d3c89a7ac7..95a7ed6992 100644 --- a/types/check-types/tsconfig.json +++ b/types/check-types/tsconfig.json @@ -1,21 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": ["es6"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "check-types-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "check-types-tests.ts" + ] } \ No newline at end of file diff --git a/types/checkstyle-formatter/tsconfig.json b/types/checkstyle-formatter/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/checkstyle-formatter/tsconfig.json +++ b/types/checkstyle-formatter/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/checksum/tsconfig.json b/types/checksum/tsconfig.json index 21e5de17ab..7ef760cb8b 100644 --- a/types/checksum/tsconfig.json +++ b/types/checksum/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cheerio/tsconfig.json b/types/cheerio/tsconfig.json index 63c3aed57c..772ae1fb47 100644 --- a/types/cheerio/tsconfig.json +++ b/types/cheerio/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chmodr/tsconfig.json b/types/chmodr/tsconfig.json index 44e07784ac..a5832362a1 100644 --- a/types/chmodr/tsconfig.json +++ b/types/chmodr/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chocolatechipjs/tsconfig.json b/types/chocolatechipjs/tsconfig.json index d56dd67e2d..158cf322ee 100644 --- a/types/chocolatechipjs/tsconfig.json +++ b/types/chocolatechipjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chokidar/tsconfig.json b/types/chokidar/tsconfig.json index 77a34a3964..b425370a98 100644 --- a/types/chokidar/tsconfig.json +++ b/types/chokidar/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chosen-js/tsconfig.json b/types/chosen-js/tsconfig.json index 9f4ce049cb..64efa066d5 100644 --- a/types/chosen-js/tsconfig.json +++ b/types/chosen-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chownr/tsconfig.json b/types/chownr/tsconfig.json index 7b20bfde66..9a71fc1aa4 100644 --- a/types/chownr/tsconfig.json +++ b/types/chownr/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chroma-js/tsconfig.json b/types/chroma-js/tsconfig.json index af142ac45e..efa5a84ce3 100644 --- a/types/chroma-js/tsconfig.json +++ b/types/chroma-js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chroma-js/v0/tsconfig.json b/types/chroma-js/v0/tsconfig.json index 93226eedaf..2b91bad45b 100644 --- a/types/chroma-js/v0/tsconfig.json +++ b/types/chroma-js/v0/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/chrome/tsconfig.json b/types/chrome/tsconfig.json index 57e4524e5a..96b0958f3b 100644 --- a/types/chrome/tsconfig.json +++ b/types/chrome/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", @@ -26,4 +27,4 @@ "test/chrome-app.ts", "test/chrome-webview.ts" ] -} +} \ No newline at end of file diff --git a/types/chui/tsconfig.json b/types/chui/tsconfig.json index 5463478868..49c70bca09 100644 --- a/types/chui/tsconfig.json +++ b/types/chui/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/circular-json/tsconfig.json b/types/circular-json/tsconfig.json index 65bd131757..b64620dc44 100644 --- a/types/circular-json/tsconfig.json +++ b/types/circular-json/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ckeditor/tsconfig.json b/types/ckeditor/tsconfig.json index e845e96c0a..5d44d8a447 100644 --- a/types/ckeditor/tsconfig.json +++ b/types/ckeditor/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/clamp-js-main/tsconfig.json b/types/clamp-js-main/tsconfig.json index 5c05321afc..716247df25 100644 --- a/types/clamp-js-main/tsconfig.json +++ b/types/clamp-js-main/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "clamp-js-main-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/clamp-js/tsconfig.json b/types/clamp-js/tsconfig.json index d858957f4b..3df9b8641f 100644 --- a/types/clamp-js/tsconfig.json +++ b/types/clamp-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/classnames/tsconfig.json b/types/classnames/tsconfig.json index f9b03432fc..2e41facc15 100644 --- a/types/classnames/tsconfig.json +++ b/types/classnames/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cldrjs/tsconfig.json b/types/cldrjs/tsconfig.json index b17ea4c0a9..9ae399aafb 100644 --- a/types/cldrjs/tsconfig.json +++ b/types/cldrjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/clean-css/tsconfig.json b/types/clean-css/tsconfig.json index fe65b21c11..0d5b17fb3b 100644 --- a/types/clean-css/tsconfig.json +++ b/types/clean-css/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/clean-stack/tsconfig.json b/types/clean-stack/tsconfig.json index e1fa33ac6c..e4e4814fe9 100644 --- a/types/clean-stack/tsconfig.json +++ b/types/clean-stack/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/clean-webpack-plugin/tsconfig.json b/types/clean-webpack-plugin/tsconfig.json index 2f342b4d42..c53b713f88 100644 --- a/types/clean-webpack-plugin/tsconfig.json +++ b/types/clean-webpack-plugin/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "clean-webpack-plugin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/clear-require/tsconfig.json b/types/clear-require/tsconfig.json index 538fbe385e..806bd7fc11 100644 --- a/types/clear-require/tsconfig.json +++ b/types/clear-require/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cleave.js/tsconfig.json b/types/cleave.js/tsconfig.json index 40e69541bc..40b7d000c9 100644 --- a/types/cleave.js/tsconfig.json +++ b/types/cleave.js/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ @@ -24,4 +25,4 @@ "options.d.ts", "react/index.d.ts" ] -} +} \ No newline at end of file diff --git a/types/cli-color/tsconfig.json b/types/cli-color/tsconfig.json index 4e8bceb94b..933f6db918 100644 --- a/types/cli-color/tsconfig.json +++ b/types/cli-color/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cli-spinner/tsconfig.json b/types/cli-spinner/tsconfig.json index 61c966becc..316be5cb01 100644 --- a/types/cli-spinner/tsconfig.json +++ b/types/cli-spinner/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "cli-spinner-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cli-table2/tsconfig.json b/types/cli-table2/tsconfig.json index 4d5bea5b9d..40718ddc19 100644 --- a/types/cli-table2/tsconfig.json +++ b/types/cli-table2/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cli/tsconfig.json b/types/cli/tsconfig.json index 2a1b78ae92..6713e9be0c 100644 --- a/types/cli/tsconfig.json +++ b/types/cli/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/client-sessions/tsconfig.json b/types/client-sessions/tsconfig.json index c1556587bc..07f4f1048c 100644 --- a/types/client-sessions/tsconfig.json +++ b/types/client-sessions/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cliff/tsconfig.json b/types/cliff/tsconfig.json index 8c59f5c533..3edd8ddc45 100644 --- a/types/cliff/tsconfig.json +++ b/types/cliff/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/clipboard-js/tsconfig.json b/types/clipboard-js/tsconfig.json index 8927797525..ed9c969743 100644 --- a/types/clipboard-js/tsconfig.json +++ b/types/clipboard-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/clipboard/tsconfig.json b/types/clipboard/tsconfig.json index 5d960d2fd4..96e74d7bbc 100644 --- a/types/clipboard/tsconfig.json +++ b/types/clipboard/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/clipboardy/tsconfig.json b/types/clipboardy/tsconfig.json index 6d6bfcc76a..34c70f2c86 100644 --- a/types/clipboardy/tsconfig.json +++ b/types/clipboardy/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/clndr/tsconfig.json b/types/clndr/tsconfig.json index df25d1b075..9708a8b2b4 100644 --- a/types/clndr/tsconfig.json +++ b/types/clndr/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/clockpicker/tsconfig.json b/types/clockpicker/tsconfig.json index 64b80a0278..61aa239cea 100644 --- a/types/clockpicker/tsconfig.json +++ b/types/clockpicker/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "clockpicker-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/clone/tsconfig.json b/types/clone/tsconfig.json index 65bd178331..024e8a97fa 100644 --- a/types/clone/tsconfig.json +++ b/types/clone/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/closure-compiler/tsconfig.json b/types/closure-compiler/tsconfig.json index 4a15360b18..5f78d4927e 100644 --- a/types/closure-compiler/tsconfig.json +++ b/types/closure-compiler/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cloud-env/tsconfig.json b/types/cloud-env/tsconfig.json index 0972bef4e5..bbdc4f5f5c 100644 --- a/types/cloud-env/tsconfig.json +++ b/types/cloud-env/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cloudflare-apps/tsconfig.json b/types/cloudflare-apps/tsconfig.json index b521ed0aca..0dcc8d43cd 100644 --- a/types/cloudflare-apps/tsconfig.json +++ b/types/cloudflare-apps/tsconfig.json @@ -20,6 +20,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "preserve" } } \ No newline at end of file diff --git a/types/cls-hooked/tsconfig.json b/types/cls-hooked/tsconfig.json index 2e4da612f6..55af57a7cd 100644 --- a/types/cls-hooked/tsconfig.json +++ b/types/cls-hooked/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/clusterize.js/tsconfig.json b/types/clusterize.js/tsconfig.json index 10ca5c2a1a..dd8e3e7899 100644 --- a/types/clusterize.js/tsconfig.json +++ b/types/clusterize.js/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "clusterize.js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cmd-shim/tsconfig.json b/types/cmd-shim/tsconfig.json index 753e3b8c58..cb447abdcb 100644 --- a/types/cmd-shim/tsconfig.json +++ b/types/cmd-shim/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "cmd-shim-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/co-body/tsconfig.json b/types/co-body/tsconfig.json index 295cfcd7cd..3c6c8ea708 100644 --- a/types/co-body/tsconfig.json +++ b/types/co-body/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/co-views/tsconfig.json b/types/co-views/tsconfig.json index 8b129766a5..388ba1bd29 100644 --- a/types/co-views/tsconfig.json +++ b/types/co-views/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/code/tsconfig.json b/types/code/tsconfig.json index ae86da199a..610eae1463 100644 --- a/types/code/tsconfig.json +++ b/types/code/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/codemirror/tsconfig.json b/types/codemirror/tsconfig.json index 2ff349d98e..fdf3bf2d28 100644 --- a/types/codemirror/tsconfig.json +++ b/types/codemirror/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/codependency/tsconfig.json b/types/codependency/tsconfig.json index 990aecea5d..f770e7ed61 100644 --- a/types/codependency/tsconfig.json +++ b/types/codependency/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/coffeeify/tsconfig.json b/types/coffeeify/tsconfig.json index 0ed14ee2f2..2ab8b32406 100644 --- a/types/coffeeify/tsconfig.json +++ b/types/coffeeify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/coinbase/tsconfig.json b/types/coinbase/tsconfig.json index 6f8b261d27..3732908a04 100644 --- a/types/coinbase/tsconfig.json +++ b/types/coinbase/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "coinbase-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/coinstring/tsconfig.json b/types/coinstring/tsconfig.json index 43ca980dbb..902dc00b80 100644 --- a/types/coinstring/tsconfig.json +++ b/types/coinstring/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/collections/tsconfig.json b/types/collections/tsconfig.json index 466c5b12c4..2916e1a806 100644 --- a/types/collections/tsconfig.json +++ b/types/collections/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/color-convert/tsconfig.json b/types/color-convert/tsconfig.json index 52c14017a1..3ce21ead77 100644 --- a/types/color-convert/tsconfig.json +++ b/types/color-convert/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/color-name/tsconfig.json b/types/color-name/tsconfig.json index 56777b5a12..a88783ad70 100644 --- a/types/color-name/tsconfig.json +++ b/types/color-name/tsconfig.json @@ -2,6 +2,7 @@ "compilerOptions": { "baseUrl": "../", "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "lib": [ "es6" ], diff --git a/types/color-string/tsconfig.json b/types/color-string/tsconfig.json index 27f7f9f5f1..a9ef4a043c 100644 --- a/types/color-string/tsconfig.json +++ b/types/color-string/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/color/tsconfig.json b/types/color/tsconfig.json index 0924b02ae0..2cd717e58a 100644 --- a/types/color/tsconfig.json +++ b/types/color/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/color/v0/tsconfig.json b/types/color/v0/tsconfig.json index 73f49d6375..f73dc07711 100644 --- a/types/color/v0/tsconfig.json +++ b/types/color/v0/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/color/v1/tsconfig.json b/types/color/v1/tsconfig.json index 8d8204cf87..1e8e29f876 100644 --- a/types/color/v1/tsconfig.json +++ b/types/color/v1/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/color/v2/tsconfig.json b/types/color/v2/tsconfig.json index 8216dc0b05..fef027287c 100644 --- a/types/color/v2/tsconfig.json +++ b/types/color/v2/tsconfig.json @@ -19,10 +19,11 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "color-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/colorbrewer/tsconfig.json b/types/colorbrewer/tsconfig.json index 561a5d114e..da629b0ce4 100644 --- a/types/colorbrewer/tsconfig.json +++ b/types/colorbrewer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/colors/tsconfig.json b/types/colors/tsconfig.json index 99d78ad72d..7b92f3a446 100644 --- a/types/colors/tsconfig.json +++ b/types/colors/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/com.darktalker.cordova.screenshot/tsconfig.json b/types/com.darktalker.cordova.screenshot/tsconfig.json index d2b5aabb00..80a6fbfe64 100644 --- a/types/com.darktalker.cordova.screenshot/tsconfig.json +++ b/types/com.darktalker.cordova.screenshot/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/combine-source-map/tsconfig.json b/types/combine-source-map/tsconfig.json index dfb725b738..0c89da9ae0 100644 --- a/types/combine-source-map/tsconfig.json +++ b/types/combine-source-map/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/combined-stream/tsconfig.json b/types/combined-stream/tsconfig.json index bc69eb2505..6d88a54646 100644 --- a/types/combined-stream/tsconfig.json +++ b/types/combined-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/combokeys/tsconfig.json b/types/combokeys/tsconfig.json index b1fecec3b7..0c36d58c5a 100644 --- a/types/combokeys/tsconfig.json +++ b/types/combokeys/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cometd/tsconfig.json b/types/cometd/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/cometd/tsconfig.json +++ b/types/cometd/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/command-line-args/tsconfig.json b/types/command-line-args/tsconfig.json index 92c02160ae..742434add7 100644 --- a/types/command-line-args/tsconfig.json +++ b/types/command-line-args/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/command-line-commands/tsconfig.json b/types/command-line-commands/tsconfig.json index fd8670e4a1..43a82ddc71 100644 --- a/types/command-line-commands/tsconfig.json +++ b/types/command-line-commands/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/commangular/tsconfig.json b/types/commangular/tsconfig.json index bd900bd300..f2d837d87a 100644 --- a/types/commangular/tsconfig.json +++ b/types/commangular/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/comment-json/tsconfig.json b/types/comment-json/tsconfig.json index 0745d1cfc0..4512d870b9 100644 --- a/types/comment-json/tsconfig.json +++ b/types/comment-json/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/common-tags/tsconfig.json b/types/common-tags/tsconfig.json index 21158de285..84732128c2 100644 --- a/types/common-tags/tsconfig.json +++ b/types/common-tags/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/commonmark/tsconfig.json b/types/commonmark/tsconfig.json index 682d69fed4..f25b7b8e9d 100644 --- a/types/commonmark/tsconfig.json +++ b/types/commonmark/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/compare-version/tsconfig.json b/types/compare-version/tsconfig.json index 5dcb7c3156..28e391540f 100644 --- a/types/compare-version/tsconfig.json +++ b/types/compare-version/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/complex/tsconfig.json b/types/complex/tsconfig.json index b8a54e716a..ec9be90750 100644 --- a/types/complex/tsconfig.json +++ b/types/complex/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/component-emitter/tsconfig.json b/types/component-emitter/tsconfig.json index 71ded6be82..e6a5fec6c6 100644 --- a/types/component-emitter/tsconfig.json +++ b/types/component-emitter/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/compose-function/tsconfig.json b/types/compose-function/tsconfig.json index cdbf9e9709..8a4ad44fa7 100644 --- a/types/compose-function/tsconfig.json +++ b/types/compose-function/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/compressible/tsconfig.json b/types/compressible/tsconfig.json index 8e036c88d9..c2ab1306cc 100644 --- a/types/compressible/tsconfig.json +++ b/types/compressible/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/compression-webpack-plugin/tsconfig.json b/types/compression-webpack-plugin/tsconfig.json index b80c7a1977..1e166ce2bc 100644 --- a/types/compression-webpack-plugin/tsconfig.json +++ b/types/compression-webpack-plugin/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/compression/tsconfig.json b/types/compression/tsconfig.json index 63ff5e3bc8..c0102986f8 100644 --- a/types/compression/tsconfig.json +++ b/types/compression/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/compute-stdev/tsconfig.json b/types/compute-stdev/tsconfig.json index f622c386a3..aa0baf9c99 100644 --- a/types/compute-stdev/tsconfig.json +++ b/types/compute-stdev/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "compute-stdev-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/concat-stream/tsconfig.json b/types/concat-stream/tsconfig.json index 20373a2de3..0cba6d2e70 100644 --- a/types/concat-stream/tsconfig.json +++ b/types/concat-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/concaveman/tsconfig.json b/types/concaveman/tsconfig.json index 6312321a70..392fb91c60 100644 --- a/types/concaveman/tsconfig.json +++ b/types/concaveman/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/conf/tsconfig.json b/types/conf/tsconfig.json index 84d6bf7657..aa03ea90e1 100644 --- a/types/conf/tsconfig.json +++ b/types/conf/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/conf/v0/tsconfig.json b/types/conf/v0/tsconfig.json index 004bd4a1b5..8b4a8695b8 100644 --- a/types/conf/v0/tsconfig.json +++ b/types/conf/v0/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/confidence/tsconfig.json b/types/confidence/tsconfig.json index 8996cbd660..7504130a82 100644 --- a/types/confidence/tsconfig.json +++ b/types/confidence/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/config/tsconfig.json b/types/config/tsconfig.json index a595ffb10c..2717a0380e 100644 --- a/types/config/tsconfig.json +++ b/types/config/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/configstore/tsconfig.json b/types/configstore/tsconfig.json index 8479846189..3401254406 100644 --- a/types/configstore/tsconfig.json +++ b/types/configstore/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/confit/tsconfig.json b/types/confit/tsconfig.json index 6d141ea715..ab805bf10d 100644 --- a/types/confit/tsconfig.json +++ b/types/confit/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/connect-busboy/tsconfig.json b/types/connect-busboy/tsconfig.json index 112c160f2b..cb2e739029 100644 --- a/types/connect-busboy/tsconfig.json +++ b/types/connect-busboy/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "connect-busboy-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/connect-ensure-login/tsconfig.json b/types/connect-ensure-login/tsconfig.json index 95f39e8bf0..7351d8357b 100644 --- a/types/connect-ensure-login/tsconfig.json +++ b/types/connect-ensure-login/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/connect-flash/tsconfig.json b/types/connect-flash/tsconfig.json index 0d8c04c7de..fa58928986 100644 --- a/types/connect-flash/tsconfig.json +++ b/types/connect-flash/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/connect-history-api-fallback/tsconfig.json b/types/connect-history-api-fallback/tsconfig.json index ad8919e94e..dff6edbdd1 100644 --- a/types/connect-history-api-fallback/tsconfig.json +++ b/types/connect-history-api-fallback/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/connect-livereload/tsconfig.json b/types/connect-livereload/tsconfig.json index 599ea294bf..92d8c225c2 100644 --- a/types/connect-livereload/tsconfig.json +++ b/types/connect-livereload/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/connect-modrewrite/tsconfig.json b/types/connect-modrewrite/tsconfig.json index 235df5d93e..be62ccb0d3 100644 --- a/types/connect-modrewrite/tsconfig.json +++ b/types/connect-modrewrite/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/connect-mongo/tsconfig.json b/types/connect-mongo/tsconfig.json index ca12068b57..cb44c8c3ed 100644 --- a/types/connect-mongo/tsconfig.json +++ b/types/connect-mongo/tsconfig.json @@ -19,7 +19,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/connect-pg-simple/tsconfig.json b/types/connect-pg-simple/tsconfig.json index ed22faf257..e2194628bc 100644 --- a/types/connect-pg-simple/tsconfig.json +++ b/types/connect-pg-simple/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/connect-redis/tsconfig.json b/types/connect-redis/tsconfig.json index b47af7235d..69af94ebe8 100644 --- a/types/connect-redis/tsconfig.json +++ b/types/connect-redis/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/connect-slashes/tsconfig.json b/types/connect-slashes/tsconfig.json index 18eed04f1a..a07f0a4477 100644 --- a/types/connect-slashes/tsconfig.json +++ b/types/connect-slashes/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/connect-timeout/tsconfig.json b/types/connect-timeout/tsconfig.json index 79082f279a..701d7beedf 100644 --- a/types/connect-timeout/tsconfig.json +++ b/types/connect-timeout/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/connect/tsconfig.json b/types/connect/tsconfig.json index bcd813bc77..9fdfae264f 100644 --- a/types/connect/tsconfig.json +++ b/types/connect/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/console-stamp/tsconfig.json b/types/console-stamp/tsconfig.json index e4112e2035..c18c0edc84 100644 --- a/types/console-stamp/tsconfig.json +++ b/types/console-stamp/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/consolidate/tsconfig.json b/types/consolidate/tsconfig.json index aab02b23e5..2ed641f4b3 100644 --- a/types/consolidate/tsconfig.json +++ b/types/consolidate/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/consul/tsconfig.json b/types/consul/tsconfig.json index 9401826c02..96142fb5d0 100644 --- a/types/consul/tsconfig.json +++ b/types/consul/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/content-disposition/tsconfig.json b/types/content-disposition/tsconfig.json index 25125c4ab6..b0c721f43f 100644 --- a/types/content-disposition/tsconfig.json +++ b/types/content-disposition/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/content-type/tsconfig.json b/types/content-type/tsconfig.json index 139851cbde..40c18138d3 100644 --- a/types/content-type/tsconfig.json +++ b/types/content-type/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/contentful-resolve-response/tsconfig.json b/types/contentful-resolve-response/tsconfig.json index f15c47db0a..09811fc7ba 100644 --- a/types/contentful-resolve-response/tsconfig.json +++ b/types/contentful-resolve-response/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/contextjs/tsconfig.json b/types/contextjs/tsconfig.json index 3054b8f3ca..ba45f1d91a 100644 --- a/types/contextjs/tsconfig.json +++ b/types/contextjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/continuation-local-storage/tsconfig.json b/types/continuation-local-storage/tsconfig.json index f1305a49af..7ff6d996f3 100644 --- a/types/continuation-local-storage/tsconfig.json +++ b/types/continuation-local-storage/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/convert-hrtime/tsconfig.json b/types/convert-hrtime/tsconfig.json index 9d2b304763..8ca78a7377 100644 --- a/types/convert-hrtime/tsconfig.json +++ b/types/convert-hrtime/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/convert-layout/tsconfig.json b/types/convert-layout/tsconfig.json index e9ef959215..4dda95576b 100644 --- a/types/convert-layout/tsconfig.json +++ b/types/convert-layout/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/convert-source-map/tsconfig.json b/types/convert-source-map/tsconfig.json index a9125c586c..e7fb07ca0c 100644 --- a/types/convert-source-map/tsconfig.json +++ b/types/convert-source-map/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/convict/tsconfig.json b/types/convict/tsconfig.json index 75e1402283..7177956370 100644 --- a/types/convict/tsconfig.json +++ b/types/convict/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cookie-parser/tsconfig.json b/types/cookie-parser/tsconfig.json index 20cf8359b5..a182eeaaa3 100644 --- a/types/cookie-parser/tsconfig.json +++ b/types/cookie-parser/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cookie-session/tsconfig.json b/types/cookie-session/tsconfig.json index bacf93c9f4..a046c14075 100644 --- a/types/cookie-session/tsconfig.json +++ b/types/cookie-session/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cookie-signature/tsconfig.json b/types/cookie-signature/tsconfig.json index 38aab055c7..04c9a9bc73 100644 --- a/types/cookie-signature/tsconfig.json +++ b/types/cookie-signature/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cookie/tsconfig.json b/types/cookie/tsconfig.json index f1a68c4f57..2c101fadf8 100644 --- a/types/cookie/tsconfig.json +++ b/types/cookie/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cookie_js/tsconfig.json b/types/cookie_js/tsconfig.json index d181ce7661..cfb0fd4eb8 100644 --- a/types/cookie_js/tsconfig.json +++ b/types/cookie_js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cookies/tsconfig.json b/types/cookies/tsconfig.json index d7a17c23bc..6cbd9c2cff 100644 --- a/types/cookies/tsconfig.json +++ b/types/cookies/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/copy-paste/tsconfig.json b/types/copy-paste/tsconfig.json index 7c78f81542..ae30962d67 100644 --- a/types/copy-paste/tsconfig.json +++ b/types/copy-paste/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/copy-text-to-clipboard/tsconfig.json b/types/copy-text-to-clipboard/tsconfig.json index 2889d9fdc6..a04fdc0b8e 100644 --- a/types/copy-text-to-clipboard/tsconfig.json +++ b/types/copy-text-to-clipboard/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/copy-webpack-plugin/tsconfig.json b/types/copy-webpack-plugin/tsconfig.json index 026508651e..8bb618a386 100644 --- a/types/copy-webpack-plugin/tsconfig.json +++ b/types/copy-webpack-plugin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-ionic/tsconfig.json b/types/cordova-ionic/tsconfig.json index 52153dc3a6..67164add65 100644 --- a/types/cordova-ionic/tsconfig.json +++ b/types/cordova-ionic/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-app-version/tsconfig.json b/types/cordova-plugin-app-version/tsconfig.json index bf9fa4b727..22d3a48e1d 100644 --- a/types/cordova-plugin-app-version/tsconfig.json +++ b/types/cordova-plugin-app-version/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-background-mode/tsconfig.json b/types/cordova-plugin-background-mode/tsconfig.json index 2f4b1be013..9a2df069f6 100644 --- a/types/cordova-plugin-background-mode/tsconfig.json +++ b/types/cordova-plugin-background-mode/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-badge/tsconfig.json b/types/cordova-plugin-badge/tsconfig.json index 1354c708fd..8fd3f33576 100644 --- a/types/cordova-plugin-badge/tsconfig.json +++ b/types/cordova-plugin-badge/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-ble-central/tsconfig.json b/types/cordova-plugin-ble-central/tsconfig.json index 84cd1205c3..3c31e21f9e 100644 --- a/types/cordova-plugin-ble-central/tsconfig.json +++ b/types/cordova-plugin-ble-central/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-canvascamera/tsconfig.json b/types/cordova-plugin-canvascamera/tsconfig.json index dcc6bf63a2..487b814e24 100644 --- a/types/cordova-plugin-canvascamera/tsconfig.json +++ b/types/cordova-plugin-canvascamera/tsconfig.json @@ -11,6 +11,7 @@ "strictFunctionTypes": true, "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-device-name/tsconfig.json b/types/cordova-plugin-device-name/tsconfig.json index c74e58b914..a1c3a4bf29 100644 --- a/types/cordova-plugin-device-name/tsconfig.json +++ b/types/cordova-plugin-device-name/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-email-composer/tsconfig.json b/types/cordova-plugin-email-composer/tsconfig.json index 9de9930ed1..44cd31aecf 100644 --- a/types/cordova-plugin-email-composer/tsconfig.json +++ b/types/cordova-plugin-email-composer/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-file-opener2/tsconfig.json b/types/cordova-plugin-file-opener2/tsconfig.json index 0b84dfe84e..25d0779575 100644 --- a/types/cordova-plugin-file-opener2/tsconfig.json +++ b/types/cordova-plugin-file-opener2/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-ibeacon/tsconfig.json b/types/cordova-plugin-ibeacon/tsconfig.json index ba0aa9b7cf..b5423bd3ce 100644 --- a/types/cordova-plugin-ibeacon/tsconfig.json +++ b/types/cordova-plugin-ibeacon/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-insomnia/tsconfig.json b/types/cordova-plugin-insomnia/tsconfig.json index 9704e7c020..63dbb10719 100644 --- a/types/cordova-plugin-insomnia/tsconfig.json +++ b/types/cordova-plugin-insomnia/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-keyboard/tsconfig.json b/types/cordova-plugin-keyboard/tsconfig.json index 730b84c530..dd15c4b9c0 100644 --- a/types/cordova-plugin-keyboard/tsconfig.json +++ b/types/cordova-plugin-keyboard/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-mapsforge/tsconfig.json b/types/cordova-plugin-mapsforge/tsconfig.json index 2be513a0d3..589214939d 100644 --- a/types/cordova-plugin-mapsforge/tsconfig.json +++ b/types/cordova-plugin-mapsforge/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-ms-adal/tsconfig.json b/types/cordova-plugin-ms-adal/tsconfig.json index 9ebb3fca10..c49b79dbbc 100644 --- a/types/cordova-plugin-ms-adal/tsconfig.json +++ b/types/cordova-plugin-ms-adal/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-native-keyboard/tsconfig.json b/types/cordova-plugin-native-keyboard/tsconfig.json index 72ec2f6371..7d6b7d30ab 100644 --- a/types/cordova-plugin-native-keyboard/tsconfig.json +++ b/types/cordova-plugin-native-keyboard/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-ouralabs/tsconfig.json b/types/cordova-plugin-ouralabs/tsconfig.json index 2cbd8ea053..4a333de1ae 100644 --- a/types/cordova-plugin-ouralabs/tsconfig.json +++ b/types/cordova-plugin-ouralabs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-qrscanner/tsconfig.json b/types/cordova-plugin-qrscanner/tsconfig.json index e2ef38fa17..729bd22650 100644 --- a/types/cordova-plugin-qrscanner/tsconfig.json +++ b/types/cordova-plugin-qrscanner/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-spinner/tsconfig.json b/types/cordova-plugin-spinner/tsconfig.json index 19ec9b294f..4beead8631 100644 --- a/types/cordova-plugin-spinner/tsconfig.json +++ b/types/cordova-plugin-spinner/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-websql/tsconfig.json b/types/cordova-plugin-websql/tsconfig.json index db8d59bbe6..35d55b1bcb 100644 --- a/types/cordova-plugin-websql/tsconfig.json +++ b/types/cordova-plugin-websql/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-x-socialsharing/tsconfig.json b/types/cordova-plugin-x-socialsharing/tsconfig.json index e2c4bc63d9..d5ae67f587 100644 --- a/types/cordova-plugin-x-socialsharing/tsconfig.json +++ b/types/cordova-plugin-x-socialsharing/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-sqlite-storage/tsconfig.json b/types/cordova-sqlite-storage/tsconfig.json index a9eb2af0ad..1cd9548087 100644 --- a/types/cordova-sqlite-storage/tsconfig.json +++ b/types/cordova-sqlite-storage/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova-universal-links-plugin/tsconfig.json b/types/cordova-universal-links-plugin/tsconfig.json index 69322a9265..29ccaf6d57 100644 --- a/types/cordova-universal-links-plugin/tsconfig.json +++ b/types/cordova-universal-links-plugin/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "cordova-universal-links-plugin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cordova/tsconfig.json b/types/cordova/tsconfig.json index 591c25a1bb..11e7c87397 100644 --- a/types/cordova/tsconfig.json +++ b/types/cordova/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordova_app_version_plugin/tsconfig.json b/types/cordova_app_version_plugin/tsconfig.json index 2f439d4979..c0f2279ce6 100644 --- a/types/cordova_app_version_plugin/tsconfig.json +++ b/types/cordova_app_version_plugin/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cordovarduino/tsconfig.json b/types/cordovarduino/tsconfig.json index cb0cf33a1a..bfd40c8cee 100644 --- a/types/cordovarduino/tsconfig.json +++ b/types/cordovarduino/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/core-js/tsconfig.json b/types/core-js/tsconfig.json index a342d6c1bd..ce3411f183 100644 --- a/types/core-js/tsconfig.json +++ b/types/core-js/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cors/tsconfig.json b/types/cors/tsconfig.json index e9e1db77eb..c0a8ce0c52 100644 --- a/types/cors/tsconfig.json +++ b/types/cors/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cote/tsconfig.json b/types/cote/tsconfig.json index c25e78e090..4790b11aa5 100644 --- a/types/cote/tsconfig.json +++ b/types/cote/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/couchbase/tsconfig.json b/types/couchbase/tsconfig.json index 66ef360c2c..cf19e79d12 100644 --- a/types/couchbase/tsconfig.json +++ b/types/couchbase/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/countdown/tsconfig.json b/types/countdown/tsconfig.json index bf1074d820..21aa002443 100644 --- a/types/countdown/tsconfig.json +++ b/types/countdown/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/counterpart/tsconfig.json b/types/counterpart/tsconfig.json index 1a771cd73c..9a07a722df 100644 --- a/types/counterpart/tsconfig.json +++ b/types/counterpart/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/countries-and-timezones/tsconfig.json b/types/countries-and-timezones/tsconfig.json index e5f7728b57..ef7c8d2eb0 100644 --- a/types/countries-and-timezones/tsconfig.json +++ b/types/countries-and-timezones/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/country-list/tsconfig.json b/types/country-list/tsconfig.json index 30433764bf..12c80648b7 100644 --- a/types/country-list/tsconfig.json +++ b/types/country-list/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/country-select-js/tsconfig.json b/types/country-select-js/tsconfig.json index 56cb852a6d..a7bf843a06 100644 --- a/types/country-select-js/tsconfig.json +++ b/types/country-select-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/coverup/tsconfig.json b/types/coverup/tsconfig.json index 6102ad61b3..fbef238950 100644 --- a/types/coverup/tsconfig.json +++ b/types/coverup/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "coverup-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cp-file/tsconfig.json b/types/cp-file/tsconfig.json index 12138d0002..e91ced1737 100644 --- a/types/cp-file/tsconfig.json +++ b/types/cp-file/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cpx/tsconfig.json b/types/cpx/tsconfig.json index d22546d432..8001a3fdea 100644 --- a/types/cpx/tsconfig.json +++ b/types/cpx/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "cpx-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cpy/tsconfig.json b/types/cpy/tsconfig.json index 90098461b2..f7a536d8b5 100644 --- a/types/cpy/tsconfig.json +++ b/types/cpy/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cqrs-domain/tsconfig.json b/types/cqrs-domain/tsconfig.json index 7ea1caa8ec..8a2e98724d 100644 --- a/types/cqrs-domain/tsconfig.json +++ b/types/cqrs-domain/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "cqrs-domain-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cradle/tsconfig.json b/types/cradle/tsconfig.json index 694d713edf..ea956b2e2f 100644 --- a/types/cradle/tsconfig.json +++ b/types/cradle/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/crc/tsconfig.json b/types/crc/tsconfig.json index 96511b6609..2b2be4c34d 100644 --- a/types/crc/tsconfig.json +++ b/types/crc/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/create-error/tsconfig.json b/types/create-error/tsconfig.json index 7ff8a82807..c5351c2e5a 100644 --- a/types/create-error/tsconfig.json +++ b/types/create-error/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/create-react-class/tsconfig.json b/types/create-react-class/tsconfig.json index b003c69e53..71314e3d35 100644 --- a/types/create-react-class/tsconfig.json +++ b/types/create-react-class/tsconfig.json @@ -16,10 +16,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "preserve" }, "files": [ "index.d.ts", "create-react-class-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/createjs-lib/tsconfig.json b/types/createjs-lib/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/createjs-lib/tsconfig.json +++ b/types/createjs-lib/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/createjs/tsconfig.json b/types/createjs/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/createjs/tsconfig.json +++ b/types/createjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/credential/tsconfig.json b/types/credential/tsconfig.json index fb8e758820..f2866ca2d6 100644 --- a/types/credential/tsconfig.json +++ b/types/credential/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/credit-card-type/tsconfig.json b/types/credit-card-type/tsconfig.json index 0a3b957a29..9af8700b89 100644 --- a/types/credit-card-type/tsconfig.json +++ b/types/credit-card-type/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cron/tsconfig.json b/types/cron/tsconfig.json index 19a72853db..ce814daac4 100644 --- a/types/cron/tsconfig.json +++ b/types/cron/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cropperjs/tsconfig.json b/types/cropperjs/tsconfig.json index ea6b7edb26..928c16ebf8 100644 --- a/types/cropperjs/tsconfig.json +++ b/types/cropperjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/croppie/tsconfig.json b/types/croppie/tsconfig.json index aa4a07017d..f0bbbaaad6 100644 --- a/types/croppie/tsconfig.json +++ b/types/croppie/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cross-spawn/tsconfig.json b/types/cross-spawn/tsconfig.json index 12426c3479..6e4bd2b252 100644 --- a/types/cross-spawn/tsconfig.json +++ b/types/cross-spawn/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "cross-spawn-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cross-storage/tsconfig.json b/types/cross-storage/tsconfig.json index eb05417639..dc6b6a3c54 100644 --- a/types/cross-storage/tsconfig.json +++ b/types/cross-storage/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/crossfilter/tsconfig.json b/types/crossfilter/tsconfig.json index bc0573220f..8a107d0e84 100644 --- a/types/crossfilter/tsconfig.json +++ b/types/crossfilter/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/crossroads/tsconfig.json b/types/crossroads/tsconfig.json index b948857129..e1bb7591ed 100644 --- a/types/crossroads/tsconfig.json +++ b/types/crossroads/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cryptiles/tsconfig.json b/types/cryptiles/tsconfig.json index 6ae78bacb4..5309e478b8 100644 --- a/types/cryptiles/tsconfig.json +++ b/types/cryptiles/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/crypto-js/tsconfig.json b/types/crypto-js/tsconfig.json index 62ec3d1e40..04f4de4b4e 100644 --- a/types/crypto-js/tsconfig.json +++ b/types/crypto-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cryptojs/tsconfig.json b/types/cryptojs/tsconfig.json index 6747ffb9c5..63a696b449 100644 --- a/types/cryptojs/tsconfig.json +++ b/types/cryptojs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cson/tsconfig.json b/types/cson/tsconfig.json index a5ca0a8041..b7012ed2ba 100644 --- a/types/cson/tsconfig.json +++ b/types/cson/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/csprng/tsconfig.json b/types/csprng/tsconfig.json index b921bb3b7c..20e30e0d3c 100644 --- a/types/csprng/tsconfig.json +++ b/types/csprng/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/csrf/tsconfig.json b/types/csrf/tsconfig.json index 423d71f3c2..57efe7e073 100644 --- a/types/csrf/tsconfig.json +++ b/types/csrf/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/css-font-loading-module/tsconfig.json b/types/css-font-loading-module/tsconfig.json index b45d115596..2c64ee6074 100644 --- a/types/css-font-loading-module/tsconfig.json +++ b/types/css-font-loading-module/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/css-modules-require-hook/tsconfig.json b/types/css-modules-require-hook/tsconfig.json index e7f91df2f8..269853fbce 100644 --- a/types/css-modules-require-hook/tsconfig.json +++ b/types/css-modules-require-hook/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/css-modules/tsconfig.json b/types/css-modules/tsconfig.json index e079616b1d..c6294d2857 100644 --- a/types/css-modules/tsconfig.json +++ b/types/css-modules/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/css/tsconfig.json b/types/css/tsconfig.json index 7a69ddb612..50451f88d4 100644 --- a/types/css/tsconfig.json +++ b/types/css/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cssbeautify/tsconfig.json b/types/cssbeautify/tsconfig.json index a8c452dc97..627f481a2b 100644 --- a/types/cssbeautify/tsconfig.json +++ b/types/cssbeautify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/csurf/tsconfig.json b/types/csurf/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/csurf/tsconfig.json +++ b/types/csurf/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/csv-parse/tsconfig.json b/types/csv-parse/tsconfig.json index 2b52f434a2..fe155d7602 100644 --- a/types/csv-parse/tsconfig.json +++ b/types/csv-parse/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/csv-stringify/tsconfig.json b/types/csv-stringify/tsconfig.json index 766e9c084e..8c66a29cda 100644 --- a/types/csv-stringify/tsconfig.json +++ b/types/csv-stringify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/csvrow/tsconfig.json b/types/csvrow/tsconfig.json index 7fc1637725..76cb98cf19 100644 --- a/types/csvrow/tsconfig.json +++ b/types/csvrow/tsconfig.json @@ -14,10 +14,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "strictFunctionTypes" : true + "esModuleInterop": true, + "strictFunctionTypes": true }, "files": [ "index.d.ts", "csvrow-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/csvtojson/tsconfig.json b/types/csvtojson/tsconfig.json index 91b15a3856..3dde8e70e7 100644 --- a/types/csvtojson/tsconfig.json +++ b/types/csvtojson/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cucumber/tsconfig.json b/types/cucumber/tsconfig.json index e2f9cd081b..53ede2654b 100644 --- a/types/cucumber/tsconfig.json +++ b/types/cucumber/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cucumber/v1/tsconfig.json b/types/cucumber/v1/tsconfig.json index 343c701491..495158d6b0 100644 --- a/types/cucumber/v1/tsconfig.json +++ b/types/cucumber/v1/tsconfig.json @@ -23,7 +23,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cucumber/v3/tsconfig.json b/types/cucumber/v3/tsconfig.json index badf9c82ed..e10dd587c0 100644 --- a/types/cucumber/v3/tsconfig.json +++ b/types/cucumber/v3/tsconfig.json @@ -23,7 +23,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cuid/tsconfig.json b/types/cuid/tsconfig.json index 6aebd0a158..26c0b1289e 100644 --- a/types/cuid/tsconfig.json +++ b/types/cuid/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/currency-formatter/tsconfig.json b/types/currency-formatter/tsconfig.json index 47674cfe0d..21957b7d91 100644 --- a/types/currency-formatter/tsconfig.json +++ b/types/currency-formatter/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/custom-error-generator/tsconfig.json b/types/custom-error-generator/tsconfig.json index ab16a76d97..99512cdf78 100644 --- a/types/custom-error-generator/tsconfig.json +++ b/types/custom-error-generator/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cwise-compiler/tsconfig.json b/types/cwise-compiler/tsconfig.json index 083c5f1666..09b88da3d2 100644 --- a/types/cwise-compiler/tsconfig.json +++ b/types/cwise-compiler/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cwise-parser/tsconfig.json b/types/cwise-parser/tsconfig.json index 226bb609fb..b8d5702283 100644 --- a/types/cwise-parser/tsconfig.json +++ b/types/cwise-parser/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cwise/tsconfig.json b/types/cwise/tsconfig.json index c1ea871113..d545fa98d3 100644 --- a/types/cwise/tsconfig.json +++ b/types/cwise/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cybozulabs-md5/tsconfig.json b/types/cybozulabs-md5/tsconfig.json index a85459ac83..53d546abf1 100644 --- a/types/cybozulabs-md5/tsconfig.json +++ b/types/cybozulabs-md5/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/cytoscape/tsconfig.json b/types/cytoscape/tsconfig.json index 348734c733..8796925930 100644 --- a/types/cytoscape/tsconfig.json +++ b/types/cytoscape/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-array/tsconfig.json b/types/d3-array/tsconfig.json index a1dbb238ee..58e25ed31f 100644 --- a/types/d3-array/tsconfig.json +++ b/types/d3-array/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-axis/tsconfig.json b/types/d3-axis/tsconfig.json index 5b54d1f622..6bb2a44fd4 100644 --- a/types/d3-axis/tsconfig.json +++ b/types/d3-axis/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-box/tsconfig.json b/types/d3-box/tsconfig.json index d6411b9a05..d0ea7a30a8 100644 --- a/types/d3-box/tsconfig.json +++ b/types/d3-box/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-brush/tsconfig.json b/types/d3-brush/tsconfig.json index 2aeb012361..52ad4235a8 100644 --- a/types/d3-brush/tsconfig.json +++ b/types/d3-brush/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-chord/tsconfig.json b/types/d3-chord/tsconfig.json index eff4938f78..c5fe3e9133 100644 --- a/types/d3-chord/tsconfig.json +++ b/types/d3-chord/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-collection/tsconfig.json b/types/d3-collection/tsconfig.json index c2ae30cdbd..134b625635 100644 --- a/types/d3-collection/tsconfig.json +++ b/types/d3-collection/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-color/tsconfig.json b/types/d3-color/tsconfig.json index d783922755..a6695317db 100644 --- a/types/d3-color/tsconfig.json +++ b/types/d3-color/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-contour/tsconfig.json b/types/d3-contour/tsconfig.json index 345a064caa..deb7c3dc8f 100644 --- a/types/d3-contour/tsconfig.json +++ b/types/d3-contour/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-dispatch/tsconfig.json b/types/d3-dispatch/tsconfig.json index b270a9c1a0..44d0f4c3e8 100644 --- a/types/d3-dispatch/tsconfig.json +++ b/types/d3-dispatch/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-drag/tsconfig.json b/types/d3-drag/tsconfig.json index cb6cab8ba0..f8e6c58777 100644 --- a/types/d3-drag/tsconfig.json +++ b/types/d3-drag/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-dsv/tsconfig.json b/types/d3-dsv/tsconfig.json index 400095c38d..da64649d23 100644 --- a/types/d3-dsv/tsconfig.json +++ b/types/d3-dsv/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "d3-dsv-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/d3-dsv/v0/tsconfig.json b/types/d3-dsv/v0/tsconfig.json index e0ae8b7a42..1a0cae31df 100644 --- a/types/d3-dsv/v0/tsconfig.json +++ b/types/d3-dsv/v0/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-ease/tsconfig.json b/types/d3-ease/tsconfig.json index 6d0831f1a5..ea4d66c4dd 100644 --- a/types/d3-ease/tsconfig.json +++ b/types/d3-ease/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-fetch/tsconfig.json b/types/d3-fetch/tsconfig.json index f9b9d190dd..f30552f20d 100644 --- a/types/d3-fetch/tsconfig.json +++ b/types/d3-fetch/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "d3-fetch-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/d3-force/tsconfig.json b/types/d3-force/tsconfig.json index 3d407406eb..cb3b3630c3 100644 --- a/types/d3-force/tsconfig.json +++ b/types/d3-force/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-format/tsconfig.json b/types/d3-format/tsconfig.json index 6017e0916f..cd2ccee91b 100644 --- a/types/d3-format/tsconfig.json +++ b/types/d3-format/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-geo/tsconfig.json b/types/d3-geo/tsconfig.json index f3661c3ad2..ea909a0598 100644 --- a/types/d3-geo/tsconfig.json +++ b/types/d3-geo/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-hexbin/tsconfig.json b/types/d3-hexbin/tsconfig.json index 773221263b..5f58387e06 100644 --- a/types/d3-hexbin/tsconfig.json +++ b/types/d3-hexbin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-hierarchy/tsconfig.json b/types/d3-hierarchy/tsconfig.json index 7fbc1fb5df..88974b9359 100644 --- a/types/d3-hierarchy/tsconfig.json +++ b/types/d3-hierarchy/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-hsv/tsconfig.json b/types/d3-hsv/tsconfig.json index c92ce346b2..3249f8d778 100644 --- a/types/d3-hsv/tsconfig.json +++ b/types/d3-hsv/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-interpolate/tsconfig.json b/types/d3-interpolate/tsconfig.json index 14435aff3d..6a3fd2a0b5 100644 --- a/types/d3-interpolate/tsconfig.json +++ b/types/d3-interpolate/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-path/tsconfig.json b/types/d3-path/tsconfig.json index 5f3fa1ca3e..6651f7ec3c 100644 --- a/types/d3-path/tsconfig.json +++ b/types/d3-path/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-polygon/tsconfig.json b/types/d3-polygon/tsconfig.json index 79bd8a43b8..3ac84426f5 100644 --- a/types/d3-polygon/tsconfig.json +++ b/types/d3-polygon/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-quadtree/tsconfig.json b/types/d3-quadtree/tsconfig.json index cbbb70a658..3a54e793e7 100644 --- a/types/d3-quadtree/tsconfig.json +++ b/types/d3-quadtree/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-queue/tsconfig.json b/types/d3-queue/tsconfig.json index 72f00c11e5..e48b49503e 100644 --- a/types/d3-queue/tsconfig.json +++ b/types/d3-queue/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-random/tsconfig.json b/types/d3-random/tsconfig.json index a8db248667..f497ce18bf 100644 --- a/types/d3-random/tsconfig.json +++ b/types/d3-random/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-request/tsconfig.json b/types/d3-request/tsconfig.json index a52d00ffaa..741908230f 100644 --- a/types/d3-request/tsconfig.json +++ b/types/d3-request/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-sankey/tsconfig.json b/types/d3-sankey/tsconfig.json index 503145683b..5067a33516 100644 --- a/types/d3-sankey/tsconfig.json +++ b/types/d3-sankey/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-scale-chromatic/tsconfig.json b/types/d3-scale-chromatic/tsconfig.json index 6dda07c981..60c78baedc 100644 --- a/types/d3-scale-chromatic/tsconfig.json +++ b/types/d3-scale-chromatic/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-scale/tsconfig.json b/types/d3-scale/tsconfig.json index 4fb09e2d39..2fe9977909 100644 --- a/types/d3-scale/tsconfig.json +++ b/types/d3-scale/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-selection-multi/tsconfig.json b/types/d3-selection-multi/tsconfig.json index 7344010335..51dfdb320f 100644 --- a/types/d3-selection-multi/tsconfig.json +++ b/types/d3-selection-multi/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-selection/tsconfig.json b/types/d3-selection/tsconfig.json index 9dea0e1226..fa2d410466 100644 --- a/types/d3-selection/tsconfig.json +++ b/types/d3-selection/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-shape/tsconfig.json b/types/d3-shape/tsconfig.json index 0436aafd66..95b8e8a112 100644 --- a/types/d3-shape/tsconfig.json +++ b/types/d3-shape/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-time-format/tsconfig.json b/types/d3-time-format/tsconfig.json index 782a3ab291..829d92b69e 100644 --- a/types/d3-time-format/tsconfig.json +++ b/types/d3-time-format/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "d3-time-format-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/d3-time/tsconfig.json b/types/d3-time/tsconfig.json index 963c0df157..aa5250e8df 100644 --- a/types/d3-time/tsconfig.json +++ b/types/d3-time/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-timer/tsconfig.json b/types/d3-timer/tsconfig.json index f3af0c7d8e..6f04f3f1de 100644 --- a/types/d3-timer/tsconfig.json +++ b/types/d3-timer/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-tip/tsconfig.json b/types/d3-tip/tsconfig.json index 8bd5f064c9..7a4d78071c 100644 --- a/types/d3-tip/tsconfig.json +++ b/types/d3-tip/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-transition/tsconfig.json b/types/d3-transition/tsconfig.json index f23a386a94..43d4e23565 100644 --- a/types/d3-transition/tsconfig.json +++ b/types/d3-transition/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-voronoi/tsconfig.json b/types/d3-voronoi/tsconfig.json index ada834dec3..88819747f1 100644 --- a/types/d3-voronoi/tsconfig.json +++ b/types/d3-voronoi/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3-zoom/tsconfig.json b/types/d3-zoom/tsconfig.json index ed184bf861..460c577983 100644 --- a/types/d3-zoom/tsconfig.json +++ b/types/d3-zoom/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3.cloud.layout/tsconfig.json b/types/d3.cloud.layout/tsconfig.json index ffb26214cc..5dc4a6e41b 100644 --- a/types/d3.cloud.layout/tsconfig.json +++ b/types/d3.cloud.layout/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3.slider/tsconfig.json b/types/d3.slider/tsconfig.json index a2a0a2c0c7..487fbb4be2 100644 --- a/types/d3.slider/tsconfig.json +++ b/types/d3.slider/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3/tsconfig.json b/types/d3/tsconfig.json index 8ec0a8e64e..adea130e6c 100644 --- a/types/d3/tsconfig.json +++ b/types/d3/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3/v3/tsconfig.json b/types/d3/v3/tsconfig.json index dd4cea8078..4912912a48 100644 --- a/types/d3/v3/tsconfig.json +++ b/types/d3/v3/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3kit/tsconfig.json b/types/d3kit/tsconfig.json index 40e266f6f9..3288c90ae9 100644 --- a/types/d3kit/tsconfig.json +++ b/types/d3kit/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3kit/v1/tsconfig.json b/types/d3kit/v1/tsconfig.json index f2112d2661..0856962263 100644 --- a/types/d3kit/v1/tsconfig.json +++ b/types/d3kit/v1/tsconfig.json @@ -23,7 +23,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/d3pie/tsconfig.json b/types/d3pie/tsconfig.json index c654f02557..ee657eb9ed 100644 --- a/types/d3pie/tsconfig.json +++ b/types/d3pie/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dagre-d3/tsconfig.json b/types/dagre-d3/tsconfig.json index 584a8cc848..c67751ed03 100644 --- a/types/dagre-d3/tsconfig.json +++ b/types/dagre-d3/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dagre-layout/tsconfig.json b/types/dagre-layout/tsconfig.json index 12bfb07f57..b1b3ec1692 100644 --- a/types/dagre-layout/tsconfig.json +++ b/types/dagre-layout/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dagre/tsconfig.json b/types/dagre/tsconfig.json index b5802bd42e..07d7208f87 100644 --- a/types/dagre/tsconfig.json +++ b/types/dagre/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dargs/tsconfig.json b/types/dargs/tsconfig.json index 88aef9d923..eb152319a9 100644 --- a/types/dargs/tsconfig.json +++ b/types/dargs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dashify/tsconfig.json b/types/dashify/tsconfig.json index 81e84c030c..4ca9ab12f2 100644 --- a/types/dashify/tsconfig.json +++ b/types/dashify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dat-gui/tsconfig.json b/types/dat-gui/tsconfig.json index 4961272694..b8138868cc 100644 --- a/types/dat-gui/tsconfig.json +++ b/types/dat-gui/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/data-driven/tsconfig.json b/types/data-driven/tsconfig.json index 7e3cb6a15c..4423546191 100644 --- a/types/data-driven/tsconfig.json +++ b/types/data-driven/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/datadog-metrics/tsconfig.json b/types/datadog-metrics/tsconfig.json index ca3613429a..3cb76e9dfd 100644 --- a/types/datadog-metrics/tsconfig.json +++ b/types/datadog-metrics/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/datatables.net-buttons/tsconfig.json b/types/datatables.net-buttons/tsconfig.json index 3e8d4ce82c..47ef321009 100644 --- a/types/datatables.net-buttons/tsconfig.json +++ b/types/datatables.net-buttons/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/datatables.net-fixedheader/tsconfig.json b/types/datatables.net-fixedheader/tsconfig.json index 5c747aa854..e42c69588e 100644 --- a/types/datatables.net-fixedheader/tsconfig.json +++ b/types/datatables.net-fixedheader/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/datatables.net-rowgroup/tsconfig.json b/types/datatables.net-rowgroup/tsconfig.json index c4550cded1..66d4610072 100644 --- a/types/datatables.net-rowgroup/tsconfig.json +++ b/types/datatables.net-rowgroup/tsconfig.json @@ -1,24 +1,25 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "datatables.net-rowgroup-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "datatables.net-rowgroup-tests.ts" + ] } \ No newline at end of file diff --git a/types/datatables.net-rowreorder/tsconfig.json b/types/datatables.net-rowreorder/tsconfig.json index c16752cd22..3f2a9668a1 100644 --- a/types/datatables.net-rowreorder/tsconfig.json +++ b/types/datatables.net-rowreorder/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/datatables.net-select/tsconfig.json b/types/datatables.net-select/tsconfig.json index 50398d173e..63aaf5e9df 100644 --- a/types/datatables.net-select/tsconfig.json +++ b/types/datatables.net-select/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/datatables.net/tsconfig.json b/types/datatables.net/tsconfig.json index 04972add17..8aafdcfc1c 100644 --- a/types/datatables.net/tsconfig.json +++ b/types/datatables.net/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/date-arithmetic/tsconfig.json b/types/date-arithmetic/tsconfig.json index d8942e343c..2e9dea5326 100644 --- a/types/date-arithmetic/tsconfig.json +++ b/types/date-arithmetic/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/date.format.js/tsconfig.json b/types/date.format.js/tsconfig.json index a7a5e7f404..a835b70fa3 100644 --- a/types/date.format.js/tsconfig.json +++ b/types/date.format.js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dateformat/tsconfig.json b/types/dateformat/tsconfig.json index 1c5fc06611..0511224dad 100644 --- a/types/dateformat/tsconfig.json +++ b/types/dateformat/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/datejs/tsconfig.json b/types/datejs/tsconfig.json index 5d17ca2da9..eb53ed05f1 100644 --- a/types/datejs/tsconfig.json +++ b/types/datejs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/daterangepicker/tsconfig.json b/types/daterangepicker/tsconfig.json index 1ed4157bc7..621dd6dada 100644 --- a/types/daterangepicker/tsconfig.json +++ b/types/daterangepicker/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/db-migrate-base/tsconfig.json b/types/db-migrate-base/tsconfig.json index f4c835bb88..0d756c7d5c 100644 --- a/types/db-migrate-base/tsconfig.json +++ b/types/db-migrate-base/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/db-migrate-pg/tsconfig.json b/types/db-migrate-pg/tsconfig.json index c63efcd105..3243faf3dd 100644 --- a/types/db-migrate-pg/tsconfig.json +++ b/types/db-migrate-pg/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/db.js/tsconfig.json b/types/db.js/tsconfig.json index 75989af0b3..10ea07f745 100644 --- a/types/db.js/tsconfig.json +++ b/types/db.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dc/tsconfig.json b/types/dc/tsconfig.json index 863d600736..290a1e994d 100644 --- a/types/dc/tsconfig.json +++ b/types/dc/tsconfig.json @@ -24,6 +24,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/deasync/tsconfig.json b/types/deasync/tsconfig.json index d61004bac3..d62c8d7f8e 100644 --- a/types/deasync/tsconfig.json +++ b/types/deasync/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/debessmann/tsconfig.json b/types/debessmann/tsconfig.json index b8b4c01d06..1dc931d093 100644 --- a/types/debessmann/tsconfig.json +++ b/types/debessmann/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/debounce/tsconfig.json b/types/debounce/tsconfig.json index bf08d46e44..4dd1415a27 100644 --- a/types/debounce/tsconfig.json +++ b/types/debounce/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/debug/tsconfig.json b/types/debug/tsconfig.json index 7caca45f35..33cacd7464 100644 --- a/types/debug/tsconfig.json +++ b/types/debug/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/decamelize/tsconfig.json b/types/decamelize/tsconfig.json index 54bea1b020..9c034b4839 100644 --- a/types/decamelize/tsconfig.json +++ b/types/decamelize/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/decay/tsconfig.json b/types/decay/tsconfig.json index d35511f505..1300da9349 100644 --- a/types/decay/tsconfig.json +++ b/types/decay/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/decompress/tsconfig.json b/types/decompress/tsconfig.json index 33c7a8c5e8..a76b0817fd 100644 --- a/types/decompress/tsconfig.json +++ b/types/decompress/tsconfig.json @@ -14,10 +14,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ "index.d.ts", "decompress-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/decorum/tsconfig.json b/types/decorum/tsconfig.json index 82792e10c5..40ba95f9ea 100644 --- a/types/decorum/tsconfig.json +++ b/types/decorum/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dedent/tsconfig.json b/types/dedent/tsconfig.json index 30c39b0a23..61234daf73 100644 --- a/types/dedent/tsconfig.json +++ b/types/dedent/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/deep-assign/tsconfig.json b/types/deep-assign/tsconfig.json index 76d4b1b23e..f8a0647dca 100644 --- a/types/deep-assign/tsconfig.json +++ b/types/deep-assign/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/deep-diff/tsconfig.json b/types/deep-diff/tsconfig.json index 95cd2d22ac..76c498035e 100644 --- a/types/deep-diff/tsconfig.json +++ b/types/deep-diff/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/deep-equal/tsconfig.json b/types/deep-equal/tsconfig.json index e5c20aa772..9c016f9281 100644 --- a/types/deep-equal/tsconfig.json +++ b/types/deep-equal/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/deep-extend/tsconfig.json b/types/deep-extend/tsconfig.json index 768b1ac92d..ff77090b23 100644 --- a/types/deep-extend/tsconfig.json +++ b/types/deep-extend/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/deep-freeze-es6/tsconfig.json b/types/deep-freeze-es6/tsconfig.json index cf9a3b32f5..f47120248f 100644 --- a/types/deep-freeze-es6/tsconfig.json +++ b/types/deep-freeze-es6/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/deep-freeze-strict/tsconfig.json b/types/deep-freeze-strict/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/deep-freeze-strict/tsconfig.json +++ b/types/deep-freeze-strict/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/deep-freeze/tsconfig.json b/types/deep-freeze/tsconfig.json index 3fe6438f96..bd681a7f3b 100644 --- a/types/deep-freeze/tsconfig.json +++ b/types/deep-freeze/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/deepmerge/tsconfig.json b/types/deepmerge/tsconfig.json index b863d1bcb9..fd45a1df17 100644 --- a/types/deepmerge/tsconfig.json +++ b/types/deepmerge/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/defaults/tsconfig.json b/types/defaults/tsconfig.json index 4a66176c28..90757c2104 100644 --- a/types/defaults/tsconfig.json +++ b/types/defaults/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/defer-promise/tsconfig.json b/types/defer-promise/tsconfig.json index 1aaa667626..ef7ffa0690 100644 --- a/types/defer-promise/tsconfig.json +++ b/types/defer-promise/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "defer-promise-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/define-lazy-prop/tsconfig.json b/types/define-lazy-prop/tsconfig.json index e72c943c52..8b8f252553 100644 --- a/types/define-lazy-prop/tsconfig.json +++ b/types/define-lazy-prop/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/defined/tsconfig.json b/types/defined/tsconfig.json index 35b5bb7c83..3f8607f716 100644 --- a/types/defined/tsconfig.json +++ b/types/defined/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/deku/tsconfig.json b/types/deku/tsconfig.json index ad8473665d..67cbce0a6a 100644 --- a/types/deku/tsconfig.json +++ b/types/deku/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/del/tsconfig.json b/types/del/tsconfig.json index 6143d08346..8d4988bb00 100644 --- a/types/del/tsconfig.json +++ b/types/del/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/del/v2/tsconfig.json b/types/del/v2/tsconfig.json index 568d1a8a21..00f2f32920 100644 --- a/types/del/v2/tsconfig.json +++ b/types/del/v2/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/delaunator/tsconfig.json b/types/delaunator/tsconfig.json index a9c94600d8..97bca0c508 100644 --- a/types/delaunator/tsconfig.json +++ b/types/delaunator/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/delay/tsconfig.json b/types/delay/tsconfig.json index cb0da53652..039ccc4860 100644 --- a/types/delay/tsconfig.json +++ b/types/delay/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/denodeify/tsconfig.json b/types/denodeify/tsconfig.json index 04d0008cd5..309f54e7c1 100644 --- a/types/denodeify/tsconfig.json +++ b/types/denodeify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/deoxxa-content-type/tsconfig.json b/types/deoxxa-content-type/tsconfig.json index 5f50fa4676..10d2335f0f 100644 --- a/types/deoxxa-content-type/tsconfig.json +++ b/types/deoxxa-content-type/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/depcheck/tsconfig.json b/types/depcheck/tsconfig.json index f3a0a7df65..14f56cc2b5 100644 --- a/types/depcheck/tsconfig.json +++ b/types/depcheck/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "depcheck-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/depd/tsconfig.json b/types/depd/tsconfig.json index cea39d4996..3164f96fa6 100644 --- a/types/depd/tsconfig.json +++ b/types/depd/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/deployjava/tsconfig.json b/types/deployjava/tsconfig.json index 934531a4ee..7241ae5513 100644 --- a/types/deployjava/tsconfig.json +++ b/types/deployjava/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/destroy-on-hwm/tsconfig.json b/types/destroy-on-hwm/tsconfig.json index 8f77b1b9a4..54b7ae1b87 100644 --- a/types/destroy-on-hwm/tsconfig.json +++ b/types/destroy-on-hwm/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/destroy/tsconfig.json b/types/destroy/tsconfig.json index d3c5ca771d..4d57e05510 100644 --- a/types/destroy/tsconfig.json +++ b/types/destroy/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/detect-browser/tsconfig.json b/types/detect-browser/tsconfig.json index b1319407fc..745bcc8128 100644 --- a/types/detect-browser/tsconfig.json +++ b/types/detect-browser/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/detect-hover/tsconfig.json b/types/detect-hover/tsconfig.json index 69abd062cd..b2f4b457c6 100644 --- a/types/detect-hover/tsconfig.json +++ b/types/detect-hover/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/detect-indent/tsconfig.json b/types/detect-indent/tsconfig.json index 3119632150..e75f82a918 100644 --- a/types/detect-indent/tsconfig.json +++ b/types/detect-indent/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/detect-indent/v0/tsconfig.json b/types/detect-indent/v0/tsconfig.json index 6fb921c298..a646b4f457 100644 --- a/types/detect-indent/v0/tsconfig.json +++ b/types/detect-indent/v0/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/detect-it/tsconfig.json b/types/detect-it/tsconfig.json index 28787b09b8..c74d5b9c65 100644 --- a/types/detect-it/tsconfig.json +++ b/types/detect-it/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/detect-newline/tsconfig.json b/types/detect-newline/tsconfig.json index a94c517f93..1ee86197af 100644 --- a/types/detect-newline/tsconfig.json +++ b/types/detect-newline/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/detect-passive-events/tsconfig.json b/types/detect-passive-events/tsconfig.json index 83ddf05856..6e57a4488c 100644 --- a/types/detect-passive-events/tsconfig.json +++ b/types/detect-passive-events/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/detect-pointer/tsconfig.json b/types/detect-pointer/tsconfig.json index 50b7d6cb7d..de5138f95a 100644 --- a/types/detect-pointer/tsconfig.json +++ b/types/detect-pointer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/detect-port/tsconfig.json b/types/detect-port/tsconfig.json index 9d400580a4..353d626311 100644 --- a/types/detect-port/tsconfig.json +++ b/types/detect-port/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/detect-touch-events/tsconfig.json b/types/detect-touch-events/tsconfig.json index 03b3cc49cb..cfd46b1f2b 100644 --- a/types/detect-touch-events/tsconfig.json +++ b/types/detect-touch-events/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/devexpress-web/tsconfig.json b/types/devexpress-web/tsconfig.json index 3510853ddd..22b3c9ce8c 100644 --- a/types/devexpress-web/tsconfig.json +++ b/types/devexpress-web/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/devexpress-web/v161/tsconfig.json b/types/devexpress-web/v161/tsconfig.json index 0c6ad80e42..1875485bf1 100644 --- a/types/devexpress-web/v161/tsconfig.json +++ b/types/devexpress-web/v161/tsconfig.json @@ -23,7 +23,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/devexpress-web/v162/tsconfig.json b/types/devexpress-web/v162/tsconfig.json index 0878906afb..b0e0cd1a6f 100644 --- a/types/devexpress-web/v162/tsconfig.json +++ b/types/devexpress-web/v162/tsconfig.json @@ -23,7 +23,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/devtools-detect/tsconfig.json b/types/devtools-detect/tsconfig.json index 8ab64cb68c..cbf7e862ac 100644 --- a/types/devtools-detect/tsconfig.json +++ b/types/devtools-detect/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/df-visible/tsconfig.json b/types/df-visible/tsconfig.json index ca15676b02..3ada905eca 100644 --- a/types/df-visible/tsconfig.json +++ b/types/df-visible/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dhtmlxgantt/tsconfig.json b/types/dhtmlxgantt/tsconfig.json index f897e58d02..280ae19957 100644 --- a/types/dhtmlxgantt/tsconfig.json +++ b/types/dhtmlxgantt/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dhtmlxscheduler/tsconfig.json b/types/dhtmlxscheduler/tsconfig.json index 8d145fb613..71b2f56ab6 100644 --- a/types/dhtmlxscheduler/tsconfig.json +++ b/types/dhtmlxscheduler/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/di-lite/tsconfig.json b/types/di-lite/tsconfig.json index 7f10ef8967..e76b11c158 100644 --- a/types/di-lite/tsconfig.json +++ b/types/di-lite/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/diacritics/tsconfig.json b/types/diacritics/tsconfig.json index 03b49dbe95..f0b9510d2e 100644 --- a/types/diacritics/tsconfig.json +++ b/types/diacritics/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/diff-match-patch/tsconfig.json b/types/diff-match-patch/tsconfig.json index 11f60e2489..a28e29633b 100644 --- a/types/diff-match-patch/tsconfig.json +++ b/types/diff-match-patch/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/diff/tsconfig.json b/types/diff/tsconfig.json index 9a1fdba840..bf2e3af341 100644 --- a/types/diff/tsconfig.json +++ b/types/diff/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/diff2html/tsconfig.json b/types/diff2html/tsconfig.json index bb9662b5b6..7eb376bb33 100644 --- a/types/diff2html/tsconfig.json +++ b/types/diff2html/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dir-resolve/tsconfig.json b/types/dir-resolve/tsconfig.json index 129d8a0aa9..1a2677f4da 100644 --- a/types/dir-resolve/tsconfig.json +++ b/types/dir-resolve/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/discontinuous-range/tsconfig.json b/types/discontinuous-range/tsconfig.json index 26c43bf7f0..64edbc248e 100644 --- a/types/discontinuous-range/tsconfig.json +++ b/types/discontinuous-range/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/disposable-email-domains/tsconfig.json b/types/disposable-email-domains/tsconfig.json index 70b9e249d1..3fd51dba9b 100644 --- a/types/disposable-email-domains/tsconfig.json +++ b/types/disposable-email-domains/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/doccookies/tsconfig.json b/types/doccookies/tsconfig.json index e4de927a2f..9df6ed48d5 100644 --- a/types/doccookies/tsconfig.json +++ b/types/doccookies/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dock-spawn/tsconfig.json b/types/dock-spawn/tsconfig.json index a5c6c7b144..c79bde1059 100644 --- a/types/dock-spawn/tsconfig.json +++ b/types/dock-spawn/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dockerode/tsconfig.json b/types/dockerode/tsconfig.json index 3334b9b296..85e6705d47 100644 --- a/types/dockerode/tsconfig.json +++ b/types/dockerode/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/docopt/tsconfig.json b/types/docopt/tsconfig.json index bc71021fcd..ac4ca64e76 100644 --- a/types/docopt/tsconfig.json +++ b/types/docopt/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/doctrine/tsconfig.json b/types/doctrine/tsconfig.json index 1b9e7702c2..cf7070091c 100644 --- a/types/doctrine/tsconfig.json +++ b/types/doctrine/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/documentdb-server/tsconfig.json b/types/documentdb-server/tsconfig.json index 98dcf6bf5c..9320c53f1b 100644 --- a/types/documentdb-server/tsconfig.json +++ b/types/documentdb-server/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/documentdb-session/tsconfig.json b/types/documentdb-session/tsconfig.json index 40ab7520b7..45398d91dd 100644 --- a/types/documentdb-session/tsconfig.json +++ b/types/documentdb-session/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/documentdb/tsconfig.json b/types/documentdb/tsconfig.json index 48c13eac51..f602f0c74d 100644 --- a/types/documentdb/tsconfig.json +++ b/types/documentdb/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dojo/tsconfig.json b/types/dojo/tsconfig.json index 140f764554..d7f9e50b42 100644 --- a/types/dojo/tsconfig.json +++ b/types/dojo/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", @@ -83,5 +84,4 @@ "dojox.widget.d.ts", "dojox.xml.d.ts" ] -} - +} \ No newline at end of file diff --git a/types/dom-inputevent/tsconfig.json b/types/dom-inputevent/tsconfig.json index a309b9ec2e..cd56b783f6 100644 --- a/types/dom-inputevent/tsconfig.json +++ b/types/dom-inputevent/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dom4/tsconfig.json b/types/dom4/tsconfig.json index 3db581ed36..579670df92 100644 --- a/types/dom4/tsconfig.json +++ b/types/dom4/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/domo/tsconfig.json b/types/domo/tsconfig.json index 1700042ecc..d98ca4d683 100644 --- a/types/domo/tsconfig.json +++ b/types/domo/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dompurify/tsconfig.json b/types/dompurify/tsconfig.json index f10fdda910..e43c9febde 100644 --- a/types/dompurify/tsconfig.json +++ b/types/dompurify/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/domready/tsconfig.json b/types/domready/tsconfig.json index 1495d185a6..08391e9dd2 100644 --- a/types/domready/tsconfig.json +++ b/types/domready/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/domurl/tsconfig.json b/types/domurl/tsconfig.json index c678dbc069..450c43b839 100644 --- a/types/domurl/tsconfig.json +++ b/types/domurl/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/donna/tsconfig.json b/types/donna/tsconfig.json index 6e06e71c36..c683e15ca5 100644 --- a/types/donna/tsconfig.json +++ b/types/donna/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dookie/tsconfig.json b/types/dookie/tsconfig.json index a788cba5bc..e4f71c26fa 100644 --- a/types/dookie/tsconfig.json +++ b/types/dookie/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dot-object/tsconfig.json b/types/dot-object/tsconfig.json index f58205cdaf..941ba764dc 100644 --- a/types/dot-object/tsconfig.json +++ b/types/dot-object/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dot-prop/tsconfig.json b/types/dot-prop/tsconfig.json index cbacf32b41..73180091a1 100644 --- a/types/dot-prop/tsconfig.json +++ b/types/dot-prop/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dot-prop/v2/tsconfig.json b/types/dot-prop/v2/tsconfig.json index f5770f3083..66701208fc 100644 --- a/types/dot-prop/v2/tsconfig.json +++ b/types/dot-prop/v2/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dot/tsconfig.json b/types/dot/tsconfig.json index 2c1a595ac6..dc732938b9 100644 --- a/types/dot/tsconfig.json +++ b/types/dot/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dotdir-regex/tsconfig.json b/types/dotdir-regex/tsconfig.json index 48f516abd8..05a1fa51fc 100644 --- a/types/dotdir-regex/tsconfig.json +++ b/types/dotdir-regex/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "dotdir-regex-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/dotdotdot/tsconfig.json b/types/dotdotdot/tsconfig.json index 8be8dc5245..646dc386bb 100644 --- a/types/dotdotdot/tsconfig.json +++ b/types/dotdotdot/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dotenv-safe/tsconfig.json b/types/dotenv-safe/tsconfig.json index 46b51afc29..3deacfa95d 100644 --- a/types/dotenv-safe/tsconfig.json +++ b/types/dotenv-safe/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dotenv/tsconfig.json b/types/dotenv/tsconfig.json index 5c51b4d698..f5e49e1b84 100644 --- a/types/dotenv/tsconfig.json +++ b/types/dotenv/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dotenv/v2/tsconfig.json b/types/dotenv/v2/tsconfig.json index facb307571..c7b540d409 100644 --- a/types/dotenv/v2/tsconfig.json +++ b/types/dotenv/v2/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dotfile-regex/tsconfig.json b/types/dotfile-regex/tsconfig.json index 899be54b3b..74e46144e6 100644 --- a/types/dotfile-regex/tsconfig.json +++ b/types/dotfile-regex/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "dotfile-regex-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/dottie/tsconfig.json b/types/dottie/tsconfig.json index f770bbf57d..34b719f7be 100644 --- a/types/dottie/tsconfig.json +++ b/types/dottie/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/double-ended-queue/tsconfig.json b/types/double-ended-queue/tsconfig.json index 5477379341..5289474c22 100644 --- a/types/double-ended-queue/tsconfig.json +++ b/types/double-ended-queue/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "double-ended-queue-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/doublearray/tsconfig.json b/types/doublearray/tsconfig.json index fbc5ab9e55..60fcedffa5 100644 --- a/types/doublearray/tsconfig.json +++ b/types/doublearray/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/doubleclick-gpt/tsconfig.json b/types/doubleclick-gpt/tsconfig.json index d240d560ce..0cadcea552 100644 --- a/types/doubleclick-gpt/tsconfig.json +++ b/types/doubleclick-gpt/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/download/tsconfig.json b/types/download/tsconfig.json index 634ae5ab32..4c2a798181 100644 --- a/types/download/tsconfig.json +++ b/types/download/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "download-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/downloadjs/tsconfig.json b/types/downloadjs/tsconfig.json index 15703cf41a..ef9a4f48df 100644 --- a/types/downloadjs/tsconfig.json +++ b/types/downloadjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/draft-js/tsconfig.json b/types/draft-js/tsconfig.json index 58fc6cd302..6b00c0304b 100644 --- a/types/draft-js/tsconfig.json +++ b/types/draft-js/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/drag-timetable/tsconfig.json b/types/drag-timetable/tsconfig.json index 875c35f69a..bb865cb850 100644 --- a/types/drag-timetable/tsconfig.json +++ b/types/drag-timetable/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/draggabilly/tsconfig.json b/types/draggabilly/tsconfig.json index d34c51c338..ce7ce9796a 100644 --- a/types/draggabilly/tsconfig.json +++ b/types/draggabilly/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dragster/tsconfig.json b/types/dragster/tsconfig.json index c415da2b1a..a01e46114a 100644 --- a/types/dragster/tsconfig.json +++ b/types/dragster/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dragula/tsconfig.json b/types/dragula/tsconfig.json index 8179057247..2a559a985a 100644 --- a/types/dragula/tsconfig.json +++ b/types/dragula/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dropboxjs/tsconfig.json b/types/dropboxjs/tsconfig.json index c1c700cf02..eacfcbef6a 100644 --- a/types/dropboxjs/tsconfig.json +++ b/types/dropboxjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dropkickjs/tsconfig.json b/types/dropkickjs/tsconfig.json index 31076fcede..236482a1b4 100644 --- a/types/dropkickjs/tsconfig.json +++ b/types/dropkickjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dropzone/tsconfig.json b/types/dropzone/tsconfig.json index 552b864cb7..122461bf99 100644 --- a/types/dropzone/tsconfig.json +++ b/types/dropzone/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dropzone/v4/tsconfig.json b/types/dropzone/v4/tsconfig.json index d88ab721fd..aae03fcbc2 100644 --- a/types/dropzone/v4/tsconfig.json +++ b/types/dropzone/v4/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { "dropzone": [ "dropzone/v4" diff --git a/types/dsv/tsconfig.json b/types/dsv/tsconfig.json index ba47a0e093..caec8c18be 100644 --- a/types/dsv/tsconfig.json +++ b/types/dsv/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dts-bundle/tsconfig.json b/types/dts-bundle/tsconfig.json index a380447ece..e0f3943154 100644 --- a/types/dts-bundle/tsconfig.json +++ b/types/dts-bundle/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dts-generator/tsconfig.json b/types/dts-generator/tsconfig.json index 97bc3726f6..2095dbfe71 100644 --- a/types/dts-generator/tsconfig.json +++ b/types/dts-generator/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/duplexer2/tsconfig.json b/types/duplexer2/tsconfig.json index 90332a13a9..f6c3a3bd6f 100644 --- a/types/duplexer2/tsconfig.json +++ b/types/duplexer2/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/duplexer3/tsconfig.json b/types/duplexer3/tsconfig.json index 1b3e73cc33..bffe49054d 100644 --- a/types/duplexer3/tsconfig.json +++ b/types/duplexer3/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/duplexify/tsconfig.json b/types/duplexify/tsconfig.json index 72c801f5ab..77cccda4d5 100644 --- a/types/duplexify/tsconfig.json +++ b/types/duplexify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/duplicate-package-checker-webpack-plugin/tsconfig.json b/types/duplicate-package-checker-webpack-plugin/tsconfig.json index 7174bf68ea..835669e473 100644 --- a/types/duplicate-package-checker-webpack-plugin/tsconfig.json +++ b/types/duplicate-package-checker-webpack-plugin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/durandal/tsconfig.json b/types/durandal/tsconfig.json index d34d6a1d77..19a01dfff9 100644 --- a/types/durandal/tsconfig.json +++ b/types/durandal/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/durandal/v1/tsconfig.json b/types/durandal/v1/tsconfig.json index d39bcbc18d..f0245c65e7 100644 --- a/types/durandal/v1/tsconfig.json +++ b/types/durandal/v1/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/dustjs-linkedin/tsconfig.json b/types/dustjs-linkedin/tsconfig.json index 36a7497468..a0f0dca49a 100644 --- a/types/dustjs-linkedin/tsconfig.json +++ b/types/dustjs-linkedin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dvtng-jss/tsconfig.json b/types/dvtng-jss/tsconfig.json index 3d47f98d9f..c7b51d7005 100644 --- a/types/dvtng-jss/tsconfig.json +++ b/types/dvtng-jss/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "dvtng-jss-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/dw-bxslider-4/tsconfig.json b/types/dw-bxslider-4/tsconfig.json index 64526359b3..e5465c64d5 100644 --- a/types/dw-bxslider-4/tsconfig.json +++ b/types/dw-bxslider-4/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dwt/tsconfig.json b/types/dwt/tsconfig.json index db2ac6bbf4..bc93f94dcd 100644 --- a/types/dwt/tsconfig.json +++ b/types/dwt/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dwt/v12/tsconfig.json b/types/dwt/v12/tsconfig.json index f856dd2657..7ef5ca74c2 100644 --- a/types/dwt/v12/tsconfig.json +++ b/types/dwt/v12/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dygraphs/tsconfig.json b/types/dygraphs/tsconfig.json index c3ff239b4b..d6df213d34 100644 --- a/types/dygraphs/tsconfig.json +++ b/types/dygraphs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dymo-label-framework/tsconfig.json b/types/dymo-label-framework/tsconfig.json index 23ac4038d1..54a508bf9f 100644 --- a/types/dymo-label-framework/tsconfig.json +++ b/types/dymo-label-framework/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dynatable/tsconfig.json b/types/dynatable/tsconfig.json index 04ffb1120a..ca539d36d9 100644 --- a/types/dynatable/tsconfig.json +++ b/types/dynatable/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/dynogels/tsconfig.json b/types/dynogels/tsconfig.json index 40297f0a43..07145428de 100644 --- a/types/dynogels/tsconfig.json +++ b/types/dynogels/tsconfig.json @@ -14,7 +14,8 @@ "types": [], "noEmit": true, "strictFunctionTypes": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/each/tsconfig.json b/types/each/tsconfig.json index 4b80cb809d..0148832306 100644 --- a/types/each/tsconfig.json +++ b/types/each/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/earcut/tsconfig.json b/types/earcut/tsconfig.json index 5dca6eec84..24dddd5a2b 100644 --- a/types/earcut/tsconfig.json +++ b/types/earcut/tsconfig.json @@ -14,10 +14,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ "index.d.ts", "earcut-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/easeljs/tsconfig.json b/types/easeljs/tsconfig.json index 1925fa9a78..7b9d6a37f8 100644 --- a/types/easeljs/tsconfig.json +++ b/types/easeljs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/easy-api-request/tsconfig.json b/types/easy-api-request/tsconfig.json index 8cc26d7811..682a4930a0 100644 --- a/types/easy-api-request/tsconfig.json +++ b/types/easy-api-request/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/easy-jsend/tsconfig.json b/types/easy-jsend/tsconfig.json index 3efc497aaf..4a69b01d6e 100644 --- a/types/easy-jsend/tsconfig.json +++ b/types/easy-jsend/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/easy-session/tsconfig.json b/types/easy-session/tsconfig.json index 99d70bf37b..1e2dce35c0 100644 --- a/types/easy-session/tsconfig.json +++ b/types/easy-session/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/easy-table/tsconfig.json b/types/easy-table/tsconfig.json index 4013bbca85..1c1ae66ab8 100644 --- a/types/easy-table/tsconfig.json +++ b/types/easy-table/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/easy-xapi-utils/tsconfig.json b/types/easy-xapi-utils/tsconfig.json index 6cd04a79b9..2d2ccd5660 100644 --- a/types/easy-xapi-utils/tsconfig.json +++ b/types/easy-xapi-utils/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/easy-xapi/tsconfig.json b/types/easy-xapi/tsconfig.json index fa0e8da402..d77f1bf681 100644 --- a/types/easy-xapi/tsconfig.json +++ b/types/easy-xapi/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ebongarde-root/tsconfig.json b/types/ebongarde-root/tsconfig.json index 4765268055..e18dcd54f4 100644 --- a/types/ebongarde-root/tsconfig.json +++ b/types/ebongarde-root/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/echarts/tsconfig.json b/types/echarts/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/echarts/tsconfig.json +++ b/types/echarts/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/ecurve/tsconfig.json b/types/ecurve/tsconfig.json index b3d1d586fe..a63c9a4fb5 100644 --- a/types/ecurve/tsconfig.json +++ b/types/ecurve/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ed25519/tsconfig.json b/types/ed25519/tsconfig.json index 98fa33a4b1..31cc84042c 100644 --- a/types/ed25519/tsconfig.json +++ b/types/ed25519/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "ed25519-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ed2curve/tsconfig.json b/types/ed2curve/tsconfig.json index 38f4c49228..41c38b86dc 100644 --- a/types/ed2curve/tsconfig.json +++ b/types/ed2curve/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "ed2curve-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/egg-mock/tsconfig.json b/types/egg-mock/tsconfig.json index 86b33fc149..b1c6e12ced 100644 --- a/types/egg-mock/tsconfig.json +++ b/types/egg-mock/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/egg.js/tsconfig.json b/types/egg.js/tsconfig.json index c7364d3f99..45a13df64d 100644 --- a/types/egg.js/tsconfig.json +++ b/types/egg.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/egjs__axes/tsconfig.json b/types/egjs__axes/tsconfig.json index 3086687bc3..6abab016ee 100644 --- a/types/egjs__axes/tsconfig.json +++ b/types/egjs__axes/tsconfig.json @@ -15,6 +15,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { "@egjs/component": [ "egjs__component" diff --git a/types/egjs__component/tsconfig.json b/types/egjs__component/tsconfig.json index 778e5a9f16..cc2373f384 100644 --- a/types/egjs__component/tsconfig.json +++ b/types/egjs__component/tsconfig.json @@ -15,6 +15,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { "@egjs/component": [ "egjs__component" diff --git a/types/ej.web.all/tsconfig.json b/types/ej.web.all/tsconfig.json index 0a0a2b79e4..fd4e862f17 100644 --- a/types/ej.web.all/tsconfig.json +++ b/types/ej.web.all/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ejs-locals/tsconfig.json b/types/ejs-locals/tsconfig.json index 7f549cd0a6..f52e703a13 100644 --- a/types/ejs-locals/tsconfig.json +++ b/types/ejs-locals/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ejs/tsconfig.json b/types/ejs/tsconfig.json index ea91455364..07c96c4dc5 100644 --- a/types/ejs/tsconfig.json +++ b/types/ejs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ejson/tsconfig.json b/types/ejson/tsconfig.json index 3769f3db66..37caf6d903 100644 --- a/types/ejson/tsconfig.json +++ b/types/ejson/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/elastic.js/tsconfig.json b/types/elastic.js/tsconfig.json index 6a705c4c27..498af2bd5c 100644 --- a/types/elastic.js/tsconfig.json +++ b/types/elastic.js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/elasticsearch/tsconfig.json b/types/elasticsearch/tsconfig.json index 21ac20d7e9..53c7b4e86d 100644 --- a/types/elasticsearch/tsconfig.json +++ b/types/elasticsearch/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "elasticsearch-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/electron-config/tsconfig.json b/types/electron-config/tsconfig.json index 8462205033..928f18f011 100644 --- a/types/electron-config/tsconfig.json +++ b/types/electron-config/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/electron-debug/tsconfig.json b/types/electron-debug/tsconfig.json index 65a83c7c64..8422bbf834 100644 --- a/types/electron-debug/tsconfig.json +++ b/types/electron-debug/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/electron-devtools-installer/tsconfig.json b/types/electron-devtools-installer/tsconfig.json index 77fbb1d7c5..1a943c0c96 100644 --- a/types/electron-devtools-installer/tsconfig.json +++ b/types/electron-devtools-installer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/electron-is-dev/tsconfig.json b/types/electron-is-dev/tsconfig.json index 1260f76477..1201808cbe 100644 --- a/types/electron-is-dev/tsconfig.json +++ b/types/electron-is-dev/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/electron-json-storage/tsconfig.json b/types/electron-json-storage/tsconfig.json index d5bbe0168b..a66e96746a 100644 --- a/types/electron-json-storage/tsconfig.json +++ b/types/electron-json-storage/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/electron-notifications/tsconfig.json b/types/electron-notifications/tsconfig.json index b5d1926fe9..486d6311e7 100644 --- a/types/electron-notifications/tsconfig.json +++ b/types/electron-notifications/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/electron-notify/tsconfig.json b/types/electron-notify/tsconfig.json index 49580cd305..d265180995 100644 --- a/types/electron-notify/tsconfig.json +++ b/types/electron-notify/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/electron-packager/tsconfig.json b/types/electron-packager/tsconfig.json index 76f19f8f73..a279fa7571 100644 --- a/types/electron-packager/tsconfig.json +++ b/types/electron-packager/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/electron-settings/tsconfig.json b/types/electron-settings/tsconfig.json index badf76a8d0..655cfc5dc8 100644 --- a/types/electron-settings/tsconfig.json +++ b/types/electron-settings/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/electron-settings/v2/tsconfig.json b/types/electron-settings/v2/tsconfig.json index 810fdbd504..8e5453808e 100644 --- a/types/electron-settings/v2/tsconfig.json +++ b/types/electron-settings/v2/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/electron-spellchecker/tsconfig.json b/types/electron-spellchecker/tsconfig.json index 539cc30156..6494f31e81 100644 --- a/types/electron-spellchecker/tsconfig.json +++ b/types/electron-spellchecker/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "electron-spellchecker-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/electron-store/tsconfig.json b/types/electron-store/tsconfig.json index 6f21caec55..f5eb483b5e 100644 --- a/types/electron-store/tsconfig.json +++ b/types/electron-store/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/electron-util/tsconfig.json b/types/electron-util/tsconfig.json index c65e02a5c7..49206d08cd 100644 --- a/types/electron-util/tsconfig.json +++ b/types/electron-util/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "electron-util-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/electron-window-state/tsconfig.json b/types/electron-window-state/tsconfig.json index 3843443cda..3099f275a8 100644 --- a/types/electron-window-state/tsconfig.json +++ b/types/electron-window-state/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/electron-winstaller/tsconfig.json b/types/electron-winstaller/tsconfig.json index af16777473..41b83013bf 100644 --- a/types/electron-winstaller/tsconfig.json +++ b/types/electron-winstaller/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/element-ready/tsconfig.json b/types/element-ready/tsconfig.json index e5067c7ccf..fcd6b1d926 100644 --- a/types/element-ready/tsconfig.json +++ b/types/element-ready/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/element-resize-detector/tsconfig.json b/types/element-resize-detector/tsconfig.json index 9400053488..919187d401 100644 --- a/types/element-resize-detector/tsconfig.json +++ b/types/element-resize-detector/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "element-resize-detector-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/element-resize-event/tsconfig.json b/types/element-resize-event/tsconfig.json index 9d86e4632f..f0d3918e5a 100644 --- a/types/element-resize-event/tsconfig.json +++ b/types/element-resize-event/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/elm/tsconfig.json b/types/elm/tsconfig.json index bca395d3c2..c82a960fb7 100644 --- a/types/elm/tsconfig.json +++ b/types/elm/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/email-templates/tsconfig.json b/types/email-templates/tsconfig.json index 5a2994bb04..cb8601eaae 100644 --- a/types/email-templates/tsconfig.json +++ b/types/email-templates/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ember-data/tsconfig.json b/types/ember-data/tsconfig.json index 15f77391aa..0845f9e795 100644 --- a/types/ember-data/tsconfig.json +++ b/types/ember-data/tsconfig.json @@ -10,10 +10,13 @@ "strictNullChecks": true, "strictFunctionTypes": false, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", @@ -31,4 +34,4 @@ "test/injections.ts", "test/error.ts" ] -} +} \ No newline at end of file diff --git a/types/ember-feature-flags/tsconfig.json b/types/ember-feature-flags/tsconfig.json index 9481eddeb5..d71fce7001 100644 --- a/types/ember-feature-flags/tsconfig.json +++ b/types/ember-feature-flags/tsconfig.json @@ -15,11 +15,12 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "tests/helpers/with-feature.d.ts", "ember-feature-flags-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ember-mocha/tsconfig.json b/types/ember-mocha/tsconfig.json index e9fdedfe7f..7c2a404282 100644 --- a/types/ember-mocha/tsconfig.json +++ b/types/ember-mocha/tsconfig.json @@ -9,13 +9,16 @@ "strictNullChecks": true, "strictFunctionTypes": false, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "ember-mocha-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ember-modal-dialog/tsconfig.json b/types/ember-modal-dialog/tsconfig.json index 8834a9ae3d..1826d665c7 100644 --- a/types/ember-modal-dialog/tsconfig.json +++ b/types/ember-modal-dialog/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "ember-modal-dialog-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ember-qunit/tsconfig.json b/types/ember-qunit/tsconfig.json index 1f9e626103..c09b50cd66 100644 --- a/types/ember-qunit/tsconfig.json +++ b/types/ember-qunit/tsconfig.json @@ -10,13 +10,16 @@ "strictNullChecks": true, "strictFunctionTypes": false, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "ember-qunit-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ember-qunit/v2/tsconfig.json b/types/ember-qunit/v2/tsconfig.json index e173bc0d73..2d4c3deabd 100644 --- a/types/ember-qunit/v2/tsconfig.json +++ b/types/ember-qunit/v2/tsconfig.json @@ -10,16 +10,21 @@ "strictNullChecks": true, "strictFunctionTypes": false, "baseUrl": "../../", - "typeRoots": ["../../"], + "typeRoots": [ + "../../" + ], "paths": { - "ember-qunit": ["ember-qunit/v2"] + "ember-qunit": [ + "ember-qunit/v2" + ] }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "ember-qunit-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ember-test-helpers/tsconfig.json b/types/ember-test-helpers/tsconfig.json index dc9c583d1c..9bd7a250d9 100644 --- a/types/ember-test-helpers/tsconfig.json +++ b/types/ember-test-helpers/tsconfig.json @@ -10,13 +10,16 @@ "strictNullChecks": true, "strictFunctionTypes": false, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "ember-test-helpers-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ember-testing-helpers/tsconfig.json b/types/ember-testing-helpers/tsconfig.json index 622d4d1584..8cb8c83838 100644 --- a/types/ember-testing-helpers/tsconfig.json +++ b/types/ember-testing-helpers/tsconfig.json @@ -10,10 +10,13 @@ "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ember/tsconfig.json b/types/ember/tsconfig.json index 98d2623024..d8580b0760 100755 --- a/types/ember/tsconfig.json +++ b/types/ember/tsconfig.json @@ -11,10 +11,13 @@ "strictNullChecks": true, "strictFunctionTypes": false, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", @@ -47,4 +50,4 @@ "test/route.ts", "test/view-utils.ts" ] -} +} \ No newline at end of file diff --git a/types/ember/v1/tsconfig.json b/types/ember/v1/tsconfig.json index 7be1f0660b..c817172bbf 100644 --- a/types/ember/v1/tsconfig.json +++ b/types/ember/v1/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/emissary/tsconfig.json b/types/emissary/tsconfig.json index b6d04f07a7..b8d3d5241a 100644 --- a/types/emissary/tsconfig.json +++ b/types/emissary/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/emoji-mart/tsconfig.json b/types/emoji-mart/tsconfig.json index fb776e9a21..b0e8df2d67 100644 --- a/types/emoji-mart/tsconfig.json +++ b/types/emoji-mart/tsconfig.json @@ -15,6 +15,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ @@ -29,4 +30,4 @@ "dist-es/index.d.ts", "emoji-mart-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/emojione/tsconfig.json b/types/emojione/tsconfig.json index f74fb50d6f..3dc6a32fc9 100644 --- a/types/emojione/tsconfig.json +++ b/types/emojione/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/empower/tsconfig.json b/types/empower/tsconfig.json index 9d9d553fc0..ac5a3bd4d8 100644 --- a/types/empower/tsconfig.json +++ b/types/empower/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/emscripten/tsconfig.json b/types/emscripten/tsconfig.json index d17ea9a00a..55db0defd3 100644 --- a/types/emscripten/tsconfig.json +++ b/types/emscripten/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/encoding-japanese/tsconfig.json b/types/encoding-japanese/tsconfig.json index b3b7a2861f..90acb7e3aa 100644 --- a/types/encoding-japanese/tsconfig.json +++ b/types/encoding-japanese/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/end-of-stream/tsconfig.json b/types/end-of-stream/tsconfig.json index b46ee0c768..10cf712c76 100644 --- a/types/end-of-stream/tsconfig.json +++ b/types/end-of-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/engine.io-client/tsconfig.json b/types/engine.io-client/tsconfig.json index cb3a024a3e..e473bfebe5 100644 --- a/types/engine.io-client/tsconfig.json +++ b/types/engine.io-client/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/engine.io/tsconfig.json b/types/engine.io/tsconfig.json index b31b3394b0..5e35fcea3a 100644 --- a/types/engine.io/tsconfig.json +++ b/types/engine.io/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/enhanced-resolve/tsconfig.json b/types/enhanced-resolve/tsconfig.json index 9c87f7e7a1..784aadf889 100644 --- a/types/enhanced-resolve/tsconfig.json +++ b/types/enhanced-resolve/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/enigma.js/tsconfig.json b/types/enigma.js/tsconfig.json index b3b93456f0..10d59e2fab 100644 --- a/types/enigma.js/tsconfig.json +++ b/types/enigma.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ent/tsconfig.json b/types/ent/tsconfig.json index 53249c7605..ff83547680 100644 --- a/types/ent/tsconfig.json +++ b/types/ent/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/entities/tsconfig.json b/types/entities/tsconfig.json index 1a88ad9778..90c9f78f64 100644 --- a/types/entities/tsconfig.json +++ b/types/entities/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/env-to-object/tsconfig.json b/types/env-to-object/tsconfig.json index 2e59eff3e4..9154d82826 100644 --- a/types/env-to-object/tsconfig.json +++ b/types/env-to-object/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/envify/tsconfig.json b/types/envify/tsconfig.json index 381ca464c9..bfa88f845a 100644 --- a/types/envify/tsconfig.json +++ b/types/envify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/enzyme-adapter-react-15.4/tsconfig.json b/types/enzyme-adapter-react-15.4/tsconfig.json index 804fe8ee07..51543ab615 100644 --- a/types/enzyme-adapter-react-15.4/tsconfig.json +++ b/types/enzyme-adapter-react-15.4/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "enzyme-adapter-react-15.4-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/enzyme-adapter-react-15/tsconfig.json b/types/enzyme-adapter-react-15/tsconfig.json index 23f0d0d292..fbd8458aac 100644 --- a/types/enzyme-adapter-react-15/tsconfig.json +++ b/types/enzyme-adapter-react-15/tsconfig.json @@ -1,21 +1,27 @@ { - "compilerOptions": { - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "module": "commonjs", - "lib": ["es6", "dom"], - "noUnusedLocals": true, - "noUnusedParameters": true, - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "forceConsistentCasingInFileNames": true, - "noEmit": true - }, - "files": [ - "index.d.ts", - "enzyme-adapter-react-15-tests.ts" - ] -} + "compilerOptions": { + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noUnusedLocals": true, + "noUnusedParameters": true, + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, + "noEmit": true + }, + "files": [ + "index.d.ts", + "enzyme-adapter-react-15-tests.ts" + ] +} \ No newline at end of file diff --git a/types/enzyme-adapter-react-16/tsconfig.json b/types/enzyme-adapter-react-16/tsconfig.json index 1c1c8e15f9..2f1b7b089c 100644 --- a/types/enzyme-adapter-react-16/tsconfig.json +++ b/types/enzyme-adapter-react-16/tsconfig.json @@ -1,21 +1,27 @@ { - "compilerOptions": { - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "module": "commonjs", - "lib": ["es6", "dom"], - "noUnusedLocals": true, - "noUnusedParameters": true, - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "forceConsistentCasingInFileNames": true, - "noEmit": true - }, - "files": [ - "index.d.ts", - "enzyme-adapter-react-16-tests.ts" - ] -} + "compilerOptions": { + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noUnusedLocals": true, + "noUnusedParameters": true, + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, + "noEmit": true + }, + "files": [ + "index.d.ts", + "enzyme-adapter-react-16-tests.ts" + ] +} \ No newline at end of file diff --git a/types/enzyme-to-json/tsconfig.json b/types/enzyme-to-json/tsconfig.json index 948a88349a..be2b7c3113 100644 --- a/types/enzyme-to-json/tsconfig.json +++ b/types/enzyme-to-json/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/enzyme/tsconfig.json b/types/enzyme/tsconfig.json index 096b64a111..f8618a73da 100644 --- a/types/enzyme/tsconfig.json +++ b/types/enzyme/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/eonasdan-bootstrap-datetimepicker/tsconfig.json b/types/eonasdan-bootstrap-datetimepicker/tsconfig.json index d2f659f25f..ae702872b6 100644 --- a/types/eonasdan-bootstrap-datetimepicker/tsconfig.json +++ b/types/eonasdan-bootstrap-datetimepicker/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/epiceditor/tsconfig.json b/types/epiceditor/tsconfig.json index ccd9f7cce0..2d3338100c 100644 --- a/types/epiceditor/tsconfig.json +++ b/types/epiceditor/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/epilogue/tsconfig.json b/types/epilogue/tsconfig.json index 593077c6bc..ab9ee2a292 100644 --- a/types/epilogue/tsconfig.json +++ b/types/epilogue/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "epilogue-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/epub/tsconfig.json b/types/epub/tsconfig.json index 90ba263b21..35b9ccc362 100644 --- a/types/epub/tsconfig.json +++ b/types/epub/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/eq.js/tsconfig.json b/types/eq.js/tsconfig.json index 3d35e3fefa..1fa222c5f8 100644 --- a/types/eq.js/tsconfig.json +++ b/types/eq.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/errorhandler/tsconfig.json b/types/errorhandler/tsconfig.json index dc08f31d21..d827ee2b51 100644 --- a/types/errorhandler/tsconfig.json +++ b/types/errorhandler/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/es6-collections/tsconfig.json b/types/es6-collections/tsconfig.json index c2b2ba64d7..4297f94f93 100644 --- a/types/es6-collections/tsconfig.json +++ b/types/es6-collections/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/es6-promisify/tsconfig.json b/types/es6-promisify/tsconfig.json index 707e6094d3..ad7eafa8c2 100644 --- a/types/es6-promisify/tsconfig.json +++ b/types/es6-promisify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/es6-shim/tsconfig.json b/types/es6-shim/tsconfig.json index f11dcede04..54aeed6ac4 100644 --- a/types/es6-shim/tsconfig.json +++ b/types/es6-shim/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/es6-weak-map/tsconfig.json b/types/es6-weak-map/tsconfig.json index 2652a8f513..4c0232519a 100644 --- a/types/es6-weak-map/tsconfig.json +++ b/types/es6-weak-map/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/escape-html/tsconfig.json b/types/escape-html/tsconfig.json index 336fcb1583..34e696e44e 100644 --- a/types/escape-html/tsconfig.json +++ b/types/escape-html/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/escape-latex/tsconfig.json b/types/escape-latex/tsconfig.json index 2c782b99a5..1484ee5040 100644 --- a/types/escape-latex/tsconfig.json +++ b/types/escape-latex/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/escape-string-regexp/tsconfig.json b/types/escape-string-regexp/tsconfig.json index 46d2b8fec7..30e6ca0344 100644 --- a/types/escape-string-regexp/tsconfig.json +++ b/types/escape-string-regexp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/escodegen/tsconfig.json b/types/escodegen/tsconfig.json index 4755f2604a..9256804b2a 100644 --- a/types/escodegen/tsconfig.json +++ b/types/escodegen/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/eslint-plugin-prettier/tsconfig.json b/types/eslint-plugin-prettier/tsconfig.json index 67ba3c86f6..a04dd71953 100644 --- a/types/eslint-plugin-prettier/tsconfig.json +++ b/types/eslint-plugin-prettier/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/esprima-walk/tsconfig.json b/types/esprima-walk/tsconfig.json index 7314e2d509..db6207d8ff 100644 --- a/types/esprima-walk/tsconfig.json +++ b/types/esprima-walk/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/esprima/tsconfig.json b/types/esprima/tsconfig.json index 2ac3b4bb46..16cac910ee 100644 --- a/types/esprima/tsconfig.json +++ b/types/esprima/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/esprima/v2/tsconfig.json b/types/esprima/v2/tsconfig.json index a3c195ca3c..ff4deff6d5 100644 --- a/types/esprima/v2/tsconfig.json +++ b/types/esprima/v2/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/espruino/tsconfig.json b/types/espruino/tsconfig.json index 38bb3dfd03..9766072d18 100644 --- a/types/espruino/tsconfig.json +++ b/types/espruino/tsconfig.json @@ -2,8 +2,8 @@ "compilerOptions": { "module": "commonjs", "lib": [ - "es2015", - "dom" + "es2015", + "dom" ], "noImplicitAny": true, "noImplicitThis": true, @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "espruino-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/esri-leaflet-geocoder/tsconfig.json b/types/esri-leaflet-geocoder/tsconfig.json index 6bdfac4c4d..ef48041716 100644 --- a/types/esri-leaflet-geocoder/tsconfig.json +++ b/types/esri-leaflet-geocoder/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/esri-leaflet/tsconfig.json b/types/esri-leaflet/tsconfig.json index 596c74f0a2..adfbf16e8b 100644 --- a/types/esri-leaflet/tsconfig.json +++ b/types/esri-leaflet/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/estraverse/tsconfig.json b/types/estraverse/tsconfig.json index 0a199a8857..d69033219b 100644 --- a/types/estraverse/tsconfig.json +++ b/types/estraverse/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/estree/tsconfig.json b/types/estree/tsconfig.json index 9e10c93348..d840cbe748 100644 --- a/types/estree/tsconfig.json +++ b/types/estree/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/etag/tsconfig.json b/types/etag/tsconfig.json index 5df46bdfe9..692a356590 100644 --- a/types/etag/tsconfig.json +++ b/types/etag/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ethjs-signer/tsconfig.json b/types/ethjs-signer/tsconfig.json index b9548b9847..c68bd2742f 100644 --- a/types/ethjs-signer/tsconfig.json +++ b/types/ethjs-signer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/eureka-js-client/tsconfig.json b/types/eureka-js-client/tsconfig.json index 8a981b029d..0863854329 100644 --- a/types/eureka-js-client/tsconfig.json +++ b/types/eureka-js-client/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/evaporate/tsconfig.json b/types/evaporate/tsconfig.json index 9164730455..5fb5abffa1 100644 --- a/types/evaporate/tsconfig.json +++ b/types/evaporate/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/event-emitter/tsconfig.json b/types/event-emitter/tsconfig.json index ef667ae292..8e8bbb8316 100644 --- a/types/event-emitter/tsconfig.json +++ b/types/event-emitter/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "all-off.d.ts", diff --git a/types/event-kit/tsconfig.json b/types/event-kit/tsconfig.json index 0b6a81c5f8..b83f78d573 100644 --- a/types/event-kit/tsconfig.json +++ b/types/event-kit/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "event-kit-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/event-loop-lag/tsconfig.json b/types/event-loop-lag/tsconfig.json index 39962c46ae..0a80b389ad 100644 --- a/types/event-loop-lag/tsconfig.json +++ b/types/event-loop-lag/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/event-stream/tsconfig.json b/types/event-stream/tsconfig.json index 6f3624e82f..5612b82ced 100644 --- a/types/event-stream/tsconfig.json +++ b/types/event-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/event-to-promise/tsconfig.json b/types/event-to-promise/tsconfig.json index d47bd1672d..e3bd1d3c46 100644 --- a/types/event-to-promise/tsconfig.json +++ b/types/event-to-promise/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/events/tsconfig.json b/types/events/tsconfig.json index f43a926ad8..35b4a183b7 100644 --- a/types/events/tsconfig.json +++ b/types/events/tsconfig.json @@ -1,25 +1,26 @@ { "compilerOptions": { - "module": "commonjs", - "target": "es6", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true + "module": "commonjs", + "target": "es6", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ - "index.d.ts", - "events-tests.ts" + "index.d.ts", + "events-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/evernote/tsconfig.json b/types/evernote/tsconfig.json index 2c89a52715..3815e7d498 100644 --- a/types/evernote/tsconfig.json +++ b/types/evernote/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/exceljs/tsconfig.json b/types/exceljs/tsconfig.json index a477befe57..c8cdf0d345 100644 --- a/types/exceljs/tsconfig.json +++ b/types/exceljs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/execa/tsconfig.json b/types/execa/tsconfig.json index 2d20077a4f..61568807ee 100644 --- a/types/execa/tsconfig.json +++ b/types/execa/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/exit-hook/tsconfig.json b/types/exit-hook/tsconfig.json index 34396672b0..637da53ef1 100644 --- a/types/exit-hook/tsconfig.json +++ b/types/exit-hook/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/exit/tsconfig.json b/types/exit/tsconfig.json index 4343e78761..942627fd28 100644 --- a/types/exit/tsconfig.json +++ b/types/exit/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/exorcist/tsconfig.json b/types/exorcist/tsconfig.json index c32fd613f3..b6c15addd0 100644 --- a/types/exorcist/tsconfig.json +++ b/types/exorcist/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/expect.js/tsconfig.json b/types/expect.js/tsconfig.json index c8f60ed6e5..d9f4950675 100644 --- a/types/expect.js/tsconfig.json +++ b/types/expect.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/expect/tsconfig.json b/types/expect/tsconfig.json index 33e71dad4c..225b2ac217 100644 --- a/types/expect/tsconfig.json +++ b/types/expect/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/expectations/tsconfig.json b/types/expectations/tsconfig.json index 857a8a1eef..e22736f12d 100644 --- a/types/expectations/tsconfig.json +++ b/types/expectations/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/expo/tsconfig.json b/types/expo/tsconfig.json index 5d0f560837..8590ce01f7 100644 --- a/types/expo/tsconfig.json +++ b/types/expo/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "expo-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/expo/v23/tsconfig.json b/types/expo/v23/tsconfig.json index 4dbf5afca3..a2291cf3e2 100644 --- a/types/expo/v23/tsconfig.json +++ b/types/expo/v23/tsconfig.json @@ -23,10 +23,11 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "expo-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/expo__vector-icons/tsconfig.json b/types/expo__vector-icons/tsconfig.json index 9eb44c222f..a0aaaf4767 100644 --- a/types/expo__vector-icons/tsconfig.json +++ b/types/expo__vector-icons/tsconfig.json @@ -16,10 +16,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ "index.d.ts", "expo__vector-icons-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/express-brute-memcached/tsconfig.json b/types/express-brute-memcached/tsconfig.json index c49c399e0d..031f4178f1 100644 --- a/types/express-brute-memcached/tsconfig.json +++ b/types/express-brute-memcached/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-brute-mongo/tsconfig.json b/types/express-brute-mongo/tsconfig.json index d57cb21dd2..37f2386a8a 100644 --- a/types/express-brute-mongo/tsconfig.json +++ b/types/express-brute-mongo/tsconfig.json @@ -19,7 +19,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-brute-redis/tsconfig.json b/types/express-brute-redis/tsconfig.json index a033b8f228..3fdde618ad 100644 --- a/types/express-brute-redis/tsconfig.json +++ b/types/express-brute-redis/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-brute/tsconfig.json b/types/express-brute/tsconfig.json index 30bf0ccf14..42a510b1ed 100644 --- a/types/express-brute/tsconfig.json +++ b/types/express-brute/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-busboy/tsconfig.json b/types/express-busboy/tsconfig.json index 1920bb9991..3bd9a10474 100644 --- a/types/express-busboy/tsconfig.json +++ b/types/express-busboy/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "express-busboy-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/express-cluster/tsconfig.json b/types/express-cluster/tsconfig.json index 5d27d3ec2e..85722d9956 100644 --- a/types/express-cluster/tsconfig.json +++ b/types/express-cluster/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-debug/tsconfig.json b/types/express-debug/tsconfig.json index 9763943be8..65dccfc944 100644 --- a/types/express-debug/tsconfig.json +++ b/types/express-debug/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-domain-middleware/tsconfig.json b/types/express-domain-middleware/tsconfig.json index 454fedea14..e18ec4e697 100644 --- a/types/express-domain-middleware/tsconfig.json +++ b/types/express-domain-middleware/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-ejs-layouts/tsconfig.json b/types/express-ejs-layouts/tsconfig.json index 7ade9f8819..83f8ab2270 100644 --- a/types/express-ejs-layouts/tsconfig.json +++ b/types/express-ejs-layouts/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "express-ejs-layouts-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/express-enforces-ssl/tsconfig.json b/types/express-enforces-ssl/tsconfig.json index 9e071e54fb..744f4f7b82 100644 --- a/types/express-enforces-ssl/tsconfig.json +++ b/types/express-enforces-ssl/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-fileupload/tsconfig.json b/types/express-fileupload/tsconfig.json index ecbd735cea..34badd8266 100644 --- a/types/express-fileupload/tsconfig.json +++ b/types/express-fileupload/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-flash-2/tsconfig.json b/types/express-flash-2/tsconfig.json index 6a0ef5a28b..fcfa6b81db 100644 --- a/types/express-flash-2/tsconfig.json +++ b/types/express-flash-2/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-flash-notification/tsconfig.json b/types/express-flash-notification/tsconfig.json index 842aacf264..4341feca18 100644 --- a/types/express-flash-notification/tsconfig.json +++ b/types/express-flash-notification/tsconfig.json @@ -5,19 +5,20 @@ "es6" ], "noImplicitAny": true, - "noImplicitThis": true, + "noImplicitThis": true, "strictNullChecks": true, - "strictFunctionTypes": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "express-flash-notification-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/express-formidable/tsconfig.json b/types/express-formidable/tsconfig.json index 45a7b6c12b..66ac147736 100644 --- a/types/express-formidable/tsconfig.json +++ b/types/express-formidable/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "express-formidable-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/express-graphql/tsconfig.json b/types/express-graphql/tsconfig.json index 7924c82706..c46f5fc04a 100644 --- a/types/express-graphql/tsconfig.json +++ b/types/express-graphql/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-handlebars/tsconfig.json b/types/express-handlebars/tsconfig.json index 9c6da1ba25..4233c4b5f8 100644 --- a/types/express-handlebars/tsconfig.json +++ b/types/express-handlebars/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-jwt/tsconfig.json b/types/express-jwt/tsconfig.json index f91064aba5..dff320327c 100644 --- a/types/express-jwt/tsconfig.json +++ b/types/express-jwt/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-less/tsconfig.json b/types/express-less/tsconfig.json index c8e44f8204..8d9e70440e 100644 --- a/types/express-less/tsconfig.json +++ b/types/express-less/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-minify/tsconfig.json b/types/express-minify/tsconfig.json index 65c999883e..48a257d074 100644 --- a/types/express-minify/tsconfig.json +++ b/types/express-minify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-mongo-sanitize/tsconfig.json b/types/express-mongo-sanitize/tsconfig.json index 0834820a85..52dd3131cd 100644 --- a/types/express-mongo-sanitize/tsconfig.json +++ b/types/express-mongo-sanitize/tsconfig.json @@ -14,10 +14,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ "index.d.ts", "express-mongo-sanitize-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/express-mung/tsconfig.json b/types/express-mung/tsconfig.json index 9dd04b84e6..2a2d18d7be 100644 --- a/types/express-mung/tsconfig.json +++ b/types/express-mung/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-myconnection/tsconfig.json b/types/express-myconnection/tsconfig.json index b68ca7cb51..a4a0b3ee3c 100644 --- a/types/express-myconnection/tsconfig.json +++ b/types/express-myconnection/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-mysql-session/tsconfig.json b/types/express-mysql-session/tsconfig.json index f6d45a934d..ea0fe2693f 100644 --- a/types/express-mysql-session/tsconfig.json +++ b/types/express-mysql-session/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-oauth-server/tsconfig.json b/types/express-oauth-server/tsconfig.json index 197ec65f00..b694bb7d6d 100644 --- a/types/express-oauth-server/tsconfig.json +++ b/types/express-oauth-server/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "express-oauth-server-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/express-openapi/tsconfig.json b/types/express-openapi/tsconfig.json index a6cf4f3530..f4a2f9f9f5 100644 --- a/types/express-openapi/tsconfig.json +++ b/types/express-openapi/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-partials/tsconfig.json b/types/express-partials/tsconfig.json index 72e02dcdee..191459d746 100644 --- a/types/express-partials/tsconfig.json +++ b/types/express-partials/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-promise-router/tsconfig.json b/types/express-promise-router/tsconfig.json index 1f33dd7104..8e2b57d951 100644 --- a/types/express-promise-router/tsconfig.json +++ b/types/express-promise-router/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "express-promise-router-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/express-rate-limit/tsconfig.json b/types/express-rate-limit/tsconfig.json index 7dfb99a1d4..f3029afb95 100644 --- a/types/express-rate-limit/tsconfig.json +++ b/types/express-rate-limit/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-route-fs/tsconfig.json b/types/express-route-fs/tsconfig.json index 550f0d3b31..5b4456a483 100644 --- a/types/express-route-fs/tsconfig.json +++ b/types/express-route-fs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-sanitized/tsconfig.json b/types/express-sanitized/tsconfig.json index 9924f49f46..0c6bcf3836 100644 --- a/types/express-sanitized/tsconfig.json +++ b/types/express-sanitized/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-serve-static-core/tsconfig.json b/types/express-serve-static-core/tsconfig.json index 73c2b38c7d..40b2ef2060 100644 --- a/types/express-serve-static-core/tsconfig.json +++ b/types/express-serve-static-core/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-session/tsconfig.json b/types/express-session/tsconfig.json index 14c2e75bd5..190564ac5e 100644 --- a/types/express-session/tsconfig.json +++ b/types/express-session/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-to-koa/tsconfig.json b/types/express-to-koa/tsconfig.json index 9c27ef439f..5b33c7ac55 100644 --- a/types/express-to-koa/tsconfig.json +++ b/types/express-to-koa/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "express-to-koa-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/express-unless/tsconfig.json b/types/express-unless/tsconfig.json index 44038c38d3..5cb90389b5 100644 --- a/types/express-unless/tsconfig.json +++ b/types/express-unless/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-useragent/tsconfig.json b/types/express-useragent/tsconfig.json index 3bbc5c5520..0cf85a5a95 100644 --- a/types/express-useragent/tsconfig.json +++ b/types/express-useragent/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/express-winston/tsconfig.json b/types/express-winston/tsconfig.json index dcebd7fafb..7ec0a4eff8 100644 --- a/types/express-winston/tsconfig.json +++ b/types/express-winston/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "express-winston-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/express/tsconfig.json b/types/express/tsconfig.json index b38c24658e..999dd53a3e 100644 --- a/types/express/tsconfig.json +++ b/types/express/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/extend/tsconfig.json b/types/extend/tsconfig.json index dce058009d..19ed5928ee 100644 --- a/types/extend/tsconfig.json +++ b/types/extend/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/extjs/tsconfig.json b/types/extjs/tsconfig.json index 16cf9bcee6..20138aaa88 100644 --- a/types/extjs/tsconfig.json +++ b/types/extjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/extract-stack/tsconfig.json b/types/extract-stack/tsconfig.json index 26f0c50479..2779df149a 100644 --- a/types/extract-stack/tsconfig.json +++ b/types/extract-stack/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/extract-text-webpack-plugin/tsconfig.json b/types/extract-text-webpack-plugin/tsconfig.json index dc6516b37e..9a503d773a 100644 --- a/types/extract-text-webpack-plugin/tsconfig.json +++ b/types/extract-text-webpack-plugin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/extract-zip/tsconfig.json b/types/extract-zip/tsconfig.json index 821ad3b5b3..db692aa262 100644 --- a/types/extract-zip/tsconfig.json +++ b/types/extract-zip/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/eyes/tsconfig.json b/types/eyes/tsconfig.json index e0effcdb85..cca90d6857 100644 --- a/types/eyes/tsconfig.json +++ b/types/eyes/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/f1/tsconfig.json b/types/f1/tsconfig.json index e54cd01b58..45e94b199c 100644 --- a/types/f1/tsconfig.json +++ b/types/f1/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fabric/tsconfig.json b/types/fabric/tsconfig.json index fc7ce8ddc9..93924ce83d 100644 --- a/types/fabric/tsconfig.json +++ b/types/fabric/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/facebook-js-sdk/tsconfig.json b/types/facebook-js-sdk/tsconfig.json index 2ac8efade5..ed029f3557 100644 --- a/types/facebook-js-sdk/tsconfig.json +++ b/types/facebook-js-sdk/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/facebook-pixel/tsconfig.json b/types/facebook-pixel/tsconfig.json index c4cc9bd7fa..487b76e1e4 100644 --- a/types/facebook-pixel/tsconfig.json +++ b/types/facebook-pixel/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/faker/tsconfig.json b/types/faker/tsconfig.json index 33d32cb266..cbf9fdad1c 100644 --- a/types/faker/tsconfig.json +++ b/types/faker/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/faker/v3/tsconfig.json b/types/faker/v3/tsconfig.json index 5cfa258457..53f848d0dc 100644 --- a/types/faker/v3/tsconfig.json +++ b/types/faker/v3/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/falcor-express/tsconfig.json b/types/falcor-express/tsconfig.json index 0f4a36624a..1ba6e4c5c7 100644 --- a/types/falcor-express/tsconfig.json +++ b/types/falcor-express/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/falcor-http-datasource/tsconfig.json b/types/falcor-http-datasource/tsconfig.json index 114a1e5046..948a3c2ffa 100644 --- a/types/falcor-http-datasource/tsconfig.json +++ b/types/falcor-http-datasource/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/falcor-json-graph/tsconfig.json b/types/falcor-json-graph/tsconfig.json index 2753b64668..7ae61b9563 100644 --- a/types/falcor-json-graph/tsconfig.json +++ b/types/falcor-json-graph/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/falcor-router/tsconfig.json b/types/falcor-router/tsconfig.json index 4f37ee59be..4ca1b54a8b 100644 --- a/types/falcor-router/tsconfig.json +++ b/types/falcor-router/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/falcor/tsconfig.json b/types/falcor/tsconfig.json index 94084a9884..3444c09530 100644 --- a/types/falcor/tsconfig.json +++ b/types/falcor/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/famous/tsconfig.json b/types/famous/tsconfig.json index e2760ecc02..37897f899c 100644 --- a/types/famous/tsconfig.json +++ b/types/famous/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fancy-log/tsconfig.json b/types/fancy-log/tsconfig.json index 0ef3d95d9e..ec3b2f25de 100644 --- a/types/fancy-log/tsconfig.json +++ b/types/fancy-log/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "fancy-log-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fancybox/tsconfig.json b/types/fancybox/tsconfig.json index e8011cdd21..87689cdc4f 100644 --- a/types/fancybox/tsconfig.json +++ b/types/fancybox/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/farbtastic/tsconfig.json b/types/farbtastic/tsconfig.json index 91f8048ddb..8b812fadc8 100644 --- a/types/farbtastic/tsconfig.json +++ b/types/farbtastic/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fast-diff/tsconfig.json b/types/fast-diff/tsconfig.json index 0c6f0c4ae2..6be0492a01 100644 --- a/types/fast-diff/tsconfig.json +++ b/types/fast-diff/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fast-levenshtein/tsconfig.json b/types/fast-levenshtein/tsconfig.json index 1cb0e8b022..6f108c6f06 100644 --- a/types/fast-levenshtein/tsconfig.json +++ b/types/fast-levenshtein/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/fast-list/tsconfig.json b/types/fast-list/tsconfig.json index ce90acb3cd..94d28d10ba 100644 --- a/types/fast-list/tsconfig.json +++ b/types/fast-list/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fast-stats/tsconfig.json b/types/fast-stats/tsconfig.json index c845c63f47..9439a56f37 100644 --- a/types/fast-stats/tsconfig.json +++ b/types/fast-stats/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fastclick/tsconfig.json b/types/fastclick/tsconfig.json index 494a7b78d7..31d363d25c 100644 --- a/types/fastclick/tsconfig.json +++ b/types/fastclick/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/favico.js/tsconfig.json b/types/favico.js/tsconfig.json index 15047d8dbf..185be44519 100644 --- a/types/favico.js/tsconfig.json +++ b/types/favico.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fb/tsconfig.json b/types/fb/tsconfig.json index 9e8582a781..e38dd69198 100644 --- a/types/fb/tsconfig.json +++ b/types/fb/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fbemitter/tsconfig.json b/types/fbemitter/tsconfig.json index 8032d97e7f..9ebe492c70 100644 --- a/types/fbemitter/tsconfig.json +++ b/types/fbemitter/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/featherlight/tsconfig.json b/types/featherlight/tsconfig.json index 32c72beb9f..aa6c592a74 100644 --- a/types/featherlight/tsconfig.json +++ b/types/featherlight/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/feathersjs__authentication-client/tsconfig.json b/types/feathersjs__authentication-client/tsconfig.json index 62adef4864..77f8c05aef 100644 --- a/types/feathersjs__authentication-client/tsconfig.json +++ b/types/feathersjs__authentication-client/tsconfig.json @@ -16,12 +16,18 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { - "@feathersjs/authentication-client": ["feathersjs__authentication-client"], - "@feathersjs/feathers": ["feathersjs__feathers"] + "@feathersjs/authentication-client": [ + "feathersjs__authentication-client" + ], + "@feathersjs/feathers": [ + "feathersjs__feathers" + ] } }, "files": [ - "index.d.ts", "feathersjs__authentication-client-tests.ts" + "index.d.ts", + "feathersjs__authentication-client-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/feathersjs__authentication-jwt/tsconfig.json b/types/feathersjs__authentication-jwt/tsconfig.json index 9845c047e6..6d4d54675f 100644 --- a/types/feathersjs__authentication-jwt/tsconfig.json +++ b/types/feathersjs__authentication-jwt/tsconfig.json @@ -15,12 +15,18 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { - "@feathersjs/authentication-jwt": ["feathersjs__authentication-jwt"], - "@feathersjs/feathers": ["feathersjs__feathers"] + "@feathersjs/authentication-jwt": [ + "feathersjs__authentication-jwt" + ], + "@feathersjs/feathers": [ + "feathersjs__feathers" + ] } }, "files": [ - "index.d.ts", "feathersjs__authentication-jwt-tests.ts" + "index.d.ts", + "feathersjs__authentication-jwt-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/feathersjs__authentication-local/tsconfig.json b/types/feathersjs__authentication-local/tsconfig.json index 1972b0a171..b68a9d954c 100644 --- a/types/feathersjs__authentication-local/tsconfig.json +++ b/types/feathersjs__authentication-local/tsconfig.json @@ -15,12 +15,18 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { - "@feathersjs/authentication-local": ["feathersjs__authentication-local"], - "@feathersjs/feathers": ["feathersjs__feathers"] + "@feathersjs/authentication-local": [ + "feathersjs__authentication-local" + ], + "@feathersjs/feathers": [ + "feathersjs__feathers" + ] } }, "files": [ - "index.d.ts", "feathersjs__authentication-local-tests.ts" + "index.d.ts", + "feathersjs__authentication-local-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/feathersjs__authentication-oauth1/tsconfig.json b/types/feathersjs__authentication-oauth1/tsconfig.json index 0a57818109..1e7967d274 100644 --- a/types/feathersjs__authentication-oauth1/tsconfig.json +++ b/types/feathersjs__authentication-oauth1/tsconfig.json @@ -15,12 +15,18 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { - "@feathersjs/authentication-oauth1": ["feathersjs__authentication-oauth1"], - "@feathersjs/feathers": ["feathersjs__feathers"] + "@feathersjs/authentication-oauth1": [ + "feathersjs__authentication-oauth1" + ], + "@feathersjs/feathers": [ + "feathersjs__feathers" + ] } }, "files": [ - "index.d.ts", "feathersjs__authentication-oauth1-tests.ts" + "index.d.ts", + "feathersjs__authentication-oauth1-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/feathersjs__authentication-oauth2/tsconfig.json b/types/feathersjs__authentication-oauth2/tsconfig.json index 6c347cef78..6fdc874a04 100644 --- a/types/feathersjs__authentication-oauth2/tsconfig.json +++ b/types/feathersjs__authentication-oauth2/tsconfig.json @@ -15,12 +15,18 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { - "@feathersjs/authentication-oauth2": ["feathersjs__authentication-oauth2"], - "@feathersjs/feathers": ["feathersjs__feathers"] + "@feathersjs/authentication-oauth2": [ + "feathersjs__authentication-oauth2" + ], + "@feathersjs/feathers": [ + "feathersjs__feathers" + ] } }, "files": [ - "index.d.ts", "feathersjs__authentication-oauth2-tests.ts" + "index.d.ts", + "feathersjs__authentication-oauth2-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/feathersjs__authentication/tsconfig.json b/types/feathersjs__authentication/tsconfig.json index 8cb6f348ed..6a7bb9fd07 100644 --- a/types/feathersjs__authentication/tsconfig.json +++ b/types/feathersjs__authentication/tsconfig.json @@ -15,12 +15,18 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { - "@feathersjs/authentication": ["feathersjs__authentication"], - "@feathersjs/feathers": ["feathersjs__feathers"] + "@feathersjs/authentication": [ + "feathersjs__authentication" + ], + "@feathersjs/feathers": [ + "feathersjs__feathers" + ] } }, "files": [ - "index.d.ts", "feathersjs__authentication-tests.ts" + "index.d.ts", + "feathersjs__authentication-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/feathersjs__configuration/tsconfig.json b/types/feathersjs__configuration/tsconfig.json index 4ff80d4bea..9d6cd3ea8f 100644 --- a/types/feathersjs__configuration/tsconfig.json +++ b/types/feathersjs__configuration/tsconfig.json @@ -15,12 +15,18 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { - "@feathersjs/configuration": ["feathersjs__configuration"], - "@feathersjs/feathers": ["feathersjs__feathers"] + "@feathersjs/configuration": [ + "feathersjs__configuration" + ], + "@feathersjs/feathers": [ + "feathersjs__feathers" + ] } }, "files": [ - "index.d.ts", "feathersjs__configuration-tests.ts" + "index.d.ts", + "feathersjs__configuration-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/feathersjs__errors/tsconfig.json b/types/feathersjs__errors/tsconfig.json index f07ee484aa..112341f970 100644 --- a/types/feathersjs__errors/tsconfig.json +++ b/types/feathersjs__errors/tsconfig.json @@ -15,13 +15,23 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { - "@feathersjs/errors": ["feathersjs__errors"], - "@feathersjs/errors/handler": ["feathersjs__errors/handler"], - "@feathersjs/errors/not-found": ["feathersjs__errors/not-found"] + "@feathersjs/errors": [ + "feathersjs__errors" + ], + "@feathersjs/errors/handler": [ + "feathersjs__errors/handler" + ], + "@feathersjs/errors/not-found": [ + "feathersjs__errors/not-found" + ] } }, "files": [ - "index.d.ts", "feathersjs__errors-tests.ts", "handler.d.ts", "not-found.d.ts" + "index.d.ts", + "feathersjs__errors-tests.ts", + "handler.d.ts", + "not-found.d.ts" ] -} +} \ No newline at end of file diff --git a/types/feathersjs__express/tsconfig.json b/types/feathersjs__express/tsconfig.json index 8489861fc9..11bee295a0 100644 --- a/types/feathersjs__express/tsconfig.json +++ b/types/feathersjs__express/tsconfig.json @@ -15,12 +15,18 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { - "@feathersjs/express": ["feathersjs__express"], - "@feathersjs/feathers": ["feathersjs__feathers"] + "@feathersjs/express": [ + "feathersjs__express" + ], + "@feathersjs/feathers": [ + "feathersjs__feathers" + ] } }, "files": [ - "index.d.ts", "feathersjs__express-tests.ts" + "index.d.ts", + "feathersjs__express-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/feathersjs__feathers/tsconfig.json b/types/feathersjs__feathers/tsconfig.json index b4eeb705cc..883aecabb3 100644 --- a/types/feathersjs__feathers/tsconfig.json +++ b/types/feathersjs__feathers/tsconfig.json @@ -15,11 +15,15 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { - "@feathersjs/feathers": ["feathersjs__feathers"] + "@feathersjs/feathers": [ + "feathersjs__feathers" + ] } }, "files": [ - "index.d.ts", "feathersjs__feathers-tests.ts" + "index.d.ts", + "feathersjs__feathers-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/feathersjs__primus-client/tsconfig.json b/types/feathersjs__primus-client/tsconfig.json index 2c798b2f88..504dce34d1 100644 --- a/types/feathersjs__primus-client/tsconfig.json +++ b/types/feathersjs__primus-client/tsconfig.json @@ -15,12 +15,18 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { - "@feathersjs/primus-client": ["feathersjs__primus-client"], - "@feathersjs/feathers": ["feathersjs__feathers"] + "@feathersjs/primus-client": [ + "feathersjs__primus-client" + ], + "@feathersjs/feathers": [ + "feathersjs__feathers" + ] } }, "files": [ - "index.d.ts", "feathersjs__primus-client-tests.ts" + "index.d.ts", + "feathersjs__primus-client-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/feathersjs__primus/tsconfig.json b/types/feathersjs__primus/tsconfig.json index ca7b8a3077..b7815424ec 100644 --- a/types/feathersjs__primus/tsconfig.json +++ b/types/feathersjs__primus/tsconfig.json @@ -15,12 +15,18 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { - "@feathersjs/primus": ["feathersjs__primus"], - "@feathersjs/feathers": ["feathersjs__feathers"] + "@feathersjs/primus": [ + "feathersjs__primus" + ], + "@feathersjs/feathers": [ + "feathersjs__feathers" + ] } }, "files": [ - "index.d.ts", "feathersjs__primus-tests.ts" + "index.d.ts", + "feathersjs__primus-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/feathersjs__rest-client/tsconfig.json b/types/feathersjs__rest-client/tsconfig.json index f63a18a220..7a4207ff11 100644 --- a/types/feathersjs__rest-client/tsconfig.json +++ b/types/feathersjs__rest-client/tsconfig.json @@ -15,11 +15,15 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { - "@feathersjs/rest-client": ["feathersjs__rest-client"] + "@feathersjs/rest-client": [ + "feathersjs__rest-client" + ] } }, "files": [ - "index.d.ts", "feathersjs__rest-client-tests.ts" + "index.d.ts", + "feathersjs__rest-client-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/feathersjs__socket-commons/tsconfig.json b/types/feathersjs__socket-commons/tsconfig.json index 6532818264..8e63744a7f 100644 --- a/types/feathersjs__socket-commons/tsconfig.json +++ b/types/feathersjs__socket-commons/tsconfig.json @@ -15,12 +15,18 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { - "@feathersjs/socket-commons": ["feathersjs__socket-commons"], - "@feathersjs/feathers": ["feathersjs__feathers"] + "@feathersjs/socket-commons": [ + "feathersjs__socket-commons" + ], + "@feathersjs/feathers": [ + "feathersjs__feathers" + ] } }, "files": [ - "index.d.ts", "feathersjs__socket-commons-tests.ts" + "index.d.ts", + "feathersjs__socket-commons-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/feathersjs__socketio-client/tsconfig.json b/types/feathersjs__socketio-client/tsconfig.json index ffea4d4f91..c526cdcb5c 100644 --- a/types/feathersjs__socketio-client/tsconfig.json +++ b/types/feathersjs__socketio-client/tsconfig.json @@ -15,13 +15,18 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { - "@feathersjs/socketio-client": ["feathersjs__socketio-client"], - "@feathersjs/feathers": ["feathersjs__feathers"] - + "@feathersjs/socketio-client": [ + "feathersjs__socketio-client" + ], + "@feathersjs/feathers": [ + "feathersjs__feathers" + ] } }, "files": [ - "index.d.ts", "feathersjs__socketio-client-tests.ts" + "index.d.ts", + "feathersjs__socketio-client-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/feathersjs__socketio/tsconfig.json b/types/feathersjs__socketio/tsconfig.json index 2b3cc51adc..69a3f5c66f 100644 --- a/types/feathersjs__socketio/tsconfig.json +++ b/types/feathersjs__socketio/tsconfig.json @@ -15,12 +15,18 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { - "@feathersjs/socketio": ["feathersjs__socketio"], - "@feathersjs/feathers": ["feathersjs__feathers"] + "@feathersjs/socketio": [ + "feathersjs__socketio" + ], + "@feathersjs/feathers": [ + "feathersjs__feathers" + ] } }, "files": [ - "index.d.ts", "feathersjs__socketio-tests.ts" + "index.d.ts", + "feathersjs__socketio-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/feedme/tsconfig.json b/types/feedme/tsconfig.json index aa5f186309..cdd8460fac 100644 --- a/types/feedme/tsconfig.json +++ b/types/feedme/tsconfig.json @@ -14,7 +14,8 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "strictFunctionTypes" : false + "esModuleInterop": true, + "strictFunctionTypes": false }, "files": [ "index.d.ts", diff --git a/types/feedparser/tsconfig.json b/types/feedparser/tsconfig.json index 683adf9415..d60dcdde12 100644 --- a/types/feedparser/tsconfig.json +++ b/types/feedparser/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "feedparser-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fetch-jsonp/tsconfig.json b/types/fetch-jsonp/tsconfig.json index 885a787152..2a4c7fd15f 100644 --- a/types/fetch-jsonp/tsconfig.json +++ b/types/fetch-jsonp/tsconfig.json @@ -17,6 +17,7 @@ "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/fetch-mock/tsconfig.json b/types/fetch-mock/tsconfig.json index 0c410ec0ae..b43553f18a 100644 --- a/types/fetch-mock/tsconfig.json +++ b/types/fetch-mock/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fetch.io/tsconfig.json b/types/fetch.io/tsconfig.json index b47cf8f3bf..caccfa9ed6 100644 --- a/types/fetch.io/tsconfig.json +++ b/types/fetch.io/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ffi/tsconfig.json b/types/ffi/tsconfig.json index db74f21b0e..2802ced44b 100644 --- a/types/ffi/tsconfig.json +++ b/types/ffi/tsconfig.json @@ -14,11 +14,12 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "node-ffi-buffer.d.ts", "ffi-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ffmpeg-static/tsconfig.json b/types/ffmpeg-static/tsconfig.json index 8a1635e82c..1dcc13635e 100644 --- a/types/ffmpeg-static/tsconfig.json +++ b/types/ffmpeg-static/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ffprobe-static/tsconfig.json b/types/ffprobe-static/tsconfig.json index fab3495614..fe2dcc110e 100644 --- a/types/ffprobe-static/tsconfig.json +++ b/types/ffprobe-static/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fhir/tsconfig.json b/types/fhir/tsconfig.json index 8b4970200f..f8f2b46903 100644 --- a/types/fhir/tsconfig.json +++ b/types/fhir/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fibers/tsconfig.json b/types/fibers/tsconfig.json index 99e4865e3c..9e73063f35 100644 --- a/types/fibers/tsconfig.json +++ b/types/fibers/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/field/tsconfig.json b/types/field/tsconfig.json index 219fa4963d..f4ee4fe059 100644 --- a/types/field/tsconfig.json +++ b/types/field/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/figures/tsconfig.json b/types/figures/tsconfig.json index 720529ea45..34cd5b28e7 100644 --- a/types/figures/tsconfig.json +++ b/types/figures/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/file-exists/tsconfig.json b/types/file-exists/tsconfig.json index ffdee8351c..a1029d7f76 100644 --- a/types/file-exists/tsconfig.json +++ b/types/file-exists/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/file-saver/tsconfig.json b/types/file-saver/tsconfig.json index 803ff5f510..dcffa809ea 100644 --- a/types/file-saver/tsconfig.json +++ b/types/file-saver/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "file-saver-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/file-type/tsconfig.json b/types/file-type/tsconfig.json index 499b81459c..ab07d788b2 100644 --- a/types/file-type/tsconfig.json +++ b/types/file-type/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/file-url/tsconfig.json b/types/file-url/tsconfig.json index 4a6e413ce0..d42d45f1a9 100644 --- a/types/file-url/tsconfig.json +++ b/types/file-url/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/filenamify/tsconfig.json b/types/filenamify/tsconfig.json index 0d41b23a0d..1cd1fae6ab 100644 --- a/types/filenamify/tsconfig.json +++ b/types/filenamify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/filesize/tsconfig.json b/types/filesize/tsconfig.json index 350e88d4ad..885c875de6 100644 --- a/types/filesize/tsconfig.json +++ b/types/filesize/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/filesystem/tsconfig.json b/types/filesystem/tsconfig.json index 6512ab1028..f9366bd879 100644 --- a/types/filesystem/tsconfig.json +++ b/types/filesystem/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/filewriter/tsconfig.json b/types/filewriter/tsconfig.json index 7cba1a1289..c1ce1dcc0a 100644 --- a/types/filewriter/tsconfig.json +++ b/types/filewriter/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fill-pdf/tsconfig.json b/types/fill-pdf/tsconfig.json index 4cbe1dad24..7caa55c8f6 100644 --- a/types/fill-pdf/tsconfig.json +++ b/types/fill-pdf/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/finalhandler/tsconfig.json b/types/finalhandler/tsconfig.json index dd03198a83..dece053e4f 100644 --- a/types/finalhandler/tsconfig.json +++ b/types/finalhandler/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/finch/tsconfig.json b/types/finch/tsconfig.json index dfb658a6b2..1f581e19fa 100644 --- a/types/finch/tsconfig.json +++ b/types/finch/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/find-root/tsconfig.json b/types/find-root/tsconfig.json index 72d7b324a3..d4589574b0 100644 --- a/types/find-root/tsconfig.json +++ b/types/find-root/tsconfig.json @@ -1,23 +1,24 @@ { "compilerOptions": { - "module": "commonjs", - "lib": [ + "module": "commonjs", + "lib": [ "es6" ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ "../" ], - "types": [], - "noEmit": true, + "types": [], + "noEmit": true, "forceConsistentCasingInFileNames": true, - "strictFunctionTypes": true + "esModuleInterop": true, + "strictFunctionTypes": true }, - "files": [ + "files": [ "index.d.ts", "find-root-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/find-up/tsconfig.json b/types/find-up/tsconfig.json index ea6bf9d1ad..4940987639 100644 --- a/types/find-up/tsconfig.json +++ b/types/find-up/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/find/tsconfig.json b/types/find/tsconfig.json index e231e78ff5..219a8c1831 100644 --- a/types/find/tsconfig.json +++ b/types/find/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "find-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/findup-sync/tsconfig.json b/types/findup-sync/tsconfig.json index fd44ee7c99..9afac34cac 100644 --- a/types/findup-sync/tsconfig.json +++ b/types/findup-sync/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fingerprintjs/tsconfig.json b/types/fingerprintjs/tsconfig.json index 35166934d4..1443b165be 100644 --- a/types/fingerprintjs/tsconfig.json +++ b/types/fingerprintjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fingerprintjs2/tsconfig.json b/types/fingerprintjs2/tsconfig.json index b274c3c488..1137ce7a3b 100644 --- a/types/fingerprintjs2/tsconfig.json +++ b/types/fingerprintjs2/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/firebase-client/tsconfig.json b/types/firebase-client/tsconfig.json index 4510d3f56d..674b6d8e11 100644 --- a/types/firebase-client/tsconfig.json +++ b/types/firebase-client/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/firebase-token-generator/tsconfig.json b/types/firebase-token-generator/tsconfig.json index e6620557a2..8b11cf18fb 100644 --- a/types/firebase-token-generator/tsconfig.json +++ b/types/firebase-token-generator/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/firebird/tsconfig.json b/types/firebird/tsconfig.json index e5e2d1b6ac..b21033b4ae 100644 --- a/types/firebird/tsconfig.json +++ b/types/firebird/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/firefox-webext-browser/tsconfig.json b/types/firefox-webext-browser/tsconfig.json index 202f6824d1..b3c2877928 100644 --- a/types/firefox-webext-browser/tsconfig.json +++ b/types/firefox-webext-browser/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "firefox-webext-browser-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/firefox/tsconfig.json b/types/firefox/tsconfig.json index 44ef93219e..53908aec19 100644 --- a/types/firefox/tsconfig.json +++ b/types/firefox/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/firmata/tsconfig.json b/types/firmata/tsconfig.json index d843e1300d..8a684319aa 100644 --- a/types/firmata/tsconfig.json +++ b/types/firmata/tsconfig.json @@ -13,11 +13,14 @@ "../" ], "paths": { - "serialport": ["serialport/v4"] + "serialport": [ + "serialport/v4" + ] }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/first-mate/tsconfig.json b/types/first-mate/tsconfig.json index 3c11f8dbb2..7df84484f9 100644 --- a/types/first-mate/tsconfig.json +++ b/types/first-mate/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "first-mate-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fixed-data-table-2/tsconfig.json b/types/fixed-data-table-2/tsconfig.json index c548d5c369..5cd1ad16ef 100644 --- a/types/fixed-data-table-2/tsconfig.json +++ b/types/fixed-data-table-2/tsconfig.json @@ -5,8 +5,11 @@ ], "compilerOptions": { "module": "commonjs", - "lib": ["es6", "dom"], - "jsx":"preserve", + "lib": [ + "es6", + "dom" + ], + "jsx": "preserve", "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, @@ -17,6 +20,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/fixed-data-table/tsconfig.json b/types/fixed-data-table/tsconfig.json index 02ba840d0b..73c385c8b6 100644 --- a/types/fixed-data-table/tsconfig.json +++ b/types/fixed-data-table/tsconfig.json @@ -20,6 +20,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/flake-idgen/tsconfig.json b/types/flake-idgen/tsconfig.json index 0275fb0c23..5f6690f284 100644 --- a/types/flake-idgen/tsconfig.json +++ b/types/flake-idgen/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/flat/tsconfig.json b/types/flat/tsconfig.json index 7cc1467b3f..5641722c8a 100644 --- a/types/flat/tsconfig.json +++ b/types/flat/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/flatbuffers/tsconfig.json b/types/flatbuffers/tsconfig.json index fe3421fa5b..9ec0f4dba5 100644 --- a/types/flatbuffers/tsconfig.json +++ b/types/flatbuffers/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/flexslider/tsconfig.json b/types/flexslider/tsconfig.json index 4ced617dd6..0339ecf2bf 100644 --- a/types/flexslider/tsconfig.json +++ b/types/flexslider/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/flickity/tsconfig.json b/types/flickity/tsconfig.json index e6d8dcef00..387c655e41 100644 --- a/types/flickity/tsconfig.json +++ b/types/flickity/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/flight/tsconfig.json b/types/flight/tsconfig.json index 18060e6903..36bfff03c9 100644 --- a/types/flight/tsconfig.json +++ b/types/flight/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/flightplan/tsconfig.json b/types/flightplan/tsconfig.json index be4eb41ec5..24de7ee0b1 100644 --- a/types/flightplan/tsconfig.json +++ b/types/flightplan/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/flipsnap/tsconfig.json b/types/flipsnap/tsconfig.json index 435b186eb4..8712fa1972 100644 --- a/types/flipsnap/tsconfig.json +++ b/types/flipsnap/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/flot/tsconfig.json b/types/flot/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/flot/tsconfig.json +++ b/types/flot/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/flowjs/tsconfig.json b/types/flowjs/tsconfig.json index e797332c13..6cb7be27d6 100644 --- a/types/flowjs/tsconfig.json +++ b/types/flowjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fluent-ffmpeg/tsconfig.json b/types/fluent-ffmpeg/tsconfig.json index 657e97adf6..91b742fb17 100644 --- a/types/fluent-ffmpeg/tsconfig.json +++ b/types/fluent-ffmpeg/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/flux/tsconfig.json b/types/flux/tsconfig.json index dd78eff24c..60191d3789 100644 --- a/types/flux/tsconfig.json +++ b/types/flux/tsconfig.json @@ -16,6 +16,7 @@ "strictNullChecks": false, "strictFunctionTypes": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/fluxxor/tsconfig.json b/types/fluxxor/tsconfig.json index 7bc0068190..bd6b27cda1 100644 --- a/types/fluxxor/tsconfig.json +++ b/types/fluxxor/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fm-websync/tsconfig.json b/types/fm-websync/tsconfig.json index c0b2f14445..746eea4553 100644 --- a/types/fm-websync/tsconfig.json +++ b/types/fm-websync/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fontfaceobserver/tsconfig.json b/types/fontfaceobserver/tsconfig.json index 3695935f67..68e75c4b62 100644 --- a/types/fontfaceobserver/tsconfig.json +++ b/types/fontfaceobserver/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fontoxml/tsconfig.json b/types/fontoxml/tsconfig.json index 6d62b697a0..f90f6bb073 100644 --- a/types/fontoxml/tsconfig.json +++ b/types/fontoxml/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/forever-monitor/tsconfig.json b/types/forever-monitor/tsconfig.json index 30bf59fa63..52bc473a2b 100644 --- a/types/forever-monitor/tsconfig.json +++ b/types/forever-monitor/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/forge-di/tsconfig.json b/types/forge-di/tsconfig.json index 14aa632323..1936a2e5a4 100644 --- a/types/forge-di/tsconfig.json +++ b/types/forge-di/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/form-data/tsconfig.json b/types/form-data/tsconfig.json index d1cdfefaf0..2d98b9d238 100644 --- a/types/form-data/tsconfig.json +++ b/types/form-data/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/form-serializer/tsconfig.json b/types/form-serializer/tsconfig.json index 0e7f5bba79..2a1a008cbf 100644 --- a/types/form-serializer/tsconfig.json +++ b/types/form-serializer/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/form-urlencoded/tsconfig.json b/types/form-urlencoded/tsconfig.json index 4eefbe0a12..5dd924ceb9 100644 --- a/types/form-urlencoded/tsconfig.json +++ b/types/form-urlencoded/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "form-urlencoded-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/format-duration/tsconfig.json b/types/format-duration/tsconfig.json index f17a4f7c6c..453b0def6d 100644 --- a/types/format-duration/tsconfig.json +++ b/types/format-duration/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "format-duration-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/format-io/tsconfig.json b/types/format-io/tsconfig.json index 29333d35cf..af99cdb3b1 100644 --- a/types/format-io/tsconfig.json +++ b/types/format-io/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "format-io-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/format-unicorn/tsconfig.json b/types/format-unicorn/tsconfig.json index 84864d0f7e..a14223efb4 100644 --- a/types/format-unicorn/tsconfig.json +++ b/types/format-unicorn/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/formidable/tsconfig.json b/types/formidable/tsconfig.json index e5b9877247..cca3f74f31 100644 --- a/types/formidable/tsconfig.json +++ b/types/formidable/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/forms/tsconfig.json b/types/forms/tsconfig.json index 1185c1ffbb..aad7419eea 100644 --- a/types/forms/tsconfig.json +++ b/types/forms/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "forms-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/forwarded/tsconfig.json b/types/forwarded/tsconfig.json index 58cbcdee21..5fd0798e3f 100644 --- a/types/forwarded/tsconfig.json +++ b/types/forwarded/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fossil-delta/tsconfig.json b/types/fossil-delta/tsconfig.json index 29b7c7e933..01a233092c 100644 --- a/types/fossil-delta/tsconfig.json +++ b/types/fossil-delta/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/foundation/tsconfig.json b/types/foundation/tsconfig.json index 5ddb587b52..a8fd93f7b1 100644 --- a/types/foundation/tsconfig.json +++ b/types/foundation/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fpsmeter/tsconfig.json b/types/fpsmeter/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/fpsmeter/tsconfig.json +++ b/types/fpsmeter/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/framebus/tsconfig.json b/types/framebus/tsconfig.json index eec501f70b..aac56ce964 100644 --- a/types/framebus/tsconfig.json +++ b/types/framebus/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/freedom/tsconfig.json b/types/freedom/tsconfig.json index dd0bd2e13c..6377018113 100644 --- a/types/freedom/tsconfig.json +++ b/types/freedom/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/freeport/tsconfig.json b/types/freeport/tsconfig.json index f6b6ef7b66..ccd3f7b895 100644 --- a/types/freeport/tsconfig.json +++ b/types/freeport/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fresh/tsconfig.json b/types/fresh/tsconfig.json index 298a5c3fae..75aa6f7dbb 100644 --- a/types/fresh/tsconfig.json +++ b/types/fresh/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/friendly-errors-webpack-plugin/tsconfig.json b/types/friendly-errors-webpack-plugin/tsconfig.json index f519c3b954..4dc4ac0262 100644 --- a/types/friendly-errors-webpack-plugin/tsconfig.json +++ b/types/friendly-errors-webpack-plugin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/frisby/tsconfig.json b/types/frisby/tsconfig.json index 725ebf48f1..f126fc2232 100644 --- a/types/frisby/tsconfig.json +++ b/types/frisby/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/from/tsconfig.json b/types/from/tsconfig.json index 649c0d1866..7f153fba36 100644 --- a/types/from/tsconfig.json +++ b/types/from/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/from2/tsconfig.json b/types/from2/tsconfig.json index 641eda4cf5..b5ef31433c 100644 --- a/types/from2/tsconfig.json +++ b/types/from2/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fromjs/tsconfig.json b/types/fromjs/tsconfig.json index 4c5e05b65a..7166dc031c 100644 --- a/types/fromjs/tsconfig.json +++ b/types/fromjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fromnow/tsconfig.json b/types/fromnow/tsconfig.json index 56e959f305..52471d205f 100644 --- a/types/fromnow/tsconfig.json +++ b/types/fromnow/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fs-cson/tsconfig.json b/types/fs-cson/tsconfig.json index fcd9242b1d..88fa1daf3c 100644 --- a/types/fs-cson/tsconfig.json +++ b/types/fs-cson/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "fs-cson-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fs-ext/tsconfig.json b/types/fs-ext/tsconfig.json index 18df84572d..40fd47fbd8 100644 --- a/types/fs-ext/tsconfig.json +++ b/types/fs-ext/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fs-extra-promise-es6/tsconfig.json b/types/fs-extra-promise-es6/tsconfig.json index b7e6f664f2..7a94f2f204 100644 --- a/types/fs-extra-promise-es6/tsconfig.json +++ b/types/fs-extra-promise-es6/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fs-extra-promise/tsconfig.json b/types/fs-extra-promise/tsconfig.json index 4a4fc0f60b..412ab9c171 100644 --- a/types/fs-extra-promise/tsconfig.json +++ b/types/fs-extra-promise/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fs-extra/tsconfig.json b/types/fs-extra/tsconfig.json index d43823dee8..6441117056 100644 --- a/types/fs-extra/tsconfig.json +++ b/types/fs-extra/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fs-extra/v4/tsconfig.json b/types/fs-extra/v4/tsconfig.json index 80435f4ede..053ba23f12 100644 --- a/types/fs-extra/v4/tsconfig.json +++ b/types/fs-extra/v4/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fs-finder/tsconfig.json b/types/fs-finder/tsconfig.json index 300e950feb..8df4e87cd3 100644 --- a/types/fs-finder/tsconfig.json +++ b/types/fs-finder/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fs-mock/tsconfig.json b/types/fs-mock/tsconfig.json index f468b62a55..8967149914 100644 --- a/types/fs-mock/tsconfig.json +++ b/types/fs-mock/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fs-plus/tsconfig.json b/types/fs-plus/tsconfig.json index 1ab0098d52..ae0059f221 100644 --- a/types/fs-plus/tsconfig.json +++ b/types/fs-plus/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "fs-plus-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fs-promise/tsconfig.json b/types/fs-promise/tsconfig.json index 377d4623d9..9a5d721107 100644 --- a/types/fs-promise/tsconfig.json +++ b/types/fs-promise/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fs-readdir-recursive/tsconfig.json b/types/fs-readdir-recursive/tsconfig.json index d33141f321..142c4bd90f 100644 --- a/types/fs-readdir-recursive/tsconfig.json +++ b/types/fs-readdir-recursive/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fs-readfile-promise/tsconfig.json b/types/fs-readfile-promise/tsconfig.json index 3496c329e5..9b890c41f3 100644 --- a/types/fs-readfile-promise/tsconfig.json +++ b/types/fs-readfile-promise/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fscreen/tsconfig.json b/types/fscreen/tsconfig.json index e352d9fd2e..7243196e30 100644 --- a/types/fscreen/tsconfig.json +++ b/types/fscreen/tsconfig.json @@ -16,10 +16,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "fscreen-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fsevents/tsconfig.json b/types/fsevents/tsconfig.json index 2937460740..003cbb5bd5 100644 --- a/types/fsevents/tsconfig.json +++ b/types/fsevents/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ftdomdelegate/tsconfig.json b/types/ftdomdelegate/tsconfig.json index 0220e74665..ea2d05abf2 100644 --- a/types/ftdomdelegate/tsconfig.json +++ b/types/ftdomdelegate/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ftp/tsconfig.json b/types/ftp/tsconfig.json index 6a0f57a1fc..e8e843855e 100644 --- a/types/ftp/tsconfig.json +++ b/types/ftp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ftpd/tsconfig.json b/types/ftpd/tsconfig.json index 24702aad8b..c1b9a8fa8f 100644 --- a/types/ftpd/tsconfig.json +++ b/types/ftpd/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fullname/tsconfig.json b/types/fullname/tsconfig.json index a086692e32..8fb03b2727 100644 --- a/types/fullname/tsconfig.json +++ b/types/fullname/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fullpage.js/tsconfig.json b/types/fullpage.js/tsconfig.json index d20953732c..615d06bafa 100644 --- a/types/fullpage.js/tsconfig.json +++ b/types/fullpage.js/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "fullpage.js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fuse/tsconfig.json b/types/fuse/tsconfig.json index 8f6b34f5d3..da4e30c7a2 100644 --- a/types/fuse/tsconfig.json +++ b/types/fuse/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fusioncharts/tsconfig.json b/types/fusioncharts/tsconfig.json index f41f53056a..a48802a4d4 100644 --- a/types/fusioncharts/tsconfig.json +++ b/types/fusioncharts/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fuzzaldrin-plus/tsconfig.json b/types/fuzzaldrin-plus/tsconfig.json index 02e987df6d..ce5b104868 100644 --- a/types/fuzzaldrin-plus/tsconfig.json +++ b/types/fuzzaldrin-plus/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fuzzaldrin/tsconfig.json b/types/fuzzaldrin/tsconfig.json index 2e1263faf8..b62c85debf 100644 --- a/types/fuzzaldrin/tsconfig.json +++ b/types/fuzzaldrin/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "fuzzaldrin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fuzzyset.js/tsconfig.json b/types/fuzzyset.js/tsconfig.json index a1eeb06b97..fc659fa22e 100644 --- a/types/fuzzyset.js/tsconfig.json +++ b/types/fuzzyset.js/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "fuzzyset.js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fuzzyset/tsconfig.json b/types/fuzzyset/tsconfig.json index 4ccf3898d4..f17bb2e723 100644 --- a/types/fuzzyset/tsconfig.json +++ b/types/fuzzyset/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/fxn/tsconfig.json b/types/fxn/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/fxn/tsconfig.json +++ b/types/fxn/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/gae.channel.api/tsconfig.json b/types/gae.channel.api/tsconfig.json index 37424f5ae4..12057a214d 100644 --- a/types/gae.channel.api/tsconfig.json +++ b/types/gae.channel.api/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gamepad/tsconfig.json b/types/gamepad/tsconfig.json index 4cb63f3d80..6189bd3866 100644 --- a/types/gamepad/tsconfig.json +++ b/types/gamepad/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gamequery/tsconfig.json b/types/gamequery/tsconfig.json index 9acbbdf6ea..bf4707af6f 100644 --- a/types/gamequery/tsconfig.json +++ b/types/gamequery/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gandi-livedns/tsconfig.json b/types/gandi-livedns/tsconfig.json index 709af92138..1b8ab220e1 100644 --- a/types/gandi-livedns/tsconfig.json +++ b/types/gandi-livedns/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gapi.analytics/tsconfig.json b/types/gapi.analytics/tsconfig.json index 7ea23b6882..2f420134d3 100644 --- a/types/gapi.analytics/tsconfig.json +++ b/types/gapi.analytics/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gapi.auth2/tsconfig.json b/types/gapi.auth2/tsconfig.json index 8757ec8333..594913d8b0 100644 --- a/types/gapi.auth2/tsconfig.json +++ b/types/gapi.auth2/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gapi.calendar/tsconfig.json b/types/gapi.calendar/tsconfig.json index 2d138f7ac9..78c7e4a32e 100644 --- a/types/gapi.calendar/tsconfig.json +++ b/types/gapi.calendar/tsconfig.json @@ -15,6 +15,7 @@ "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/gapi.client.acceleratedmobilepageurl/tsconfig.json b/types/gapi.client.acceleratedmobilepageurl/tsconfig.json index 60d81925fe..7ca46199d1 100644 --- a/types/gapi.client.acceleratedmobilepageurl/tsconfig.json +++ b/types/gapi.client.acceleratedmobilepageurl/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.adexchangebuyer/tsconfig.json b/types/gapi.client.adexchangebuyer/tsconfig.json index a6ddc40ec7..ecef1dc650 100644 --- a/types/gapi.client.adexchangebuyer/tsconfig.json +++ b/types/gapi.client.adexchangebuyer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.adexchangebuyer2/tsconfig.json b/types/gapi.client.adexchangebuyer2/tsconfig.json index 453ca167ee..6885a64bc3 100644 --- a/types/gapi.client.adexchangebuyer2/tsconfig.json +++ b/types/gapi.client.adexchangebuyer2/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.adexchangeseller/tsconfig.json b/types/gapi.client.adexchangeseller/tsconfig.json index a38d57f5b8..b5c5e81e25 100644 --- a/types/gapi.client.adexchangeseller/tsconfig.json +++ b/types/gapi.client.adexchangeseller/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.adexperiencereport/tsconfig.json b/types/gapi.client.adexperiencereport/tsconfig.json index 968c080cf9..b0049ec537 100644 --- a/types/gapi.client.adexperiencereport/tsconfig.json +++ b/types/gapi.client.adexperiencereport/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.admin/tsconfig.json b/types/gapi.client.admin/tsconfig.json index 840f1feb2d..339a673cf6 100644 --- a/types/gapi.client.admin/tsconfig.json +++ b/types/gapi.client.admin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.adsense/tsconfig.json b/types/gapi.client.adsense/tsconfig.json index 49b1e08a5a..ee48e54b1f 100644 --- a/types/gapi.client.adsense/tsconfig.json +++ b/types/gapi.client.adsense/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.adsensehost/tsconfig.json b/types/gapi.client.adsensehost/tsconfig.json index 5cee9dc200..1bc4586345 100644 --- a/types/gapi.client.adsensehost/tsconfig.json +++ b/types/gapi.client.adsensehost/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.analytics/tsconfig.json b/types/gapi.client.analytics/tsconfig.json index 24b9a3e308..bf021b2158 100644 --- a/types/gapi.client.analytics/tsconfig.json +++ b/types/gapi.client.analytics/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.analyticsreporting/tsconfig.json b/types/gapi.client.analyticsreporting/tsconfig.json index 2f65484898..4f15864f1a 100644 --- a/types/gapi.client.analyticsreporting/tsconfig.json +++ b/types/gapi.client.analyticsreporting/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.androiddeviceprovisioning/tsconfig.json b/types/gapi.client.androiddeviceprovisioning/tsconfig.json index 953923be00..0bf5432081 100644 --- a/types/gapi.client.androiddeviceprovisioning/tsconfig.json +++ b/types/gapi.client.androiddeviceprovisioning/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.androidenterprise/tsconfig.json b/types/gapi.client.androidenterprise/tsconfig.json index d641db9824..aa914d683d 100644 --- a/types/gapi.client.androidenterprise/tsconfig.json +++ b/types/gapi.client.androidenterprise/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.androidmanagement/tsconfig.json b/types/gapi.client.androidmanagement/tsconfig.json index 3cfbad08e0..800f1fb763 100644 --- a/types/gapi.client.androidmanagement/tsconfig.json +++ b/types/gapi.client.androidmanagement/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.androidpublisher/tsconfig.json b/types/gapi.client.androidpublisher/tsconfig.json index 6f724fe172..141590dbbf 100644 --- a/types/gapi.client.androidpublisher/tsconfig.json +++ b/types/gapi.client.androidpublisher/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.appengine/tsconfig.json b/types/gapi.client.appengine/tsconfig.json index 0af2b9eade..b8ec56c5d7 100644 --- a/types/gapi.client.appengine/tsconfig.json +++ b/types/gapi.client.appengine/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.appsactivity/tsconfig.json b/types/gapi.client.appsactivity/tsconfig.json index 0afc87f3ad..afcfd4b989 100644 --- a/types/gapi.client.appsactivity/tsconfig.json +++ b/types/gapi.client.appsactivity/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.appstate/tsconfig.json b/types/gapi.client.appstate/tsconfig.json index e9b5b7a850..a751adc9f9 100644 --- a/types/gapi.client.appstate/tsconfig.json +++ b/types/gapi.client.appstate/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.bigquery/tsconfig.json b/types/gapi.client.bigquery/tsconfig.json index 23f55a96a4..f96f22a938 100644 --- a/types/gapi.client.bigquery/tsconfig.json +++ b/types/gapi.client.bigquery/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.bigquerydatatransfer/tsconfig.json b/types/gapi.client.bigquerydatatransfer/tsconfig.json index 312df37f3f..dc90ae3640 100644 --- a/types/gapi.client.bigquerydatatransfer/tsconfig.json +++ b/types/gapi.client.bigquerydatatransfer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.blogger/tsconfig.json b/types/gapi.client.blogger/tsconfig.json index 1b5be0ad2b..14c778be8f 100644 --- a/types/gapi.client.blogger/tsconfig.json +++ b/types/gapi.client.blogger/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.books/tsconfig.json b/types/gapi.client.books/tsconfig.json index d011bdcf5c..d5b6f224fd 100644 --- a/types/gapi.client.books/tsconfig.json +++ b/types/gapi.client.books/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.calendar/tsconfig.json b/types/gapi.client.calendar/tsconfig.json index 5d44c3d92a..4a3cc57200 100644 --- a/types/gapi.client.calendar/tsconfig.json +++ b/types/gapi.client.calendar/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.civicinfo/tsconfig.json b/types/gapi.client.civicinfo/tsconfig.json index 6c3ced88c9..c144ad988f 100644 --- a/types/gapi.client.civicinfo/tsconfig.json +++ b/types/gapi.client.civicinfo/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.classroom/tsconfig.json b/types/gapi.client.classroom/tsconfig.json index 4e1a97323a..1c09dcba49 100644 --- a/types/gapi.client.classroom/tsconfig.json +++ b/types/gapi.client.classroom/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.cloudbilling/tsconfig.json b/types/gapi.client.cloudbilling/tsconfig.json index 66cfdbefe4..bf15149044 100644 --- a/types/gapi.client.cloudbilling/tsconfig.json +++ b/types/gapi.client.cloudbilling/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.cloudbuild/tsconfig.json b/types/gapi.client.cloudbuild/tsconfig.json index 22d8d6d390..193b0bb7bc 100644 --- a/types/gapi.client.cloudbuild/tsconfig.json +++ b/types/gapi.client.cloudbuild/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.clouddebugger/tsconfig.json b/types/gapi.client.clouddebugger/tsconfig.json index de9d4c94bc..773cb6f623 100644 --- a/types/gapi.client.clouddebugger/tsconfig.json +++ b/types/gapi.client.clouddebugger/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.clouderrorreporting/tsconfig.json b/types/gapi.client.clouderrorreporting/tsconfig.json index cc1296f8ee..5a0a7e1605 100644 --- a/types/gapi.client.clouderrorreporting/tsconfig.json +++ b/types/gapi.client.clouderrorreporting/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.cloudfunctions/tsconfig.json b/types/gapi.client.cloudfunctions/tsconfig.json index 720b272f2e..d0ad0ec792 100644 --- a/types/gapi.client.cloudfunctions/tsconfig.json +++ b/types/gapi.client.cloudfunctions/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.cloudiot/tsconfig.json b/types/gapi.client.cloudiot/tsconfig.json index 03ed93c76d..6619e1273b 100644 --- a/types/gapi.client.cloudiot/tsconfig.json +++ b/types/gapi.client.cloudiot/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.cloudkms/tsconfig.json b/types/gapi.client.cloudkms/tsconfig.json index ff982b97d1..30e1a47d30 100644 --- a/types/gapi.client.cloudkms/tsconfig.json +++ b/types/gapi.client.cloudkms/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.cloudmonitoring/tsconfig.json b/types/gapi.client.cloudmonitoring/tsconfig.json index e007418ca9..aa98b060a4 100644 --- a/types/gapi.client.cloudmonitoring/tsconfig.json +++ b/types/gapi.client.cloudmonitoring/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.cloudresourcemanager/tsconfig.json b/types/gapi.client.cloudresourcemanager/tsconfig.json index c82cbc16f6..bf64d30483 100644 --- a/types/gapi.client.cloudresourcemanager/tsconfig.json +++ b/types/gapi.client.cloudresourcemanager/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.cloudtasks/tsconfig.json b/types/gapi.client.cloudtasks/tsconfig.json index d4240ab7d4..a2d8c58245 100644 --- a/types/gapi.client.cloudtasks/tsconfig.json +++ b/types/gapi.client.cloudtasks/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.cloudtrace/tsconfig.json b/types/gapi.client.cloudtrace/tsconfig.json index 977a1fd91f..deb00da08f 100644 --- a/types/gapi.client.cloudtrace/tsconfig.json +++ b/types/gapi.client.cloudtrace/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.clouduseraccounts/tsconfig.json b/types/gapi.client.clouduseraccounts/tsconfig.json index a6e3b9ffec..7ef79a3b37 100644 --- a/types/gapi.client.clouduseraccounts/tsconfig.json +++ b/types/gapi.client.clouduseraccounts/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.compute/tsconfig.json b/types/gapi.client.compute/tsconfig.json index 496204435b..f0d8a0d986 100644 --- a/types/gapi.client.compute/tsconfig.json +++ b/types/gapi.client.compute/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.consumersurveys/tsconfig.json b/types/gapi.client.consumersurveys/tsconfig.json index e8c3646083..cd7fe30013 100644 --- a/types/gapi.client.consumersurveys/tsconfig.json +++ b/types/gapi.client.consumersurveys/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.container/tsconfig.json b/types/gapi.client.container/tsconfig.json index 51ff6c98bb..119d6c3ba5 100644 --- a/types/gapi.client.container/tsconfig.json +++ b/types/gapi.client.container/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.content/tsconfig.json b/types/gapi.client.content/tsconfig.json index 566c98a224..032eaa64a4 100644 --- a/types/gapi.client.content/tsconfig.json +++ b/types/gapi.client.content/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.customsearch/tsconfig.json b/types/gapi.client.customsearch/tsconfig.json index 9b5c4f447d..c59bef0b1a 100644 --- a/types/gapi.client.customsearch/tsconfig.json +++ b/types/gapi.client.customsearch/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.dataflow/tsconfig.json b/types/gapi.client.dataflow/tsconfig.json index 08c1fced14..8e23104a37 100644 --- a/types/gapi.client.dataflow/tsconfig.json +++ b/types/gapi.client.dataflow/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.dataproc/tsconfig.json b/types/gapi.client.dataproc/tsconfig.json index 83a765706a..31c48ab1f7 100644 --- a/types/gapi.client.dataproc/tsconfig.json +++ b/types/gapi.client.dataproc/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.datastore/tsconfig.json b/types/gapi.client.datastore/tsconfig.json index a84cddd73f..7fce15fad9 100644 --- a/types/gapi.client.datastore/tsconfig.json +++ b/types/gapi.client.datastore/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.deploymentmanager/tsconfig.json b/types/gapi.client.deploymentmanager/tsconfig.json index 76527cf87c..f2b606045e 100644 --- a/types/gapi.client.deploymentmanager/tsconfig.json +++ b/types/gapi.client.deploymentmanager/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.dfareporting/tsconfig.json b/types/gapi.client.dfareporting/tsconfig.json index 78bcd11678..f5a5e85bff 100644 --- a/types/gapi.client.dfareporting/tsconfig.json +++ b/types/gapi.client.dfareporting/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.discovery/tsconfig.json b/types/gapi.client.discovery/tsconfig.json index b597d1b278..8bdae68cac 100644 --- a/types/gapi.client.discovery/tsconfig.json +++ b/types/gapi.client.discovery/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.dlp/tsconfig.json b/types/gapi.client.dlp/tsconfig.json index b7ab822674..28654dd0d1 100644 --- a/types/gapi.client.dlp/tsconfig.json +++ b/types/gapi.client.dlp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.dns/tsconfig.json b/types/gapi.client.dns/tsconfig.json index 93f3858c6c..032a207928 100644 --- a/types/gapi.client.dns/tsconfig.json +++ b/types/gapi.client.dns/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.doubleclickbidmanager/tsconfig.json b/types/gapi.client.doubleclickbidmanager/tsconfig.json index 1e00b8c904..081c1f2e74 100644 --- a/types/gapi.client.doubleclickbidmanager/tsconfig.json +++ b/types/gapi.client.doubleclickbidmanager/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.doubleclicksearch/tsconfig.json b/types/gapi.client.doubleclicksearch/tsconfig.json index fb0d0a44bd..a76616840d 100644 --- a/types/gapi.client.doubleclicksearch/tsconfig.json +++ b/types/gapi.client.doubleclicksearch/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.drive/tsconfig.json b/types/gapi.client.drive/tsconfig.json index 6d5901b410..05060ca3af 100644 --- a/types/gapi.client.drive/tsconfig.json +++ b/types/gapi.client.drive/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.firebasedynamiclinks/tsconfig.json b/types/gapi.client.firebasedynamiclinks/tsconfig.json index e43d9944a4..9ad2b5eac8 100644 --- a/types/gapi.client.firebasedynamiclinks/tsconfig.json +++ b/types/gapi.client.firebasedynamiclinks/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.firebaseremoteconfig/tsconfig.json b/types/gapi.client.firebaseremoteconfig/tsconfig.json index 9366ffa276..40ed96539d 100644 --- a/types/gapi.client.firebaseremoteconfig/tsconfig.json +++ b/types/gapi.client.firebaseremoteconfig/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.firebaserules/tsconfig.json b/types/gapi.client.firebaserules/tsconfig.json index fe476614b8..981e890c45 100644 --- a/types/gapi.client.firebaserules/tsconfig.json +++ b/types/gapi.client.firebaserules/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.firestore/tsconfig.json b/types/gapi.client.firestore/tsconfig.json index c15195612c..4973b52381 100644 --- a/types/gapi.client.firestore/tsconfig.json +++ b/types/gapi.client.firestore/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.fitness/tsconfig.json b/types/gapi.client.fitness/tsconfig.json index d165e53085..38f88be095 100644 --- a/types/gapi.client.fitness/tsconfig.json +++ b/types/gapi.client.fitness/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.fusiontables/tsconfig.json b/types/gapi.client.fusiontables/tsconfig.json index 74936cb7a6..ccc96c9ba0 100644 --- a/types/gapi.client.fusiontables/tsconfig.json +++ b/types/gapi.client.fusiontables/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.games/tsconfig.json b/types/gapi.client.games/tsconfig.json index d2bbd017e2..c166ca72a7 100644 --- a/types/gapi.client.games/tsconfig.json +++ b/types/gapi.client.games/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.gamesconfiguration/tsconfig.json b/types/gapi.client.gamesconfiguration/tsconfig.json index 66a95276f8..815cced1eb 100644 --- a/types/gapi.client.gamesconfiguration/tsconfig.json +++ b/types/gapi.client.gamesconfiguration/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.gamesmanagement/tsconfig.json b/types/gapi.client.gamesmanagement/tsconfig.json index 91d2485de8..0a7c716384 100644 --- a/types/gapi.client.gamesmanagement/tsconfig.json +++ b/types/gapi.client.gamesmanagement/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.genomics/tsconfig.json b/types/gapi.client.genomics/tsconfig.json index f3814992d0..5ce49ae151 100644 --- a/types/gapi.client.genomics/tsconfig.json +++ b/types/gapi.client.genomics/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.gmail/tsconfig.json b/types/gapi.client.gmail/tsconfig.json index f0a8989f4f..993382c1a5 100644 --- a/types/gapi.client.gmail/tsconfig.json +++ b/types/gapi.client.gmail/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.groupsmigration/tsconfig.json b/types/gapi.client.groupsmigration/tsconfig.json index e790df35fc..f911d8b0d0 100644 --- a/types/gapi.client.groupsmigration/tsconfig.json +++ b/types/gapi.client.groupsmigration/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.groupssettings/tsconfig.json b/types/gapi.client.groupssettings/tsconfig.json index 855b1f2828..cfc7f790d6 100644 --- a/types/gapi.client.groupssettings/tsconfig.json +++ b/types/gapi.client.groupssettings/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.iam/tsconfig.json b/types/gapi.client.iam/tsconfig.json index 4cfc571a22..16013cf2d4 100644 --- a/types/gapi.client.iam/tsconfig.json +++ b/types/gapi.client.iam/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.identitytoolkit/tsconfig.json b/types/gapi.client.identitytoolkit/tsconfig.json index 558805120e..665942fe98 100644 --- a/types/gapi.client.identitytoolkit/tsconfig.json +++ b/types/gapi.client.identitytoolkit/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.kgsearch/tsconfig.json b/types/gapi.client.kgsearch/tsconfig.json index 3dc92ba79b..ea233a6419 100644 --- a/types/gapi.client.kgsearch/tsconfig.json +++ b/types/gapi.client.kgsearch/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.language/tsconfig.json b/types/gapi.client.language/tsconfig.json index 12044b7569..2b9df43adb 100644 --- a/types/gapi.client.language/tsconfig.json +++ b/types/gapi.client.language/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.licensing/tsconfig.json b/types/gapi.client.licensing/tsconfig.json index 2cde1d0a5f..2062e11df6 100644 --- a/types/gapi.client.licensing/tsconfig.json +++ b/types/gapi.client.licensing/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.logging/tsconfig.json b/types/gapi.client.logging/tsconfig.json index 315ea3a5e0..30c1d9cd1c 100644 --- a/types/gapi.client.logging/tsconfig.json +++ b/types/gapi.client.logging/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.manufacturers/tsconfig.json b/types/gapi.client.manufacturers/tsconfig.json index 143de33ad9..a0f3dcb6be 100644 --- a/types/gapi.client.manufacturers/tsconfig.json +++ b/types/gapi.client.manufacturers/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.mirror/tsconfig.json b/types/gapi.client.mirror/tsconfig.json index 3404622c43..52ff31962a 100644 --- a/types/gapi.client.mirror/tsconfig.json +++ b/types/gapi.client.mirror/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.ml/tsconfig.json b/types/gapi.client.ml/tsconfig.json index e665f45a5b..3f8f98f9d3 100644 --- a/types/gapi.client.ml/tsconfig.json +++ b/types/gapi.client.ml/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.monitoring/tsconfig.json b/types/gapi.client.monitoring/tsconfig.json index 4c5c8d9129..0f40410ea1 100644 --- a/types/gapi.client.monitoring/tsconfig.json +++ b/types/gapi.client.monitoring/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.oauth2/tsconfig.json b/types/gapi.client.oauth2/tsconfig.json index 593137d956..e0db730e80 100644 --- a/types/gapi.client.oauth2/tsconfig.json +++ b/types/gapi.client.oauth2/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.oslogin/tsconfig.json b/types/gapi.client.oslogin/tsconfig.json index bcf0faa3cb..d0512f2a9b 100644 --- a/types/gapi.client.oslogin/tsconfig.json +++ b/types/gapi.client.oslogin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.pagespeedonline/tsconfig.json b/types/gapi.client.pagespeedonline/tsconfig.json index 38b680e5ae..a56ae8eb21 100644 --- a/types/gapi.client.pagespeedonline/tsconfig.json +++ b/types/gapi.client.pagespeedonline/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.partners/tsconfig.json b/types/gapi.client.partners/tsconfig.json index cbecfb7e6e..ffcef1527d 100644 --- a/types/gapi.client.partners/tsconfig.json +++ b/types/gapi.client.partners/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.people/tsconfig.json b/types/gapi.client.people/tsconfig.json index 4a64b3a83d..65c26e2e37 100644 --- a/types/gapi.client.people/tsconfig.json +++ b/types/gapi.client.people/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.playcustomapp/tsconfig.json b/types/gapi.client.playcustomapp/tsconfig.json index 432fd7ebe4..933673854d 100644 --- a/types/gapi.client.playcustomapp/tsconfig.json +++ b/types/gapi.client.playcustomapp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.playmoviespartner/tsconfig.json b/types/gapi.client.playmoviespartner/tsconfig.json index 9751ed88eb..3ef754e191 100644 --- a/types/gapi.client.playmoviespartner/tsconfig.json +++ b/types/gapi.client.playmoviespartner/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.plus/tsconfig.json b/types/gapi.client.plus/tsconfig.json index 933d6c865a..576c937104 100644 --- a/types/gapi.client.plus/tsconfig.json +++ b/types/gapi.client.plus/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.plusdomains/tsconfig.json b/types/gapi.client.plusdomains/tsconfig.json index aad16ba9c1..56557f1fe0 100644 --- a/types/gapi.client.plusdomains/tsconfig.json +++ b/types/gapi.client.plusdomains/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.prediction/tsconfig.json b/types/gapi.client.prediction/tsconfig.json index 15c0255ef0..3077afc226 100644 --- a/types/gapi.client.prediction/tsconfig.json +++ b/types/gapi.client.prediction/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.proximitybeacon/tsconfig.json b/types/gapi.client.proximitybeacon/tsconfig.json index 8f240f1352..0615652a78 100644 --- a/types/gapi.client.proximitybeacon/tsconfig.json +++ b/types/gapi.client.proximitybeacon/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.pubsub/tsconfig.json b/types/gapi.client.pubsub/tsconfig.json index c5b386832c..50798418ff 100644 --- a/types/gapi.client.pubsub/tsconfig.json +++ b/types/gapi.client.pubsub/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.qpxexpress/tsconfig.json b/types/gapi.client.qpxexpress/tsconfig.json index 759fd511d6..8d0bc8414b 100644 --- a/types/gapi.client.qpxexpress/tsconfig.json +++ b/types/gapi.client.qpxexpress/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.reseller/tsconfig.json b/types/gapi.client.reseller/tsconfig.json index 62660a16cc..fc68d23c53 100644 --- a/types/gapi.client.reseller/tsconfig.json +++ b/types/gapi.client.reseller/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.resourceviews/tsconfig.json b/types/gapi.client.resourceviews/tsconfig.json index d910ac6b45..1954aa9170 100644 --- a/types/gapi.client.resourceviews/tsconfig.json +++ b/types/gapi.client.resourceviews/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.runtimeconfig/tsconfig.json b/types/gapi.client.runtimeconfig/tsconfig.json index 5e27079b43..f306447ecb 100644 --- a/types/gapi.client.runtimeconfig/tsconfig.json +++ b/types/gapi.client.runtimeconfig/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.safebrowsing/tsconfig.json b/types/gapi.client.safebrowsing/tsconfig.json index 3545ceeab3..d4fef368c8 100644 --- a/types/gapi.client.safebrowsing/tsconfig.json +++ b/types/gapi.client.safebrowsing/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.script/tsconfig.json b/types/gapi.client.script/tsconfig.json index 2ee2653a1f..7d36f916b1 100644 --- a/types/gapi.client.script/tsconfig.json +++ b/types/gapi.client.script/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.searchconsole/tsconfig.json b/types/gapi.client.searchconsole/tsconfig.json index f2e33ebce6..b7e6c12490 100644 --- a/types/gapi.client.searchconsole/tsconfig.json +++ b/types/gapi.client.searchconsole/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.servicecontrol/tsconfig.json b/types/gapi.client.servicecontrol/tsconfig.json index 14d7667280..d49010f92f 100644 --- a/types/gapi.client.servicecontrol/tsconfig.json +++ b/types/gapi.client.servicecontrol/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.servicemanagement/tsconfig.json b/types/gapi.client.servicemanagement/tsconfig.json index c1ec19c789..bf2babb733 100644 --- a/types/gapi.client.servicemanagement/tsconfig.json +++ b/types/gapi.client.servicemanagement/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.serviceuser/tsconfig.json b/types/gapi.client.serviceuser/tsconfig.json index 3213e6fbe7..ca53c7b183 100644 --- a/types/gapi.client.serviceuser/tsconfig.json +++ b/types/gapi.client.serviceuser/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.sheets/tsconfig.json b/types/gapi.client.sheets/tsconfig.json index 23b7d8ecf0..1d3e881b9d 100644 --- a/types/gapi.client.sheets/tsconfig.json +++ b/types/gapi.client.sheets/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.siteverification/tsconfig.json b/types/gapi.client.siteverification/tsconfig.json index a32d7d01b6..a8a7d2ca1a 100644 --- a/types/gapi.client.siteverification/tsconfig.json +++ b/types/gapi.client.siteverification/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.slides/tsconfig.json b/types/gapi.client.slides/tsconfig.json index 94b7cd8068..67cef5659a 100644 --- a/types/gapi.client.slides/tsconfig.json +++ b/types/gapi.client.slides/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.sourcerepo/tsconfig.json b/types/gapi.client.sourcerepo/tsconfig.json index 1b6a4b8191..95662d947f 100644 --- a/types/gapi.client.sourcerepo/tsconfig.json +++ b/types/gapi.client.sourcerepo/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.spanner/tsconfig.json b/types/gapi.client.spanner/tsconfig.json index a4fcfe1835..1a1ff65ad6 100644 --- a/types/gapi.client.spanner/tsconfig.json +++ b/types/gapi.client.spanner/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.spectrum/tsconfig.json b/types/gapi.client.spectrum/tsconfig.json index 6dcfe9f1ea..d011e50d68 100644 --- a/types/gapi.client.spectrum/tsconfig.json +++ b/types/gapi.client.spectrum/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.speech/tsconfig.json b/types/gapi.client.speech/tsconfig.json index 694c7824cb..40c1c0386d 100644 --- a/types/gapi.client.speech/tsconfig.json +++ b/types/gapi.client.speech/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.sqladmin/tsconfig.json b/types/gapi.client.sqladmin/tsconfig.json index a8bd3bb164..3ecdc24928 100644 --- a/types/gapi.client.sqladmin/tsconfig.json +++ b/types/gapi.client.sqladmin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.storage/tsconfig.json b/types/gapi.client.storage/tsconfig.json index 761e1e8caa..c7bea50dd7 100644 --- a/types/gapi.client.storage/tsconfig.json +++ b/types/gapi.client.storage/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.storagetransfer/tsconfig.json b/types/gapi.client.storagetransfer/tsconfig.json index 4eb74edeea..a6fcdaa7fe 100644 --- a/types/gapi.client.storagetransfer/tsconfig.json +++ b/types/gapi.client.storagetransfer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.streetviewpublish/tsconfig.json b/types/gapi.client.streetviewpublish/tsconfig.json index 1e2afe51e0..780af27cc9 100644 --- a/types/gapi.client.streetviewpublish/tsconfig.json +++ b/types/gapi.client.streetviewpublish/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.surveys/tsconfig.json b/types/gapi.client.surveys/tsconfig.json index c0230c586d..75ad3c18bd 100644 --- a/types/gapi.client.surveys/tsconfig.json +++ b/types/gapi.client.surveys/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.tagmanager/tsconfig.json b/types/gapi.client.tagmanager/tsconfig.json index 92a3d1732b..9b9e86b11a 100644 --- a/types/gapi.client.tagmanager/tsconfig.json +++ b/types/gapi.client.tagmanager/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.taskqueue/tsconfig.json b/types/gapi.client.taskqueue/tsconfig.json index 95db41d7b6..ee54bf18cb 100644 --- a/types/gapi.client.taskqueue/tsconfig.json +++ b/types/gapi.client.taskqueue/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.tasks/tsconfig.json b/types/gapi.client.tasks/tsconfig.json index a8ac77689b..7d9fb8a32d 100644 --- a/types/gapi.client.tasks/tsconfig.json +++ b/types/gapi.client.tasks/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.testing/tsconfig.json b/types/gapi.client.testing/tsconfig.json index 88e8341cfb..ab82eee9be 100644 --- a/types/gapi.client.testing/tsconfig.json +++ b/types/gapi.client.testing/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.toolresults/tsconfig.json b/types/gapi.client.toolresults/tsconfig.json index 2e0b9eee8b..7eac8dd678 100644 --- a/types/gapi.client.toolresults/tsconfig.json +++ b/types/gapi.client.toolresults/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.translate/tsconfig.json b/types/gapi.client.translate/tsconfig.json index 6f75322a8d..c677c65b30 100644 --- a/types/gapi.client.translate/tsconfig.json +++ b/types/gapi.client.translate/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.urlshortener/tsconfig.json b/types/gapi.client.urlshortener/tsconfig.json index d66d384a36..91e231c6ae 100644 --- a/types/gapi.client.urlshortener/tsconfig.json +++ b/types/gapi.client.urlshortener/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.vault/tsconfig.json b/types/gapi.client.vault/tsconfig.json index f6f0c61f24..c57aa9ac5e 100644 --- a/types/gapi.client.vault/tsconfig.json +++ b/types/gapi.client.vault/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.videointelligence/tsconfig.json b/types/gapi.client.videointelligence/tsconfig.json index 5db40cf349..4274056d08 100644 --- a/types/gapi.client.videointelligence/tsconfig.json +++ b/types/gapi.client.videointelligence/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.vision/tsconfig.json b/types/gapi.client.vision/tsconfig.json index 300f812220..3db7a9f0ae 100644 --- a/types/gapi.client.vision/tsconfig.json +++ b/types/gapi.client.vision/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.webfonts/tsconfig.json b/types/gapi.client.webfonts/tsconfig.json index 99419f718b..35eb4f3573 100644 --- a/types/gapi.client.webfonts/tsconfig.json +++ b/types/gapi.client.webfonts/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.webmasters/tsconfig.json b/types/gapi.client.webmasters/tsconfig.json index f542550a2f..ed4d12edf2 100644 --- a/types/gapi.client.webmasters/tsconfig.json +++ b/types/gapi.client.webmasters/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.youtube/tsconfig.json b/types/gapi.client.youtube/tsconfig.json index 727bee6a41..69c7503ec1 100644 --- a/types/gapi.client.youtube/tsconfig.json +++ b/types/gapi.client.youtube/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.youtubeanalytics/tsconfig.json b/types/gapi.client.youtubeanalytics/tsconfig.json index 84b8975062..455e3dc970 100644 --- a/types/gapi.client.youtubeanalytics/tsconfig.json +++ b/types/gapi.client.youtubeanalytics/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.youtubereporting/tsconfig.json b/types/gapi.client.youtubereporting/tsconfig.json index 05e2060796..20524d4d05 100644 --- a/types/gapi.client.youtubereporting/tsconfig.json +++ b/types/gapi.client.youtubereporting/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client/tsconfig.json b/types/gapi.client/tsconfig.json index 09471da3d2..b0836a651d 100644 --- a/types/gapi.client/tsconfig.json +++ b/types/gapi.client/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.drive/tsconfig.json b/types/gapi.drive/tsconfig.json index 4e5f340f58..6c3650f3d6 100644 --- a/types/gapi.drive/tsconfig.json +++ b/types/gapi.drive/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gapi.pagespeedonline/tsconfig.json b/types/gapi.pagespeedonline/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/gapi.pagespeedonline/tsconfig.json +++ b/types/gapi.pagespeedonline/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/gapi.people/tsconfig.json b/types/gapi.people/tsconfig.json index 1fbbd65218..371c13635b 100644 --- a/types/gapi.people/tsconfig.json +++ b/types/gapi.people/tsconfig.json @@ -15,6 +15,7 @@ "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/gapi.plus/tsconfig.json b/types/gapi.plus/tsconfig.json index 1ecc447591..90258a43c7 100644 --- a/types/gapi.plus/tsconfig.json +++ b/types/gapi.plus/tsconfig.json @@ -15,6 +15,7 @@ "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/gapi.translate/tsconfig.json b/types/gapi.translate/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/gapi.translate/tsconfig.json +++ b/types/gapi.translate/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/gapi.urlshortener/tsconfig.json b/types/gapi.urlshortener/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/gapi.urlshortener/tsconfig.json +++ b/types/gapi.urlshortener/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/gapi.youtube/tsconfig.json b/types/gapi.youtube/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/gapi.youtube/tsconfig.json +++ b/types/gapi.youtube/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/gapi.youtubeanalytics/tsconfig.json b/types/gapi.youtubeanalytics/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/gapi.youtubeanalytics/tsconfig.json +++ b/types/gapi.youtubeanalytics/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/gapi/tsconfig.json b/types/gapi/tsconfig.json index 18f0162c51..c0518c28b2 100644 --- a/types/gapi/tsconfig.json +++ b/types/gapi/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gaussian/tsconfig.json b/types/gaussian/tsconfig.json index 30e363a435..125874fdd0 100644 --- a/types/gaussian/tsconfig.json +++ b/types/gaussian/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/geetest/tsconfig.json b/types/geetest/tsconfig.json index e1eabe6427..d77714c750 100644 --- a/types/geetest/tsconfig.json +++ b/types/geetest/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "geetest-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gen-readlines/tsconfig.json b/types/gen-readlines/tsconfig.json index 18d185012c..e33972871a 100644 --- a/types/gen-readlines/tsconfig.json +++ b/types/gen-readlines/tsconfig.json @@ -15,10 +15,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "strictFunctionTypes" : true + "esModuleInterop": true, + "strictFunctionTypes": true }, "files": [ "index.d.ts", "gen-readlines-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/generic-functions/tsconfig.json b/types/generic-functions/tsconfig.json index 7476e09445..8194acf8f1 100644 --- a/types/generic-functions/tsconfig.json +++ b/types/generic-functions/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/generic-pool/tsconfig.json b/types/generic-pool/tsconfig.json index 070951dc15..f7814076e4 100644 --- a/types/generic-pool/tsconfig.json +++ b/types/generic-pool/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gently/tsconfig.json b/types/gently/tsconfig.json index 0bb239c702..a204c2dbe2 100644 --- a/types/gently/tsconfig.json +++ b/types/gently/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/geodesy/tsconfig.json b/types/geodesy/tsconfig.json index 3b785b83fb..44f04c33a8 100644 --- a/types/geodesy/tsconfig.json +++ b/types/geodesy/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/geoip-lite/tsconfig.json b/types/geoip-lite/tsconfig.json index 28668d80f3..2048399bfd 100644 --- a/types/geoip-lite/tsconfig.json +++ b/types/geoip-lite/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/geojson/tsconfig.json b/types/geojson/tsconfig.json index 071f17c65d..18526751b5 100644 --- a/types/geojson/tsconfig.json +++ b/types/geojson/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/geojson2osm/tsconfig.json b/types/geojson2osm/tsconfig.json index 98f1b66e4e..b6301a0296 100644 --- a/types/geojson2osm/tsconfig.json +++ b/types/geojson2osm/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/geokdbush/tsconfig.json b/types/geokdbush/tsconfig.json index 655591f4e8..29ef327d5b 100644 --- a/types/geokdbush/tsconfig.json +++ b/types/geokdbush/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/geometry-dom/tsconfig.json b/types/geometry-dom/tsconfig.json index f845e8f11a..ed33cabecd 100644 --- a/types/geometry-dom/tsconfig.json +++ b/types/geometry-dom/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/geopattern/tsconfig.json b/types/geopattern/tsconfig.json index 6804c9374d..ffde596485 100644 --- a/types/geopattern/tsconfig.json +++ b/types/geopattern/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/get-node-dimensions/tsconfig.json b/types/get-node-dimensions/tsconfig.json index 63d26048ed..04ee74158c 100644 --- a/types/get-node-dimensions/tsconfig.json +++ b/types/get-node-dimensions/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/get-port/tsconfig.json b/types/get-port/tsconfig.json index c221d4e9fd..459facdfa8 100644 --- a/types/get-port/tsconfig.json +++ b/types/get-port/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/get-stdin/tsconfig.json b/types/get-stdin/tsconfig.json index 1052b48f11..6c25eedcf8 100644 --- a/types/get-stdin/tsconfig.json +++ b/types/get-stdin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/get-stream/tsconfig.json b/types/get-stream/tsconfig.json index 7d3b35d42d..9c36478bae 100644 --- a/types/get-stream/tsconfig.json +++ b/types/get-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/getos/tsconfig.json b/types/getos/tsconfig.json index fbcc09cf87..7d14fec0fc 100644 --- a/types/getos/tsconfig.json +++ b/types/getos/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gettext.js/tsconfig.json b/types/gettext.js/tsconfig.json index 3812c6244c..87273714e2 100644 --- a/types/gettext.js/tsconfig.json +++ b/types/gettext.js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gifffer/tsconfig.json b/types/gifffer/tsconfig.json index 273e998048..e5d099d008 100644 --- a/types/gifffer/tsconfig.json +++ b/types/gifffer/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "gifffer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gijgo/tsconfig.json b/types/gijgo/tsconfig.json index 36530a70b9..6bb0ae1403 100644 --- a/types/gijgo/tsconfig.json +++ b/types/gijgo/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/giraffe/tsconfig.json b/types/giraffe/tsconfig.json index 0602e0fbb5..a469396dd4 100644 --- a/types/giraffe/tsconfig.json +++ b/types/giraffe/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/git-config/tsconfig.json b/types/git-config/tsconfig.json index 48e528d1cc..605c7505c3 100644 --- a/types/git-config/tsconfig.json +++ b/types/git-config/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/git-remote-origin-url/tsconfig.json b/types/git-remote-origin-url/tsconfig.json index 063c49bfe3..9d83cc0c47 100644 --- a/types/git-remote-origin-url/tsconfig.json +++ b/types/git-remote-origin-url/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/git-rev/tsconfig.json b/types/git-rev/tsconfig.json index 95396b43c2..7a8cbf36cf 100644 --- a/types/git-rev/tsconfig.json +++ b/types/git-rev/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/git/tsconfig.json b/types/git/tsconfig.json index 397dfc4ac3..959a2ac25e 100644 --- a/types/git/tsconfig.json +++ b/types/git/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/github-username-regex/tsconfig.json b/types/github-username-regex/tsconfig.json index 4a30cf07ad..4564596c08 100644 --- a/types/github-username-regex/tsconfig.json +++ b/types/github-username-regex/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "github-username-regex-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gl-matrix/tsconfig.json b/types/gl-matrix/tsconfig.json index ec26405a08..fd83be79a8 100644 --- a/types/gl-matrix/tsconfig.json +++ b/types/gl-matrix/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gldatepicker/tsconfig.json b/types/gldatepicker/tsconfig.json index 93ae16bff0..8d80a4c096 100644 --- a/types/gldatepicker/tsconfig.json +++ b/types/gldatepicker/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/glidejs/tsconfig.json b/types/glidejs/tsconfig.json index 5659d4d355..5d075c7637 100644 --- a/types/glidejs/tsconfig.json +++ b/types/glidejs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/glob-base/tsconfig.json b/types/glob-base/tsconfig.json index b5cd160770..2013ef4332 100644 --- a/types/glob-base/tsconfig.json +++ b/types/glob-base/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/glob-expand/tsconfig.json b/types/glob-expand/tsconfig.json index 4c028e61f8..670f966d8f 100644 --- a/types/glob-expand/tsconfig.json +++ b/types/glob-expand/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/glob-parent/tsconfig.json b/types/glob-parent/tsconfig.json index 1e74b9bc82..ee2853601f 100644 --- a/types/glob-parent/tsconfig.json +++ b/types/glob-parent/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "glob-parent-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/glob-stream/tsconfig.json b/types/glob-stream/tsconfig.json index 06d8e7ca71..c199b4c07c 100644 --- a/types/glob-stream/tsconfig.json +++ b/types/glob-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/glob/tsconfig.json b/types/glob/tsconfig.json index 46faaf718d..8e1cef6b05 100644 --- a/types/glob/tsconfig.json +++ b/types/glob/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/global-tunnel-ng/tsconfig.json b/types/global-tunnel-ng/tsconfig.json index e36f343474..362aca1f3f 100644 --- a/types/global-tunnel-ng/tsconfig.json +++ b/types/global-tunnel-ng/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/globalize-compiler/tsconfig.json b/types/globalize-compiler/tsconfig.json index 7c4ac18956..6c21504dec 100644 --- a/types/globalize-compiler/tsconfig.json +++ b/types/globalize-compiler/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/globalize/tsconfig.json b/types/globalize/tsconfig.json index b83bbf7b09..a05e92e969 100644 --- a/types/globalize/tsconfig.json +++ b/types/globalize/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/globby/tsconfig.json b/types/globby/tsconfig.json index 5cc0a3fe62..3992324f85 100644 --- a/types/globby/tsconfig.json +++ b/types/globby/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/globule/tsconfig.json b/types/globule/tsconfig.json index 9e410fc88b..973d69a02d 100644 --- a/types/globule/tsconfig.json +++ b/types/globule/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gm/tsconfig.json b/types/gm/tsconfig.json index 234c57dbf5..e7b6667e75 100644 --- a/types/gm/tsconfig.json +++ b/types/gm/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/go/tsconfig.json b/types/go/tsconfig.json index 3c8880bab1..02839eea7b 100644 --- a/types/go/tsconfig.json +++ b/types/go/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/google-adwords-scripts/tsconfig.json b/types/google-adwords-scripts/tsconfig.json index 748cf4a694..a515e74b27 100644 --- a/types/google-adwords-scripts/tsconfig.json +++ b/types/google-adwords-scripts/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/google-apps-script-oauth2/tsconfig.json b/types/google-apps-script-oauth2/tsconfig.json index bc09dd70b9..db6e6d4421 100644 --- a/types/google-apps-script-oauth2/tsconfig.json +++ b/types/google-apps-script-oauth2/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "google-apps-script-oauth2-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/google-apps-script/tsconfig.json b/types/google-apps-script/tsconfig.json index d61786dd17..483cc8d9d7 100644 --- a/types/google-apps-script/tsconfig.json +++ b/types/google-apps-script/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/google-closure-compiler/tsconfig.json b/types/google-closure-compiler/tsconfig.json index a4c312936e..5e74e98a7e 100644 --- a/types/google-closure-compiler/tsconfig.json +++ b/types/google-closure-compiler/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/google-cloud__datastore/tsconfig.json b/types/google-cloud__datastore/tsconfig.json index a65f9d3218..1fb6feb9ab 100644 --- a/types/google-cloud__datastore/tsconfig.json +++ b/types/google-cloud__datastore/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/google-cloud__pubsub/tsconfig.json b/types/google-cloud__pubsub/tsconfig.json index f71eb2a331..0d2fd84b97 100644 --- a/types/google-cloud__pubsub/tsconfig.json +++ b/types/google-cloud__pubsub/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/google-cloud__storage/tsconfig.json b/types/google-cloud__storage/tsconfig.json index fe05cce995..bc37173f6e 100644 --- a/types/google-cloud__storage/tsconfig.json +++ b/types/google-cloud__storage/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/google-drive-realtime-api/tsconfig.json b/types/google-drive-realtime-api/tsconfig.json index 17d47ba0dc..0cc6a81613 100644 --- a/types/google-drive-realtime-api/tsconfig.json +++ b/types/google-drive-realtime-api/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/google-earth/tsconfig.json b/types/google-earth/tsconfig.json index 1ed0784589..d59ac2953b 100644 --- a/types/google-earth/tsconfig.json +++ b/types/google-earth/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/google-images/tsconfig.json b/types/google-images/tsconfig.json index 017e9116b8..9f12194366 100644 --- a/types/google-images/tsconfig.json +++ b/types/google-images/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/google-libphonenumber/tsconfig.json b/types/google-libphonenumber/tsconfig.json index e6e1f550b1..39c07d5ffb 100644 --- a/types/google-libphonenumber/tsconfig.json +++ b/types/google-libphonenumber/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/google-map-react/tsconfig.json b/types/google-map-react/tsconfig.json index 0fc3a3107f..4f02fa811b 100644 --- a/types/google-map-react/tsconfig.json +++ b/types/google-map-react/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/google-maps/tsconfig.json b/types/google-maps/tsconfig.json index e43916774d..606c1d115c 100644 --- a/types/google-maps/tsconfig.json +++ b/types/google-maps/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/google-protobuf/tsconfig.json b/types/google-protobuf/tsconfig.json index b20bd4433e..958728f6a6 100644 --- a/types/google-protobuf/tsconfig.json +++ b/types/google-protobuf/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/google.analytics/tsconfig.json b/types/google.analytics/tsconfig.json index 45e71871b6..a678b0c7e3 100644 --- a/types/google.analytics/tsconfig.json +++ b/types/google.analytics/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/google.feeds/tsconfig.json b/types/google.feeds/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/google.feeds/tsconfig.json +++ b/types/google.feeds/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/google.fonts/tsconfig.json b/types/google.fonts/tsconfig.json index c4aa4943d3..4177da42c1 100644 --- a/types/google.fonts/tsconfig.json +++ b/types/google.fonts/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/google.geolocation/tsconfig.json b/types/google.geolocation/tsconfig.json index 71c8196435..360cecb0c9 100644 --- a/types/google.geolocation/tsconfig.json +++ b/types/google.geolocation/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/google.picker/tsconfig.json b/types/google.picker/tsconfig.json index 33502e21db..ddb1723be6 100644 --- a/types/google.picker/tsconfig.json +++ b/types/google.picker/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/google.visualization/tsconfig.json b/types/google.visualization/tsconfig.json index ad7ea5ef90..4dc584c1d4 100644 --- a/types/google.visualization/tsconfig.json +++ b/types/google.visualization/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/googlemaps.infobubble/tsconfig.json b/types/googlemaps.infobubble/tsconfig.json index 12fd60b566..d1bc655d54 100644 --- a/types/googlemaps.infobubble/tsconfig.json +++ b/types/googlemaps.infobubble/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/googlemaps/tsconfig.json b/types/googlemaps/tsconfig.json index 7cd79e5d79..024177069c 100644 --- a/types/googlemaps/tsconfig.json +++ b/types/googlemaps/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/got/tsconfig.json b/types/got/tsconfig.json index 743441a0b9..f13cc4607a 100644 --- a/types/got/tsconfig.json +++ b/types/got/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/graceful-fs/tsconfig.json b/types/graceful-fs/tsconfig.json index 6c2ec1116e..c3fa569830 100644 --- a/types/graceful-fs/tsconfig.json +++ b/types/graceful-fs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/graceful-fs/v2/tsconfig.json b/types/graceful-fs/v2/tsconfig.json index d22f218ed4..6eb67ef820 100644 --- a/types/graceful-fs/v2/tsconfig.json +++ b/types/graceful-fs/v2/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/graham_scan/tsconfig.json b/types/graham_scan/tsconfig.json index 3a7a6efef0..3cf0c64668 100644 --- a/types/graham_scan/tsconfig.json +++ b/types/graham_scan/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/graphite-udp/tsconfig.json b/types/graphite-udp/tsconfig.json index 936a1657f4..f0804cdc58 100644 --- a/types/graphite-udp/tsconfig.json +++ b/types/graphite-udp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/graphlib/tsconfig.json b/types/graphlib/tsconfig.json index 994651b021..389baac591 100644 --- a/types/graphlib/tsconfig.json +++ b/types/graphlib/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/graphql-date/tsconfig.json b/types/graphql-date/tsconfig.json index c55674e246..603ec788c9 100644 --- a/types/graphql-date/tsconfig.json +++ b/types/graphql-date/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/graphql-iso-date/tsconfig.json b/types/graphql-iso-date/tsconfig.json index 6feabb1388..57320b7caa 100644 --- a/types/graphql-iso-date/tsconfig.json +++ b/types/graphql-iso-date/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "graphql-iso-date-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/graphql-relay/tsconfig.json b/types/graphql-relay/tsconfig.json index bf5b3ba6b6..b94d59db9d 100644 --- a/types/graphql-relay/tsconfig.json +++ b/types/graphql-relay/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/graphql-type-json/tsconfig.json b/types/graphql-type-json/tsconfig.json index 479196f574..5eac54c86a 100644 --- a/types/graphql-type-json/tsconfig.json +++ b/types/graphql-type-json/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/graphql/tsconfig.json b/types/graphql/tsconfig.json index 72f0de0665..29525d3350 100644 --- a/types/graphql/tsconfig.json +++ b/types/graphql/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/graphviz/tsconfig.json b/types/graphviz/tsconfig.json index ec9897523b..74188c2437 100644 --- a/types/graphviz/tsconfig.json +++ b/types/graphviz/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/grasp/tsconfig.json b/types/grasp/tsconfig.json index e0996e4408..2a87034f8c 100644 --- a/types/grasp/tsconfig.json +++ b/types/grasp/tsconfig.json @@ -1,16 +1,24 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6"], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, - "files": ["index.d.ts", "grasp-tests.ts"] -} + "files": [ + "index.d.ts", + "grasp-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gravatar-url/tsconfig.json b/types/gravatar-url/tsconfig.json index 8e61e09590..7dc0c7a0d6 100644 --- a/types/gravatar-url/tsconfig.json +++ b/types/gravatar-url/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gravatar/tsconfig.json b/types/gravatar/tsconfig.json index d90f933a40..eade609d2e 100644 --- a/types/gravatar/tsconfig.json +++ b/types/gravatar/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/greasemonkey/tsconfig.json b/types/greasemonkey/tsconfig.json index f051af1bc4..84c32d764f 100644 --- a/types/greasemonkey/tsconfig.json +++ b/types/greasemonkey/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/grecaptcha/tsconfig.json b/types/grecaptcha/tsconfig.json index 0265247984..485acc7e0f 100644 --- a/types/grecaptcha/tsconfig.json +++ b/types/grecaptcha/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/grecaptcha/v0/tsconfig.json b/types/grecaptcha/v0/tsconfig.json index b75ce228e8..af6bc27262 100644 --- a/types/grecaptcha/v0/tsconfig.json +++ b/types/grecaptcha/v0/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gregorian-calendar/tsconfig.json b/types/gregorian-calendar/tsconfig.json index 2cad93c35f..a80ec039b1 100644 --- a/types/gregorian-calendar/tsconfig.json +++ b/types/gregorian-calendar/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gridfs-stream/tsconfig.json b/types/gridfs-stream/tsconfig.json index c6d9bffb02..e3b113310a 100644 --- a/types/gridfs-stream/tsconfig.json +++ b/types/gridfs-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gridstack/tsconfig.json b/types/gridstack/tsconfig.json index 1e4548ab3a..9350c8721c 100644 --- a/types/gridstack/tsconfig.json +++ b/types/gridstack/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/grunt/tsconfig.json b/types/grunt/tsconfig.json index af329ced3c..53469dd2a1 100644 --- a/types/grunt/tsconfig.json +++ b/types/grunt/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gsap/tsconfig.json b/types/gsap/tsconfig.json index 85301a0877..ee453d0872 100644 --- a/types/gsap/tsconfig.json +++ b/types/gsap/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/guid/tsconfig.json b/types/guid/tsconfig.json index 17563577fd..20c94adc76 100644 --- a/types/guid/tsconfig.json +++ b/types/guid/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "guid-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gulp-angular-templatecache/tsconfig.json b/types/gulp-angular-templatecache/tsconfig.json index 3971eae080..f5590d4937 100644 --- a/types/gulp-angular-templatecache/tsconfig.json +++ b/types/gulp-angular-templatecache/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-autoprefixer/tsconfig.json b/types/gulp-autoprefixer/tsconfig.json index 52fd74103c..de7d30ff47 100644 --- a/types/gulp-autoprefixer/tsconfig.json +++ b/types/gulp-autoprefixer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-babel/tsconfig.json b/types/gulp-babel/tsconfig.json index e177253e87..8a7d7b25a8 100644 --- a/types/gulp-babel/tsconfig.json +++ b/types/gulp-babel/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-batch/tsconfig.json b/types/gulp-batch/tsconfig.json index 8b5bce2f98..00e877c977 100644 --- a/types/gulp-batch/tsconfig.json +++ b/types/gulp-batch/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/gulp-bump/tsconfig.json b/types/gulp-bump/tsconfig.json index 003c952709..cb385de9a7 100644 --- a/types/gulp-bump/tsconfig.json +++ b/types/gulp-bump/tsconfig.json @@ -15,10 +15,11 @@ "strictNullChecks": true, "strictFunctionTypes": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noEmit": true }, "files": [ "index.d.ts", "gulp-bump-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gulp-cache/tsconfig.json b/types/gulp-cache/tsconfig.json index e947f63db5..cee084a998 100644 --- a/types/gulp-cache/tsconfig.json +++ b/types/gulp-cache/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-cached/tsconfig.json b/types/gulp-cached/tsconfig.json index cdec085a2b..f7b99d2469 100644 --- a/types/gulp-cached/tsconfig.json +++ b/types/gulp-cached/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-changed/tsconfig.json b/types/gulp-changed/tsconfig.json index d04c43b32e..80c8583bbf 100644 --- a/types/gulp-changed/tsconfig.json +++ b/types/gulp-changed/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-cheerio/tsconfig.json b/types/gulp-cheerio/tsconfig.json index be78d9969c..9d1f810c6c 100644 --- a/types/gulp-cheerio/tsconfig.json +++ b/types/gulp-cheerio/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-clean-dest/tsconfig.json b/types/gulp-clean-dest/tsconfig.json index 777c860568..518b39f91d 100644 --- a/types/gulp-clean-dest/tsconfig.json +++ b/types/gulp-clean-dest/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "gulp-clean-dest-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gulp-coffeeify/tsconfig.json b/types/gulp-coffeeify/tsconfig.json index 241ff2e5f8..1b5f540107 100644 --- a/types/gulp-coffeeify/tsconfig.json +++ b/types/gulp-coffeeify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-coffeelint/tsconfig.json b/types/gulp-coffeelint/tsconfig.json index 94e2edb626..695aa2525d 100644 --- a/types/gulp-coffeelint/tsconfig.json +++ b/types/gulp-coffeelint/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-concat/tsconfig.json b/types/gulp-concat/tsconfig.json index b28024194c..62d0e3f55f 100644 --- a/types/gulp-concat/tsconfig.json +++ b/types/gulp-concat/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-connect/tsconfig.json b/types/gulp-connect/tsconfig.json index fca451bd85..2ec8e07735 100644 --- a/types/gulp-connect/tsconfig.json +++ b/types/gulp-connect/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-copy/tsconfig.json b/types/gulp-copy/tsconfig.json index 0c92078d28..69b46a3185 100644 --- a/types/gulp-copy/tsconfig.json +++ b/types/gulp-copy/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-csso/tsconfig.json b/types/gulp-csso/tsconfig.json index d0e22a2035..0f0b1e02fc 100644 --- a/types/gulp-csso/tsconfig.json +++ b/types/gulp-csso/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-debug/tsconfig.json b/types/gulp-debug/tsconfig.json index 3dbd5e8109..1a862e6e1e 100644 --- a/types/gulp-debug/tsconfig.json +++ b/types/gulp-debug/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-diff/tsconfig.json b/types/gulp-diff/tsconfig.json index 9e4474532a..82c8e71fb3 100644 --- a/types/gulp-diff/tsconfig.json +++ b/types/gulp-diff/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-dtsm/tsconfig.json b/types/gulp-dtsm/tsconfig.json index dd1ca59de4..4e8ddf667c 100644 --- a/types/gulp-dtsm/tsconfig.json +++ b/types/gulp-dtsm/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-espower/tsconfig.json b/types/gulp-espower/tsconfig.json index cf469c3b13..720f5897c2 100644 --- a/types/gulp-espower/tsconfig.json +++ b/types/gulp-espower/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-file-include/tsconfig.json b/types/gulp-file-include/tsconfig.json index ab226efcb3..4f8200bc86 100644 --- a/types/gulp-file-include/tsconfig.json +++ b/types/gulp-file-include/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-filter/tsconfig.json b/types/gulp-filter/tsconfig.json index f4f7d56d52..6120629011 100644 --- a/types/gulp-filter/tsconfig.json +++ b/types/gulp-filter/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-flatten/tsconfig.json b/types/gulp-flatten/tsconfig.json index ab4f9a894a..2adbc5747c 100644 --- a/types/gulp-flatten/tsconfig.json +++ b/types/gulp-flatten/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-gh-pages/tsconfig.json b/types/gulp-gh-pages/tsconfig.json index 1ea7bf2217..3a8f402c8d 100644 --- a/types/gulp-gh-pages/tsconfig.json +++ b/types/gulp-gh-pages/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-gzip/tsconfig.json b/types/gulp-gzip/tsconfig.json index 4f3f5f8d77..0bdb09cd02 100644 --- a/types/gulp-gzip/tsconfig.json +++ b/types/gulp-gzip/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-help-doc/tsconfig.json b/types/gulp-help-doc/tsconfig.json index b6f16b60a9..997b774603 100644 --- a/types/gulp-help-doc/tsconfig.json +++ b/types/gulp-help-doc/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-help/tsconfig.json b/types/gulp-help/tsconfig.json index a174bbab6e..a525512784 100644 --- a/types/gulp-help/tsconfig.json +++ b/types/gulp-help/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-html-replace/tsconfig.json b/types/gulp-html-replace/tsconfig.json index fcf17ed178..f21adbe57d 100644 --- a/types/gulp-html-replace/tsconfig.json +++ b/types/gulp-html-replace/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-htmlmin/tsconfig.json b/types/gulp-htmlmin/tsconfig.json index 022acde96e..e426cd715f 100644 --- a/types/gulp-htmlmin/tsconfig.json +++ b/types/gulp-htmlmin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-if/tsconfig.json b/types/gulp-if/tsconfig.json index bb2544820b..777df7124c 100644 --- a/types/gulp-if/tsconfig.json +++ b/types/gulp-if/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-inject/tsconfig.json b/types/gulp-inject/tsconfig.json index aacadf6415..2af1ab9827 100644 --- a/types/gulp-inject/tsconfig.json +++ b/types/gulp-inject/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-insert/tsconfig.json b/types/gulp-insert/tsconfig.json index 6feda660ed..89c69015ed 100644 --- a/types/gulp-insert/tsconfig.json +++ b/types/gulp-insert/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-install/tsconfig.json b/types/gulp-install/tsconfig.json index e1b6063ac9..5576cb02ae 100644 --- a/types/gulp-install/tsconfig.json +++ b/types/gulp-install/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-istanbul/tsconfig.json b/types/gulp-istanbul/tsconfig.json index 133f0cd935..a73367da09 100644 --- a/types/gulp-istanbul/tsconfig.json +++ b/types/gulp-istanbul/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-jade/tsconfig.json b/types/gulp-jade/tsconfig.json index 7e924cb11b..aa9260a7c4 100644 --- a/types/gulp-jade/tsconfig.json +++ b/types/gulp-jade/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-jasmine-browser/tsconfig.json b/types/gulp-jasmine-browser/tsconfig.json index 55990f3261..3e09f9571f 100644 --- a/types/gulp-jasmine-browser/tsconfig.json +++ b/types/gulp-jasmine-browser/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-jasmine/tsconfig.json b/types/gulp-jasmine/tsconfig.json index d44751f20b..4fc991e2ef 100644 --- a/types/gulp-jasmine/tsconfig.json +++ b/types/gulp-jasmine/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "gulp-jasmine-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gulp-json-editor/tsconfig.json b/types/gulp-json-editor/tsconfig.json index 4f224b2a01..612fbf802c 100644 --- a/types/gulp-json-editor/tsconfig.json +++ b/types/gulp-json-editor/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-jsonminify/tsconfig.json b/types/gulp-jsonminify/tsconfig.json index 0b6036c600..956c8eab43 100644 --- a/types/gulp-jsonminify/tsconfig.json +++ b/types/gulp-jsonminify/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "gulp-jsonminify-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gulp-jspm/tsconfig.json b/types/gulp-jspm/tsconfig.json index b612a0a146..c5e89286e7 100644 --- a/types/gulp-jspm/tsconfig.json +++ b/types/gulp-jspm/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-less/tsconfig.json b/types/gulp-less/tsconfig.json index e4c00666f5..24266e4482 100644 --- a/types/gulp-less/tsconfig.json +++ b/types/gulp-less/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-load-plugins/tsconfig.json b/types/gulp-load-plugins/tsconfig.json index 880ad1acd1..44c98dfb1d 100644 --- a/types/gulp-load-plugins/tsconfig.json +++ b/types/gulp-load-plugins/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-minify-css/tsconfig.json b/types/gulp-minify-css/tsconfig.json index ccb2e4b319..08ddc4b6de 100644 --- a/types/gulp-minify-css/tsconfig.json +++ b/types/gulp-minify-css/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-minify-html/tsconfig.json b/types/gulp-minify-html/tsconfig.json index 80ef59bff4..5594b9006d 100644 --- a/types/gulp-minify-html/tsconfig.json +++ b/types/gulp-minify-html/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-mocha/tsconfig.json b/types/gulp-mocha/tsconfig.json index 52b200e921..0e919fbac5 100644 --- a/types/gulp-mocha/tsconfig.json +++ b/types/gulp-mocha/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-modernizr/tsconfig.json b/types/gulp-modernizr/tsconfig.json index a2f50619a3..4c28752668 100644 --- a/types/gulp-modernizr/tsconfig.json +++ b/types/gulp-modernizr/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-msbuild/tsconfig.json b/types/gulp-msbuild/tsconfig.json index e999f3b231..560d597b85 100644 --- a/types/gulp-msbuild/tsconfig.json +++ b/types/gulp-msbuild/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-mustache/tsconfig.json b/types/gulp-mustache/tsconfig.json index f461c5d525..4ebb11f698 100644 --- a/types/gulp-mustache/tsconfig.json +++ b/types/gulp-mustache/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-newer/tsconfig.json b/types/gulp-newer/tsconfig.json index c139e12412..c5d2ed8894 100644 --- a/types/gulp-newer/tsconfig.json +++ b/types/gulp-newer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-ng-annotate/tsconfig.json b/types/gulp-ng-annotate/tsconfig.json index 1b7db8f980..7a35fde2b9 100644 --- a/types/gulp-ng-annotate/tsconfig.json +++ b/types/gulp-ng-annotate/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-nodemon/tsconfig.json b/types/gulp-nodemon/tsconfig.json index af6e7a7991..5ff166eae3 100644 --- a/types/gulp-nodemon/tsconfig.json +++ b/types/gulp-nodemon/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-nunit-runner/tsconfig.json b/types/gulp-nunit-runner/tsconfig.json index 97a0a7a8cb..e7daea0b13 100644 --- a/types/gulp-nunit-runner/tsconfig.json +++ b/types/gulp-nunit-runner/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-plumber/tsconfig.json b/types/gulp-plumber/tsconfig.json index ad53d6fde5..a483c3197e 100644 --- a/types/gulp-plumber/tsconfig.json +++ b/types/gulp-plumber/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-protractor/tsconfig.json b/types/gulp-protractor/tsconfig.json index bb39acdbdc..758e915a22 100644 --- a/types/gulp-protractor/tsconfig.json +++ b/types/gulp-protractor/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-pug/tsconfig.json b/types/gulp-pug/tsconfig.json index b3b2597c1e..c52e2c9cf0 100644 --- a/types/gulp-pug/tsconfig.json +++ b/types/gulp-pug/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-remember/tsconfig.json b/types/gulp-remember/tsconfig.json index 02070e1b82..c3b4e15c77 100644 --- a/types/gulp-remember/tsconfig.json +++ b/types/gulp-remember/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-rename/tsconfig.json b/types/gulp-rename/tsconfig.json index b9b34366ee..3c33e8adf4 100644 --- a/types/gulp-rename/tsconfig.json +++ b/types/gulp-rename/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-replace/tsconfig.json b/types/gulp-replace/tsconfig.json index 5d188a1919..81dc6799cb 100644 --- a/types/gulp-replace/tsconfig.json +++ b/types/gulp-replace/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-rev-replace/tsconfig.json b/types/gulp-rev-replace/tsconfig.json index c9a020605c..54babfcd8a 100644 --- a/types/gulp-rev-replace/tsconfig.json +++ b/types/gulp-rev-replace/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-rev/tsconfig.json b/types/gulp-rev/tsconfig.json index fac8396ef8..c5ca988faa 100644 --- a/types/gulp-rev/tsconfig.json +++ b/types/gulp-rev/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-ruby-sass/tsconfig.json b/types/gulp-ruby-sass/tsconfig.json index 947482e45c..562b5e91b4 100644 --- a/types/gulp-ruby-sass/tsconfig.json +++ b/types/gulp-ruby-sass/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-sass/tsconfig.json b/types/gulp-sass/tsconfig.json index 311d0e2615..62e7bfb40f 100644 --- a/types/gulp-sass/tsconfig.json +++ b/types/gulp-sass/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-shell/tsconfig.json b/types/gulp-shell/tsconfig.json index d9797a8f28..4d73d765dd 100644 --- a/types/gulp-shell/tsconfig.json +++ b/types/gulp-shell/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-size/tsconfig.json b/types/gulp-size/tsconfig.json index 2d84cb001c..ee2d5f0bc9 100644 --- a/types/gulp-size/tsconfig.json +++ b/types/gulp-size/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-sort/tsconfig.json b/types/gulp-sort/tsconfig.json index df1ddc44e4..19cd0ffa81 100644 --- a/types/gulp-sort/tsconfig.json +++ b/types/gulp-sort/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-sourcemaps/tsconfig.json b/types/gulp-sourcemaps/tsconfig.json index 198b428937..fd79ffc3b1 100644 --- a/types/gulp-sourcemaps/tsconfig.json +++ b/types/gulp-sourcemaps/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-strip-debug/tsconfig.json b/types/gulp-strip-debug/tsconfig.json index ad5d90ca69..6e8ef33fc2 100644 --- a/types/gulp-strip-debug/tsconfig.json +++ b/types/gulp-strip-debug/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-svg-sprite/tsconfig.json b/types/gulp-svg-sprite/tsconfig.json index ed703e4c09..edfff724d1 100644 --- a/types/gulp-svg-sprite/tsconfig.json +++ b/types/gulp-svg-sprite/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-task-listing/tsconfig.json b/types/gulp-task-listing/tsconfig.json index 6d99b2f3f2..2b580f1f5f 100644 --- a/types/gulp-task-listing/tsconfig.json +++ b/types/gulp-task-listing/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-tsd/tsconfig.json b/types/gulp-tsd/tsconfig.json index 692c21e642..3ede2690c5 100644 --- a/types/gulp-tsd/tsconfig.json +++ b/types/gulp-tsd/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-uglify/tsconfig.json b/types/gulp-uglify/tsconfig.json index 72fd35c65e..282b6c138b 100644 --- a/types/gulp-uglify/tsconfig.json +++ b/types/gulp-uglify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-useref/tsconfig.json b/types/gulp-useref/tsconfig.json index cdb7922c57..b12ffbcda7 100644 --- a/types/gulp-useref/tsconfig.json +++ b/types/gulp-useref/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-util/tsconfig.json b/types/gulp-util/tsconfig.json index f383866019..d3286da30b 100644 --- a/types/gulp-util/tsconfig.json +++ b/types/gulp-util/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-watch/tsconfig.json b/types/gulp-watch/tsconfig.json index 079cb9d569..b1937b173a 100644 --- a/types/gulp-watch/tsconfig.json +++ b/types/gulp-watch/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp-zip/tsconfig.json b/types/gulp-zip/tsconfig.json index a5f75d75fa..8b43507914 100644 --- a/types/gulp-zip/tsconfig.json +++ b/types/gulp-zip/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gulp/tsconfig.json b/types/gulp/tsconfig.json index b0ca843318..dfba44bd86 100644 --- a/types/gulp/tsconfig.json +++ b/types/gulp/tsconfig.json @@ -16,6 +16,7 @@ "strictNullChecks": true, "strictFunctionTypes": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/gulp/v3/tsconfig.json b/types/gulp/v3/tsconfig.json index 2948f23682..d1a56e0a01 100644 --- a/types/gulp/v3/tsconfig.json +++ b/types/gulp/v3/tsconfig.json @@ -22,7 +22,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gzip-js/tsconfig.json b/types/gzip-js/tsconfig.json index a8138e1de9..978dc916bd 100644 --- a/types/gzip-js/tsconfig.json +++ b/types/gzip-js/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "gzip-js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gzip-size/tsconfig.json b/types/gzip-size/tsconfig.json index 6d244facf6..9779d93536 100644 --- a/types/gzip-size/tsconfig.json +++ b/types/gzip-size/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/gzip-size/v3/tsconfig.json b/types/gzip-size/v3/tsconfig.json index 88a695711b..1e806cb7bc 100644 --- a/types/gzip-size/v3/tsconfig.json +++ b/types/gzip-size/v3/tsconfig.json @@ -19,10 +19,11 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "gzip-size-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/h2o2/tsconfig.json b/types/h2o2/tsconfig.json index 30a156a786..b0d5bbf160 100644 --- a/types/h2o2/tsconfig.json +++ b/types/h2o2/tsconfig.json @@ -14,13 +14,16 @@ ], "types": [], "paths": { - "boom": ["boom/v4"] + "boom": [ + "boom/v4" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "h2o2-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/halfred/tsconfig.json b/types/halfred/tsconfig.json index 7d75a822cb..2e09cffd82 100644 --- a/types/halfred/tsconfig.json +++ b/types/halfred/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/halogen/tsconfig.json b/types/halogen/tsconfig.json index f234a05b87..caaa6505d4 100644 --- a/types/halogen/tsconfig.json +++ b/types/halogen/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/hammerjs/tsconfig.json b/types/hammerjs/tsconfig.json index c0ba95885c..e159cc1fe0 100644 --- a/types/hammerjs/tsconfig.json +++ b/types/hammerjs/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/hammerjs/v1/tsconfig.json b/types/hammerjs/v1/tsconfig.json index aeabf7ff07..665a768e1d 100644 --- a/types/hammerjs/v1/tsconfig.json +++ b/types/hammerjs/v1/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/handlebars/tsconfig.json b/types/handlebars/tsconfig.json index 5f874f3996..3fdef52d13 100644 --- a/types/handlebars/tsconfig.json +++ b/types/handlebars/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/handlebars/v1/tsconfig.json b/types/handlebars/v1/tsconfig.json index 96818b903b..7b246f2c3a 100644 --- a/types/handlebars/v1/tsconfig.json +++ b/types/handlebars/v1/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/hapi-auth-basic/tsconfig.json b/types/hapi-auth-basic/tsconfig.json index 56ac44dbdd..7448e829c4 100644 --- a/types/hapi-auth-basic/tsconfig.json +++ b/types/hapi-auth-basic/tsconfig.json @@ -14,13 +14,16 @@ ], "types": [], "paths": { - "boom": ["boom/v4"] + "boom": [ + "boom/v4" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "hapi-auth-basic-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hapi-auth-jwt2/tsconfig.json b/types/hapi-auth-jwt2/tsconfig.json index 78a8423cc4..7d06e7c818 100644 --- a/types/hapi-auth-jwt2/tsconfig.json +++ b/types/hapi-auth-jwt2/tsconfig.json @@ -14,13 +14,16 @@ ], "types": [], "paths": { - "boom": ["boom/v4"] + "boom": [ + "boom/v4" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "hapi-auth-jwt2-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hapi-decorators/tsconfig.json b/types/hapi-decorators/tsconfig.json index 80aa56a21e..645122114e 100644 --- a/types/hapi-decorators/tsconfig.json +++ b/types/hapi-decorators/tsconfig.json @@ -16,13 +16,16 @@ ], "types": [], "paths": { - "boom": ["boom/v4"] + "boom": [ + "boom/v4" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "hapi-decorators-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hapi/tsconfig.json b/types/hapi/tsconfig.json index 96790b3bff..53f8f2ece6 100644 --- a/types/hapi/tsconfig.json +++ b/types/hapi/tsconfig.json @@ -14,10 +14,13 @@ ], "types": [], "paths": { - "boom": ["boom/v4"] + "boom": [ + "boom/v4" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", @@ -97,4 +100,4 @@ "test/server/table.ts", "test/server/version.ts" ] -} +} \ No newline at end of file diff --git a/types/hapi/v12/tsconfig.json b/types/hapi/v12/tsconfig.json index c461c7d288..527a25a6be 100644 --- a/types/hapi/v12/tsconfig.json +++ b/types/hapi/v12/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hapi/v15/tsconfig.json b/types/hapi/v15/tsconfig.json index 154b6a8f0e..f3eea23e6b 100644 --- a/types/hapi/v15/tsconfig.json +++ b/types/hapi/v15/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hapi/v8/tsconfig.json b/types/hapi/v8/tsconfig.json index 7eb82005fd..e56e64ba1e 100644 --- a/types/hapi/v8/tsconfig.json +++ b/types/hapi/v8/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/har-format/tsconfig.json b/types/har-format/tsconfig.json index f5029a7c18..e30aa982b8 100644 --- a/types/har-format/tsconfig.json +++ b/types/har-format/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hard-rejection/tsconfig.json b/types/hard-rejection/tsconfig.json index 6c83946da7..1521f9e327 100644 --- a/types/hard-rejection/tsconfig.json +++ b/types/hard-rejection/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/harmony-proxy/tsconfig.json b/types/harmony-proxy/tsconfig.json index 2190dd8e23..5225c0854d 100644 --- a/types/harmony-proxy/tsconfig.json +++ b/types/harmony-proxy/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/has-ansi/tsconfig.json b/types/has-ansi/tsconfig.json index d5b52a8974..e80018a785 100644 --- a/types/has-ansi/tsconfig.json +++ b/types/has-ansi/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hash-file/tsconfig.json b/types/hash-file/tsconfig.json index 67f8cfcf8c..c300cccbda 100644 --- a/types/hash-file/tsconfig.json +++ b/types/hash-file/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hash-stream/tsconfig.json b/types/hash-stream/tsconfig.json index e1846bd608..61d4d3c12e 100644 --- a/types/hash-stream/tsconfig.json +++ b/types/hash-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hasha/tsconfig.json b/types/hasha/tsconfig.json index fe359d64a5..ebef98b818 100644 --- a/types/hasha/tsconfig.json +++ b/types/hasha/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hasher/tsconfig.json b/types/hasher/tsconfig.json index dae70f6dc4..b05767e01b 100644 --- a/types/hasher/tsconfig.json +++ b/types/hasher/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hashids/tsconfig.json b/types/hashids/tsconfig.json index 4d118acf1b..7d308003bb 100644 --- a/types/hashids/tsconfig.json +++ b/types/hashids/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hashmap/tsconfig.json b/types/hashmap/tsconfig.json index f2d00e0999..700a72e832 100644 --- a/types/hashmap/tsconfig.json +++ b/types/hashmap/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/hashmap/v1/tsconfig.json b/types/hashmap/v1/tsconfig.json index a085a1d89d..6537d23b5d 100644 --- a/types/hashmap/v1/tsconfig.json +++ b/types/hashmap/v1/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hashset/tsconfig.json b/types/hashset/tsconfig.json index 7bf84fd5f1..9ac81f5b45 100644 --- a/types/hashset/tsconfig.json +++ b/types/hashset/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hashtable/tsconfig.json b/types/hashtable/tsconfig.json index 497a9448bf..eac4d4b6c8 100644 --- a/types/hashtable/tsconfig.json +++ b/types/hashtable/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/haversine/tsconfig.json b/types/haversine/tsconfig.json index 6b8c2dfaf6..ed00b23d2c 100644 --- a/types/haversine/tsconfig.json +++ b/types/haversine/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hbs/tsconfig.json b/types/hbs/tsconfig.json index f16c9e251f..4ed61e005d 100644 --- a/types/hbs/tsconfig.json +++ b/types/hbs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/he/tsconfig.json b/types/he/tsconfig.json index 6e02234def..21526db543 100644 --- a/types/he/tsconfig.json +++ b/types/he/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/headroom/tsconfig.json b/types/headroom/tsconfig.json index eb03738511..5184b6b443 100644 --- a/types/headroom/tsconfig.json +++ b/types/headroom/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/heap/tsconfig.json b/types/heap/tsconfig.json index ed8f269f6e..a5dc20174d 100644 --- a/types/heap/tsconfig.json +++ b/types/heap/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/heapdump/tsconfig.json b/types/heapdump/tsconfig.json index a15a306b41..703a603ae1 100644 --- a/types/heapdump/tsconfig.json +++ b/types/heapdump/tsconfig.json @@ -16,10 +16,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "heapdump-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/heatmap.js/tsconfig.json b/types/heatmap.js/tsconfig.json index 2e22853a34..d1e87ffb3d 100644 --- a/types/heatmap.js/tsconfig.json +++ b/types/heatmap.js/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hedron/tsconfig.json b/types/hedron/tsconfig.json index bed62b30c6..647d1d6a30 100644 --- a/types/hedron/tsconfig.json +++ b/types/hedron/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "preserve" }, "files": [ diff --git a/types/hellojs/tsconfig.json b/types/hellojs/tsconfig.json index c3baa66581..755aefce72 100644 --- a/types/hellojs/tsconfig.json +++ b/types/hellojs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hellosign-embedded/tsconfig.json b/types/hellosign-embedded/tsconfig.json index 4712a41816..74d8ec66b4 100644 --- a/types/hellosign-embedded/tsconfig.json +++ b/types/hellosign-embedded/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/helmet/tsconfig.json b/types/helmet/tsconfig.json index 0a85e89659..f85a86b1c8 100644 --- a/types/helmet/tsconfig.json +++ b/types/helmet/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/heredatalens/tsconfig.json b/types/heredatalens/tsconfig.json index 5a2650b93f..4e2e0cd1a3 100644 --- a/types/heredatalens/tsconfig.json +++ b/types/heredatalens/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/heremaps/tsconfig.json b/types/heremaps/tsconfig.json index 7f83e9f79c..4ccebfba90 100644 --- a/types/heremaps/tsconfig.json +++ b/types/heremaps/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/heroku-logger/tsconfig.json b/types/heroku-logger/tsconfig.json index 802ac41a2a..ebd7c0041c 100644 --- a/types/heroku-logger/tsconfig.json +++ b/types/heroku-logger/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hex-rgba/tsconfig.json b/types/hex-rgba/tsconfig.json index 82f2e3808e..2f0ff73e60 100644 --- a/types/hex-rgba/tsconfig.json +++ b/types/hex-rgba/tsconfig.json @@ -14,10 +14,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ "index.d.ts", "hex-rgba-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hexo-bunyan/tsconfig.json b/types/hexo-bunyan/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/hexo-bunyan/tsconfig.json +++ b/types/hexo-bunyan/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/hexo-fs/tsconfig.json b/types/hexo-fs/tsconfig.json index 4d8c00b74e..b3014c52df 100644 --- a/types/hexo-fs/tsconfig.json +++ b/types/hexo-fs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hexo-log/tsconfig.json b/types/hexo-log/tsconfig.json index b0af5da25b..906e609902 100644 --- a/types/hexo-log/tsconfig.json +++ b/types/hexo-log/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/highcharts-ng/tsconfig.json b/types/highcharts-ng/tsconfig.json index 6f313e502a..f1f180976f 100644 --- a/types/highcharts-ng/tsconfig.json +++ b/types/highcharts-ng/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/highcharts/tsconfig.json b/types/highcharts/tsconfig.json index ed1e69ef0c..18d37382e5 100644 --- a/types/highcharts/tsconfig.json +++ b/types/highcharts/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/highland/tsconfig.json b/types/highland/tsconfig.json index 369326fd9f..43fea750ce 100644 --- a/types/highland/tsconfig.json +++ b/types/highland/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/highlight.js/tsconfig.json b/types/highlight.js/tsconfig.json index e3627e99ca..d13fff15ba 100644 --- a/types/highlight.js/tsconfig.json +++ b/types/highlight.js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/highlight.js/v7/tsconfig.json b/types/highlight.js/v7/tsconfig.json index 10570c9f69..2c89b93acb 100644 --- a/types/highlight.js/v7/tsconfig.json +++ b/types/highlight.js/v7/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/hiredis/tsconfig.json b/types/hiredis/tsconfig.json index 927fdef018..8bc77b8339 100644 --- a/types/hiredis/tsconfig.json +++ b/types/hiredis/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/history.js/tsconfig.json b/types/history.js/tsconfig.json index 4834d24b35..1972e4113e 100644 --- a/types/history.js/tsconfig.json +++ b/types/history.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/history/tsconfig.json b/types/history/tsconfig.json index f5638c9603..2be65a13ed 100644 --- a/types/history/tsconfig.json +++ b/types/history/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/history/v2/tsconfig.json b/types/history/v2/tsconfig.json index 4ee5476d05..94e2605881 100644 --- a/types/history/v2/tsconfig.json +++ b/types/history/v2/tsconfig.json @@ -23,7 +23,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/history/v3/tsconfig.json b/types/history/v3/tsconfig.json index 2075f25a15..17f7dc237f 100644 --- a/types/history/v3/tsconfig.json +++ b/types/history/v3/tsconfig.json @@ -23,7 +23,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hjson/tsconfig.json b/types/hjson/tsconfig.json index 5e6692a9bd..e2004c8716 100644 --- a/types/hjson/tsconfig.json +++ b/types/hjson/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hls.js/tsconfig.json b/types/hls.js/tsconfig.json index ed68ee32f3..f879abb0ef 100644 --- a/types/hls.js/tsconfig.json +++ b/types/hls.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hoek/tsconfig.json b/types/hoek/tsconfig.json index 06617f251f..9cc6965f8f 100644 --- a/types/hoek/tsconfig.json +++ b/types/hoek/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/holderjs/tsconfig.json b/types/holderjs/tsconfig.json index 6cf9415ee2..b33ee1cfdb 100644 --- a/types/holderjs/tsconfig.json +++ b/types/holderjs/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "holderjs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hooker/tsconfig.json b/types/hooker/tsconfig.json index 446825fb97..38bc5b093c 100644 --- a/types/hooker/tsconfig.json +++ b/types/hooker/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hopscotch/tsconfig.json b/types/hopscotch/tsconfig.json index d9fb810610..c192e75957 100644 --- a/types/hopscotch/tsconfig.json +++ b/types/hopscotch/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/howler/tsconfig.json b/types/howler/tsconfig.json index 00ec7b93d7..d9f51622a8 100644 --- a/types/howler/tsconfig.json +++ b/types/howler/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hpp/tsconfig.json b/types/hpp/tsconfig.json index 0193bd22d2..cbc4490a4e 100644 --- a/types/hpp/tsconfig.json +++ b/types/hpp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/html-entities/tsconfig.json b/types/html-entities/tsconfig.json index ad38016e35..57a35f13e7 100644 --- a/types/html-entities/tsconfig.json +++ b/types/html-entities/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/html-minifier/tsconfig.json b/types/html-minifier/tsconfig.json index 129a20c71f..c8f5ba70d1 100644 --- a/types/html-minifier/tsconfig.json +++ b/types/html-minifier/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/html-minifier/v1/tsconfig.json b/types/html-minifier/v1/tsconfig.json index 8def52b67d..df85608048 100644 --- a/types/html-minifier/v1/tsconfig.json +++ b/types/html-minifier/v1/tsconfig.json @@ -13,12 +13,17 @@ "../../" ], "paths": { - "html-minifier": ["html-minifier/v1"], - "html-minifier/*": ["html-minifier/v1/*"] + "html-minifier": [ + "html-minifier/v1" + ], + "html-minifier/*": [ + "html-minifier/v1/*" + ] }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/html-pdf/tsconfig.json b/types/html-pdf/tsconfig.json index e6936f2588..225bb52929 100644 --- a/types/html-pdf/tsconfig.json +++ b/types/html-pdf/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/html-to-text/tsconfig.json b/types/html-to-text/tsconfig.json index 089a8e128e..fe209a615d 100644 --- a/types/html-to-text/tsconfig.json +++ b/types/html-to-text/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/html-webpack-plugin/tsconfig.json b/types/html-webpack-plugin/tsconfig.json index 61d842ab9c..289455c231 100644 --- a/types/html-webpack-plugin/tsconfig.json +++ b/types/html-webpack-plugin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/html-webpack-template/tsconfig.json b/types/html-webpack-template/tsconfig.json index 7b0b56e459..ddc0447c74 100644 --- a/types/html-webpack-template/tsconfig.json +++ b/types/html-webpack-template/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/html2canvas/tsconfig.json b/types/html2canvas/tsconfig.json index 0fcf24b6f8..9cf08eb266 100644 --- a/types/html2canvas/tsconfig.json +++ b/types/html2canvas/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/htmlbars-inline-precompile/tsconfig.json b/types/htmlbars-inline-precompile/tsconfig.json index fd03f6a476..c3eb8ef11f 100644 --- a/types/htmlbars-inline-precompile/tsconfig.json +++ b/types/htmlbars-inline-precompile/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/htmlescape/tsconfig.json b/types/htmlescape/tsconfig.json index 581a713fff..abe0efa243 100644 --- a/types/htmlescape/tsconfig.json +++ b/types/htmlescape/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/htmlhint/tsconfig.json b/types/htmlhint/tsconfig.json index b8472efbda..c2b3078f68 100644 --- a/types/htmlhint/tsconfig.json +++ b/types/htmlhint/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/htmlparser2/tsconfig.json b/types/htmlparser2/tsconfig.json index c6ccfee7cc..c19c42d22b 100644 --- a/types/htmlparser2/tsconfig.json +++ b/types/htmlparser2/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/htmltojsx/tsconfig.json b/types/htmltojsx/tsconfig.json index 5b0fc81735..b505e65bd9 100644 --- a/types/htmltojsx/tsconfig.json +++ b/types/htmltojsx/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/http-assert/tsconfig.json b/types/http-assert/tsconfig.json index 711327f38b..a1be51026d 100644 --- a/types/http-assert/tsconfig.json +++ b/types/http-assert/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/http-aws-es/tsconfig.json b/types/http-aws-es/tsconfig.json index 5d248f0375..44140847bb 100644 --- a/types/http-aws-es/tsconfig.json +++ b/types/http-aws-es/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/http-codes/tsconfig.json b/types/http-codes/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/http-codes/tsconfig.json +++ b/types/http-codes/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/http-context/tsconfig.json b/types/http-context/tsconfig.json index 51422e3199..ade1021328 100644 --- a/types/http-context/tsconfig.json +++ b/types/http-context/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "http-context-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/http-errors/tsconfig.json b/types/http-errors/tsconfig.json index 430bec9565..62465b68e8 100644 --- a/types/http-errors/tsconfig.json +++ b/types/http-errors/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/http-link-header/tsconfig.json b/types/http-link-header/tsconfig.json index 3acfe11a33..3094403bb9 100644 --- a/types/http-link-header/tsconfig.json +++ b/types/http-link-header/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/http-proxy-agent/tsconfig.json b/types/http-proxy-agent/tsconfig.json index 626d4eaa4c..f0e1f42aee 100644 --- a/types/http-proxy-agent/tsconfig.json +++ b/types/http-proxy-agent/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "http-proxy-agent-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/http-proxy-middleware/tsconfig.json b/types/http-proxy-middleware/tsconfig.json index 459138e584..714fe3ca42 100644 --- a/types/http-proxy-middleware/tsconfig.json +++ b/types/http-proxy-middleware/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/http-proxy/tsconfig.json b/types/http-proxy/tsconfig.json index 24a9ed6c48..e8895667f5 100644 --- a/types/http-proxy/tsconfig.json +++ b/types/http-proxy/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/http-server/tsconfig.json b/types/http-server/tsconfig.json index 98f006389c..1b90c09fa0 100644 --- a/types/http-server/tsconfig.json +++ b/types/http-server/tsconfig.json @@ -14,10 +14,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ "index.d.ts", "http-server-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/http-status/tsconfig.json b/types/http-status/tsconfig.json index acb7f89cde..2a9f60f0c2 100644 --- a/types/http-status/tsconfig.json +++ b/types/http-status/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/http-string-parser/tsconfig.json b/types/http-string-parser/tsconfig.json index 80f7cd176a..82cb0405e7 100644 --- a/types/http-string-parser/tsconfig.json +++ b/types/http-string-parser/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/httperr/tsconfig.json b/types/httperr/tsconfig.json index 85505edbc8..ef117164fb 100644 --- a/types/httperr/tsconfig.json +++ b/types/httperr/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hubot/tsconfig.json b/types/hubot/tsconfig.json index 9354cf926c..8dbed319d9 100644 --- a/types/hubot/tsconfig.json +++ b/types/hubot/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hubspot-pace/tsconfig.json b/types/hubspot-pace/tsconfig.json index 1d2a2ec99e..f2c9f738e6 100644 --- a/types/hubspot-pace/tsconfig.json +++ b/types/hubspot-pace/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/humane/tsconfig.json b/types/humane/tsconfig.json index 7b2fc3e81b..02cee5bec2 100644 --- a/types/humane/tsconfig.json +++ b/types/humane/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/humanize-plus/tsconfig.json b/types/humanize-plus/tsconfig.json index 37b195e2cd..674bdb64f5 100644 --- a/types/humanize-plus/tsconfig.json +++ b/types/humanize-plus/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/humanize-string/tsconfig.json b/types/humanize-string/tsconfig.json index a0ec92be13..2b97ea796b 100644 --- a/types/humanize-string/tsconfig.json +++ b/types/humanize-string/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "humanize-string-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/humanparser/tsconfig.json b/types/humanparser/tsconfig.json index 1e12c171d0..3b7ed6be21 100644 --- a/types/humanparser/tsconfig.json +++ b/types/humanparser/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/humps/tsconfig.json b/types/humps/tsconfig.json index ec1866d58c..79c40ebc87 100644 --- a/types/humps/tsconfig.json +++ b/types/humps/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hyco-ws/tsconfig.json b/types/hyco-ws/tsconfig.json index cc21647f01..468a3e9c69 100644 --- a/types/hyco-ws/tsconfig.json +++ b/types/hyco-ws/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hyperscript/tsconfig.json b/types/hyperscript/tsconfig.json index dcd78c9f85..733e14bcda 100644 --- a/types/hyperscript/tsconfig.json +++ b/types/hyperscript/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hypertext-application-language/tsconfig.json b/types/hypertext-application-language/tsconfig.json index 15621fa9c2..9c01e0594f 100644 --- a/types/hypertext-application-language/tsconfig.json +++ b/types/hypertext-application-language/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/hystrixjs/tsconfig.json b/types/hystrixjs/tsconfig.json index 480476e8d1..d534470204 100644 --- a/types/hystrixjs/tsconfig.json +++ b/types/hystrixjs/tsconfig.json @@ -16,10 +16,11 @@ "paths": {}, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "hystrixjs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/i18n-js/tsconfig.json b/types/i18n-js/tsconfig.json index 4a9e4d110b..128a7ad06d 100644 --- a/types/i18n-js/tsconfig.json +++ b/types/i18n-js/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "i18n-js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/i18n/tsconfig.json b/types/i18n/tsconfig.json index 4429a81fe6..4d7bacf4d0 100644 --- a/types/i18n/tsconfig.json +++ b/types/i18n/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/i18next-browser-languagedetector/tsconfig.json b/types/i18next-browser-languagedetector/tsconfig.json index 32755315aa..879c1d7ac7 100644 --- a/types/i18next-browser-languagedetector/tsconfig.json +++ b/types/i18next-browser-languagedetector/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/i18next-browser-languagedetector/v0/tsconfig.json b/types/i18next-browser-languagedetector/v0/tsconfig.json index 9873c74134..5396feadd6 100644 --- a/types/i18next-browser-languagedetector/v0/tsconfig.json +++ b/types/i18next-browser-languagedetector/v0/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/i18next-express-middleware/tsconfig.json b/types/i18next-express-middleware/tsconfig.json index 5a13f1733d..43460aefe2 100644 --- a/types/i18next-express-middleware/tsconfig.json +++ b/types/i18next-express-middleware/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/i18next-node-fs-backend/tsconfig.json b/types/i18next-node-fs-backend/tsconfig.json index 03b3347068..f0f6ba8147 100644 --- a/types/i18next-node-fs-backend/tsconfig.json +++ b/types/i18next-node-fs-backend/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/i18next-sprintf-postprocessor/tsconfig.json b/types/i18next-sprintf-postprocessor/tsconfig.json index 9a52882abe..af3f004099 100644 --- a/types/i18next-sprintf-postprocessor/tsconfig.json +++ b/types/i18next-sprintf-postprocessor/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/i18next-xhr-backend/tsconfig.json b/types/i18next-xhr-backend/tsconfig.json index a7ca4c2adb..7c48abd709 100644 --- a/types/i18next-xhr-backend/tsconfig.json +++ b/types/i18next-xhr-backend/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/i18next/tsconfig.json b/types/i18next/tsconfig.json index 9eadf37b0f..b37ad92b9d 100644 --- a/types/i18next/tsconfig.json +++ b/types/i18next/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/i18next/v2/tsconfig.json b/types/i18next/v2/tsconfig.json index 00464c1701..1533066fbb 100644 --- a/types/i18next/v2/tsconfig.json +++ b/types/i18next/v2/tsconfig.json @@ -24,6 +24,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/i2c-bus/tsconfig.json b/types/i2c-bus/tsconfig.json index 8407ea3efd..081ba2a5a6 100644 --- a/types/i2c-bus/tsconfig.json +++ b/types/i2c-bus/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "../async/index.d.ts", diff --git a/types/iban/tsconfig.json b/types/iban/tsconfig.json index 352470aa0d..2e7f860867 100644 --- a/types/iban/tsconfig.json +++ b/types/iban/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ibm-mobilefirst/tsconfig.json b/types/ibm-mobilefirst/tsconfig.json index eabcd34447..83ab44c9d5 100644 --- a/types/ibm-mobilefirst/tsconfig.json +++ b/types/ibm-mobilefirst/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ibm_db/tsconfig.json b/types/ibm_db/tsconfig.json index f92b637034..4b69bc8c6b 100644 --- a/types/ibm_db/tsconfig.json +++ b/types/ibm_db/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/icepick/tsconfig.json b/types/icepick/tsconfig.json index 530031866b..93540a1c5f 100644 --- a/types/icepick/tsconfig.json +++ b/types/icepick/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/icheck/tsconfig.json b/types/icheck/tsconfig.json index b700077c47..0ec895d526 100644 --- a/types/icheck/tsconfig.json +++ b/types/icheck/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/iconv/tsconfig.json b/types/iconv/tsconfig.json index b97ea1a7f3..78bd76e835 100644 --- a/types/iconv/tsconfig.json +++ b/types/iconv/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ids/tsconfig.json b/types/ids/tsconfig.json index 1c739774db..c9e212f3ee 100644 --- a/types/ids/tsconfig.json +++ b/types/ids/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/iframe-resizer/tsconfig.json b/types/iframe-resizer/tsconfig.json index e8a87f1302..7962a0d413 100644 --- a/types/iframe-resizer/tsconfig.json +++ b/types/iframe-resizer/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "exclude": [ "node_modules" diff --git a/types/ignite-ui/tsconfig.json b/types/ignite-ui/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/ignite-ui/tsconfig.json +++ b/types/ignite-ui/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/ignore-styles/tsconfig.json b/types/ignore-styles/tsconfig.json index aed3487cf4..36263af6ad 100644 --- a/types/ignore-styles/tsconfig.json +++ b/types/ignore-styles/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "ignore-styles-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/iltorb/tsconfig.json b/types/iltorb/tsconfig.json index c12ff988ba..0c553243a8 100644 --- a/types/iltorb/tsconfig.json +++ b/types/iltorb/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "iltorb-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/image-size/tsconfig.json b/types/image-size/tsconfig.json index 7a864603b7..009a4c9175 100644 --- a/types/image-size/tsconfig.json +++ b/types/image-size/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/imagemagick-native/tsconfig.json b/types/imagemagick-native/tsconfig.json index bfd2f88451..c96e9d4a44 100644 --- a/types/imagemagick-native/tsconfig.json +++ b/types/imagemagick-native/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/imagemagick/tsconfig.json b/types/imagemagick/tsconfig.json index 3a28cb5c59..cbbc1c0d83 100644 --- a/types/imagemagick/tsconfig.json +++ b/types/imagemagick/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/imagemapster/tsconfig.json b/types/imagemapster/tsconfig.json index cb5e3bdff8..3198a00bc4 100644 --- a/types/imagemapster/tsconfig.json +++ b/types/imagemapster/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/images/tsconfig.json b/types/images/tsconfig.json index 75c7b85340..368e3b87b5 100644 --- a/types/images/tsconfig.json +++ b/types/images/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/imagesloaded/tsconfig.json b/types/imagesloaded/tsconfig.json index 0673d1eaa2..a9ae36e077 100644 --- a/types/imagesloaded/tsconfig.json +++ b/types/imagesloaded/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/imap-simple/tsconfig.json b/types/imap-simple/tsconfig.json index 859835549a..257a2ee006 100644 --- a/types/imap-simple/tsconfig.json +++ b/types/imap-simple/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/imap/tsconfig.json b/types/imap/tsconfig.json index 987167daf3..655a1f4c54 100644 --- a/types/imap/tsconfig.json +++ b/types/imap/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/imgur-rest-api/tsconfig.json b/types/imgur-rest-api/tsconfig.json index f2803640de..4835091ddb 100644 --- a/types/imgur-rest-api/tsconfig.json +++ b/types/imgur-rest-api/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/impress/tsconfig.json b/types/impress/tsconfig.json index a278db24c9..82aafbc612 100644 --- a/types/impress/tsconfig.json +++ b/types/impress/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/in-range/tsconfig.json b/types/in-range/tsconfig.json index 7d5182a929..0261e63a92 100644 --- a/types/in-range/tsconfig.json +++ b/types/in-range/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/incremental-dom/tsconfig.json b/types/incremental-dom/tsconfig.json index 8ba7d824d5..d5ffa268df 100644 --- a/types/incremental-dom/tsconfig.json +++ b/types/incremental-dom/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/indent-string/tsconfig.json b/types/indent-string/tsconfig.json index 4f2e008801..d9d3db42a6 100644 --- a/types/indent-string/tsconfig.json +++ b/types/indent-string/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/inert/tsconfig.json b/types/inert/tsconfig.json index da982b9122..feda976404 100644 --- a/types/inert/tsconfig.json +++ b/types/inert/tsconfig.json @@ -14,13 +14,16 @@ ], "types": [], "paths": { - "boom": ["boom/v4"] + "boom": [ + "boom/v4" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "inert-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/inflected/tsconfig.json b/types/inflected/tsconfig.json index b0a3a1d8b5..ce1b449bd6 100644 --- a/types/inflected/tsconfig.json +++ b/types/inflected/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/inflection/tsconfig.json b/types/inflection/tsconfig.json index e77c4028fc..097bf72f01 100644 --- a/types/inflection/tsconfig.json +++ b/types/inflection/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/inherits/tsconfig.json b/types/inherits/tsconfig.json index bdb4c4d873..f0bc28d26b 100644 --- a/types/inherits/tsconfig.json +++ b/types/inherits/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ini/tsconfig.json b/types/ini/tsconfig.json index ccc924b3fc..a2d9575bec 100644 --- a/types/ini/tsconfig.json +++ b/types/ini/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/iniparser/tsconfig.json b/types/iniparser/tsconfig.json index 0d7970f93a..2dbbf3ac60 100644 --- a/types/iniparser/tsconfig.json +++ b/types/iniparser/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/inline-css/tsconfig.json b/types/inline-css/tsconfig.json index 4a13506061..83f7ce2a21 100644 --- a/types/inline-css/tsconfig.json +++ b/types/inline-css/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/inline-style-prefixer/tsconfig.json b/types/inline-style-prefixer/tsconfig.json index 7d6d4209bc..7ed78cd882 100644 --- a/types/inline-style-prefixer/tsconfig.json +++ b/types/inline-style-prefixer/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/inquirer/tsconfig.json b/types/inquirer/tsconfig.json index 59793a86a1..132e52a694 100644 --- a/types/inquirer/tsconfig.json +++ b/types/inquirer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/insert-module-globals/tsconfig.json b/types/insert-module-globals/tsconfig.json index a9b4f218da..4f6dc79b6c 100644 --- a/types/insert-module-globals/tsconfig.json +++ b/types/insert-module-globals/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/insight/tsconfig.json b/types/insight/tsconfig.json index 7efb108eae..c90e8883c8 100644 --- a/types/insight/tsconfig.json +++ b/types/insight/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/integer/tsconfig.json b/types/integer/tsconfig.json index 60e0921a42..d8ff5490d1 100644 --- a/types/integer/tsconfig.json +++ b/types/integer/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/interact.js/tsconfig.json b/types/interact.js/tsconfig.json index 6d4887d0f1..ec69c04168 100644 --- a/types/interact.js/tsconfig.json +++ b/types/interact.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/intercom-web/tsconfig.json b/types/intercom-web/tsconfig.json index d77c89a53f..a6dafc828c 100755 --- a/types/intercom-web/tsconfig.json +++ b/types/intercom-web/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/intercomjs/tsconfig.json b/types/intercomjs/tsconfig.json index a74351a03a..e04592b241 100644 --- a/types/intercomjs/tsconfig.json +++ b/types/intercomjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/internal-ip/tsconfig.json b/types/internal-ip/tsconfig.json index 746718e07c..68e01ce09d 100644 --- a/types/internal-ip/tsconfig.json +++ b/types/internal-ip/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/intl-messageformat/tsconfig.json b/types/intl-messageformat/tsconfig.json index 61f9873265..5fa45ea6b4 100644 --- a/types/intl-messageformat/tsconfig.json +++ b/types/intl-messageformat/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/intl-tel-input/tsconfig.json b/types/intl-tel-input/tsconfig.json index 380d60229d..47bfb5d532 100644 --- a/types/intl-tel-input/tsconfig.json +++ b/types/intl-tel-input/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/intl/tsconfig.json b/types/intl/tsconfig.json index 30370fd405..e387d699b0 100644 --- a/types/intl/tsconfig.json +++ b/types/intl/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/into-stream/tsconfig.json b/types/into-stream/tsconfig.json index cc8a2cfa00..78424ed386 100644 --- a/types/into-stream/tsconfig.json +++ b/types/into-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/intro.js/tsconfig.json b/types/intro.js/tsconfig.json index c86cbffec5..6f17df93d2 100644 --- a/types/intro.js/tsconfig.json +++ b/types/intro.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/invariant/tsconfig.json b/types/invariant/tsconfig.json index 1cd411b7f4..b9835c8ee2 100644 --- a/types/invariant/tsconfig.json +++ b/types/invariant/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/inversify-devtools/tsconfig.json b/types/inversify-devtools/tsconfig.json index 4883fdc99e..43d9c7f198 100644 --- a/types/inversify-devtools/tsconfig.json +++ b/types/inversify-devtools/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ion.rangeslider/tsconfig.json b/types/ion.rangeslider/tsconfig.json index 1affa9f527..8fa4b00b02 100644 --- a/types/ion.rangeslider/tsconfig.json +++ b/types/ion.rangeslider/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ion.rangeslider/v1/tsconfig.json b/types/ion.rangeslider/v1/tsconfig.json index c63da8c0e1..d567b18c5d 100644 --- a/types/ion.rangeslider/v1/tsconfig.json +++ b/types/ion.rangeslider/v1/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ioredis/tsconfig.json b/types/ioredis/tsconfig.json index f073160729..7b17a6e338 100644 --- a/types/ioredis/tsconfig.json +++ b/types/ioredis/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/iota.lib.js/tsconfig.json b/types/iota.lib.js/tsconfig.json index b206b83455..5bb248e6c2 100644 --- a/types/iota.lib.js/tsconfig.json +++ b/types/iota.lib.js/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "iota.lib.js-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "iota.lib.js-tests.ts" + ] } \ No newline at end of file diff --git a/types/ip-regex/tsconfig.json b/types/ip-regex/tsconfig.json index e09382966a..e3c27d39a7 100644 --- a/types/ip-regex/tsconfig.json +++ b/types/ip-regex/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ip/tsconfig.json b/types/ip/tsconfig.json index a445ebefe8..f6610d99f5 100644 --- a/types/ip/tsconfig.json +++ b/types/ip/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/irc/tsconfig.json b/types/irc/tsconfig.json index ac224646a3..ba8bd73ab1 100644 --- a/types/irc/tsconfig.json +++ b/types/irc/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/iron/tsconfig.json b/types/iron/tsconfig.json index bddeeac5c0..e0ee70fb95 100644 --- a/types/iron/tsconfig.json +++ b/types/iron/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "iron-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/is-absolute-url/tsconfig.json b/types/is-absolute-url/tsconfig.json index 57c46bb32b..b53f33f8d0 100644 --- a/types/is-absolute-url/tsconfig.json +++ b/types/is-absolute-url/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is-alphanumerical/tsconfig.json b/types/is-alphanumerical/tsconfig.json index 90b83f80fb..a0e28cd6c8 100644 --- a/types/is-alphanumerical/tsconfig.json +++ b/types/is-alphanumerical/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is-archive/tsconfig.json b/types/is-archive/tsconfig.json index ce2b001789..992c7f96ab 100644 --- a/types/is-archive/tsconfig.json +++ b/types/is-archive/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is-array/tsconfig.json b/types/is-array/tsconfig.json index 022fbc852e..32aaeff9f4 100644 --- a/types/is-array/tsconfig.json +++ b/types/is-array/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is-binary-path/tsconfig.json b/types/is-binary-path/tsconfig.json index e0fd45ed1e..e497433304 100644 --- a/types/is-binary-path/tsconfig.json +++ b/types/is-binary-path/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is-compressed/tsconfig.json b/types/is-compressed/tsconfig.json index b44edb3059..b90ecf1883 100644 --- a/types/is-compressed/tsconfig.json +++ b/types/is-compressed/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is-finite/tsconfig.json b/types/is-finite/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/is-finite/tsconfig.json +++ b/types/is-finite/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/is-glob/tsconfig.json b/types/is-glob/tsconfig.json index 1a408fe456..5fc85d6db2 100644 --- a/types/is-glob/tsconfig.json +++ b/types/is-glob/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "is-glob-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/is-ip/tsconfig.json b/types/is-ip/tsconfig.json index ea49885cbb..32c6d2baf7 100644 --- a/types/is-ip/tsconfig.json +++ b/types/is-ip/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is-my-json-valid/tsconfig.json b/types/is-my-json-valid/tsconfig.json index 687e2a6c57..13eedc22b1 100644 --- a/types/is-my-json-valid/tsconfig.json +++ b/types/is-my-json-valid/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is-negated-glob/tsconfig.json b/types/is-negated-glob/tsconfig.json index 9f8db73020..1083f6370c 100644 --- a/types/is-negated-glob/tsconfig.json +++ b/types/is-negated-glob/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "is-negated-glob-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/is-number/tsconfig.json b/types/is-number/tsconfig.json index 930df6698f..4eda636727 100644 --- a/types/is-number/tsconfig.json +++ b/types/is-number/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is-object/tsconfig.json b/types/is-object/tsconfig.json index b3aae5340b..319385646a 100644 --- a/types/is-object/tsconfig.json +++ b/types/is-object/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "is-object-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/is-path-cwd/tsconfig.json b/types/is-path-cwd/tsconfig.json index 6f5a83c33d..0857fc254c 100644 --- a/types/is-path-cwd/tsconfig.json +++ b/types/is-path-cwd/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is-path-in-cwd/tsconfig.json b/types/is-path-in-cwd/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/is-path-in-cwd/tsconfig.json +++ b/types/is-path-in-cwd/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/is-promise/tsconfig.json b/types/is-promise/tsconfig.json index fbc17a9140..62f75e7230 100644 --- a/types/is-promise/tsconfig.json +++ b/types/is-promise/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/is-relative-url/tsconfig.json b/types/is-relative-url/tsconfig.json index 1a85dcf51a..3304129cf5 100644 --- a/types/is-relative-url/tsconfig.json +++ b/types/is-relative-url/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is-root-path/tsconfig.json b/types/is-root-path/tsconfig.json index 28d7f23893..32de5659e2 100644 --- a/types/is-root-path/tsconfig.json +++ b/types/is-root-path/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is-root/tsconfig.json b/types/is-root/tsconfig.json index a92ff73369..2ec96b7950 100644 --- a/types/is-root/tsconfig.json +++ b/types/is-root/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is-scoped/tsconfig.json b/types/is-scoped/tsconfig.json index e6ffa2ab86..e7cd6d168f 100644 --- a/types/is-scoped/tsconfig.json +++ b/types/is-scoped/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "is-scoped-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/is-stream/tsconfig.json b/types/is-stream/tsconfig.json index 061e555f72..711f3e885b 100644 --- a/types/is-stream/tsconfig.json +++ b/types/is-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is-svg/tsconfig.json b/types/is-svg/tsconfig.json index 2621a88907..ee19bf61d4 100644 --- a/types/is-svg/tsconfig.json +++ b/types/is-svg/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is-text-path/tsconfig.json b/types/is-text-path/tsconfig.json index e6587abf96..f68781ca5a 100644 --- a/types/is-text-path/tsconfig.json +++ b/types/is-text-path/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is-url-superb/tsconfig.json b/types/is-url-superb/tsconfig.json index 3450e58a06..5af295cadb 100644 --- a/types/is-url-superb/tsconfig.json +++ b/types/is-url-superb/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is-url/tsconfig.json b/types/is-url/tsconfig.json index 56f15b7e2f..a7c0ef487f 100644 --- a/types/is-url/tsconfig.json +++ b/types/is-url/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is-windows/tsconfig.json b/types/is-windows/tsconfig.json index 8696d92fe0..36ec2df909 100644 --- a/types/is-windows/tsconfig.json +++ b/types/is-windows/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/is/tsconfig.json b/types/is/tsconfig.json index 9abe3bbe43..90cdd21fd2 100644 --- a/types/is/tsconfig.json +++ b/types/is/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/isbn-utils/tsconfig.json b/types/isbn-utils/tsconfig.json index 9414c7c040..0077524e45 100644 --- a/types/isbn-utils/tsconfig.json +++ b/types/isbn-utils/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/iscroll/tsconfig.json b/types/iscroll/tsconfig.json index 7a1ec2a51b..b7dad3520e 100644 --- a/types/iscroll/tsconfig.json +++ b/types/iscroll/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/iscroll/v4/tsconfig.json b/types/iscroll/v4/tsconfig.json index 2b09269531..4e6115127e 100644 --- a/types/iscroll/v4/tsconfig.json +++ b/types/iscroll/v4/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ismobilejs/tsconfig.json b/types/ismobilejs/tsconfig.json index ae9975d94e..748e1fff6f 100644 --- a/types/ismobilejs/tsconfig.json +++ b/types/ismobilejs/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "ismobilejs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/iso-3166-2/tsconfig.json b/types/iso-3166-2/tsconfig.json index 0e374a83fc..2cdbb59c54 100644 --- a/types/iso-3166-2/tsconfig.json +++ b/types/iso-3166-2/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/iso8601-localizer/tsconfig.json b/types/iso8601-localizer/tsconfig.json index e245ca21c0..01a65dcdc4 100644 --- a/types/iso8601-localizer/tsconfig.json +++ b/types/iso8601-localizer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/isomorphic-fetch/tsconfig.json b/types/isomorphic-fetch/tsconfig.json index f3cc715548..08c197c40f 100644 --- a/types/isomorphic-fetch/tsconfig.json +++ b/types/isomorphic-fetch/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/isotope-layout/tsconfig.json b/types/isotope-layout/tsconfig.json index 8afefdbd01..50c41ebda1 100644 --- a/types/isotope-layout/tsconfig.json +++ b/types/isotope-layout/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/istanbul-lib-coverage/tsconfig.json b/types/istanbul-lib-coverage/tsconfig.json index 433ba89644..76754f3471 100644 --- a/types/istanbul-lib-coverage/tsconfig.json +++ b/types/istanbul-lib-coverage/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/istanbul-lib-hook/tsconfig.json b/types/istanbul-lib-hook/tsconfig.json index c010a0879b..45ad7e8ff7 100644 --- a/types/istanbul-lib-hook/tsconfig.json +++ b/types/istanbul-lib-hook/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/istanbul-lib-instrument/tsconfig.json b/types/istanbul-lib-instrument/tsconfig.json index 60629254a0..751abe74b0 100644 --- a/types/istanbul-lib-instrument/tsconfig.json +++ b/types/istanbul-lib-instrument/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/istanbul-lib-report/tsconfig.json b/types/istanbul-lib-report/tsconfig.json index 782aa1860c..644e91130d 100644 --- a/types/istanbul-lib-report/tsconfig.json +++ b/types/istanbul-lib-report/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/istanbul-lib-source-maps/tsconfig.json b/types/istanbul-lib-source-maps/tsconfig.json index ca94b106d7..9f1c37f7d7 100644 --- a/types/istanbul-lib-source-maps/tsconfig.json +++ b/types/istanbul-lib-source-maps/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/istanbul-middleware/tsconfig.json b/types/istanbul-middleware/tsconfig.json index 3bba961c04..153ab73a0e 100644 --- a/types/istanbul-middleware/tsconfig.json +++ b/types/istanbul-middleware/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/istanbul-reports/tsconfig.json b/types/istanbul-reports/tsconfig.json index 1f43d5038d..51c7eb3d46 100644 --- a/types/istanbul-reports/tsconfig.json +++ b/types/istanbul-reports/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/istanbul/tsconfig.json b/types/istanbul/tsconfig.json index 723eb394c5..ab009bb79a 100644 --- a/types/istanbul/tsconfig.json +++ b/types/istanbul/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ityped/tsconfig.json b/types/ityped/tsconfig.json index 2f2ceabe67..5530043548 100644 --- a/types/ityped/tsconfig.json +++ b/types/ityped/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ix.js/tsconfig.json b/types/ix.js/tsconfig.json index c840c77d73..3196f7e1c3 100644 --- a/types/ix.js/tsconfig.json +++ b/types/ix.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jade/tsconfig.json b/types/jade/tsconfig.json index f1c2b94f05..b7a356ca2f 100644 --- a/types/jade/tsconfig.json +++ b/types/jade/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jake/tsconfig.json b/types/jake/tsconfig.json index 5a5e5fcbd8..0f6b6131c4 100644 --- a/types/jake/tsconfig.json +++ b/types/jake/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jalaali-js/tsconfig.json b/types/jalaali-js/tsconfig.json index 995b501496..baf80ea66d 100644 --- a/types/jalaali-js/tsconfig.json +++ b/types/jalaali-js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/japanese-holidays/tsconfig.json b/types/japanese-holidays/tsconfig.json index 1d8aeb27d0..44daea5b5c 100644 --- a/types/japanese-holidays/tsconfig.json +++ b/types/japanese-holidays/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-ajax/tsconfig.json b/types/jasmine-ajax/tsconfig.json index 01c73a745d..a0fc138c79 100644 --- a/types/jasmine-ajax/tsconfig.json +++ b/types/jasmine-ajax/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-data_driven_tests/tsconfig.json b/types/jasmine-data_driven_tests/tsconfig.json index 232e012191..1e82970117 100644 --- a/types/jasmine-data_driven_tests/tsconfig.json +++ b/types/jasmine-data_driven_tests/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-enzyme/tsconfig.json b/types/jasmine-enzyme/tsconfig.json index 6b63fe9694..bf83f1b6f4 100644 --- a/types/jasmine-enzyme/tsconfig.json +++ b/types/jasmine-enzyme/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-es6-promise-matchers/tsconfig.json b/types/jasmine-es6-promise-matchers/tsconfig.json index 98d8f03e42..876eee95ac 100644 --- a/types/jasmine-es6-promise-matchers/tsconfig.json +++ b/types/jasmine-es6-promise-matchers/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-fixture/tsconfig.json b/types/jasmine-fixture/tsconfig.json index 149810b10a..ca506e5adb 100644 --- a/types/jasmine-fixture/tsconfig.json +++ b/types/jasmine-fixture/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-given/tsconfig.json b/types/jasmine-given/tsconfig.json index d1b9541f2c..57bd58c328 100644 --- a/types/jasmine-given/tsconfig.json +++ b/types/jasmine-given/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-jquery/tsconfig.json b/types/jasmine-jquery/tsconfig.json index ac43f3d18c..dc5f7f00d7 100644 --- a/types/jasmine-jquery/tsconfig.json +++ b/types/jasmine-jquery/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-matchers/tsconfig.json b/types/jasmine-matchers/tsconfig.json index 943271914e..fb7d43b96b 100644 --- a/types/jasmine-matchers/tsconfig.json +++ b/types/jasmine-matchers/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-node/tsconfig.json b/types/jasmine-node/tsconfig.json index 2b68e61c60..2cc45d7d2a 100644 --- a/types/jasmine-node/tsconfig.json +++ b/types/jasmine-node/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-promise-matchers/tsconfig.json b/types/jasmine-promise-matchers/tsconfig.json index 0b264e6527..66af9a8c08 100644 --- a/types/jasmine-promise-matchers/tsconfig.json +++ b/types/jasmine-promise-matchers/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jasmine/tsconfig.json b/types/jasmine/tsconfig.json index 55b83c6d3a..8cf9b9c42b 100644 --- a/types/jasmine/tsconfig.json +++ b/types/jasmine/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/jasmine/v1/tsconfig.json b/types/jasmine/v1/tsconfig.json index 99a9fb48b4..35dd7f72b3 100644 --- a/types/jasmine/v1/tsconfig.json +++ b/types/jasmine/v1/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jasmine_dom_matchers/tsconfig.json b/types/jasmine_dom_matchers/tsconfig.json index 4b09a5d93a..c806488fe6 100644 --- a/types/jasmine_dom_matchers/tsconfig.json +++ b/types/jasmine_dom_matchers/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jasminewd2/tsconfig.json b/types/jasminewd2/tsconfig.json index 2267f75819..595a34e1b8 100644 --- a/types/jasminewd2/tsconfig.json +++ b/types/jasminewd2/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/java-applet/tsconfig.json b/types/java-applet/tsconfig.json index 776886e3f1..ae0ec396fd 100644 --- a/types/java-applet/tsconfig.json +++ b/types/java-applet/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/java/tsconfig.json b/types/java/tsconfig.json index 9f5ed2d241..6c47c1241c 100644 --- a/types/java/tsconfig.json +++ b/types/java/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/javascript-astar/tsconfig.json b/types/javascript-astar/tsconfig.json index 6ca80fa293..8c40ff7635 100644 --- a/types/javascript-astar/tsconfig.json +++ b/types/javascript-astar/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/javascript-bignum/tsconfig.json b/types/javascript-bignum/tsconfig.json index d6a0961172..af86ab51b2 100644 --- a/types/javascript-bignum/tsconfig.json +++ b/types/javascript-bignum/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/javascript-obfuscator/tsconfig.json b/types/javascript-obfuscator/tsconfig.json index 5b53fa94db..8c5281c864 100644 --- a/types/javascript-obfuscator/tsconfig.json +++ b/types/javascript-obfuscator/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/javascript-state-machine/tsconfig.json b/types/javascript-state-machine/tsconfig.json index 75ccb2b212..44662c9100 100644 --- a/types/javascript-state-machine/tsconfig.json +++ b/types/javascript-state-machine/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jbinary/tsconfig.json b/types/jbinary/tsconfig.json index d272b54223..6c9f35a340 100644 --- a/types/jbinary/tsconfig.json +++ b/types/jbinary/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jcanvas/tsconfig.json b/types/jcanvas/tsconfig.json index 9c6aa5edbe..4bd7257d69 100644 --- a/types/jcanvas/tsconfig.json +++ b/types/jcanvas/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jdataview/tsconfig.json b/types/jdataview/tsconfig.json index 230f748dfe..67864c6551 100644 --- a/types/jdataview/tsconfig.json +++ b/types/jdataview/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jdenticon/tsconfig.json b/types/jdenticon/tsconfig.json index cb462ee4d6..1ae5237495 100644 --- a/types/jdenticon/tsconfig.json +++ b/types/jdenticon/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jee-jsf/tsconfig.json b/types/jee-jsf/tsconfig.json index 36364a83fa..3742e2c21b 100644 --- a/types/jee-jsf/tsconfig.json +++ b/types/jee-jsf/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jenkins/tsconfig.json b/types/jenkins/tsconfig.json index 08dc07dbe9..44e042dc79 100644 --- a/types/jenkins/tsconfig.json +++ b/types/jenkins/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jest-diff/tsconfig.json b/types/jest-diff/tsconfig.json index 3624e1778b..8c945026ff 100644 --- a/types/jest-diff/tsconfig.json +++ b/types/jest-diff/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "jest-diff-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jest-docblock/tsconfig.json b/types/jest-docblock/tsconfig.json index 4b1181bdad..e33cc9e573 100644 --- a/types/jest-docblock/tsconfig.json +++ b/types/jest-docblock/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jest-get-type/tsconfig.json b/types/jest-get-type/tsconfig.json index d1e6fac5ee..9827885143 100644 --- a/types/jest-get-type/tsconfig.json +++ b/types/jest-get-type/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "jest-get-type-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jest-in-case/tsconfig.json b/types/jest-in-case/tsconfig.json index a561ae813a..c84b4c71cd 100644 --- a/types/jest-in-case/tsconfig.json +++ b/types/jest-in-case/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "jest-in-case-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jest-json-schema/tsconfig.json b/types/jest-json-schema/tsconfig.json index e8d55cbd89..72a4cfb23c 100644 --- a/types/jest-json-schema/tsconfig.json +++ b/types/jest-json-schema/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "jest-json-schema-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jest-matcher-utils/tsconfig.json b/types/jest-matcher-utils/tsconfig.json index 115b762386..3a647a09a9 100644 --- a/types/jest-matcher-utils/tsconfig.json +++ b/types/jest-matcher-utils/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "jest-matcher-utils-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jest-matchers/tsconfig.json b/types/jest-matchers/tsconfig.json index 123b605779..b3c1b8d9b8 100644 --- a/types/jest-matchers/tsconfig.json +++ b/types/jest-matchers/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jest-validate/tsconfig.json b/types/jest-validate/tsconfig.json index 5b8abec385..0851710463 100644 --- a/types/jest-validate/tsconfig.json +++ b/types/jest-validate/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jest/tsconfig.json b/types/jest/tsconfig.json index 8a02004840..fe92564343 100644 --- a/types/jest/tsconfig.json +++ b/types/jest/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jest/v16/tsconfig.json b/types/jest/v16/tsconfig.json index faf67cd73a..61038de4d6 100644 --- a/types/jest/v16/tsconfig.json +++ b/types/jest/v16/tsconfig.json @@ -23,7 +23,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jfp/tsconfig.json b/types/jfp/tsconfig.json index 81402f37d4..c75ebb5e7a 100644 --- a/types/jfp/tsconfig.json +++ b/types/jfp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jfs/tsconfig.json b/types/jfs/tsconfig.json index 2fd6c9f41b..8206817563 100644 --- a/types/jfs/tsconfig.json +++ b/types/jfs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jjv/tsconfig.json b/types/jjv/tsconfig.json index ce2a0343d8..0f6e9fe75f 100644 --- a/types/jjv/tsconfig.json +++ b/types/jjv/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jjve/tsconfig.json b/types/jjve/tsconfig.json index 12f97579f7..823b7b8df1 100644 --- a/types/jjve/tsconfig.json +++ b/types/jjve/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jmespath/tsconfig.json b/types/jmespath/tsconfig.json index 1b416d36d1..6b4bfc2810 100644 --- a/types/jmespath/tsconfig.json +++ b/types/jmespath/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/johnny-five/tsconfig.json b/types/johnny-five/tsconfig.json index 5218cc5e2b..f58cec6814 100644 --- a/types/johnny-five/tsconfig.json +++ b/types/johnny-five/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/joi/tsconfig.json b/types/joi/tsconfig.json index 57e6c47881..1229f9503e 100644 --- a/types/joi/tsconfig.json +++ b/types/joi/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "joi-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/joi/v10/tsconfig.json b/types/joi/v10/tsconfig.json index 1bd530aff0..52855d5713 100644 --- a/types/joi/v10/tsconfig.json +++ b/types/joi/v10/tsconfig.json @@ -19,10 +19,11 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "joi-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/joi/v6/tsconfig.json b/types/joi/v6/tsconfig.json index 75aacbeeea..13d053b4d4 100644 --- a/types/joi/v6/tsconfig.json +++ b/types/joi/v6/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/joigoose/tsconfig.json b/types/joigoose/tsconfig.json index 05aa2fd1c2..172e39fae9 100644 --- a/types/joigoose/tsconfig.json +++ b/types/joigoose/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/josa/tsconfig.json b/types/josa/tsconfig.json index 0c56aa9a72..98786984f3 100644 --- a/types/josa/tsconfig.json +++ b/types/josa/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "josa-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jpeg-js/tsconfig.json b/types/jpeg-js/tsconfig.json index 20d7ba3d8d..09b8b89141 100644 --- a/types/jpeg-js/tsconfig.json +++ b/types/jpeg-js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jpm/tsconfig.json b/types/jpm/tsconfig.json index 257f95eafa..7934ed544d 100644 --- a/types/jpm/tsconfig.json +++ b/types/jpm/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jqgrid/tsconfig.json b/types/jqgrid/tsconfig.json index fd6e8c36a2..4872ce6ec3 100644 --- a/types/jqgrid/tsconfig.json +++ b/types/jqgrid/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jqrangeslider/tsconfig.json b/types/jqrangeslider/tsconfig.json index 9c8eabeb88..e7b62c7c06 100644 --- a/types/jqrangeslider/tsconfig.json +++ b/types/jqrangeslider/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-ajax-chain/tsconfig.json b/types/jquery-ajax-chain/tsconfig.json index 58a43cc65e..b7f9b3ac86 100644 --- a/types/jquery-ajax-chain/tsconfig.json +++ b/types/jquery-ajax-chain/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-alertable/tsconfig.json b/types/jquery-alertable/tsconfig.json index ca545d4a12..026ddd56c1 100644 --- a/types/jquery-alertable/tsconfig.json +++ b/types/jquery-alertable/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-awesome-cursor/tsconfig.json b/types/jquery-awesome-cursor/tsconfig.json index cb81088d83..b2e301a8b8 100644 --- a/types/jquery-awesome-cursor/tsconfig.json +++ b/types/jquery-awesome-cursor/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-backstretch/tsconfig.json b/types/jquery-backstretch/tsconfig.json index c2fb9bc82f..586b25464e 100644 --- a/types/jquery-backstretch/tsconfig.json +++ b/types/jquery-backstretch/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-cropbox/tsconfig.json b/types/jquery-cropbox/tsconfig.json index 8ff494d309..3434909492 100644 --- a/types/jquery-cropbox/tsconfig.json +++ b/types/jquery-cropbox/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-deparam/tsconfig.json b/types/jquery-deparam/tsconfig.json index b7d9a9d091..9f1b087687 100644 --- a/types/jquery-deparam/tsconfig.json +++ b/types/jquery-deparam/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-easy-loading/tsconfig.json b/types/jquery-easy-loading/tsconfig.json index c6c8a6a160..7e12f37ffe 100644 --- a/types/jquery-easy-loading/tsconfig.json +++ b/types/jquery-easy-loading/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-editable-select/tsconfig.json b/types/jquery-editable-select/tsconfig.json index a284c442fa..fc9904fdb8 100644 --- a/types/jquery-editable-select/tsconfig.json +++ b/types/jquery-editable-select/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-fullscreen/tsconfig.json b/types/jquery-fullscreen/tsconfig.json index 81b275bff5..dc4e20c177 100644 --- a/types/jquery-fullscreen/tsconfig.json +++ b/types/jquery-fullscreen/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-galleria/tsconfig.json b/types/jquery-galleria/tsconfig.json index c082643a87..96c948f924 100644 --- a/types/jquery-galleria/tsconfig.json +++ b/types/jquery-galleria/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-handsontable/tsconfig.json b/types/jquery-handsontable/tsconfig.json index fac1311bb7..aa39ff119c 100644 --- a/types/jquery-handsontable/tsconfig.json +++ b/types/jquery-handsontable/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-jcrop/tsconfig.json b/types/jquery-jcrop/tsconfig.json index add23691c0..895906f145 100644 --- a/types/jquery-jcrop/tsconfig.json +++ b/types/jquery-jcrop/tsconfig.json @@ -1,24 +1,25 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "jquery-jcrop-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "jquery-jcrop-tests.ts" + ] } \ No newline at end of file diff --git a/types/jquery-jsonrpcclient/tsconfig.json b/types/jquery-jsonrpcclient/tsconfig.json index 812781d6cc..b410a68acf 100644 --- a/types/jquery-jsonrpcclient/tsconfig.json +++ b/types/jquery-jsonrpcclient/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-knob/tsconfig.json b/types/jquery-knob/tsconfig.json index c177f5a019..d5913373b8 100644 --- a/types/jquery-knob/tsconfig.json +++ b/types/jquery-knob/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-mask-plugin/tsconfig.json b/types/jquery-mask-plugin/tsconfig.json index 21be524f87..98c8d3d4e3 100644 --- a/types/jquery-mask-plugin/tsconfig.json +++ b/types/jquery-mask-plugin/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-match-height/tsconfig.json b/types/jquery-match-height/tsconfig.json index 103ae84843..9c83d33574 100644 --- a/types/jquery-match-height/tsconfig.json +++ b/types/jquery-match-height/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-mockjax/tsconfig.json b/types/jquery-mockjax/tsconfig.json index 42505b57a0..3f3116e2e7 100644 --- a/types/jquery-mockjax/tsconfig.json +++ b/types/jquery-mockjax/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-mousewheel/tsconfig.json b/types/jquery-mousewheel/tsconfig.json index 7fe74c814f..bae05cac1a 100644 --- a/types/jquery-mousewheel/tsconfig.json +++ b/types/jquery-mousewheel/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-notifier/tsconfig.json b/types/jquery-notifier/tsconfig.json index b2178bf718..40548bb50d 100644 --- a/types/jquery-notifier/tsconfig.json +++ b/types/jquery-notifier/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "jquery-notifier-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jquery-param/tsconfig.json b/types/jquery-param/tsconfig.json index 65999b18ff..ab66910efe 100644 --- a/types/jquery-param/tsconfig.json +++ b/types/jquery-param/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-sortable/tsconfig.json b/types/jquery-sortable/tsconfig.json index 2a77692104..1e6c616f02 100644 --- a/types/jquery-sortable/tsconfig.json +++ b/types/jquery-sortable/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-steps/tsconfig.json b/types/jquery-steps/tsconfig.json index 5af8c482b0..e1a0b04e2b 100644 --- a/types/jquery-steps/tsconfig.json +++ b/types/jquery-steps/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-sticky/tsconfig.json b/types/jquery-sticky/tsconfig.json index 1981e2e74c..fd83e8263c 100644 --- a/types/jquery-sticky/tsconfig.json +++ b/types/jquery-sticky/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-tags-input/tsconfig.json b/types/jquery-tags-input/tsconfig.json index 7597172c4a..09fd291b0f 100644 --- a/types/jquery-tags-input/tsconfig.json +++ b/types/jquery-tags-input/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-timeentry/tsconfig.json b/types/jquery-timeentry/tsconfig.json index 0869745caf..6993709bad 100644 --- a/types/jquery-timeentry/tsconfig.json +++ b/types/jquery-timeentry/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-toastmessage-plugin/tsconfig.json b/types/jquery-toastmessage-plugin/tsconfig.json index 79e81125ce..7073dd1b27 100644 --- a/types/jquery-toastmessage-plugin/tsconfig.json +++ b/types/jquery-toastmessage-plugin/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-truncate-html/tsconfig.json b/types/jquery-truncate-html/tsconfig.json index c4ea956cac..cfe4235e9a 100644 --- a/types/jquery-truncate-html/tsconfig.json +++ b/types/jquery-truncate-html/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-urlparam/tsconfig.json b/types/jquery-urlparam/tsconfig.json index bdcb0ffebe..26820466ab 100644 --- a/types/jquery-urlparam/tsconfig.json +++ b/types/jquery-urlparam/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery-validation-unobtrusive/tsconfig.json b/types/jquery-validation-unobtrusive/tsconfig.json index 7cf39e48e0..9b3eee130c 100644 --- a/types/jquery-validation-unobtrusive/tsconfig.json +++ b/types/jquery-validation-unobtrusive/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.address/tsconfig.json b/types/jquery.address/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/jquery.address/tsconfig.json +++ b/types/jquery.address/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/jquery.are-you-sure/tsconfig.json b/types/jquery.are-you-sure/tsconfig.json index 165728a00e..1daf8cb533 100644 --- a/types/jquery.are-you-sure/tsconfig.json +++ b/types/jquery.are-you-sure/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.autosize/tsconfig.json b/types/jquery.autosize/tsconfig.json index 6cb415b04c..53f7cc67c8 100644 --- a/types/jquery.autosize/tsconfig.json +++ b/types/jquery.autosize/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.base64/tsconfig.json b/types/jquery.base64/tsconfig.json index 157bbd92d9..170b1338d6 100644 --- a/types/jquery.base64/tsconfig.json +++ b/types/jquery.base64/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.bbq/tsconfig.json b/types/jquery.bbq/tsconfig.json index 48e78a892d..24233f0897 100644 --- a/types/jquery.bbq/tsconfig.json +++ b/types/jquery.bbq/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.blockui/tsconfig.json b/types/jquery.blockui/tsconfig.json index e46b2e83ec..6a0de89f04 100644 --- a/types/jquery.blockui/tsconfig.json +++ b/types/jquery.blockui/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.bootstrap.wizard/tsconfig.json b/types/jquery.bootstrap.wizard/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/jquery.bootstrap.wizard/tsconfig.json +++ b/types/jquery.bootstrap.wizard/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/jquery.cleditor/tsconfig.json b/types/jquery.cleditor/tsconfig.json index 70f33953ab..5fedcfc36e 100644 --- a/types/jquery.cleditor/tsconfig.json +++ b/types/jquery.cleditor/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.clientsidelogging/tsconfig.json b/types/jquery.clientsidelogging/tsconfig.json index 80a2b6dbf4..fd8abca37d 100644 --- a/types/jquery.clientsidelogging/tsconfig.json +++ b/types/jquery.clientsidelogging/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.color/tsconfig.json b/types/jquery.color/tsconfig.json index 35da9bb381..16b6c64b5e 100644 --- a/types/jquery.color/tsconfig.json +++ b/types/jquery.color/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.colorbox/tsconfig.json b/types/jquery.colorbox/tsconfig.json index decbdf5578..ebd35bce20 100644 --- a/types/jquery.colorbox/tsconfig.json +++ b/types/jquery.colorbox/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.colorpicker/tsconfig.json b/types/jquery.colorpicker/tsconfig.json index f0edccd4d6..5912d60570 100644 --- a/types/jquery.colorpicker/tsconfig.json +++ b/types/jquery.colorpicker/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.contextmenu/tsconfig.json b/types/jquery.contextmenu/tsconfig.json index 2de43ba64f..4ac31577f9 100644 --- a/types/jquery.contextmenu/tsconfig.json +++ b/types/jquery.contextmenu/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.cookie/tsconfig.json b/types/jquery.cookie/tsconfig.json index 0b4c16e92a..2b976c3bb2 100644 --- a/types/jquery.cookie/tsconfig.json +++ b/types/jquery.cookie/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.customselect/tsconfig.json b/types/jquery.customselect/tsconfig.json index ce71c3244f..55a534bc45 100644 --- a/types/jquery.customselect/tsconfig.json +++ b/types/jquery.customselect/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.cycle/tsconfig.json b/types/jquery.cycle/tsconfig.json index b807c05700..3bb6527980 100644 --- a/types/jquery.cycle/tsconfig.json +++ b/types/jquery.cycle/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.cycle2/tsconfig.json b/types/jquery.cycle2/tsconfig.json index 8fe54da959..1c845b031f 100644 --- a/types/jquery.cycle2/tsconfig.json +++ b/types/jquery.cycle2/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.dropotron/tsconfig.json b/types/jquery.dropotron/tsconfig.json index c811e857c6..3df7005b1a 100644 --- a/types/jquery.dropotron/tsconfig.json +++ b/types/jquery.dropotron/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.dynatree/tsconfig.json b/types/jquery.dynatree/tsconfig.json index 1963c75cb1..6373d266c0 100644 --- a/types/jquery.dynatree/tsconfig.json +++ b/types/jquery.dynatree/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.elang/tsconfig.json b/types/jquery.elang/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/jquery.elang/tsconfig.json +++ b/types/jquery.elang/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/jquery.fancytree/tsconfig.json b/types/jquery.fancytree/tsconfig.json index bd2d2932ca..5e301086b7 100644 --- a/types/jquery.fancytree/tsconfig.json +++ b/types/jquery.fancytree/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.fileupload/tsconfig.json b/types/jquery.fileupload/tsconfig.json index ddefea0e79..ac9c3306dd 100644 --- a/types/jquery.fileupload/tsconfig.json +++ b/types/jquery.fileupload/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.filtertable/tsconfig.json b/types/jquery.filtertable/tsconfig.json index a0166c7d6b..1208bc4f98 100644 --- a/types/jquery.filtertable/tsconfig.json +++ b/types/jquery.filtertable/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.finger/tsconfig.json b/types/jquery.finger/tsconfig.json index 55be70767e..b60410ab16 100644 --- a/types/jquery.finger/tsconfig.json +++ b/types/jquery.finger/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.flagstrap/tsconfig.json b/types/jquery.flagstrap/tsconfig.json index c4bf7e1a72..25bf48af93 100644 --- a/types/jquery.flagstrap/tsconfig.json +++ b/types/jquery.flagstrap/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.form/tsconfig.json b/types/jquery.form/tsconfig.json index 02b4195224..9ea3a8c19e 100644 --- a/types/jquery.form/tsconfig.json +++ b/types/jquery.form/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.fullscreen/tsconfig.json b/types/jquery.fullscreen/tsconfig.json index bc666dcb90..46a640c552 100644 --- a/types/jquery.fullscreen/tsconfig.json +++ b/types/jquery.fullscreen/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.gridster/tsconfig.json b/types/jquery.gridster/tsconfig.json index b1e75c13e7..72f940b715 100644 --- a/types/jquery.gridster/tsconfig.json +++ b/types/jquery.gridster/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.growl/tsconfig.json b/types/jquery.growl/tsconfig.json index 8416f143a7..e28ff8e1cf 100644 --- a/types/jquery.growl/tsconfig.json +++ b/types/jquery.growl/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.highlight-bartaz/tsconfig.json b/types/jquery.highlight-bartaz/tsconfig.json index 4cbe9ddf76..c8ae44427c 100644 --- a/types/jquery.highlight-bartaz/tsconfig.json +++ b/types/jquery.highlight-bartaz/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.jnotify/tsconfig.json b/types/jquery.jnotify/tsconfig.json index abfa7d2782..d73b2d21b9 100644 --- a/types/jquery.jnotify/tsconfig.json +++ b/types/jquery.jnotify/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.joyride/tsconfig.json b/types/jquery.joyride/tsconfig.json index cf307a3611..c1e0a54e00 100644 --- a/types/jquery.joyride/tsconfig.json +++ b/types/jquery.joyride/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.jsignature/tsconfig.json b/types/jquery.jsignature/tsconfig.json index c802539b0a..e0a05e7e70 100644 --- a/types/jquery.jsignature/tsconfig.json +++ b/types/jquery.jsignature/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.leanmodal/tsconfig.json b/types/jquery.leanmodal/tsconfig.json index 3625769dde..91fbecca25 100644 --- a/types/jquery.leanmodal/tsconfig.json +++ b/types/jquery.leanmodal/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.livestampjs/tsconfig.json b/types/jquery.livestampjs/tsconfig.json index 4042cffe68..6f8e48e2c5 100644 --- a/types/jquery.livestampjs/tsconfig.json +++ b/types/jquery.livestampjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.menuaim/tsconfig.json b/types/jquery.menuaim/tsconfig.json index c63cface62..937edcefb8 100644 --- a/types/jquery.menuaim/tsconfig.json +++ b/types/jquery.menuaim/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.mmenu/tsconfig.json b/types/jquery.mmenu/tsconfig.json index f95d7a3e93..c7f027625c 100644 --- a/types/jquery.mmenu/tsconfig.json +++ b/types/jquery.mmenu/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.notify/tsconfig.json b/types/jquery.notify/tsconfig.json index e703d61e37..07f6bf60ae 100644 --- a/types/jquery.notify/tsconfig.json +++ b/types/jquery.notify/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.notifybar/tsconfig.json b/types/jquery.notifybar/tsconfig.json index 7541f17487..88ec6786be 100644 --- a/types/jquery.notifybar/tsconfig.json +++ b/types/jquery.notifybar/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.noty/tsconfig.json b/types/jquery.noty/tsconfig.json index fa1c069762..b4076b50e2 100644 --- a/types/jquery.noty/tsconfig.json +++ b/types/jquery.noty/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/jquery.payment/tsconfig.json b/types/jquery.payment/tsconfig.json index 84e6f1c89a..e73add9f7c 100644 --- a/types/jquery.payment/tsconfig.json +++ b/types/jquery.payment/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.pjax/tsconfig.json b/types/jquery.pjax/tsconfig.json index 5d692dbfe4..7081f4c0fe 100644 --- a/types/jquery.pjax/tsconfig.json +++ b/types/jquery.pjax/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.placeholder/tsconfig.json b/types/jquery.placeholder/tsconfig.json index 40c034b33b..2f77fd3f6e 100644 --- a/types/jquery.placeholder/tsconfig.json +++ b/types/jquery.placeholder/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.pnotify/tsconfig.json b/types/jquery.pnotify/tsconfig.json index a7ad412326..be462cb2a5 100644 --- a/types/jquery.pnotify/tsconfig.json +++ b/types/jquery.pnotify/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.postmessage/tsconfig.json b/types/jquery.postmessage/tsconfig.json index dffccae0cd..a3f5056acf 100644 --- a/types/jquery.postmessage/tsconfig.json +++ b/types/jquery.postmessage/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.prettyphoto/tsconfig.json b/types/jquery.prettyphoto/tsconfig.json index c35b1d3718..5417cd1ec3 100644 --- a/types/jquery.prettyphoto/tsconfig.json +++ b/types/jquery.prettyphoto/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.qrcode/tsconfig.json b/types/jquery.qrcode/tsconfig.json index bfa114d23a..0b29ab63bc 100644 --- a/types/jquery.qrcode/tsconfig.json +++ b/types/jquery.qrcode/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.rateit/tsconfig.json b/types/jquery.rateit/tsconfig.json index a2ab54ec3b..95c69f6aaa 100644 --- a/types/jquery.rateit/tsconfig.json +++ b/types/jquery.rateit/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.rowgrid/tsconfig.json b/types/jquery.rowgrid/tsconfig.json index 452aaeee8b..5022e720a4 100644 --- a/types/jquery.rowgrid/tsconfig.json +++ b/types/jquery.rowgrid/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.scrollto/tsconfig.json b/types/jquery.scrollto/tsconfig.json index 587136c6c3..e87036509d 100644 --- a/types/jquery.scrollto/tsconfig.json +++ b/types/jquery.scrollto/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.simplemodal/tsconfig.json b/types/jquery.simplemodal/tsconfig.json index 24b60b0f81..f494541240 100644 --- a/types/jquery.simplemodal/tsconfig.json +++ b/types/jquery.simplemodal/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.simplepagination/tsconfig.json b/types/jquery.simplepagination/tsconfig.json index fa188d40ae..424e397b5a 100644 --- a/types/jquery.simplepagination/tsconfig.json +++ b/types/jquery.simplepagination/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.simulate/tsconfig.json b/types/jquery.simulate/tsconfig.json index c1586267bc..09236d4a4d 100644 --- a/types/jquery.simulate/tsconfig.json +++ b/types/jquery.simulate/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.slimscroll/tsconfig.json b/types/jquery.slimscroll/tsconfig.json index d6acf16f4e..2a510b3ab0 100644 --- a/types/jquery.slimscroll/tsconfig.json +++ b/types/jquery.slimscroll/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.soap/tsconfig.json b/types/jquery.soap/tsconfig.json index 30c25fedd2..bd14eab5f7 100644 --- a/types/jquery.soap/tsconfig.json +++ b/types/jquery.soap/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.sortelements/tsconfig.json b/types/jquery.sortelements/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/jquery.sortelements/tsconfig.json +++ b/types/jquery.sortelements/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/jquery.superlink/tsconfig.json b/types/jquery.superlink/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/jquery.superlink/tsconfig.json +++ b/types/jquery.superlink/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/jquery.tagsmanager/tsconfig.json b/types/jquery.tagsmanager/tsconfig.json index 26ae59c2ef..f392a0fa22 100644 --- a/types/jquery.tagsmanager/tsconfig.json +++ b/types/jquery.tagsmanager/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.tile/tsconfig.json b/types/jquery.tile/tsconfig.json index 4dd9e0f2ed..00e7676d4a 100644 --- a/types/jquery.tile/tsconfig.json +++ b/types/jquery.tile/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.timeago/tsconfig.json b/types/jquery.timeago/tsconfig.json index 9d61fbd512..417dc84d46 100644 --- a/types/jquery.timeago/tsconfig.json +++ b/types/jquery.timeago/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.timepicker/tsconfig.json b/types/jquery.timepicker/tsconfig.json index 6536dcca3b..05a7466732 100644 --- a/types/jquery.timepicker/tsconfig.json +++ b/types/jquery.timepicker/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.timer/tsconfig.json b/types/jquery.timer/tsconfig.json index 166eec6bc1..86bfbd69e7 100644 --- a/types/jquery.timer/tsconfig.json +++ b/types/jquery.timer/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.tinycarousel/tsconfig.json b/types/jquery.tinycarousel/tsconfig.json index f8b4040854..fd0744014b 100644 --- a/types/jquery.tinycarousel/tsconfig.json +++ b/types/jquery.tinycarousel/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.tinyscrollbar/tsconfig.json b/types/jquery.tinyscrollbar/tsconfig.json index f318eedaa4..782a29b264 100644 --- a/types/jquery.tinyscrollbar/tsconfig.json +++ b/types/jquery.tinyscrollbar/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.tipsy/tsconfig.json b/types/jquery.tipsy/tsconfig.json index fc95477a54..5107f06d04 100644 --- a/types/jquery.tipsy/tsconfig.json +++ b/types/jquery.tipsy/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.tools/tsconfig.json b/types/jquery.tools/tsconfig.json index 3b99d33c86..ef601e0e3a 100644 --- a/types/jquery.tools/tsconfig.json +++ b/types/jquery.tools/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.total-storage/tsconfig.json b/types/jquery.total-storage/tsconfig.json index ab78e13671..3c62edadfa 100644 --- a/types/jquery.total-storage/tsconfig.json +++ b/types/jquery.total-storage/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.transit/tsconfig.json b/types/jquery.transit/tsconfig.json index ba68e939c7..628d53a263 100644 --- a/types/jquery.transit/tsconfig.json +++ b/types/jquery.transit/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.ui.datetimepicker/tsconfig.json b/types/jquery.ui.datetimepicker/tsconfig.json index 6d28673765..55a456ad6b 100644 --- a/types/jquery.ui.datetimepicker/tsconfig.json +++ b/types/jquery.ui.datetimepicker/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.ui.layout/tsconfig.json b/types/jquery.ui.layout/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/jquery.ui.layout/tsconfig.json +++ b/types/jquery.ui.layout/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/jquery.uniform/tsconfig.json b/types/jquery.uniform/tsconfig.json index 0cd374ab15..eae4f481cb 100644 --- a/types/jquery.uniform/tsconfig.json +++ b/types/jquery.uniform/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.validation/tsconfig.json b/types/jquery.validation/tsconfig.json index 83b1ac2d52..8f70b517be 100644 --- a/types/jquery.validation/tsconfig.json +++ b/types/jquery.validation/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.watermark/tsconfig.json b/types/jquery.watermark/tsconfig.json index 9543996936..59413b5d3b 100644 --- a/types/jquery.watermark/tsconfig.json +++ b/types/jquery.watermark/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery.window/tsconfig.json b/types/jquery.window/tsconfig.json index d8608684d5..5ef472acc0 100644 --- a/types/jquery.window/tsconfig.json +++ b/types/jquery.window/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery/tsconfig.json b/types/jquery/tsconfig.json index e481dc63c6..4b70421330 100644 --- a/types/jquery/tsconfig.json +++ b/types/jquery/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery/v1/tsconfig.json b/types/jquery/v1/tsconfig.json index 02855a9f8e..eb53f56f94 100644 --- a/types/jquery/v1/tsconfig.json +++ b/types/jquery/v1/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquery/v2/tsconfig.json b/types/jquery/v2/tsconfig.json index 03ea2df8de..35c2a9007d 100644 --- a/types/jquery/v2/tsconfig.json +++ b/types/jquery/v2/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jquerymobile/tsconfig.json b/types/jquerymobile/tsconfig.json index fbbd8cb739..47fb771e9e 100644 --- a/types/jquerymobile/tsconfig.json +++ b/types/jquerymobile/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jqueryui/tsconfig.json b/types/jqueryui/tsconfig.json index ea7c9385c3..2b018f0062 100644 --- a/types/jqueryui/tsconfig.json +++ b/types/jqueryui/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/js-base64/tsconfig.json b/types/js-base64/tsconfig.json index 2e325222f7..3380190f21 100644 --- a/types/js-base64/tsconfig.json +++ b/types/js-base64/tsconfig.json @@ -1,20 +1,25 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6"], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "test/js-base64-module.test.ts", "test/js-base64-global.test.ts" ] -} +} \ No newline at end of file diff --git a/types/js-beautify/tsconfig.json b/types/js-beautify/tsconfig.json index 28b0a603af..cc2c018f82 100644 --- a/types/js-beautify/tsconfig.json +++ b/types/js-beautify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/js-clipper/tsconfig.json b/types/js-clipper/tsconfig.json index b4074f17c1..c9858c90d5 100644 --- a/types/js-clipper/tsconfig.json +++ b/types/js-clipper/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/js-combinatorics/tsconfig.json b/types/js-combinatorics/tsconfig.json index ff2a188dcb..fbba418acc 100644 --- a/types/js-combinatorics/tsconfig.json +++ b/types/js-combinatorics/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/js-cookie/tsconfig.json b/types/js-cookie/tsconfig.json index 63cd342137..a560d75efb 100644 --- a/types/js-cookie/tsconfig.json +++ b/types/js-cookie/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/js-data-angular/tsconfig.json b/types/js-data-angular/tsconfig.json index e5117ff27a..11abc585bf 100644 --- a/types/js-data-angular/tsconfig.json +++ b/types/js-data-angular/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/js-fixtures/tsconfig.json b/types/js-fixtures/tsconfig.json index 2f4cb02c4b..4a4c40a440 100644 --- a/types/js-fixtures/tsconfig.json +++ b/types/js-fixtures/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/js-git/tsconfig.json b/types/js-git/tsconfig.json index e53cf4f6d8..4c79ddd5b9 100644 --- a/types/js-git/tsconfig.json +++ b/types/js-git/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/js-md5/tsconfig.json b/types/js-md5/tsconfig.json index 6348210a6b..6a77ef18a2 100644 --- a/types/js-md5/tsconfig.json +++ b/types/js-md5/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/js-priority-queue/tsconfig.json b/types/js-priority-queue/tsconfig.json index 12e9d7f000..c9efddc5ca 100644 --- a/types/js-priority-queue/tsconfig.json +++ b/types/js-priority-queue/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/js-quantities/tsconfig.json b/types/js-quantities/tsconfig.json index 1866fc5155..1d1f7f7a20 100644 --- a/types/js-quantities/tsconfig.json +++ b/types/js-quantities/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/js-schema/tsconfig.json b/types/js-schema/tsconfig.json index 1c26cda396..2fccac00c6 100644 --- a/types/js-schema/tsconfig.json +++ b/types/js-schema/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/js-search/tsconfig.json b/types/js-search/tsconfig.json index eb6253aec9..c940fa5db5 100644 --- a/types/js-search/tsconfig.json +++ b/types/js-search/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/js-to-java/tsconfig.json b/types/js-to-java/tsconfig.json index 6a927d9578..2aac508ed8 100644 --- a/types/js-to-java/tsconfig.json +++ b/types/js-to-java/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/js-url/tsconfig.json b/types/js-url/tsconfig.json index 117bf43420..a2cc751fb6 100644 --- a/types/js-url/tsconfig.json +++ b/types/js-url/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/js-yaml/tsconfig.json b/types/js-yaml/tsconfig.json index c36931fa61..8626455989 100644 --- a/types/js-yaml/tsconfig.json +++ b/types/js-yaml/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "js-yaml-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/js.spec/tsconfig.json b/types/js.spec/tsconfig.json index c7a1d13a57..063bbacc55 100644 --- a/types/js.spec/tsconfig.json +++ b/types/js.spec/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsbn/tsconfig.json b/types/jsbn/tsconfig.json index 68fb5fc2d5..a6c95282f7 100644 --- a/types/jsbn/tsconfig.json +++ b/types/jsbn/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jschannel/tsconfig.json b/types/jschannel/tsconfig.json index 83727a281c..4ba367418e 100644 --- a/types/jschannel/tsconfig.json +++ b/types/jschannel/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "jschannel-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jscrollpane/tsconfig.json b/types/jscrollpane/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/jscrollpane/tsconfig.json +++ b/types/jscrollpane/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/jsdeferred/tsconfig.json b/types/jsdeferred/tsconfig.json index 7b6fbf8171..1cbd4c6293 100644 --- a/types/jsdeferred/tsconfig.json +++ b/types/jsdeferred/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsdom/tsconfig.json b/types/jsdom/tsconfig.json index fe7f9dd41f..ef95267a70 100644 --- a/types/jsdom/tsconfig.json +++ b/types/jsdom/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsdom/v2/tsconfig.json b/types/jsdom/v2/tsconfig.json index 3027a13385..32ce5274b0 100644 --- a/types/jsdom/v2/tsconfig.json +++ b/types/jsdom/v2/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsen/tsconfig.json b/types/jsen/tsconfig.json index cf32dd60a8..fb95888bdb 100644 --- a/types/jsen/tsconfig.json +++ b/types/jsen/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsend/tsconfig.json b/types/jsend/tsconfig.json index 13a1b84a23..2aa1162a01 100644 --- a/types/jsend/tsconfig.json +++ b/types/jsend/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsesc/tsconfig.json b/types/jsesc/tsconfig.json index d9f4194987..656652f612 100644 --- a/types/jsesc/tsconfig.json +++ b/types/jsesc/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsfl/tsconfig.json b/types/jsfl/tsconfig.json index 581bbb4199..6c907b4e28 100644 --- a/types/jsfl/tsconfig.json +++ b/types/jsfl/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsforce/tsconfig.json b/types/jsforce/tsconfig.json index 0d480d799f..73623d7e99 100644 --- a/types/jsforce/tsconfig.json +++ b/types/jsforce/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jshamcrest/tsconfig.json b/types/jshamcrest/tsconfig.json index dd54b4d553..8972d0fa35 100644 --- a/types/jshamcrest/tsconfig.json +++ b/types/jshamcrest/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsmockito/tsconfig.json b/types/jsmockito/tsconfig.json index 3b81da0df0..85db6db99b 100644 --- a/types/jsmockito/tsconfig.json +++ b/types/jsmockito/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsnox/tsconfig.json b/types/jsnox/tsconfig.json index 03450f596c..2d6ef33c2f 100644 --- a/types/jsnox/tsconfig.json +++ b/types/jsnox/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/json-editor/tsconfig.json b/types/json-editor/tsconfig.json index accf3485bf..9bdce0acb6 100644 --- a/types/json-editor/tsconfig.json +++ b/types/json-editor/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/json-js/tsconfig.json b/types/json-js/tsconfig.json index 0bac144d32..1ca12a9cee 100644 --- a/types/json-js/tsconfig.json +++ b/types/json-js/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/json-merge-patch/tsconfig.json b/types/json-merge-patch/tsconfig.json index 2c3683dc41..f3a8a23907 100644 --- a/types/json-merge-patch/tsconfig.json +++ b/types/json-merge-patch/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/json-patch/tsconfig.json b/types/json-patch/tsconfig.json index bcd1d84d36..ef71692ebc 100644 --- a/types/json-patch/tsconfig.json +++ b/types/json-patch/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/json-pointer/tsconfig.json b/types/json-pointer/tsconfig.json index f5b746e548..1f38a08c46 100644 --- a/types/json-pointer/tsconfig.json +++ b/types/json-pointer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/json-query/tsconfig.json b/types/json-query/tsconfig.json index 9a317f4d83..85f1dfd7f7 100644 --- a/types/json-query/tsconfig.json +++ b/types/json-query/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/json-rpc-ws/tsconfig.json b/types/json-rpc-ws/tsconfig.json index d062401159..9ee376affa 100644 --- a/types/json-rpc-ws/tsconfig.json +++ b/types/json-rpc-ws/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/json-schema/tsconfig.json b/types/json-schema/tsconfig.json index 443caf8239..dabf0dd1ee 100644 --- a/types/json-schema/tsconfig.json +++ b/types/json-schema/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/json-socket/tsconfig.json b/types/json-socket/tsconfig.json index 5901e0b745..a173dc8fb8 100644 --- a/types/json-socket/tsconfig.json +++ b/types/json-socket/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/json-stable-stringify/tsconfig.json b/types/json-stable-stringify/tsconfig.json index bb605781c5..4b8cd49f28 100644 --- a/types/json-stable-stringify/tsconfig.json +++ b/types/json-stable-stringify/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/json-stringify-safe/tsconfig.json b/types/json-stringify-safe/tsconfig.json index f4ca1b5e30..f86443faca 100644 --- a/types/json-stringify-safe/tsconfig.json +++ b/types/json-stringify-safe/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/json2md/tsconfig.json b/types/json2md/tsconfig.json index e0fd95f150..44162d1678 100644 --- a/types/json2md/tsconfig.json +++ b/types/json2md/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/json5/tsconfig.json b/types/json5/tsconfig.json index bf318f8b10..5bafbb80e7 100644 --- a/types/json5/tsconfig.json +++ b/types/json5/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsonata/tsconfig.json b/types/jsonata/tsconfig.json index c047ca52bf..38ed068b63 100644 --- a/types/jsonata/tsconfig.json +++ b/types/jsonata/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsoneditor/tsconfig.json b/types/jsoneditor/tsconfig.json index 299abd4f68..7afee352a9 100644 --- a/types/jsoneditor/tsconfig.json +++ b/types/jsoneditor/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsoneditoronline/tsconfig.json b/types/jsoneditoronline/tsconfig.json index 25ef8ae26a..134dd22ef9 100644 --- a/types/jsoneditoronline/tsconfig.json +++ b/types/jsoneditoronline/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsonfile/tsconfig.json b/types/jsonfile/tsconfig.json index 287f9558c5..268bc6f4d0 100644 --- a/types/jsonfile/tsconfig.json +++ b/types/jsonfile/tsconfig.json @@ -14,10 +14,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ "index.d.ts", "jsonfile-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jsonminify/tsconfig.json b/types/jsonminify/tsconfig.json index 0df74ef465..bc333f1dd1 100644 --- a/types/jsonminify/tsconfig.json +++ b/types/jsonminify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsonnet/tsconfig.json b/types/jsonnet/tsconfig.json index c30a5a2ffb..e10b49c8ac 100644 --- a/types/jsonnet/tsconfig.json +++ b/types/jsonnet/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsonp/tsconfig.json b/types/jsonp/tsconfig.json index 760822ff6b..988ca90c56 100644 --- a/types/jsonp/tsconfig.json +++ b/types/jsonp/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsonpath/tsconfig.json b/types/jsonpath/tsconfig.json index 04b06d5baf..853c26cb04 100644 --- a/types/jsonpath/tsconfig.json +++ b/types/jsonpath/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsonrpc-serializer/tsconfig.json b/types/jsonrpc-serializer/tsconfig.json index f3a91d58c1..7558589d7b 100644 --- a/types/jsonrpc-serializer/tsconfig.json +++ b/types/jsonrpc-serializer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsonstream/tsconfig.json b/types/jsonstream/tsconfig.json index 9fe19a4c05..5ebb03c9dc 100644 --- a/types/jsonstream/tsconfig.json +++ b/types/jsonstream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsonwebtoken/tsconfig.json b/types/jsonwebtoken/tsconfig.json index c16a931577..fcc3affcaf 100644 --- a/types/jsonwebtoken/tsconfig.json +++ b/types/jsonwebtoken/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jspdf/tsconfig.json b/types/jspdf/tsconfig.json index 697de6db64..6e5edabf45 100644 --- a/types/jspdf/tsconfig.json +++ b/types/jspdf/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsqrcode/tsconfig.json b/types/jsqrcode/tsconfig.json index dcc6bf63a2..487b814e24 100644 --- a/types/jsqrcode/tsconfig.json +++ b/types/jsqrcode/tsconfig.json @@ -11,6 +11,7 @@ "strictFunctionTypes": true, "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsrender/tsconfig.json b/types/jsrender/tsconfig.json index 71bcce3848..70dc2d65fe 100644 --- a/types/jsrender/tsconfig.json +++ b/types/jsrender/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsreport-core/tsconfig.json b/types/jsreport-core/tsconfig.json index 1602790a14..b10a124791 100644 --- a/types/jsreport-core/tsconfig.json +++ b/types/jsreport-core/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "esnext" - ], - "strictFunctionTypes": true, - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "jsreport-core-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "esnext" + ], + "strictFunctionTypes": true, + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "jsreport-core-tests.ts" + ] } \ No newline at end of file diff --git a/types/jsrp/tsconfig.json b/types/jsrp/tsconfig.json index eee1ca1391..373b2161c7 100644 --- a/types/jsrp/tsconfig.json +++ b/types/jsrp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jss/tsconfig.json b/types/jss/tsconfig.json index f34791192c..c04079a405 100644 --- a/types/jss/tsconfig.json +++ b/types/jss/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "jss-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jssha/tsconfig.json b/types/jssha/tsconfig.json index 9e54d3c27a..d510b70414 100644 --- a/types/jssha/tsconfig.json +++ b/types/jssha/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/jstimezonedetect/tsconfig.json b/types/jstimezonedetect/tsconfig.json index b774b2f27b..df242a4ba3 100644 --- a/types/jstimezonedetect/tsconfig.json +++ b/types/jstimezonedetect/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jstorage/tsconfig.json b/types/jstorage/tsconfig.json index 7d03130196..80858e1d65 100644 --- a/types/jstorage/tsconfig.json +++ b/types/jstorage/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jstree/tsconfig.json b/types/jstree/tsconfig.json index 235aef261c..6552fc878b 100644 --- a/types/jstree/tsconfig.json +++ b/types/jstree/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsts/tsconfig.json b/types/jsts/tsconfig.json index ac8ce72682..66fe8f3951 100644 --- a/types/jsts/tsconfig.json +++ b/types/jsts/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsuite/tsconfig.json b/types/jsuite/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/jsuite/tsconfig.json +++ b/types/jsuite/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/jsuri/tsconfig.json b/types/jsuri/tsconfig.json index aa5a702117..afbfd8a324 100644 --- a/types/jsuri/tsconfig.json +++ b/types/jsuri/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsurl/tsconfig.json b/types/jsurl/tsconfig.json index 3b795be015..2423c10630 100644 --- a/types/jsurl/tsconfig.json +++ b/types/jsurl/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jsx-chai/tsconfig.json b/types/jsx-chai/tsconfig.json index 5ff33d9bec..834397a636 100644 --- a/types/jsx-chai/tsconfig.json +++ b/types/jsx-chai/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jszip/tsconfig.json b/types/jszip/tsconfig.json index c5a1abf752..41412a6a91 100644 --- a/types/jszip/tsconfig.json +++ b/types/jszip/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jug/tsconfig.json b/types/jug/tsconfig.json index ceaf8a8e0a..22b58e92cd 100644 --- a/types/jug/tsconfig.json +++ b/types/jug/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jui-core/tsconfig.json b/types/jui-core/tsconfig.json index 67f1eb8560..74b17d0023 100644 --- a/types/jui-core/tsconfig.json +++ b/types/jui-core/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jui-grid/tsconfig.json b/types/jui-grid/tsconfig.json index 44d9c93211..27e8059449 100644 --- a/types/jui-grid/tsconfig.json +++ b/types/jui-grid/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jui/tsconfig.json b/types/jui/tsconfig.json index 6ea9a2ea6b..c3a1433f50 100644 --- a/types/jui/tsconfig.json +++ b/types/jui/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jump.js/tsconfig.json b/types/jump.js/tsconfig.json index 58186807e9..3ee1305fa6 100644 --- a/types/jump.js/tsconfig.json +++ b/types/jump.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jweixin/tsconfig.json b/types/jweixin/tsconfig.json index d2740833c5..c4bb5b925b 100644 --- a/types/jweixin/tsconfig.json +++ b/types/jweixin/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jwplayer/tsconfig.json b/types/jwplayer/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/jwplayer/tsconfig.json +++ b/types/jwplayer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/jws/tsconfig.json b/types/jws/tsconfig.json index a8a2f625d3..e9dbaeac09 100644 --- a/types/jws/tsconfig.json +++ b/types/jws/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "jws-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jwt-client/tsconfig.json b/types/jwt-client/tsconfig.json index 3611c59237..b8ddbc0257 100644 --- a/types/jwt-client/tsconfig.json +++ b/types/jwt-client/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jwt-decode/tsconfig.json b/types/jwt-decode/tsconfig.json index f53a16f5a6..3cc921989b 100644 --- a/types/jwt-decode/tsconfig.json +++ b/types/jwt-decode/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jwt-decode/v1/tsconfig.json b/types/jwt-decode/v1/tsconfig.json index 261fdece08..73afba4a58 100644 --- a/types/jwt-decode/v1/tsconfig.json +++ b/types/jwt-decode/v1/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/jwt-simple/tsconfig.json b/types/jwt-simple/tsconfig.json index 52f84f6e77..9a3c56cf3e 100644 --- a/types/jwt-simple/tsconfig.json +++ b/types/jwt-simple/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/kafka-node/tsconfig.json b/types/kafka-node/tsconfig.json index 154c35e191..97ce936047 100644 --- a/types/kafka-node/tsconfig.json +++ b/types/kafka-node/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/karma-chai-sinon/tsconfig.json b/types/karma-chai-sinon/tsconfig.json index 86c4fa3299..aa4d11fa60 100644 --- a/types/karma-chai-sinon/tsconfig.json +++ b/types/karma-chai-sinon/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/karma-chai/tsconfig.json b/types/karma-chai/tsconfig.json index 726bb90e80..775b764e40 100644 --- a/types/karma-chai/tsconfig.json +++ b/types/karma-chai/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/karma-coverage/tsconfig.json b/types/karma-coverage/tsconfig.json index fe130be15a..492678b674 100644 --- a/types/karma-coverage/tsconfig.json +++ b/types/karma-coverage/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/karma-fixture/tsconfig.json b/types/karma-fixture/tsconfig.json index 0b39c302b4..9376aa9424 100644 --- a/types/karma-fixture/tsconfig.json +++ b/types/karma-fixture/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/karma-jasmine/tsconfig.json b/types/karma-jasmine/tsconfig.json index 54f70b6c45..6de5629a75 100644 --- a/types/karma-jasmine/tsconfig.json +++ b/types/karma-jasmine/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/karma-webpack/tsconfig.json b/types/karma-webpack/tsconfig.json index 86996cdcfa..e019bd4bdf 100644 --- a/types/karma-webpack/tsconfig.json +++ b/types/karma-webpack/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/karma/tsconfig.json b/types/karma/tsconfig.json index 23c81534d2..157092c790 100644 --- a/types/karma/tsconfig.json +++ b/types/karma/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/katex/tsconfig.json b/types/katex/tsconfig.json index 2cf3297aca..3bad4a0cd9 100644 --- a/types/katex/tsconfig.json +++ b/types/katex/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/kcors/tsconfig.json b/types/kcors/tsconfig.json index 3322dc4921..4eb388863a 100644 --- a/types/kcors/tsconfig.json +++ b/types/kcors/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/kdbush/tsconfig.json b/types/kdbush/tsconfig.json index 11107837a0..79fe884afe 100644 --- a/types/kdbush/tsconfig.json +++ b/types/kdbush/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/kefir/tsconfig.json b/types/kefir/tsconfig.json index e1d57fe2e3..7fc74e6713 100644 --- a/types/kefir/tsconfig.json +++ b/types/kefir/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/kendo-ui/tsconfig.json b/types/kendo-ui/tsconfig.json index e6e296e3ee..285d942999 100644 --- a/types/kendo-ui/tsconfig.json +++ b/types/kendo-ui/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/keyboardjs/tsconfig.json b/types/keyboardjs/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/keyboardjs/tsconfig.json +++ b/types/keyboardjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/keygrip/tsconfig.json b/types/keygrip/tsconfig.json index 6a68ad8ba2..7c096ed3b4 100644 --- a/types/keygrip/tsconfig.json +++ b/types/keygrip/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/keymaster/tsconfig.json b/types/keymaster/tsconfig.json index c35aaa1b01..9fb59df1bc 100644 --- a/types/keymaster/tsconfig.json +++ b/types/keymaster/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/keymirror/tsconfig.json b/types/keymirror/tsconfig.json index 4d6365bc4c..a237e2396d 100644 --- a/types/keymirror/tsconfig.json +++ b/types/keymirror/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/keypress.js/tsconfig.json b/types/keypress.js/tsconfig.json index 1643b0a002..00a88fbf72 100644 --- a/types/keypress.js/tsconfig.json +++ b/types/keypress.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/keysym/tsconfig.json b/types/keysym/tsconfig.json index b2daaa6d31..0a853aa126 100644 --- a/types/keysym/tsconfig.json +++ b/types/keysym/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/keytar/tsconfig.json b/types/keytar/tsconfig.json index 5a2fe428ff..43efd1ec43 100644 --- a/types/keytar/tsconfig.json +++ b/types/keytar/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/kii-cloud-sdk/tsconfig.json b/types/kii-cloud-sdk/tsconfig.json index fd1b84aab9..69b251f247 100644 --- a/types/kii-cloud-sdk/tsconfig.json +++ b/types/kii-cloud-sdk/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/kik-browser/tsconfig.json b/types/kik-browser/tsconfig.json index d832795617..0a59996f8c 100644 --- a/types/kik-browser/tsconfig.json +++ b/types/kik-browser/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/kineticjs/tsconfig.json b/types/kineticjs/tsconfig.json index cee48ec061..976f2dc3d3 100644 --- a/types/kineticjs/tsconfig.json +++ b/types/kineticjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/klaw-sync/tsconfig.json b/types/klaw-sync/tsconfig.json index f6fe9eb8bd..fbca4d319c 100644 --- a/types/klaw-sync/tsconfig.json +++ b/types/klaw-sync/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/klaw/tsconfig.json b/types/klaw/tsconfig.json index 1d3db09e05..afa97d598d 100644 --- a/types/klaw/tsconfig.json +++ b/types/klaw/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/klaw/v1/tsconfig.json b/types/klaw/v1/tsconfig.json index 35caa3f9ea..8af7f84870 100644 --- a/types/klaw/v1/tsconfig.json +++ b/types/klaw/v1/tsconfig.json @@ -19,7 +19,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/kms-json/tsconfig.json b/types/kms-json/tsconfig.json index f8ac8d1921..ed29ab5a4d 100644 --- a/types/kms-json/tsconfig.json +++ b/types/kms-json/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "kms-json-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/knex-postgis/tsconfig.json b/types/knex-postgis/tsconfig.json index 7d088da2f2..a3172fd1a1 100644 --- a/types/knex-postgis/tsconfig.json +++ b/types/knex-postgis/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/knex/tsconfig.json b/types/knex/tsconfig.json index 41e9ae905e..ceb9258104 100644 --- a/types/knex/tsconfig.json +++ b/types/knex/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "knex-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/knockback/tsconfig.json b/types/knockback/tsconfig.json index fa1c069762..b4076b50e2 100644 --- a/types/knockback/tsconfig.json +++ b/types/knockback/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/knockout-amd-helpers/tsconfig.json b/types/knockout-amd-helpers/tsconfig.json index b79c6d90d2..45078709f1 100644 --- a/types/knockout-amd-helpers/tsconfig.json +++ b/types/knockout-amd-helpers/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/knockout-secure-binding/tsconfig.json b/types/knockout-secure-binding/tsconfig.json index 111b6eeeee..379ad7d39b 100644 --- a/types/knockout-secure-binding/tsconfig.json +++ b/types/knockout-secure-binding/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/knockout-transformations/tsconfig.json b/types/knockout-transformations/tsconfig.json index 4e5e456ef6..b15f7bf06b 100644 --- a/types/knockout-transformations/tsconfig.json +++ b/types/knockout-transformations/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/knockout.deferred.updates/tsconfig.json b/types/knockout.deferred.updates/tsconfig.json index e454e60d07..d01b404ad5 100644 --- a/types/knockout.deferred.updates/tsconfig.json +++ b/types/knockout.deferred.updates/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/knockout.editables/tsconfig.json b/types/knockout.editables/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/knockout.editables/tsconfig.json +++ b/types/knockout.editables/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/knockout.es5/tsconfig.json b/types/knockout.es5/tsconfig.json index 794ea97505..5df65298d6 100644 --- a/types/knockout.es5/tsconfig.json +++ b/types/knockout.es5/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/knockout.kogrid/tsconfig.json b/types/knockout.kogrid/tsconfig.json index 005a8c6eb1..d410f0d355 100644 --- a/types/knockout.kogrid/tsconfig.json +++ b/types/knockout.kogrid/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/knockout.mapper/tsconfig.json b/types/knockout.mapper/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/knockout.mapper/tsconfig.json +++ b/types/knockout.mapper/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/knockout.mapping/tsconfig.json b/types/knockout.mapping/tsconfig.json index 1ae87d442f..abc93c70b5 100644 --- a/types/knockout.mapping/tsconfig.json +++ b/types/knockout.mapping/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/knockout.postbox/tsconfig.json b/types/knockout.postbox/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/knockout.postbox/tsconfig.json +++ b/types/knockout.postbox/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/knockout.projections/tsconfig.json b/types/knockout.projections/tsconfig.json index 97fa4bbc5e..963e6eed90 100644 --- a/types/knockout.projections/tsconfig.json +++ b/types/knockout.projections/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/knockout.punches/tsconfig.json b/types/knockout.punches/tsconfig.json index 6851149d09..e0388f01e2 100644 --- a/types/knockout.punches/tsconfig.json +++ b/types/knockout.punches/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/knockout.rx/tsconfig.json b/types/knockout.rx/tsconfig.json index 3a2a3fdb73..737007087d 100644 --- a/types/knockout.rx/tsconfig.json +++ b/types/knockout.rx/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/knockout.validation/tsconfig.json b/types/knockout.validation/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/knockout.validation/tsconfig.json +++ b/types/knockout.validation/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/knockout.viewmodel/tsconfig.json b/types/knockout.viewmodel/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/knockout.viewmodel/tsconfig.json +++ b/types/knockout.viewmodel/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/knockout/tsconfig.json b/types/knockout/tsconfig.json index 1a314f7b0e..a37a6a6079 100644 --- a/types/knockout/tsconfig.json +++ b/types/knockout/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/knockstrap/tsconfig.json b/types/knockstrap/tsconfig.json index 4d09924e6d..4572dcd8c4 100644 --- a/types/knockstrap/tsconfig.json +++ b/types/knockstrap/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/knuddels-userapps-api/tsconfig.json b/types/knuddels-userapps-api/tsconfig.json index 96c3a04cc9..967fe5f571 100644 --- a/types/knuddels-userapps-api/tsconfig.json +++ b/types/knuddels-userapps-api/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ko.plus/tsconfig.json b/types/ko.plus/tsconfig.json index 7dbc42737f..6395dd819f 100644 --- a/types/ko.plus/tsconfig.json +++ b/types/ko.plus/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-basic-auth/tsconfig.json b/types/koa-basic-auth/tsconfig.json index 26e8260665..c6f340afe1 100644 --- a/types/koa-basic-auth/tsconfig.json +++ b/types/koa-basic-auth/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-bodyparser/tsconfig.json b/types/koa-bodyparser/tsconfig.json index 1e7b5ee33e..e2af3dd2e0 100644 --- a/types/koa-bodyparser/tsconfig.json +++ b/types/koa-bodyparser/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-cache-control/tsconfig.json b/types/koa-cache-control/tsconfig.json index 3ecc5fd497..6c5cd8ce2b 100644 --- a/types/koa-cache-control/tsconfig.json +++ b/types/koa-cache-control/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-compose/tsconfig.json b/types/koa-compose/tsconfig.json index 59b13908a4..dcb5315c10 100644 --- a/types/koa-compose/tsconfig.json +++ b/types/koa-compose/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/koa-compress/tsconfig.json b/types/koa-compress/tsconfig.json index 332dd960c4..f52f464f96 100644 --- a/types/koa-compress/tsconfig.json +++ b/types/koa-compress/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/koa-conditional-get/tsconfig.json b/types/koa-conditional-get/tsconfig.json index 111408f39b..36380b9cc4 100644 --- a/types/koa-conditional-get/tsconfig.json +++ b/types/koa-conditional-get/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "koa-conditional-get-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/koa-csrf/tsconfig.json b/types/koa-csrf/tsconfig.json index 56e1cf81a8..ff82d8c580 100644 --- a/types/koa-csrf/tsconfig.json +++ b/types/koa-csrf/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "koa-csrf-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/koa-etag/tsconfig.json b/types/koa-etag/tsconfig.json index d6b1feb52c..511623a09e 100644 --- a/types/koa-etag/tsconfig.json +++ b/types/koa-etag/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "koa-etag-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/koa-favicon/tsconfig.json b/types/koa-favicon/tsconfig.json index 15566de398..bab1d261b3 100644 --- a/types/koa-favicon/tsconfig.json +++ b/types/koa-favicon/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-generic-session/tsconfig.json b/types/koa-generic-session/tsconfig.json index d16c12ef15..5b694a7245 100644 --- a/types/koa-generic-session/tsconfig.json +++ b/types/koa-generic-session/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-hbs/tsconfig.json b/types/koa-hbs/tsconfig.json index b286334455..e2651e411b 100644 --- a/types/koa-hbs/tsconfig.json +++ b/types/koa-hbs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-helmet/tsconfig.json b/types/koa-helmet/tsconfig.json index 1024081843..8f895a44bf 100644 --- a/types/koa-helmet/tsconfig.json +++ b/types/koa-helmet/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-joi-router/tsconfig.json b/types/koa-joi-router/tsconfig.json index a872570270..d5d1b300ec 100644 --- a/types/koa-joi-router/tsconfig.json +++ b/types/koa-joi-router/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/koa-json-error/tsconfig.json b/types/koa-json-error/tsconfig.json index 7aa60a506f..620700358d 100644 --- a/types/koa-json-error/tsconfig.json +++ b/types/koa-json-error/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-json/tsconfig.json b/types/koa-json/tsconfig.json index 914c85a096..a9350d68de 100644 --- a/types/koa-json/tsconfig.json +++ b/types/koa-json/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-logger-winston/tsconfig.json b/types/koa-logger-winston/tsconfig.json index 2f3ccb79ee..43a0fb6611 100644 --- a/types/koa-logger-winston/tsconfig.json +++ b/types/koa-logger-winston/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-logger/tsconfig.json b/types/koa-logger/tsconfig.json index 28110f20ac..a82734e6f3 100644 --- a/types/koa-logger/tsconfig.json +++ b/types/koa-logger/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-morgan/tsconfig.json b/types/koa-morgan/tsconfig.json index ecf170e923..a2b3ae7c8d 100644 --- a/types/koa-morgan/tsconfig.json +++ b/types/koa-morgan/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-mount/tsconfig.json b/types/koa-mount/tsconfig.json index d19516145b..ba31b0009f 100644 --- a/types/koa-mount/tsconfig.json +++ b/types/koa-mount/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-multer/tsconfig.json b/types/koa-multer/tsconfig.json index 63f7b13ec3..64394ca142 100644 --- a/types/koa-multer/tsconfig.json +++ b/types/koa-multer/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "koa-multer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/koa-passport/tsconfig.json b/types/koa-passport/tsconfig.json index fcd51d7953..0e27ba922a 100644 --- a/types/koa-passport/tsconfig.json +++ b/types/koa-passport/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-pino-logger/tsconfig.json b/types/koa-pino-logger/tsconfig.json index 13810e891e..beb0397ac8 100644 --- a/types/koa-pino-logger/tsconfig.json +++ b/types/koa-pino-logger/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-pug/tsconfig.json b/types/koa-pug/tsconfig.json index ac317cd48f..c3faadb87c 100644 --- a/types/koa-pug/tsconfig.json +++ b/types/koa-pug/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-range/tsconfig.json b/types/koa-range/tsconfig.json index 37c1c00f19..bbd6674449 100644 --- a/types/koa-range/tsconfig.json +++ b/types/koa-range/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-redis/tsconfig.json b/types/koa-redis/tsconfig.json index a49a3a13c1..5aa71b8c46 100644 --- a/types/koa-redis/tsconfig.json +++ b/types/koa-redis/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-route/tsconfig.json b/types/koa-route/tsconfig.json index 97dff8158a..d9025db325 100644 --- a/types/koa-route/tsconfig.json +++ b/types/koa-route/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-router/tsconfig.json b/types/koa-router/tsconfig.json index 76f07fef64..22eb9a6790 100644 --- a/types/koa-router/tsconfig.json +++ b/types/koa-router/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-send/tsconfig.json b/types/koa-send/tsconfig.json index 202d12546a..b43b7d491e 100644 --- a/types/koa-send/tsconfig.json +++ b/types/koa-send/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-session-minimal/tsconfig.json b/types/koa-session-minimal/tsconfig.json index 42cafb4d4a..1ce6059819 100644 --- a/types/koa-session-minimal/tsconfig.json +++ b/types/koa-session-minimal/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-session/tsconfig.json b/types/koa-session/tsconfig.json index df47800012..21efde4293 100644 --- a/types/koa-session/tsconfig.json +++ b/types/koa-session/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", @@ -23,4 +24,4 @@ "lib/util.d.ts", "koa-session-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/koa-sslify/tsconfig.json b/types/koa-sslify/tsconfig.json index 64615e2ab9..c41803dcde 100644 --- a/types/koa-sslify/tsconfig.json +++ b/types/koa-sslify/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "koa-sslify-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/koa-static/tsconfig.json b/types/koa-static/tsconfig.json index ce89a3c21f..339209d9de 100644 --- a/types/koa-static/tsconfig.json +++ b/types/koa-static/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-views/tsconfig.json b/types/koa-views/tsconfig.json index 95d7a74d53..31b4ec33f0 100644 --- a/types/koa-views/tsconfig.json +++ b/types/koa-views/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa-webpack/tsconfig.json b/types/koa-webpack/tsconfig.json index d3cef374db..7ff0f551fe 100644 --- a/types/koa-webpack/tsconfig.json +++ b/types/koa-webpack/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "koa-webpack-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/koa-websocket/tsconfig.json b/types/koa-websocket/tsconfig.json index 87c9225d08..4a0daa327f 100644 --- a/types/koa-websocket/tsconfig.json +++ b/types/koa-websocket/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa/tsconfig.json b/types/koa/tsconfig.json index 5c4ba0f656..730ff1452f 100644 --- a/types/koa/tsconfig.json +++ b/types/koa/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/koa2-cors/tsconfig.json b/types/koa2-cors/tsconfig.json index 6c1a4b2374..9266fd9244 100644 --- a/types/koa2-cors/tsconfig.json +++ b/types/koa2-cors/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/koa__cors/tsconfig.json b/types/koa__cors/tsconfig.json index 220bebc26a..38bf5b7cc1 100644 --- a/types/koa__cors/tsconfig.json +++ b/types/koa__cors/tsconfig.json @@ -15,6 +15,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { "@koa/cors": [ "koa__cors" diff --git a/types/kolite/tsconfig.json b/types/kolite/tsconfig.json index 1dc7da3187..b353af59cf 100644 --- a/types/kolite/tsconfig.json +++ b/types/kolite/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/konami.js/tsconfig.json b/types/konami.js/tsconfig.json index b802a3109c..0d91607c95 100644 --- a/types/konami.js/tsconfig.json +++ b/types/konami.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/kraken-js/tsconfig.json b/types/kraken-js/tsconfig.json index 2fce7a799d..15fd480c05 100644 --- a/types/kraken-js/tsconfig.json +++ b/types/kraken-js/tsconfig.json @@ -9,13 +9,16 @@ "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "kraken-js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/kramed/tsconfig.json b/types/kramed/tsconfig.json index b816669307..95206a5b55 100644 --- a/types/kramed/tsconfig.json +++ b/types/kramed/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/kss/tsconfig.json b/types/kss/tsconfig.json index 987701f0bb..c5edb7df62 100644 --- a/types/kss/tsconfig.json +++ b/types/kss/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/kue/tsconfig.json b/types/kue/tsconfig.json index dab7ca300b..1fb275fc79 100644 --- a/types/kue/tsconfig.json +++ b/types/kue/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/kurento-utils/tsconfig.json b/types/kurento-utils/tsconfig.json index 8920df3604..023939e6a2 100644 --- a/types/kurento-utils/tsconfig.json +++ b/types/kurento-utils/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/kuromoji/tsconfig.json b/types/kuromoji/tsconfig.json index f74ea439af..442773f5e9 100644 --- a/types/kuromoji/tsconfig.json +++ b/types/kuromoji/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lab/tsconfig.json b/types/lab/tsconfig.json index 8e0ad06d10..7ddd8d3048 100644 --- a/types/lab/tsconfig.json +++ b/types/lab/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ladda/tsconfig.json b/types/ladda/tsconfig.json index 2d878b6f9d..e14f07795b 100644 --- a/types/ladda/tsconfig.json +++ b/types/ladda/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lasso/tsconfig.json b/types/lasso/tsconfig.json index 210de56a0d..197a5bede9 100644 --- a/types/lasso/tsconfig.json +++ b/types/lasso/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "lasso-tests.ts", @@ -29,4 +30,4 @@ "lib/writers/Writer.d.ts", "middleware/index.d.ts" ] -} +} \ No newline at end of file diff --git a/types/later/tsconfig.json b/types/later/tsconfig.json index 5b74d9d144..338433890b 100644 --- a/types/later/tsconfig.json +++ b/types/later/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/latinize/tsconfig.json b/types/latinize/tsconfig.json index 90b98478aa..2e3c34b548 100644 --- a/types/latinize/tsconfig.json +++ b/types/latinize/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/latlon-geohash/tsconfig.json b/types/latlon-geohash/tsconfig.json index 10d9c00791..d34a297b36 100644 --- a/types/latlon-geohash/tsconfig.json +++ b/types/latlon-geohash/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "latlon-geohash-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/launchpad/tsconfig.json b/types/launchpad/tsconfig.json index 01333e0ca2..348675bca2 100644 --- a/types/launchpad/tsconfig.json +++ b/types/launchpad/tsconfig.json @@ -11,6 +11,7 @@ "strictFunctionTypes": true, "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "types": [], "baseUrl": "../", "typeRoots": [ diff --git a/types/lazy.js/tsconfig.json b/types/lazy.js/tsconfig.json index 0f2d64001d..4faba72fe2 100644 --- a/types/lazy.js/tsconfig.json +++ b/types/lazy.js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lazypipe/tsconfig.json b/types/lazypipe/tsconfig.json index 7eb8c93b6a..f9a761bb01 100644 --- a/types/lazypipe/tsconfig.json +++ b/types/lazypipe/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ldapjs/tsconfig.json b/types/ldapjs/tsconfig.json index a0df7615fd..860c7deb89 100644 --- a/types/ldapjs/tsconfig.json +++ b/types/ldapjs/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "ldapjs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/leadfoot/tsconfig.json b/types/leadfoot/tsconfig.json index 5672c5bf4d..7390c30f18 100644 --- a/types/leadfoot/tsconfig.json +++ b/types/leadfoot/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/leaflet-areaselect/tsconfig.json b/types/leaflet-areaselect/tsconfig.json index 98aceb4b21..54aa992c34 100644 --- a/types/leaflet-areaselect/tsconfig.json +++ b/types/leaflet-areaselect/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-curve/tsconfig.json b/types/leaflet-curve/tsconfig.json index 6ca509b566..17abbb6dd6 100644 --- a/types/leaflet-curve/tsconfig.json +++ b/types/leaflet-curve/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-draw/tsconfig.json b/types/leaflet-draw/tsconfig.json index 5db4feb624..d27f42eebf 100644 --- a/types/leaflet-draw/tsconfig.json +++ b/types/leaflet-draw/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-editable/tsconfig.json b/types/leaflet-editable/tsconfig.json index d03e43670e..9565df6304 100644 --- a/types/leaflet-editable/tsconfig.json +++ b/types/leaflet-editable/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-fullscreen/tsconfig.json b/types/leaflet-fullscreen/tsconfig.json index 102331a4af..4273a23910 100644 --- a/types/leaflet-fullscreen/tsconfig.json +++ b/types/leaflet-fullscreen/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-geocoder-mapzen/tsconfig.json b/types/leaflet-geocoder-mapzen/tsconfig.json index 9bf4ee0bfb..197f88ad4f 100644 --- a/types/leaflet-geocoder-mapzen/tsconfig.json +++ b/types/leaflet-geocoder-mapzen/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-gpx/tsconfig.json b/types/leaflet-gpx/tsconfig.json index 08f5612820..475ac13cda 100644 --- a/types/leaflet-gpx/tsconfig.json +++ b/types/leaflet-gpx/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-imageoverlay-rotated/tsconfig.json b/types/leaflet-imageoverlay-rotated/tsconfig.json index 440971024d..4796b0511a 100644 --- a/types/leaflet-imageoverlay-rotated/tsconfig.json +++ b/types/leaflet-imageoverlay-rotated/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-label/tsconfig.json b/types/leaflet-label/tsconfig.json index bf2cfa0f43..ba2680e88c 100644 --- a/types/leaflet-label/tsconfig.json +++ b/types/leaflet-label/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-mouse-position/tsconfig.json b/types/leaflet-mouse-position/tsconfig.json index a853ad3c56..8322b38776 100644 --- a/types/leaflet-mouse-position/tsconfig.json +++ b/types/leaflet-mouse-position/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "leaflet-mouse-position-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/leaflet-polylinedecorator/tsconfig.json b/types/leaflet-polylinedecorator/tsconfig.json index f84b2a3913..7f81263acb 100644 --- a/types/leaflet-polylinedecorator/tsconfig.json +++ b/types/leaflet-polylinedecorator/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-providers/tsconfig.json b/types/leaflet-providers/tsconfig.json index bb2349b7d5..b36bd5c2c4 100644 --- a/types/leaflet-providers/tsconfig.json +++ b/types/leaflet-providers/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-rotatedmarker/tsconfig.json b/types/leaflet-rotatedmarker/tsconfig.json index 18bf544889..195a3ec8ad 100644 --- a/types/leaflet-rotatedmarker/tsconfig.json +++ b/types/leaflet-rotatedmarker/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "leaflet-rotatedmarker-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/leaflet.awesome-markers/tsconfig.json b/types/leaflet.awesome-markers/tsconfig.json index 079cf577d2..6d25407162 100644 --- a/types/leaflet.awesome-markers/tsconfig.json +++ b/types/leaflet.awesome-markers/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.awesome-markers/v0/tsconfig.json b/types/leaflet.awesome-markers/v0/tsconfig.json index 549076e43b..db5190d1ca 100644 --- a/types/leaflet.awesome-markers/v0/tsconfig.json +++ b/types/leaflet.awesome-markers/v0/tsconfig.json @@ -23,7 +23,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.fullscreen/tsconfig.json b/types/leaflet.fullscreen/tsconfig.json index bb2cf83e37..29a6ea1ec7 100644 --- a/types/leaflet.fullscreen/tsconfig.json +++ b/types/leaflet.fullscreen/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.gridlayer.googlemutant/tsconfig.json b/types/leaflet.gridlayer.googlemutant/tsconfig.json index d739a04322..73164f18ca 100644 --- a/types/leaflet.gridlayer.googlemutant/tsconfig.json +++ b/types/leaflet.gridlayer.googlemutant/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.heat/tsconfig.json b/types/leaflet.heat/tsconfig.json index 482c984b8c..cc206c4e7f 100644 --- a/types/leaflet.heat/tsconfig.json +++ b/types/leaflet.heat/tsconfig.json @@ -1,24 +1,25 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "leaflet.heat-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "leaflet.heat-tests.ts" + ] +} \ No newline at end of file diff --git a/types/leaflet.locatecontrol/tsconfig.json b/types/leaflet.locatecontrol/tsconfig.json index 22ab0179b2..6da0fdda3b 100644 --- a/types/leaflet.locatecontrol/tsconfig.json +++ b/types/leaflet.locatecontrol/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.markercluster.layersupport/tsconfig.json b/types/leaflet.markercluster.layersupport/tsconfig.json index 13ba48e6f4..47502f355b 100644 --- a/types/leaflet.markercluster.layersupport/tsconfig.json +++ b/types/leaflet.markercluster.layersupport/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.markercluster/tsconfig.json b/types/leaflet.markercluster/tsconfig.json index b1f7f8c1af..67efe9169e 100644 --- a/types/leaflet.markercluster/tsconfig.json +++ b/types/leaflet.markercluster/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.pancontrol/tsconfig.json b/types/leaflet.pancontrol/tsconfig.json index ec286c0305..8341a27f73 100644 --- a/types/leaflet.pancontrol/tsconfig.json +++ b/types/leaflet.pancontrol/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "leaflet.pancontrol-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/leaflet.pm/tsconfig.json b/types/leaflet.pm/tsconfig.json index b2313b93ee..ffe46ff393 100644 --- a/types/leaflet.pm/tsconfig.json +++ b/types/leaflet.pm/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.polylinemeasure/tsconfig.json b/types/leaflet.polylinemeasure/tsconfig.json index b1db5e086d..2a4070495c 100644 --- a/types/leaflet.polylinemeasure/tsconfig.json +++ b/types/leaflet.polylinemeasure/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "leaflet.polylinemeasure-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/leaflet/tsconfig.json b/types/leaflet/tsconfig.json index 55862abef1..ab1f202443 100644 --- a/types/leaflet/tsconfig.json +++ b/types/leaflet/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leaflet/v0/tsconfig.json b/types/leaflet/v0/tsconfig.json index c8003b67d8..a2d29bb367 100644 --- a/types/leaflet/v0/tsconfig.json +++ b/types/leaflet/v0/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leapmotionts/tsconfig.json b/types/leapmotionts/tsconfig.json index 7ac842a053..b5fc5f85b4 100644 --- a/types/leapmotionts/tsconfig.json +++ b/types/leapmotionts/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/legal-eagle/tsconfig.json b/types/legal-eagle/tsconfig.json index 380eaaed72..d41814f483 100644 --- a/types/legal-eagle/tsconfig.json +++ b/types/legal-eagle/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "legal-eagle-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/less-middleware/tsconfig.json b/types/less-middleware/tsconfig.json index 8a807955b0..fe169cfb2f 100644 --- a/types/less-middleware/tsconfig.json +++ b/types/less-middleware/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/less/tsconfig.json b/types/less/tsconfig.json index 635134c330..002ef68ece 100644 --- a/types/less/tsconfig.json +++ b/types/less/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/less2sass/tsconfig.json b/types/less2sass/tsconfig.json index e70848dca8..fef36e8edd 100644 --- a/types/less2sass/tsconfig.json +++ b/types/less2sass/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "less2sass-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/lestate/tsconfig.json b/types/lestate/tsconfig.json index 152bf946a6..8b6cfd98c1 100644 --- a/types/lestate/tsconfig.json +++ b/types/lestate/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/level-sublevel/tsconfig.json b/types/level-sublevel/tsconfig.json index 4dad69a329..b9253b7772 100644 --- a/types/level-sublevel/tsconfig.json +++ b/types/level-sublevel/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leveldown/tsconfig.json b/types/leveldown/tsconfig.json index 68b5638f5b..5c30c34f2f 100644 --- a/types/leveldown/tsconfig.json +++ b/types/leveldown/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/levelup/tsconfig.json b/types/levelup/tsconfig.json index 8825ba9b79..ac406bd9b2 100644 --- a/types/levelup/tsconfig.json +++ b/types/levelup/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/leven/tsconfig.json b/types/leven/tsconfig.json index 14d505d892..bcdc4add35 100644 --- a/types/leven/tsconfig.json +++ b/types/leven/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/levenshtein/tsconfig.json b/types/levenshtein/tsconfig.json index da44f54a3e..a02655c66d 100644 --- a/types/levenshtein/tsconfig.json +++ b/types/levenshtein/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/libpq/tsconfig.json b/types/libpq/tsconfig.json index c2179c6020..859660d83b 100644 --- a/types/libpq/tsconfig.json +++ b/types/libpq/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/libxmljs/tsconfig.json b/types/libxmljs/tsconfig.json index 7201fffe81..e44e2461e1 100644 --- a/types/libxmljs/tsconfig.json +++ b/types/libxmljs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/libxslt/tsconfig.json b/types/libxslt/tsconfig.json index a7f7f94ffc..85f9f9b81d 100644 --- a/types/libxslt/tsconfig.json +++ b/types/libxslt/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/license-checker/tsconfig.json b/types/license-checker/tsconfig.json index 3cfded1e87..f5b303f669 100644 --- a/types/license-checker/tsconfig.json +++ b/types/license-checker/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lil-uuid/tsconfig.json b/types/lil-uuid/tsconfig.json index 889bd07cca..a1a661c82a 100644 --- a/types/lil-uuid/tsconfig.json +++ b/types/lil-uuid/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "lil-uuid-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/lime-js/tsconfig.json b/types/lime-js/tsconfig.json index fb352deb87..4345d000d2 100644 --- a/types/lime-js/tsconfig.json +++ b/types/lime-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/line-by-line/tsconfig.json b/types/line-by-line/tsconfig.json index c92dc43aac..43e95d3ed0 100644 --- a/types/line-by-line/tsconfig.json +++ b/types/line-by-line/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/line-reader/tsconfig.json b/types/line-reader/tsconfig.json index 0bf05161de..824b195e26 100644 --- a/types/line-reader/tsconfig.json +++ b/types/line-reader/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/linkify-it/tsconfig.json b/types/linkify-it/tsconfig.json index 53501188a6..bfc6f13f86 100644 --- a/types/linkify-it/tsconfig.json +++ b/types/linkify-it/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lls/tsconfig.json b/types/lls/tsconfig.json index 41aa184116..91a2928fd8 100644 --- a/types/lls/tsconfig.json +++ b/types/lls/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/load-json-file/tsconfig.json b/types/load-json-file/tsconfig.json index 9cbafc8746..0c3ea42200 100644 --- a/types/load-json-file/tsconfig.json +++ b/types/load-json-file/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/loader-runner/tsconfig.json b/types/loader-runner/tsconfig.json index 9a8894c61b..72472c0eb3 100644 --- a/types/loader-runner/tsconfig.json +++ b/types/loader-runner/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/loader-utils/tsconfig.json b/types/loader-utils/tsconfig.json index 91aa5704c4..aed67fbc1b 100644 --- a/types/loader-utils/tsconfig.json +++ b/types/loader-utils/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/loadware/tsconfig.json b/types/loadware/tsconfig.json index 5921615bf8..07bc5a8c23 100644 --- a/types/loadware/tsconfig.json +++ b/types/loadware/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lobibox/tsconfig.json b/types/lobibox/tsconfig.json index ef1a1c2f64..ee14a0056b 100644 --- a/types/lobibox/tsconfig.json +++ b/types/lobibox/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/local-dynamo/tsconfig.json b/types/local-dynamo/tsconfig.json index fe3803ac8c..d99efd9ac3 100644 --- a/types/local-dynamo/tsconfig.json +++ b/types/local-dynamo/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "local-dynamo-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/localized-countries/tsconfig.json b/types/localized-countries/tsconfig.json index 61ec539732..bea6b3f1e4 100644 --- a/types/localized-countries/tsconfig.json +++ b/types/localized-countries/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/localizejs-library/tsconfig.json b/types/localizejs-library/tsconfig.json index a297d28148..b0d9382afe 100644 --- a/types/localizejs-library/tsconfig.json +++ b/types/localizejs-library/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/locate-path/tsconfig.json b/types/locate-path/tsconfig.json index 355b51b851..06d40b6727 100644 --- a/types/locate-path/tsconfig.json +++ b/types/locate-path/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lockfile/tsconfig.json b/types/lockfile/tsconfig.json index 83b6126099..86b31141a7 100644 --- a/types/lockfile/tsconfig.json +++ b/types/lockfile/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lockfile/v0/tsconfig.json b/types/lockfile/v0/tsconfig.json index a5f99334c4..2cfa991fab 100644 --- a/types/lockfile/v0/tsconfig.json +++ b/types/lockfile/v0/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lockr/tsconfig.json b/types/lockr/tsconfig.json index 391de2fb03..c693013904 100644 --- a/types/lockr/tsconfig.json +++ b/types/lockr/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/locutus/tsconfig.json b/types/locutus/tsconfig.json index 2a54cd1721..4a1db4fa50 100644 --- a/types/locutus/tsconfig.json +++ b/types/locutus/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lodash-es/tsconfig.json b/types/lodash-es/tsconfig.json index 7f69811c3c..192ee5b0af 100644 --- a/types/lodash-es/tsconfig.json +++ b/types/lodash-es/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", @@ -341,4 +342,4 @@ "zipObjectDeep.d.ts", "zipWith.d.ts" ] -} +} \ No newline at end of file diff --git a/types/lodash-webpack-plugin/tsconfig.json b/types/lodash-webpack-plugin/tsconfig.json index 5a4f35d31e..fd54c3b249 100644 --- a/types/lodash-webpack-plugin/tsconfig.json +++ b/types/lodash-webpack-plugin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lodash.add/tsconfig.json b/types/lodash.add/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.add/tsconfig.json +++ b/types/lodash.add/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.after/tsconfig.json b/types/lodash.after/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.after/tsconfig.json +++ b/types/lodash.after/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.ary/tsconfig.json b/types/lodash.ary/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.ary/tsconfig.json +++ b/types/lodash.ary/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.assign/tsconfig.json b/types/lodash.assign/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.assign/tsconfig.json +++ b/types/lodash.assign/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.assignin/tsconfig.json b/types/lodash.assignin/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.assignin/tsconfig.json +++ b/types/lodash.assignin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.assigninwith/tsconfig.json b/types/lodash.assigninwith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.assigninwith/tsconfig.json +++ b/types/lodash.assigninwith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.assignwith/tsconfig.json b/types/lodash.assignwith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.assignwith/tsconfig.json +++ b/types/lodash.assignwith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.at/tsconfig.json b/types/lodash.at/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.at/tsconfig.json +++ b/types/lodash.at/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.attempt/tsconfig.json b/types/lodash.attempt/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.attempt/tsconfig.json +++ b/types/lodash.attempt/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.before/tsconfig.json b/types/lodash.before/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.before/tsconfig.json +++ b/types/lodash.before/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.bind/tsconfig.json b/types/lodash.bind/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.bind/tsconfig.json +++ b/types/lodash.bind/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.bindall/tsconfig.json b/types/lodash.bindall/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.bindall/tsconfig.json +++ b/types/lodash.bindall/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.bindkey/tsconfig.json b/types/lodash.bindkey/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.bindkey/tsconfig.json +++ b/types/lodash.bindkey/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.camelcase/tsconfig.json b/types/lodash.camelcase/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.camelcase/tsconfig.json +++ b/types/lodash.camelcase/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.capitalize/tsconfig.json b/types/lodash.capitalize/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.capitalize/tsconfig.json +++ b/types/lodash.capitalize/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.castarray/tsconfig.json b/types/lodash.castarray/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.castarray/tsconfig.json +++ b/types/lodash.castarray/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.ceil/tsconfig.json b/types/lodash.ceil/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.ceil/tsconfig.json +++ b/types/lodash.ceil/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.chunk/tsconfig.json b/types/lodash.chunk/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.chunk/tsconfig.json +++ b/types/lodash.chunk/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.clamp/tsconfig.json b/types/lodash.clamp/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.clamp/tsconfig.json +++ b/types/lodash.clamp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.clone/tsconfig.json b/types/lodash.clone/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.clone/tsconfig.json +++ b/types/lodash.clone/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.clonedeep/tsconfig.json b/types/lodash.clonedeep/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.clonedeep/tsconfig.json +++ b/types/lodash.clonedeep/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.clonedeepwith/tsconfig.json b/types/lodash.clonedeepwith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.clonedeepwith/tsconfig.json +++ b/types/lodash.clonedeepwith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.clonewith/tsconfig.json b/types/lodash.clonewith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.clonewith/tsconfig.json +++ b/types/lodash.clonewith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.compact/tsconfig.json b/types/lodash.compact/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.compact/tsconfig.json +++ b/types/lodash.compact/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.concat/tsconfig.json b/types/lodash.concat/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.concat/tsconfig.json +++ b/types/lodash.concat/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.cond/tsconfig.json b/types/lodash.cond/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.cond/tsconfig.json +++ b/types/lodash.cond/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.constant/tsconfig.json b/types/lodash.constant/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.constant/tsconfig.json +++ b/types/lodash.constant/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.countby/tsconfig.json b/types/lodash.countby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.countby/tsconfig.json +++ b/types/lodash.countby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.create/tsconfig.json b/types/lodash.create/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.create/tsconfig.json +++ b/types/lodash.create/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.curry/tsconfig.json b/types/lodash.curry/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.curry/tsconfig.json +++ b/types/lodash.curry/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.curryright/tsconfig.json b/types/lodash.curryright/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.curryright/tsconfig.json +++ b/types/lodash.curryright/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.debounce/tsconfig.json b/types/lodash.debounce/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.debounce/tsconfig.json +++ b/types/lodash.debounce/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.deburr/tsconfig.json b/types/lodash.deburr/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.deburr/tsconfig.json +++ b/types/lodash.deburr/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.defaults/tsconfig.json b/types/lodash.defaults/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.defaults/tsconfig.json +++ b/types/lodash.defaults/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.defaultsdeep/tsconfig.json b/types/lodash.defaultsdeep/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.defaultsdeep/tsconfig.json +++ b/types/lodash.defaultsdeep/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.defer/tsconfig.json b/types/lodash.defer/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.defer/tsconfig.json +++ b/types/lodash.defer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.delay/tsconfig.json b/types/lodash.delay/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.delay/tsconfig.json +++ b/types/lodash.delay/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.difference/tsconfig.json b/types/lodash.difference/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.difference/tsconfig.json +++ b/types/lodash.difference/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.differenceby/tsconfig.json b/types/lodash.differenceby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.differenceby/tsconfig.json +++ b/types/lodash.differenceby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.differencewith/tsconfig.json b/types/lodash.differencewith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.differencewith/tsconfig.json +++ b/types/lodash.differencewith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.divide/tsconfig.json b/types/lodash.divide/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.divide/tsconfig.json +++ b/types/lodash.divide/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.drop/tsconfig.json b/types/lodash.drop/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.drop/tsconfig.json +++ b/types/lodash.drop/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.dropright/tsconfig.json b/types/lodash.dropright/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.dropright/tsconfig.json +++ b/types/lodash.dropright/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.droprightwhile/tsconfig.json b/types/lodash.droprightwhile/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.droprightwhile/tsconfig.json +++ b/types/lodash.droprightwhile/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.dropwhile/tsconfig.json b/types/lodash.dropwhile/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.dropwhile/tsconfig.json +++ b/types/lodash.dropwhile/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.endswith/tsconfig.json b/types/lodash.endswith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.endswith/tsconfig.json +++ b/types/lodash.endswith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.eq/tsconfig.json b/types/lodash.eq/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.eq/tsconfig.json +++ b/types/lodash.eq/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.escape/tsconfig.json b/types/lodash.escape/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.escape/tsconfig.json +++ b/types/lodash.escape/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.escaperegexp/tsconfig.json b/types/lodash.escaperegexp/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.escaperegexp/tsconfig.json +++ b/types/lodash.escaperegexp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.every/tsconfig.json b/types/lodash.every/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.every/tsconfig.json +++ b/types/lodash.every/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.fill/tsconfig.json b/types/lodash.fill/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.fill/tsconfig.json +++ b/types/lodash.fill/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.filter/tsconfig.json b/types/lodash.filter/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.filter/tsconfig.json +++ b/types/lodash.filter/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.find/tsconfig.json b/types/lodash.find/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.find/tsconfig.json +++ b/types/lodash.find/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.findindex/tsconfig.json b/types/lodash.findindex/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.findindex/tsconfig.json +++ b/types/lodash.findindex/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.findkey/tsconfig.json b/types/lodash.findkey/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.findkey/tsconfig.json +++ b/types/lodash.findkey/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.findlast/tsconfig.json b/types/lodash.findlast/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.findlast/tsconfig.json +++ b/types/lodash.findlast/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.findlastindex/tsconfig.json b/types/lodash.findlastindex/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.findlastindex/tsconfig.json +++ b/types/lodash.findlastindex/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.findlastkey/tsconfig.json b/types/lodash.findlastkey/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.findlastkey/tsconfig.json +++ b/types/lodash.findlastkey/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.first/tsconfig.json b/types/lodash.first/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.first/tsconfig.json +++ b/types/lodash.first/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.flatmap/tsconfig.json b/types/lodash.flatmap/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.flatmap/tsconfig.json +++ b/types/lodash.flatmap/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.flatmapdeep/tsconfig.json b/types/lodash.flatmapdeep/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.flatmapdeep/tsconfig.json +++ b/types/lodash.flatmapdeep/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.flatmapdepth/tsconfig.json b/types/lodash.flatmapdepth/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.flatmapdepth/tsconfig.json +++ b/types/lodash.flatmapdepth/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.flatten/tsconfig.json b/types/lodash.flatten/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.flatten/tsconfig.json +++ b/types/lodash.flatten/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.flattendeep/tsconfig.json b/types/lodash.flattendeep/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.flattendeep/tsconfig.json +++ b/types/lodash.flattendeep/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.flattendepth/tsconfig.json b/types/lodash.flattendepth/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.flattendepth/tsconfig.json +++ b/types/lodash.flattendepth/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.flip/tsconfig.json b/types/lodash.flip/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.flip/tsconfig.json +++ b/types/lodash.flip/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.floor/tsconfig.json b/types/lodash.floor/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.floor/tsconfig.json +++ b/types/lodash.floor/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.flow/tsconfig.json b/types/lodash.flow/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.flow/tsconfig.json +++ b/types/lodash.flow/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.flowright/tsconfig.json b/types/lodash.flowright/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.flowright/tsconfig.json +++ b/types/lodash.flowright/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.foreach/tsconfig.json b/types/lodash.foreach/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.foreach/tsconfig.json +++ b/types/lodash.foreach/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.foreachright/tsconfig.json b/types/lodash.foreachright/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.foreachright/tsconfig.json +++ b/types/lodash.foreachright/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.forin/tsconfig.json b/types/lodash.forin/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.forin/tsconfig.json +++ b/types/lodash.forin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.forinright/tsconfig.json b/types/lodash.forinright/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.forinright/tsconfig.json +++ b/types/lodash.forinright/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.forown/tsconfig.json b/types/lodash.forown/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.forown/tsconfig.json +++ b/types/lodash.forown/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.forownright/tsconfig.json b/types/lodash.forownright/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.forownright/tsconfig.json +++ b/types/lodash.forownright/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.frompairs/tsconfig.json b/types/lodash.frompairs/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.frompairs/tsconfig.json +++ b/types/lodash.frompairs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.functions/tsconfig.json b/types/lodash.functions/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.functions/tsconfig.json +++ b/types/lodash.functions/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.functionsin/tsconfig.json b/types/lodash.functionsin/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.functionsin/tsconfig.json +++ b/types/lodash.functionsin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.get/tsconfig.json b/types/lodash.get/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.get/tsconfig.json +++ b/types/lodash.get/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.groupby/tsconfig.json b/types/lodash.groupby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.groupby/tsconfig.json +++ b/types/lodash.groupby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.gt/tsconfig.json b/types/lodash.gt/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.gt/tsconfig.json +++ b/types/lodash.gt/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.gte/tsconfig.json b/types/lodash.gte/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.gte/tsconfig.json +++ b/types/lodash.gte/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.has/tsconfig.json b/types/lodash.has/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.has/tsconfig.json +++ b/types/lodash.has/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.hasin/tsconfig.json b/types/lodash.hasin/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.hasin/tsconfig.json +++ b/types/lodash.hasin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.head/tsconfig.json b/types/lodash.head/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.head/tsconfig.json +++ b/types/lodash.head/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.identity/tsconfig.json b/types/lodash.identity/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.identity/tsconfig.json +++ b/types/lodash.identity/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.includes/tsconfig.json b/types/lodash.includes/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.includes/tsconfig.json +++ b/types/lodash.includes/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.indexof/tsconfig.json b/types/lodash.indexof/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.indexof/tsconfig.json +++ b/types/lodash.indexof/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.initial/tsconfig.json b/types/lodash.initial/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.initial/tsconfig.json +++ b/types/lodash.initial/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.inrange/tsconfig.json b/types/lodash.inrange/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.inrange/tsconfig.json +++ b/types/lodash.inrange/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.intersection/tsconfig.json b/types/lodash.intersection/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.intersection/tsconfig.json +++ b/types/lodash.intersection/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.intersectionby/tsconfig.json b/types/lodash.intersectionby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.intersectionby/tsconfig.json +++ b/types/lodash.intersectionby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.intersectionwith/tsconfig.json b/types/lodash.intersectionwith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.intersectionwith/tsconfig.json +++ b/types/lodash.intersectionwith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.invert/tsconfig.json b/types/lodash.invert/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.invert/tsconfig.json +++ b/types/lodash.invert/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.invertby/tsconfig.json b/types/lodash.invertby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.invertby/tsconfig.json +++ b/types/lodash.invertby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.invoke/tsconfig.json b/types/lodash.invoke/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.invoke/tsconfig.json +++ b/types/lodash.invoke/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.invokemap/tsconfig.json b/types/lodash.invokemap/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.invokemap/tsconfig.json +++ b/types/lodash.invokemap/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isarguments/tsconfig.json b/types/lodash.isarguments/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isarguments/tsconfig.json +++ b/types/lodash.isarguments/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isarray/tsconfig.json b/types/lodash.isarray/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isarray/tsconfig.json +++ b/types/lodash.isarray/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isarraybuffer/tsconfig.json b/types/lodash.isarraybuffer/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isarraybuffer/tsconfig.json +++ b/types/lodash.isarraybuffer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isarraylike/tsconfig.json b/types/lodash.isarraylike/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isarraylike/tsconfig.json +++ b/types/lodash.isarraylike/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isarraylikeobject/tsconfig.json b/types/lodash.isarraylikeobject/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isarraylikeobject/tsconfig.json +++ b/types/lodash.isarraylikeobject/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isboolean/tsconfig.json b/types/lodash.isboolean/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isboolean/tsconfig.json +++ b/types/lodash.isboolean/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isbuffer/tsconfig.json b/types/lodash.isbuffer/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isbuffer/tsconfig.json +++ b/types/lodash.isbuffer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isdate/tsconfig.json b/types/lodash.isdate/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isdate/tsconfig.json +++ b/types/lodash.isdate/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.iselement/tsconfig.json b/types/lodash.iselement/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.iselement/tsconfig.json +++ b/types/lodash.iselement/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isempty/tsconfig.json b/types/lodash.isempty/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isempty/tsconfig.json +++ b/types/lodash.isempty/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isequal/tsconfig.json b/types/lodash.isequal/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isequal/tsconfig.json +++ b/types/lodash.isequal/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isequalwith/tsconfig.json b/types/lodash.isequalwith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isequalwith/tsconfig.json +++ b/types/lodash.isequalwith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.iserror/tsconfig.json b/types/lodash.iserror/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.iserror/tsconfig.json +++ b/types/lodash.iserror/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isfinite/tsconfig.json b/types/lodash.isfinite/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isfinite/tsconfig.json +++ b/types/lodash.isfinite/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isfunction/tsconfig.json b/types/lodash.isfunction/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isfunction/tsconfig.json +++ b/types/lodash.isfunction/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isinteger/tsconfig.json b/types/lodash.isinteger/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isinteger/tsconfig.json +++ b/types/lodash.isinteger/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.islength/tsconfig.json b/types/lodash.islength/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.islength/tsconfig.json +++ b/types/lodash.islength/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.ismap/tsconfig.json b/types/lodash.ismap/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.ismap/tsconfig.json +++ b/types/lodash.ismap/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.ismatch/tsconfig.json b/types/lodash.ismatch/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.ismatch/tsconfig.json +++ b/types/lodash.ismatch/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.ismatchwith/tsconfig.json b/types/lodash.ismatchwith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.ismatchwith/tsconfig.json +++ b/types/lodash.ismatchwith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isnan/tsconfig.json b/types/lodash.isnan/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isnan/tsconfig.json +++ b/types/lodash.isnan/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isnative/tsconfig.json b/types/lodash.isnative/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isnative/tsconfig.json +++ b/types/lodash.isnative/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isnil/tsconfig.json b/types/lodash.isnil/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isnil/tsconfig.json +++ b/types/lodash.isnil/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isnull/tsconfig.json b/types/lodash.isnull/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isnull/tsconfig.json +++ b/types/lodash.isnull/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isnumber/tsconfig.json b/types/lodash.isnumber/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isnumber/tsconfig.json +++ b/types/lodash.isnumber/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isobject/tsconfig.json b/types/lodash.isobject/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isobject/tsconfig.json +++ b/types/lodash.isobject/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isobjectlike/tsconfig.json b/types/lodash.isobjectlike/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isobjectlike/tsconfig.json +++ b/types/lodash.isobjectlike/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isplainobject/tsconfig.json b/types/lodash.isplainobject/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isplainobject/tsconfig.json +++ b/types/lodash.isplainobject/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isregexp/tsconfig.json b/types/lodash.isregexp/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isregexp/tsconfig.json +++ b/types/lodash.isregexp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.issafeinteger/tsconfig.json b/types/lodash.issafeinteger/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.issafeinteger/tsconfig.json +++ b/types/lodash.issafeinteger/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isset/tsconfig.json b/types/lodash.isset/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isset/tsconfig.json +++ b/types/lodash.isset/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isstring/tsconfig.json b/types/lodash.isstring/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isstring/tsconfig.json +++ b/types/lodash.isstring/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.issymbol/tsconfig.json b/types/lodash.issymbol/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.issymbol/tsconfig.json +++ b/types/lodash.issymbol/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.istypedarray/tsconfig.json b/types/lodash.istypedarray/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.istypedarray/tsconfig.json +++ b/types/lodash.istypedarray/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isundefined/tsconfig.json b/types/lodash.isundefined/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isundefined/tsconfig.json +++ b/types/lodash.isundefined/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isweakmap/tsconfig.json b/types/lodash.isweakmap/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isweakmap/tsconfig.json +++ b/types/lodash.isweakmap/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isweakset/tsconfig.json b/types/lodash.isweakset/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.isweakset/tsconfig.json +++ b/types/lodash.isweakset/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.iteratee/tsconfig.json b/types/lodash.iteratee/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.iteratee/tsconfig.json +++ b/types/lodash.iteratee/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.join/tsconfig.json b/types/lodash.join/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.join/tsconfig.json +++ b/types/lodash.join/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.kebabcase/tsconfig.json b/types/lodash.kebabcase/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.kebabcase/tsconfig.json +++ b/types/lodash.kebabcase/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.keyby/tsconfig.json b/types/lodash.keyby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.keyby/tsconfig.json +++ b/types/lodash.keyby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.keys/tsconfig.json b/types/lodash.keys/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.keys/tsconfig.json +++ b/types/lodash.keys/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.keysin/tsconfig.json b/types/lodash.keysin/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.keysin/tsconfig.json +++ b/types/lodash.keysin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.last/tsconfig.json b/types/lodash.last/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.last/tsconfig.json +++ b/types/lodash.last/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.lastindexof/tsconfig.json b/types/lodash.lastindexof/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.lastindexof/tsconfig.json +++ b/types/lodash.lastindexof/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.lowercase/tsconfig.json b/types/lodash.lowercase/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.lowercase/tsconfig.json +++ b/types/lodash.lowercase/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.lowerfirst/tsconfig.json b/types/lodash.lowerfirst/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.lowerfirst/tsconfig.json +++ b/types/lodash.lowerfirst/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.lt/tsconfig.json b/types/lodash.lt/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.lt/tsconfig.json +++ b/types/lodash.lt/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.lte/tsconfig.json b/types/lodash.lte/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.lte/tsconfig.json +++ b/types/lodash.lte/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.mapkeys/tsconfig.json b/types/lodash.mapkeys/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.mapkeys/tsconfig.json +++ b/types/lodash.mapkeys/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.mapvalues/tsconfig.json b/types/lodash.mapvalues/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.mapvalues/tsconfig.json +++ b/types/lodash.mapvalues/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.matches/tsconfig.json b/types/lodash.matches/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.matches/tsconfig.json +++ b/types/lodash.matches/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.matchesproperty/tsconfig.json b/types/lodash.matchesproperty/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.matchesproperty/tsconfig.json +++ b/types/lodash.matchesproperty/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.max/tsconfig.json b/types/lodash.max/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.max/tsconfig.json +++ b/types/lodash.max/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.maxby/tsconfig.json b/types/lodash.maxby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.maxby/tsconfig.json +++ b/types/lodash.maxby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.mean/tsconfig.json b/types/lodash.mean/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.mean/tsconfig.json +++ b/types/lodash.mean/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.meanby/tsconfig.json b/types/lodash.meanby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.meanby/tsconfig.json +++ b/types/lodash.meanby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.memoize/tsconfig.json b/types/lodash.memoize/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.memoize/tsconfig.json +++ b/types/lodash.memoize/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.merge/tsconfig.json b/types/lodash.merge/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.merge/tsconfig.json +++ b/types/lodash.merge/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.mergewith/tsconfig.json b/types/lodash.mergewith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.mergewith/tsconfig.json +++ b/types/lodash.mergewith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.method/tsconfig.json b/types/lodash.method/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.method/tsconfig.json +++ b/types/lodash.method/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.methodof/tsconfig.json b/types/lodash.methodof/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.methodof/tsconfig.json +++ b/types/lodash.methodof/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.min/tsconfig.json b/types/lodash.min/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.min/tsconfig.json +++ b/types/lodash.min/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.minby/tsconfig.json b/types/lodash.minby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.minby/tsconfig.json +++ b/types/lodash.minby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.mixin/tsconfig.json b/types/lodash.mixin/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.mixin/tsconfig.json +++ b/types/lodash.mixin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.negate/tsconfig.json b/types/lodash.negate/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.negate/tsconfig.json +++ b/types/lodash.negate/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.noop/tsconfig.json b/types/lodash.noop/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.noop/tsconfig.json +++ b/types/lodash.noop/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.now/tsconfig.json b/types/lodash.now/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.now/tsconfig.json +++ b/types/lodash.now/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.nth/tsconfig.json b/types/lodash.nth/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.nth/tsconfig.json +++ b/types/lodash.nth/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.ntharg/tsconfig.json b/types/lodash.ntharg/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.ntharg/tsconfig.json +++ b/types/lodash.ntharg/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.omit/tsconfig.json b/types/lodash.omit/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.omit/tsconfig.json +++ b/types/lodash.omit/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.omitby/tsconfig.json b/types/lodash.omitby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.omitby/tsconfig.json +++ b/types/lodash.omitby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.once/tsconfig.json b/types/lodash.once/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.once/tsconfig.json +++ b/types/lodash.once/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.orderby/tsconfig.json b/types/lodash.orderby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.orderby/tsconfig.json +++ b/types/lodash.orderby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.over/tsconfig.json b/types/lodash.over/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.over/tsconfig.json +++ b/types/lodash.over/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.overargs/tsconfig.json b/types/lodash.overargs/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.overargs/tsconfig.json +++ b/types/lodash.overargs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.overevery/tsconfig.json b/types/lodash.overevery/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.overevery/tsconfig.json +++ b/types/lodash.overevery/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.oversome/tsconfig.json b/types/lodash.oversome/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.oversome/tsconfig.json +++ b/types/lodash.oversome/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.pad/tsconfig.json b/types/lodash.pad/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.pad/tsconfig.json +++ b/types/lodash.pad/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.padend/tsconfig.json b/types/lodash.padend/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.padend/tsconfig.json +++ b/types/lodash.padend/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.padstart/tsconfig.json b/types/lodash.padstart/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.padstart/tsconfig.json +++ b/types/lodash.padstart/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.parseint/tsconfig.json b/types/lodash.parseint/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.parseint/tsconfig.json +++ b/types/lodash.parseint/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.partial/tsconfig.json b/types/lodash.partial/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.partial/tsconfig.json +++ b/types/lodash.partial/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.partialright/tsconfig.json b/types/lodash.partialright/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.partialright/tsconfig.json +++ b/types/lodash.partialright/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.partition/tsconfig.json b/types/lodash.partition/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.partition/tsconfig.json +++ b/types/lodash.partition/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.pick/tsconfig.json b/types/lodash.pick/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.pick/tsconfig.json +++ b/types/lodash.pick/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.pickby/tsconfig.json b/types/lodash.pickby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.pickby/tsconfig.json +++ b/types/lodash.pickby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.property/tsconfig.json b/types/lodash.property/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.property/tsconfig.json +++ b/types/lodash.property/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.propertyof/tsconfig.json b/types/lodash.propertyof/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.propertyof/tsconfig.json +++ b/types/lodash.propertyof/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.pull/tsconfig.json b/types/lodash.pull/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.pull/tsconfig.json +++ b/types/lodash.pull/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.pullall/tsconfig.json b/types/lodash.pullall/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.pullall/tsconfig.json +++ b/types/lodash.pullall/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.pullallby/tsconfig.json b/types/lodash.pullallby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.pullallby/tsconfig.json +++ b/types/lodash.pullallby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.pullallwith/tsconfig.json b/types/lodash.pullallwith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.pullallwith/tsconfig.json +++ b/types/lodash.pullallwith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.pullat/tsconfig.json b/types/lodash.pullat/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.pullat/tsconfig.json +++ b/types/lodash.pullat/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.random/tsconfig.json b/types/lodash.random/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.random/tsconfig.json +++ b/types/lodash.random/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.range/tsconfig.json b/types/lodash.range/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.range/tsconfig.json +++ b/types/lodash.range/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.rangeright/tsconfig.json b/types/lodash.rangeright/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.rangeright/tsconfig.json +++ b/types/lodash.rangeright/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.rearg/tsconfig.json b/types/lodash.rearg/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.rearg/tsconfig.json +++ b/types/lodash.rearg/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.reduce/tsconfig.json b/types/lodash.reduce/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.reduce/tsconfig.json +++ b/types/lodash.reduce/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.reduceright/tsconfig.json b/types/lodash.reduceright/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.reduceright/tsconfig.json +++ b/types/lodash.reduceright/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.reject/tsconfig.json b/types/lodash.reject/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.reject/tsconfig.json +++ b/types/lodash.reject/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.remove/tsconfig.json b/types/lodash.remove/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.remove/tsconfig.json +++ b/types/lodash.remove/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.repeat/tsconfig.json b/types/lodash.repeat/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.repeat/tsconfig.json +++ b/types/lodash.repeat/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.replace/tsconfig.json b/types/lodash.replace/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.replace/tsconfig.json +++ b/types/lodash.replace/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.rest/tsconfig.json b/types/lodash.rest/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.rest/tsconfig.json +++ b/types/lodash.rest/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.result/tsconfig.json b/types/lodash.result/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.result/tsconfig.json +++ b/types/lodash.result/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.reverse/tsconfig.json b/types/lodash.reverse/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.reverse/tsconfig.json +++ b/types/lodash.reverse/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.round/tsconfig.json b/types/lodash.round/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.round/tsconfig.json +++ b/types/lodash.round/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sample/tsconfig.json b/types/lodash.sample/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.sample/tsconfig.json +++ b/types/lodash.sample/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.samplesize/tsconfig.json b/types/lodash.samplesize/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.samplesize/tsconfig.json +++ b/types/lodash.samplesize/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.set/tsconfig.json b/types/lodash.set/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.set/tsconfig.json +++ b/types/lodash.set/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.setwith/tsconfig.json b/types/lodash.setwith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.setwith/tsconfig.json +++ b/types/lodash.setwith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.shuffle/tsconfig.json b/types/lodash.shuffle/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.shuffle/tsconfig.json +++ b/types/lodash.shuffle/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.size/tsconfig.json b/types/lodash.size/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.size/tsconfig.json +++ b/types/lodash.size/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.slice/tsconfig.json b/types/lodash.slice/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.slice/tsconfig.json +++ b/types/lodash.slice/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.snakecase/tsconfig.json b/types/lodash.snakecase/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.snakecase/tsconfig.json +++ b/types/lodash.snakecase/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.some/tsconfig.json b/types/lodash.some/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.some/tsconfig.json +++ b/types/lodash.some/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sortby/tsconfig.json b/types/lodash.sortby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.sortby/tsconfig.json +++ b/types/lodash.sortby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sortedindex/tsconfig.json b/types/lodash.sortedindex/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.sortedindex/tsconfig.json +++ b/types/lodash.sortedindex/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sortedindexby/tsconfig.json b/types/lodash.sortedindexby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.sortedindexby/tsconfig.json +++ b/types/lodash.sortedindexby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sortedindexof/tsconfig.json b/types/lodash.sortedindexof/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.sortedindexof/tsconfig.json +++ b/types/lodash.sortedindexof/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sortedlastindex/tsconfig.json b/types/lodash.sortedlastindex/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.sortedlastindex/tsconfig.json +++ b/types/lodash.sortedlastindex/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sortedlastindexby/tsconfig.json b/types/lodash.sortedlastindexby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.sortedlastindexby/tsconfig.json +++ b/types/lodash.sortedlastindexby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sortedlastindexof/tsconfig.json b/types/lodash.sortedlastindexof/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.sortedlastindexof/tsconfig.json +++ b/types/lodash.sortedlastindexof/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sorteduniq/tsconfig.json b/types/lodash.sorteduniq/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.sorteduniq/tsconfig.json +++ b/types/lodash.sorteduniq/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sorteduniqby/tsconfig.json b/types/lodash.sorteduniqby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.sorteduniqby/tsconfig.json +++ b/types/lodash.sorteduniqby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.split/tsconfig.json b/types/lodash.split/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.split/tsconfig.json +++ b/types/lodash.split/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.spread/tsconfig.json b/types/lodash.spread/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.spread/tsconfig.json +++ b/types/lodash.spread/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.startcase/tsconfig.json b/types/lodash.startcase/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.startcase/tsconfig.json +++ b/types/lodash.startcase/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.startswith/tsconfig.json b/types/lodash.startswith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.startswith/tsconfig.json +++ b/types/lodash.startswith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.subtract/tsconfig.json b/types/lodash.subtract/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.subtract/tsconfig.json +++ b/types/lodash.subtract/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sum/tsconfig.json b/types/lodash.sum/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.sum/tsconfig.json +++ b/types/lodash.sum/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sumby/tsconfig.json b/types/lodash.sumby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.sumby/tsconfig.json +++ b/types/lodash.sumby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.tail/tsconfig.json b/types/lodash.tail/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.tail/tsconfig.json +++ b/types/lodash.tail/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.take/tsconfig.json b/types/lodash.take/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.take/tsconfig.json +++ b/types/lodash.take/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.takeright/tsconfig.json b/types/lodash.takeright/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.takeright/tsconfig.json +++ b/types/lodash.takeright/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.takerightwhile/tsconfig.json b/types/lodash.takerightwhile/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.takerightwhile/tsconfig.json +++ b/types/lodash.takerightwhile/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.takewhile/tsconfig.json b/types/lodash.takewhile/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.takewhile/tsconfig.json +++ b/types/lodash.takewhile/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.template/tsconfig.json b/types/lodash.template/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.template/tsconfig.json +++ b/types/lodash.template/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.throttle/tsconfig.json b/types/lodash.throttle/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.throttle/tsconfig.json +++ b/types/lodash.throttle/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.times/tsconfig.json b/types/lodash.times/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.times/tsconfig.json +++ b/types/lodash.times/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.toarray/tsconfig.json b/types/lodash.toarray/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.toarray/tsconfig.json +++ b/types/lodash.toarray/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.tofinite/tsconfig.json b/types/lodash.tofinite/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.tofinite/tsconfig.json +++ b/types/lodash.tofinite/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.tointeger/tsconfig.json b/types/lodash.tointeger/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.tointeger/tsconfig.json +++ b/types/lodash.tointeger/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.tolength/tsconfig.json b/types/lodash.tolength/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.tolength/tsconfig.json +++ b/types/lodash.tolength/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.tolower/tsconfig.json b/types/lodash.tolower/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.tolower/tsconfig.json +++ b/types/lodash.tolower/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.tonumber/tsconfig.json b/types/lodash.tonumber/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.tonumber/tsconfig.json +++ b/types/lodash.tonumber/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.topairs/tsconfig.json b/types/lodash.topairs/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.topairs/tsconfig.json +++ b/types/lodash.topairs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.topairsin/tsconfig.json b/types/lodash.topairsin/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.topairsin/tsconfig.json +++ b/types/lodash.topairsin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.topath/tsconfig.json b/types/lodash.topath/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.topath/tsconfig.json +++ b/types/lodash.topath/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.toplainobject/tsconfig.json b/types/lodash.toplainobject/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.toplainobject/tsconfig.json +++ b/types/lodash.toplainobject/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.tosafeinteger/tsconfig.json b/types/lodash.tosafeinteger/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.tosafeinteger/tsconfig.json +++ b/types/lodash.tosafeinteger/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.tostring/tsconfig.json b/types/lodash.tostring/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.tostring/tsconfig.json +++ b/types/lodash.tostring/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.toupper/tsconfig.json b/types/lodash.toupper/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.toupper/tsconfig.json +++ b/types/lodash.toupper/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.transform/tsconfig.json b/types/lodash.transform/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.transform/tsconfig.json +++ b/types/lodash.transform/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.trim/tsconfig.json b/types/lodash.trim/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.trim/tsconfig.json +++ b/types/lodash.trim/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.trimend/tsconfig.json b/types/lodash.trimend/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.trimend/tsconfig.json +++ b/types/lodash.trimend/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.trimstart/tsconfig.json b/types/lodash.trimstart/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.trimstart/tsconfig.json +++ b/types/lodash.trimstart/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.truncate/tsconfig.json b/types/lodash.truncate/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.truncate/tsconfig.json +++ b/types/lodash.truncate/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.unary/tsconfig.json b/types/lodash.unary/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.unary/tsconfig.json +++ b/types/lodash.unary/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.unescape/tsconfig.json b/types/lodash.unescape/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.unescape/tsconfig.json +++ b/types/lodash.unescape/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.union/tsconfig.json b/types/lodash.union/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.union/tsconfig.json +++ b/types/lodash.union/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.unionby/tsconfig.json b/types/lodash.unionby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.unionby/tsconfig.json +++ b/types/lodash.unionby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.unionwith/tsconfig.json b/types/lodash.unionwith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.unionwith/tsconfig.json +++ b/types/lodash.unionwith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.uniq/tsconfig.json b/types/lodash.uniq/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.uniq/tsconfig.json +++ b/types/lodash.uniq/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.uniqby/tsconfig.json b/types/lodash.uniqby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.uniqby/tsconfig.json +++ b/types/lodash.uniqby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.uniqueid/tsconfig.json b/types/lodash.uniqueid/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.uniqueid/tsconfig.json +++ b/types/lodash.uniqueid/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.uniqwith/tsconfig.json b/types/lodash.uniqwith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.uniqwith/tsconfig.json +++ b/types/lodash.uniqwith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.unset/tsconfig.json b/types/lodash.unset/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.unset/tsconfig.json +++ b/types/lodash.unset/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.unzip/tsconfig.json b/types/lodash.unzip/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.unzip/tsconfig.json +++ b/types/lodash.unzip/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.unzipwith/tsconfig.json b/types/lodash.unzipwith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.unzipwith/tsconfig.json +++ b/types/lodash.unzipwith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.update/tsconfig.json b/types/lodash.update/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.update/tsconfig.json +++ b/types/lodash.update/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.updatewith/tsconfig.json b/types/lodash.updatewith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.updatewith/tsconfig.json +++ b/types/lodash.updatewith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.uppercase/tsconfig.json b/types/lodash.uppercase/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.uppercase/tsconfig.json +++ b/types/lodash.uppercase/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.upperfirst/tsconfig.json b/types/lodash.upperfirst/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.upperfirst/tsconfig.json +++ b/types/lodash.upperfirst/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.values/tsconfig.json b/types/lodash.values/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.values/tsconfig.json +++ b/types/lodash.values/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.valuesin/tsconfig.json b/types/lodash.valuesin/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.valuesin/tsconfig.json +++ b/types/lodash.valuesin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.without/tsconfig.json b/types/lodash.without/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.without/tsconfig.json +++ b/types/lodash.without/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.words/tsconfig.json b/types/lodash.words/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.words/tsconfig.json +++ b/types/lodash.words/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.wrap/tsconfig.json b/types/lodash.wrap/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.wrap/tsconfig.json +++ b/types/lodash.wrap/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.xor/tsconfig.json b/types/lodash.xor/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.xor/tsconfig.json +++ b/types/lodash.xor/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.xorby/tsconfig.json b/types/lodash.xorby/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.xorby/tsconfig.json +++ b/types/lodash.xorby/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.xorwith/tsconfig.json b/types/lodash.xorwith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.xorwith/tsconfig.json +++ b/types/lodash.xorwith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.zip/tsconfig.json b/types/lodash.zip/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.zip/tsconfig.json +++ b/types/lodash.zip/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.zipobject/tsconfig.json b/types/lodash.zipobject/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.zipobject/tsconfig.json +++ b/types/lodash.zipobject/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.zipobjectdeep/tsconfig.json b/types/lodash.zipobjectdeep/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.zipobjectdeep/tsconfig.json +++ b/types/lodash.zipobjectdeep/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash.zipwith/tsconfig.json b/types/lodash.zipwith/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/lodash.zipwith/tsconfig.json +++ b/types/lodash.zipwith/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/lodash/tsconfig.json b/types/lodash/tsconfig.json index af6ba5e2e9..7bd90cb77f 100644 --- a/types/lodash/tsconfig.json +++ b/types/lodash/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", @@ -318,4 +319,4 @@ "zipObjectDeep.d.ts", "zipWith.d.ts" ] -} +} \ No newline at end of file diff --git a/types/lodash/v3/tsconfig.json b/types/lodash/v3/tsconfig.json index 5c5613d3f6..1040ab2909 100644 --- a/types/lodash/v3/tsconfig.json +++ b/types/lodash/v3/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/log-symbols/tsconfig.json b/types/log-symbols/tsconfig.json index 8677d194b0..ea0c26df1f 100644 --- a/types/log-symbols/tsconfig.json +++ b/types/log-symbols/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/log-update/tsconfig.json b/types/log-update/tsconfig.json index 888455297b..adf2bc1f11 100644 --- a/types/log-update/tsconfig.json +++ b/types/log-update/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/logat/tsconfig.json b/types/logat/tsconfig.json index 75453c3721..9d7c306b17 100644 --- a/types/logat/tsconfig.json +++ b/types/logat/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/logform/tsconfig.json b/types/logform/tsconfig.json index 5b68ac3c28..c8f0b78465 100644 --- a/types/logform/tsconfig.json +++ b/types/logform/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "logform-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/logg/tsconfig.json b/types/logg/tsconfig.json index 9dd1a361e7..3aa48bf94a 100644 --- a/types/logg/tsconfig.json +++ b/types/logg/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/loggly/tsconfig.json b/types/loggly/tsconfig.json index 76b8a59ac2..7f58c0566a 100644 --- a/types/loggly/tsconfig.json +++ b/types/loggly/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/loglevel/tsconfig.json b/types/loglevel/tsconfig.json index 4d370f7a24..24356220d6 100644 --- a/types/loglevel/tsconfig.json +++ b/types/loglevel/tsconfig.json @@ -14,11 +14,12 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "test/loglevel-tests.ts", "test/loglevel-umd-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/logrotate-stream/tsconfig.json b/types/logrotate-stream/tsconfig.json index 2f82ad189f..71cfc9061a 100644 --- a/types/logrotate-stream/tsconfig.json +++ b/types/logrotate-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lokijs/tsconfig.json b/types/lokijs/tsconfig.json index 96175c28a4..39e3841c03 100644 --- a/types/lokijs/tsconfig.json +++ b/types/lokijs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lolex/tsconfig.json b/types/lolex/tsconfig.json index e9ab242410..6a181ec052 100644 --- a/types/lolex/tsconfig.json +++ b/types/lolex/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/long/tsconfig.json b/types/long/tsconfig.json index 2d90b2337f..6a07cb3a61 100644 --- a/types/long/tsconfig.json +++ b/types/long/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/loopback-boot/tsconfig.json b/types/loopback-boot/tsconfig.json index 2a7cbe1ca5..6f4a061162 100644 --- a/types/loopback-boot/tsconfig.json +++ b/types/loopback-boot/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/loopback/tsconfig.json b/types/loopback/tsconfig.json index b967450fde..c823167232 100644 --- a/types/loopback/tsconfig.json +++ b/types/loopback/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lorem-ipsum/tsconfig.json b/types/lorem-ipsum/tsconfig.json index c1f3e00374..5575163410 100644 --- a/types/lorem-ipsum/tsconfig.json +++ b/types/lorem-ipsum/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lory.js/tsconfig.json b/types/lory.js/tsconfig.json index 94d47b69ea..6421fd1c74 100644 --- a/types/lory.js/tsconfig.json +++ b/types/lory.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/loud-rejection/tsconfig.json b/types/loud-rejection/tsconfig.json index 56909e692c..10ea4f7604 100644 --- a/types/loud-rejection/tsconfig.json +++ b/types/loud-rejection/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lovefield/tsconfig.json b/types/lovefield/tsconfig.json index fa9ed6e11d..08338eadd1 100644 --- a/types/lovefield/tsconfig.json +++ b/types/lovefield/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lowdb/tsconfig.json b/types/lowdb/tsconfig.json index 7897564789..1de72964d4 100644 --- a/types/lowdb/tsconfig.json +++ b/types/lowdb/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", @@ -28,4 +29,4 @@ "lib/main.d.ts", "lowdb-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/lowlight/tsconfig.json b/types/lowlight/tsconfig.json index 31ecea4b06..0a49e6766b 100644 --- a/types/lowlight/tsconfig.json +++ b/types/lowlight/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lozad/tsconfig.json b/types/lozad/tsconfig.json index 9243f7f7d4..d61aba4331 100644 --- a/types/lozad/tsconfig.json +++ b/types/lozad/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lru-cache/tsconfig.json b/types/lru-cache/tsconfig.json index de5c387339..f43250b4df 100644 --- a/types/lru-cache/tsconfig.json +++ b/types/lru-cache/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lscache/tsconfig.json b/types/lscache/tsconfig.json index 50876365a3..2d2820887b 100644 --- a/types/lscache/tsconfig.json +++ b/types/lscache/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ltx/tsconfig.json b/types/ltx/tsconfig.json index d4af416e4b..6dc4e36d43 100644 --- a/types/ltx/tsconfig.json +++ b/types/ltx/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/luaparse/tsconfig.json b/types/luaparse/tsconfig.json index 8e932f496e..20bb41fd6f 100644 --- a/types/luaparse/tsconfig.json +++ b/types/luaparse/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lunr/tsconfig.json b/types/lunr/tsconfig.json index 87faffb76d..703cfe59e2 100644 --- a/types/lunr/tsconfig.json +++ b/types/lunr/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lunr/v0/tsconfig.json b/types/lunr/v0/tsconfig.json index a98126157c..e5e4452efe 100644 --- a/types/lunr/v0/tsconfig.json +++ b/types/lunr/v0/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lusca/tsconfig.json b/types/lusca/tsconfig.json index ede7926c1c..121ac13cb6 100644 --- a/types/lusca/tsconfig.json +++ b/types/lusca/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "lusca-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/luxon/tsconfig.json b/types/luxon/tsconfig.json index e1b0e7864c..5cc88630a1 100644 --- a/types/luxon/tsconfig.json +++ b/types/luxon/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "luxon-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/lwip/tsconfig.json b/types/lwip/tsconfig.json index 769d843dfa..9ee6b81563 100644 --- a/types/lwip/tsconfig.json +++ b/types/lwip/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/lz-string/tsconfig.json b/types/lz-string/tsconfig.json index 40ca2ffb09..dde67f8095 100644 --- a/types/lz-string/tsconfig.json +++ b/types/lz-string/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/magic-number/tsconfig.json b/types/magic-number/tsconfig.json index 8dedeff2ce..b1f79faabc 100644 --- a/types/magic-number/tsconfig.json +++ b/types/magic-number/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/magicsuggest/tsconfig.json b/types/magicsuggest/tsconfig.json index 19b82ea9cd..c653b426c2 100644 --- a/types/magicsuggest/tsconfig.json +++ b/types/magicsuggest/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/magnet-uri/tsconfig.json b/types/magnet-uri/tsconfig.json index e47bf7de89..6e9dde38d8 100644 --- a/types/magnet-uri/tsconfig.json +++ b/types/magnet-uri/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mailcheck/tsconfig.json b/types/mailcheck/tsconfig.json index 9f3bada102..29af1c15d0 100644 --- a/types/mailcheck/tsconfig.json +++ b/types/mailcheck/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/maildev/tsconfig.json b/types/maildev/tsconfig.json index e7d5d8aa90..dff916fbd2 100644 --- a/types/maildev/tsconfig.json +++ b/types/maildev/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mailgen/tsconfig.json b/types/mailgen/tsconfig.json index be58901e20..54d65b6c43 100644 --- a/types/mailgen/tsconfig.json +++ b/types/mailgen/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mailparser/tsconfig.json b/types/mailparser/tsconfig.json index 0e85dee795..3570cc37d0 100644 --- a/types/mailparser/tsconfig.json +++ b/types/mailparser/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/main-bower-files/tsconfig.json b/types/main-bower-files/tsconfig.json index bde61fa6db..03d4c7ad1f 100644 --- a/types/main-bower-files/tsconfig.json +++ b/types/main-bower-files/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mainloop.js/tsconfig.json b/types/mainloop.js/tsconfig.json index b8e7bf9fd5..784abcc46e 100644 --- a/types/mainloop.js/tsconfig.json +++ b/types/mainloop.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/make-dir/tsconfig.json b/types/make-dir/tsconfig.json index f1770d52af..90fb4e1cdc 100644 --- a/types/make-dir/tsconfig.json +++ b/types/make-dir/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/maker.js/tsconfig.json b/types/maker.js/tsconfig.json index 3f15fa99e1..62757799a0 100644 --- a/types/maker.js/tsconfig.json +++ b/types/maker.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mandrill-api/tsconfig.json b/types/mandrill-api/tsconfig.json index 9855b826de..26cc6e44e4 100644 --- a/types/mandrill-api/tsconfig.json +++ b/types/mandrill-api/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/map-obj/tsconfig.json b/types/map-obj/tsconfig.json index 70c0243a5b..c640073717 100644 --- a/types/map-obj/tsconfig.json +++ b/types/map-obj/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mapbox-gl/tsconfig.json b/types/mapbox-gl/tsconfig.json index 4c4228132e..347f097155 100644 --- a/types/mapbox-gl/tsconfig.json +++ b/types/mapbox-gl/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "mapbox-gl-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/mapbox/tsconfig.json b/types/mapbox/tsconfig.json index 9aec764a7c..97c6c610a8 100644 --- a/types/mapbox/tsconfig.json +++ b/types/mapbox/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mapbox__shelf-pack/tsconfig.json b/types/mapbox__shelf-pack/tsconfig.json index 49afd3f46e..6dd2d6f58f 100644 --- a/types/mapbox__shelf-pack/tsconfig.json +++ b/types/mapbox__shelf-pack/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mapnik/tsconfig.json b/types/mapnik/tsconfig.json index 81f111a37e..4112c1aab4 100644 --- a/types/mapnik/tsconfig.json +++ b/types/mapnik/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "mapnik-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "mapnik-tests.ts" + ] } \ No newline at end of file diff --git a/types/mapsjs/tsconfig.json b/types/mapsjs/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/mapsjs/tsconfig.json +++ b/types/mapsjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/mariasql/tsconfig.json b/types/mariasql/tsconfig.json index bab62b5218..353dfdd4b9 100644 --- a/types/mariasql/tsconfig.json +++ b/types/mariasql/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mark.js/tsconfig.json b/types/mark.js/tsconfig.json index 381f150954..9a75e5b93b 100644 --- a/types/mark.js/tsconfig.json +++ b/types/mark.js/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "mark.js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/markdown-it-anchor/tsconfig.json b/types/markdown-it-anchor/tsconfig.json index df3de49f4a..8b1b51c3c4 100644 --- a/types/markdown-it-anchor/tsconfig.json +++ b/types/markdown-it-anchor/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/markdown-it-container/tsconfig.json b/types/markdown-it-container/tsconfig.json index 9dd6ec9ad2..9d32044fcb 100644 --- a/types/markdown-it-container/tsconfig.json +++ b/types/markdown-it-container/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/markdown-it/tsconfig.json b/types/markdown-it/tsconfig.json index fc493d2d9b..2cddb5aefd 100644 --- a/types/markdown-it/tsconfig.json +++ b/types/markdown-it/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/markdownlint/tsconfig.json b/types/markdownlint/tsconfig.json index 53b9ae46aa..193076542b 100644 --- a/types/markdownlint/tsconfig.json +++ b/types/markdownlint/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "markdownlint-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/marked/tsconfig.json b/types/marked/tsconfig.json index 222ab4e4f1..8380a3964f 100644 --- a/types/marked/tsconfig.json +++ b/types/marked/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/marker-animate-unobtrusive/tsconfig.json b/types/marker-animate-unobtrusive/tsconfig.json index 68e2526510..1b1c994cb4 100644 --- a/types/marker-animate-unobtrusive/tsconfig.json +++ b/types/marker-animate-unobtrusive/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/markerclustererplus/tsconfig.json b/types/markerclustererplus/tsconfig.json index 0aca5b9a0a..f4c0adbebc 100644 --- a/types/markerclustererplus/tsconfig.json +++ b/types/markerclustererplus/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/markitup/tsconfig.json b/types/markitup/tsconfig.json index daa2c18b72..384fb13be7 100644 --- a/types/markitup/tsconfig.json +++ b/types/markitup/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/maskedinput/tsconfig.json b/types/maskedinput/tsconfig.json index 0884b77742..90ead5dea0 100644 --- a/types/maskedinput/tsconfig.json +++ b/types/maskedinput/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/masonry-layout/tsconfig.json b/types/masonry-layout/tsconfig.json index a2133122a5..e0ebcb530e 100644 --- a/types/masonry-layout/tsconfig.json +++ b/types/masonry-layout/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/massive/tsconfig.json b/types/massive/tsconfig.json index 916b3e2b47..da316ae1a5 100644 --- a/types/massive/tsconfig.json +++ b/types/massive/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/massive/v3/tsconfig.json b/types/massive/v3/tsconfig.json index ddfdc175d3..334d74eea1 100644 --- a/types/massive/v3/tsconfig.json +++ b/types/massive/v3/tsconfig.json @@ -12,15 +12,18 @@ "../../" ], "paths": { - "massive": [ "massive/v3" ] + "massive": [ + "massive/v3" + ] }, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ "index.d.ts", "massive-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/match-media-mock/tsconfig.json b/types/match-media-mock/tsconfig.json index adcb526b65..9187747e27 100644 --- a/types/match-media-mock/tsconfig.json +++ b/types/match-media-mock/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/material-components-web/tsconfig.json b/types/material-components-web/tsconfig.json index 72ab99ccfc..8b1b69457e 100644 --- a/types/material-components-web/tsconfig.json +++ b/types/material-components-web/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material-design-lite/tsconfig.json b/types/material-design-lite/tsconfig.json index 96da690ed9..0672184541 100644 --- a/types/material-design-lite/tsconfig.json +++ b/types/material-design-lite/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/material-ui-datatables/tsconfig.json b/types/material-ui-datatables/tsconfig.json index 805afdbb17..1b91dcedd6 100644 --- a/types/material-ui-datatables/tsconfig.json +++ b/types/material-ui-datatables/tsconfig.json @@ -15,7 +15,8 @@ "jsx": "react", "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/material-ui-pagination/tsconfig.json b/types/material-ui-pagination/tsconfig.json index c98526003d..eef315d2c9 100644 --- a/types/material-ui-pagination/tsconfig.json +++ b/types/material-ui-pagination/tsconfig.json @@ -21,6 +21,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/material-ui/tsconfig.json b/types/material-ui/tsconfig.json index 7d478ab185..0d3a5e6d32 100644 --- a/types/material-ui/tsconfig.json +++ b/types/material-ui/tsconfig.json @@ -21,6 +21,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/material__animation/tsconfig.json b/types/material__animation/tsconfig.json index d25bb531d1..0cbce49fc7 100644 --- a/types/material__animation/tsconfig.json +++ b/types/material__animation/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__auto-init/tsconfig.json b/types/material__auto-init/tsconfig.json index d25bb531d1..0cbce49fc7 100644 --- a/types/material__auto-init/tsconfig.json +++ b/types/material__auto-init/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__base/tsconfig.json b/types/material__base/tsconfig.json index 4f144a4c20..3cd07b146b 100644 --- a/types/material__base/tsconfig.json +++ b/types/material__base/tsconfig.json @@ -21,6 +21,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__checkbox/tsconfig.json b/types/material__checkbox/tsconfig.json index 741c98e44a..06c0ac3c43 100644 --- a/types/material__checkbox/tsconfig.json +++ b/types/material__checkbox/tsconfig.json @@ -22,6 +22,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__dialog/tsconfig.json b/types/material__dialog/tsconfig.json index 3feaa72ba5..9f215e4ee0 100644 --- a/types/material__dialog/tsconfig.json +++ b/types/material__dialog/tsconfig.json @@ -23,6 +23,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__drawer/tsconfig.json b/types/material__drawer/tsconfig.json index ab4f18b399..4a95cf90f8 100644 --- a/types/material__drawer/tsconfig.json +++ b/types/material__drawer/tsconfig.json @@ -30,6 +30,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__form-field/tsconfig.json b/types/material__form-field/tsconfig.json index 741c98e44a..06c0ac3c43 100644 --- a/types/material__form-field/tsconfig.json +++ b/types/material__form-field/tsconfig.json @@ -22,6 +22,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__grid-list/tsconfig.json b/types/material__grid-list/tsconfig.json index 741c98e44a..06c0ac3c43 100644 --- a/types/material__grid-list/tsconfig.json +++ b/types/material__grid-list/tsconfig.json @@ -22,6 +22,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__icon-toggle/tsconfig.json b/types/material__icon-toggle/tsconfig.json index 741c98e44a..06c0ac3c43 100644 --- a/types/material__icon-toggle/tsconfig.json +++ b/types/material__icon-toggle/tsconfig.json @@ -22,6 +22,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__linear-progress/tsconfig.json b/types/material__linear-progress/tsconfig.json index 741c98e44a..06c0ac3c43 100644 --- a/types/material__linear-progress/tsconfig.json +++ b/types/material__linear-progress/tsconfig.json @@ -22,6 +22,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__menu/tsconfig.json b/types/material__menu/tsconfig.json index 7903a23031..6eb7f942cc 100644 --- a/types/material__menu/tsconfig.json +++ b/types/material__menu/tsconfig.json @@ -24,6 +24,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__radio/tsconfig.json b/types/material__radio/tsconfig.json index 741c98e44a..06c0ac3c43 100644 --- a/types/material__radio/tsconfig.json +++ b/types/material__radio/tsconfig.json @@ -22,6 +22,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__ripple/tsconfig.json b/types/material__ripple/tsconfig.json index 3feaa72ba5..9f215e4ee0 100644 --- a/types/material__ripple/tsconfig.json +++ b/types/material__ripple/tsconfig.json @@ -23,6 +23,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__select/tsconfig.json b/types/material__select/tsconfig.json index 741c98e44a..06c0ac3c43 100644 --- a/types/material__select/tsconfig.json +++ b/types/material__select/tsconfig.json @@ -22,6 +22,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__selection-control/tsconfig.json b/types/material__selection-control/tsconfig.json index d25bb531d1..0cbce49fc7 100644 --- a/types/material__selection-control/tsconfig.json +++ b/types/material__selection-control/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__slider/tsconfig.json b/types/material__slider/tsconfig.json index 741c98e44a..06c0ac3c43 100644 --- a/types/material__slider/tsconfig.json +++ b/types/material__slider/tsconfig.json @@ -22,6 +22,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__snackbar/tsconfig.json b/types/material__snackbar/tsconfig.json index 741c98e44a..06c0ac3c43 100644 --- a/types/material__snackbar/tsconfig.json +++ b/types/material__snackbar/tsconfig.json @@ -22,6 +22,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__tabs/tsconfig.json b/types/material__tabs/tsconfig.json index 0eb3952185..69e44f2eef 100644 --- a/types/material__tabs/tsconfig.json +++ b/types/material__tabs/tsconfig.json @@ -31,6 +31,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__textfield/tsconfig.json b/types/material__textfield/tsconfig.json index a483098ccd..e9d0a01a13 100644 --- a/types/material__textfield/tsconfig.json +++ b/types/material__textfield/tsconfig.json @@ -30,6 +30,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/material__toolbar/tsconfig.json b/types/material__toolbar/tsconfig.json index 3feaa72ba5..9f215e4ee0 100644 --- a/types/material__toolbar/tsconfig.json +++ b/types/material__toolbar/tsconfig.json @@ -23,6 +23,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/materialize-css/tsconfig.json b/types/materialize-css/tsconfig.json index 316e2f8361..e018875d4a 100644 --- a/types/materialize-css/tsconfig.json +++ b/types/materialize-css/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", @@ -23,4 +24,4 @@ "test/materialize-css-module.test.ts", "test/materialize-css-jquery.test.ts" ] -} +} \ No newline at end of file diff --git a/types/materialize-css/v0/tsconfig.json b/types/materialize-css/v0/tsconfig.json index 4f000774ea..a627672707 100644 --- a/types/materialize-css/v0/tsconfig.json +++ b/types/materialize-css/v0/tsconfig.json @@ -20,10 +20,11 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "materialize-css-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/math3d/tsconfig.json b/types/math3d/tsconfig.json index 95a0a4148d..9137199265 100644 --- a/types/math3d/tsconfig.json +++ b/types/math3d/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mathjax/tsconfig.json b/types/mathjax/tsconfig.json index dcf27a92fb..2112b99a25 100644 --- a/types/mathjax/tsconfig.json +++ b/types/mathjax/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mathjs/tsconfig.json b/types/mathjs/tsconfig.json index c2aefff773..b303869490 100644 --- a/types/mathjs/tsconfig.json +++ b/types/mathjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/matter-js/tsconfig.json b/types/matter-js/tsconfig.json index bac77b2a64..b2badceadf 100644 --- a/types/matter-js/tsconfig.json +++ b/types/matter-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/maxmind/tsconfig.json b/types/maxmind/tsconfig.json index 0b1011f8f7..6891fe1c23 100644 --- a/types/maxmind/tsconfig.json +++ b/types/maxmind/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mcustomscrollbar/tsconfig.json b/types/mcustomscrollbar/tsconfig.json index b112ee023e..d30025133e 100644 --- a/types/mcustomscrollbar/tsconfig.json +++ b/types/mcustomscrollbar/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/md5/tsconfig.json b/types/md5/tsconfig.json index 0f2d4677ab..a8d504f6fd 100644 --- a/types/md5/tsconfig.json +++ b/types/md5/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mdns/tsconfig.json b/types/mdns/tsconfig.json index 94e58f4170..66eb855866 100644 --- a/types/mdns/tsconfig.json +++ b/types/mdns/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mdurl/tsconfig.json b/types/mdurl/tsconfig.json index c00c56ef07..38ef207a0a 100644 --- a/types/mdurl/tsconfig.json +++ b/types/mdurl/tsconfig.json @@ -14,10 +14,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ "index.d.ts", "mdurl-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/media-typer/tsconfig.json b/types/media-typer/tsconfig.json index fe5268288d..4a1fc1c9a7 100644 --- a/types/media-typer/tsconfig.json +++ b/types/media-typer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/medium-editor/tsconfig.json b/types/medium-editor/tsconfig.json index 10748accf4..405b91f5c7 100644 --- a/types/medium-editor/tsconfig.json +++ b/types/medium-editor/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mem/tsconfig.json b/types/mem/tsconfig.json index 3545985694..b43f6271a3 100644 --- a/types/mem/tsconfig.json +++ b/types/mem/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/memcached/tsconfig.json b/types/memcached/tsconfig.json index 720907bb10..daeddba4b9 100644 --- a/types/memcached/tsconfig.json +++ b/types/memcached/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/memoizee/tsconfig.json b/types/memoizee/tsconfig.json index b8aa9634f1..9e24c851b1 100644 --- a/types/memoizee/tsconfig.json +++ b/types/memoizee/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/memory-cache/tsconfig.json b/types/memory-cache/tsconfig.json index 1d0ac845ac..12a7e2cd2f 100644 --- a/types/memory-cache/tsconfig.json +++ b/types/memory-cache/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/memory-fs/tsconfig.json b/types/memory-fs/tsconfig.json index 13eb7da317..b2cc01072d 100644 --- a/types/memory-fs/tsconfig.json +++ b/types/memory-fs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/memwatch-next/tsconfig.json b/types/memwatch-next/tsconfig.json index 4541aaa1cf..36ae49fd1d 100644 --- a/types/memwatch-next/tsconfig.json +++ b/types/memwatch-next/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/menubar/tsconfig.json b/types/menubar/tsconfig.json index d9d6d843b4..2e3879f42f 100644 --- a/types/menubar/tsconfig.json +++ b/types/menubar/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/meow/tsconfig.json b/types/meow/tsconfig.json index 33dd0b0883..a0ad2daded 100644 --- a/types/meow/tsconfig.json +++ b/types/meow/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/merge-descriptors/tsconfig.json b/types/merge-descriptors/tsconfig.json index 23f7dfbcce..59d838f171 100644 --- a/types/merge-descriptors/tsconfig.json +++ b/types/merge-descriptors/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/merge-stream/tsconfig.json b/types/merge-stream/tsconfig.json index d68bbea99f..f36f9609f1 100644 --- a/types/merge-stream/tsconfig.json +++ b/types/merge-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/merge2/tsconfig.json b/types/merge2/tsconfig.json index e39e70032b..7b84762f1a 100644 --- a/types/merge2/tsconfig.json +++ b/types/merge2/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/merkle/tsconfig.json b/types/merkle/tsconfig.json index f52ca0bab3..0c54ad7910 100644 --- a/types/merkle/tsconfig.json +++ b/types/merkle/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mersenne-twister/tsconfig.json b/types/mersenne-twister/tsconfig.json index 418c7a0355..4d4863d526 100644 --- a/types/mersenne-twister/tsconfig.json +++ b/types/mersenne-twister/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/meshblu/tsconfig.json b/types/meshblu/tsconfig.json index a00e392388..89b1d2672e 100644 --- a/types/meshblu/tsconfig.json +++ b/types/meshblu/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mess/tsconfig.json b/types/mess/tsconfig.json index 8ca702b9a4..813664418e 100644 --- a/types/mess/tsconfig.json +++ b/types/mess/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/messenger/tsconfig.json b/types/messenger/tsconfig.json index 15915e2f35..ba06a057d8 100644 --- a/types/messenger/tsconfig.json +++ b/types/messenger/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/meteor-accounts-phone/tsconfig.json b/types/meteor-accounts-phone/tsconfig.json index f6945ba442..84dc40357b 100644 --- a/types/meteor-accounts-phone/tsconfig.json +++ b/types/meteor-accounts-phone/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/meteor-collection-hooks/tsconfig.json b/types/meteor-collection-hooks/tsconfig.json index 462b5cb2fe..a0a676b908 100644 --- a/types/meteor-collection-hooks/tsconfig.json +++ b/types/meteor-collection-hooks/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/meteor-jboulhous-dev/tsconfig.json b/types/meteor-jboulhous-dev/tsconfig.json index 6a0bc28585..d31afd862e 100644 --- a/types/meteor-jboulhous-dev/tsconfig.json +++ b/types/meteor-jboulhous-dev/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/meteor-persistent-session/tsconfig.json b/types/meteor-persistent-session/tsconfig.json index 9f9adaeead..683c700a9d 100644 --- a/types/meteor-persistent-session/tsconfig.json +++ b/types/meteor-persistent-session/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/meteor-prime8consulting-oauth2/tsconfig.json b/types/meteor-prime8consulting-oauth2/tsconfig.json index 1d71e79d3c..c389ce9cf9 100644 --- a/types/meteor-prime8consulting-oauth2/tsconfig.json +++ b/types/meteor-prime8consulting-oauth2/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/meteor-publish-composite/tsconfig.json b/types/meteor-publish-composite/tsconfig.json index 81c22f6ce3..0785ede5be 100644 --- a/types/meteor-publish-composite/tsconfig.json +++ b/types/meteor-publish-composite/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/meteor-roles/tsconfig.json b/types/meteor-roles/tsconfig.json index 037db6b9f4..51a1ad5bde 100644 --- a/types/meteor-roles/tsconfig.json +++ b/types/meteor-roles/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/meteor/tsconfig.json b/types/meteor/tsconfig.json index 6185ff9c61..52e222c94e 100644 --- a/types/meteor/tsconfig.json +++ b/types/meteor/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "accounts.d.ts", @@ -41,4 +42,4 @@ "index.d.ts", "meteor-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/method-override/tsconfig.json b/types/method-override/tsconfig.json index 1487adc964..650db93067 100644 --- a/types/method-override/tsconfig.json +++ b/types/method-override/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/methods/tsconfig.json b/types/methods/tsconfig.json index 1b3353ca82..3a5f1b3b18 100644 --- a/types/methods/tsconfig.json +++ b/types/methods/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/metric-suffix/tsconfig.json b/types/metric-suffix/tsconfig.json index fc4d7b871f..47128d3617 100644 --- a/types/metric-suffix/tsconfig.json +++ b/types/metric-suffix/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mfiles/tsconfig.json b/types/mfiles/tsconfig.json index 295542875a..530a0d5827 100644 --- a/types/mfiles/tsconfig.json +++ b/types/mfiles/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/micro/tsconfig.json b/types/micro/tsconfig.json index 7f1e37655b..2d341abe8d 100644 --- a/types/micro/tsconfig.json +++ b/types/micro/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/micromatch/tsconfig.json b/types/micromatch/tsconfig.json index 277346ea71..02774511a8 100644 --- a/types/micromatch/tsconfig.json +++ b/types/micromatch/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/micromatch/v2/tsconfig.json b/types/micromatch/v2/tsconfig.json index e011e8c1cc..a0e11a8a22 100644 --- a/types/micromatch/v2/tsconfig.json +++ b/types/micromatch/v2/tsconfig.json @@ -19,7 +19,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/microrouter/tsconfig.json b/types/microrouter/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/microrouter/tsconfig.json +++ b/types/microrouter/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/microsoft-ajax/tsconfig.json b/types/microsoft-ajax/tsconfig.json index 3a8d8bcc37..1e27f3d6dd 100644 --- a/types/microsoft-ajax/tsconfig.json +++ b/types/microsoft-ajax/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/microsoft-live-connect/tsconfig.json b/types/microsoft-live-connect/tsconfig.json index 7895e4debe..555540b344 100644 --- a/types/microsoft-live-connect/tsconfig.json +++ b/types/microsoft-live-connect/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/microsoft-sdk-soap/tsconfig.json b/types/microsoft-sdk-soap/tsconfig.json index 3eee7c6b1c..6bc4ac7835 100644 --- a/types/microsoft-sdk-soap/tsconfig.json +++ b/types/microsoft-sdk-soap/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/microsoftteams/tsconfig.json b/types/microsoftteams/tsconfig.json index 95b8785492..6014c8e5d7 100644 --- a/types/microsoftteams/tsconfig.json +++ b/types/microsoftteams/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/microtime/tsconfig.json b/types/microtime/tsconfig.json index c5989f5799..7991d90494 100644 --- a/types/microtime/tsconfig.json +++ b/types/microtime/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/milkcocoa/tsconfig.json b/types/milkcocoa/tsconfig.json index def0b291ed..22c7cb7830 100644 --- a/types/milkcocoa/tsconfig.json +++ b/types/milkcocoa/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/milliseconds/tsconfig.json b/types/milliseconds/tsconfig.json index eb756035ba..aa931efbdb 100644 --- a/types/milliseconds/tsconfig.json +++ b/types/milliseconds/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mime-db/tsconfig.json b/types/mime-db/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/mime-db/tsconfig.json +++ b/types/mime-db/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/mime-types/tsconfig.json b/types/mime-types/tsconfig.json index d197e5f93c..f197d1a1a5 100644 --- a/types/mime-types/tsconfig.json +++ b/types/mime-types/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mime/tsconfig.json b/types/mime/tsconfig.json index 8e0eb9488e..45e7b9f82f 100644 --- a/types/mime/tsconfig.json +++ b/types/mime/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mimos/tsconfig.json b/types/mimos/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/mimos/tsconfig.json +++ b/types/mimos/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/mina/tsconfig.json b/types/mina/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/mina/tsconfig.json +++ b/types/mina/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/minilog/tsconfig.json b/types/minilog/tsconfig.json index b999744170..eabf1dc6ad 100644 --- a/types/minilog/tsconfig.json +++ b/types/minilog/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/minimatch/tsconfig.json b/types/minimatch/tsconfig.json index 7180fe6a29..c0e55963be 100644 --- a/types/minimatch/tsconfig.json +++ b/types/minimatch/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/minimist-options/tsconfig.json b/types/minimist-options/tsconfig.json index b43c584555..54036aa94c 100644 --- a/types/minimist-options/tsconfig.json +++ b/types/minimist-options/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "minimist-options-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/minimist/tsconfig.json b/types/minimist/tsconfig.json index 27be869de4..55bf6c93ab 100644 --- a/types/minimist/tsconfig.json +++ b/types/minimist/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/minipass/tsconfig.json b/types/minipass/tsconfig.json index 9115c6fe85..4d54021296 100644 --- a/types/minipass/tsconfig.json +++ b/types/minipass/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mirrorx/tsconfig.json b/types/mirrorx/tsconfig.json index 561f5cdab4..8adf5ab4b5 100644 --- a/types/mirrorx/tsconfig.json +++ b/types/mirrorx/tsconfig.json @@ -1,5 +1,5 @@ { - "files": [ + "files": [ "index.d.ts", "mirrorx-tests.ts" ], @@ -21,6 +21,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/mithril-global/tsconfig.json b/types/mithril-global/tsconfig.json index f48de2bee8..0a7b5cb267 100644 --- a/types/mithril-global/tsconfig.json +++ b/types/mithril-global/tsconfig.json @@ -11,6 +11,7 @@ "strictFunctionTypes": true, "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mithril/tsconfig.json b/types/mithril/tsconfig.json index 3164285eb5..e336b24f36 100644 --- a/types/mithril/tsconfig.json +++ b/types/mithril/tsconfig.json @@ -10,6 +10,7 @@ "strictNullChecks": true, "strictFunctionTypes": false, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noEmit": true, "baseUrl": "../", "typeRoots": [ diff --git a/types/mitm/tsconfig.json b/types/mitm/tsconfig.json index bb19fc1d20..86cb3b52d7 100644 --- a/types/mitm/tsconfig.json +++ b/types/mitm/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mixpanel/tsconfig.json b/types/mixpanel/tsconfig.json index f5cbbce2f5..c12c4200d9 100644 --- a/types/mixpanel/tsconfig.json +++ b/types/mixpanel/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mixto/tsconfig.json b/types/mixto/tsconfig.json index 8cbc98843f..f780617abc 100644 --- a/types/mixto/tsconfig.json +++ b/types/mixto/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mkdirp/tsconfig.json b/types/mkdirp/tsconfig.json index a5bd09ff68..605500591f 100644 --- a/types/mkdirp/tsconfig.json +++ b/types/mkdirp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mkpath/tsconfig.json b/types/mkpath/tsconfig.json index e114847c25..8fdbb85d17 100644 --- a/types/mkpath/tsconfig.json +++ b/types/mkpath/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mmmagic/tsconfig.json b/types/mmmagic/tsconfig.json index 074e791e6d..775da23960 100644 --- a/types/mmmagic/tsconfig.json +++ b/types/mmmagic/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mobx-apollo/tsconfig.json b/types/mobx-apollo/tsconfig.json index c4c2acace4..969ca52e32 100644 --- a/types/mobx-apollo/tsconfig.json +++ b/types/mobx-apollo/tsconfig.json @@ -1,17 +1,25 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6"], + "lib": [ + "es6" + ], "target": "es5", "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, - "files": ["index.d.ts", "mobx-apollo-tests.ts"] -} + "files": [ + "index.d.ts", + "mobx-apollo-tests.ts" + ] +} \ No newline at end of file diff --git a/types/mocha-phantomjs/tsconfig.json b/types/mocha-phantomjs/tsconfig.json index 12d2f5cf28..4ab29d667e 100644 --- a/types/mocha-phantomjs/tsconfig.json +++ b/types/mocha-phantomjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mocha-steps/tsconfig.json b/types/mocha-steps/tsconfig.json index 0a75385b3a..8447cc6306 100644 --- a/types/mocha-steps/tsconfig.json +++ b/types/mocha-steps/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "mocha-steps-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/mocha/tsconfig.json b/types/mocha/tsconfig.json index 6e88356fe4..469634a2f1 100644 --- a/types/mocha/tsconfig.json +++ b/types/mocha/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mochaccino/tsconfig.json b/types/mochaccino/tsconfig.json index 166b3f4203..a309a1969a 100644 --- a/types/mochaccino/tsconfig.json +++ b/types/mochaccino/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "mochaccino-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/mock-aws-s3/tsconfig.json b/types/mock-aws-s3/tsconfig.json index 9b5aeeacaa..352631ebac 100644 --- a/types/mock-aws-s3/tsconfig.json +++ b/types/mock-aws-s3/tsconfig.json @@ -1,16 +1,24 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6"], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, - "files": ["index.d.ts", "mock-aws-s3-tests.ts"] -} + "files": [ + "index.d.ts", + "mock-aws-s3-tests.ts" + ] +} \ No newline at end of file diff --git a/types/mock-fs/tsconfig.json b/types/mock-fs/tsconfig.json index b460b4d1d1..03b1ec9bf9 100644 --- a/types/mock-fs/tsconfig.json +++ b/types/mock-fs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mock-knex/tsconfig.json b/types/mock-knex/tsconfig.json index 427ad9f843..c06624f84a 100644 --- a/types/mock-knex/tsconfig.json +++ b/types/mock-knex/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "mock-knex-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/mock-raf/tsconfig.json b/types/mock-raf/tsconfig.json index dfb1b63e78..2430cbd74e 100644 --- a/types/mock-raf/tsconfig.json +++ b/types/mock-raf/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mock-require/tsconfig.json b/types/mock-require/tsconfig.json index 1f6be404c6..3cd28faba0 100644 --- a/types/mock-require/tsconfig.json +++ b/types/mock-require/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mockdate/tsconfig.json b/types/mockdate/tsconfig.json index 062a1f1110..a5d4ba452b 100644 --- a/types/mockdate/tsconfig.json +++ b/types/mockdate/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mockery/tsconfig.json b/types/mockery/tsconfig.json index a8eef69452..0b91197c4d 100644 --- a/types/mockery/tsconfig.json +++ b/types/mockery/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mockjs/tsconfig.json b/types/mockjs/tsconfig.json index 631ad48210..6a407840b6 100644 --- a/types/mockjs/tsconfig.json +++ b/types/mockjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/modernizr/tsconfig.json b/types/modernizr/tsconfig.json index 291b4008d2..5a57efda40 100644 --- a/types/modernizr/tsconfig.json +++ b/types/modernizr/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/modesl/tsconfig.json b/types/modesl/tsconfig.json index 3fc91a7f71..9454dd9a5a 100644 --- a/types/modesl/tsconfig.json +++ b/types/modesl/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/moji/tsconfig.json b/types/moji/tsconfig.json index a6b2e51f26..f529d10796 100644 --- a/types/moji/tsconfig.json +++ b/types/moji/tsconfig.json @@ -1,24 +1,25 @@ { "compilerOptions": { - "module": "commonjs", - "target": "es6", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true + "module": "commonjs", + "target": "es6", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ - "index.d.ts", - "moji-tests.ts" + "index.d.ts", + "moji-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/moment-business-time/tsconfig.json b/types/moment-business-time/tsconfig.json index c1212caa2f..06211c3c46 100644 --- a/types/moment-business-time/tsconfig.json +++ b/types/moment-business-time/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "moment-business-time-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/moment-business/tsconfig.json b/types/moment-business/tsconfig.json index b7307b4121..2f206c8966 100644 --- a/types/moment-business/tsconfig.json +++ b/types/moment-business/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/moment-duration-format/tsconfig.json b/types/moment-duration-format/tsconfig.json index 997b0f907e..49adb2a08e 100644 --- a/types/moment-duration-format/tsconfig.json +++ b/types/moment-duration-format/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/moment-holiday/tsconfig.json b/types/moment-holiday/tsconfig.json index d03f37e12c..886bd77564 100644 --- a/types/moment-holiday/tsconfig.json +++ b/types/moment-holiday/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "moment-holiday-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/moment-jalaali/tsconfig.json b/types/moment-jalaali/tsconfig.json index 6c52d43cbf..4d2026fec3 100644 --- a/types/moment-jalaali/tsconfig.json +++ b/types/moment-jalaali/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/moment-range/tsconfig.json b/types/moment-range/tsconfig.json index 1da3b569e0..aa339a6027 100644 --- a/types/moment-range/tsconfig.json +++ b/types/moment-range/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/moment-round/tsconfig.json b/types/moment-round/tsconfig.json index f6761bd247..13758cbc39 100644 --- a/types/moment-round/tsconfig.json +++ b/types/moment-round/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/moment-strftime2/tsconfig.json b/types/moment-strftime2/tsconfig.json index cd5862e99f..c4c30990bd 100644 --- a/types/moment-strftime2/tsconfig.json +++ b/types/moment-strftime2/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "moment-strftime2-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/moment-timezone/tsconfig.json b/types/moment-timezone/tsconfig.json index 62cbfb4214..16a786e080 100644 --- a/types/moment-timezone/tsconfig.json +++ b/types/moment-timezone/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mongodb/tsconfig.json b/types/mongodb/tsconfig.json index 8ed16ed7e6..b5c0a3c5de 100644 --- a/types/mongodb/tsconfig.json +++ b/types/mongodb/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mongodb/v1/tsconfig.json b/types/mongodb/v1/tsconfig.json index c20dfaa9c6..e082a3d12e 100644 --- a/types/mongodb/v1/tsconfig.json +++ b/types/mongodb/v1/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mongodb/v2/tsconfig.json b/types/mongodb/v2/tsconfig.json index 7bfc92fc32..34cee3be18 100644 --- a/types/mongodb/v2/tsconfig.json +++ b/types/mongodb/v2/tsconfig.json @@ -19,7 +19,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-auto-increment/tsconfig.json b/types/mongoose-auto-increment/tsconfig.json index faef447b4d..451044e5e6 100644 --- a/types/mongoose-auto-increment/tsconfig.json +++ b/types/mongoose-auto-increment/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-deep-populate/tsconfig.json b/types/mongoose-deep-populate/tsconfig.json index 40544f37a1..6f3c2c0a9a 100644 --- a/types/mongoose-deep-populate/tsconfig.json +++ b/types/mongoose-deep-populate/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-geojson-schema/tsconfig.json b/types/mongoose-geojson-schema/tsconfig.json index 9d3afc8952..4a9b4ef787 100644 --- a/types/mongoose-geojson-schema/tsconfig.json +++ b/types/mongoose-geojson-schema/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "mongoose-geojson-schema-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/mongoose-mock/tsconfig.json b/types/mongoose-mock/tsconfig.json index b3cacf1757..8555533c01 100644 --- a/types/mongoose-mock/tsconfig.json +++ b/types/mongoose-mock/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-paginate/tsconfig.json b/types/mongoose-paginate/tsconfig.json index 3194368f11..c7d7fccdcc 100644 --- a/types/mongoose-paginate/tsconfig.json +++ b/types/mongoose-paginate/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-promise/tsconfig.json b/types/mongoose-promise/tsconfig.json index 68c68b35a1..1116f1ca84 100644 --- a/types/mongoose-promise/tsconfig.json +++ b/types/mongoose-promise/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-seeder/tsconfig.json b/types/mongoose-seeder/tsconfig.json index d5d44b75cc..7b4ef1eaa1 100644 --- a/types/mongoose-seeder/tsconfig.json +++ b/types/mongoose-seeder/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-sequence/tsconfig.json b/types/mongoose-sequence/tsconfig.json index 79efa97e34..e9e23837ed 100644 --- a/types/mongoose-sequence/tsconfig.json +++ b/types/mongoose-sequence/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-simple-random/tsconfig.json b/types/mongoose-simple-random/tsconfig.json index 3b879fd8f0..7c2f108e9e 100644 --- a/types/mongoose-simple-random/tsconfig.json +++ b/types/mongoose-simple-random/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-unique-validator/tsconfig.json b/types/mongoose-unique-validator/tsconfig.json index 02d461889d..8ab3ec79c9 100644 --- a/types/mongoose-unique-validator/tsconfig.json +++ b/types/mongoose-unique-validator/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mongoose/tsconfig.json b/types/mongoose/tsconfig.json index 55e06ad201..04f1bc2b3b 100644 --- a/types/mongoose/tsconfig.json +++ b/types/mongoose/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mongoose/v3/tsconfig.json b/types/mongoose/v3/tsconfig.json index 2ea987dff7..505d24e636 100644 --- a/types/mongoose/v3/tsconfig.json +++ b/types/mongoose/v3/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mongoose/v4/tsconfig.json b/types/mongoose/v4/tsconfig.json index ad36fd5ca3..f2e0b541c8 100644 --- a/types/mongoose/v4/tsconfig.json +++ b/types/mongoose/v4/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/moo/tsconfig.json b/types/moo/tsconfig.json index e2659ef342..2203d94341 100644 --- a/types/moo/tsconfig.json +++ b/types/moo/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/moonjs/tsconfig.json b/types/moonjs/tsconfig.json index b66e636445..f26c03118b 100644 --- a/types/moonjs/tsconfig.json +++ b/types/moonjs/tsconfig.json @@ -20,6 +20,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/morgan/tsconfig.json b/types/morgan/tsconfig.json index 87ca0a6d5d..40d97bcb99 100644 --- a/types/morgan/tsconfig.json +++ b/types/morgan/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/morris.js/tsconfig.json b/types/morris.js/tsconfig.json index 10aa9f3c2d..4be75cfd20 100644 --- a/types/morris.js/tsconfig.json +++ b/types/morris.js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mousetrap/tsconfig.json b/types/mousetrap/tsconfig.json index ade8c0d47d..7cf51a0ec3 100644 --- a/types/mousetrap/tsconfig.json +++ b/types/mousetrap/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/move-concurrently/tsconfig.json b/types/move-concurrently/tsconfig.json index a0e00356c8..d9ccd40b52 100644 --- a/types/move-concurrently/tsconfig.json +++ b/types/move-concurrently/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/moviedb/tsconfig.json b/types/moviedb/tsconfig.json index 5b182007ca..9cd2ba13e8 100644 --- a/types/moviedb/tsconfig.json +++ b/types/moviedb/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/moxios/tsconfig.json b/types/moxios/tsconfig.json index a0224c335f..000e8feeb0 100644 --- a/types/moxios/tsconfig.json +++ b/types/moxios/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mozilla-readability/tsconfig.json b/types/mozilla-readability/tsconfig.json index 007aac8b63..07af9472c3 100644 --- a/types/mozilla-readability/tsconfig.json +++ b/types/mozilla-readability/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "mozilla-readability-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/mpromise/tsconfig.json b/types/mpromise/tsconfig.json index 6f5f9d6abc..e76a3809d8 100644 --- a/types/mpromise/tsconfig.json +++ b/types/mpromise/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mri/tsconfig.json b/types/mri/tsconfig.json index 9218819c6b..60f8ce3044 100644 --- a/types/mri/tsconfig.json +++ b/types/mri/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ms/tsconfig.json b/types/ms/tsconfig.json index aaaa9f14e8..080a128095 100644 --- a/types/ms/tsconfig.json +++ b/types/ms/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/msgpack-lite/tsconfig.json b/types/msgpack-lite/tsconfig.json index 014ff12483..73b2be7f36 100644 --- a/types/msgpack-lite/tsconfig.json +++ b/types/msgpack-lite/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/msgpack/tsconfig.json b/types/msgpack/tsconfig.json index b004630b6c..be68498cc9 100644 --- a/types/msgpack/tsconfig.json +++ b/types/msgpack/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/msgpack5/tsconfig.json b/types/msgpack5/tsconfig.json index f58f4a8a94..73f103564f 100644 --- a/types/msgpack5/tsconfig.json +++ b/types/msgpack5/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/msnodesql/tsconfig.json b/types/msnodesql/tsconfig.json index 8eb58e9531..5768b83caa 100644 --- a/types/msnodesql/tsconfig.json +++ b/types/msnodesql/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/msportalfx-test/tsconfig.json b/types/msportalfx-test/tsconfig.json index 4df355d685..043b903835 100644 --- a/types/msportalfx-test/tsconfig.json +++ b/types/msportalfx-test/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mssql/tsconfig.json b/types/mssql/tsconfig.json index 51f03fd652..ee8e17a585 100644 --- a/types/mssql/tsconfig.json +++ b/types/mssql/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mu2/tsconfig.json b/types/mu2/tsconfig.json index 3e01589707..929e73f45b 100644 --- a/types/mu2/tsconfig.json +++ b/types/mu2/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/multer-gridfs-storage/tsconfig.json b/types/multer-gridfs-storage/tsconfig.json index 1daa734d97..3644f79add 100644 --- a/types/multer-gridfs-storage/tsconfig.json +++ b/types/multer-gridfs-storage/tsconfig.json @@ -19,7 +19,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/multer-gridfs-storage/v1/tsconfig.json b/types/multer-gridfs-storage/v1/tsconfig.json index 8fb06dfd29..00e1091a16 100644 --- a/types/multer-gridfs-storage/v1/tsconfig.json +++ b/types/multer-gridfs-storage/v1/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/multer-s3/tsconfig.json b/types/multer-s3/tsconfig.json index 812fd71b21..807cd374a5 100644 --- a/types/multer-s3/tsconfig.json +++ b/types/multer-s3/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/multer/tsconfig.json b/types/multer/tsconfig.json index 33a047e9dd..b62fe04125 100644 --- a/types/multer/tsconfig.json +++ b/types/multer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/multi-typeof/tsconfig.json b/types/multi-typeof/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/multi-typeof/tsconfig.json +++ b/types/multi-typeof/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/multimatch/tsconfig.json b/types/multimatch/tsconfig.json index c7ee9e6f63..98647c67da 100644 --- a/types/multimatch/tsconfig.json +++ b/types/multimatch/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/multiparty/tsconfig.json b/types/multiparty/tsconfig.json index 0adadcf9a3..2f73f00ca7 100644 --- a/types/multiparty/tsconfig.json +++ b/types/multiparty/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/multiplexjs/tsconfig.json b/types/multiplexjs/tsconfig.json index bad1ec3652..94e2a89169 100644 --- a/types/multiplexjs/tsconfig.json +++ b/types/multiplexjs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/multisort/tsconfig.json b/types/multisort/tsconfig.json index d2d76512ef..2602e31746 100644 --- a/types/multisort/tsconfig.json +++ b/types/multisort/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "multisort-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/multistream/tsconfig.json b/types/multistream/tsconfig.json index 3fa5cc7c47..cb9258d5c6 100644 --- a/types/multistream/tsconfig.json +++ b/types/multistream/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "multistream-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/murmurhash-js/tsconfig.json b/types/murmurhash-js/tsconfig.json index bcebcbf18e..290fd09fe3 100644 --- a/types/murmurhash-js/tsconfig.json +++ b/types/murmurhash-js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/murmurhash3js/tsconfig.json b/types/murmurhash3js/tsconfig.json index 3f3a3a6fe3..109bec1b1b 100644 --- a/types/murmurhash3js/tsconfig.json +++ b/types/murmurhash3js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/musicmetadata/tsconfig.json b/types/musicmetadata/tsconfig.json index da6158b218..55d870abf7 100644 --- a/types/musicmetadata/tsconfig.json +++ b/types/musicmetadata/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mustache/tsconfig.json b/types/mustache/tsconfig.json index dd50c6f999..c1bde7af8b 100644 --- a/types/mustache/tsconfig.json +++ b/types/mustache/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/mv/tsconfig.json b/types/mv/tsconfig.json index fc51bf757d..2ce04b2cfa 100644 --- a/types/mv/tsconfig.json +++ b/types/mv/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/mysql/tsconfig.json b/types/mysql/tsconfig.json index 1249bcd757..d2a4788d7c 100644 --- a/types/mysql/tsconfig.json +++ b/types/mysql/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "mysql-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/mz/tsconfig.json b/types/mz/tsconfig.json index f6a2ef5871..bdfa029d8b 100644 --- a/types/mz/tsconfig.json +++ b/types/mz/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "fs.d.ts", diff --git a/types/n3/tsconfig.json b/types/n3/tsconfig.json index 4ba121903d..c7ec1df12b 100644 --- a/types/n3/tsconfig.json +++ b/types/n3/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nano/tsconfig.json b/types/nano/tsconfig.json index 7586d0b0bf..f0d7a6a4a2 100644 --- a/types/nano/tsconfig.json +++ b/types/nano/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nanoajax/tsconfig.json b/types/nanoajax/tsconfig.json index 0da0980613..ee0559e4ba 100644 --- a/types/nanoajax/tsconfig.json +++ b/types/nanoajax/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nanoid/tsconfig.json b/types/nanoid/tsconfig.json index 0df191829d..6a7acb9122 100644 --- a/types/nanoid/tsconfig.json +++ b/types/nanoid/tsconfig.json @@ -14,6 +14,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ @@ -25,4 +26,4 @@ "random.d.ts", "url.d.ts" ] -} +} \ No newline at end of file diff --git a/types/nanomsg/tsconfig.json b/types/nanomsg/tsconfig.json index e42b4841af..6f1a4347f9 100644 --- a/types/nanomsg/tsconfig.json +++ b/types/nanomsg/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nanoscroller/tsconfig.json b/types/nanoscroller/tsconfig.json index 7aeed7ab3d..51d0db097f 100644 --- a/types/nanoscroller/tsconfig.json +++ b/types/nanoscroller/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nanp/tsconfig.json b/types/nanp/tsconfig.json index d873227232..0aae22261b 100644 --- a/types/nanp/tsconfig.json +++ b/types/nanp/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nats-hemera/tsconfig.json b/types/nats-hemera/tsconfig.json index 69c6083e56..4238f55a02 100644 --- a/types/nats-hemera/tsconfig.json +++ b/types/nats-hemera/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/natsort/tsconfig.json b/types/natsort/tsconfig.json index a23b1f358e..34d62a95ff 100644 --- a/types/natsort/tsconfig.json +++ b/types/natsort/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/natural-sort/tsconfig.json b/types/natural-sort/tsconfig.json index b592fcdb65..2a06885468 100644 --- a/types/natural-sort/tsconfig.json +++ b/types/natural-sort/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/natural/tsconfig.json b/types/natural/tsconfig.json index c04f83d753..a996ed84dc 100644 --- a/types/natural/tsconfig.json +++ b/types/natural/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/navigation-react/tsconfig.json b/types/navigation-react/tsconfig.json index 75ad101514..ec2d3dabb9 100644 --- a/types/navigation-react/tsconfig.json +++ b/types/navigation-react/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/navigation/tsconfig.json b/types/navigation/tsconfig.json index 8b8e594ec2..fc77d66124 100644 --- a/types/navigation/tsconfig.json +++ b/types/navigation/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/navigo/tsconfig.json b/types/navigo/tsconfig.json index c43965d118..670c3e99fb 100644 --- a/types/navigo/tsconfig.json +++ b/types/navigo/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nblas/tsconfig.json b/types/nblas/tsconfig.json index 9da3a941dd..6d5a0a0b0b 100644 --- a/types/nblas/tsconfig.json +++ b/types/nblas/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nconf/tsconfig.json b/types/nconf/tsconfig.json index 134b7a4fb9..2d213b4bc2 100644 --- a/types/nconf/tsconfig.json +++ b/types/nconf/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ncp/tsconfig.json b/types/ncp/tsconfig.json index ad2247a6c9..cd3215ff35 100644 --- a/types/ncp/tsconfig.json +++ b/types/ncp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ndarray/tsconfig.json b/types/ndarray/tsconfig.json index 9f2c134f3d..cfaf8d710e 100644 --- a/types/ndarray/tsconfig.json +++ b/types/ndarray/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nearley/tsconfig.json b/types/nearley/tsconfig.json index bce8ee061a..d2ad939fb7 100644 --- a/types/nearley/tsconfig.json +++ b/types/nearley/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nedb-logger/tsconfig.json b/types/nedb-logger/tsconfig.json index 857cf7bb11..33e65ee249 100644 --- a/types/nedb-logger/tsconfig.json +++ b/types/nedb-logger/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nedb/tsconfig.json b/types/nedb/tsconfig.json index 220dc976e1..71be3fc3dc 100644 --- a/types/nedb/tsconfig.json +++ b/types/nedb/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/needle/tsconfig.json b/types/needle/tsconfig.json index b0f67719ed..13fb81e8b3 100644 --- a/types/needle/tsconfig.json +++ b/types/needle/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/needle/v0/tsconfig.json b/types/needle/v0/tsconfig.json index 3ea9ca7f93..0cc54647f9 100644 --- a/types/needle/v0/tsconfig.json +++ b/types/needle/v0/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/needle/v1/tsconfig.json b/types/needle/v1/tsconfig.json index 7918dc3952..9e199dda15 100644 --- a/types/needle/v1/tsconfig.json +++ b/types/needle/v1/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/negotiator/tsconfig.json b/types/negotiator/tsconfig.json index 89c06ad77a..83e42b29aa 100644 --- a/types/negotiator/tsconfig.json +++ b/types/negotiator/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/neo4j/tsconfig.json b/types/neo4j/tsconfig.json index fa1c26ea60..24d94b0134 100644 --- a/types/neo4j/tsconfig.json +++ b/types/neo4j/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nes/tsconfig.json b/types/nes/tsconfig.json index 374b67b515..f9e07170b3 100644 --- a/types/nes/tsconfig.json +++ b/types/nes/tsconfig.json @@ -14,10 +14,13 @@ ], "types": [], "paths": { - "boom": ["boom/v4"] + "boom": [ + "boom/v4" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", @@ -36,4 +39,4 @@ "test/subscriptions-client.ts", "test/subscriptions-server.ts" ] -} +} \ No newline at end of file diff --git a/types/net-keepalive/tsconfig.json b/types/net-keepalive/tsconfig.json index 38736fd181..937edbecfb 100644 --- a/types/net-keepalive/tsconfig.json +++ b/types/net-keepalive/tsconfig.json @@ -1,21 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es5" - ], - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "forceConsistentCasingInFileNames": true, - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "noEmit": true - }, - "files": [ - "index.d.ts", - "net-keepalive-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es5" + ], + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "noEmit": true + }, + "files": [ + "index.d.ts", + "net-keepalive-tests.ts" + ] } \ No newline at end of file diff --git a/types/netmask/tsconfig.json b/types/netmask/tsconfig.json index 8666e91a29..db74d19edf 100644 --- a/types/netmask/tsconfig.json +++ b/types/netmask/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/new-relic-browser/tsconfig.json b/types/new-relic-browser/tsconfig.json index 61ee6742c7..ab3b384d26 100644 --- a/types/new-relic-browser/tsconfig.json +++ b/types/new-relic-browser/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "new-relic-browser-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/nexpect/tsconfig.json b/types/nexpect/tsconfig.json index d73f78e043..712c1fb7b4 100644 --- a/types/nexpect/tsconfig.json +++ b/types/nexpect/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/next-redux-wrapper/tsconfig.json b/types/next-redux-wrapper/tsconfig.json index 7cfafdcb96..3108e45df1 100644 --- a/types/next-redux-wrapper/tsconfig.json +++ b/types/next-redux-wrapper/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/next/tsconfig.json b/types/next/tsconfig.json index 05e0b4e7ad..850e09cb80 100644 --- a/types/next/tsconfig.json +++ b/types/next/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ng-command/tsconfig.json b/types/ng-command/tsconfig.json index f64e284ecb..be46dfcb9b 100644 --- a/types/ng-command/tsconfig.json +++ b/types/ng-command/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ng-cordova/tsconfig.json b/types/ng-cordova/tsconfig.json index d0885bd15f..0572c04f8b 100644 --- a/types/ng-cordova/tsconfig.json +++ b/types/ng-cordova/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ng-dialog/tsconfig.json b/types/ng-dialog/tsconfig.json index 91539585a7..187992997a 100644 --- a/types/ng-dialog/tsconfig.json +++ b/types/ng-dialog/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ng-facebook/tsconfig.json b/types/ng-facebook/tsconfig.json index dc239cbe5a..701a75e7e9 100644 --- a/types/ng-facebook/tsconfig.json +++ b/types/ng-facebook/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ng-file-upload/tsconfig.json b/types/ng-file-upload/tsconfig.json index b08385c840..4cc1ff73fa 100644 --- a/types/ng-file-upload/tsconfig.json +++ b/types/ng-file-upload/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ng-flow/tsconfig.json b/types/ng-flow/tsconfig.json index 47d56906c5..f10dd6c6a1 100644 --- a/types/ng-flow/tsconfig.json +++ b/types/ng-flow/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ng-grid/tsconfig.json b/types/ng-grid/tsconfig.json index 5fcf2d1373..84bb17f123 100644 --- a/types/ng-grid/tsconfig.json +++ b/types/ng-grid/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ng-i18next/tsconfig.json b/types/ng-i18next/tsconfig.json index bf666912a5..038677906d 100644 --- a/types/ng-i18next/tsconfig.json +++ b/types/ng-i18next/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ng-notify/tsconfig.json b/types/ng-notify/tsconfig.json index c8cf3b029a..28342f01d7 100644 --- a/types/ng-notify/tsconfig.json +++ b/types/ng-notify/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ng-stomp/tsconfig.json b/types/ng-stomp/tsconfig.json index 151a99eb53..2f1e898136 100644 --- a/types/ng-stomp/tsconfig.json +++ b/types/ng-stomp/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ngbootbox/tsconfig.json b/types/ngbootbox/tsconfig.json index a5e7d7d878..e4abac771c 100644 --- a/types/ngbootbox/tsconfig.json +++ b/types/ngbootbox/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ngeohash/tsconfig.json b/types/ngeohash/tsconfig.json index 7f248102e6..81b220b62e 100644 --- a/types/ngeohash/tsconfig.json +++ b/types/ngeohash/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ngkookies/tsconfig.json b/types/ngkookies/tsconfig.json index 79178992a5..889586869b 100644 --- a/types/ngkookies/tsconfig.json +++ b/types/ngkookies/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ngmap/tsconfig.json b/types/ngmap/tsconfig.json index 0427e8a338..1fe1544f80 100644 --- a/types/ngmap/tsconfig.json +++ b/types/ngmap/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ngprogress-lite/tsconfig.json b/types/ngprogress-lite/tsconfig.json index 5e8b28fdb2..9e54886818 100644 --- a/types/ngprogress-lite/tsconfig.json +++ b/types/ngprogress-lite/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ngprogress/tsconfig.json b/types/ngprogress/tsconfig.json index 237f5f5962..2a4888f759 100644 --- a/types/ngprogress/tsconfig.json +++ b/types/ngprogress/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ngreact/tsconfig.json b/types/ngreact/tsconfig.json index 39325499dd..e8f4365a16 100644 --- a/types/ngreact/tsconfig.json +++ b/types/ngreact/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/ngstorage/tsconfig.json b/types/ngstorage/tsconfig.json index 5bdb5efc09..dad284112c 100644 --- a/types/ngstorage/tsconfig.json +++ b/types/ngstorage/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ngtoaster/tsconfig.json b/types/ngtoaster/tsconfig.json index 5bc6882baf..b1b426ad7b 100644 --- a/types/ngtoaster/tsconfig.json +++ b/types/ngtoaster/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ngwysiwyg/tsconfig.json b/types/ngwysiwyg/tsconfig.json index 4292c2cff6..b780ce798a 100644 --- a/types/ngwysiwyg/tsconfig.json +++ b/types/ngwysiwyg/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nightmare/tsconfig.json b/types/nightmare/tsconfig.json index 4bce8306fd..a2e7b85879 100644 --- a/types/nightmare/tsconfig.json +++ b/types/nightmare/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nightwatch/tsconfig.json b/types/nightwatch/tsconfig.json index 4b080c6048..e08524ac5c 100644 --- a/types/nightwatch/tsconfig.json +++ b/types/nightwatch/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/noble/tsconfig.json b/types/noble/tsconfig.json index 3539eef12c..6ecc97642a 100644 --- a/types/noble/tsconfig.json +++ b/types/noble/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nock/tsconfig.json b/types/nock/tsconfig.json index 30c4ce3aa7..fbd88d8e06 100644 --- a/types/nock/tsconfig.json +++ b/types/nock/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nodal/tsconfig.json b/types/nodal/tsconfig.json index 29407ab0a0..e386a34bd5 100644 --- a/types/nodal/tsconfig.json +++ b/types/nodal/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-7z/tsconfig.json b/types/node-7z/tsconfig.json index 87c09a2635..31275e1a7b 100644 --- a/types/node-7z/tsconfig.json +++ b/types/node-7z/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-array-ext/tsconfig.json b/types/node-array-ext/tsconfig.json index b7713bacb2..54ad436976 100644 --- a/types/node-array-ext/tsconfig.json +++ b/types/node-array-ext/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-cache/tsconfig.json b/types/node-cache/tsconfig.json index e024dba82d..0d05a8b958 100644 --- a/types/node-cache/tsconfig.json +++ b/types/node-cache/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-calendar/tsconfig.json b/types/node-calendar/tsconfig.json index f70d2de8ee..ddb256ca4b 100644 --- a/types/node-calendar/tsconfig.json +++ b/types/node-calendar/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-cleanup/tsconfig.json b/types/node-cleanup/tsconfig.json index 0b50b3555b..eab90ee9cc 100644 --- a/types/node-cleanup/tsconfig.json +++ b/types/node-cleanup/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-common-errors/tsconfig.json b/types/node-common-errors/tsconfig.json index a862893b87..361e724698 100644 --- a/types/node-common-errors/tsconfig.json +++ b/types/node-common-errors/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-config-manager/tsconfig.json b/types/node-config-manager/tsconfig.json index c308808722..91a3ae8510 100644 --- a/types/node-config-manager/tsconfig.json +++ b/types/node-config-manager/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-cron/tsconfig.json b/types/node-cron/tsconfig.json index e1ec63395b..5269f6d3a1 100644 --- a/types/node-cron/tsconfig.json +++ b/types/node-cron/tsconfig.json @@ -16,10 +16,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "node-cron-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/node-dir/tsconfig.json b/types/node-dir/tsconfig.json index b8e68860af..cdbe51bb62 100644 --- a/types/node-dir/tsconfig.json +++ b/types/node-dir/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-dogstatsd/tsconfig.json b/types/node-dogstatsd/tsconfig.json index 98d50c65f8..b6f2407301 100644 --- a/types/node-dogstatsd/tsconfig.json +++ b/types/node-dogstatsd/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-emoji/tsconfig.json b/types/node-emoji/tsconfig.json index 448cf4351c..09552ed78b 100644 --- a/types/node-emoji/tsconfig.json +++ b/types/node-emoji/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-fetch/tsconfig.json b/types/node-fetch/tsconfig.json index 98a8d56ff1..b68e127c1f 100644 --- a/types/node-fetch/tsconfig.json +++ b/types/node-fetch/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-fibers/tsconfig.json b/types/node-fibers/tsconfig.json index a646c67d7f..1f8e0571ac 100644 --- a/types/node-fibers/tsconfig.json +++ b/types/node-fibers/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-forge/tsconfig.json b/types/node-forge/tsconfig.json index 8864280abf..fb3691ebef 100644 --- a/types/node-forge/tsconfig.json +++ b/types/node-forge/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-gcm/tsconfig.json b/types/node-gcm/tsconfig.json index f68df952f2..594e89999c 100644 --- a/types/node-gcm/tsconfig.json +++ b/types/node-gcm/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-geocoder/tsconfig.json b/types/node-geocoder/tsconfig.json index 8076dc932c..0ad4af9d61 100644 --- a/types/node-geocoder/tsconfig.json +++ b/types/node-geocoder/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-getopt/tsconfig.json b/types/node-getopt/tsconfig.json index 757df0d365..399c277a9c 100644 --- a/types/node-getopt/tsconfig.json +++ b/types/node-getopt/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-hid/tsconfig.json b/types/node-hid/tsconfig.json index 3dce09c22b..65590474cb 100644 --- a/types/node-hid/tsconfig.json +++ b/types/node-hid/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-horseman/tsconfig.json b/types/node-horseman/tsconfig.json index 5490648512..a29f0ceb09 100644 --- a/types/node-horseman/tsconfig.json +++ b/types/node-horseman/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "node-horseman-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/node-hue-api/tsconfig.json b/types/node-hue-api/tsconfig.json index 6edecf355c..0310c9fb67 100644 --- a/types/node-hue-api/tsconfig.json +++ b/types/node-hue-api/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-int64/tsconfig.json b/types/node-int64/tsconfig.json index b7911dd7a2..361f4eb4e2 100644 --- a/types/node-int64/tsconfig.json +++ b/types/node-int64/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-ipc/tsconfig.json b/types/node-ipc/tsconfig.json index d8a28a8334..f3a0189b05 100644 --- a/types/node-ipc/tsconfig.json +++ b/types/node-ipc/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-jsfl-runner/tsconfig.json b/types/node-jsfl-runner/tsconfig.json index eb2c2d7fe9..f4353811a9 100644 --- a/types/node-jsfl-runner/tsconfig.json +++ b/types/node-jsfl-runner/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-json-db/tsconfig.json b/types/node-json-db/tsconfig.json index 1372add5aa..dfd45628f8 100644 --- a/types/node-json-db/tsconfig.json +++ b/types/node-json-db/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-mysql-wrapper/tsconfig.json b/types/node-mysql-wrapper/tsconfig.json index 7e12021cdc..d49a9c6e0b 100644 --- a/types/node-mysql-wrapper/tsconfig.json +++ b/types/node-mysql-wrapper/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-notifier/tsconfig.json b/types/node-notifier/tsconfig.json index 97b9bb617e..bab1531cf7 100644 --- a/types/node-notifier/tsconfig.json +++ b/types/node-notifier/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-persist/tsconfig.json b/types/node-persist/tsconfig.json index bcc3c3f2f9..e0b20bbdc4 100644 --- a/types/node-persist/tsconfig.json +++ b/types/node-persist/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-polyglot/tsconfig.json b/types/node-polyglot/tsconfig.json index ebf34971af..8927b0008b 100644 --- a/types/node-polyglot/tsconfig.json +++ b/types/node-polyglot/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-powershell/tsconfig.json b/types/node-powershell/tsconfig.json index d24dc26304..2d2fc6f999 100644 --- a/types/node-powershell/tsconfig.json +++ b/types/node-powershell/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-ral/tsconfig.json b/types/node-ral/tsconfig.json index 13eec57091..de24642d5f 100644 --- a/types/node-ral/tsconfig.json +++ b/types/node-ral/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-red/tsconfig.json b/types/node-red/tsconfig.json index e92fbbd930..2330c83cff 100644 --- a/types/node-red/tsconfig.json +++ b/types/node-red/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-rsa/tsconfig.json b/types/node-rsa/tsconfig.json index 662a3c6b6f..e1a294df26 100644 --- a/types/node-rsa/tsconfig.json +++ b/types/node-rsa/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-sass-middleware/tsconfig.json b/types/node-sass-middleware/tsconfig.json index f1c2b3a530..930a88b720 100644 --- a/types/node-sass-middleware/tsconfig.json +++ b/types/node-sass-middleware/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-sass/tsconfig.json b/types/node-sass/tsconfig.json index a1e4cdb079..4ee0b96bb1 100644 --- a/types/node-sass/tsconfig.json +++ b/types/node-sass/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-schedule/tsconfig.json b/types/node-schedule/tsconfig.json index 7ff95758d0..37ff002d0e 100644 --- a/types/node-schedule/tsconfig.json +++ b/types/node-schedule/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-slack/tsconfig.json b/types/node-slack/tsconfig.json index b32803599a..db7ad8d561 100644 --- a/types/node-slack/tsconfig.json +++ b/types/node-slack/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-snap7/tsconfig.json b/types/node-snap7/tsconfig.json index c78bc5a83f..70d02cbaab 100644 --- a/types/node-snap7/tsconfig.json +++ b/types/node-snap7/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-sprite-generator/tsconfig.json b/types/node-sprite-generator/tsconfig.json index 1a1abcf56b..cfd0f3ecb0 100644 --- a/types/node-sprite-generator/tsconfig.json +++ b/types/node-sprite-generator/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-static/tsconfig.json b/types/node-static/tsconfig.json index 57a6d79f15..b6034feeaf 100644 --- a/types/node-static/tsconfig.json +++ b/types/node-static/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-statsd/tsconfig.json b/types/node-statsd/tsconfig.json index a4f7cdba75..dea7e59d6c 100644 --- a/types/node-statsd/tsconfig.json +++ b/types/node-statsd/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-telegram-bot-api/tsconfig.json b/types/node-telegram-bot-api/tsconfig.json index bb33d5e9b5..62f52d6383 100644 --- a/types/node-telegram-bot-api/tsconfig.json +++ b/types/node-telegram-bot-api/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-uuid/tsconfig.json b/types/node-uuid/tsconfig.json index 52dc8180a0..f5491454e9 100644 --- a/types/node-uuid/tsconfig.json +++ b/types/node-uuid/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-validator/tsconfig.json b/types/node-validator/tsconfig.json index eb98203673..693678cdf3 100644 --- a/types/node-validator/tsconfig.json +++ b/types/node-validator/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-vault/tsconfig.json b/types/node-vault/tsconfig.json index d2875ffa4a..db340a253a 100644 --- a/types/node-vault/tsconfig.json +++ b/types/node-vault/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-wit/tsconfig.json b/types/node-wit/tsconfig.json index 4c183185fe..0f38fba2fb 100644 --- a/types/node-wit/tsconfig.json +++ b/types/node-wit/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-xmpp-client/tsconfig.json b/types/node-xmpp-client/tsconfig.json index 35471e38d2..da73c1f290 100644 --- a/types/node-xmpp-client/tsconfig.json +++ b/types/node-xmpp-client/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-xmpp-core/tsconfig.json b/types/node-xmpp-core/tsconfig.json index 65e37ab467..aab7c340f4 100644 --- a/types/node-xmpp-core/tsconfig.json +++ b/types/node-xmpp-core/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node-zookeeper-client/tsconfig.json b/types/node-zookeeper-client/tsconfig.json index 0182035432..89a844e122 100644 --- a/types/node-zookeeper-client/tsconfig.json +++ b/types/node-zookeeper-client/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node/tsconfig.json b/types/node/tsconfig.json index 9f4317b9f4..16836a1483 100644 --- a/types/node/tsconfig.json +++ b/types/node/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/node/v0/tsconfig.json b/types/node/v0/tsconfig.json index a4a370b7a7..b3bde5e9c4 100644 --- a/types/node/v0/tsconfig.json +++ b/types/node/v0/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node/v4/tsconfig.json b/types/node/v4/tsconfig.json index c89540145a..c5b84e1c76 100644 --- a/types/node/v4/tsconfig.json +++ b/types/node/v4/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node/v6/tsconfig.json b/types/node/v6/tsconfig.json index 8fc9488eac..452983f88b 100644 --- a/types/node/v6/tsconfig.json +++ b/types/node/v6/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/node/v7/tsconfig.json b/types/node/v7/tsconfig.json index c5badcdaa5..23318008ca 100644 --- a/types/node/v7/tsconfig.json +++ b/types/node/v7/tsconfig.json @@ -23,6 +23,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/node/v8/tsconfig.json b/types/node/v8/tsconfig.json index 3f4614bef4..ea093ad4a3 100644 --- a/types/node/v8/tsconfig.json +++ b/types/node/v8/tsconfig.json @@ -24,6 +24,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/node_redis/tsconfig.json b/types/node_redis/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/node_redis/tsconfig.json +++ b/types/node_redis/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/nodegit/tsconfig.json b/types/nodegit/tsconfig.json index e097a77133..6f425f13a1 100644 --- a/types/nodegit/tsconfig.json +++ b/types/nodegit/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "annotated-commit.d.ts", @@ -119,4 +120,4 @@ "tree-update.d.ts", "tree.d.ts" ] -} +} \ No newline at end of file diff --git a/types/nodemailer-direct-transport/tsconfig.json b/types/nodemailer-direct-transport/tsconfig.json index a86a4a088a..98320cc735 100644 --- a/types/nodemailer-direct-transport/tsconfig.json +++ b/types/nodemailer-direct-transport/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nodemailer-mailgun-transport/tsconfig.json b/types/nodemailer-mailgun-transport/tsconfig.json index 4098e7a2d4..e5d64d4305 100644 --- a/types/nodemailer-mailgun-transport/tsconfig.json +++ b/types/nodemailer-mailgun-transport/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nodemailer-pickup-transport/tsconfig.json b/types/nodemailer-pickup-transport/tsconfig.json index 913453977e..5c029de666 100644 --- a/types/nodemailer-pickup-transport/tsconfig.json +++ b/types/nodemailer-pickup-transport/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nodemailer-ses-transport/tsconfig.json b/types/nodemailer-ses-transport/tsconfig.json index bdaffbb222..db905153d0 100644 --- a/types/nodemailer-ses-transport/tsconfig.json +++ b/types/nodemailer-ses-transport/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nodemailer-smtp-pool/tsconfig.json b/types/nodemailer-smtp-pool/tsconfig.json index 63a47e4ce7..ed28a80cfd 100644 --- a/types/nodemailer-smtp-pool/tsconfig.json +++ b/types/nodemailer-smtp-pool/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nodemailer-smtp-transport/tsconfig.json b/types/nodemailer-smtp-transport/tsconfig.json index 4bce06278d..5a3c396e6f 100644 --- a/types/nodemailer-smtp-transport/tsconfig.json +++ b/types/nodemailer-smtp-transport/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nodemailer-stub-transport/tsconfig.json b/types/nodemailer-stub-transport/tsconfig.json index c8fed1b487..52b6f50f53 100644 --- a/types/nodemailer-stub-transport/tsconfig.json +++ b/types/nodemailer-stub-transport/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nodemailer/tsconfig.json b/types/nodemailer/tsconfig.json index f2c1ffbbe8..e01403bac1 100644 --- a/types/nodemailer/tsconfig.json +++ b/types/nodemailer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nodemailer/v3/tsconfig.json b/types/nodemailer/v3/tsconfig.json index 4ebef6b8cf..72c13e5afd 100644 --- a/types/nodemailer/v3/tsconfig.json +++ b/types/nodemailer/v3/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nodeunit/tsconfig.json b/types/nodeunit/tsconfig.json index 3d52af1d14..8500b806f3 100644 --- a/types/nodeunit/tsconfig.json +++ b/types/nodeunit/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/noisejs/tsconfig.json b/types/noisejs/tsconfig.json index 43e5b37e38..cab62ac0cd 100644 --- a/types/noisejs/tsconfig.json +++ b/types/noisejs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nomnom/tsconfig.json b/types/nomnom/tsconfig.json index 0c5b757ced..e67f844431 100644 --- a/types/nomnom/tsconfig.json +++ b/types/nomnom/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nopt/tsconfig.json b/types/nopt/tsconfig.json index 0dc537c0c8..8c962d58a5 100644 --- a/types/nopt/tsconfig.json +++ b/types/nopt/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/normalize-package-data/tsconfig.json b/types/normalize-package-data/tsconfig.json index 0e79738d04..95a0703f81 100644 --- a/types/normalize-package-data/tsconfig.json +++ b/types/normalize-package-data/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "normalize-package-data-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/normalize-url/tsconfig.json b/types/normalize-url/tsconfig.json index 1626fe81b7..59d52868c4 100644 --- a/types/normalize-url/tsconfig.json +++ b/types/normalize-url/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/notie/tsconfig.json b/types/notie/tsconfig.json index 0ab631c147..3ee5ae8275 100644 --- a/types/notie/tsconfig.json +++ b/types/notie/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/notify/tsconfig.json b/types/notify/tsconfig.json index a6957993f9..2543739912 100644 --- a/types/notify/tsconfig.json +++ b/types/notify/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/notifyjs-browser/tsconfig.json b/types/notifyjs-browser/tsconfig.json index 53861036b0..e4aae3115f 100644 --- a/types/notifyjs-browser/tsconfig.json +++ b/types/notifyjs-browser/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/notifyjs/tsconfig.json b/types/notifyjs/tsconfig.json index 0652ac5cfc..9c2928de69 100644 --- a/types/notifyjs/tsconfig.json +++ b/types/notifyjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/notyf/tsconfig.json b/types/notyf/tsconfig.json index 9cf78d162a..ac2fa96aad 100644 --- a/types/notyf/tsconfig.json +++ b/types/notyf/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "notyf-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/nouislider/tsconfig.json b/types/nouislider/tsconfig.json index dd6994a4dd..43253dfc79 100644 --- a/types/nouislider/tsconfig.json +++ b/types/nouislider/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nouislider/v7/tsconfig.json b/types/nouislider/v7/tsconfig.json index d24f6c55b0..c38ff9e541 100644 --- a/types/nouislider/v7/tsconfig.json +++ b/types/nouislider/v7/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nouislider/v8/tsconfig.json b/types/nouislider/v8/tsconfig.json index 6dfd2ac510..d0b146bb70 100644 --- a/types/nouislider/v8/tsconfig.json +++ b/types/nouislider/v8/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/novnc-core/tsconfig.json b/types/novnc-core/tsconfig.json index 3aed33120e..93eff8a1e4 100644 --- a/types/novnc-core/tsconfig.json +++ b/types/novnc-core/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/npm-package-arg/tsconfig.json b/types/npm-package-arg/tsconfig.json index 1eea7a98ae..7cc49c7366 100644 --- a/types/npm-package-arg/tsconfig.json +++ b/types/npm-package-arg/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/npm/tsconfig.json b/types/npm/tsconfig.json index 01aebadc3e..8f15ee25cf 100644 --- a/types/npm/tsconfig.json +++ b/types/npm/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nprogress/tsconfig.json b/types/nprogress/tsconfig.json index bd50ab2e1f..e8c393e92c 100644 --- a/types/nprogress/tsconfig.json +++ b/types/nprogress/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ns-api/tsconfig.json b/types/ns-api/tsconfig.json index 6918e1e567..7569d8c5fa 100644 --- a/types/ns-api/tsconfig.json +++ b/types/ns-api/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nslog/tsconfig.json b/types/nslog/tsconfig.json index 6cd009f29d..a285b4a578 100644 --- a/types/nslog/tsconfig.json +++ b/types/nslog/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nsqjs/tsconfig.json b/types/nsqjs/tsconfig.json index 6681afbdb9..5a96224386 100644 --- a/types/nsqjs/tsconfig.json +++ b/types/nsqjs/tsconfig.json @@ -15,10 +15,10 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "strictFunctionTypes": true + "esModuleInterop": true }, "files": [ "index.d.ts", "nsqjs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/number-is-nan/tsconfig.json b/types/number-is-nan/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/number-is-nan/tsconfig.json +++ b/types/number-is-nan/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/number-to-words/tsconfig.json b/types/number-to-words/tsconfig.json index 49b562b085..c14a5e19f2 100644 --- a/types/number-to-words/tsconfig.json +++ b/types/number-to-words/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/numeral/tsconfig.json b/types/numeral/tsconfig.json index 332485f391..e47443e0f5 100644 --- a/types/numeral/tsconfig.json +++ b/types/numeral/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/numjs/tsconfig.json b/types/numjs/tsconfig.json index f76db6c4ca..7b5455900f 100644 --- a/types/numjs/tsconfig.json +++ b/types/numjs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nunjucks-date/tsconfig.json b/types/nunjucks-date/tsconfig.json index c5851d125c..a4174f7bc8 100644 --- a/types/nunjucks-date/tsconfig.json +++ b/types/nunjucks-date/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nunjucks/tsconfig.json b/types/nunjucks/tsconfig.json index 5824ce2f1f..70ac043ff8 100644 --- a/types/nunjucks/tsconfig.json +++ b/types/nunjucks/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "nunjucks-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/nvd3/tsconfig.json b/types/nvd3/tsconfig.json index a2aa830e00..910a98d99c 100644 --- a/types/nvd3/tsconfig.json +++ b/types/nvd3/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nw.gui/tsconfig.json b/types/nw.gui/tsconfig.json index ec66284c38..0570b20e56 100644 --- a/types/nw.gui/tsconfig.json +++ b/types/nw.gui/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/nw.js/tsconfig.json b/types/nw.js/tsconfig.json index 047aa3c15a..035330976b 100644 --- a/types/nw.js/tsconfig.json +++ b/types/nw.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/o.js/tsconfig.json b/types/o.js/tsconfig.json index a3159265ee..536d5abe8c 100644 --- a/types/o.js/tsconfig.json +++ b/types/o.js/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/oauth.js/tsconfig.json b/types/oauth.js/tsconfig.json index 39891ddb92..2b9b599818 100644 --- a/types/oauth.js/tsconfig.json +++ b/types/oauth.js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/oauth2-server/tsconfig.json b/types/oauth2-server/tsconfig.json index b245965239..ee86fffc4f 100644 --- a/types/oauth2-server/tsconfig.json +++ b/types/oauth2-server/tsconfig.json @@ -15,6 +15,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "target": "es6" }, "files": [ diff --git a/types/oauth2orize/tsconfig.json b/types/oauth2orize/tsconfig.json index 7903eeb77f..f2a562ac68 100644 --- a/types/oauth2orize/tsconfig.json +++ b/types/oauth2orize/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/obelisk.js/tsconfig.json b/types/obelisk.js/tsconfig.json index f95e82cb80..3005f5052f 100644 --- a/types/obelisk.js/tsconfig.json +++ b/types/obelisk.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/object-assign/tsconfig.json b/types/object-assign/tsconfig.json index f00a78b509..14dd544d25 100644 --- a/types/object-assign/tsconfig.json +++ b/types/object-assign/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/object-diff/tsconfig.json b/types/object-diff/tsconfig.json index 3fdf287fcf..d49649e67a 100644 --- a/types/object-diff/tsconfig.json +++ b/types/object-diff/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/object-hash/tsconfig.json b/types/object-hash/tsconfig.json index 7f1eb2a0f1..fe16726761 100644 --- a/types/object-hash/tsconfig.json +++ b/types/object-hash/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/object-inspect/tsconfig.json b/types/object-inspect/tsconfig.json index 1f167ba039..bcdc9ceafa 100644 --- a/types/object-inspect/tsconfig.json +++ b/types/object-inspect/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "object-inspect-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/object-map/tsconfig.json b/types/object-map/tsconfig.json index 88256eb7f9..b395a58165 100644 --- a/types/object-map/tsconfig.json +++ b/types/object-map/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/object-path/tsconfig.json b/types/object-path/tsconfig.json index 14192cc5b0..776b12f2ed 100644 --- a/types/object-path/tsconfig.json +++ b/types/object-path/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/object-refs/tsconfig.json b/types/object-refs/tsconfig.json index 3d9337cf0a..0fa906064e 100644 --- a/types/object-refs/tsconfig.json +++ b/types/object-refs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/oblo-util/tsconfig.json b/types/oblo-util/tsconfig.json index c424a7fff8..9d878f810c 100644 --- a/types/oblo-util/tsconfig.json +++ b/types/oblo-util/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/oboe/tsconfig.json b/types/oboe/tsconfig.json index 1c02019149..08c0ffd5df 100644 --- a/types/oboe/tsconfig.json +++ b/types/oboe/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/observe-js/tsconfig.json b/types/observe-js/tsconfig.json index 23b2a5106e..19dbac24df 100644 --- a/types/observe-js/tsconfig.json +++ b/types/observe-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/oclazyload/tsconfig.json b/types/oclazyload/tsconfig.json index 3ada1d6bee..c3be409f70 100644 --- a/types/oclazyload/tsconfig.json +++ b/types/oclazyload/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/odata/tsconfig.json b/types/odata/tsconfig.json index d7ea224b4e..635168e418 100644 --- a/types/odata/tsconfig.json +++ b/types/odata/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ofe/tsconfig.json b/types/ofe/tsconfig.json index dbd94babca..13f2ecddb1 100644 --- a/types/ofe/tsconfig.json +++ b/types/ofe/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/office-js/tsconfig.json b/types/office-js/tsconfig.json index 28a0881837..45e8292315 100644 --- a/types/office-js/tsconfig.json +++ b/types/office-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/offline-js/tsconfig.json b/types/offline-js/tsconfig.json index e7d567565c..63c0c3d772 100644 --- a/types/offline-js/tsconfig.json +++ b/types/offline-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/oibackoff/tsconfig.json b/types/oibackoff/tsconfig.json index d1f4fd90d8..bf94e5b8a8 100644 --- a/types/oibackoff/tsconfig.json +++ b/types/oibackoff/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/oidc-token-manager/tsconfig.json b/types/oidc-token-manager/tsconfig.json index 9a1d07adb6..0069da49f5 100644 --- a/types/oidc-token-manager/tsconfig.json +++ b/types/oidc-token-manager/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ol/tsconfig.json b/types/ol/tsconfig.json index b307225e58..4c7846cda7 100644 --- a/types/ol/tsconfig.json +++ b/types/ol/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", @@ -173,4 +174,4 @@ "vectortile/index.d.ts", "view/index.d.ts" ] -} +} \ No newline at end of file diff --git a/types/on-finished/tsconfig.json b/types/on-finished/tsconfig.json index 14e726f8c4..7e49b150bb 100644 --- a/types/on-finished/tsconfig.json +++ b/types/on-finished/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/on-headers/tsconfig.json b/types/on-headers/tsconfig.json index a0e5fc13dd..25c2e3c8d5 100644 --- a/types/on-headers/tsconfig.json +++ b/types/on-headers/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/once/tsconfig.json b/types/once/tsconfig.json index e6b9784107..67de4d3961 100644 --- a/types/once/tsconfig.json +++ b/types/once/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/onesignal-cordova-plugin/tsconfig.json b/types/onesignal-cordova-plugin/tsconfig.json index bcee47426f..ce255e192d 100644 --- a/types/onesignal-cordova-plugin/tsconfig.json +++ b/types/onesignal-cordova-plugin/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "onesignal-cordova-plugin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/onetime/tsconfig.json b/types/onetime/tsconfig.json index 84d3da86b8..f283f14841 100644 --- a/types/onetime/tsconfig.json +++ b/types/onetime/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/oniguruma/tsconfig.json b/types/oniguruma/tsconfig.json index b807c6e5de..28d398ed22 100644 --- a/types/oniguruma/tsconfig.json +++ b/types/oniguruma/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/onoff/tsconfig.json b/types/onoff/tsconfig.json index cbe0820a5a..ae7322e35a 100644 --- a/types/onoff/tsconfig.json +++ b/types/onoff/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/open/tsconfig.json b/types/open/tsconfig.json index 1395893dcb..62cd144b3b 100644 --- a/types/open/tsconfig.json +++ b/types/open/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/opener/tsconfig.json b/types/opener/tsconfig.json index 8f8b166751..fd2c277637 100644 --- a/types/opener/tsconfig.json +++ b/types/opener/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/openfin/tsconfig.json b/types/openfin/tsconfig.json index fd3199ceb7..48d26affcc 100644 --- a/types/openfin/tsconfig.json +++ b/types/openfin/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/openfin/v15/tsconfig.json b/types/openfin/v15/tsconfig.json index 103e765e43..17537fec00 100644 --- a/types/openfin/v15/tsconfig.json +++ b/types/openfin/v15/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/openfin/v16/tsconfig.json b/types/openfin/v16/tsconfig.json index cfb0b2d238..f6d5d45a8a 100644 --- a/types/openfin/v16/tsconfig.json +++ b/types/openfin/v16/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/openjscad/tsconfig.json b/types/openjscad/tsconfig.json index 971a3ee55a..44ef0db880 100644 --- a/types/openjscad/tsconfig.json +++ b/types/openjscad/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/openlayers/tsconfig.json b/types/openlayers/tsconfig.json index 5b45cb31b9..3bc277ecae 100644 --- a/types/openlayers/tsconfig.json +++ b/types/openlayers/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/openlayers/v2/tsconfig.json b/types/openlayers/v2/tsconfig.json index 67c0f29fd4..3725c17b1f 100644 --- a/types/openlayers/v2/tsconfig.json +++ b/types/openlayers/v2/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/openlayers/v3/tsconfig.json b/types/openlayers/v3/tsconfig.json index 052323b232..40f3d72c1a 100644 --- a/types/openlayers/v3/tsconfig.json +++ b/types/openlayers/v3/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/openpgp/tsconfig.json b/types/openpgp/tsconfig.json index 8ed156faf3..0d89f5cddd 100644 --- a/types/openpgp/tsconfig.json +++ b/types/openpgp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/openstack-wrapper/tsconfig.json b/types/openstack-wrapper/tsconfig.json index f6fa4b227b..42501aaebd 100644 --- a/types/openstack-wrapper/tsconfig.json +++ b/types/openstack-wrapper/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/opentok/tsconfig.json b/types/opentok/tsconfig.json index 0e035c2a4c..867816c287 100644 --- a/types/opentok/tsconfig.json +++ b/types/opentok/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/opentype.js/tsconfig.json b/types/opentype.js/tsconfig.json index ae36366993..20de3c612b 100644 --- a/types/opentype.js/tsconfig.json +++ b/types/opentype.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/openui5/tsconfig.json b/types/openui5/tsconfig.json index e61a38f38c..406a9171dd 100644 --- a/types/openui5/tsconfig.json +++ b/types/openui5/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/opn/tsconfig.json b/types/opn/tsconfig.json index 2a51fff8ca..dc544741ee 100644 --- a/types/opn/tsconfig.json +++ b/types/opn/tsconfig.json @@ -1,16 +1,24 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6"], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, - "files": ["index.d.ts", "opn-tests.ts"] -} + "files": [ + "index.d.ts", + "opn-tests.ts" + ] +} \ No newline at end of file diff --git a/types/optics-agent/tsconfig.json b/types/optics-agent/tsconfig.json index e7dbc8958b..adb6fdbba4 100644 --- a/types/optics-agent/tsconfig.json +++ b/types/optics-agent/tsconfig.json @@ -14,13 +14,16 @@ ], "types": [], "paths": { - "boom": ["boom/v4"] + "boom": [ + "boom/v4" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "optics-agent-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/optimist/tsconfig.json b/types/optimist/tsconfig.json index da5b6d43c7..f16b4b49e4 100644 --- a/types/optimist/tsconfig.json +++ b/types/optimist/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/optimize-css-assets-webpack-plugin/tsconfig.json b/types/optimize-css-assets-webpack-plugin/tsconfig.json index bb2c39172f..5420b382e4 100644 --- a/types/optimize-css-assets-webpack-plugin/tsconfig.json +++ b/types/optimize-css-assets-webpack-plugin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ora/tsconfig.json b/types/ora/tsconfig.json index 4092876efe..2480951ab5 100644 --- a/types/ora/tsconfig.json +++ b/types/ora/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ora/v0/tsconfig.json b/types/ora/v0/tsconfig.json index b614f6cbc4..d8ac13a91d 100644 --- a/types/ora/v0/tsconfig.json +++ b/types/ora/v0/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/oracledb/tsconfig.json b/types/oracledb/tsconfig.json index 2e6eeb9b95..7a878379cd 100644 --- a/types/oracledb/tsconfig.json +++ b/types/oracledb/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/orchestrator/tsconfig.json b/types/orchestrator/tsconfig.json index 3cfb6b0cdb..1da510b3ca 100644 --- a/types/orchestrator/tsconfig.json +++ b/types/orchestrator/tsconfig.json @@ -15,7 +15,8 @@ "strictNullChecks": false, "strictFunctionTypes": true, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/orderedmap/tsconfig.json b/types/orderedmap/tsconfig.json index d8428d94cc..5ab20ebbc3 100644 --- a/types/orderedmap/tsconfig.json +++ b/types/orderedmap/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/orientjs/tsconfig.json b/types/orientjs/tsconfig.json index 87bfdfd2a8..a8418ce64b 100644 --- a/types/orientjs/tsconfig.json +++ b/types/orientjs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/os-homedir/tsconfig.json b/types/os-homedir/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/os-homedir/tsconfig.json +++ b/types/os-homedir/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/os-locale/tsconfig.json b/types/os-locale/tsconfig.json index fbf08733cf..6e168a01ce 100644 --- a/types/os-locale/tsconfig.json +++ b/types/os-locale/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/os-locale/v1/tsconfig.json b/types/os-locale/v1/tsconfig.json index acb67ee603..c53210a218 100644 --- a/types/os-locale/v1/tsconfig.json +++ b/types/os-locale/v1/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/os-name/tsconfig.json b/types/os-name/tsconfig.json index f48355e962..9220809237 100644 --- a/types/os-name/tsconfig.json +++ b/types/os-name/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/os-tmpdir/tsconfig.json b/types/os-tmpdir/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/os-tmpdir/tsconfig.json +++ b/types/os-tmpdir/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/osmosis/tsconfig.json b/types/osmosis/tsconfig.json index 9627f6d5fe..f5eb196c89 100644 --- a/types/osmosis/tsconfig.json +++ b/types/osmosis/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/osmtogeojson/tsconfig.json b/types/osmtogeojson/tsconfig.json index c50e45768c..e708a2429b 100644 --- a/types/osmtogeojson/tsconfig.json +++ b/types/osmtogeojson/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/osrm/tsconfig.json b/types/osrm/tsconfig.json index 8a581c7423..3ebd7db8b3 100644 --- a/types/osrm/tsconfig.json +++ b/types/osrm/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/otplib/tsconfig.json b/types/otplib/tsconfig.json index cfb2b07081..2b3c420d67 100644 --- a/types/otplib/tsconfig.json +++ b/types/otplib/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "otplib-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/owasp-password-strength-test/tsconfig.json b/types/owasp-password-strength-test/tsconfig.json index 0206d30034..d10909118e 100644 --- a/types/owasp-password-strength-test/tsconfig.json +++ b/types/owasp-password-strength-test/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "owasp-password-strength-test-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/owl.carousel/tsconfig.json b/types/owl.carousel/tsconfig.json index 4205eff11f..fb9f9f4f6e 100644 --- a/types/owl.carousel/tsconfig.json +++ b/types/owl.carousel/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/owlcarousel/tsconfig.json b/types/owlcarousel/tsconfig.json index 4438ba88ae..db23d47838 100644 --- a/types/owlcarousel/tsconfig.json +++ b/types/owlcarousel/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-all/tsconfig.json b/types/p-all/tsconfig.json index 5cc346c4e3..5d706ed217 100644 --- a/types/p-all/tsconfig.json +++ b/types/p-all/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-any/tsconfig.json b/types/p-any/tsconfig.json index 67d983361a..56f19a51e5 100644 --- a/types/p-any/tsconfig.json +++ b/types/p-any/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-cancelable/tsconfig.json b/types/p-cancelable/tsconfig.json index 504511081d..eb9e9b9b33 100644 --- a/types/p-cancelable/tsconfig.json +++ b/types/p-cancelable/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-debounce/tsconfig.json b/types/p-debounce/tsconfig.json index 4de0f115d8..d8f3a41d21 100644 --- a/types/p-debounce/tsconfig.json +++ b/types/p-debounce/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-defer/tsconfig.json b/types/p-defer/tsconfig.json index 06eb650dbe..d48a07b169 100644 --- a/types/p-defer/tsconfig.json +++ b/types/p-defer/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-do-whilst/tsconfig.json b/types/p-do-whilst/tsconfig.json index 87392769da..fa551d6727 100644 --- a/types/p-do-whilst/tsconfig.json +++ b/types/p-do-whilst/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-each-series/tsconfig.json b/types/p-each-series/tsconfig.json index e8cd900d05..d62549d651 100644 --- a/types/p-each-series/tsconfig.json +++ b/types/p-each-series/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-event/tsconfig.json b/types/p-event/tsconfig.json index 0e047aa84b..8d282c8736 100644 --- a/types/p-event/tsconfig.json +++ b/types/p-event/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-every/tsconfig.json b/types/p-every/tsconfig.json index 979927093f..87b3f1c968 100644 --- a/types/p-every/tsconfig.json +++ b/types/p-every/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-lazy/tsconfig.json b/types/p-lazy/tsconfig.json index 73b2e31142..24a3174936 100644 --- a/types/p-lazy/tsconfig.json +++ b/types/p-lazy/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-limit/tsconfig.json b/types/p-limit/tsconfig.json index 4634bf6300..e438eda453 100644 --- a/types/p-limit/tsconfig.json +++ b/types/p-limit/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-loading/tsconfig.json b/types/p-loading/tsconfig.json index 3aeb261695..fa6843d54f 100644 --- a/types/p-loading/tsconfig.json +++ b/types/p-loading/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "p-loading-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-locate/tsconfig.json b/types/p-locate/tsconfig.json index 1f3e8a7711..794031a75b 100644 --- a/types/p-locate/tsconfig.json +++ b/types/p-locate/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-log/tsconfig.json b/types/p-log/tsconfig.json index 891d94fce3..1d875c64b1 100644 --- a/types/p-log/tsconfig.json +++ b/types/p-log/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-map-series/tsconfig.json b/types/p-map-series/tsconfig.json index b06e222983..6594c24661 100644 --- a/types/p-map-series/tsconfig.json +++ b/types/p-map-series/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-map/tsconfig.json b/types/p-map/tsconfig.json index ed62309b29..d156c77951 100644 --- a/types/p-map/tsconfig.json +++ b/types/p-map/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-one/tsconfig.json b/types/p-one/tsconfig.json index 27a6a05ac7..525393d638 100644 --- a/types/p-one/tsconfig.json +++ b/types/p-one/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-props/tsconfig.json b/types/p-props/tsconfig.json index 8ef73ae141..56998f169a 100644 --- a/types/p-props/tsconfig.json +++ b/types/p-props/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-queue/tsconfig.json b/types/p-queue/tsconfig.json index b3dd5e5314..dd19b0083f 100644 --- a/types/p-queue/tsconfig.json +++ b/types/p-queue/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-reduce/tsconfig.json b/types/p-reduce/tsconfig.json index d06d04e5e7..2debc8d66f 100644 --- a/types/p-reduce/tsconfig.json +++ b/types/p-reduce/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-reflect/tsconfig.json b/types/p-reflect/tsconfig.json index 0bd514215f..b7c6dc1702 100644 --- a/types/p-reflect/tsconfig.json +++ b/types/p-reflect/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-retry/tsconfig.json b/types/p-retry/tsconfig.json index 8bd6ddd6b5..21687875fa 100644 --- a/types/p-retry/tsconfig.json +++ b/types/p-retry/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-series/tsconfig.json b/types/p-series/tsconfig.json index 7ac0ed4d4c..45a2be71c5 100644 --- a/types/p-series/tsconfig.json +++ b/types/p-series/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-settle/tsconfig.json b/types/p-settle/tsconfig.json index ba288104e0..1e8220467f 100644 --- a/types/p-settle/tsconfig.json +++ b/types/p-settle/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-some/tsconfig.json b/types/p-some/tsconfig.json index d8bca7e13a..d6e4b1b63e 100644 --- a/types/p-some/tsconfig.json +++ b/types/p-some/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-tap/tsconfig.json b/types/p-tap/tsconfig.json index 1d4042647f..ed4f136d0b 100644 --- a/types/p-tap/tsconfig.json +++ b/types/p-tap/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-throttle/tsconfig.json b/types/p-throttle/tsconfig.json index 81852e4d18..f30c9ed4e3 100644 --- a/types/p-throttle/tsconfig.json +++ b/types/p-throttle/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-timeout/tsconfig.json b/types/p-timeout/tsconfig.json index d16042504a..40bb9b3b8b 100644 --- a/types/p-timeout/tsconfig.json +++ b/types/p-timeout/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-try/tsconfig.json b/types/p-try/tsconfig.json index b8ca67f073..7cd170e0da 100644 --- a/types/p-try/tsconfig.json +++ b/types/p-try/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-wait-for/tsconfig.json b/types/p-wait-for/tsconfig.json index 7df0af64a1..e3e3bb7597 100644 --- a/types/p-wait-for/tsconfig.json +++ b/types/p-wait-for/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p-whilst/tsconfig.json b/types/p-whilst/tsconfig.json index 3309a228fc..8fd1bb42ba 100644 --- a/types/p-whilst/tsconfig.json +++ b/types/p-whilst/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/p2/tsconfig.json b/types/p2/tsconfig.json index c40f2ddd89..576a91b7c6 100644 --- a/types/p2/tsconfig.json +++ b/types/p2/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/package-json/tsconfig.json b/types/package-json/tsconfig.json index 52c1adb7d3..c033223c6d 100644 --- a/types/package-json/tsconfig.json +++ b/types/package-json/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "package-json-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/packery/tsconfig.json b/types/packery/tsconfig.json index 85c7e3ae6a..3e17d32ee6 100644 --- a/types/packery/tsconfig.json +++ b/types/packery/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pad/tsconfig.json b/types/pad/tsconfig.json index 6a6ef6d4c7..fd8ce70400 100644 --- a/types/pad/tsconfig.json +++ b/types/pad/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/page-icon/tsconfig.json b/types/page-icon/tsconfig.json index f5dc72cbcd..143c1b0232 100644 --- a/types/page-icon/tsconfig.json +++ b/types/page-icon/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/page/tsconfig.json b/types/page/tsconfig.json index 3a774901be..f3ffce244f 100644 --- a/types/page/tsconfig.json +++ b/types/page/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/paho-mqtt/tsconfig.json b/types/paho-mqtt/tsconfig.json index 7e9a7ce4e6..f08ccecb7a 100644 --- a/types/paho-mqtt/tsconfig.json +++ b/types/paho-mqtt/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pako/tsconfig.json b/types/pako/tsconfig.json index 011a39c83c..b1e866a0a9 100644 --- a/types/pako/tsconfig.json +++ b/types/pako/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pangu/tsconfig.json b/types/pangu/tsconfig.json index a1084b5b06..83ce22a7b2 100644 --- a/types/pangu/tsconfig.json +++ b/types/pangu/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "pangu-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/papaparse/tsconfig.json b/types/papaparse/tsconfig.json index 1684012a56..80238273d7 100644 --- a/types/papaparse/tsconfig.json +++ b/types/papaparse/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/paper/tsconfig.json b/types/paper/tsconfig.json index ba81ca6cf0..6f21980e93 100644 --- a/types/paper/tsconfig.json +++ b/types/paper/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/paralleljs/tsconfig.json b/types/paralleljs/tsconfig.json index 0cea925bbd..d074b65fd1 100644 --- a/types/paralleljs/tsconfig.json +++ b/types/paralleljs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/parent-package-json/tsconfig.json b/types/parent-package-json/tsconfig.json index 33d474c851..b07b7e1918 100644 --- a/types/parent-package-json/tsconfig.json +++ b/types/parent-package-json/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "parent-package-json-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/parse-git-config/tsconfig.json b/types/parse-git-config/tsconfig.json index 5295cbc1ee..ec4ea443ed 100644 --- a/types/parse-git-config/tsconfig.json +++ b/types/parse-git-config/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/parse-glob/tsconfig.json b/types/parse-glob/tsconfig.json index 0f620fa4e7..62c72fdf23 100644 --- a/types/parse-glob/tsconfig.json +++ b/types/parse-glob/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/parse-json/tsconfig.json b/types/parse-json/tsconfig.json index 448f6787ba..153bd71944 100644 --- a/types/parse-json/tsconfig.json +++ b/types/parse-json/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "parse-json-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/parse-link-header/tsconfig.json b/types/parse-link-header/tsconfig.json index 82b1addcbd..7156e907bc 100644 --- a/types/parse-link-header/tsconfig.json +++ b/types/parse-link-header/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/parse-mockdb/tsconfig.json b/types/parse-mockdb/tsconfig.json index 47ec90a997..9990f2ee1e 100644 --- a/types/parse-mockdb/tsconfig.json +++ b/types/parse-mockdb/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/parse-ms/tsconfig.json b/types/parse-ms/tsconfig.json index 3fecf7615f..28c9a4810e 100644 --- a/types/parse-ms/tsconfig.json +++ b/types/parse-ms/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "parse-ms-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/parse-torrent-file/tsconfig.json b/types/parse-torrent-file/tsconfig.json index dcd42f04f0..bce67a0d57 100644 --- a/types/parse-torrent-file/tsconfig.json +++ b/types/parse-torrent-file/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/parse-torrent/tsconfig.json b/types/parse-torrent/tsconfig.json index 1a2750195a..f82d5a8bfc 100644 --- a/types/parse-torrent/tsconfig.json +++ b/types/parse-torrent/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/parse-unit/tsconfig.json b/types/parse-unit/tsconfig.json index 081dcee45d..3257f3b69e 100644 --- a/types/parse-unit/tsconfig.json +++ b/types/parse-unit/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/parse/tsconfig.json b/types/parse/tsconfig.json index 53ec60085d..8e41c1dede 100644 --- a/types/parse/tsconfig.json +++ b/types/parse/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/parseurl/tsconfig.json b/types/parseurl/tsconfig.json index f47e85f978..4f7ce9cbac 100644 --- a/types/parseurl/tsconfig.json +++ b/types/parseurl/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/parsimmon/tsconfig.json b/types/parsimmon/tsconfig.json index 676b349a37..6e85d7e3ca 100644 --- a/types/parsimmon/tsconfig.json +++ b/types/parsimmon/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "parsimmon-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/passport-anonymous/tsconfig.json b/types/passport-anonymous/tsconfig.json index 1d8859e706..b667acd694 100644 --- a/types/passport-anonymous/tsconfig.json +++ b/types/passport-anonymous/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-beam/tsconfig.json b/types/passport-beam/tsconfig.json index 7b3fc8e513..bb65e62fbc 100644 --- a/types/passport-beam/tsconfig.json +++ b/types/passport-beam/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-discord/tsconfig.json b/types/passport-discord/tsconfig.json index 38a8051fb9..dcb1ac3502 100644 --- a/types/passport-discord/tsconfig.json +++ b/types/passport-discord/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-facebook-token/tsconfig.json b/types/passport-facebook-token/tsconfig.json index e1d020177a..2b877f282b 100644 --- a/types/passport-facebook-token/tsconfig.json +++ b/types/passport-facebook-token/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-facebook/tsconfig.json b/types/passport-facebook/tsconfig.json index dcc610efec..9153763af2 100644 --- a/types/passport-facebook/tsconfig.json +++ b/types/passport-facebook/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-github/tsconfig.json b/types/passport-github/tsconfig.json index 0e7ac43e0e..deac088de3 100644 --- a/types/passport-github/tsconfig.json +++ b/types/passport-github/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-github2/tsconfig.json b/types/passport-github2/tsconfig.json index ae03d3bb32..ec58c6f1da 100644 --- a/types/passport-github2/tsconfig.json +++ b/types/passport-github2/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-google-oauth/tsconfig.json b/types/passport-google-oauth/tsconfig.json index 7f3b315c07..ef36d15b4a 100644 --- a/types/passport-google-oauth/tsconfig.json +++ b/types/passport-google-oauth/tsconfig.json @@ -1,16 +1,24 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6"], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, - "files": ["index.d.ts", "passport-google-oauth-tests.ts"] -} + "files": [ + "index.d.ts", + "passport-google-oauth-tests.ts" + ] +} \ No newline at end of file diff --git a/types/passport-google-oauth2/tsconfig.json b/types/passport-google-oauth2/tsconfig.json index ee60531f41..7c144ffdff 100644 --- a/types/passport-google-oauth2/tsconfig.json +++ b/types/passport-google-oauth2/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-http-bearer/tsconfig.json b/types/passport-http-bearer/tsconfig.json index b6033075ab..6ae99f8758 100644 --- a/types/passport-http-bearer/tsconfig.json +++ b/types/passport-http-bearer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-http/tsconfig.json b/types/passport-http/tsconfig.json index d1a35a3390..e158bcb014 100644 --- a/types/passport-http/tsconfig.json +++ b/types/passport-http/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-jwt/tsconfig.json b/types/passport-jwt/tsconfig.json index 906f33004d..6170656dd1 100644 --- a/types/passport-jwt/tsconfig.json +++ b/types/passport-jwt/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-kakao/tsconfig.json b/types/passport-kakao/tsconfig.json index 784cbe32e8..0657b076b8 100644 --- a/types/passport-kakao/tsconfig.json +++ b/types/passport-kakao/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "passport-kakao-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/passport-local-mongoose/tsconfig.json b/types/passport-local-mongoose/tsconfig.json index c0806a2177..6ba09ff095 100644 --- a/types/passport-local-mongoose/tsconfig.json +++ b/types/passport-local-mongoose/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-local/tsconfig.json b/types/passport-local/tsconfig.json index 340ecca02d..fa2f7824d5 100644 --- a/types/passport-local/tsconfig.json +++ b/types/passport-local/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-naver/tsconfig.json b/types/passport-naver/tsconfig.json index 1a8826dcfd..e09b5e2a55 100644 --- a/types/passport-naver/tsconfig.json +++ b/types/passport-naver/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "passport-naver-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/passport-oauth2-client-password/tsconfig.json b/types/passport-oauth2-client-password/tsconfig.json index e7cc4cc177..19cc572681 100644 --- a/types/passport-oauth2-client-password/tsconfig.json +++ b/types/passport-oauth2-client-password/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-oauth2/tsconfig.json b/types/passport-oauth2/tsconfig.json index 5e71cf6328..cc083b7bf7 100644 --- a/types/passport-oauth2/tsconfig.json +++ b/types/passport-oauth2/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-saml/tsconfig.json b/types/passport-saml/tsconfig.json index 0809dbbaf7..f7e6b952d4 100644 --- a/types/passport-saml/tsconfig.json +++ b/types/passport-saml/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-steam/tsconfig.json b/types/passport-steam/tsconfig.json index 94a0d709a4..618ce103d0 100644 --- a/types/passport-steam/tsconfig.json +++ b/types/passport-steam/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-strategy/tsconfig.json b/types/passport-strategy/tsconfig.json index b9d033a50e..912569eef3 100644 --- a/types/passport-strategy/tsconfig.json +++ b/types/passport-strategy/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-twitter/tsconfig.json b/types/passport-twitter/tsconfig.json index 4034aa5640..94c7367c2e 100644 --- a/types/passport-twitter/tsconfig.json +++ b/types/passport-twitter/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport-unique-token/tsconfig.json b/types/passport-unique-token/tsconfig.json index 405438dd5a..5c70a8debd 100644 --- a/types/passport-unique-token/tsconfig.json +++ b/types/passport-unique-token/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/passport/tsconfig.json b/types/passport/tsconfig.json index 08fe485f60..085a0730d1 100644 --- a/types/passport/tsconfig.json +++ b/types/passport/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/password-hash-and-salt/tsconfig.json b/types/password-hash-and-salt/tsconfig.json index a2a0427f51..4269a10725 100644 --- a/types/password-hash-and-salt/tsconfig.json +++ b/types/password-hash-and-salt/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/password-hash/tsconfig.json b/types/password-hash/tsconfig.json index b0e161a8a2..a0fb6b0e8f 100644 --- a/types/password-hash/tsconfig.json +++ b/types/password-hash/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/path-exists/tsconfig.json b/types/path-exists/tsconfig.json index d9e230ee27..50ce9f3349 100644 --- a/types/path-exists/tsconfig.json +++ b/types/path-exists/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/path-exists/v1/tsconfig.json b/types/path-exists/v1/tsconfig.json index 3a52689e9c..f8059a64b7 100644 --- a/types/path-exists/v1/tsconfig.json +++ b/types/path-exists/v1/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/path-is-absolute/tsconfig.json b/types/path-is-absolute/tsconfig.json index c3b15bff95..63bd03ece3 100644 --- a/types/path-is-absolute/tsconfig.json +++ b/types/path-is-absolute/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/path-parse/tsconfig.json b/types/path-parse/tsconfig.json index 9123b62477..e89835c7e5 100644 --- a/types/path-parse/tsconfig.json +++ b/types/path-parse/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pathfinding/tsconfig.json b/types/pathfinding/tsconfig.json index 0428d67daa..76d2cec85c 100644 --- a/types/pathfinding/tsconfig.json +++ b/types/pathfinding/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pathjs/tsconfig.json b/types/pathjs/tsconfig.json index 60a8aba82a..a8c29ed915 100644 --- a/types/pathjs/tsconfig.json +++ b/types/pathjs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pathwatcher/tsconfig.json b/types/pathwatcher/tsconfig.json index 41bb35a03c..3c46805477 100644 --- a/types/pathwatcher/tsconfig.json +++ b/types/pathwatcher/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "pathwatcher-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pause/tsconfig.json b/types/pause/tsconfig.json index 76c0af48a3..14acafe4a9 100644 --- a/types/pause/tsconfig.json +++ b/types/pause/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/payment/tsconfig.json b/types/payment/tsconfig.json index 4f1166c44f..499c49ce64 100644 --- a/types/payment/tsconfig.json +++ b/types/payment/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/paypal-cordova-plugin/tsconfig.json b/types/paypal-cordova-plugin/tsconfig.json index 67ee653902..cddf3ab053 100644 --- a/types/paypal-cordova-plugin/tsconfig.json +++ b/types/paypal-cordova-plugin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/paypal-rest-sdk/tsconfig.json b/types/paypal-rest-sdk/tsconfig.json index 4e1922b8ba..4026071a14 100644 --- a/types/paypal-rest-sdk/tsconfig.json +++ b/types/paypal-rest-sdk/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pbf/tsconfig.json b/types/pbf/tsconfig.json index b9ec4bce50..c6bd76c88a 100644 --- a/types/pbf/tsconfig.json +++ b/types/pbf/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pdfjs-dist/tsconfig.json b/types/pdfjs-dist/tsconfig.json index d189de9f02..17f7d8cfca 100644 --- a/types/pdfjs-dist/tsconfig.json +++ b/types/pdfjs-dist/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pdfkit/tsconfig.json b/types/pdfkit/tsconfig.json index f14037a57f..490ef6e892 100644 --- a/types/pdfkit/tsconfig.json +++ b/types/pdfkit/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pdfobject/tsconfig.json b/types/pdfobject/tsconfig.json index 178c186ae8..dcb101218a 100644 --- a/types/pdfobject/tsconfig.json +++ b/types/pdfobject/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pebblekitjs/tsconfig.json b/types/pebblekitjs/tsconfig.json index e09e806e3b..fb45867efd 100644 --- a/types/pebblekitjs/tsconfig.json +++ b/types/pebblekitjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/peer-dial/tsconfig.json b/types/peer-dial/tsconfig.json index 4672562aef..f9ec138996 100644 --- a/types/peer-dial/tsconfig.json +++ b/types/peer-dial/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/peerjs/tsconfig.json b/types/peerjs/tsconfig.json index 41e815c2c3..7400e9a78c 100644 --- a/types/peerjs/tsconfig.json +++ b/types/peerjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pegjs/tsconfig.json b/types/pegjs/tsconfig.json index ea5f1cc8e4..49e431cdc2 100644 --- a/types/pegjs/tsconfig.json +++ b/types/pegjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pem/tsconfig.json b/types/pem/tsconfig.json index 509312522f..f7d45f9f7d 100644 --- a/types/pem/tsconfig.json +++ b/types/pem/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/persona/tsconfig.json b/types/persona/tsconfig.json index cadf2878fc..5726175930 100644 --- a/types/persona/tsconfig.json +++ b/types/persona/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pet-finder-api/tsconfig.json b/types/pet-finder-api/tsconfig.json index 66a88e70be..605722a75f 100644 --- a/types/pet-finder-api/tsconfig.json +++ b/types/pet-finder-api/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pg-ears/tsconfig.json b/types/pg-ears/tsconfig.json index a98396e776..3a5bd63fe8 100644 --- a/types/pg-ears/tsconfig.json +++ b/types/pg-ears/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pg-escape/tsconfig.json b/types/pg-escape/tsconfig.json index b5afa8ea9a..a32fb19012 100644 --- a/types/pg-escape/tsconfig.json +++ b/types/pg-escape/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pg-pool/tsconfig.json b/types/pg-pool/tsconfig.json index 5381ba2842..ffc4440460 100644 --- a/types/pg-pool/tsconfig.json +++ b/types/pg-pool/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pg-query-stream/tsconfig.json b/types/pg-query-stream/tsconfig.json index 8137847846..d6da0a5ff2 100644 --- a/types/pg-query-stream/tsconfig.json +++ b/types/pg-query-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pg-types/tsconfig.json b/types/pg-types/tsconfig.json index 1ab38690e5..b8e5677970 100644 --- a/types/pg-types/tsconfig.json +++ b/types/pg-types/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pg/tsconfig.json b/types/pg/tsconfig.json index 92ec2db62b..a836da031a 100644 --- a/types/pg/tsconfig.json +++ b/types/pg/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pg/v6/tsconfig.json b/types/pg/v6/tsconfig.json index 4e12c2c891..6f8e496a3a 100644 --- a/types/pg/v6/tsconfig.json +++ b/types/pg/v6/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pgwmodal/tsconfig.json b/types/pgwmodal/tsconfig.json index 5ad4cd4a98..8b0d9007a5 100644 --- a/types/pgwmodal/tsconfig.json +++ b/types/pgwmodal/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/phantom/tsconfig.json b/types/phantom/tsconfig.json index 39ae0edc93..db99b55c3e 100644 --- a/types/phantom/tsconfig.json +++ b/types/phantom/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/phantomcss/tsconfig.json b/types/phantomcss/tsconfig.json index cba4e19ecd..f1ed6ac3c6 100644 --- a/types/phantomcss/tsconfig.json +++ b/types/phantomcss/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/phantomjs/tsconfig.json b/types/phantomjs/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/phantomjs/tsconfig.json +++ b/types/phantomjs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/phoenix/tsconfig.json b/types/phoenix/tsconfig.json index 40bfbb22b6..2ab9a802b8 100644 --- a/types/phoenix/tsconfig.json +++ b/types/phoenix/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/phone-formatter/tsconfig.json b/types/phone-formatter/tsconfig.json index 48f951581e..1446ec115e 100644 --- a/types/phone-formatter/tsconfig.json +++ b/types/phone-formatter/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/phone/tsconfig.json b/types/phone/tsconfig.json index 1890b13a08..bab413270c 100644 --- a/types/phone/tsconfig.json +++ b/types/phone/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/phonegap-facebook-plugin/tsconfig.json b/types/phonegap-facebook-plugin/tsconfig.json index 0a1d090d05..9a06dc0e67 100644 --- a/types/phonegap-facebook-plugin/tsconfig.json +++ b/types/phonegap-facebook-plugin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/phonegap-nfc/tsconfig.json b/types/phonegap-nfc/tsconfig.json index 72b1f019d8..3a44f3b88e 100644 --- a/types/phonegap-nfc/tsconfig.json +++ b/types/phonegap-nfc/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/phonegap-plugin-barcodescanner/tsconfig.json b/types/phonegap-plugin-barcodescanner/tsconfig.json index ec6d41e488..62862eeea7 100644 --- a/types/phonegap-plugin-barcodescanner/tsconfig.json +++ b/types/phonegap-plugin-barcodescanner/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/phonegap/tsconfig.json b/types/phonegap/tsconfig.json index 714111c6e0..e513609ef9 100644 --- a/types/phonegap/tsconfig.json +++ b/types/phonegap/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/phonon/tsconfig.json b/types/phonon/tsconfig.json index bbadd8d12a..27fdea2d6f 100644 --- a/types/phonon/tsconfig.json +++ b/types/phonon/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/photonui/tsconfig.json b/types/photonui/tsconfig.json index 7aa685b04b..444824f4f7 100644 --- a/types/photonui/tsconfig.json +++ b/types/photonui/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/photoswipe/tsconfig.json b/types/photoswipe/tsconfig.json index 9e83ea1174..126ce7e39f 100644 --- a/types/photoswipe/tsconfig.json +++ b/types/photoswipe/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/physijs/tsconfig.json b/types/physijs/tsconfig.json index 6d446c60b3..20053336be 100644 --- a/types/physijs/tsconfig.json +++ b/types/physijs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pi-spi/tsconfig.json b/types/pi-spi/tsconfig.json index 0dada24fe6..b2ec839104 100644 --- a/types/pi-spi/tsconfig.json +++ b/types/pi-spi/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pick-weight/tsconfig.json b/types/pick-weight/tsconfig.json index 86f4110d99..2d02a2adef 100644 --- a/types/pick-weight/tsconfig.json +++ b/types/pick-weight/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pickadate/tsconfig.json b/types/pickadate/tsconfig.json index 7b19418034..a96115048d 100644 --- a/types/pickadate/tsconfig.json +++ b/types/pickadate/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/picturefill/tsconfig.json b/types/picturefill/tsconfig.json index 1435f75db0..84ef59b7ce 100644 --- a/types/picturefill/tsconfig.json +++ b/types/picturefill/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pidusage/tsconfig.json b/types/pidusage/tsconfig.json index 256715e11c..25c6d2eddf 100644 --- a/types/pidusage/tsconfig.json +++ b/types/pidusage/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pify/tsconfig.json b/types/pify/tsconfig.json index bf0a1104aa..13826105d6 100644 --- a/types/pify/tsconfig.json +++ b/types/pify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pigpio/tsconfig.json b/types/pigpio/tsconfig.json index e5b61af015..7358a555c4 100644 --- a/types/pigpio/tsconfig.json +++ b/types/pigpio/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pikaday-time/tsconfig.json b/types/pikaday-time/tsconfig.json index bf96d27d1a..198426c4ce 100644 --- a/types/pikaday-time/tsconfig.json +++ b/types/pikaday-time/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pikaday/tsconfig.json b/types/pikaday/tsconfig.json index 3c936ab905..e127c57ad1 100644 --- a/types/pikaday/tsconfig.json +++ b/types/pikaday/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pinkyswear/tsconfig.json b/types/pinkyswear/tsconfig.json index c815468eb3..8e67838864 100644 --- a/types/pinkyswear/tsconfig.json +++ b/types/pinkyswear/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pino-multi-stream/tsconfig.json b/types/pino-multi-stream/tsconfig.json index 7a060abb2e..a421b036f3 100644 --- a/types/pino-multi-stream/tsconfig.json +++ b/types/pino-multi-stream/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "pino-multi-stream-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pino/tsconfig.json b/types/pino/tsconfig.json index 78c8106f18..46cfc15004 100644 --- a/types/pino/tsconfig.json +++ b/types/pino/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pino/v3/tsconfig.json b/types/pino/v3/tsconfig.json index cc1e05b0f1..ed2f81e7b8 100644 --- a/types/pino/v3/tsconfig.json +++ b/types/pino/v3/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pinterest-sdk/tsconfig.json b/types/pinterest-sdk/tsconfig.json index 17bc0c1135..1665ad68fc 100644 --- a/types/pinterest-sdk/tsconfig.json +++ b/types/pinterest-sdk/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pinyin/tsconfig.json b/types/pinyin/tsconfig.json index 2fc91705ca..1f1295881d 100644 --- a/types/pinyin/tsconfig.json +++ b/types/pinyin/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/piwik-tracker/tsconfig.json b/types/piwik-tracker/tsconfig.json index 5f3f92ee94..a66212950b 100644 --- a/types/piwik-tracker/tsconfig.json +++ b/types/piwik-tracker/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pixelmatch/tsconfig.json b/types/pixelmatch/tsconfig.json index 02115e3fdc..f922c8c0b3 100644 --- a/types/pixelmatch/tsconfig.json +++ b/types/pixelmatch/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "pixelmatch-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pixi.js/tsconfig.json b/types/pixi.js/tsconfig.json index 742fa02137..76ed9779cf 100644 --- a/types/pixi.js/tsconfig.json +++ b/types/pixi.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pkg-dir/tsconfig.json b/types/pkg-dir/tsconfig.json index 2701860736..496ac52b2b 100644 --- a/types/pkg-dir/tsconfig.json +++ b/types/pkg-dir/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "pkg-dir-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pkijs/tsconfig.json b/types/pkijs/tsconfig.json index 2a4d04ec08..885bd7a0d8 100644 --- a/types/pkijs/tsconfig.json +++ b/types/pkijs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/platform/tsconfig.json b/types/platform/tsconfig.json index 95084ee11c..be37a03253 100644 --- a/types/platform/tsconfig.json +++ b/types/platform/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/playcanvas/tsconfig.json b/types/playcanvas/tsconfig.json index a2a2c895a0..2eb564bd87 100644 --- a/types/playcanvas/tsconfig.json +++ b/types/playcanvas/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "playcanvas-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/playerframework/tsconfig.json b/types/playerframework/tsconfig.json index 56c01ef247..984c1f5ae4 100644 --- a/types/playerframework/tsconfig.json +++ b/types/playerframework/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pleasejs/tsconfig.json b/types/pleasejs/tsconfig.json index 94046488fe..57104ee53b 100644 --- a/types/pleasejs/tsconfig.json +++ b/types/pleasejs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/plotly.js/tsconfig.json b/types/plotly.js/tsconfig.json index dd21321c49..6d2562291f 100644 --- a/types/plotly.js/tsconfig.json +++ b/types/plotly.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/plugapi/tsconfig.json b/types/plugapi/tsconfig.json index e0f04186ed..2e234835bd 100644 --- a/types/plugapi/tsconfig.json +++ b/types/plugapi/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/plugin-error/tsconfig.json b/types/plugin-error/tsconfig.json index ee9cd8e61f..a8d393375f 100644 --- a/types/plugin-error/tsconfig.json +++ b/types/plugin-error/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "plugin-error-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/plupload/tsconfig.json b/types/plupload/tsconfig.json index fc46738339..01f211f578 100644 --- a/types/plupload/tsconfig.json +++ b/types/plupload/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pluralize/tsconfig.json b/types/pluralize/tsconfig.json index 112ed18147..4c8f0ed41e 100644 --- a/types/pluralize/tsconfig.json +++ b/types/pluralize/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/png-async/tsconfig.json b/types/png-async/tsconfig.json index 181b899496..96cc95167c 100644 --- a/types/png-async/tsconfig.json +++ b/types/png-async/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pngjs/tsconfig.json b/types/pngjs/tsconfig.json index 4a2c2d47fd..229283a536 100644 --- a/types/pngjs/tsconfig.json +++ b/types/pngjs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pngjs2/tsconfig.json b/types/pngjs2/tsconfig.json index cbefc10524..07948ed5e6 100644 --- a/types/pngjs2/tsconfig.json +++ b/types/pngjs2/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/podcast/tsconfig.json b/types/podcast/tsconfig.json index 8e4c29f1e9..7e348b4913 100644 --- a/types/podcast/tsconfig.json +++ b/types/podcast/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/podium/tsconfig.json b/types/podium/tsconfig.json index a383a8d04c..d7580cd819 100644 --- a/types/podium/tsconfig.json +++ b/types/podium/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/point-in-polygon/tsconfig.json b/types/point-in-polygon/tsconfig.json index a17d220c7e..12a529f109 100644 --- a/types/point-in-polygon/tsconfig.json +++ b/types/point-in-polygon/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/polylabel/tsconfig.json b/types/polylabel/tsconfig.json index a9f8f55e42..b101936e68 100644 --- a/types/polylabel/tsconfig.json +++ b/types/polylabel/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/polyline/tsconfig.json b/types/polyline/tsconfig.json index 267af0e29a..032d5b9180 100644 --- a/types/polyline/tsconfig.json +++ b/types/polyline/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/polymer-ts/tsconfig.json b/types/polymer-ts/tsconfig.json index 67ef43b3be..48b262e0c8 100644 --- a/types/polymer-ts/tsconfig.json +++ b/types/polymer-ts/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/polymer/tsconfig.json b/types/polymer/tsconfig.json index 172edc052b..4b79861705 100644 --- a/types/polymer/tsconfig.json +++ b/types/polymer/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/popcorn/tsconfig.json b/types/popcorn/tsconfig.json index fa1c069762..b4076b50e2 100644 --- a/types/popcorn/tsconfig.json +++ b/types/popcorn/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/portscanner/tsconfig.json b/types/portscanner/tsconfig.json index 0a2ba9f13b..6e71168863 100644 --- a/types/portscanner/tsconfig.json +++ b/types/portscanner/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/postal/tsconfig.json b/types/postal/tsconfig.json index 69e3362d73..d9b73de77d 100644 --- a/types/postal/tsconfig.json +++ b/types/postal/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/postal/v0/tsconfig.json b/types/postal/v0/tsconfig.json index 207cc2f60b..417249bc92 100644 --- a/types/postal/v0/tsconfig.json +++ b/types/postal/v0/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/postmark/tsconfig.json b/types/postmark/tsconfig.json index 86df19a17f..aa22026f4e 100644 --- a/types/postmark/tsconfig.json +++ b/types/postmark/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pouch-redux-middleware/tsconfig.json b/types/pouch-redux-middleware/tsconfig.json index f9cf608a5e..46f40a7938 100644 --- a/types/pouch-redux-middleware/tsconfig.json +++ b/types/pouch-redux-middleware/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-adapter-fruitdown/tsconfig.json b/types/pouchdb-adapter-fruitdown/tsconfig.json index c3357ce2d2..3a95c3d2aa 100644 --- a/types/pouchdb-adapter-fruitdown/tsconfig.json +++ b/types/pouchdb-adapter-fruitdown/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-adapter-http/tsconfig.json b/types/pouchdb-adapter-http/tsconfig.json index dd66d20097..43d474c91b 100644 --- a/types/pouchdb-adapter-http/tsconfig.json +++ b/types/pouchdb-adapter-http/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-adapter-idb/tsconfig.json b/types/pouchdb-adapter-idb/tsconfig.json index ce5edaa36c..bb163bf1ad 100644 --- a/types/pouchdb-adapter-idb/tsconfig.json +++ b/types/pouchdb-adapter-idb/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-adapter-leveldb/tsconfig.json b/types/pouchdb-adapter-leveldb/tsconfig.json index 4c3ceef40c..1a145b0469 100644 --- a/types/pouchdb-adapter-leveldb/tsconfig.json +++ b/types/pouchdb-adapter-leveldb/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-adapter-localstorage/tsconfig.json b/types/pouchdb-adapter-localstorage/tsconfig.json index b5c18c4a9f..cdd0d4a974 100644 --- a/types/pouchdb-adapter-localstorage/tsconfig.json +++ b/types/pouchdb-adapter-localstorage/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-adapter-memory/tsconfig.json b/types/pouchdb-adapter-memory/tsconfig.json index 0bf83e3b74..09c2bc23ce 100644 --- a/types/pouchdb-adapter-memory/tsconfig.json +++ b/types/pouchdb-adapter-memory/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-adapter-node-websql/tsconfig.json b/types/pouchdb-adapter-node-websql/tsconfig.json index a154ce42e3..85265196b1 100644 --- a/types/pouchdb-adapter-node-websql/tsconfig.json +++ b/types/pouchdb-adapter-node-websql/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-adapter-websql/tsconfig.json b/types/pouchdb-adapter-websql/tsconfig.json index a4dd9848fc..1b70d6ae7a 100644 --- a/types/pouchdb-adapter-websql/tsconfig.json +++ b/types/pouchdb-adapter-websql/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-browser/tsconfig.json b/types/pouchdb-browser/tsconfig.json index 892bc704d0..2689817b3b 100644 --- a/types/pouchdb-browser/tsconfig.json +++ b/types/pouchdb-browser/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-core/tsconfig.json b/types/pouchdb-core/tsconfig.json index 61dd8ca4d1..53b2e522d3 100644 --- a/types/pouchdb-core/tsconfig.json +++ b/types/pouchdb-core/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-find/tsconfig.json b/types/pouchdb-find/tsconfig.json index 3db7946c2a..633e57958e 100644 --- a/types/pouchdb-find/tsconfig.json +++ b/types/pouchdb-find/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-http/tsconfig.json b/types/pouchdb-http/tsconfig.json index 0e67095870..a4e8be6142 100644 --- a/types/pouchdb-http/tsconfig.json +++ b/types/pouchdb-http/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-mapreduce/tsconfig.json b/types/pouchdb-mapreduce/tsconfig.json index 1af053e93b..0ee8aba915 100644 --- a/types/pouchdb-mapreduce/tsconfig.json +++ b/types/pouchdb-mapreduce/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-node/tsconfig.json b/types/pouchdb-node/tsconfig.json index c1304343b6..bfce778e16 100644 --- a/types/pouchdb-node/tsconfig.json +++ b/types/pouchdb-node/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-replication/tsconfig.json b/types/pouchdb-replication/tsconfig.json index 6a64902380..d4646381cc 100644 --- a/types/pouchdb-replication/tsconfig.json +++ b/types/pouchdb-replication/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-upsert/tsconfig.json b/types/pouchdb-upsert/tsconfig.json index ff5dc47e0c..99c7fc25b8 100644 --- a/types/pouchdb-upsert/tsconfig.json +++ b/types/pouchdb-upsert/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb/tsconfig.json b/types/pouchdb/tsconfig.json index 6894fb45dc..0b932bc155 100644 --- a/types/pouchdb/tsconfig.json +++ b/types/pouchdb/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/power-assert-formatter/tsconfig.json b/types/power-assert-formatter/tsconfig.json index 93cc04326a..838e3eb3bc 100644 --- a/types/power-assert-formatter/tsconfig.json +++ b/types/power-assert-formatter/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/power-assert/tsconfig.json b/types/power-assert/tsconfig.json index 9093028de3..f4eb6ee125 100644 --- a/types/power-assert/tsconfig.json +++ b/types/power-assert/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/precise/tsconfig.json b/types/precise/tsconfig.json index e400470ee5..0ad3319223 100644 --- a/types/precise/tsconfig.json +++ b/types/precise/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/precond/tsconfig.json b/types/precond/tsconfig.json index 8158d9149d..376f45bf15 100644 --- a/types/precond/tsconfig.json +++ b/types/precond/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/preloadjs/tsconfig.json b/types/preloadjs/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/preloadjs/tsconfig.json +++ b/types/preloadjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/prelude-ls/tsconfig.json b/types/prelude-ls/tsconfig.json index 7c846df940..79cee0c5db 100644 --- a/types/prelude-ls/tsconfig.json +++ b/types/prelude-ls/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prettier/tsconfig.json b/types/prettier/tsconfig.json index c3ff9609e6..b4fe5b746c 100644 --- a/types/prettier/tsconfig.json +++ b/types/prettier/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pretty-bytes/tsconfig.json b/types/pretty-bytes/tsconfig.json index fd11c640b4..deec7037a2 100644 --- a/types/pretty-bytes/tsconfig.json +++ b/types/pretty-bytes/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pretty-format/tsconfig.json b/types/pretty-format/tsconfig.json index b51d58bdbb..0c54a65fd4 100644 --- a/types/pretty-format/tsconfig.json +++ b/types/pretty-format/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pretty-ms/tsconfig.json b/types/pretty-ms/tsconfig.json index da88b941c7..42961708ac 100644 --- a/types/pretty-ms/tsconfig.json +++ b/types/pretty-ms/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prettyjson/tsconfig.json b/types/prettyjson/tsconfig.json index 8169c27bba..c344cc2742 100644 --- a/types/prettyjson/tsconfig.json +++ b/types/prettyjson/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/printf/tsconfig.json b/types/printf/tsconfig.json index 620efed257..19c87443f7 100644 --- a/types/printf/tsconfig.json +++ b/types/printf/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/priorityqueuejs/tsconfig.json b/types/priorityqueuejs/tsconfig.json index 565b6f8339..93882d576f 100644 --- a/types/priorityqueuejs/tsconfig.json +++ b/types/priorityqueuejs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prismjs/tsconfig.json b/types/prismjs/tsconfig.json index c5385df0ce..03ba8fadf4 100644 --- a/types/prismjs/tsconfig.json +++ b/types/prismjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/private-ip/tsconfig.json b/types/private-ip/tsconfig.json index 33e37f45f5..5a0e21cf48 100644 --- a/types/private-ip/tsconfig.json +++ b/types/private-ip/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/procfs-stats/tsconfig.json b/types/procfs-stats/tsconfig.json index 92d82b595d..8a501b61b3 100644 --- a/types/procfs-stats/tsconfig.json +++ b/types/procfs-stats/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/progress/tsconfig.json b/types/progress/tsconfig.json index 8621f46a57..65e98d96ce 100644 --- a/types/progress/tsconfig.json +++ b/types/progress/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/progressbar/tsconfig.json b/types/progressbar/tsconfig.json index b541482303..7aef8bf887 100644 --- a/types/progressbar/tsconfig.json +++ b/types/progressbar/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/progressjs/tsconfig.json b/types/progressjs/tsconfig.json index 371d303dae..fc6f9032d4 100644 --- a/types/progressjs/tsconfig.json +++ b/types/progressjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/proj4/tsconfig.json b/types/proj4/tsconfig.json index a55659d52c..1ab5dd3aca 100644 --- a/types/proj4/tsconfig.json +++ b/types/proj4/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/proj4leaflet/tsconfig.json b/types/proj4leaflet/tsconfig.json index 697b96a93a..71ce31477e 100644 --- a/types/proj4leaflet/tsconfig.json +++ b/types/proj4leaflet/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/project-oxford/tsconfig.json b/types/project-oxford/tsconfig.json index 4dbec7201d..8fc5270b59 100644 --- a/types/project-oxford/tsconfig.json +++ b/types/project-oxford/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/promise-dag/tsconfig.json b/types/promise-dag/tsconfig.json index c98c23daeb..a67918464c 100644 --- a/types/promise-dag/tsconfig.json +++ b/types/promise-dag/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/promise-pg/tsconfig.json b/types/promise-pg/tsconfig.json index 33ce665884..3738fbe7d4 100644 --- a/types/promise-pg/tsconfig.json +++ b/types/promise-pg/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/promise-polyfill/tsconfig.json b/types/promise-polyfill/tsconfig.json index 7fc4ac5f7b..eeae37f208 100644 --- a/types/promise-polyfill/tsconfig.json +++ b/types/promise-polyfill/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/promise-pool/tsconfig.json b/types/promise-pool/tsconfig.json index 98ab2ed31d..1dee50ec2c 100644 --- a/types/promise-pool/tsconfig.json +++ b/types/promise-pool/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/promise-queue/tsconfig.json b/types/promise-queue/tsconfig.json index 3487f5aa3e..ff00e6ae4d 100644 --- a/types/promise-queue/tsconfig.json +++ b/types/promise-queue/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "promise-queue-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/promise-retry/tsconfig.json b/types/promise-retry/tsconfig.json index cd598fc1f4..108576d80a 100644 --- a/types/promise-retry/tsconfig.json +++ b/types/promise-retry/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "promise-retry-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/promise.prototype.finally/tsconfig.json b/types/promise.prototype.finally/tsconfig.json index 7562ea9a0e..8624f013f1 100644 --- a/types/promise.prototype.finally/tsconfig.json +++ b/types/promise.prototype.finally/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/promised-temp/tsconfig.json b/types/promised-temp/tsconfig.json index 95c3dbb03c..0bd5275fad 100644 --- a/types/promised-temp/tsconfig.json +++ b/types/promised-temp/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/promisify-node/tsconfig.json b/types/promisify-node/tsconfig.json index a6cb4941e3..f54f1e857d 100644 --- a/types/promisify-node/tsconfig.json +++ b/types/promisify-node/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/promisify-supertest/tsconfig.json b/types/promisify-supertest/tsconfig.json index 5c827afe3d..3709bcb2a7 100644 --- a/types/promisify-supertest/tsconfig.json +++ b/types/promisify-supertest/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prompt-sync-history/tsconfig.json b/types/prompt-sync-history/tsconfig.json index eee808c57f..7a8b0e911b 100644 --- a/types/prompt-sync-history/tsconfig.json +++ b/types/prompt-sync-history/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prompt-sync/tsconfig.json b/types/prompt-sync/tsconfig.json index 4e3cc7be7f..ef1a66e7b2 100644 --- a/types/prompt-sync/tsconfig.json +++ b/types/prompt-sync/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/promptly/tsconfig.json b/types/promptly/tsconfig.json index 1743c8cfae..2c4bb2d18f 100644 --- a/types/promptly/tsconfig.json +++ b/types/promptly/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prop-types/tsconfig.json b/types/prop-types/tsconfig.json index fc9e42b6d6..6274310dfb 100644 --- a/types/prop-types/tsconfig.json +++ b/types/prop-types/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "lib": [ "es6" ] diff --git a/types/properties-reader/tsconfig.json b/types/properties-reader/tsconfig.json index 18f69d9755..ac7cfabcca 100644 --- a/types/properties-reader/tsconfig.json +++ b/types/properties-reader/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-collab/tsconfig.json b/types/prosemirror-collab/tsconfig.json index 42b55853a5..9da4d55b1c 100644 --- a/types/prosemirror-collab/tsconfig.json +++ b/types/prosemirror-collab/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-commands/tsconfig.json b/types/prosemirror-commands/tsconfig.json index 0d89f90c3b..8c66702f55 100644 --- a/types/prosemirror-commands/tsconfig.json +++ b/types/prosemirror-commands/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-gapcursor/tsconfig.json b/types/prosemirror-gapcursor/tsconfig.json index 957316926f..81051ed6d5 100644 --- a/types/prosemirror-gapcursor/tsconfig.json +++ b/types/prosemirror-gapcursor/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-history/tsconfig.json b/types/prosemirror-history/tsconfig.json index 011798770e..04d438cbec 100644 --- a/types/prosemirror-history/tsconfig.json +++ b/types/prosemirror-history/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-inputrules/tsconfig.json b/types/prosemirror-inputrules/tsconfig.json index bb5e0cc19b..1a2521fb30 100644 --- a/types/prosemirror-inputrules/tsconfig.json +++ b/types/prosemirror-inputrules/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-keymap/tsconfig.json b/types/prosemirror-keymap/tsconfig.json index 266a148c55..f4a0154e83 100644 --- a/types/prosemirror-keymap/tsconfig.json +++ b/types/prosemirror-keymap/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-markdown/tsconfig.json b/types/prosemirror-markdown/tsconfig.json index 1fe943489c..b4c5979ef2 100644 --- a/types/prosemirror-markdown/tsconfig.json +++ b/types/prosemirror-markdown/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-menu/tsconfig.json b/types/prosemirror-menu/tsconfig.json index 3f43e1e2eb..312b620e50 100644 --- a/types/prosemirror-menu/tsconfig.json +++ b/types/prosemirror-menu/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-model/tsconfig.json b/types/prosemirror-model/tsconfig.json index 6ae1c43b0c..0818485734 100644 --- a/types/prosemirror-model/tsconfig.json +++ b/types/prosemirror-model/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-schema-basic/tsconfig.json b/types/prosemirror-schema-basic/tsconfig.json index 44a2b36f28..b14e21e203 100644 --- a/types/prosemirror-schema-basic/tsconfig.json +++ b/types/prosemirror-schema-basic/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-schema-list/tsconfig.json b/types/prosemirror-schema-list/tsconfig.json index 3bc76fb24f..6a2f8c5c7e 100644 --- a/types/prosemirror-schema-list/tsconfig.json +++ b/types/prosemirror-schema-list/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-state/tsconfig.json b/types/prosemirror-state/tsconfig.json index 31354bc4ba..b9eb8cebbb 100644 --- a/types/prosemirror-state/tsconfig.json +++ b/types/prosemirror-state/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-tables/tsconfig.json b/types/prosemirror-tables/tsconfig.json index 956d15d5b9..6039b257f6 100644 --- a/types/prosemirror-tables/tsconfig.json +++ b/types/prosemirror-tables/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-transform/tsconfig.json b/types/prosemirror-transform/tsconfig.json index c5799c88a6..b38cbe15db 100644 --- a/types/prosemirror-transform/tsconfig.json +++ b/types/prosemirror-transform/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-view/tsconfig.json b/types/prosemirror-view/tsconfig.json index 80349461cb..27ca267974 100644 --- a/types/prosemirror-view/tsconfig.json +++ b/types/prosemirror-view/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/protractor-browser-logs/tsconfig.json b/types/protractor-browser-logs/tsconfig.json index f0cfe8c279..3609f79a73 100644 --- a/types/protractor-browser-logs/tsconfig.json +++ b/types/protractor-browser-logs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/protractor-helpers/tsconfig.json b/types/protractor-helpers/tsconfig.json index 6a0cde55eb..011710d5ec 100644 --- a/types/protractor-helpers/tsconfig.json +++ b/types/protractor-helpers/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/protractor-http-mock/tsconfig.json b/types/protractor-http-mock/tsconfig.json index be5b803a40..e901bf0729 100644 --- a/types/protractor-http-mock/tsconfig.json +++ b/types/protractor-http-mock/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/provinces/tsconfig.json b/types/provinces/tsconfig.json index d08b599b71..afb8986660 100644 --- a/types/provinces/tsconfig.json +++ b/types/provinces/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "provinces-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/proxy-addr/tsconfig.json b/types/proxy-addr/tsconfig.json index 2fa7369df3..809cf3d0b6 100644 --- a/types/proxy-addr/tsconfig.json +++ b/types/proxy-addr/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/proxyquire/tsconfig.json b/types/proxyquire/tsconfig.json index 91f5321dca..d3a8d9b5d4 100644 --- a/types/proxyquire/tsconfig.json +++ b/types/proxyquire/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pty.js/tsconfig.json b/types/pty.js/tsconfig.json index bea732e24f..1484657577 100644 --- a/types/pty.js/tsconfig.json +++ b/types/pty.js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/public-ip/tsconfig.json b/types/public-ip/tsconfig.json index 272171128a..57230ba254 100644 --- a/types/public-ip/tsconfig.json +++ b/types/public-ip/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pubnub/tsconfig.json b/types/pubnub/tsconfig.json index fab1a92335..b8a4d1d681 100644 --- a/types/pubnub/tsconfig.json +++ b/types/pubnub/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "pubnub-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "pubnub-tests.ts" + ] +} \ No newline at end of file diff --git a/types/pubsub-js/tsconfig.json b/types/pubsub-js/tsconfig.json index bccf35e64b..a83540e471 100644 --- a/types/pubsub-js/tsconfig.json +++ b/types/pubsub-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pug/tsconfig.json b/types/pug/tsconfig.json index efae8f261c..1d456b72d9 100644 --- a/types/pug/tsconfig.json +++ b/types/pug/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pulltorefreshjs/tsconfig.json b/types/pulltorefreshjs/tsconfig.json index 000858aefb..f20918e9b2 100644 --- a/types/pulltorefreshjs/tsconfig.json +++ b/types/pulltorefreshjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pump/tsconfig.json b/types/pump/tsconfig.json index 64e36bc754..e10b3daf90 100644 --- a/types/pump/tsconfig.json +++ b/types/pump/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pupa/tsconfig.json b/types/pupa/tsconfig.json index 3800bab180..d4d761ce00 100644 --- a/types/pupa/tsconfig.json +++ b/types/pupa/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "pupa-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/puppeteer/tsconfig.json b/types/puppeteer/tsconfig.json index 1231a85489..ad10a6c9cb 100644 --- a/types/puppeteer/tsconfig.json +++ b/types/puppeteer/tsconfig.json @@ -17,7 +17,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/puppeteer/v0/tsconfig.json b/types/puppeteer/v0/tsconfig.json index 314d615a7e..9a629aeb86 100644 --- a/types/puppeteer/v0/tsconfig.json +++ b/types/puppeteer/v0/tsconfig.json @@ -16,19 +16,20 @@ "../../" ], "paths": { - "puppeteer": [ - "puppeteer/v0" - ], - "puppeteer/*": [ - "puppeteer/v0/*" - ] + "puppeteer": [ + "puppeteer/v0" + ], + "puppeteer/*": [ + "puppeteer/v0/*" + ] }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "puppeteer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pure-render-decorator/tsconfig.json b/types/pure-render-decorator/tsconfig.json index 75214d18ff..d2f5f65ca2 100644 --- a/types/pure-render-decorator/tsconfig.json +++ b/types/pure-render-decorator/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/purl/tsconfig.json b/types/purl/tsconfig.json index ed87062a7f..d5ca9f7f4b 100644 --- a/types/purl/tsconfig.json +++ b/types/purl/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pusher-js/tsconfig.json b/types/pusher-js/tsconfig.json index 8827ec25e0..a9549bd6dd 100644 --- a/types/pusher-js/tsconfig.json +++ b/types/pusher-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/pvutils/tsconfig.json b/types/pvutils/tsconfig.json index 1715d090ce..d0eef064de 100644 --- a/types/pvutils/tsconfig.json +++ b/types/pvutils/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/python-shell/tsconfig.json b/types/python-shell/tsconfig.json index 6a36da55e1..86c2287a0d 100644 --- a/types/python-shell/tsconfig.json +++ b/types/python-shell/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/q-io/tsconfig.json b/types/q-io/tsconfig.json index a4c26f2b30..1e26749126 100644 --- a/types/q-io/tsconfig.json +++ b/types/q-io/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/q-retry/tsconfig.json b/types/q-retry/tsconfig.json index 516bc59abf..dc1ed9b23b 100644 --- a/types/q-retry/tsconfig.json +++ b/types/q-retry/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/q/tsconfig.json b/types/q/tsconfig.json index d78aa85a14..5e1034f46b 100644 --- a/types/q/tsconfig.json +++ b/types/q/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/q/v0/tsconfig.json b/types/q/v0/tsconfig.json index 681e8e1f2e..31ac046a31 100644 --- a/types/q/v0/tsconfig.json +++ b/types/q/v0/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/qhistory/tsconfig.json b/types/qhistory/tsconfig.json index 98850cf651..83a801697e 100644 --- a/types/qhistory/tsconfig.json +++ b/types/qhistory/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/qlik-engineapi/tsconfig.json b/types/qlik-engineapi/tsconfig.json index 2486e3c1a1..67fd16bdeb 100644 --- a/types/qlik-engineapi/tsconfig.json +++ b/types/qlik-engineapi/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/qlik-visualizationextensions/tsconfig.json b/types/qlik-visualizationextensions/tsconfig.json index fcda37b74c..e36779b393 100644 --- a/types/qlik-visualizationextensions/tsconfig.json +++ b/types/qlik-visualizationextensions/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/qlik/tsconfig.json b/types/qlik/tsconfig.json index 9ce852a121..17e3a3a1d4 100644 --- a/types/qlik/tsconfig.json +++ b/types/qlik/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/qr-image/tsconfig.json b/types/qr-image/tsconfig.json index c7703160db..cee4442bdc 100644 --- a/types/qr-image/tsconfig.json +++ b/types/qr-image/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/qrcode.react/tsconfig.json b/types/qrcode.react/tsconfig.json index 43b0544543..692ea041c5 100644 --- a/types/qrcode.react/tsconfig.json +++ b/types/qrcode.react/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/qrcode/tsconfig.json b/types/qrcode/tsconfig.json index 9731101a88..4484cf4d0e 100644 --- a/types/qrcode/tsconfig.json +++ b/types/qrcode/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/qs/tsconfig.json b/types/qs/tsconfig.json index afbace4b52..c099312aae 100644 --- a/types/qs/tsconfig.json +++ b/types/qs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/qtip2/tsconfig.json b/types/qtip2/tsconfig.json index 065a751433..fd9faf89ca 100644 --- a/types/qtip2/tsconfig.json +++ b/types/qtip2/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/query-string/tsconfig.json b/types/query-string/tsconfig.json index 83d5a52072..3561904b2b 100644 --- a/types/query-string/tsconfig.json +++ b/types/query-string/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/quick-lru/tsconfig.json b/types/quick-lru/tsconfig.json index c75dcdb96b..6859298d65 100644 --- a/types/quick-lru/tsconfig.json +++ b/types/quick-lru/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/quill/tsconfig.json b/types/quill/tsconfig.json index a5297158c9..f2d74f4b36 100644 --- a/types/quill/tsconfig.json +++ b/types/quill/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/quixote/tsconfig.json b/types/quixote/tsconfig.json index 54bd1570ba..a416fc7e5c 100644 --- a/types/quixote/tsconfig.json +++ b/types/quixote/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/qunit/tsconfig.json b/types/qunit/tsconfig.json index 15ac0ffa44..ce7bde690c 100644 --- a/types/qunit/tsconfig.json +++ b/types/qunit/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/qunit/v1/tsconfig.json b/types/qunit/v1/tsconfig.json index 4ed39548dd..ebddc9933c 100644 --- a/types/qunit/v1/tsconfig.json +++ b/types/qunit/v1/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/quoted-printable/tsconfig.json b/types/quoted-printable/tsconfig.json index 7bc181f40b..f3f12d3b37 100644 --- a/types/quoted-printable/tsconfig.json +++ b/types/quoted-printable/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/qwest/tsconfig.json b/types/qwest/tsconfig.json index d8cfd81322..8a6279a79a 100644 --- a/types/qwest/tsconfig.json +++ b/types/qwest/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/r-script/tsconfig.json b/types/r-script/tsconfig.json index 82beae3043..46bbf5d53a 100644 --- a/types/r-script/tsconfig.json +++ b/types/r-script/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rabbit.js/tsconfig.json b/types/rabbit.js/tsconfig.json index 93e2112a25..1c6363cf3a 100644 --- a/types/rabbit.js/tsconfig.json +++ b/types/rabbit.js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ractive/tsconfig.json b/types/ractive/tsconfig.json index a66823796c..0b1ecb1fbf 100644 --- a/types/ractive/tsconfig.json +++ b/types/ractive/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/radium/tsconfig.json b/types/radium/tsconfig.json index 73d842bda6..fe28635422 100644 --- a/types/radium/tsconfig.json +++ b/types/radium/tsconfig.json @@ -17,7 +17,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/radius/tsconfig.json b/types/radius/tsconfig.json index 9720137921..e4aa8cb383 100644 --- a/types/radius/tsconfig.json +++ b/types/radius/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ramda/tsconfig.json b/types/ramda/tsconfig.json index d29b3d9783..6be72ef69a 100644 --- a/types/ramda/tsconfig.json +++ b/types/ramda/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/random-js/tsconfig.json b/types/random-js/tsconfig.json index 7f60c90d1b..570d0c82a0 100644 --- a/types/random-js/tsconfig.json +++ b/types/random-js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/random-seed/tsconfig.json b/types/random-seed/tsconfig.json index 0c0fcd958b..5a1df347cd 100644 --- a/types/random-seed/tsconfig.json +++ b/types/random-seed/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/random-string/tsconfig.json b/types/random-string/tsconfig.json index 444464e11e..9bb3b8da44 100644 --- a/types/random-string/tsconfig.json +++ b/types/random-string/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/randomcolor/tsconfig.json b/types/randomcolor/tsconfig.json index b3a176e1fc..0ceaeaf8cf 100644 --- a/types/randomcolor/tsconfig.json +++ b/types/randomcolor/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/randomstring/tsconfig.json b/types/randomstring/tsconfig.json index 7a159e3797..d1e21fe8bc 100644 --- a/types/randomstring/tsconfig.json +++ b/types/randomstring/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/range-parser/tsconfig.json b/types/range-parser/tsconfig.json index 15585886a9..34afaa3188 100644 --- a/types/range-parser/tsconfig.json +++ b/types/range-parser/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rangy/tsconfig.json b/types/rangy/tsconfig.json index 4eb68b3ddc..2b7a94d3c4 100644 --- a/types/rangy/tsconfig.json +++ b/types/rangy/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rangyinputs/tsconfig.json b/types/rangyinputs/tsconfig.json index 8db995320f..8ed5fac9cd 100644 --- a/types/rangyinputs/tsconfig.json +++ b/types/rangyinputs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/raphael/tsconfig.json b/types/raphael/tsconfig.json index 2225a4e61a..c48094a86b 100644 --- a/types/raphael/tsconfig.json +++ b/types/raphael/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rappid/tsconfig.json b/types/rappid/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/rappid/tsconfig.json +++ b/types/rappid/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/raspi-board/tsconfig.json b/types/raspi-board/tsconfig.json index a55a514726..d445c2e7a3 100644 --- a/types/raspi-board/tsconfig.json +++ b/types/raspi-board/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/raspi-gpio/tsconfig.json b/types/raspi-gpio/tsconfig.json index 480f995bc6..8f13193910 100644 --- a/types/raspi-gpio/tsconfig.json +++ b/types/raspi-gpio/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/raspi-i2c/tsconfig.json b/types/raspi-i2c/tsconfig.json index 4e201f4496..2c371c52cb 100644 --- a/types/raspi-i2c/tsconfig.json +++ b/types/raspi-i2c/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/raspi-led/tsconfig.json b/types/raspi-led/tsconfig.json index 7e9d3a0fcc..7820064819 100644 --- a/types/raspi-led/tsconfig.json +++ b/types/raspi-led/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/raspi-onewire/tsconfig.json b/types/raspi-onewire/tsconfig.json index d7df314b58..0f7e781370 100644 --- a/types/raspi-onewire/tsconfig.json +++ b/types/raspi-onewire/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/raspi-peripheral/tsconfig.json b/types/raspi-peripheral/tsconfig.json index 4b24a67971..262dfe65ab 100644 --- a/types/raspi-peripheral/tsconfig.json +++ b/types/raspi-peripheral/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/raspi-pwm/tsconfig.json b/types/raspi-pwm/tsconfig.json index 5e38158098..cb04441554 100644 --- a/types/raspi-pwm/tsconfig.json +++ b/types/raspi-pwm/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/raspi-serial/tsconfig.json b/types/raspi-serial/tsconfig.json index c2a6058397..3d34b95ae2 100644 --- a/types/raspi-serial/tsconfig.json +++ b/types/raspi-serial/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/raspi-soft-pwm/tsconfig.json b/types/raspi-soft-pwm/tsconfig.json index aab55c4028..be512facda 100644 --- a/types/raspi-soft-pwm/tsconfig.json +++ b/types/raspi-soft-pwm/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/raspi/tsconfig.json b/types/raspi/tsconfig.json index 6906d607cf..a0a4b8c7e1 100644 --- a/types/raspi/tsconfig.json +++ b/types/raspi/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ratelimiter/tsconfig.json b/types/ratelimiter/tsconfig.json index 7e4e18ce50..f12fb1e8de 100644 --- a/types/ratelimiter/tsconfig.json +++ b/types/ratelimiter/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/raty/tsconfig.json b/types/raty/tsconfig.json index d367e9932e..2181426f02 100644 --- a/types/raty/tsconfig.json +++ b/types/raty/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/raven-for-redux/tsconfig.json b/types/raven-for-redux/tsconfig.json index b9ef813901..27d70eb769 100644 --- a/types/raven-for-redux/tsconfig.json +++ b/types/raven-for-redux/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "raven-for-redux-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/raven/tsconfig.json b/types/raven/tsconfig.json index caa66d1660..7cb5191080 100644 --- a/types/raven/tsconfig.json +++ b/types/raven/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/raygun4js/tsconfig.json b/types/raygun4js/tsconfig.json index 13eb0470bc..a21a9f09ba 100644 --- a/types/raygun4js/tsconfig.json +++ b/types/raygun4js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rbac-a/tsconfig.json b/types/rbac-a/tsconfig.json index be60bf248e..6ac59a93d5 100644 --- a/types/rbac-a/tsconfig.json +++ b/types/rbac-a/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", @@ -23,4 +24,4 @@ "lib/rbac.d.ts", "rbac-a-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/rbush/tsconfig.json b/types/rbush/tsconfig.json index fd02361312..8eb8ae3920 100644 --- a/types/rbush/tsconfig.json +++ b/types/rbush/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rc-select/tsconfig.json b/types/rc-select/tsconfig.json index 9f4f75be56..3febdbac14 100644 --- a/types/rc-select/tsconfig.json +++ b/types/rc-select/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rc-slider/tsconfig.json b/types/rc-slider/tsconfig.json index 8a4133645c..4f99fe54bc 100644 --- a/types/rc-slider/tsconfig.json +++ b/types/rc-slider/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/rc-tooltip/tsconfig.json b/types/rc-tooltip/tsconfig.json index 6ac85da4a7..98758d8cc7 100644 --- a/types/rc-tooltip/tsconfig.json +++ b/types/rc-tooltip/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/rc-tree/tsconfig.json b/types/rc-tree/tsconfig.json index f0e6f8f352..328de7f19d 100644 --- a/types/rc-tree/tsconfig.json +++ b/types/rc-tree/tsconfig.json @@ -18,7 +18,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rc/tsconfig.json b/types/rc/tsconfig.json index dbd3d2ed1f..0408f4d727 100644 --- a/types/rc/tsconfig.json +++ b/types/rc/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rcloader/tsconfig.json b/types/rcloader/tsconfig.json index 09cf468a7b..de232d1af1 100644 --- a/types/rcloader/tsconfig.json +++ b/types/rcloader/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rdf-data-model/tsconfig.json b/types/rdf-data-model/tsconfig.json index e1099949e0..1c54cb1a94 100644 --- a/types/rdf-data-model/tsconfig.json +++ b/types/rdf-data-model/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "rdf-data-model-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/rdf-js/tsconfig.json b/types/rdf-js/tsconfig.json index b9c788b408..57d7bb3c05 100644 --- a/types/rdf-js/tsconfig.json +++ b/types/rdf-js/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "rdf-js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/react-addons-create-fragment/tsconfig.json b/types/react-addons-create-fragment/tsconfig.json index d34d6a1d77..19a01dfff9 100644 --- a/types/react-addons-create-fragment/tsconfig.json +++ b/types/react-addons-create-fragment/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/react-addons-css-transition-group/tsconfig.json b/types/react-addons-css-transition-group/tsconfig.json index d34d6a1d77..19a01dfff9 100644 --- a/types/react-addons-css-transition-group/tsconfig.json +++ b/types/react-addons-css-transition-group/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/react-addons-linked-state-mixin/tsconfig.json b/types/react-addons-linked-state-mixin/tsconfig.json index d34d6a1d77..19a01dfff9 100644 --- a/types/react-addons-linked-state-mixin/tsconfig.json +++ b/types/react-addons-linked-state-mixin/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/react-addons-perf/tsconfig.json b/types/react-addons-perf/tsconfig.json index b2099f42a4..ce3aaab32f 100644 --- a/types/react-addons-perf/tsconfig.json +++ b/types/react-addons-perf/tsconfig.json @@ -17,6 +17,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/react-addons-pure-render-mixin/tsconfig.json b/types/react-addons-pure-render-mixin/tsconfig.json index d34d6a1d77..19a01dfff9 100644 --- a/types/react-addons-pure-render-mixin/tsconfig.json +++ b/types/react-addons-pure-render-mixin/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/react-addons-shallow-compare/tsconfig.json b/types/react-addons-shallow-compare/tsconfig.json index f6f4aec748..b5bc120ac8 100644 --- a/types/react-addons-shallow-compare/tsconfig.json +++ b/types/react-addons-shallow-compare/tsconfig.json @@ -20,6 +20,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "preserve" } } \ No newline at end of file diff --git a/types/react-addons-test-utils/tsconfig.json b/types/react-addons-test-utils/tsconfig.json index d34d6a1d77..19a01dfff9 100644 --- a/types/react-addons-test-utils/tsconfig.json +++ b/types/react-addons-test-utils/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/react-addons-transition-group/tsconfig.json b/types/react-addons-transition-group/tsconfig.json index d34d6a1d77..19a01dfff9 100644 --- a/types/react-addons-transition-group/tsconfig.json +++ b/types/react-addons-transition-group/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/react-addons-update/tsconfig.json b/types/react-addons-update/tsconfig.json index d34d6a1d77..19a01dfff9 100644 --- a/types/react-addons-update/tsconfig.json +++ b/types/react-addons-update/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/react-alert/tsconfig.json b/types/react-alert/tsconfig.json index 9332254f22..839209b7dc 100644 --- a/types/react-alert/tsconfig.json +++ b/types/react-alert/tsconfig.json @@ -15,10 +15,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ "index.d.ts", "react-alert-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-alice-carousel/tsconfig.json b/types/react-alice-carousel/tsconfig.json index 4245303823..bc37758fc3 100644 --- a/types/react-alice-carousel/tsconfig.json +++ b/types/react-alice-carousel/tsconfig.json @@ -1,24 +1,25 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "jsx": "react" - }, - "files": [ - "index.d.ts", - "react-alice-carousel-tests.tsx" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, + "jsx": "react" + }, + "files": [ + "index.d.ts", + "react-alice-carousel-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/react-app/tsconfig.json b/types/react-app/tsconfig.json index f8571fc792..3ec85b9bf8 100644 --- a/types/react-app/tsconfig.json +++ b/types/react-app/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-aria-menubutton/tsconfig.json b/types/react-aria-menubutton/tsconfig.json index 2dbf395f45..e9d596e375 100644 --- a/types/react-aria-menubutton/tsconfig.json +++ b/types/react-aria-menubutton/tsconfig.json @@ -16,7 +16,8 @@ "types": [], "jsx": "react", "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-autosuggest/tsconfig.json b/types/react-autosuggest/tsconfig.json index fc78293096..2b69e68bf3 100644 --- a/types/react-autosuggest/tsconfig.json +++ b/types/react-autosuggest/tsconfig.json @@ -16,10 +16,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ "index.d.ts", "react-autosuggest-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-beautiful-dnd/tsconfig.json b/types/react-beautiful-dnd/tsconfig.json index 96c9d53cff..4530e4d9b8 100644 --- a/types/react-beautiful-dnd/tsconfig.json +++ b/types/react-beautiful-dnd/tsconfig.json @@ -16,7 +16,8 @@ "types": [], "jsx": "react", "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-big-calendar/tsconfig.json b/types/react-big-calendar/tsconfig.json index 1a28fe79ae..99826b4502 100644 --- a/types/react-big-calendar/tsconfig.json +++ b/types/react-big-calendar/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-body-classname/tsconfig.json b/types/react-body-classname/tsconfig.json index eed9b65a7c..e7bed7437e 100644 --- a/types/react-body-classname/tsconfig.json +++ b/types/react-body-classname/tsconfig.json @@ -16,7 +16,8 @@ "types": [], "jsx": "react", "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-bootstrap-date-picker/tsconfig.json b/types/react-bootstrap-date-picker/tsconfig.json index c8beba00b1..4b62f1b3f7 100644 --- a/types/react-bootstrap-date-picker/tsconfig.json +++ b/types/react-bootstrap-date-picker/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-bootstrap-daterangepicker/tsconfig.json b/types/react-bootstrap-daterangepicker/tsconfig.json index bc9c951ccf..ed5ddc9221 100644 --- a/types/react-bootstrap-daterangepicker/tsconfig.json +++ b/types/react-bootstrap-daterangepicker/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-bootstrap-table/tsconfig.json b/types/react-bootstrap-table/tsconfig.json index 5947d4a26d..fd3d5982ef 100644 --- a/types/react-bootstrap-table/tsconfig.json +++ b/types/react-bootstrap-table/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-bootstrap-table/v2/tsconfig.json b/types/react-bootstrap-table/v2/tsconfig.json index eee5850865..ca14332503 100644 --- a/types/react-bootstrap-table/v2/tsconfig.json +++ b/types/react-bootstrap-table/v2/tsconfig.json @@ -21,10 +21,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "react-bootstrap-table-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-bootstrap-typeahead/tsconfig.json b/types/react-bootstrap-typeahead/tsconfig.json index c8b63ad42b..ce067d6689 100644 --- a/types/react-bootstrap-typeahead/tsconfig.json +++ b/types/react-bootstrap-typeahead/tsconfig.json @@ -16,10 +16,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "react-bootstrap-typeahead-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-bootstrap/tsconfig.json b/types/react-bootstrap/tsconfig.json index 6368cc93de..52170e4830 100644 --- a/types/react-bootstrap/tsconfig.json +++ b/types/react-bootstrap/tsconfig.json @@ -17,6 +17,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noUnusedLocals": false }, "files": [ diff --git a/types/react-breadcrumbs-dynamic/tsconfig.json b/types/react-breadcrumbs-dynamic/tsconfig.json index 8b058ae2d6..8a8faf69a6 100644 --- a/types/react-breadcrumbs-dynamic/tsconfig.json +++ b/types/react-breadcrumbs-dynamic/tsconfig.json @@ -16,10 +16,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "react-breadcrumbs-dynamic-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-breadcrumbs/tsconfig.json b/types/react-breadcrumbs/tsconfig.json index 15b3328f6b..b93f3da81d 100644 --- a/types/react-breadcrumbs/tsconfig.json +++ b/types/react-breadcrumbs/tsconfig.json @@ -24,6 +24,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-broadcast/tsconfig.json b/types/react-broadcast/tsconfig.json index 270151cc33..60a86c386a 100644 --- a/types/react-broadcast/tsconfig.json +++ b/types/react-broadcast/tsconfig.json @@ -1,17 +1,26 @@ { - "compilerOptions": { - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "module": "commonjs", - "lib": ["es6", "dom"], - "jsx": "react", - "strictNullChecks": true, - "strictFunctionTypes": false, - "noImplicitAny": true, - "noImplicitThis": true, - "forceConsistentCasingInFileNames": true, - "noEmit": true - }, - "files": ["index.d.ts", "react-broadcast-tests.tsx"] -} + "compilerOptions": { + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "jsx": "react", + "strictNullChecks": true, + "strictFunctionTypes": false, + "noImplicitAny": true, + "noImplicitThis": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, + "noEmit": true + }, + "files": [ + "index.d.ts", + "react-broadcast-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/react-burger-menu/tsconfig.json b/types/react-burger-menu/tsconfig.json index e8f6d518a5..aff886d199 100644 --- a/types/react-burger-menu/tsconfig.json +++ b/types/react-burger-menu/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-bytesize-icons/tsconfig.json b/types/react-bytesize-icons/tsconfig.json index fdabe49e81..8010451c5f 100644 --- a/types/react-bytesize-icons/tsconfig.json +++ b/types/react-bytesize-icons/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-calendar-heatmap/tsconfig.json b/types/react-calendar-heatmap/tsconfig.json index f605aa4478..7c2cd99718 100644 --- a/types/react-calendar-heatmap/tsconfig.json +++ b/types/react-calendar-heatmap/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-calendar-timeline/tsconfig.json b/types/react-calendar-timeline/tsconfig.json index 0338517fd1..e5a81f1587 100644 --- a/types/react-calendar-timeline/tsconfig.json +++ b/types/react-calendar-timeline/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-cartographer/tsconfig.json b/types/react-cartographer/tsconfig.json index dcf04419fe..2e8720d967 100644 --- a/types/react-cartographer/tsconfig.json +++ b/types/react-cartographer/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-click-outside/tsconfig.json b/types/react-click-outside/tsconfig.json index 57ca39a8f0..2ca464b34b 100644 --- a/types/react-click-outside/tsconfig.json +++ b/types/react-click-outside/tsconfig.json @@ -1,25 +1,26 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "jsx": "react", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "react-click-outside-tests.tsx" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "jsx": "react", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "react-click-outside-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/react-codemirror/tsconfig.json b/types/react-codemirror/tsconfig.json index af24eb1e1f..f127379ce4 100644 --- a/types/react-codemirror/tsconfig.json +++ b/types/react-codemirror/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-collapse/tsconfig.json b/types/react-collapse/tsconfig.json index 291864c9d3..e1c406e099 100644 --- a/types/react-collapse/tsconfig.json +++ b/types/react-collapse/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "react-collapse-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-color/tsconfig.json b/types/react-color/tsconfig.json index f52a34c374..6d2d8c0281 100644 --- a/types/react-color/tsconfig.json +++ b/types/react-color/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react", "noUnusedParameters": true, "noUnusedLocals": true diff --git a/types/react-confirm/tsconfig.json b/types/react-confirm/tsconfig.json index da3acdd363..4de5e08c45 100644 --- a/types/react-confirm/tsconfig.json +++ b/types/react-confirm/tsconfig.json @@ -15,10 +15,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ "index.d.ts", "react-confirm-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-content-loader/tsconfig.json b/types/react-content-loader/tsconfig.json index 4385503dc9..39d6a9d75a 100644 --- a/types/react-content-loader/tsconfig.json +++ b/types/react-content-loader/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/react-copy-to-clipboard/tsconfig.json b/types/react-copy-to-clipboard/tsconfig.json index 99987e8aff..131ab41240 100644 --- a/types/react-copy-to-clipboard/tsconfig.json +++ b/types/react-copy-to-clipboard/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-cropper/tsconfig.json b/types/react-cropper/tsconfig.json index aab8a09ee5..7594ac5442 100644 --- a/types/react-cropper/tsconfig.json +++ b/types/react-cropper/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-css-modules/tsconfig.json b/types/react-css-modules/tsconfig.json index 0975a113c1..af20eae1b1 100644 --- a/types/react-css-modules/tsconfig.json +++ b/types/react-css-modules/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react", "experimentalDecorators": true }, diff --git a/types/react-css-transition-replace/tsconfig.json b/types/react-css-transition-replace/tsconfig.json index 7aff1dd2cc..28fdca36a7 100644 --- a/types/react-css-transition-replace/tsconfig.json +++ b/types/react-css-transition-replace/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-custom-scrollbars/tsconfig.json b/types/react-custom-scrollbars/tsconfig.json index a03a9609b1..3b1d5a433a 100644 --- a/types/react-custom-scrollbars/tsconfig.json +++ b/types/react-custom-scrollbars/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-custom-scrollbars/v3/tsconfig.json b/types/react-custom-scrollbars/v3/tsconfig.json index 47d2b5bc45..f57ff94fcf 100644 --- a/types/react-custom-scrollbars/v3/tsconfig.json +++ b/types/react-custom-scrollbars/v3/tsconfig.json @@ -24,6 +24,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-data-grid/tsconfig.json b/types/react-data-grid/tsconfig.json index a113c4a69e..164a9e3303 100644 --- a/types/react-data-grid/tsconfig.json +++ b/types/react-data-grid/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-data-grid/v1/tsconfig.json b/types/react-data-grid/v1/tsconfig.json index c2602fd049..e16c68f9eb 100644 --- a/types/react-data-grid/v1/tsconfig.json +++ b/types/react-data-grid/v1/tsconfig.json @@ -17,6 +17,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { "react-data-grid": [ "react-data-grid/v1" diff --git a/types/react-datagrid/tsconfig.json b/types/react-datagrid/tsconfig.json index 111a9dd7ea..2bb8c4211c 100644 --- a/types/react-datagrid/tsconfig.json +++ b/types/react-datagrid/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-date-range/tsconfig.json b/types/react-date-range/tsconfig.json index 91979c462d..57a4fe941c 100644 --- a/types/react-date-range/tsconfig.json +++ b/types/react-date-range/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-datepicker/tsconfig.json b/types/react-datepicker/tsconfig.json index 39a236a343..f837f933ec 100644 --- a/types/react-datepicker/tsconfig.json +++ b/types/react-datepicker/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-daterange-picker/tsconfig.json b/types/react-daterange-picker/tsconfig.json index 72fcee1873..2f62e76a6b 100644 --- a/types/react-daterange-picker/tsconfig.json +++ b/types/react-daterange-picker/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-dates/tsconfig.json b/types/react-dates/tsconfig.json index 82a46d3cd2..30d8a41725 100644 --- a/types/react-dates/tsconfig.json +++ b/types/react-dates/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-daum-postcode/tsconfig.json b/types/react-daum-postcode/tsconfig.json index 134796ae08..9e639e241b 100644 --- a/types/react-daum-postcode/tsconfig.json +++ b/types/react-daum-postcode/tsconfig.json @@ -21,6 +21,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/react-dnd-html5-backend/tsconfig.json b/types/react-dnd-html5-backend/tsconfig.json index dca11ac9e1..18fefef18a 100644 --- a/types/react-dnd-html5-backend/tsconfig.json +++ b/types/react-dnd-html5-backend/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-dnd-multi-backend/tsconfig.json b/types/react-dnd-multi-backend/tsconfig.json index e9857447ef..abef2d8e50 100644 --- a/types/react-dnd-multi-backend/tsconfig.json +++ b/types/react-dnd-multi-backend/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ @@ -23,4 +24,4 @@ "lib/HTML5toTouch.d.ts", "react-dnd-multi-backend-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-dnd-test-backend/tsconfig.json b/types/react-dnd-test-backend/tsconfig.json index aaf674e57e..bc65096358 100644 --- a/types/react-dnd-test-backend/tsconfig.json +++ b/types/react-dnd-test-backend/tsconfig.json @@ -16,10 +16,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "react-dnd-test-backend-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-dnd-touch-backend/tsconfig.json b/types/react-dnd-touch-backend/tsconfig.json index 926592e1c3..14b02858d5 100644 --- a/types/react-dnd-touch-backend/tsconfig.json +++ b/types/react-dnd-touch-backend/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "react-dnd-touch-backend-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/react-dnd/tsconfig.json b/types/react-dnd/tsconfig.json index 0f441c38f4..559dc32de8 100644 --- a/types/react-dnd/tsconfig.json +++ b/types/react-dnd/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-document-title/tsconfig.json b/types/react-document-title/tsconfig.json index 5d63d21fb6..553fffc4ec 100644 --- a/types/react-document-title/tsconfig.json +++ b/types/react-document-title/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-dom-factories/tsconfig.json b/types/react-dom-factories/tsconfig.json index 8cdf540399..9ed92f90a5 100644 --- a/types/react-dom-factories/tsconfig.json +++ b/types/react-dom-factories/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "react-dom-factories-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/react-dom/tsconfig.json b/types/react-dom/tsconfig.json index 0d21b07029..6f538370c7 100644 --- a/types/react-dom/tsconfig.json +++ b/types/react-dom/tsconfig.json @@ -23,6 +23,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "preserve" } } \ No newline at end of file diff --git a/types/react-dom/v15/tsconfig.json b/types/react-dom/v15/tsconfig.json index 8f07ba2276..051926d31f 100644 --- a/types/react-dom/v15/tsconfig.json +++ b/types/react-dom/v15/tsconfig.json @@ -30,6 +30,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/react-dropzone/tsconfig.json b/types/react-dropzone/tsconfig.json index 0dbb3fedc8..cb1d0ed443 100644 --- a/types/react-dropzone/tsconfig.json +++ b/types/react-dropzone/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-dropzone/v2/tsconfig.json b/types/react-dropzone/v2/tsconfig.json index 3ea5a034b1..4fcfb1c416 100644 --- a/types/react-dropzone/v2/tsconfig.json +++ b/types/react-dropzone/v2/tsconfig.json @@ -21,7 +21,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-dropzone/v3/tsconfig.json b/types/react-dropzone/v3/tsconfig.json index 46c4c4cbff..79d579b424 100644 --- a/types/react-dropzone/v3/tsconfig.json +++ b/types/react-dropzone/v3/tsconfig.json @@ -21,7 +21,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-dynamic-number/tsconfig.json b/types/react-dynamic-number/tsconfig.json index ad1a3aee65..5b563dabb3 100644 --- a/types/react-dynamic-number/tsconfig.json +++ b/types/react-dynamic-number/tsconfig.json @@ -1,17 +1,26 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react", "strictFunctionTypes": true }, - "files": ["index.d.ts", "react-dynamic-number-tests.tsx"] -} + "files": [ + "index.d.ts", + "react-dynamic-number-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/react-easy-chart/tsconfig.json b/types/react-easy-chart/tsconfig.json index 06dd62395e..3424d6ec5d 100644 --- a/types/react-easy-chart/tsconfig.json +++ b/types/react-easy-chart/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-event-listener/tsconfig.json b/types/react-event-listener/tsconfig.json index 79cad9b350..e3942956bd 100644 --- a/types/react-event-listener/tsconfig.json +++ b/types/react-event-listener/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-fa/tsconfig.json b/types/react-fa/tsconfig.json index ee7e57f029..239ae74c16 100644 --- a/types/react-fa/tsconfig.json +++ b/types/react-fa/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-facebook-login/tsconfig.json b/types/react-facebook-login/tsconfig.json index 4d76e11a0f..56a7ac71be 100644 --- a/types/react-facebook-login/tsconfig.json +++ b/types/react-facebook-login/tsconfig.json @@ -17,7 +17,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-faux-dom/tsconfig.json b/types/react-faux-dom/tsconfig.json index 198db32576..e1fa17fe85 100644 --- a/types/react-faux-dom/tsconfig.json +++ b/types/react-faux-dom/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-file-input/tsconfig.json b/types/react-file-input/tsconfig.json index 8455a75373..dc48ce1765 100644 --- a/types/react-file-input/tsconfig.json +++ b/types/react-file-input/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-file-reader-input/tsconfig.json b/types/react-file-reader-input/tsconfig.json index 020a2e0930..fd16c142a7 100644 --- a/types/react-file-reader-input/tsconfig.json +++ b/types/react-file-reader-input/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-flags-select/tsconfig.json b/types/react-flags-select/tsconfig.json index f42fa48c4a..58d5e1b668 100644 --- a/types/react-flags-select/tsconfig.json +++ b/types/react-flags-select/tsconfig.json @@ -16,10 +16,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "react-flags-select-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-flatpickr/tsconfig.json b/types/react-flatpickr/tsconfig.json index dbde62f5d3..3822782936 100644 --- a/types/react-flatpickr/tsconfig.json +++ b/types/react-flatpickr/tsconfig.json @@ -16,7 +16,8 @@ "types": [], "jsx": "react", "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-flex/tsconfig.json b/types/react-flex/tsconfig.json index 2020f9dda4..9e7c9867d6 100644 --- a/types/react-flex/tsconfig.json +++ b/types/react-flex/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "preserve" }, "files": [ diff --git a/types/react-flexr/tsconfig.json b/types/react-flexr/tsconfig.json index 56580115a2..c1ea7ad8fe 100644 --- a/types/react-flexr/tsconfig.json +++ b/types/react-flexr/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-fontawesome/tsconfig.json b/types/react-fontawesome/tsconfig.json index c94422a8b8..fa397d8a5f 100644 --- a/types/react-fontawesome/tsconfig.json +++ b/types/react-fontawesome/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-form/tsconfig.json b/types/react-form/tsconfig.json index d6c6d41dca..cc5dcb26ba 100644 --- a/types/react-form/tsconfig.json +++ b/types/react-form/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-form/v1/tsconfig.json b/types/react-form/v1/tsconfig.json index c1691ba3b1..978f7f0673 100644 --- a/types/react-form/v1/tsconfig.json +++ b/types/react-form/v1/tsconfig.json @@ -1,30 +1,31 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../../", - "jsx": "react", - "typeRoots": [ - "../../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "paths": { - "react-form": [ - "react-form/v1" - ] - } - }, - "files": [ - "index.d.ts", - "react-form-tests.tsx" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../../", + "jsx": "react", + "typeRoots": [ + "../../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, + "paths": { + "react-form": [ + "react-form/v1" + ] + } + }, + "files": [ + "index.d.ts", + "react-form-tests.tsx" + ] } \ No newline at end of file diff --git a/types/react-foundation/tsconfig.json b/types/react-foundation/tsconfig.json index 565dbdcece..319ef45694 100644 --- a/types/react-foundation/tsconfig.json +++ b/types/react-foundation/tsconfig.json @@ -17,6 +17,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noUnusedLocals": false }, "files": [ diff --git a/types/react-geosuggest/tsconfig.json b/types/react-geosuggest/tsconfig.json index 304546787b..262fa75ee4 100644 --- a/types/react-geosuggest/tsconfig.json +++ b/types/react-geosuggest/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-google-recaptcha/tsconfig.json b/types/react-google-recaptcha/tsconfig.json index bbd1cfd004..4f519873bc 100644 --- a/types/react-google-recaptcha/tsconfig.json +++ b/types/react-google-recaptcha/tsconfig.json @@ -16,10 +16,11 @@ "types": [], "jsx": "react", "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "react-google-recaptcha-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-gravatar/tsconfig.json b/types/react-gravatar/tsconfig.json index cd0f8f5f34..59e0af6a9b 100644 --- a/types/react-gravatar/tsconfig.json +++ b/types/react-gravatar/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-grid-layout/tsconfig.json b/types/react-grid-layout/tsconfig.json index c6f201354f..c337a8dceb 100644 --- a/types/react-grid-layout/tsconfig.json +++ b/types/react-grid-layout/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-hamburger-menu/tsconfig.json b/types/react-hamburger-menu/tsconfig.json index 54703bb696..a254b9f4bb 100644 --- a/types/react-hamburger-menu/tsconfig.json +++ b/types/react-hamburger-menu/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-helmet/tsconfig.json b/types/react-helmet/tsconfig.json index e0c7684aae..26cb9dbb4c 100644 --- a/types/react-helmet/tsconfig.json +++ b/types/react-helmet/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-helmet/v4/tsconfig.json b/types/react-helmet/v4/tsconfig.json index 6f93ba793e..3f541f396f 100644 --- a/types/react-helmet/v4/tsconfig.json +++ b/types/react-helmet/v4/tsconfig.json @@ -21,7 +21,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-highlight-words/tsconfig.json b/types/react-highlight-words/tsconfig.json index 1617289fa7..f01085be0d 100644 --- a/types/react-highlight-words/tsconfig.json +++ b/types/react-highlight-words/tsconfig.json @@ -16,7 +16,8 @@ "types": [], "jsx": "react", "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-highlighter/tsconfig.json b/types/react-highlighter/tsconfig.json index 45e30a642e..36510b6cc1 100644 --- a/types/react-highlighter/tsconfig.json +++ b/types/react-highlighter/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-holder/tsconfig.json b/types/react-holder/tsconfig.json index e8ee50c417..1b16b51f6d 100644 --- a/types/react-holder/tsconfig.json +++ b/types/react-holder/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-hot-loader/tsconfig.json b/types/react-hot-loader/tsconfig.json index 5e898cb303..fcd362bb8c 100644 --- a/types/react-hot-loader/tsconfig.json +++ b/types/react-hot-loader/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-hyperscript/tsconfig.json b/types/react-hyperscript/tsconfig.json index 1ad5f62543..89cc9e1517 100644 --- a/types/react-hyperscript/tsconfig.json +++ b/types/react-hyperscript/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "react-hyperscript-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/react-i18next/tsconfig.json b/types/react-i18next/tsconfig.json index e38c27a93e..7c180ea76a 100644 --- a/types/react-i18next/tsconfig.json +++ b/types/react-i18next/tsconfig.json @@ -16,7 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "strictFunctionTypes": true, + "esModuleInterop": true, "jsx": "react", "experimentalDecorators": true }, @@ -31,4 +31,4 @@ "src/trans.d.ts", "src/translate.d.ts" ] -} +} \ No newline at end of file diff --git a/types/react-i18next/v1/tsconfig.json b/types/react-i18next/v1/tsconfig.json index b16cb92b25..b733293e90 100644 --- a/types/react-i18next/v1/tsconfig.json +++ b/types/react-i18next/v1/tsconfig.json @@ -24,6 +24,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react", "experimentalDecorators": true }, diff --git a/types/react-i18next/v4/tsconfig.json b/types/react-i18next/v4/tsconfig.json index 1e7a8d9eea..3fa0ff8181 100644 --- a/types/react-i18next/v4/tsconfig.json +++ b/types/react-i18next/v4/tsconfig.json @@ -21,6 +21,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react", "experimentalDecorators": true }, @@ -33,4 +34,4 @@ "trans.d.ts", "translate.d.ts" ] -} +} \ No newline at end of file diff --git a/types/react-icon-base/tsconfig.json b/types/react-icon-base/tsconfig.json index 4e98b45572..c47d7e66ef 100644 --- a/types/react-icon-base/tsconfig.json +++ b/types/react-icon-base/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "preserve" }, "files": [ diff --git a/types/react-icons/tsconfig.json b/types/react-icons/tsconfig.json index 30695260df..1117475feb 100644 --- a/types/react-icons/tsconfig.json +++ b/types/react-icons/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "preserve" }, "files": [ diff --git a/types/react-image-gallery/tsconfig.json b/types/react-image-gallery/tsconfig.json index 9970170355..d42a2dc0d8 100644 --- a/types/react-image-gallery/tsconfig.json +++ b/types/react-image-gallery/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "react-image-gallery-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-imageloader/tsconfig.json b/types/react-imageloader/tsconfig.json index 10c47efd69..2072e936c9 100644 --- a/types/react-imageloader/tsconfig.json +++ b/types/react-imageloader/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-infinite-scroller/tsconfig.json b/types/react-infinite-scroller/tsconfig.json index 9094853395..d3b357a8ad 100644 --- a/types/react-infinite-scroller/tsconfig.json +++ b/types/react-infinite-scroller/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-infinite/tsconfig.json b/types/react-infinite/tsconfig.json index c3ec7e4192..38915e5d07 100644 --- a/types/react-infinite/tsconfig.json +++ b/types/react-infinite/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-input-calendar/tsconfig.json b/types/react-input-calendar/tsconfig.json index 216b0bcfe9..b7becae449 100644 --- a/types/react-input-calendar/tsconfig.json +++ b/types/react-input-calendar/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-input-mask/tsconfig.json b/types/react-input-mask/tsconfig.json index be2a7cc230..ffbee32962 100644 --- a/types/react-input-mask/tsconfig.json +++ b/types/react-input-mask/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-intl-redux/tsconfig.json b/types/react-intl-redux/tsconfig.json index 06eacd254a..4bf5f624a2 100644 --- a/types/react-intl-redux/tsconfig.json +++ b/types/react-intl-redux/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-intl/tsconfig.json b/types/react-intl/tsconfig.json index d44df31af7..f943e36591 100644 --- a/types/react-intl/tsconfig.json +++ b/types/react-intl/tsconfig.json @@ -20,6 +20,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } -} +} \ No newline at end of file diff --git a/types/react-intl/v1/tsconfig.json b/types/react-intl/v1/tsconfig.json index 1f63dae6a5..7ac64f1af9 100644 --- a/types/react-intl/v1/tsconfig.json +++ b/types/react-intl/v1/tsconfig.json @@ -21,6 +21,7 @@ }, "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react", "experimentalDecorators": true }, diff --git a/types/react-is-deprecated/tsconfig.json b/types/react-is-deprecated/tsconfig.json index ce2c7d740a..7cc62d4f7f 100644 --- a/types/react-is-deprecated/tsconfig.json +++ b/types/react-is-deprecated/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-joyride/tsconfig.json b/types/react-joyride/tsconfig.json index b468366153..ef4ff9b9ee 100644 --- a/types/react-joyride/tsconfig.json +++ b/types/react-joyride/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-json-pretty/tsconfig.json b/types/react-json-pretty/tsconfig.json index 17b15160c6..929b115a79 100644 --- a/types/react-json-pretty/tsconfig.json +++ b/types/react-json-pretty/tsconfig.json @@ -17,7 +17,8 @@ "jsx": "preserve", "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-json-tree/tsconfig.json b/types/react-json-tree/tsconfig.json index 134e10e324..e9f7954643 100644 --- a/types/react-json-tree/tsconfig.json +++ b/types/react-json-tree/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-json/tsconfig.json b/types/react-json/tsconfig.json index b9ee513a9d..2c8eb0b159 100644 --- a/types/react-json/tsconfig.json +++ b/types/react-json/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-jsonschema-form/tsconfig.json b/types/react-jsonschema-form/tsconfig.json index a4f7127522..aa6b886675 100644 --- a/types/react-jsonschema-form/tsconfig.json +++ b/types/react-jsonschema-form/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-lazyload/tsconfig.json b/types/react-lazyload/tsconfig.json index 48e56bab80..836d652b93 100644 --- a/types/react-lazyload/tsconfig.json +++ b/types/react-lazyload/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-leaflet/tsconfig.json b/types/react-leaflet/tsconfig.json index 75ce9f7598..c6a123ac19 100644 --- a/types/react-leaflet/tsconfig.json +++ b/types/react-leaflet/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-list/tsconfig.json b/types/react-list/tsconfig.json index 040c8c5fc9..15b1d876e6 100644 --- a/types/react-list/tsconfig.json +++ b/types/react-list/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-loadable/tsconfig.json b/types/react-loadable/tsconfig.json index 9d46ae0de9..bb968d3b23 100644 --- a/types/react-loadable/tsconfig.json +++ b/types/react-loadable/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-loader/tsconfig.json b/types/react-loader/tsconfig.json index dbe08293df..bc0150abd0 100644 --- a/types/react-loader/tsconfig.json +++ b/types/react-loader/tsconfig.json @@ -15,7 +15,8 @@ "jsx": "react", "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-maskedinput/tsconfig.json b/types/react-maskedinput/tsconfig.json index a5544e917d..9935dfab63 100644 --- a/types/react-maskedinput/tsconfig.json +++ b/types/react-maskedinput/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-mce/tsconfig.json b/types/react-mce/tsconfig.json index 7db60d34d1..5abea1ff98 100644 --- a/types/react-mce/tsconfig.json +++ b/types/react-mce/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-mdl/tsconfig.json b/types/react-mdl/tsconfig.json index 45017dc8c9..6fc7a2a4b6 100644 --- a/types/react-mdl/tsconfig.json +++ b/types/react-mdl/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-measure/tsconfig.json b/types/react-measure/tsconfig.json index 63aa208f05..3a29cd4f8f 100644 --- a/types/react-measure/tsconfig.json +++ b/types/react-measure/tsconfig.json @@ -17,7 +17,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-mixin/tsconfig.json b/types/react-mixin/tsconfig.json index fd65a09710..dd0908f60c 100644 --- a/types/react-mixin/tsconfig.json +++ b/types/react-mixin/tsconfig.json @@ -17,7 +17,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-modal/tsconfig.json b/types/react-modal/tsconfig.json index 8c1dd5988b..716fa04a21 100644 --- a/types/react-modal/tsconfig.json +++ b/types/react-modal/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-monaco-editor/tsconfig.json b/types/react-monaco-editor/tsconfig.json index 8d55416feb..64ea75ce0b 100644 --- a/types/react-monaco-editor/tsconfig.json +++ b/types/react-monaco-editor/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-motion-slider/tsconfig.json b/types/react-motion-slider/tsconfig.json index aaf0d16bdb..89e30e32e0 100644 --- a/types/react-motion-slider/tsconfig.json +++ b/types/react-motion-slider/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-motion/tsconfig.json b/types/react-motion/tsconfig.json index 9adebe9fd2..f9f4077a58 100644 --- a/types/react-motion/tsconfig.json +++ b/types/react-motion/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-native-collapsible/tsconfig.json b/types/react-native-collapsible/tsconfig.json index c9cb0c9278..51f7a382eb 100644 --- a/types/react-native-collapsible/tsconfig.json +++ b/types/react-native-collapsible/tsconfig.json @@ -15,6 +15,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-communications/tsconfig.json b/types/react-native-communications/tsconfig.json index f66d5a80ce..409090cf33 100644 --- a/types/react-native-communications/tsconfig.json +++ b/types/react-native-communications/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-datepicker/tsconfig.json b/types/react-native-datepicker/tsconfig.json index b1dd56e20d..82bdba1219 100644 --- a/types/react-native-datepicker/tsconfig.json +++ b/types/react-native-datepicker/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-doc-viewer/tsconfig.json b/types/react-native-doc-viewer/tsconfig.json index 86d578084a..9f162c3d5c 100644 --- a/types/react-native-doc-viewer/tsconfig.json +++ b/types/react-native-doc-viewer/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react-native" }, "files": [ diff --git a/types/react-native-document-picker/tsconfig.json b/types/react-native-document-picker/tsconfig.json index 25f0fcb7b7..c15fde8611 100644 --- a/types/react-native-document-picker/tsconfig.json +++ b/types/react-native-document-picker/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-drawer-layout/tsconfig.json b/types/react-native-drawer-layout/tsconfig.json index a0d6721b68..b9f5068f0e 100644 --- a/types/react-native-drawer-layout/tsconfig.json +++ b/types/react-native-drawer-layout/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-drawer/tsconfig.json b/types/react-native-drawer/tsconfig.json index 1617e4715b..c44a87ca38 100644 --- a/types/react-native-drawer/tsconfig.json +++ b/types/react-native-drawer/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-fabric/tsconfig.json b/types/react-native-fabric/tsconfig.json index 90e24b408e..b27e85ccf7 100644 --- a/types/react-native-fabric/tsconfig.json +++ b/types/react-native-fabric/tsconfig.json @@ -16,10 +16,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "react-native-fabric-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/react-native-fbsdk/tsconfig.json b/types/react-native-fbsdk/tsconfig.json index 0eae296778..04da79a438 100644 --- a/types/react-native-fbsdk/tsconfig.json +++ b/types/react-native-fbsdk/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react-native" }, "files": [ diff --git a/types/react-native-fetch-blob/tsconfig.json b/types/react-native-fetch-blob/tsconfig.json index c2cf564bb7..a2d48e72fe 100644 --- a/types/react-native-fetch-blob/tsconfig.json +++ b/types/react-native-fetch-blob/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-native-fs/tsconfig.json b/types/react-native-fs/tsconfig.json index f491bb6a7a..7f018a6770 100644 --- a/types/react-native-fs/tsconfig.json +++ b/types/react-native-fs/tsconfig.json @@ -17,7 +17,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-native-google-signin/tsconfig.json b/types/react-native-google-signin/tsconfig.json index aaa8a4b253..885d5909f3 100644 --- a/types/react-native-google-signin/tsconfig.json +++ b/types/react-native-google-signin/tsconfig.json @@ -14,6 +14,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true, "jsx": "react-native" }, @@ -21,4 +22,4 @@ "index.d.ts", "react-native-google-signin-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-keep-awake/tsconfig.json b/types/react-native-keep-awake/tsconfig.json index 6a53a9effa..1fb7035348 100644 --- a/types/react-native-keep-awake/tsconfig.json +++ b/types/react-native-keep-awake/tsconfig.json @@ -15,6 +15,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-linear-gradient/tsconfig.json b/types/react-native-linear-gradient/tsconfig.json index 11c04115c3..64f451aff0 100644 --- a/types/react-native-linear-gradient/tsconfig.json +++ b/types/react-native-linear-gradient/tsconfig.json @@ -16,10 +16,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react-native" }, "files": [ "index.d.ts", "react-native-linear-gradient-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-material-design-searchbar/tsconfig.json b/types/react-native-material-design-searchbar/tsconfig.json index 41e6dc8bab..fad3a98354 100644 --- a/types/react-native-material-design-searchbar/tsconfig.json +++ b/types/react-native-material-design-searchbar/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-material-kit/tsconfig.json b/types/react-native-material-kit/tsconfig.json index f18bd089b8..383eabe485 100644 --- a/types/react-native-material-kit/tsconfig.json +++ b/types/react-native-material-kit/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react-native" }, "files": [ diff --git a/types/react-native-material-ui/tsconfig.json b/types/react-native-material-ui/tsconfig.json index 7c215a4a8b..4df81b6245 100644 --- a/types/react-native-material-ui/tsconfig.json +++ b/types/react-native-material-ui/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-mixpanel/tsconfig.json b/types/react-native-mixpanel/tsconfig.json index 489842ded8..a422356e3d 100644 --- a/types/react-native-mixpanel/tsconfig.json +++ b/types/react-native-mixpanel/tsconfig.json @@ -14,10 +14,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ "index.d.ts", "react-native-mixpanel-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/react-native-modalbox/tsconfig.json b/types/react-native-modalbox/tsconfig.json index 1c41f2e346..35c3a77f61 100644 --- a/types/react-native-modalbox/tsconfig.json +++ b/types/react-native-modalbox/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-navigation/tsconfig.json b/types/react-native-navigation/tsconfig.json index 715f1f9e62..d5f6739538 100644 --- a/types/react-native-navigation/tsconfig.json +++ b/types/react-native-navigation/tsconfig.json @@ -15,10 +15,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react-native" }, "files": [ "index.d.ts", "react-native-navigation-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-orientation/tsconfig.json b/types/react-native-orientation/tsconfig.json index bd692e954d..60db21ec6d 100644 --- a/types/react-native-orientation/tsconfig.json +++ b/types/react-native-orientation/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-native-popup-dialog/tsconfig.json b/types/react-native-popup-dialog/tsconfig.json index ee710ade52..abc3eb6980 100644 --- a/types/react-native-popup-dialog/tsconfig.json +++ b/types/react-native-popup-dialog/tsconfig.json @@ -16,10 +16,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ "index.d.ts", "react-native-popup-dialog-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-push-notification/tsconfig.json b/types/react-native-push-notification/tsconfig.json index a030044ab2..d387ecd667 100644 --- a/types/react-native-push-notification/tsconfig.json +++ b/types/react-native-push-notification/tsconfig.json @@ -15,10 +15,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ "index.d.ts", "react-native-push-notification-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/react-native-qrcode/tsconfig.json b/types/react-native-qrcode/tsconfig.json index b21253194b..24e59a7544 100644 --- a/types/react-native-qrcode/tsconfig.json +++ b/types/react-native-qrcode/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-safari-view/tsconfig.json b/types/react-native-safari-view/tsconfig.json index 4f04c6e8b6..f7e512ef69 100644 --- a/types/react-native-safari-view/tsconfig.json +++ b/types/react-native-safari-view/tsconfig.json @@ -15,6 +15,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-scrollable-tab-view/tsconfig.json b/types/react-native-scrollable-tab-view/tsconfig.json index 6b88cdde66..12ae0f8f4a 100644 --- a/types/react-native-scrollable-tab-view/tsconfig.json +++ b/types/react-native-scrollable-tab-view/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-sensor-manager/tsconfig.json b/types/react-native-sensor-manager/tsconfig.json index 97c238c779..772569be5c 100644 --- a/types/react-native-sensor-manager/tsconfig.json +++ b/types/react-native-sensor-manager/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-native-snap-carousel/tsconfig.json b/types/react-native-snap-carousel/tsconfig.json index 4cba7b2f97..19669fe055 100644 --- a/types/react-native-snap-carousel/tsconfig.json +++ b/types/react-native-snap-carousel/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-sortable-grid/tsconfig.json b/types/react-native-sortable-grid/tsconfig.json index d4391d4624..1906a4418a 100644 --- a/types/react-native-sortable-grid/tsconfig.json +++ b/types/react-native-sortable-grid/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "react-native-sortable-grid-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-sortable-list/tsconfig.json b/types/react-native-sortable-list/tsconfig.json index 52474bc36f..5676c069cc 100644 --- a/types/react-native-sortable-list/tsconfig.json +++ b/types/react-native-sortable-list/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-svg-uri/tsconfig.json b/types/react-native-svg-uri/tsconfig.json index dad8bbe54a..6e769a820e 100644 --- a/types/react-native-svg-uri/tsconfig.json +++ b/types/react-native-svg-uri/tsconfig.json @@ -15,6 +15,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react-native" }, "files": [ diff --git a/types/react-native-swiper/tsconfig.json b/types/react-native-swiper/tsconfig.json index 68d1350773..361058eef8 100644 --- a/types/react-native-swiper/tsconfig.json +++ b/types/react-native-swiper/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-tab-navigator/tsconfig.json b/types/react-native-tab-navigator/tsconfig.json index b8e913c472..7b3482ebf0 100644 --- a/types/react-native-tab-navigator/tsconfig.json +++ b/types/react-native-tab-navigator/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-tab-view/tsconfig.json b/types/react-native-tab-view/tsconfig.json index 7449ff01dd..6c5efd8081 100644 --- a/types/react-native-tab-view/tsconfig.json +++ b/types/react-native-tab-view/tsconfig.json @@ -1,17 +1,25 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": ["es6"], - "jsx": "preserve", - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "noEmit": true, - "strictFunctionTypes": true, - "forceConsistentCasingInFileNames": true - }, - "files": ["index.d.ts", "react-native-tab-view-tests.tsx"] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "jsx": "preserve", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "strictFunctionTypes": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "react-native-tab-view-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/react-native-touch-id/tsconfig.json b/types/react-native-touch-id/tsconfig.json index f927782930..715654db9b 100644 --- a/types/react-native-touch-id/tsconfig.json +++ b/types/react-native-touch-id/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-native-vector-icons/tsconfig.json b/types/react-native-vector-icons/tsconfig.json index f66f39ed95..ca8bfa043b 100644 --- a/types/react-native-vector-icons/tsconfig.json +++ b/types/react-native-vector-icons/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-video/tsconfig.json b/types/react-native-video/tsconfig.json index a2e2a80edd..87e421f751 100644 --- a/types/react-native-video/tsconfig.json +++ b/types/react-native-video/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native/tsconfig.json b/types/react-native/tsconfig.json index 508ac06f1a..674c8e65bf 100644 --- a/types/react-native/tsconfig.json +++ b/types/react-native/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-navigation/tsconfig.json b/types/react-navigation/tsconfig.json index ac0fcf1f1f..f779d8886b 100644 --- a/types/react-navigation/tsconfig.json +++ b/types/react-navigation/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-notification-system-redux/tsconfig.json b/types/react-notification-system-redux/tsconfig.json index e401225f10..09316d1f0a 100644 --- a/types/react-notification-system-redux/tsconfig.json +++ b/types/react-notification-system-redux/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-notification-system/tsconfig.json b/types/react-notification-system/tsconfig.json index 033a759d60..09c3eb8841 100644 --- a/types/react-notification-system/tsconfig.json +++ b/types/react-notification-system/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-numeric-input/tsconfig.json b/types/react-numeric-input/tsconfig.json index 65c483475e..6cb9afc5c1 100644 --- a/types/react-numeric-input/tsconfig.json +++ b/types/react-numeric-input/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "react-numeric-input-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-onclickoutside/tsconfig.json b/types/react-onclickoutside/tsconfig.json index 701a5cf764..a9e2719543 100644 --- a/types/react-onclickoutside/tsconfig.json +++ b/types/react-onclickoutside/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-onclickoutside/v5/tsconfig.json b/types/react-onclickoutside/v5/tsconfig.json index 9de01e61ab..b556104845 100644 --- a/types/react-onclickoutside/v5/tsconfig.json +++ b/types/react-onclickoutside/v5/tsconfig.json @@ -21,6 +21,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-onsenui/tsconfig.json b/types/react-onsenui/tsconfig.json index 7835344791..4905933974 100644 --- a/types/react-onsenui/tsconfig.json +++ b/types/react-onsenui/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-overlays/tsconfig.json b/types/react-overlays/tsconfig.json index 33066cce2e..ff95732c63 100644 --- a/types/react-overlays/tsconfig.json +++ b/types/react-overlays/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-paginate/tsconfig.json b/types/react-paginate/tsconfig.json index 5653cee275..7c7e06ff5e 100644 --- a/types/react-paginate/tsconfig.json +++ b/types/react-paginate/tsconfig.json @@ -20,6 +20,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" } } \ No newline at end of file diff --git a/types/react-pointable/tsconfig.json b/types/react-pointable/tsconfig.json index f45312f83e..8b527c8891 100644 --- a/types/react-pointable/tsconfig.json +++ b/types/react-pointable/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-portal/tsconfig.json b/types/react-portal/tsconfig.json index 84bec30f58..9ad14743e2 100644 --- a/types/react-portal/tsconfig.json +++ b/types/react-portal/tsconfig.json @@ -13,6 +13,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "lib": [ "es6", "dom" diff --git a/types/react-props-decorators/tsconfig.json b/types/react-props-decorators/tsconfig.json index 92243c709c..6ad67a4d9c 100644 --- a/types/react-props-decorators/tsconfig.json +++ b/types/react-props-decorators/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-recaptcha/tsconfig.json b/types/react-recaptcha/tsconfig.json index 0206cb26c5..5fe1c34378 100644 --- a/types/react-recaptcha/tsconfig.json +++ b/types/react-recaptcha/tsconfig.json @@ -16,7 +16,8 @@ "types": [], "jsx": "react", "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-redux-i18n/tsconfig.json b/types/react-redux-i18n/tsconfig.json index 8afdf46c9c..ca8e3691b4 100644 --- a/types/react-redux-i18n/tsconfig.json +++ b/types/react-redux-i18n/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-redux-toastr/tsconfig.json b/types/react-redux-toastr/tsconfig.json index 8760f15ade..228fb2bcc8 100644 --- a/types/react-redux-toastr/tsconfig.json +++ b/types/react-redux-toastr/tsconfig.json @@ -17,7 +17,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-redux/tsconfig.json b/types/react-redux/tsconfig.json index 981f3c9b0f..64433dbb42 100644 --- a/types/react-redux/tsconfig.json +++ b/types/react-redux/tsconfig.json @@ -21,6 +21,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/react-relay/tsconfig.json b/types/react-relay/tsconfig.json index 3e471b36ad..937fa22803 100644 --- a/types/react-relay/tsconfig.json +++ b/types/react-relay/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ @@ -25,4 +26,4 @@ "test/react-relay-tests.tsx", "test/react-relay-classic-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-resolver/tsconfig.json b/types/react-resolver/tsconfig.json index 94a604e352..f54448dae8 100644 --- a/types/react-resolver/tsconfig.json +++ b/types/react-resolver/tsconfig.json @@ -16,10 +16,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ "index.d.ts", "react-resolver-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-responsive/tsconfig.json b/types/react-responsive/tsconfig.json index 294f0c8cde..a099ee5d0e 100644 --- a/types/react-responsive/tsconfig.json +++ b/types/react-responsive/tsconfig.json @@ -15,10 +15,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ "index.d.ts", "react-responsive-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-responsive/v1/tsconfig.json b/types/react-responsive/v1/tsconfig.json index 774fd47a00..5a359a977f 100644 --- a/types/react-responsive/v1/tsconfig.json +++ b/types/react-responsive/v1/tsconfig.json @@ -24,10 +24,11 @@ }, "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ "index.d.ts", "react-responsive-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-router-bootstrap/tsconfig.json b/types/react-router-bootstrap/tsconfig.json index 870c37c742..0583c384f6 100644 --- a/types/react-router-bootstrap/tsconfig.json +++ b/types/react-router-bootstrap/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-router-config/tsconfig.json b/types/react-router-config/tsconfig.json index 49ab50e7b0..82c77037df 100644 --- a/types/react-router-config/tsconfig.json +++ b/types/react-router-config/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "preserve" }, "files": [ diff --git a/types/react-router-dom/tsconfig.json b/types/react-router-dom/tsconfig.json index 4c308400b7..b194a014dc 100644 --- a/types/react-router-dom/tsconfig.json +++ b/types/react-router-dom/tsconfig.json @@ -16,6 +16,7 @@ "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/react-router-native/tsconfig.json b/types/react-router-native/tsconfig.json index 7b5d8f9fe3..115a454187 100644 --- a/types/react-router-native/tsconfig.json +++ b/types/react-router-native/tsconfig.json @@ -16,6 +16,7 @@ "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/react-router-navigation-core/tsconfig.json b/types/react-router-navigation-core/tsconfig.json index b4572aa56c..c3890eb1fe 100644 --- a/types/react-router-navigation-core/tsconfig.json +++ b/types/react-router-navigation-core/tsconfig.json @@ -1,17 +1,26 @@ { "compilerOptions": { "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "module": "commonjs", - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "jsx": "react", "strictNullChecks": true, "strictFunctionTypes": true, "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noEmit": true }, - "files": ["index.d.ts", "react-router-navigation-core-tests.tsx"] -} + "files": [ + "index.d.ts", + "react-router-navigation-core-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/react-router-navigation/tsconfig.json b/types/react-router-navigation/tsconfig.json index d9909d32a6..31f32114c0 100644 --- a/types/react-router-navigation/tsconfig.json +++ b/types/react-router-navigation/tsconfig.json @@ -1,17 +1,26 @@ { "compilerOptions": { "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "module": "commonjs", - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "jsx": "react", "strictNullChecks": true, "strictFunctionTypes": true, "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noEmit": true }, - "files": ["index.d.ts", "react-router-navigation-tests.tsx"] -} + "files": [ + "index.d.ts", + "react-router-navigation-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/react-router-redux/tsconfig.json b/types/react-router-redux/tsconfig.json index 58bf304abc..fba7117c16 100644 --- a/types/react-router-redux/tsconfig.json +++ b/types/react-router-redux/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-router-redux/v3/tsconfig.json b/types/react-router-redux/v3/tsconfig.json index e9e48c7e58..e6ebc919e1 100644 --- a/types/react-router-redux/v3/tsconfig.json +++ b/types/react-router-redux/v3/tsconfig.json @@ -26,7 +26,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-router-redux/v4/tsconfig.json b/types/react-router-redux/v4/tsconfig.json index 427325c7fc..2ff6844055 100644 --- a/types/react-router-redux/v4/tsconfig.json +++ b/types/react-router-redux/v4/tsconfig.json @@ -26,7 +26,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-router/tsconfig.json b/types/react-router/tsconfig.json index 95e3846a8c..4f55c5fb1c 100644 --- a/types/react-router/tsconfig.json +++ b/types/react-router/tsconfig.json @@ -16,6 +16,7 @@ "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noEmit": true, "experimentalDecorators": true }, @@ -41,4 +42,4 @@ "test/InheritingRoute.tsx", "test/WithRouter.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-router/v2/tsconfig.json b/types/react-router/v2/tsconfig.json index 9e007bef15..f4c8a30073 100644 --- a/types/react-router/v2/tsconfig.json +++ b/types/react-router/v2/tsconfig.json @@ -26,7 +26,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/react-router/v3/tsconfig.json b/types/react-router/v3/tsconfig.json index a620b2e01b..1d3ddf2cc0 100644 --- a/types/react-router/v3/tsconfig.json +++ b/types/react-router/v3/tsconfig.json @@ -30,7 +30,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-s-alert/tsconfig.json b/types/react-s-alert/tsconfig.json index c029ed03aa..eacaa2f4e8 100644 --- a/types/react-s-alert/tsconfig.json +++ b/types/react-s-alert/tsconfig.json @@ -16,10 +16,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "react-s-alert-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-scroll/tsconfig.json b/types/react-scroll/tsconfig.json index 4e8422e85d..be5101711f 100644 --- a/types/react-scroll/tsconfig.json +++ b/types/react-scroll/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-scrollbar/tsconfig.json b/types/react-scrollbar/tsconfig.json index d9586168d7..3dc2258567 100644 --- a/types/react-scrollbar/tsconfig.json +++ b/types/react-scrollbar/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-select/tsconfig.json b/types/react-select/tsconfig.json index 727747e72c..9158ae101e 100644 --- a/types/react-select/tsconfig.json +++ b/types/react-select/tsconfig.json @@ -20,6 +20,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/react-side-effect/tsconfig.json b/types/react-side-effect/tsconfig.json index f64b0cedec..e5a0ae6fc5 100644 --- a/types/react-side-effect/tsconfig.json +++ b/types/react-side-effect/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-sidebar/tsconfig.json b/types/react-sidebar/tsconfig.json index 8481bb2fa3..72cf019a8b 100644 --- a/types/react-sidebar/tsconfig.json +++ b/types/react-sidebar/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-sketchapp/tsconfig.json b/types/react-sketchapp/tsconfig.json index 6dc8b9460a..ee2e4fd7a9 100644 --- a/types/react-sketchapp/tsconfig.json +++ b/types/react-sketchapp/tsconfig.json @@ -4,6 +4,7 @@ "module": "commonjs", "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "baseUrl": "../", "jsx": "preserve", "typeRoots": [ diff --git a/types/react-slick/tsconfig.json b/types/react-slick/tsconfig.json index 7d8d0c0dbc..7be1247f88 100644 --- a/types/react-slick/tsconfig.json +++ b/types/react-slick/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-smooth-scrollbar/tsconfig.json b/types/react-smooth-scrollbar/tsconfig.json index 7069af35d0..3b950bc1e4 100644 --- a/types/react-smooth-scrollbar/tsconfig.json +++ b/types/react-smooth-scrollbar/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-sortable-hoc/tsconfig.json b/types/react-sortable-hoc/tsconfig.json index 89aef58db4..7e6511c11b 100644 --- a/types/react-sortable-hoc/tsconfig.json +++ b/types/react-sortable-hoc/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-sortable-pane/tsconfig.json b/types/react-sortable-pane/tsconfig.json index 2c919006c5..aeb93be68e 100644 --- a/types/react-sortable-pane/tsconfig.json +++ b/types/react-sortable-pane/tsconfig.json @@ -16,10 +16,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ "index.d.ts", "react-sortable-pane-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-sortable-tree/tsconfig.json b/types/react-sortable-tree/tsconfig.json index abf3027b1e..ba1fea9eaf 100644 --- a/types/react-sortable-tree/tsconfig.json +++ b/types/react-sortable-tree/tsconfig.json @@ -16,7 +16,8 @@ "jsx": "react", "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-spinkit/tsconfig.json b/types/react-spinkit/tsconfig.json index a78e0a8350..5898e0a2b9 100644 --- a/types/react-spinkit/tsconfig.json +++ b/types/react-spinkit/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-spinkit/v1/tsconfig.json b/types/react-spinkit/v1/tsconfig.json index 9e75ac7eee..9e47e5233f 100644 --- a/types/react-spinkit/v1/tsconfig.json +++ b/types/react-spinkit/v1/tsconfig.json @@ -24,7 +24,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-sticky/tsconfig.json b/types/react-sticky/tsconfig.json index 42ca8483c7..228be56f40 100644 --- a/types/react-sticky/tsconfig.json +++ b/types/react-sticky/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-stripe-elements/tsconfig.json b/types/react-stripe-elements/tsconfig.json index 7b41414c95..c687200bc4 100644 --- a/types/react-stripe-elements/tsconfig.json +++ b/types/react-stripe-elements/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-svg-pan-zoom/tsconfig.json b/types/react-svg-pan-zoom/tsconfig.json index 9768940812..30d4833817 100644 --- a/types/react-svg-pan-zoom/tsconfig.json +++ b/types/react-svg-pan-zoom/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-swf/tsconfig.json b/types/react-swf/tsconfig.json index 088289e3b4..5de4ce4f53 100644 --- a/types/react-swf/tsconfig.json +++ b/types/react-swf/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-swipe/tsconfig.json b/types/react-swipe/tsconfig.json index 592223407e..929998a56c 100644 --- a/types/react-swipe/tsconfig.json +++ b/types/react-swipe/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-swipeable-views/tsconfig.json b/types/react-swipeable-views/tsconfig.json index 3d4711fc53..7f4c7c4ce6 100644 --- a/types/react-swipeable-views/tsconfig.json +++ b/types/react-swipeable-views/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-swipeable/tsconfig.json b/types/react-swipeable/tsconfig.json index a720949edf..1a3953c812 100644 --- a/types/react-swipeable/tsconfig.json +++ b/types/react-swipeable/tsconfig.json @@ -16,10 +16,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ "index.d.ts", "react-swipeable-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-syntax-highlighter/tsconfig.json b/types/react-syntax-highlighter/tsconfig.json index b83dacca56..f0a2eb5b06 100644 --- a/types/react-syntax-highlighter/tsconfig.json +++ b/types/react-syntax-highlighter/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-table/tsconfig.json b/types/react-table/tsconfig.json index de6f3f8e69..bcbdae3857 100644 --- a/types/react-table/tsconfig.json +++ b/types/react-table/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-tabs/tsconfig.json b/types/react-tabs/tsconfig.json index 5c1f1aa63c..d32fbb0b3c 100644 --- a/types/react-tabs/tsconfig.json +++ b/types/react-tabs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-tag-input/tsconfig.json b/types/react-tag-input/tsconfig.json index 9a30e8a334..dff73a5f42 100644 --- a/types/react-tag-input/tsconfig.json +++ b/types/react-tag-input/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-tagcloud/tsconfig.json b/types/react-tagcloud/tsconfig.json index 0d496a97a1..e45d285354 100644 --- a/types/react-tagcloud/tsconfig.json +++ b/types/react-tagcloud/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-tagsinput/tsconfig.json b/types/react-tagsinput/tsconfig.json index 1e9342e032..b17090bf2b 100644 --- a/types/react-tagsinput/tsconfig.json +++ b/types/react-tagsinput/tsconfig.json @@ -15,10 +15,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ "index.d.ts", "react-tagsinput-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-tap-event-plugin/tsconfig.json b/types/react-tap-event-plugin/tsconfig.json index 38f0ad79b8..9921a0516f 100644 --- a/types/react-tap-event-plugin/tsconfig.json +++ b/types/react-tap-event-plugin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-test-renderer/tsconfig.json b/types/react-test-renderer/tsconfig.json index 0c2d149f79..62847003bd 100644 --- a/types/react-test-renderer/tsconfig.json +++ b/types/react-test-renderer/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-test-renderer/v15/tsconfig.json b/types/react-test-renderer/v15/tsconfig.json index 597591256e..6c6c9927a0 100644 --- a/types/react-test-renderer/v15/tsconfig.json +++ b/types/react-test-renderer/v15/tsconfig.json @@ -23,11 +23,12 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "shallow/index.d.ts", "react-test-renderer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/react-tether/tsconfig.json b/types/react-tether/tsconfig.json index 3190ba8cf1..a346fe707c 100644 --- a/types/react-tether/tsconfig.json +++ b/types/react-tether/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-textarea-autosize/tsconfig.json b/types/react-textarea-autosize/tsconfig.json index 0946f43d10..6f50ce5e42 100644 --- a/types/react-textarea-autosize/tsconfig.json +++ b/types/react-textarea-autosize/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-toastr/tsconfig.json b/types/react-toastr/tsconfig.json index 1fbbfde4af..9d34197b01 100644 --- a/types/react-toastr/tsconfig.json +++ b/types/react-toastr/tsconfig.json @@ -16,10 +16,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ "index.d.ts", "react-toastr-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-toggle/tsconfig.json b/types/react-toggle/tsconfig.json index e744478741..4500f8ea1f 100644 --- a/types/react-toggle/tsconfig.json +++ b/types/react-toggle/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-toggle/v2/tsconfig.json b/types/react-toggle/v2/tsconfig.json index 996290fe7b..dbd41a3738 100644 --- a/types/react-toggle/v2/tsconfig.json +++ b/types/react-toggle/v2/tsconfig.json @@ -21,6 +21,7 @@ }, "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-tooltip/tsconfig.json b/types/react-tooltip/tsconfig.json index 17a730e3b5..a42834eaf0 100644 --- a/types/react-tooltip/tsconfig.json +++ b/types/react-tooltip/tsconfig.json @@ -17,7 +17,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-touch/tsconfig.json b/types/react-touch/tsconfig.json index 807d0d7a2c..2a77a06269 100644 --- a/types/react-touch/tsconfig.json +++ b/types/react-touch/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-tracking/tsconfig.json b/types/react-tracking/tsconfig.json index 4200651a42..5dcd1fa6b4 100644 --- a/types/react-tracking/tsconfig.json +++ b/types/react-tracking/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "experimentalDecorators": true, "jsx": "preserve" }, diff --git a/types/react-transition-group/tsconfig.json b/types/react-transition-group/tsconfig.json index 7b17b06580..701e0fcfba 100644 --- a/types/react-transition-group/tsconfig.json +++ b/types/react-transition-group/tsconfig.json @@ -17,7 +17,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-transition-group/v1/tsconfig.json b/types/react-transition-group/v1/tsconfig.json index 22f6d9caeb..8ae121e18e 100644 --- a/types/react-transition-group/v1/tsconfig.json +++ b/types/react-transition-group/v1/tsconfig.json @@ -23,7 +23,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-treeview/tsconfig.json b/types/react-treeview/tsconfig.json index f1bf7481d5..a6c454bdcd 100644 --- a/types/react-treeview/tsconfig.json +++ b/types/react-treeview/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-truncate/tsconfig.json b/types/react-truncate/tsconfig.json index b36c957da6..5f4a674b24 100644 --- a/types/react-truncate/tsconfig.json +++ b/types/react-truncate/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-user-tour/tsconfig.json b/types/react-user-tour/tsconfig.json index 032fc4c393..29eef2c510 100644 --- a/types/react-user-tour/tsconfig.json +++ b/types/react-user-tour/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-virtual-keyboard/tsconfig.json b/types/react-virtual-keyboard/tsconfig.json index b9d7188150..c8b43a15e7 100644 --- a/types/react-virtual-keyboard/tsconfig.json +++ b/types/react-virtual-keyboard/tsconfig.json @@ -20,6 +20,7 @@ "types": [], "noEmit": true, "jsx": "react", - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/react-virtualized-select/tsconfig.json b/types/react-virtualized-select/tsconfig.json index 677bdcf43d..d24d6ab1b3 100644 --- a/types/react-virtualized-select/tsconfig.json +++ b/types/react-virtualized-select/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-virtualized/tsconfig.json b/types/react-virtualized/tsconfig.json index 4457f73e3d..853a800ef8 100644 --- a/types/react-virtualized/tsconfig.json +++ b/types/react-virtualized/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-weui/tsconfig.json b/types/react-weui/tsconfig.json index 824352a6af..6d292d375a 100644 --- a/types/react-weui/tsconfig.json +++ b/types/react-weui/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-widgets-moment/tsconfig.json b/types/react-widgets-moment/tsconfig.json index 332d436d22..b98e15fc03 100644 --- a/types/react-widgets-moment/tsconfig.json +++ b/types/react-widgets-moment/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "react-widgets-moment-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/react-widgets/tsconfig.json b/types/react-widgets/tsconfig.json index 87d8f47b06..2ff1d31ea5 100644 --- a/types/react-widgets/tsconfig.json +++ b/types/react-widgets/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react-youtube/tsconfig.json b/types/react-youtube/tsconfig.json index e6ddd061cc..42ff06f458 100644 --- a/types/react-youtube/tsconfig.json +++ b/types/react-youtube/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/react/tsconfig.json b/types/react/tsconfig.json index 46866c10b1..1b79768acc 100644 --- a/types/react/tsconfig.json +++ b/types/react/tsconfig.json @@ -22,6 +22,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "preserve" } } \ No newline at end of file diff --git a/types/react/v15/tsconfig.json b/types/react/v15/tsconfig.json index f9c13ee9f2..c2d4169d33 100644 --- a/types/react/v15/tsconfig.json +++ b/types/react/v15/tsconfig.json @@ -27,6 +27,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "preserve" } } \ No newline at end of file diff --git a/types/reactable/tsconfig.json b/types/reactable/tsconfig.json index cf703a49d8..45d6422faa 100644 --- a/types/reactable/tsconfig.json +++ b/types/reactable/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/reactcss/tsconfig.json b/types/reactcss/tsconfig.json index 770887668d..2d17d40010 100644 --- a/types/reactcss/tsconfig.json +++ b/types/reactcss/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/reactstrap/tsconfig.json b/types/reactstrap/tsconfig.json index eab2583792..d6485370c0 100644 --- a/types/reactstrap/tsconfig.json +++ b/types/reactstrap/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/reactstrap/v4/tsconfig.json b/types/reactstrap/v4/tsconfig.json index 73578a9178..28bacae6ce 100644 --- a/types/reactstrap/v4/tsconfig.json +++ b/types/reactstrap/v4/tsconfig.json @@ -15,11 +15,14 @@ "../../" ], "paths": { - "reactstrap": ["reactstrap/v4"] + "reactstrap": [ + "reactstrap/v4" + ] }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/read-chunk/tsconfig.json b/types/read-chunk/tsconfig.json index 041ee0f648..452a52a6ec 100644 --- a/types/read-chunk/tsconfig.json +++ b/types/read-chunk/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/read-package-tree/tsconfig.json b/types/read-package-tree/tsconfig.json index 3e4f94e46c..a1ac1c2c9e 100644 --- a/types/read-package-tree/tsconfig.json +++ b/types/read-package-tree/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/read-pkg-up/tsconfig.json b/types/read-pkg-up/tsconfig.json index a9c2341011..75a20b3452 100644 --- a/types/read-pkg-up/tsconfig.json +++ b/types/read-pkg-up/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/read-pkg/tsconfig.json b/types/read-pkg/tsconfig.json index 95c3962946..72016bbd28 100644 --- a/types/read-pkg/tsconfig.json +++ b/types/read-pkg/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "read-pkg-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/read/tsconfig.json b/types/read/tsconfig.json index 31e23cb479..c4e3523f3b 100644 --- a/types/read/tsconfig.json +++ b/types/read/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/readdir-enhanced/tsconfig.json b/types/readdir-enhanced/tsconfig.json index a15bc6fd77..f0164f1dc2 100644 --- a/types/readdir-enhanced/tsconfig.json +++ b/types/readdir-enhanced/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "readdir-enhanced-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/readdir-stream/tsconfig.json b/types/readdir-stream/tsconfig.json index f4fcaeade4..ff1417fa6b 100644 --- a/types/readdir-stream/tsconfig.json +++ b/types/readdir-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/readline-sync/tsconfig.json b/types/readline-sync/tsconfig.json index 24375b96f0..a778f3c93f 100644 --- a/types/readline-sync/tsconfig.json +++ b/types/readline-sync/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/reapop/tsconfig.json b/types/reapop/tsconfig.json index 4ce459396a..1c8bd2fbce 100644 --- a/types/reapop/tsconfig.json +++ b/types/reapop/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/rebass/tsconfig.json b/types/rebass/tsconfig.json index 080a1661b3..1dc8e1e8cc 100644 --- a/types/rebass/tsconfig.json +++ b/types/rebass/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/recase/tsconfig.json b/types/recase/tsconfig.json index 3f0d64b1f1..89f3926313 100644 --- a/types/recase/tsconfig.json +++ b/types/recase/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/recharts/tsconfig.json b/types/recharts/tsconfig.json index 9c1f91ee8c..a28c3f929a 100644 --- a/types/recharts/tsconfig.json +++ b/types/recharts/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/recompose/tsconfig.json b/types/recompose/tsconfig.json index 4aae173e9b..fa74170d77 100644 --- a/types/recompose/tsconfig.json +++ b/types/recompose/tsconfig.json @@ -16,10 +16,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ "index.d.ts", "recompose-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/reconnectingwebsocket/tsconfig.json b/types/reconnectingwebsocket/tsconfig.json index da8f1df1aa..f74b5c632d 100644 --- a/types/reconnectingwebsocket/tsconfig.json +++ b/types/reconnectingwebsocket/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/recursive-readdir/tsconfig.json b/types/recursive-readdir/tsconfig.json index f1304716ce..0b4e4b0a0d 100644 --- a/types/recursive-readdir/tsconfig.json +++ b/types/recursive-readdir/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/recursive-readdir/v1/tsconfig.json b/types/recursive-readdir/v1/tsconfig.json index e87a74efb6..72ca783b70 100644 --- a/types/recursive-readdir/v1/tsconfig.json +++ b/types/recursive-readdir/v1/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redis-errors/tsconfig.json b/types/redis-errors/tsconfig.json index cc922f5c1a..718c47bb91 100644 --- a/types/redis-errors/tsconfig.json +++ b/types/redis-errors/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "redis-errors-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/redis-mock/tsconfig.json b/types/redis-mock/tsconfig.json index 0805bfe42f..74c4dba656 100644 --- a/types/redis-mock/tsconfig.json +++ b/types/redis-mock/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redis-rate-limiter/tsconfig.json b/types/redis-rate-limiter/tsconfig.json index 67b67da4d0..d877fb21fe 100644 --- a/types/redis-rate-limiter/tsconfig.json +++ b/types/redis-rate-limiter/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redis-scripto/tsconfig.json b/types/redis-scripto/tsconfig.json index 23c922eaf8..2727940664 100644 --- a/types/redis-scripto/tsconfig.json +++ b/types/redis-scripto/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redis/tsconfig.json b/types/redis/tsconfig.json index b99c599145..c1a11581b9 100644 --- a/types/redis/tsconfig.json +++ b/types/redis/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "redis-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/redlock/tsconfig.json b/types/redlock/tsconfig.json index 4b4801f74c..2eb40f95cc 100644 --- a/types/redlock/tsconfig.json +++ b/types/redlock/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redlock/v2/tsconfig.json b/types/redlock/v2/tsconfig.json index 8efab0972e..be14228ac7 100644 --- a/types/redlock/v2/tsconfig.json +++ b/types/redlock/v2/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redom/tsconfig.json b/types/redom/tsconfig.json index 65b279f902..8629b9887a 100644 --- a/types/redom/tsconfig.json +++ b/types/redom/tsconfig.json @@ -16,10 +16,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "redom-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/reduce-reducers/tsconfig.json b/types/reduce-reducers/tsconfig.json index 938f4e9c10..14aba39daf 100644 --- a/types/reduce-reducers/tsconfig.json +++ b/types/reduce-reducers/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-action-utils/tsconfig.json b/types/redux-action-utils/tsconfig.json index a4d94be1cd..e659b458be 100644 --- a/types/redux-action-utils/tsconfig.json +++ b/types/redux-action-utils/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-action/tsconfig.json b/types/redux-action/tsconfig.json index 779d9d65a8..ad5ca6b231 100644 --- a/types/redux-action/tsconfig.json +++ b/types/redux-action/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-actions/tsconfig.json b/types/redux-actions/tsconfig.json index ea4f7f1a53..03ff013494 100644 --- a/types/redux-actions/tsconfig.json +++ b/types/redux-actions/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-auth-wrapper/tsconfig.json b/types/redux-auth-wrapper/tsconfig.json index 22ce438a7b..96934fca40 100644 --- a/types/redux-auth-wrapper/tsconfig.json +++ b/types/redux-auth-wrapper/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/redux-auth-wrapper/v1/tsconfig.json b/types/redux-auth-wrapper/v1/tsconfig.json index cafddbaf87..9f7838c9dd 100644 --- a/types/redux-auth-wrapper/v1/tsconfig.json +++ b/types/redux-auth-wrapper/v1/tsconfig.json @@ -27,6 +27,7 @@ }, "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/redux-batched-subscribe/tsconfig.json b/types/redux-batched-subscribe/tsconfig.json index 81ec34caf6..f9f82d82cc 100644 --- a/types/redux-batched-subscribe/tsconfig.json +++ b/types/redux-batched-subscribe/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-debounced/tsconfig.json b/types/redux-debounced/tsconfig.json index 88d5f414c2..b203048f0c 100644 --- a/types/redux-debounced/tsconfig.json +++ b/types/redux-debounced/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-devtools-dock-monitor/tsconfig.json b/types/redux-devtools-dock-monitor/tsconfig.json index 23b61b4e99..c9e6214e00 100644 --- a/types/redux-devtools-dock-monitor/tsconfig.json +++ b/types/redux-devtools-dock-monitor/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-devtools-log-monitor/tsconfig.json b/types/redux-devtools-log-monitor/tsconfig.json index e7d0f18465..7321dac5e1 100644 --- a/types/redux-devtools-log-monitor/tsconfig.json +++ b/types/redux-devtools-log-monitor/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-devtools/tsconfig.json b/types/redux-devtools/tsconfig.json index 81b47be2b4..bdb07a2c65 100644 --- a/types/redux-devtools/tsconfig.json +++ b/types/redux-devtools/tsconfig.json @@ -20,6 +20,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/redux-doghouse/tsconfig.json b/types/redux-doghouse/tsconfig.json index 5eac70b6a7..0e72ee5e9b 100644 --- a/types/redux-doghouse/tsconfig.json +++ b/types/redux-doghouse/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-first-router-link/tsconfig.json b/types/redux-first-router-link/tsconfig.json index ed8cc75176..88c7210ee6 100644 --- a/types/redux-first-router-link/tsconfig.json +++ b/types/redux-first-router-link/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/redux-first-router/tsconfig.json b/types/redux-first-router/tsconfig.json index 774422aa4e..c628c22e2d 100644 --- a/types/redux-first-router/tsconfig.json +++ b/types/redux-first-router/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-form/tsconfig.json b/types/redux-form/tsconfig.json index f106f20d16..62b18fd4d9 100644 --- a/types/redux-form/tsconfig.json +++ b/types/redux-form/tsconfig.json @@ -17,7 +17,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", @@ -37,4 +38,4 @@ "lib/selectors.d.ts", "lib/SubmissionError.d.ts" ] -} +} \ No newline at end of file diff --git a/types/redux-form/v4/tsconfig.json b/types/redux-form/v4/tsconfig.json index c93094c30e..b67bb4689c 100644 --- a/types/redux-form/v4/tsconfig.json +++ b/types/redux-form/v4/tsconfig.json @@ -21,6 +21,7 @@ }, "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/redux-form/v6/tsconfig.json b/types/redux-form/v6/tsconfig.json index f6f22a352c..ce8aaf2c43 100644 --- a/types/redux-form/v6/tsconfig.json +++ b/types/redux-form/v6/tsconfig.json @@ -25,10 +25,11 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "redux-form-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/redux-immutable-state-invariant/tsconfig.json b/types/redux-immutable-state-invariant/tsconfig.json index 040146ce54..ce98328e6c 100644 --- a/types/redux-immutable-state-invariant/tsconfig.json +++ b/types/redux-immutable-state-invariant/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-immutable/tsconfig.json b/types/redux-immutable/tsconfig.json index 8236260774..cf39fe7ac0 100644 --- a/types/redux-immutable/tsconfig.json +++ b/types/redux-immutable/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-infinite-scroll/tsconfig.json b/types/redux-infinite-scroll/tsconfig.json index e2e6972d28..da336ba0df 100644 --- a/types/redux-infinite-scroll/tsconfig.json +++ b/types/redux-infinite-scroll/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-injectable-store/tsconfig.json b/types/redux-injectable-store/tsconfig.json index 1fcc143ead..f9974da57b 100644 --- a/types/redux-injectable-store/tsconfig.json +++ b/types/redux-injectable-store/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "redux-injectable-store-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/redux-little-router/tsconfig.json b/types/redux-little-router/tsconfig.json index 44577fc7a0..bb5d21b2ed 100644 --- a/types/redux-little-router/tsconfig.json +++ b/types/redux-little-router/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-localstorage-debounce/tsconfig.json b/types/redux-localstorage-debounce/tsconfig.json index bcb66cf55f..788069f7e0 100644 --- a/types/redux-localstorage-debounce/tsconfig.json +++ b/types/redux-localstorage-debounce/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-localstorage-filter/tsconfig.json b/types/redux-localstorage-filter/tsconfig.json index e9fe93855f..fbfa113eef 100644 --- a/types/redux-localstorage-filter/tsconfig.json +++ b/types/redux-localstorage-filter/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-localstorage/tsconfig.json b/types/redux-localstorage/tsconfig.json index 06f38e605b..0d0e43a117 100644 --- a/types/redux-localstorage/tsconfig.json +++ b/types/redux-localstorage/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-logger/tsconfig.json b/types/redux-logger/tsconfig.json index 1789641398..4fc1d849ff 100644 --- a/types/redux-logger/tsconfig.json +++ b/types/redux-logger/tsconfig.json @@ -1,16 +1,25 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, - "files": ["index.d.ts", "redux-logger-tests.ts"] -} + "files": [ + "index.d.ts", + "redux-logger-tests.ts" + ] +} \ No newline at end of file diff --git a/types/redux-mock-store/tsconfig.json b/types/redux-mock-store/tsconfig.json index 4324410e6a..67cc7bcff0 100644 --- a/types/redux-mock-store/tsconfig.json +++ b/types/redux-mock-store/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-optimistic-ui/tsconfig.json b/types/redux-optimistic-ui/tsconfig.json index 65208605a4..c106f2f07c 100644 --- a/types/redux-optimistic-ui/tsconfig.json +++ b/types/redux-optimistic-ui/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-pack/tsconfig.json b/types/redux-pack/tsconfig.json index bd6f463e9f..c3070dabac 100644 --- a/types/redux-pack/tsconfig.json +++ b/types/redux-pack/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-persist-transform-encrypt/tsconfig.json b/types/redux-persist-transform-encrypt/tsconfig.json index b5408e3bcc..024bb3436c 100644 --- a/types/redux-persist-transform-encrypt/tsconfig.json +++ b/types/redux-persist-transform-encrypt/tsconfig.json @@ -15,6 +15,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noUnusedParameters": true, "noUnusedLocals": true }, diff --git a/types/redux-persist-transform-filter/tsconfig.json b/types/redux-persist-transform-filter/tsconfig.json index 9055213c6e..2f6c7f399c 100644 --- a/types/redux-persist-transform-filter/tsconfig.json +++ b/types/redux-persist-transform-filter/tsconfig.json @@ -15,6 +15,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noUnusedParameters": true, "noUnusedLocals": true }, diff --git a/types/redux-promise-middleware/tsconfig.json b/types/redux-promise-middleware/tsconfig.json index dd3a20f59c..98eaece961 100644 --- a/types/redux-promise-middleware/tsconfig.json +++ b/types/redux-promise-middleware/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-promise/tsconfig.json b/types/redux-promise/tsconfig.json index 497d126d7c..cf69bdd753 100644 --- a/types/redux-promise/tsconfig.json +++ b/types/redux-promise/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-recycle/tsconfig.json b/types/redux-recycle/tsconfig.json index 32970840b6..6ebdcc6b55 100644 --- a/types/redux-recycle/tsconfig.json +++ b/types/redux-recycle/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-router/tsconfig.json b/types/redux-router/tsconfig.json index 766e518a6d..e2d9f341e5 100644 --- a/types/redux-router/tsconfig.json +++ b/types/redux-router/tsconfig.json @@ -23,7 +23,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-socket.io/tsconfig.json b/types/redux-socket.io/tsconfig.json index 8636bd654d..7ef46f1377 100644 --- a/types/redux-socket.io/tsconfig.json +++ b/types/redux-socket.io/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "redux-socket.io-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/redux-storage-engine-jsurl/tsconfig.json b/types/redux-storage-engine-jsurl/tsconfig.json index a2582f5934..b8c1873257 100644 --- a/types/redux-storage-engine-jsurl/tsconfig.json +++ b/types/redux-storage-engine-jsurl/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-storage-engine-localstorage/tsconfig.json b/types/redux-storage-engine-localstorage/tsconfig.json index 671323d17f..2c2ad5e30d 100644 --- a/types/redux-storage-engine-localstorage/tsconfig.json +++ b/types/redux-storage-engine-localstorage/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "redux-storage-engine-localstorage-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "redux-storage-engine-localstorage-tests.ts" + ] +} \ No newline at end of file diff --git a/types/redux-storage/tsconfig.json b/types/redux-storage/tsconfig.json index 420cfbf70d..6b57d50473 100644 --- a/types/redux-storage/tsconfig.json +++ b/types/redux-storage/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/redux-ui/tsconfig.json b/types/redux-ui/tsconfig.json index bcc9a33a4c..0f42a7b1df 100644 --- a/types/redux-ui/tsconfig.json +++ b/types/redux-ui/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "experimentalDecorators": true }, "files": [ diff --git a/types/ref-array/tsconfig.json b/types/ref-array/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/ref-array/tsconfig.json +++ b/types/ref-array/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/ref-struct/tsconfig.json b/types/ref-struct/tsconfig.json index 5ebe7efa5f..5c0572c9ab 100644 --- a/types/ref-struct/tsconfig.json +++ b/types/ref-struct/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ref-union/tsconfig.json b/types/ref-union/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/ref-union/tsconfig.json +++ b/types/ref-union/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/ref/tsconfig.json b/types/ref/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/ref/tsconfig.json +++ b/types/ref/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/reflux/tsconfig.json b/types/reflux/tsconfig.json index 3ef22150e4..851dd1a709 100644 --- a/types/reflux/tsconfig.json +++ b/types/reflux/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/relateurl/tsconfig.json b/types/relateurl/tsconfig.json index 83c12cc2b8..f83f5dd3c5 100644 --- a/types/relateurl/tsconfig.json +++ b/types/relateurl/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/relaxed-json/tsconfig.json b/types/relaxed-json/tsconfig.json index 2f6aff8f29..ec326243eb 100644 --- a/types/relaxed-json/tsconfig.json +++ b/types/relaxed-json/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/relay-runtime/tsconfig.json b/types/relay-runtime/tsconfig.json index 8aed884320..86c5093ab9 100644 --- a/types/relay-runtime/tsconfig.json +++ b/types/relay-runtime/tsconfig.json @@ -17,10 +17,11 @@ "noEmit": true, "jsx": "react", "experimentalDecorators": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "relay-runtime-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/remote-redux-devtools/tsconfig.json b/types/remote-redux-devtools/tsconfig.json index fcf29900c5..82e049c1f3 100644 --- a/types/remote-redux-devtools/tsconfig.json +++ b/types/remote-redux-devtools/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/remove-markdown/tsconfig.json b/types/remove-markdown/tsconfig.json index 499c750dbf..8546450532 100644 --- a/types/remove-markdown/tsconfig.json +++ b/types/remove-markdown/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/replace-ext/tsconfig.json b/types/replace-ext/tsconfig.json index 571be7234b..b942b8e882 100644 --- a/types/replace-ext/tsconfig.json +++ b/types/replace-ext/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/request-ip/tsconfig.json b/types/request-ip/tsconfig.json index c7f452cb05..d66c4839c4 100644 --- a/types/request-ip/tsconfig.json +++ b/types/request-ip/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/request-promise-native/tsconfig.json b/types/request-promise-native/tsconfig.json index f4369116db..9d8d41aba0 100644 --- a/types/request-promise-native/tsconfig.json +++ b/types/request-promise-native/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/request-promise/tsconfig.json b/types/request-promise/tsconfig.json index fc7e5e29e7..8cd046ed23 100644 --- a/types/request-promise/tsconfig.json +++ b/types/request-promise/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/request/tsconfig.json b/types/request/tsconfig.json index adf81123e6..34856cedef 100644 --- a/types/request/tsconfig.json +++ b/types/request/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "request-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/requestretry/tsconfig.json b/types/requestretry/tsconfig.json index 9bc3b6fce9..2e4f31d17e 100644 --- a/types/requestretry/tsconfig.json +++ b/types/requestretry/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/require-dir/tsconfig.json b/types/require-dir/tsconfig.json index b853b18ff5..104548d067 100644 --- a/types/require-dir/tsconfig.json +++ b/types/require-dir/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "require-dir-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/require-directory/tsconfig.json b/types/require-directory/tsconfig.json index ce9a3901a7..cad34d8a36 100644 --- a/types/require-directory/tsconfig.json +++ b/types/require-directory/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/require-from-string/tsconfig.json b/types/require-from-string/tsconfig.json index b95716556a..1c3c7d63c9 100644 --- a/types/require-from-string/tsconfig.json +++ b/types/require-from-string/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/require-relative/tsconfig.json b/types/require-relative/tsconfig.json index 6888973fd6..36405ee86b 100644 --- a/types/require-relative/tsconfig.json +++ b/types/require-relative/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "require-relative-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/requirejs-domready/tsconfig.json b/types/requirejs-domready/tsconfig.json index b73018a5f5..d7614fe789 100644 --- a/types/requirejs-domready/tsconfig.json +++ b/types/requirejs-domready/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/requirejs/tsconfig.json b/types/requirejs/tsconfig.json index fdbc1258c3..571f2ba892 100644 --- a/types/requirejs/tsconfig.json +++ b/types/requirejs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/resemblejs/tsconfig.json b/types/resemblejs/tsconfig.json index 6150ee7e8a..1a13239213 100644 --- a/types/resemblejs/tsconfig.json +++ b/types/resemblejs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/resolve-from/tsconfig.json b/types/resolve-from/tsconfig.json index b1d826c64c..8925685abf 100644 --- a/types/resolve-from/tsconfig.json +++ b/types/resolve-from/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/resolve/tsconfig.json b/types/resolve/tsconfig.json index 6623771719..e2cdd37132 100644 --- a/types/resolve/tsconfig.json +++ b/types/resolve/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/resourcejs/tsconfig.json b/types/resourcejs/tsconfig.json index ca71c00a1a..0b2d72c255 100644 --- a/types/resourcejs/tsconfig.json +++ b/types/resourcejs/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, - "files": [ - "index.d.ts", + "files": [ + "index.d.ts", "resourcejs-tests.ts" - ] -} + ] +} \ No newline at end of file diff --git a/types/response-time/tsconfig.json b/types/response-time/tsconfig.json index ddbe6803cc..e266cc46b7 100644 --- a/types/response-time/tsconfig.json +++ b/types/response-time/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rest/tsconfig.json b/types/rest/tsconfig.json index b200960527..b312e7aee1 100644 --- a/types/rest/tsconfig.json +++ b/types/rest/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/restangular/tsconfig.json b/types/restangular/tsconfig.json index 18f92d2baa..2e3366552f 100644 --- a/types/restangular/tsconfig.json +++ b/types/restangular/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/restful.js/tsconfig.json b/types/restful.js/tsconfig.json index f98da1a8a2..e58fc2d902 100644 --- a/types/restful.js/tsconfig.json +++ b/types/restful.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/restify-cookies/tsconfig.json b/types/restify-cookies/tsconfig.json index b86ecbf07e..217e18eddc 100644 --- a/types/restify-cookies/tsconfig.json +++ b/types/restify-cookies/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "restify-cookies-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/restify-cors-middleware/tsconfig.json b/types/restify-cors-middleware/tsconfig.json index 3d13513211..9ec38d88d8 100644 --- a/types/restify-cors-middleware/tsconfig.json +++ b/types/restify-cors-middleware/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/restify-errors/tsconfig.json b/types/restify-errors/tsconfig.json index 6d070b59f0..3c631f8a9a 100644 --- a/types/restify-errors/tsconfig.json +++ b/types/restify-errors/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/restify-plugins/tsconfig.json b/types/restify-plugins/tsconfig.json index 4974138ac0..be69d64936 100644 --- a/types/restify-plugins/tsconfig.json +++ b/types/restify-plugins/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/restify/tsconfig.json b/types/restify/tsconfig.json index 8611e47590..30b05a09c9 100644 --- a/types/restify/tsconfig.json +++ b/types/restify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/restify/v4/tsconfig.json b/types/restify/v4/tsconfig.json index 8b0d3d4f3e..6edc1d2089 100644 --- a/types/restify/v4/tsconfig.json +++ b/types/restify/v4/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/restler/tsconfig.json b/types/restler/tsconfig.json index 543b0a642f..8cbc0d25a6 100644 --- a/types/restler/tsconfig.json +++ b/types/restler/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/restling/tsconfig.json b/types/restling/tsconfig.json index a508594ae4..c04ae22ce4 100644 --- a/types/restling/tsconfig.json +++ b/types/restling/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/resumablejs/tsconfig.json b/types/resumablejs/tsconfig.json index 1f4d1bb532..3633d793c8 100644 --- a/types/resumablejs/tsconfig.json +++ b/types/resumablejs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rethinkdb/tsconfig.json b/types/rethinkdb/tsconfig.json index 8573222bd2..1163b6d485 100644 --- a/types/rethinkdb/tsconfig.json +++ b/types/rethinkdb/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/retry/tsconfig.json b/types/retry/tsconfig.json index 6e2c5d42d2..bdcf4f6708 100644 --- a/types/retry/tsconfig.json +++ b/types/retry/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rev-hash/tsconfig.json b/types/rev-hash/tsconfig.json index 1c473c7a2c..138d931aa4 100644 --- a/types/rev-hash/tsconfig.json +++ b/types/rev-hash/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/revalidate/tsconfig.json b/types/revalidate/tsconfig.json index 60d404aab4..0eaf9c51c9 100644 --- a/types/revalidate/tsconfig.json +++ b/types/revalidate/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/revalidator/tsconfig.json b/types/revalidator/tsconfig.json index 13116d109b..08ca15314e 100644 --- a/types/revalidator/tsconfig.json +++ b/types/revalidator/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/reveal/tsconfig.json b/types/reveal/tsconfig.json index 5ba4adb5fa..d0a1cfd7a0 100644 --- a/types/reveal/tsconfig.json +++ b/types/reveal/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rewire/tsconfig.json b/types/rewire/tsconfig.json index 5c9bf9f935..8dc23ae584 100644 --- a/types/rewire/tsconfig.json +++ b/types/rewire/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rfc2047/tsconfig.json b/types/rfc2047/tsconfig.json index ab87f15e17..6209160234 100644 --- a/types/rfc2047/tsconfig.json +++ b/types/rfc2047/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rheostat/tsconfig.json b/types/rheostat/tsconfig.json index 649628d0d8..591c8805aa 100644 --- a/types/rheostat/tsconfig.json +++ b/types/rheostat/tsconfig.json @@ -16,7 +16,8 @@ "types": [], "jsx": "react", "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rickshaw/tsconfig.json b/types/rickshaw/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/rickshaw/tsconfig.json +++ b/types/rickshaw/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/rimraf/tsconfig.json b/types/rimraf/tsconfig.json index 94fee2f1a2..5595589312 100644 --- a/types/rimraf/tsconfig.json +++ b/types/rimraf/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/riot-api-nodejs/tsconfig.json b/types/riot-api-nodejs/tsconfig.json index 3353d42a62..cb0a17cb75 100644 --- a/types/riot-api-nodejs/tsconfig.json +++ b/types/riot-api-nodejs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/riot-games-api/tsconfig.json b/types/riot-games-api/tsconfig.json index 7cebc7c3eb..77ca214fc9 100644 --- a/types/riot-games-api/tsconfig.json +++ b/types/riot-games-api/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/riot/tsconfig.json b/types/riot/tsconfig.json index 88cbc64261..912149cde3 100644 --- a/types/riot/tsconfig.json +++ b/types/riot/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/riotcontrol/tsconfig.json b/types/riotcontrol/tsconfig.json index 19ef4295e1..ffe262d77e 100644 --- a/types/riotcontrol/tsconfig.json +++ b/types/riotcontrol/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/riotjs/tsconfig.json b/types/riotjs/tsconfig.json index a0456ffb47..f14c85f60f 100644 --- a/types/riotjs/tsconfig.json +++ b/types/riotjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rison/tsconfig.json b/types/rison/tsconfig.json index 2fc235e21a..2a5565bc63 100644 --- a/types/rison/tsconfig.json +++ b/types/rison/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rivets/tsconfig.json b/types/rivets/tsconfig.json index 89bdb805b0..7bb46acc00 100644 --- a/types/rivets/tsconfig.json +++ b/types/rivets/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rollup-plugin-json/tsconfig.json b/types/rollup-plugin-json/tsconfig.json index 92ef3a1a1f..70ff307b62 100644 --- a/types/rollup-plugin-json/tsconfig.json +++ b/types/rollup-plugin-json/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "rollup-plugin-json-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ronomon__crypto-async/tsconfig.json b/types/ronomon__crypto-async/tsconfig.json index 4da367a2f4..6c71b34482 100644 --- a/types/ronomon__crypto-async/tsconfig.json +++ b/types/ronomon__crypto-async/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rosie/tsconfig.json b/types/rosie/tsconfig.json index 524ab1dd60..9776f1d28a 100644 --- a/types/rosie/tsconfig.json +++ b/types/rosie/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/roslib/tsconfig.json b/types/roslib/tsconfig.json index 32280e350a..b57d2636cd 100644 --- a/types/roslib/tsconfig.json +++ b/types/roslib/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rot-js/tsconfig.json b/types/rot-js/tsconfig.json index 80c17f4094..1b3c729e3c 100644 --- a/types/rot-js/tsconfig.json +++ b/types/rot-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/route-parser/tsconfig.json b/types/route-parser/tsconfig.json index a7a012d46a..66a583bd80 100644 --- a/types/route-parser/tsconfig.json +++ b/types/route-parser/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/routie/tsconfig.json b/types/routie/tsconfig.json index 2c1585d546..0eca0fc597 100644 --- a/types/routie/tsconfig.json +++ b/types/routie/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/royalslider/tsconfig.json b/types/royalslider/tsconfig.json index e2c93f82fb..2603c522fa 100644 --- a/types/royalslider/tsconfig.json +++ b/types/royalslider/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rpio/tsconfig.json b/types/rpio/tsconfig.json index 19ccfb02da..30db87ed9d 100644 --- a/types/rpio/tsconfig.json +++ b/types/rpio/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rrc/tsconfig.json b/types/rrc/tsconfig.json index bfec00e95d..1076eda25c 100644 --- a/types/rrc/tsconfig.json +++ b/types/rrc/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rrule/tsconfig.json b/types/rrule/tsconfig.json index 3e64a1d17a..c4a3e8f84e 100644 --- a/types/rrule/tsconfig.json +++ b/types/rrule/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rsmq-worker/tsconfig.json b/types/rsmq-worker/tsconfig.json index e7a4f1b201..e07209e06e 100644 --- a/types/rsmq-worker/tsconfig.json +++ b/types/rsmq-worker/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rsmq/tsconfig.json b/types/rsmq/tsconfig.json index b71ff6f366..8a7b33f429 100644 --- a/types/rsmq/tsconfig.json +++ b/types/rsmq/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rss/tsconfig.json b/types/rss/tsconfig.json index 83cfd0b91e..dfd10dbe54 100644 --- a/types/rss/tsconfig.json +++ b/types/rss/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rsvp/tsconfig.json b/types/rsvp/tsconfig.json index ebfd4bc00d..5b50ec4c27 100755 --- a/types/rsvp/tsconfig.json +++ b/types/rsvp/tsconfig.json @@ -2,16 +2,25 @@ "compilerOptions": { "module": "commonjs", "target": "es5", - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": false, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, - "files": ["index.d.ts", "rsvp-tests.ts"] -} + "files": [ + "index.d.ts", + "rsvp-tests.ts" + ] +} \ No newline at end of file diff --git a/types/rsync/tsconfig.json b/types/rsync/tsconfig.json index cd9b0e3df1..66800fe486 100644 --- a/types/rsync/tsconfig.json +++ b/types/rsync/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rtree/tsconfig.json b/types/rtree/tsconfig.json index 48b12fc5c1..41a8e584c8 100644 --- a/types/rtree/tsconfig.json +++ b/types/rtree/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/run-sequence/tsconfig.json b/types/run-sequence/tsconfig.json index 412efd6845..546d91574a 100644 --- a/types/run-sequence/tsconfig.json +++ b/types/run-sequence/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rwlock/tsconfig.json b/types/rwlock/tsconfig.json index 84253a02f8..b5da0775e0 100644 --- a/types/rwlock/tsconfig.json +++ b/types/rwlock/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rx-angular/tsconfig.json b/types/rx-angular/tsconfig.json index d878b590e2..784257da5b 100644 --- a/types/rx-angular/tsconfig.json +++ b/types/rx-angular/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rx-core-binding/tsconfig.json b/types/rx-core-binding/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/rx-core-binding/tsconfig.json +++ b/types/rx-core-binding/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/rx-core/tsconfig.json b/types/rx-core/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/rx-core/tsconfig.json +++ b/types/rx-core/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/rx-dom/tsconfig.json b/types/rx-dom/tsconfig.json index 90dd5bd604..68cdf04b8a 100644 --- a/types/rx-dom/tsconfig.json +++ b/types/rx-dom/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rx-jquery/tsconfig.json b/types/rx-jquery/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/rx-jquery/tsconfig.json +++ b/types/rx-jquery/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/rx-lite-aggregates/tsconfig.json b/types/rx-lite-aggregates/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/rx-lite-aggregates/tsconfig.json +++ b/types/rx-lite-aggregates/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/rx-lite-async/tsconfig.json b/types/rx-lite-async/tsconfig.json index b184ac5f4d..788b8a5aac 100644 --- a/types/rx-lite-async/tsconfig.json +++ b/types/rx-lite-async/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rx-lite-backpressure/tsconfig.json b/types/rx-lite-backpressure/tsconfig.json index 635940cdc4..52d5c7e69d 100644 --- a/types/rx-lite-backpressure/tsconfig.json +++ b/types/rx-lite-backpressure/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rx-lite-coincidence/tsconfig.json b/types/rx-lite-coincidence/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/rx-lite-coincidence/tsconfig.json +++ b/types/rx-lite-coincidence/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/rx-lite-experimental/tsconfig.json b/types/rx-lite-experimental/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/rx-lite-experimental/tsconfig.json +++ b/types/rx-lite-experimental/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/rx-lite-joinpatterns/tsconfig.json b/types/rx-lite-joinpatterns/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/rx-lite-joinpatterns/tsconfig.json +++ b/types/rx-lite-joinpatterns/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/rx-lite-testing/tsconfig.json b/types/rx-lite-testing/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/rx-lite-testing/tsconfig.json +++ b/types/rx-lite-testing/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/rx-lite-time/tsconfig.json b/types/rx-lite-time/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/rx-lite-time/tsconfig.json +++ b/types/rx-lite-time/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/rx-lite-virtualtime/tsconfig.json b/types/rx-lite-virtualtime/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/rx-lite-virtualtime/tsconfig.json +++ b/types/rx-lite-virtualtime/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/rx-lite/tsconfig.json b/types/rx-lite/tsconfig.json index c5dc049245..04f7be735e 100644 --- a/types/rx-lite/tsconfig.json +++ b/types/rx-lite/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rx-node/tsconfig.json b/types/rx-node/tsconfig.json index c759c65804..8ce1d6965a 100644 --- a/types/rx-node/tsconfig.json +++ b/types/rx-node/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rx.wamp/tsconfig.json b/types/rx.wamp/tsconfig.json index 17bddf8adf..e6e79f7e00 100644 --- a/types/rx.wamp/tsconfig.json +++ b/types/rx.wamp/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/rx/tsconfig.json b/types/rx/tsconfig.json index abf333c6bf..3d2df78db9 100644 --- a/types/rx/tsconfig.json +++ b/types/rx/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/s3-upload-stream/tsconfig.json b/types/s3-upload-stream/tsconfig.json index 3fbd6ea5e7..87eb6e81c4 100644 --- a/types/s3-upload-stream/tsconfig.json +++ b/types/s3-upload-stream/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/s3-uploader/tsconfig.json b/types/s3-uploader/tsconfig.json index ee4f9e2545..85a480aee7 100644 --- a/types/s3-uploader/tsconfig.json +++ b/types/s3-uploader/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/s3rver/tsconfig.json b/types/s3rver/tsconfig.json index c180ab569a..ee06db2e41 100644 --- a/types/s3rver/tsconfig.json +++ b/types/s3rver/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/safari-extension-content/tsconfig.json b/types/safari-extension-content/tsconfig.json index 9ce37825af..559cf71089 100644 --- a/types/safari-extension-content/tsconfig.json +++ b/types/safari-extension-content/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/safari-extension/tsconfig.json b/types/safari-extension/tsconfig.json index 6e52871954..20530653ea 100644 --- a/types/safari-extension/tsconfig.json +++ b/types/safari-extension/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/safe-compare/tsconfig.json b/types/safe-compare/tsconfig.json index 0aade26241..51d7c7cc67 100644 --- a/types/safe-compare/tsconfig.json +++ b/types/safe-compare/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "safe-compare-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/safe-json-stringify/tsconfig.json b/types/safe-json-stringify/tsconfig.json index eae116084a..b5fec72164 100644 --- a/types/safe-json-stringify/tsconfig.json +++ b/types/safe-json-stringify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/safe-regex/tsconfig.json b/types/safe-regex/tsconfig.json index 04fa523373..03e63fbaa3 100644 --- a/types/safe-regex/tsconfig.json +++ b/types/safe-regex/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sails.io.js/tsconfig.json b/types/sails.io.js/tsconfig.json index 5a0732ab29..e4cae8a146 100644 --- a/types/sails.io.js/tsconfig.json +++ b/types/sails.io.js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/saml2-js/tsconfig.json b/types/saml2-js/tsconfig.json index 6046bc78e4..53c64dd857 100644 --- a/types/saml2-js/tsconfig.json +++ b/types/saml2-js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/saml20/tsconfig.json b/types/saml20/tsconfig.json index 8b84de1f06..385d54d5f8 100644 --- a/types/saml20/tsconfig.json +++ b/types/saml20/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/samlp/tsconfig.json b/types/samlp/tsconfig.json index 24ead78438..8a567960e5 100644 --- a/types/samlp/tsconfig.json +++ b/types/samlp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sammy/tsconfig.json b/types/sammy/tsconfig.json index caaa4f2c5a..a0073a1330 100644 --- a/types/sammy/tsconfig.json +++ b/types/sammy/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sanctuary/tsconfig.json b/types/sanctuary/tsconfig.json index 653d340820..91b28e6918 100644 --- a/types/sanctuary/tsconfig.json +++ b/types/sanctuary/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "sanctuary-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/sandboxed-module/tsconfig.json b/types/sandboxed-module/tsconfig.json index 51919f7b52..0e8476205f 100644 --- a/types/sandboxed-module/tsconfig.json +++ b/types/sandboxed-module/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sane/tsconfig.json b/types/sane/tsconfig.json index 7bf9b5b5ee..3e466e8d27 100644 --- a/types/sane/tsconfig.json +++ b/types/sane/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sanitize-filename/tsconfig.json b/types/sanitize-filename/tsconfig.json index dd53a0c951..efc4857a6d 100644 --- a/types/sanitize-filename/tsconfig.json +++ b/types/sanitize-filename/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sanitize-html/tsconfig.json b/types/sanitize-html/tsconfig.json index 2b29336785..104c7ed9a6 100644 --- a/types/sanitize-html/tsconfig.json +++ b/types/sanitize-html/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sanitizer/tsconfig.json b/types/sanitizer/tsconfig.json index 52acfba3fd..77d98b9a88 100644 --- a/types/sanitizer/tsconfig.json +++ b/types/sanitizer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sap__xsenv/tsconfig.json b/types/sap__xsenv/tsconfig.json index ae69497056..679c8c6d5c 100644 --- a/types/sap__xsenv/tsconfig.json +++ b/types/sap__xsenv/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sass-graph/tsconfig.json b/types/sass-graph/tsconfig.json index bc2ee4bd6f..9ec3a0dc95 100644 --- a/types/sass-graph/tsconfig.json +++ b/types/sass-graph/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sat/tsconfig.json b/types/sat/tsconfig.json index 75c7dbc256..0919469846 100644 --- a/types/sat/tsconfig.json +++ b/types/sat/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "sat-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/satnav/tsconfig.json b/types/satnav/tsconfig.json index 84a0a6a1a9..d9b13fe869 100644 --- a/types/satnav/tsconfig.json +++ b/types/satnav/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sax/tsconfig.json b/types/sax/tsconfig.json index 5c19d2b034..dd026353c5 100644 --- a/types/sax/tsconfig.json +++ b/types/sax/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/saywhen/tsconfig.json b/types/saywhen/tsconfig.json index cbec63d715..7c25d57f55 100644 --- a/types/saywhen/tsconfig.json +++ b/types/saywhen/tsconfig.json @@ -5,6 +5,7 @@ "es6" ], "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noImplicitAny": true, "noImplicitThis": true, "noUnusedParameters": false, diff --git a/types/scalike/tsconfig.json b/types/scalike/tsconfig.json index 5340905ccc..d834fb2a14 100644 --- a/types/scalike/tsconfig.json +++ b/types/scalike/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/screenfull/tsconfig.json b/types/screenfull/tsconfig.json index 87cb31765a..c2ddf52343 100644 --- a/types/screenfull/tsconfig.json +++ b/types/screenfull/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/screeps-profiler/tsconfig.json b/types/screeps-profiler/tsconfig.json index c6043c7e53..e87ab4d0cd 100644 --- a/types/screeps-profiler/tsconfig.json +++ b/types/screeps-profiler/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/screeps/tsconfig.json b/types/screeps/tsconfig.json index 8dcc302c5c..82dd26e310 100644 --- a/types/screeps/tsconfig.json +++ b/types/screeps/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "screeps-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/scriptjs/tsconfig.json b/types/scriptjs/tsconfig.json index 64e1591d1a..0fb38c7e6b 100644 --- a/types/scriptjs/tsconfig.json +++ b/types/scriptjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/scroll-into-view/tsconfig.json b/types/scroll-into-view/tsconfig.json index 2c0ced7fc6..15577df8c4 100644 --- a/types/scroll-into-view/tsconfig.json +++ b/types/scroll-into-view/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/scroller/tsconfig.json b/types/scroller/tsconfig.json index e0caa39d51..7a1e50ca46 100644 --- a/types/scroller/tsconfig.json +++ b/types/scroller/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/scrollreveal/tsconfig.json b/types/scrollreveal/tsconfig.json index 1d562add4b..69f40c619f 100644 --- a/types/scrollreveal/tsconfig.json +++ b/types/scrollreveal/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/scrolltofixed/tsconfig.json b/types/scrolltofixed/tsconfig.json index d0d9a6559f..b871407cb8 100644 --- a/types/scrolltofixed/tsconfig.json +++ b/types/scrolltofixed/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/scrypt-async/tsconfig.json b/types/scrypt-async/tsconfig.json index 263f2f2691..7574e54a0b 100644 --- a/types/scrypt-async/tsconfig.json +++ b/types/scrypt-async/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/scryptsy/tsconfig.json b/types/scryptsy/tsconfig.json index ae751a1eb0..593ca077cf 100644 --- a/types/scryptsy/tsconfig.json +++ b/types/scryptsy/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "scryptsy-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/seamless-immutable/tsconfig.json b/types/seamless-immutable/tsconfig.json index a14f1a72cb..6e662d66c5 100644 --- a/types/seamless-immutable/tsconfig.json +++ b/types/seamless-immutable/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/seamless/tsconfig.json b/types/seamless/tsconfig.json index 5d2ce0da91..1a279564bd 100644 --- a/types/seamless/tsconfig.json +++ b/types/seamless/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/seedrandom/tsconfig.json b/types/seedrandom/tsconfig.json index ae319353c2..ccdaf22862 100644 --- a/types/seedrandom/tsconfig.json +++ b/types/seedrandom/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/segment-analytics/tsconfig.json b/types/segment-analytics/tsconfig.json index 97b4df7f1f..3e3f940a4c 100644 --- a/types/segment-analytics/tsconfig.json +++ b/types/segment-analytics/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/select2/tsconfig.json b/types/select2/tsconfig.json index 292cf878b4..1588400405 100644 --- a/types/select2/tsconfig.json +++ b/types/select2/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/selectables/tsconfig.json b/types/selectables/tsconfig.json index e34d4a6078..30072893d6 100644 --- a/types/selectables/tsconfig.json +++ b/types/selectables/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "selectables-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/selectize/tsconfig.json b/types/selectize/tsconfig.json index 85e841a725..b3478eed9a 100644 --- a/types/selectize/tsconfig.json +++ b/types/selectize/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/selenium-webdriver/tsconfig.json b/types/selenium-webdriver/tsconfig.json index 0b343058de..64877173a1 100644 --- a/types/selenium-webdriver/tsconfig.json +++ b/types/selenium-webdriver/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/selenium-webdriver/v2/tsconfig.json b/types/selenium-webdriver/v2/tsconfig.json index 53d26538b0..bc7784bbc9 100644 --- a/types/selenium-webdriver/v2/tsconfig.json +++ b/types/selenium-webdriver/v2/tsconfig.json @@ -23,7 +23,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-accordion/tsconfig.json b/types/semantic-ui-accordion/tsconfig.json index 7fbe1aac16..a797aa7d28 100644 --- a/types/semantic-ui-accordion/tsconfig.json +++ b/types/semantic-ui-accordion/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-api/tsconfig.json b/types/semantic-ui-api/tsconfig.json index e12d11394d..1625edad5d 100644 --- a/types/semantic-ui-api/tsconfig.json +++ b/types/semantic-ui-api/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-checkbox/tsconfig.json b/types/semantic-ui-checkbox/tsconfig.json index 7a58bbf7d0..af17db6b0d 100644 --- a/types/semantic-ui-checkbox/tsconfig.json +++ b/types/semantic-ui-checkbox/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-dimmer/tsconfig.json b/types/semantic-ui-dimmer/tsconfig.json index e3dafc6576..ede5a3b5bd 100644 --- a/types/semantic-ui-dimmer/tsconfig.json +++ b/types/semantic-ui-dimmer/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-dropdown/tsconfig.json b/types/semantic-ui-dropdown/tsconfig.json index eed261529b..104b1fb6a2 100644 --- a/types/semantic-ui-dropdown/tsconfig.json +++ b/types/semantic-ui-dropdown/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-embed/tsconfig.json b/types/semantic-ui-embed/tsconfig.json index 3391fdb1e0..398cac7441 100644 --- a/types/semantic-ui-embed/tsconfig.json +++ b/types/semantic-ui-embed/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-form/tsconfig.json b/types/semantic-ui-form/tsconfig.json index 1246f890df..00d3d6e4d3 100644 --- a/types/semantic-ui-form/tsconfig.json +++ b/types/semantic-ui-form/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-modal/tsconfig.json b/types/semantic-ui-modal/tsconfig.json index 0284ee0abe..97fa3fee1a 100644 --- a/types/semantic-ui-modal/tsconfig.json +++ b/types/semantic-ui-modal/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-nag/tsconfig.json b/types/semantic-ui-nag/tsconfig.json index 32afe86c9e..7f335355d1 100644 --- a/types/semantic-ui-nag/tsconfig.json +++ b/types/semantic-ui-nag/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-popup/tsconfig.json b/types/semantic-ui-popup/tsconfig.json index 76a26453ac..a255893d89 100644 --- a/types/semantic-ui-popup/tsconfig.json +++ b/types/semantic-ui-popup/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-progress/tsconfig.json b/types/semantic-ui-progress/tsconfig.json index d39cf7965a..03bfc3872f 100644 --- a/types/semantic-ui-progress/tsconfig.json +++ b/types/semantic-ui-progress/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-rating/tsconfig.json b/types/semantic-ui-rating/tsconfig.json index 9d971238f4..bb7af25878 100644 --- a/types/semantic-ui-rating/tsconfig.json +++ b/types/semantic-ui-rating/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-search/tsconfig.json b/types/semantic-ui-search/tsconfig.json index 6531032b45..869c50b28f 100644 --- a/types/semantic-ui-search/tsconfig.json +++ b/types/semantic-ui-search/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-shape/tsconfig.json b/types/semantic-ui-shape/tsconfig.json index a18daa3e72..6411d5dd44 100644 --- a/types/semantic-ui-shape/tsconfig.json +++ b/types/semantic-ui-shape/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-sidebar/tsconfig.json b/types/semantic-ui-sidebar/tsconfig.json index 0dedadb3f6..e3618f6282 100644 --- a/types/semantic-ui-sidebar/tsconfig.json +++ b/types/semantic-ui-sidebar/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-site/tsconfig.json b/types/semantic-ui-site/tsconfig.json index 1731e241ee..2f6432ab53 100644 --- a/types/semantic-ui-site/tsconfig.json +++ b/types/semantic-ui-site/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-sticky/tsconfig.json b/types/semantic-ui-sticky/tsconfig.json index 21deb1a613..dd2837cd3c 100644 --- a/types/semantic-ui-sticky/tsconfig.json +++ b/types/semantic-ui-sticky/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-tab/tsconfig.json b/types/semantic-ui-tab/tsconfig.json index b98b19dce6..20e8b46165 100644 --- a/types/semantic-ui-tab/tsconfig.json +++ b/types/semantic-ui-tab/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-transition/tsconfig.json b/types/semantic-ui-transition/tsconfig.json index f0309456ad..e173621b7a 100644 --- a/types/semantic-ui-transition/tsconfig.json +++ b/types/semantic-ui-transition/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-visibility/tsconfig.json b/types/semantic-ui-visibility/tsconfig.json index 91b236b867..afd9d6d558 100644 --- a/types/semantic-ui-visibility/tsconfig.json +++ b/types/semantic-ui-visibility/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui/tsconfig.json b/types/semantic-ui/tsconfig.json index 1b40660b13..a6947e4eec 100644 --- a/types/semantic-ui/tsconfig.json +++ b/types/semantic-ui/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semaphore/tsconfig.json b/types/semaphore/tsconfig.json index e7a6e01db8..680401515b 100644 --- a/types/semaphore/tsconfig.json +++ b/types/semaphore/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semver-compare/tsconfig.json b/types/semver-compare/tsconfig.json index 097db624ec..223fcd735d 100644 --- a/types/semver-compare/tsconfig.json +++ b/types/semver-compare/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semver-diff/tsconfig.json b/types/semver-diff/tsconfig.json index 5eadf2b0bc..83ac1314e3 100644 --- a/types/semver-diff/tsconfig.json +++ b/types/semver-diff/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/semver/tsconfig.json b/types/semver/tsconfig.json index d469c27f7b..85806bc153 100644 --- a/types/semver/tsconfig.json +++ b/types/semver/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sencha_touch/tsconfig.json b/types/sencha_touch/tsconfig.json index 8f83c336bd..6d86faac84 100644 --- a/types/sencha_touch/tsconfig.json +++ b/types/sencha_touch/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/send/tsconfig.json b/types/send/tsconfig.json index 2604b99b13..36ec5a0b60 100644 --- a/types/send/tsconfig.json +++ b/types/send/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/seneca/tsconfig.json b/types/seneca/tsconfig.json index 42534f118c..20d02e7610 100644 --- a/types/seneca/tsconfig.json +++ b/types/seneca/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sequelize-fixtures/tsconfig.json b/types/sequelize-fixtures/tsconfig.json index 605c227eb0..6e34c9b855 100644 --- a/types/sequelize-fixtures/tsconfig.json +++ b/types/sequelize-fixtures/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sequelize/tsconfig.json b/types/sequelize/tsconfig.json index 891eee0127..d81140bccc 100644 --- a/types/sequelize/tsconfig.json +++ b/types/sequelize/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/sequelize/v3/tsconfig.json b/types/sequelize/v3/tsconfig.json index 8861a2847f..d4a46aa2fc 100644 --- a/types/sequelize/v3/tsconfig.json +++ b/types/sequelize/v3/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sequencify/tsconfig.json b/types/sequencify/tsconfig.json index 1f6ed9d033..dc5965a1ce 100644 --- a/types/sequencify/tsconfig.json +++ b/types/sequencify/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/sequester/tsconfig.json b/types/sequester/tsconfig.json index 2ab8914d80..7e655cda91 100644 --- a/types/sequester/tsconfig.json +++ b/types/sequester/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/serialize-javascript/tsconfig.json b/types/serialize-javascript/tsconfig.json index 90ee4fd0e0..2d8377da33 100644 --- a/types/serialize-javascript/tsconfig.json +++ b/types/serialize-javascript/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/serialport/tsconfig.json b/types/serialport/tsconfig.json index 6b45037fcb..9c18015d9d 100644 --- a/types/serialport/tsconfig.json +++ b/types/serialport/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/serialport/v4/tsconfig.json b/types/serialport/v4/tsconfig.json index 8c1a36c640..2acfdf79ed 100644 --- a/types/serialport/v4/tsconfig.json +++ b/types/serialport/v4/tsconfig.json @@ -13,11 +13,14 @@ "../../" ], "paths": { - "serialport": ["serialport/v4"] + "serialport": [ + "serialport/v4" + ] }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/serve-favicon/tsconfig.json b/types/serve-favicon/tsconfig.json index bc986a0d8b..d74c0a723f 100644 --- a/types/serve-favicon/tsconfig.json +++ b/types/serve-favicon/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/serve-index/tsconfig.json b/types/serve-index/tsconfig.json index 4a9d75b807..fa8ed7a296 100644 --- a/types/serve-index/tsconfig.json +++ b/types/serve-index/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/serve-static/tsconfig.json b/types/serve-static/tsconfig.json index 784b70c18c..fccc7a5cc2 100644 --- a/types/serve-static/tsconfig.json +++ b/types/serve-static/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/server-destroy/tsconfig.json b/types/server-destroy/tsconfig.json index e223a90271..f4bd0af2b7 100644 --- a/types/server-destroy/tsconfig.json +++ b/types/server-destroy/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/session-file-store/tsconfig.json b/types/session-file-store/tsconfig.json index da4459f82c..f8711bf5b9 100644 --- a/types/session-file-store/tsconfig.json +++ b/types/session-file-store/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/set-cookie-parser/tsconfig.json b/types/set-cookie-parser/tsconfig.json index fff750b6b2..f4b7cb41fd 100644 --- a/types/set-cookie-parser/tsconfig.json +++ b/types/set-cookie-parser/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sha1/tsconfig.json b/types/sha1/tsconfig.json index 66d7c98c86..84e266a50c 100644 --- a/types/sha1/tsconfig.json +++ b/types/sha1/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/shallowequal/tsconfig.json b/types/shallowequal/tsconfig.json index de32c6c47b..040f82c672 100644 --- a/types/shallowequal/tsconfig.json +++ b/types/shallowequal/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/shapefile/tsconfig.json b/types/shapefile/tsconfig.json index 86a07711b7..3393c29d08 100644 --- a/types/shapefile/tsconfig.json +++ b/types/shapefile/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sharedworker/tsconfig.json b/types/sharedworker/tsconfig.json index 70a245cd0b..a8ce40386b 100644 --- a/types/sharedworker/tsconfig.json +++ b/types/sharedworker/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sharepoint/tsconfig.json b/types/sharepoint/tsconfig.json index d14ec5c043..4568512ba1 100644 --- a/types/sharepoint/tsconfig.json +++ b/types/sharepoint/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sharp/tsconfig.json b/types/sharp/tsconfig.json index 47060ab248..7554fb40c1 100644 --- a/types/sharp/tsconfig.json +++ b/types/sharp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sheetify/tsconfig.json b/types/sheetify/tsconfig.json index 7766333ac2..03134f3776 100644 --- a/types/sheetify/tsconfig.json +++ b/types/sheetify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/shell-escape/tsconfig.json b/types/shell-escape/tsconfig.json index 98a8c3ebea..8b0b2e3338 100644 --- a/types/shell-escape/tsconfig.json +++ b/types/shell-escape/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/shell-quote/tsconfig.json b/types/shell-quote/tsconfig.json index f0fbfe221c..98070ae83b 100644 --- a/types/shell-quote/tsconfig.json +++ b/types/shell-quote/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/shelljs/tsconfig.json b/types/shelljs/tsconfig.json index 7343a42a7e..8484083636 100644 --- a/types/shelljs/tsconfig.json +++ b/types/shelljs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/shimmer/tsconfig.json b/types/shimmer/tsconfig.json index 3883d26b91..c4e43dea36 100644 --- a/types/shimmer/tsconfig.json +++ b/types/shimmer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/shipit-utils/tsconfig.json b/types/shipit-utils/tsconfig.json index f3bcf2485b..2263ef018b 100644 --- a/types/shipit-utils/tsconfig.json +++ b/types/shipit-utils/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/shipit/tsconfig.json b/types/shipit/tsconfig.json index a9df5d067d..2bac3f4ea3 100644 --- a/types/shipit/tsconfig.json +++ b/types/shipit/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/shopify-buy/tsconfig.json b/types/shopify-buy/tsconfig.json index 0b825b7bce..da27bc84e6 100644 --- a/types/shopify-buy/tsconfig.json +++ b/types/shopify-buy/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/shortid/tsconfig.json b/types/shortid/tsconfig.json index 290e89d36b..e733ebb5cb 100644 --- a/types/shortid/tsconfig.json +++ b/types/shortid/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/shot/tsconfig.json b/types/shot/tsconfig.json index d04d18c38b..e60a760d85 100644 --- a/types/shot/tsconfig.json +++ b/types/shot/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/showdown/tsconfig.json b/types/showdown/tsconfig.json index a59161d9be..f0a636bab3 100644 --- a/types/showdown/tsconfig.json +++ b/types/showdown/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/shrink-ray/tsconfig.json b/types/shrink-ray/tsconfig.json index 84b143dd64..ee1ec7cce9 100644 --- a/types/shrink-ray/tsconfig.json +++ b/types/shrink-ray/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "shrink-ray-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/shuffle-array/tsconfig.json b/types/shuffle-array/tsconfig.json index d827278def..5ac707af5b 100644 --- a/types/shuffle-array/tsconfig.json +++ b/types/shuffle-array/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/siema/tsconfig.json b/types/siema/tsconfig.json index 035dfc51d0..1b48627f55 100644 --- a/types/siema/tsconfig.json +++ b/types/siema/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "siema-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/siesta/tsconfig.json b/types/siesta/tsconfig.json index f95db413fb..de435fcb74 100644 --- a/types/siesta/tsconfig.json +++ b/types/siesta/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sigmajs/tsconfig.json b/types/sigmajs/tsconfig.json index b97df29ddf..cbfb94a022 100644 --- a/types/sigmajs/tsconfig.json +++ b/types/sigmajs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sigmund/tsconfig.json b/types/sigmund/tsconfig.json index e9afeef691..0941018189 100644 --- a/types/sigmund/tsconfig.json +++ b/types/sigmund/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/signalr-no-jquery/tsconfig.json b/types/signalr-no-jquery/tsconfig.json index 43b6a8ee0d..8b3065eb8f 100644 --- a/types/signalr-no-jquery/tsconfig.json +++ b/types/signalr-no-jquery/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/signalr/tsconfig.json b/types/signalr/tsconfig.json index 8a10547fd6..33e13bb193 100644 --- a/types/signalr/tsconfig.json +++ b/types/signalr/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/signalr/v1/tsconfig.json b/types/signalr/v1/tsconfig.json index 1650a8f9b9..5cffdbec63 100644 --- a/types/signalr/v1/tsconfig.json +++ b/types/signalr/v1/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/signals/tsconfig.json b/types/signals/tsconfig.json index 2b3b16639c..6482d74115 100644 --- a/types/signals/tsconfig.json +++ b/types/signals/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/signature_pad/tsconfig.json b/types/signature_pad/tsconfig.json index a20f8b2dfe..e9afdfd6c9 100644 --- a/types/signature_pad/tsconfig.json +++ b/types/signature_pad/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/simple-assign/tsconfig.json b/types/simple-assign/tsconfig.json index 000826bf23..cd8da7d060 100644 --- a/types/simple-assign/tsconfig.json +++ b/types/simple-assign/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/simple-cw-node/tsconfig.json b/types/simple-cw-node/tsconfig.json index 360dbd62bb..5d46cc37e4 100644 --- a/types/simple-cw-node/tsconfig.json +++ b/types/simple-cw-node/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/simple-lru/tsconfig.json b/types/simple-lru/tsconfig.json index bb7678005c..6393c1ef7f 100644 --- a/types/simple-lru/tsconfig.json +++ b/types/simple-lru/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/simple-mock/tsconfig.json b/types/simple-mock/tsconfig.json index 8d9ce9318c..c4cbb9811d 100644 --- a/types/simple-mock/tsconfig.json +++ b/types/simple-mock/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/simple-oauth2/tsconfig.json b/types/simple-oauth2/tsconfig.json index c42e2834d6..8bcdc6bb9e 100644 --- a/types/simple-oauth2/tsconfig.json +++ b/types/simple-oauth2/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/simple-peer/tsconfig.json b/types/simple-peer/tsconfig.json index 8e1240c525..842adad137 100644 --- a/types/simple-peer/tsconfig.json +++ b/types/simple-peer/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/simple-url-cache/tsconfig.json b/types/simple-url-cache/tsconfig.json index 6ca7ca0b80..2352d61598 100644 --- a/types/simple-url-cache/tsconfig.json +++ b/types/simple-url-cache/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/simple-xml/tsconfig.json b/types/simple-xml/tsconfig.json index b11921bcf8..d8df90c25d 100644 --- a/types/simple-xml/tsconfig.json +++ b/types/simple-xml/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/simplebar/tsconfig.json b/types/simplebar/tsconfig.json index 467b6358e4..beead7e73a 100644 --- a/types/simplebar/tsconfig.json +++ b/types/simplebar/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/simplebar/v1/tsconfig.json b/types/simplebar/v1/tsconfig.json index f5a517a975..974e79cb0b 100644 --- a/types/simplebar/v1/tsconfig.json +++ b/types/simplebar/v1/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/simplemde/tsconfig.json b/types/simplemde/tsconfig.json index 08410a11dc..bfc4181e18 100644 --- a/types/simplemde/tsconfig.json +++ b/types/simplemde/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/simplesmtp/tsconfig.json b/types/simplesmtp/tsconfig.json index 6ccfb59f40..e2fce4948c 100644 --- a/types/simplesmtp/tsconfig.json +++ b/types/simplesmtp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/simplestorage.js/tsconfig.json b/types/simplestorage.js/tsconfig.json index d756b30635..5652340792 100644 --- a/types/simplestorage.js/tsconfig.json +++ b/types/simplestorage.js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sinon-as-promised/tsconfig.json b/types/sinon-as-promised/tsconfig.json index 9fe2c226ec..744417ff14 100644 --- a/types/sinon-as-promised/tsconfig.json +++ b/types/sinon-as-promised/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sinon-chai/tsconfig.json b/types/sinon-chai/tsconfig.json index 58b1749eb6..691892d292 100644 --- a/types/sinon-chai/tsconfig.json +++ b/types/sinon-chai/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sinon-chrome/tsconfig.json b/types/sinon-chrome/tsconfig.json index 8179710487..4f4e399b67 100644 --- a/types/sinon-chrome/tsconfig.json +++ b/types/sinon-chrome/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sinon-express-mock/tsconfig.json b/types/sinon-express-mock/tsconfig.json index 87074c925a..2b43955892 100644 --- a/types/sinon-express-mock/tsconfig.json +++ b/types/sinon-express-mock/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sinon-mongoose/tsconfig.json b/types/sinon-mongoose/tsconfig.json index 31123d641b..4d2d564fc9 100644 --- a/types/sinon-mongoose/tsconfig.json +++ b/types/sinon-mongoose/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sinon-stub-promise/tsconfig.json b/types/sinon-stub-promise/tsconfig.json index ec05f389e5..60272a70a0 100644 --- a/types/sinon-stub-promise/tsconfig.json +++ b/types/sinon-stub-promise/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sinon-test/tsconfig.json b/types/sinon-test/tsconfig.json index d4b45dfb80..4d23c019f4 100644 --- a/types/sinon-test/tsconfig.json +++ b/types/sinon-test/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sinon/tsconfig.json b/types/sinon/tsconfig.json index 2c9b85ec00..6bccda9c81 100644 --- a/types/sinon/tsconfig.json +++ b/types/sinon/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sip.js/tsconfig.json b/types/sip.js/tsconfig.json index ea3b5a009c..a47f88c042 100644 --- a/types/sip.js/tsconfig.json +++ b/types/sip.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sipml/tsconfig.json b/types/sipml/tsconfig.json index 9731eedc18..504c04f727 100644 --- a/types/sipml/tsconfig.json +++ b/types/sipml/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sitemap2/tsconfig.json b/types/sitemap2/tsconfig.json index dfdc030de9..36083ddcbb 100644 --- a/types/sitemap2/tsconfig.json +++ b/types/sitemap2/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sizzle/tsconfig.json b/types/sizzle/tsconfig.json index 2c3aae44e5..8919d41622 100644 --- a/types/sizzle/tsconfig.json +++ b/types/sizzle/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sjcl/tsconfig.json b/types/sjcl/tsconfig.json index e1a6628713..8dc79ca8af 100644 --- a/types/sjcl/tsconfig.json +++ b/types/sjcl/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/skatejs/tsconfig.json b/types/skatejs/tsconfig.json index 1cbab67082..4ebef1d933 100644 --- a/types/skatejs/tsconfig.json +++ b/types/skatejs/tsconfig.json @@ -17,6 +17,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "experimentalDecorators": true }, "files": [ @@ -39,4 +40,4 @@ "test/utils/name.ts", "test/utils/shadow.ts" ] -} +} \ No newline at end of file diff --git a/types/ski/tsconfig.json b/types/ski/tsconfig.json index a523a14f5d..ea3d95c968 100644 --- a/types/ski/tsconfig.json +++ b/types/ski/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/skyway/tsconfig.json b/types/skyway/tsconfig.json index 28f48c9f91..000b23019b 100644 --- a/types/skyway/tsconfig.json +++ b/types/skyway/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/slack-node/tsconfig.json b/types/slack-node/tsconfig.json index 66c41e14ca..8dd0dc0200 100644 --- a/types/slack-node/tsconfig.json +++ b/types/slack-node/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/slack-winston/tsconfig.json b/types/slack-winston/tsconfig.json index ce19979192..72e8ad807d 100644 --- a/types/slack-winston/tsconfig.json +++ b/types/slack-winston/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/slackify-html/tsconfig.json b/types/slackify-html/tsconfig.json index 587cafc4af..2bdd1a67ee 100644 --- a/types/slackify-html/tsconfig.json +++ b/types/slackify-html/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/slate-irc/tsconfig.json b/types/slate-irc/tsconfig.json index 7cc47ac753..0b2ee18841 100644 --- a/types/slate-irc/tsconfig.json +++ b/types/slate-irc/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sleep/tsconfig.json b/types/sleep/tsconfig.json index e852889ba0..68b1bb755f 100644 --- a/types/sleep/tsconfig.json +++ b/types/sleep/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/slick-carousel/tsconfig.json b/types/slick-carousel/tsconfig.json index eac3bfb435..93841cf465 100644 --- a/types/slick-carousel/tsconfig.json +++ b/types/slick-carousel/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/slickgrid/tsconfig.json b/types/slickgrid/tsconfig.json index 4609f7987e..5a0379abbb 100644 --- a/types/slickgrid/tsconfig.json +++ b/types/slickgrid/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/slideout/tsconfig.json b/types/slideout/tsconfig.json index fa40f2a294..a09c45f8cd 100644 --- a/types/slideout/tsconfig.json +++ b/types/slideout/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/slimerjs/tsconfig.json b/types/slimerjs/tsconfig.json index 0d9e8b3602..3b75b01c5d 100644 --- a/types/slimerjs/tsconfig.json +++ b/types/slimerjs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/slocket/tsconfig.json b/types/slocket/tsconfig.json index 719eba3d10..c351599095 100644 --- a/types/slocket/tsconfig.json +++ b/types/slocket/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/slug/tsconfig.json b/types/slug/tsconfig.json index 9fffc268fa..2ccb1c0371 100644 --- a/types/slug/tsconfig.json +++ b/types/slug/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/smart-fox-server/tsconfig.json b/types/smart-fox-server/tsconfig.json index 1c0bd310b8..e30bc1d69a 100644 --- a/types/smart-fox-server/tsconfig.json +++ b/types/smart-fox-server/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/smoothscroll-polyfill/tsconfig.json b/types/smoothscroll-polyfill/tsconfig.json index f21a2ae0ef..bd789c08a2 100644 --- a/types/smoothscroll-polyfill/tsconfig.json +++ b/types/smoothscroll-polyfill/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/smtp-server/tsconfig.json b/types/smtp-server/tsconfig.json index 1301c38576..1b852d3cb0 100644 --- a/types/smtp-server/tsconfig.json +++ b/types/smtp-server/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/smtp-server/v1/tsconfig.json b/types/smtp-server/v1/tsconfig.json index b038c6c6f8..b1dc362ab8 100644 --- a/types/smtp-server/v1/tsconfig.json +++ b/types/smtp-server/v1/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/smtpapi/tsconfig.json b/types/smtpapi/tsconfig.json index 16bd06b68c..b87794c028 100644 --- a/types/smtpapi/tsconfig.json +++ b/types/smtpapi/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/snapsvg/tsconfig.json b/types/snapsvg/tsconfig.json index 7ee69cd259..411d49f296 100644 --- a/types/snapsvg/tsconfig.json +++ b/types/snapsvg/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/snazzy-info-window/tsconfig.json b/types/snazzy-info-window/tsconfig.json index 0fa4776bac..537c7624b4 100644 --- a/types/snazzy-info-window/tsconfig.json +++ b/types/snazzy-info-window/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/snekfetch/tsconfig.json b/types/snekfetch/tsconfig.json index 37402433cc..58206daccc 100644 --- a/types/snekfetch/tsconfig.json +++ b/types/snekfetch/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/snoowrap/tsconfig.json b/types/snoowrap/tsconfig.json index 80f4cc5617..3503aa1723 100644 --- a/types/snoowrap/tsconfig.json +++ b/types/snoowrap/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "noUnusedLocals": true }, "files": [ diff --git a/types/snowboy/tsconfig.json b/types/snowboy/tsconfig.json index 1a013bcb02..beec93bce3 100644 --- a/types/snowboy/tsconfig.json +++ b/types/snowboy/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/socket.io-client/tsconfig.json b/types/socket.io-client/tsconfig.json index 972f8843d6..959aebca1b 100644 --- a/types/socket.io-client/tsconfig.json +++ b/types/socket.io-client/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/socket.io-parser/tsconfig.json b/types/socket.io-parser/tsconfig.json index ff1a74f45e..46a6fffc8d 100644 --- a/types/socket.io-parser/tsconfig.json +++ b/types/socket.io-parser/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/socket.io-redis/tsconfig.json b/types/socket.io-redis/tsconfig.json index 2d96ef817a..63313c05ec 100644 --- a/types/socket.io-redis/tsconfig.json +++ b/types/socket.io-redis/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/socket.io.users/tsconfig.json b/types/socket.io.users/tsconfig.json index 3261ff53d5..7ab3bd080d 100644 --- a/types/socket.io.users/tsconfig.json +++ b/types/socket.io.users/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/socket.io/tsconfig.json b/types/socket.io/tsconfig.json index ec123a68f8..7345d645e5 100644 --- a/types/socket.io/tsconfig.json +++ b/types/socket.io/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/socketio-jwt-auth/tsconfig.json b/types/socketio-jwt-auth/tsconfig.json index eb874d1a8e..1c8402a670 100644 --- a/types/socketio-jwt-auth/tsconfig.json +++ b/types/socketio-jwt-auth/tsconfig.json @@ -15,10 +15,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ "index.d.ts", "socketio-jwt-auth-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/socketio-wildcard/tsconfig.json b/types/socketio-wildcard/tsconfig.json index 38896916e2..925e21d2e5 100644 --- a/types/socketio-wildcard/tsconfig.json +++ b/types/socketio-wildcard/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/socketty/tsconfig.json b/types/socketty/tsconfig.json index b8623c87c6..5ead60c0fc 100644 --- a/types/socketty/tsconfig.json +++ b/types/socketty/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sockjs-client/tsconfig.json b/types/sockjs-client/tsconfig.json index a0b95f5afb..ac9710c14a 100644 --- a/types/sockjs-client/tsconfig.json +++ b/types/sockjs-client/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sockjs/tsconfig.json b/types/sockjs/tsconfig.json index 1b3c61fb34..66b535d9e0 100644 --- a/types/sockjs/tsconfig.json +++ b/types/sockjs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/solution-center-communicator/tsconfig.json b/types/solution-center-communicator/tsconfig.json index c5429cdf1a..d2627e6c05 100644 --- a/types/solution-center-communicator/tsconfig.json +++ b/types/solution-center-communicator/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sort-array/tsconfig.json b/types/sort-array/tsconfig.json index 935747c5e6..b759d8db46 100644 --- a/types/sort-array/tsconfig.json +++ b/types/sort-array/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "sort-array-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/sortablejs/tsconfig.json b/types/sortablejs/tsconfig.json index a5e89ba671..bb6e4c1c0d 100644 --- a/types/sortablejs/tsconfig.json +++ b/types/sortablejs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/soundjs/tsconfig.json b/types/soundjs/tsconfig.json index c4e228a18c..e3ccb82655 100644 --- a/types/soundjs/tsconfig.json +++ b/types/soundjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/soundmanager2/tsconfig.json b/types/soundmanager2/tsconfig.json index c08c3d6185..e6d6b76dde 100644 --- a/types/soundmanager2/tsconfig.json +++ b/types/soundmanager2/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/source-list-map/tsconfig.json b/types/source-list-map/tsconfig.json index c18f940040..e924dfe4d5 100644 --- a/types/source-list-map/tsconfig.json +++ b/types/source-list-map/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/source-map-support/tsconfig.json b/types/source-map-support/tsconfig.json index c5cd7b0000..1404b8324b 100644 --- a/types/source-map-support/tsconfig.json +++ b/types/source-map-support/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/space-pen/tsconfig.json b/types/space-pen/tsconfig.json index 2aa1f65d64..42e901d55e 100644 --- a/types/space-pen/tsconfig.json +++ b/types/space-pen/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/spark-md5/tsconfig.json b/types/spark-md5/tsconfig.json index 8eac67ed47..67659659bc 100644 --- a/types/spark-md5/tsconfig.json +++ b/types/spark-md5/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sparkly/tsconfig.json b/types/sparkly/tsconfig.json index 3408085ad7..f50bc3772e 100644 --- a/types/sparkly/tsconfig.json +++ b/types/sparkly/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sparkpost/tsconfig.json b/types/sparkpost/tsconfig.json index 6aeba9cb91..c7d02396a3 100644 --- a/types/sparkpost/tsconfig.json +++ b/types/sparkpost/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sparkpost/v1/tsconfig.json b/types/sparkpost/v1/tsconfig.json index 114bc5e757..6be9896dea 100644 --- a/types/sparkpost/v1/tsconfig.json +++ b/types/sparkpost/v1/tsconfig.json @@ -22,7 +22,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sparqljs/tsconfig.json b/types/sparqljs/tsconfig.json index 3a44e32e68..26b4e54dc6 100644 --- a/types/sparqljs/tsconfig.json +++ b/types/sparqljs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/spatialite/tsconfig.json b/types/spatialite/tsconfig.json index 0da1bd78cf..f50a5c18bc 100644 --- a/types/spatialite/tsconfig.json +++ b/types/spatialite/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/spdx-correct/tsconfig.json b/types/spdx-correct/tsconfig.json index a7c8604db7..5f67419265 100644 --- a/types/spdx-correct/tsconfig.json +++ b/types/spdx-correct/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "spdx-correct-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/spdx-satisfies/tsconfig.json b/types/spdx-satisfies/tsconfig.json index 7aff811650..2c924ccdc9 100644 --- a/types/spdx-satisfies/tsconfig.json +++ b/types/spdx-satisfies/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "spdx-satisfies-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/spdy/tsconfig.json b/types/spdy/tsconfig.json index a8ffb74515..bbab83a0a7 100644 --- a/types/spdy/tsconfig.json +++ b/types/spdy/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/speakeasy/tsconfig.json b/types/speakeasy/tsconfig.json index e27d664bc4..5425305ee3 100644 --- a/types/speakeasy/tsconfig.json +++ b/types/speakeasy/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/speakingurl/tsconfig.json b/types/speakingurl/tsconfig.json index 150dcf9b21..1049a75f38 100644 --- a/types/speakingurl/tsconfig.json +++ b/types/speakingurl/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/spectacle/tsconfig.json b/types/spectacle/tsconfig.json index 46722f9753..517d917a91 100644 --- a/types/spectacle/tsconfig.json +++ b/types/spectacle/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/spectrum/tsconfig.json b/types/spectrum/tsconfig.json index 31b495ebf9..96bdddce61 100644 --- a/types/spectrum/tsconfig.json +++ b/types/spectrum/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/split.js/tsconfig.json b/types/split.js/tsconfig.json index 31fbcaf148..564b7b2d43 100644 --- a/types/split.js/tsconfig.json +++ b/types/split.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/split/tsconfig.json b/types/split/tsconfig.json index 968ce531dc..f22979b681 100644 --- a/types/split/tsconfig.json +++ b/types/split/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/split2/tsconfig.json b/types/split2/tsconfig.json index 533f82b81a..82a5314ca1 100644 --- a/types/split2/tsconfig.json +++ b/types/split2/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/spotify-api/tsconfig.json b/types/spotify-api/tsconfig.json index 6fc2a9e8ac..d0dfd44b35 100644 --- a/types/spotify-api/tsconfig.json +++ b/types/spotify-api/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/spotify-web-playback-sdk/tsconfig.json b/types/spotify-web-playback-sdk/tsconfig.json index c6b3dd1448..c4562ccbfb 100644 --- a/types/spotify-web-playback-sdk/tsconfig.json +++ b/types/spotify-web-playback-sdk/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "spotify-web-playback-sdk-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/sprintf-js/tsconfig.json b/types/sprintf-js/tsconfig.json index 2fcd8a7156..c13c854d81 100644 --- a/types/sprintf-js/tsconfig.json +++ b/types/sprintf-js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sprintf/tsconfig.json b/types/sprintf/tsconfig.json index b56426bd80..f0fc939bb9 100644 --- a/types/sprintf/tsconfig.json +++ b/types/sprintf/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sql.js/tsconfig.json b/types/sql.js/tsconfig.json index aa744160cb..c7d92578f0 100644 --- a/types/sql.js/tsconfig.json +++ b/types/sql.js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sqlite3/tsconfig.json b/types/sqlite3/tsconfig.json index f3b9bf2d28..1e0f76573e 100644 --- a/types/sqlite3/tsconfig.json +++ b/types/sqlite3/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sqlstring/tsconfig.json b/types/sqlstring/tsconfig.json index a4d4ce7e89..15a7dabe84 100644 --- a/types/sqlstring/tsconfig.json +++ b/types/sqlstring/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sqs-consumer/tsconfig.json b/types/sqs-consumer/tsconfig.json index adeb275ec5..10dd63c1e9 100644 --- a/types/sqs-consumer/tsconfig.json +++ b/types/sqs-consumer/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sqs-producer/tsconfig.json b/types/sqs-producer/tsconfig.json index 68c2013ba1..5c729caabe 100644 --- a/types/sqs-producer/tsconfig.json +++ b/types/sqs-producer/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/squirejs/tsconfig.json b/types/squirejs/tsconfig.json index d8ef5e1b75..18670feab2 100644 --- a/types/squirejs/tsconfig.json +++ b/types/squirejs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/srp/tsconfig.json b/types/srp/tsconfig.json index 81d00268b1..5e0d922b20 100644 --- a/types/srp/tsconfig.json +++ b/types/srp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ssh-key-decrypt/tsconfig.json b/types/ssh-key-decrypt/tsconfig.json index b05d121ace..ea20ac09be 100644 --- a/types/ssh-key-decrypt/tsconfig.json +++ b/types/ssh-key-decrypt/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ssh2-sftp-client/tsconfig.json b/types/ssh2-sftp-client/tsconfig.json index 809639cd51..660c65ec72 100644 --- a/types/ssh2-sftp-client/tsconfig.json +++ b/types/ssh2-sftp-client/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ssh2-streams/tsconfig.json b/types/ssh2-streams/tsconfig.json index c72956547a..d191d32a62 100644 --- a/types/ssh2-streams/tsconfig.json +++ b/types/ssh2-streams/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ssh2/tsconfig.json b/types/ssh2/tsconfig.json index 13d68aa813..b7d361ffe1 100644 --- a/types/ssh2/tsconfig.json +++ b/types/ssh2/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sshpk/tsconfig.json b/types/sshpk/tsconfig.json index 7b38e1dc9b..ae0ed98e9e 100644 --- a/types/sshpk/tsconfig.json +++ b/types/sshpk/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stack-mapper/tsconfig.json b/types/stack-mapper/tsconfig.json index f47d33d03e..177035b5b9 100644 --- a/types/stack-mapper/tsconfig.json +++ b/types/stack-mapper/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stack-trace/tsconfig.json b/types/stack-trace/tsconfig.json index fd6b41724d..82a1d19c43 100644 --- a/types/stack-trace/tsconfig.json +++ b/types/stack-trace/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stack-utils/tsconfig.json b/types/stack-utils/tsconfig.json index 4f74db4b57..e99ac31c68 100644 --- a/types/stack-utils/tsconfig.json +++ b/types/stack-utils/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stacktrace-js/tsconfig.json b/types/stacktrace-js/tsconfig.json index bbc97ddb49..4d8738227d 100644 --- a/types/stacktrace-js/tsconfig.json +++ b/types/stacktrace-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stale-lru-cache/tsconfig.json b/types/stale-lru-cache/tsconfig.json index fdd40eaaea..5cb96af388 100644 --- a/types/stale-lru-cache/tsconfig.json +++ b/types/stale-lru-cache/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stampit/tsconfig.json b/types/stampit/tsconfig.json index ee248728d6..c077934aac 100644 --- a/types/stampit/tsconfig.json +++ b/types/stampit/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stamplay-js-sdk/tsconfig.json b/types/stamplay-js-sdk/tsconfig.json index e75cfd6828..a8d75a776a 100644 --- a/types/stamplay-js-sdk/tsconfig.json +++ b/types/stamplay-js-sdk/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stat-mode/tsconfig.json b/types/stat-mode/tsconfig.json index 5b51263a17..bd95948d1c 100644 --- a/types/stat-mode/tsconfig.json +++ b/types/stat-mode/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/static-eval/tsconfig.json b/types/static-eval/tsconfig.json index 8f182c2170..b011db3543 100644 --- a/types/static-eval/tsconfig.json +++ b/types/static-eval/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stats.js/tsconfig.json b/types/stats.js/tsconfig.json index 7471c6140b..1ce35425e1 100644 --- a/types/stats.js/tsconfig.json +++ b/types/stats.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/statsd-client/tsconfig.json b/types/statsd-client/tsconfig.json index 81a84eea79..bb0a8a2ba6 100644 --- a/types/statsd-client/tsconfig.json +++ b/types/statsd-client/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/statuses/tsconfig.json b/types/statuses/tsconfig.json index f307775277..63ac349b02 100644 --- a/types/statuses/tsconfig.json +++ b/types/statuses/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/std-mocks/tsconfig.json b/types/std-mocks/tsconfig.json index 2ee05a022d..6286da9ada 100644 --- a/types/std-mocks/tsconfig.json +++ b/types/std-mocks/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "std-mocks-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/steam/tsconfig.json b/types/steam/tsconfig.json index e821778fbf..32c579cb36 100644 --- a/types/steam/tsconfig.json +++ b/types/steam/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/steed/tsconfig.json b/types/steed/tsconfig.json index 04c8b69bd3..e5f7d1cf58 100644 --- a/types/steed/tsconfig.json +++ b/types/steed/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stemmer/tsconfig.json b/types/stemmer/tsconfig.json index 7224a39eb8..0f17c0f146 100644 --- a/types/stemmer/tsconfig.json +++ b/types/stemmer/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "stemmer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/sticky-cluster/tsconfig.json b/types/sticky-cluster/tsconfig.json index dcfc338f93..ff3ca4badd 100644 --- a/types/sticky-cluster/tsconfig.json +++ b/types/sticky-cluster/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "sticky-cluster-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/stompjs/tsconfig.json b/types/stompjs/tsconfig.json index bb2b4ad2a4..e450706f2d 100644 --- a/types/stompjs/tsconfig.json +++ b/types/stompjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stoppable/tsconfig.json b/types/stoppable/tsconfig.json index e6a0ead204..6cef67e8b6 100644 --- a/types/stoppable/tsconfig.json +++ b/types/stoppable/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/storejs/tsconfig.json b/types/storejs/tsconfig.json index df8e4268e3..0624143c91 100644 --- a/types/storejs/tsconfig.json +++ b/types/storejs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/storejs/v1/tsconfig.json b/types/storejs/v1/tsconfig.json index 2d062255ed..ae6d367885 100644 --- a/types/storejs/v1/tsconfig.json +++ b/types/storejs/v1/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/storybook__addon-a11y/tsconfig.json b/types/storybook__addon-a11y/tsconfig.json index 4f04f36d5a..43484db618 100644 --- a/types/storybook__addon-a11y/tsconfig.json +++ b/types/storybook__addon-a11y/tsconfig.json @@ -1,32 +1,33 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "jsx": "react", - "typeRoots": [ - "../" - ], - "paths": { - "@storybook/addon-a11y": [ - "storybook__addon-a11y" - ], - "@storybook/react": [ - "storybook__react" - ] - }, - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "storybook__addon-a11y-tests.tsx" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "jsx": "react", + "typeRoots": [ + "../" + ], + "paths": { + "@storybook/addon-a11y": [ + "storybook__addon-a11y" + ], + "@storybook/react": [ + "storybook__react" + ] + }, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "storybook__addon-a11y-tests.tsx" + ] } \ No newline at end of file diff --git a/types/storybook__addon-actions/tsconfig.json b/types/storybook__addon-actions/tsconfig.json index 89249e8386..a7c484aab1 100644 --- a/types/storybook__addon-actions/tsconfig.json +++ b/types/storybook__addon-actions/tsconfig.json @@ -24,7 +24,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/storybook__addon-backgrounds/tsconfig.json b/types/storybook__addon-backgrounds/tsconfig.json index cfc58e4a8c..39ffc3183a 100644 --- a/types/storybook__addon-backgrounds/tsconfig.json +++ b/types/storybook__addon-backgrounds/tsconfig.json @@ -23,7 +23,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/storybook__addon-info/tsconfig.json b/types/storybook__addon-info/tsconfig.json index 87d702ce2b..8ea798e377 100644 --- a/types/storybook__addon-info/tsconfig.json +++ b/types/storybook__addon-info/tsconfig.json @@ -23,10 +23,11 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "storybook__addon-info-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/storybook__addon-knobs/tsconfig.json b/types/storybook__addon-knobs/tsconfig.json index fb2307556f..43d809e7df 100644 --- a/types/storybook__addon-knobs/tsconfig.json +++ b/types/storybook__addon-knobs/tsconfig.json @@ -24,7 +24,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/storybook__addon-links/tsconfig.json b/types/storybook__addon-links/tsconfig.json index bb3183eaec..8f399074f3 100644 --- a/types/storybook__addon-links/tsconfig.json +++ b/types/storybook__addon-links/tsconfig.json @@ -23,7 +23,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/storybook__addon-notes/tsconfig.json b/types/storybook__addon-notes/tsconfig.json index 2bc7d76ea8..6b80454b4b 100644 --- a/types/storybook__addon-notes/tsconfig.json +++ b/types/storybook__addon-notes/tsconfig.json @@ -24,7 +24,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/storybook__addon-options/tsconfig.json b/types/storybook__addon-options/tsconfig.json index 936a535725..13ed6cecc8 100644 --- a/types/storybook__addon-options/tsconfig.json +++ b/types/storybook__addon-options/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/storybook__react/tsconfig.json b/types/storybook__react/tsconfig.json index 906319ce4c..3e97c20db9 100644 --- a/types/storybook__react/tsconfig.json +++ b/types/storybook__react/tsconfig.json @@ -21,7 +21,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/storybook__vue/tsconfig.json b/types/storybook__vue/tsconfig.json index a472ebed8a..5659b7cc84 100644 --- a/types/storybook__vue/tsconfig.json +++ b/types/storybook__vue/tsconfig.json @@ -20,7 +20,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stream-buffers/tsconfig.json b/types/stream-buffers/tsconfig.json index 1a7291fb16..1829ba6547 100644 --- a/types/stream-buffers/tsconfig.json +++ b/types/stream-buffers/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stream-meter/tsconfig.json b/types/stream-meter/tsconfig.json index 8b20593c10..bcd6cde297 100644 --- a/types/stream-meter/tsconfig.json +++ b/types/stream-meter/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stream-series/tsconfig.json b/types/stream-series/tsconfig.json index 63b2241d3f..eb8763229a 100644 --- a/types/stream-series/tsconfig.json +++ b/types/stream-series/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stream-to-array/tsconfig.json b/types/stream-to-array/tsconfig.json index 48b3165006..32e34557d8 100644 --- a/types/stream-to-array/tsconfig.json +++ b/types/stream-to-array/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stream-to-array/v0/tsconfig.json b/types/stream-to-array/v0/tsconfig.json index 1865c9cf98..0a237512bb 100644 --- a/types/stream-to-array/v0/tsconfig.json +++ b/types/stream-to-array/v0/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/streaming-json-stringify/tsconfig.json b/types/streaming-json-stringify/tsconfig.json index b99f577e68..032b31181f 100644 --- a/types/streaming-json-stringify/tsconfig.json +++ b/types/streaming-json-stringify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/streamjs/tsconfig.json b/types/streamjs/tsconfig.json index 21fc98e70b..1643a0803c 100644 --- a/types/streamjs/tsconfig.json +++ b/types/streamjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/strftime/tsconfig.json b/types/strftime/tsconfig.json index b20e8d1a04..705df3931e 100644 --- a/types/strftime/tsconfig.json +++ b/types/strftime/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/string-hash/tsconfig.json b/types/string-hash/tsconfig.json index 8755e54064..f9e122d17e 100644 --- a/types/string-hash/tsconfig.json +++ b/types/string-hash/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/string-similarity/tsconfig.json b/types/string-similarity/tsconfig.json index a2a3f2f5eb..ff9daac26b 100644 --- a/types/string-similarity/tsconfig.json +++ b/types/string-similarity/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/string-template/tsconfig.json b/types/string-template/tsconfig.json index 936a491f8c..cdaa77fbbf 100644 --- a/types/string-template/tsconfig.json +++ b/types/string-template/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/string/tsconfig.json b/types/string/tsconfig.json index 578bc74d25..aa3e463b95 100644 --- a/types/string/tsconfig.json +++ b/types/string/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/string_score/tsconfig.json b/types/string_score/tsconfig.json index 95d3c06126..91909a22db 100644 --- a/types/string_score/tsconfig.json +++ b/types/string_score/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stringify-object/tsconfig.json b/types/stringify-object/tsconfig.json index 7a0b87b2a2..dd51ce88e8 100644 --- a/types/stringify-object/tsconfig.json +++ b/types/stringify-object/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/strip-ansi/tsconfig.json b/types/strip-ansi/tsconfig.json index 6653db94fb..7e1f2ed95e 100644 --- a/types/strip-ansi/tsconfig.json +++ b/types/strip-ansi/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/strip-bom/tsconfig.json b/types/strip-bom/tsconfig.json index 9a62caf4e6..d13346fffa 100644 --- a/types/strip-bom/tsconfig.json +++ b/types/strip-bom/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/strip-json-comments/tsconfig.json b/types/strip-json-comments/tsconfig.json index 02b42695a4..0333f7f56e 100644 --- a/types/strip-json-comments/tsconfig.json +++ b/types/strip-json-comments/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stripe-checkout/tsconfig.json b/types/stripe-checkout/tsconfig.json index e60ee3b3dd..b46c916c9a 100644 --- a/types/stripe-checkout/tsconfig.json +++ b/types/stripe-checkout/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stripe-v2/tsconfig.json b/types/stripe-v2/tsconfig.json index ac2d6c810b..1967670a85 100644 --- a/types/stripe-v2/tsconfig.json +++ b/types/stripe-v2/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stripe-v3/tsconfig.json b/types/stripe-v3/tsconfig.json index 1cdf786f22..99ea509045 100644 --- a/types/stripe-v3/tsconfig.json +++ b/types/stripe-v3/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stripe/tsconfig.json b/types/stripe/tsconfig.json index f2ac469aad..d600c2c48f 100644 --- a/types/stripe/tsconfig.json +++ b/types/stripe/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/strong-cluster-control/tsconfig.json b/types/strong-cluster-control/tsconfig.json index 2f89742361..9fedfeddcd 100644 --- a/types/strong-cluster-control/tsconfig.json +++ b/types/strong-cluster-control/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/strophe/tsconfig.json b/types/strophe/tsconfig.json index 8c8038227a..98d9dbdf4e 100644 --- a/types/strophe/tsconfig.json +++ b/types/strophe/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/styled-jsx/tsconfig.json b/types/styled-jsx/tsconfig.json index 494ed25a0a..abef3d951a 100644 --- a/types/styled-jsx/tsconfig.json +++ b/types/styled-jsx/tsconfig.json @@ -15,10 +15,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ "index.d.ts", "styled-jsx-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/stylelint-webpack-plugin/tsconfig.json b/types/stylelint-webpack-plugin/tsconfig.json index bad8f14fff..926c3600f9 100644 --- a/types/stylelint-webpack-plugin/tsconfig.json +++ b/types/stylelint-webpack-plugin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stylelint/tsconfig.json b/types/stylelint/tsconfig.json index aad83e1984..aa71e6e25c 100644 --- a/types/stylelint/tsconfig.json +++ b/types/stylelint/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/stylus/tsconfig.json b/types/stylus/tsconfig.json index d739ff9edd..e559d7f1ba 100644 --- a/types/stylus/tsconfig.json +++ b/types/stylus/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/subsume/tsconfig.json b/types/subsume/tsconfig.json index b29ec71ee8..d346ed296b 100644 --- a/types/subsume/tsconfig.json +++ b/types/subsume/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/succinct/tsconfig.json b/types/succinct/tsconfig.json index b75d1bb908..6d30f782a8 100644 --- a/types/succinct/tsconfig.json +++ b/types/succinct/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sudo-block/tsconfig.json b/types/sudo-block/tsconfig.json index f7a67ab9d9..ea33ca3f2f 100644 --- a/types/sudo-block/tsconfig.json +++ b/types/sudo-block/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/suitescript/tsconfig.json b/types/suitescript/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/suitescript/tsconfig.json +++ b/types/suitescript/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/sumo-logger/tsconfig.json b/types/sumo-logger/tsconfig.json index 99995493eb..60a1130a58 100644 --- a/types/sumo-logger/tsconfig.json +++ b/types/sumo-logger/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/superagent-no-cache/tsconfig.json b/types/superagent-no-cache/tsconfig.json index 9047a8ff6c..da42ec34f7 100644 --- a/types/superagent-no-cache/tsconfig.json +++ b/types/superagent-no-cache/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/superagent-prefix/tsconfig.json b/types/superagent-prefix/tsconfig.json index aa53ebadaf..8a99f7f0bd 100644 --- a/types/superagent-prefix/tsconfig.json +++ b/types/superagent-prefix/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/superagent/tsconfig.json b/types/superagent/tsconfig.json index e27bc6e788..57c8fccc02 100644 --- a/types/superagent/tsconfig.json +++ b/types/superagent/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/superagent/v2/tsconfig.json b/types/superagent/v2/tsconfig.json index b58424d51b..29adcf28dc 100644 --- a/types/superagent/v2/tsconfig.json +++ b/types/superagent/v2/tsconfig.json @@ -23,7 +23,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/supercluster/tsconfig.json b/types/supercluster/tsconfig.json index 243cdf4117..6005259e9f 100644 --- a/types/supercluster/tsconfig.json +++ b/types/supercluster/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/supertest-as-promised/tsconfig.json b/types/supertest-as-promised/tsconfig.json index 29e8790308..ba7aa25f13 100644 --- a/types/supertest-as-promised/tsconfig.json +++ b/types/supertest-as-promised/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/supertest/tsconfig.json b/types/supertest/tsconfig.json index 8f674d2202..fbdb3202fa 100644 --- a/types/supertest/tsconfig.json +++ b/types/supertest/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/supports-color/tsconfig.json b/types/supports-color/tsconfig.json index 5084245065..5dcbca91e0 100644 --- a/types/supports-color/tsconfig.json +++ b/types/supports-color/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/svg-injector/tsconfig.json b/types/svg-injector/tsconfig.json index 5b186e06f2..9b904fec27 100644 --- a/types/svg-injector/tsconfig.json +++ b/types/svg-injector/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/svg-parser/tsconfig.json b/types/svg-parser/tsconfig.json index c24afbd999..138353d5fc 100644 --- a/types/svg-parser/tsconfig.json +++ b/types/svg-parser/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "svg-parser-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/svg-sprite/tsconfig.json b/types/svg-sprite/tsconfig.json index 42c44c1ece..9fdf0b6980 100644 --- a/types/svg-sprite/tsconfig.json +++ b/types/svg-sprite/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/svg2png/tsconfig.json b/types/svg2png/tsconfig.json index fc6537e29b..c683abf942 100644 --- a/types/svg2png/tsconfig.json +++ b/types/svg2png/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/svg4everybody/tsconfig.json b/types/svg4everybody/tsconfig.json index b6158fd4e9..a12501ccd5 100644 --- a/types/svg4everybody/tsconfig.json +++ b/types/svg4everybody/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/svgjs.draggable/tsconfig.json b/types/svgjs.draggable/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/svgjs.draggable/tsconfig.json +++ b/types/svgjs.draggable/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/svgjs.resize/tsconfig.json b/types/svgjs.resize/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/svgjs.resize/tsconfig.json +++ b/types/svgjs.resize/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/svgo/tsconfig.json b/types/svgo/tsconfig.json index e2cdf41913..0ac1849980 100644 --- a/types/svgo/tsconfig.json +++ b/types/svgo/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "svgo-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/swag/tsconfig.json b/types/swag/tsconfig.json index b2eebb5fc1..0ac74e8fae 100644 --- a/types/swag/tsconfig.json +++ b/types/swag/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/swagger-express-middleware/tsconfig.json b/types/swagger-express-middleware/tsconfig.json index efd56f5cc9..8f40e379c1 100644 --- a/types/swagger-express-middleware/tsconfig.json +++ b/types/swagger-express-middleware/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/swagger-express-mw/tsconfig.json b/types/swagger-express-mw/tsconfig.json index c529b14c27..10ebc4ed97 100644 --- a/types/swagger-express-mw/tsconfig.json +++ b/types/swagger-express-mw/tsconfig.json @@ -14,13 +14,16 @@ ], "types": [], "paths": { - "boom": ["boom/v4"] + "boom": [ + "boom/v4" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "swagger-express-mw-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/swagger-hapi/tsconfig.json b/types/swagger-hapi/tsconfig.json index ea5343eb59..5b917e2121 100644 --- a/types/swagger-hapi/tsconfig.json +++ b/types/swagger-hapi/tsconfig.json @@ -14,13 +14,16 @@ ], "types": [], "paths": { - "boom": ["boom/v4"] + "boom": [ + "boom/v4" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "swagger-hapi-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/swagger-jsdoc/tsconfig.json b/types/swagger-jsdoc/tsconfig.json index 109b47bad0..8060b5675c 100644 --- a/types/swagger-jsdoc/tsconfig.json +++ b/types/swagger-jsdoc/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/swagger-node-runner/tsconfig.json b/types/swagger-node-runner/tsconfig.json index 1d3ae44a1a..9aa6ec5364 100644 --- a/types/swagger-node-runner/tsconfig.json +++ b/types/swagger-node-runner/tsconfig.json @@ -14,13 +14,16 @@ ], "types": [], "paths": { - "boom": ["boom/v4"] + "boom": [ + "boom/v4" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "swagger-node-runner-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/swagger-parser/tsconfig.json b/types/swagger-parser/tsconfig.json index bd15ee7e32..8a2e67d8bc 100644 --- a/types/swagger-parser/tsconfig.json +++ b/types/swagger-parser/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/swagger-restify-mw/tsconfig.json b/types/swagger-restify-mw/tsconfig.json index a9dcb8c0da..d561204c42 100644 --- a/types/swagger-restify-mw/tsconfig.json +++ b/types/swagger-restify-mw/tsconfig.json @@ -14,13 +14,16 @@ ], "types": [], "paths": { - "boom": ["boom/v4"] + "boom": [ + "boom/v4" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "swagger-restify-mw-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/swagger-sails-hook/tsconfig.json b/types/swagger-sails-hook/tsconfig.json index 44a316b98b..17d598916d 100644 --- a/types/swagger-sails-hook/tsconfig.json +++ b/types/swagger-sails-hook/tsconfig.json @@ -14,13 +14,16 @@ ], "types": [], "paths": { - "boom": ["boom/v4"] + "boom": [ + "boom/v4" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "swagger-sails-hook-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/swagger-schema-official/tsconfig.json b/types/swagger-schema-official/tsconfig.json index 475a0c4579..517693eec1 100644 --- a/types/swagger-schema-official/tsconfig.json +++ b/types/swagger-schema-official/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/swagger-tools/tsconfig.json b/types/swagger-tools/tsconfig.json index f00040387f..1ac581a6a4 100644 --- a/types/swagger-tools/tsconfig.json +++ b/types/swagger-tools/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/swaggerize-express/tsconfig.json b/types/swaggerize-express/tsconfig.json index 1ec57ed7db..b4291a08a9 100644 --- a/types/swaggerize-express/tsconfig.json +++ b/types/swaggerize-express/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/swfobject/tsconfig.json b/types/swfobject/tsconfig.json index 905fa4c7c5..72d38b165e 100644 --- a/types/swfobject/tsconfig.json +++ b/types/swfobject/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/swiftclick/tsconfig.json b/types/swiftclick/tsconfig.json index 903e78b3ae..aa64896742 100644 --- a/types/swiftclick/tsconfig.json +++ b/types/swiftclick/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/swig-email-templates/tsconfig.json b/types/swig-email-templates/tsconfig.json index 987a6f629a..becbb0b020 100644 --- a/types/swig-email-templates/tsconfig.json +++ b/types/swig-email-templates/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "swig-email-templates-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/swig/tsconfig.json b/types/swig/tsconfig.json index 29202d9a09..650458f3fc 100644 --- a/types/swig/tsconfig.json +++ b/types/swig/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/swipe/tsconfig.json b/types/swipe/tsconfig.json index dd8718e5a4..bca03d685f 100644 --- a/types/swipe/tsconfig.json +++ b/types/swipe/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/swiper/tsconfig.json b/types/swiper/tsconfig.json index 8bde882886..ac040ef01e 100644 --- a/types/swiper/tsconfig.json +++ b/types/swiper/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/swiper/v2/tsconfig.json b/types/swiper/v2/tsconfig.json index 3b7f35d0f2..ef11afdc92 100644 --- a/types/swiper/v2/tsconfig.json +++ b/types/swiper/v2/tsconfig.json @@ -23,7 +23,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/swipeview/tsconfig.json b/types/swipeview/tsconfig.json index 482e330299..281d980146 100644 --- a/types/swipeview/tsconfig.json +++ b/types/swipeview/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/switchery/tsconfig.json b/types/switchery/tsconfig.json index cd6c171807..cb03c7a674 100644 --- a/types/switchery/tsconfig.json +++ b/types/switchery/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/swiz/tsconfig.json b/types/swiz/tsconfig.json index 9f07ba0306..9bca3616e5 100644 --- a/types/swiz/tsconfig.json +++ b/types/swiz/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/sylvester/tsconfig.json b/types/sylvester/tsconfig.json index 1bdc202b83..8ebbbb3c5f 100644 --- a/types/sylvester/tsconfig.json +++ b/types/sylvester/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/synaptic/tsconfig.json b/types/synaptic/tsconfig.json index a8a8ffa40a..7c57170f80 100644 --- a/types/synaptic/tsconfig.json +++ b/types/synaptic/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/systeminformation/tsconfig.json b/types/systeminformation/tsconfig.json index d1b0e46f7a..eb2cfa6d98 100644 --- a/types/systeminformation/tsconfig.json +++ b/types/systeminformation/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/systemjs/tsconfig.json b/types/systemjs/tsconfig.json index 95bed64e3b..36e37a6353 100644 --- a/types/systemjs/tsconfig.json +++ b/types/systemjs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/table/tsconfig.json b/types/table/tsconfig.json index 6aee73e7c0..95f2b7ae31 100644 --- a/types/table/tsconfig.json +++ b/types/table/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tabris-plugin-firebase/tsconfig.json b/types/tabris-plugin-firebase/tsconfig.json index 118339f812..5c6678995a 100644 --- a/types/tabris-plugin-firebase/tsconfig.json +++ b/types/tabris-plugin-firebase/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "tabris-plugin-firebase-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/tabtab/tsconfig.json b/types/tabtab/tsconfig.json index b2098e5326..548d2f9c95 100644 --- a/types/tabtab/tsconfig.json +++ b/types/tabtab/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tabulator/tsconfig.json b/types/tabulator/tsconfig.json index d094f72c74..1c655aeea9 100644 --- a/types/tabulator/tsconfig.json +++ b/types/tabulator/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tapable/tsconfig.json b/types/tapable/tsconfig.json index c1a629a0a0..f2b458cf79 100644 --- a/types/tapable/tsconfig.json +++ b/types/tapable/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tape/tsconfig.json b/types/tape/tsconfig.json index 14b29b4be3..89a3bb0284 100644 --- a/types/tape/tsconfig.json +++ b/types/tape/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tar/tsconfig.json b/types/tar/tsconfig.json index 103befc21b..b3bb78f6d4 100644 --- a/types/tar/tsconfig.json +++ b/types/tar/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tcp-ping/tsconfig.json b/types/tcp-ping/tsconfig.json index 20d82ad303..e0fba82053 100644 --- a/types/tcp-ping/tsconfig.json +++ b/types/tcp-ping/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "tcp-ping-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/tea-merge/tsconfig.json b/types/tea-merge/tsconfig.json index 0af0988abf..cbf7f19402 100644 --- a/types/tea-merge/tsconfig.json +++ b/types/tea-merge/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tedious-connection-pool/tsconfig.json b/types/tedious-connection-pool/tsconfig.json index cd636ad876..bfddd0d319 100644 --- a/types/tedious-connection-pool/tsconfig.json +++ b/types/tedious-connection-pool/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tedious/tsconfig.json b/types/tedious/tsconfig.json index 6b1c2d58eb..3c37a7f097 100644 --- a/types/tedious/tsconfig.json +++ b/types/tedious/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/teechart/tsconfig.json b/types/teechart/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/teechart/tsconfig.json +++ b/types/teechart/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/telebot/tsconfig.json b/types/telebot/tsconfig.json index df24dd318b..0c0e132d22 100644 --- a/types/telebot/tsconfig.json +++ b/types/telebot/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/temp-fs/tsconfig.json b/types/temp-fs/tsconfig.json index 7f99f0f62a..c8e72528eb 100644 --- a/types/temp-fs/tsconfig.json +++ b/types/temp-fs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/temp-write/tsconfig.json b/types/temp-write/tsconfig.json index e841595edb..068b8c9313 100644 --- a/types/temp-write/tsconfig.json +++ b/types/temp-write/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/temp/tsconfig.json b/types/temp/tsconfig.json index f7e1902067..dd0badc02d 100644 --- a/types/temp/tsconfig.json +++ b/types/temp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tempfile/tsconfig.json b/types/tempfile/tsconfig.json index 2f31cafb72..908ce7c602 100644 --- a/types/tempfile/tsconfig.json +++ b/types/tempfile/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tempy/tsconfig.json b/types/tempy/tsconfig.json index d6216873d6..c3d9febb36 100644 --- a/types/tempy/tsconfig.json +++ b/types/tempy/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/terminal-menu/tsconfig.json b/types/terminal-menu/tsconfig.json index 0ffdb3da4c..33f19c3050 100644 --- a/types/terminal-menu/tsconfig.json +++ b/types/terminal-menu/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tesseract.js/tsconfig.json b/types/tesseract.js/tsconfig.json index 0214ea15e4..235f0535ae 100644 --- a/types/tesseract.js/tsconfig.json +++ b/types/tesseract.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/testingbot-api/tsconfig.json b/types/testingbot-api/tsconfig.json index f0bd06bb1b..8bc227236a 100644 --- a/types/testingbot-api/tsconfig.json +++ b/types/testingbot-api/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tether-drop/tsconfig.json b/types/tether-drop/tsconfig.json index c1dc9928ec..44334974f3 100644 --- a/types/tether-drop/tsconfig.json +++ b/types/tether-drop/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tether-shepherd/tsconfig.json b/types/tether-shepherd/tsconfig.json index ff7a78897d..2871f60a0c 100644 --- a/types/tether-shepherd/tsconfig.json +++ b/types/tether-shepherd/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tether/tsconfig.json b/types/tether/tsconfig.json index 5286a98289..64c07ade1b 100644 --- a/types/tether/tsconfig.json +++ b/types/tether/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/text-buffer/tsconfig.json b/types/text-buffer/tsconfig.json index dd4d1eeb3e..6edde7770a 100644 --- a/types/text-buffer/tsconfig.json +++ b/types/text-buffer/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "text-buffer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/text-encoding-utf-8/tsconfig.json b/types/text-encoding-utf-8/tsconfig.json index f9d410c8c5..c9a2142c8b 100644 --- a/types/text-encoding-utf-8/tsconfig.json +++ b/types/text-encoding-utf-8/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/text-encoding/tsconfig.json b/types/text-encoding/tsconfig.json index 898180941a..c7809cd82f 100644 --- a/types/text-encoding/tsconfig.json +++ b/types/text-encoding/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/three/tsconfig.json b/types/three/tsconfig.json index 4faf2d0b0c..80a1e81675 100644 --- a/types/three/tsconfig.json +++ b/types/three/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", @@ -57,4 +58,4 @@ "test/examples/loaders/webgl_loader_obj_mtl.ts", "test/webvr/webvr.ts" ] -} +} \ No newline at end of file diff --git a/types/thrift/tsconfig.json b/types/thrift/tsconfig.json index 9bcbced4ee..84dc940440 100644 --- a/types/thrift/tsconfig.json +++ b/types/thrift/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/throng/tsconfig.json b/types/throng/tsconfig.json index 20b9b46d85..7aad41aa3d 100644 --- a/types/throng/tsconfig.json +++ b/types/throng/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/throttle-debounce/tsconfig.json b/types/throttle-debounce/tsconfig.json index cf362d7611..d34cb0ed14 100644 --- a/types/throttle-debounce/tsconfig.json +++ b/types/throttle-debounce/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/throttle/tsconfig.json b/types/throttle/tsconfig.json index f05aae2e84..86acaff2d4 100644 --- a/types/throttle/tsconfig.json +++ b/types/throttle/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/through/tsconfig.json b/types/through/tsconfig.json index 88c7abb2fd..f98cfa1871 100644 --- a/types/through/tsconfig.json +++ b/types/through/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/through2-map/tsconfig.json b/types/through2-map/tsconfig.json index 282a192f4d..b1486f7a4c 100644 --- a/types/through2-map/tsconfig.json +++ b/types/through2-map/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/through2/tsconfig.json b/types/through2/tsconfig.json index c5c6eaa6b1..7da0c73936 100644 --- a/types/through2/tsconfig.json +++ b/types/through2/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/through2/v0/tsconfig.json b/types/through2/v0/tsconfig.json index ea1529c9fe..7dc3436c47 100644 --- a/types/through2/v0/tsconfig.json +++ b/types/through2/v0/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tile-reduce/tsconfig.json b/types/tile-reduce/tsconfig.json index 2afad7ef56..b613614587 100644 --- a/types/tile-reduce/tsconfig.json +++ b/types/tile-reduce/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tilebelt/tsconfig.json b/types/tilebelt/tsconfig.json index f6c2ff2e44..f8c5acc3fe 100644 --- a/types/tilebelt/tsconfig.json +++ b/types/tilebelt/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/time-span/tsconfig.json b/types/time-span/tsconfig.json index b17a400526..49a9d4a315 100644 --- a/types/time-span/tsconfig.json +++ b/types/time-span/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/timelinejs/tsconfig.json b/types/timelinejs/tsconfig.json index 82cb5dd197..19e69c4a75 100644 --- a/types/timelinejs/tsconfig.json +++ b/types/timelinejs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/timelinejs3/tsconfig.json b/types/timelinejs3/tsconfig.json index 7f26ea1538..28ea7628cd 100644 --- a/types/timelinejs3/tsconfig.json +++ b/types/timelinejs3/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/timer-machine/tsconfig.json b/types/timer-machine/tsconfig.json index 31cb1bb2e9..007ef6f39a 100644 --- a/types/timer-machine/tsconfig.json +++ b/types/timer-machine/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/timezone-js/tsconfig.json b/types/timezone-js/tsconfig.json index dac1b5d822..ff8274ccc5 100644 --- a/types/timezone-js/tsconfig.json +++ b/types/timezone-js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tinder/tsconfig.json b/types/tinder/tsconfig.json index 992b6386e5..870774f961 100644 --- a/types/tinder/tsconfig.json +++ b/types/tinder/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tinycolor2/tsconfig.json b/types/tinycolor2/tsconfig.json index c0f4741d8a..6ceed62685 100644 --- a/types/tinycolor2/tsconfig.json +++ b/types/tinycolor2/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tinycopy/tsconfig.json b/types/tinycopy/tsconfig.json index 8e9af169a5..985f99fbd1 100644 --- a/types/tinycopy/tsconfig.json +++ b/types/tinycopy/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tinymce/tsconfig.json b/types/tinymce/tsconfig.json index f0922aa2af..f102a3e9ea 100644 --- a/types/tinymce/tsconfig.json +++ b/types/tinymce/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/titanium/tsconfig.json b/types/titanium/tsconfig.json index 86e5902e63..03b7668aa7 100644 --- a/types/titanium/tsconfig.json +++ b/types/titanium/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/title/tsconfig.json b/types/title/tsconfig.json index ea4f963262..ff3cc0a7b6 100644 --- a/types/title/tsconfig.json +++ b/types/title/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tldjs/tsconfig.json b/types/tldjs/tsconfig.json index 160d2d2816..e61a71171f 100644 --- a/types/tldjs/tsconfig.json +++ b/types/tldjs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tmp/tsconfig.json b/types/tmp/tsconfig.json index 0633fc875e..14f56a3a67 100644 --- a/types/tmp/tsconfig.json +++ b/types/tmp/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/to-absolute-glob/tsconfig.json b/types/to-absolute-glob/tsconfig.json index a143fec271..861f6febe3 100644 --- a/types/to-absolute-glob/tsconfig.json +++ b/types/to-absolute-glob/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "to-absolute-glob-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/to-camel-case/tsconfig.json b/types/to-camel-case/tsconfig.json index 4353053896..17cac3f445 100644 --- a/types/to-camel-case/tsconfig.json +++ b/types/to-camel-case/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/to-markdown/tsconfig.json b/types/to-markdown/tsconfig.json index ee0626d37e..8d3577a904 100644 --- a/types/to-markdown/tsconfig.json +++ b/types/to-markdown/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/to-title-case-gouch/tsconfig.json b/types/to-title-case-gouch/tsconfig.json index e888de43b8..58128ea67e 100644 --- a/types/to-title-case-gouch/tsconfig.json +++ b/types/to-title-case-gouch/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/toastr/tsconfig.json b/types/toastr/tsconfig.json index 6714a59824..7263cfe1f5 100644 --- a/types/toastr/tsconfig.json +++ b/types/toastr/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tocktimer/tsconfig.json b/types/tocktimer/tsconfig.json index 27e7f3a17e..cd019e10a6 100644 --- a/types/tocktimer/tsconfig.json +++ b/types/tocktimer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tooltipster/tsconfig.json b/types/tooltipster/tsconfig.json index 4f2b8baead..6f3a24c11a 100644 --- a/types/tooltipster/tsconfig.json +++ b/types/tooltipster/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/topojson/tsconfig.json b/types/topojson/tsconfig.json index 339e9a307d..185fa25f29 100644 --- a/types/topojson/tsconfig.json +++ b/types/topojson/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/torrent-stream/tsconfig.json b/types/torrent-stream/tsconfig.json index cf5dc64a44..b9e95a04a5 100644 --- a/types/torrent-stream/tsconfig.json +++ b/types/torrent-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/touch-events/tsconfig.json b/types/touch-events/tsconfig.json index 8ac8a7c23e..2371a5a475 100644 --- a/types/touch-events/tsconfig.json +++ b/types/touch-events/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/touch/tsconfig.json b/types/touch/tsconfig.json index dfac4eaa59..1a65ccec08 100644 --- a/types/touch/tsconfig.json +++ b/types/touch/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tough-cookie/tsconfig.json b/types/tough-cookie/tsconfig.json index 970d0303b9..9b0984c3e4 100644 --- a/types/tough-cookie/tsconfig.json +++ b/types/tough-cookie/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/traceback/tsconfig.json b/types/traceback/tsconfig.json index 3467f3ed5e..ca7a7d8100 100644 --- a/types/traceback/tsconfig.json +++ b/types/traceback/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tracking/tsconfig.json b/types/tracking/tsconfig.json index 31c4aecc19..afe13bead7 100644 --- a/types/tracking/tsconfig.json +++ b/types/tracking/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/transducers-js/tsconfig.json b/types/transducers-js/tsconfig.json index e22b22820c..cfcf7aa566 100644 --- a/types/transducers-js/tsconfig.json +++ b/types/transducers-js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/transducers.js/tsconfig.json b/types/transducers.js/tsconfig.json index 64328c8755..2d50094c17 100644 --- a/types/transducers.js/tsconfig.json +++ b/types/transducers.js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/trash/tsconfig.json b/types/trash/tsconfig.json index 92b58c4679..d71fd341ba 100644 --- a/types/trash/tsconfig.json +++ b/types/trash/tsconfig.json @@ -16,10 +16,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "trash-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/traverse/tsconfig.json b/types/traverse/tsconfig.json index d2d7dfea04..3daa104e93 100644 --- a/types/traverse/tsconfig.json +++ b/types/traverse/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/traverson/tsconfig.json b/types/traverson/tsconfig.json index 615fd9677e..1774998595 100644 --- a/types/traverson/tsconfig.json +++ b/types/traverson/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/trayballoon/tsconfig.json b/types/trayballoon/tsconfig.json index e5e8cc7fa6..a0296ce538 100644 --- a/types/trayballoon/tsconfig.json +++ b/types/trayballoon/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tress/tsconfig.json b/types/tress/tsconfig.json index f126983d63..6d4e66eae5 100644 --- a/types/tress/tsconfig.json +++ b/types/tress/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/trim/tsconfig.json b/types/trim/tsconfig.json index bcea356412..2867a79362 100644 --- a/types/trim/tsconfig.json +++ b/types/trim/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/trunk8/tsconfig.json b/types/trunk8/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/trunk8/tsconfig.json +++ b/types/trunk8/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/tspromise/tsconfig.json b/types/tspromise/tsconfig.json index d2af852afd..ad57e05f05 100644 --- a/types/tspromise/tsconfig.json +++ b/types/tspromise/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tunnel/tsconfig.json b/types/tunnel/tsconfig.json index 55219f49a6..2f53c941db 100644 --- a/types/tunnel/tsconfig.json +++ b/types/tunnel/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tus-js-client/tsconfig.json b/types/tus-js-client/tsconfig.json index ca60cc6a34..818b68345b 100644 --- a/types/tus-js-client/tsconfig.json +++ b/types/tus-js-client/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tv4/tsconfig.json b/types/tv4/tsconfig.json index 17ed10aeac..be7057b74a 100644 --- a/types/tv4/tsconfig.json +++ b/types/tv4/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/tween.js/tsconfig.json b/types/tween.js/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/tween.js/tsconfig.json +++ b/types/tween.js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/tweenjs/tsconfig.json b/types/tweenjs/tsconfig.json index 606261f03f..a6dffcf27e 100644 --- a/types/tweenjs/tsconfig.json +++ b/types/tweenjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tweezer.js/tsconfig.json b/types/tweezer.js/tsconfig.json index a2fe795fb5..d7f08e37e0 100644 --- a/types/tweezer.js/tsconfig.json +++ b/types/tweezer.js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/twig/tsconfig.json b/types/twig/tsconfig.json index e51c10b126..fae9ca2a3d 100644 --- a/types/twig/tsconfig.json +++ b/types/twig/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/twilio/tsconfig.json b/types/twilio/tsconfig.json index 893fb3276f..8fbf116322 100644 --- a/types/twilio/tsconfig.json +++ b/types/twilio/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/twit/tsconfig.json b/types/twit/tsconfig.json index e9c475d064..df8e9d8378 100644 --- a/types/twit/tsconfig.json +++ b/types/twit/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/twitter-stream-channels/tsconfig.json b/types/twitter-stream-channels/tsconfig.json index 176fe10f41..478d997dab 100644 --- a/types/twitter-stream-channels/tsconfig.json +++ b/types/twitter-stream-channels/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/twitter-text/tsconfig.json b/types/twitter-text/tsconfig.json index d91d87aa20..ec41be151c 100644 --- a/types/twitter-text/tsconfig.json +++ b/types/twitter-text/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/twitter/tsconfig.json b/types/twitter/tsconfig.json index f57f1c2156..d228e8c395 100644 --- a/types/twitter/tsconfig.json +++ b/types/twitter/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/twix/tsconfig.json b/types/twix/tsconfig.json index b8f65213a1..b1f64cc6b8 100644 --- a/types/twix/tsconfig.json +++ b/types/twix/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/type-check/tsconfig.json b/types/type-check/tsconfig.json index 05111076bd..bcb697439d 100644 --- a/types/type-check/tsconfig.json +++ b/types/type-check/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/type-detect/tsconfig.json b/types/type-detect/tsconfig.json index f8ac2f8c7d..91f26499c5 100644 --- a/types/type-detect/tsconfig.json +++ b/types/type-detect/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/type-detect/v0/tsconfig.json b/types/type-detect/v0/tsconfig.json index 7c02f53075..5144584a15 100644 --- a/types/type-detect/v0/tsconfig.json +++ b/types/type-detect/v0/tsconfig.json @@ -13,11 +13,14 @@ "../../" ], "paths": { - "type-detect": [ "type-detect/v0" ] + "type-detect": [ + "type-detect/v0" + ] }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/type-is/tsconfig.json b/types/type-is/tsconfig.json index 9c0663c3e2..ba6c39bca7 100644 --- a/types/type-is/tsconfig.json +++ b/types/type-is/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/type-name/tsconfig.json b/types/type-name/tsconfig.json index e1b8d8d5d0..e3b952d4aa 100644 --- a/types/type-name/tsconfig.json +++ b/types/type-name/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/typeahead/tsconfig.json b/types/typeahead/tsconfig.json index 2699625f50..9d1a941276 100644 --- a/types/typeahead/tsconfig.json +++ b/types/typeahead/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/typedarray-pool/tsconfig.json b/types/typedarray-pool/tsconfig.json index 6a915ea9b1..c7e2699b25 100644 --- a/types/typedarray-pool/tsconfig.json +++ b/types/typedarray-pool/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/typescript-deferred/tsconfig.json b/types/typescript-deferred/tsconfig.json index 4e7d5da179..61f4d38fad 100644 --- a/types/typescript-deferred/tsconfig.json +++ b/types/typescript-deferred/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/tz-format/tsconfig.json b/types/tz-format/tsconfig.json index 524fdf38df..5481b086d2 100644 --- a/types/tz-format/tsconfig.json +++ b/types/tz-format/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ua-parser-js/tsconfig.json b/types/ua-parser-js/tsconfig.json index fadebdfdbb..17bc4f67df 100644 --- a/types/ua-parser-js/tsconfig.json +++ b/types/ua-parser-js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/uglify-js/tsconfig.json b/types/uglify-js/tsconfig.json index 314b32b709..d667312eee 100644 --- a/types/uglify-js/tsconfig.json +++ b/types/uglify-js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/uglifycss/tsconfig.json b/types/uglifycss/tsconfig.json index a5b1cb6a01..4a7cce2a35 100644 --- a/types/uglifycss/tsconfig.json +++ b/types/uglifycss/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ui-grid/tsconfig.json b/types/ui-grid/tsconfig.json index cd43ea45d4..ef77dd39a9 100644 --- a/types/ui-grid/tsconfig.json +++ b/types/ui-grid/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ui-router-extras/tsconfig.json b/types/ui-router-extras/tsconfig.json index fa8f22e667..231026d43d 100644 --- a/types/ui-router-extras/tsconfig.json +++ b/types/ui-router-extras/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ui-select/tsconfig.json b/types/ui-select/tsconfig.json index c6188861f2..a123cddabd 100644 --- a/types/ui-select/tsconfig.json +++ b/types/ui-select/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/uid-safe/tsconfig.json b/types/uid-safe/tsconfig.json index 4a0a4a03a4..f067c19d1a 100644 --- a/types/uid-safe/tsconfig.json +++ b/types/uid-safe/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/uikit/tsconfig.json b/types/uikit/tsconfig.json index 486a3184e8..5d740a8d70 100644 --- a/types/uikit/tsconfig.json +++ b/types/uikit/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/uinput/tsconfig.json b/types/uinput/tsconfig.json index 3114301619..1d32c0c813 100644 --- a/types/uinput/tsconfig.json +++ b/types/uinput/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "uinput-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "uinput-tests.ts" + ] +} \ No newline at end of file diff --git a/types/ultra-strftime/tsconfig.json b/types/ultra-strftime/tsconfig.json index 3b9461c0b6..57f8d8b8d0 100644 --- a/types/ultra-strftime/tsconfig.json +++ b/types/ultra-strftime/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/umbraco/tsconfig.json b/types/umbraco/tsconfig.json index 286d8c0496..e82793e67d 100644 --- a/types/umbraco/tsconfig.json +++ b/types/umbraco/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/umd/tsconfig.json b/types/umd/tsconfig.json index fcfcb24f99..c63568281f 100644 --- a/types/umd/tsconfig.json +++ b/types/umd/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/umzug/tsconfig.json b/types/umzug/tsconfig.json index 1d66f656f8..739e24bf95 100644 --- a/types/umzug/tsconfig.json +++ b/types/umzug/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/underscore-ko/tsconfig.json b/types/underscore-ko/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/underscore-ko/tsconfig.json +++ b/types/underscore-ko/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/underscore.string/tsconfig.json b/types/underscore.string/tsconfig.json index b2222f4d8b..e5ec05a6cd 100644 --- a/types/underscore.string/tsconfig.json +++ b/types/underscore.string/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/underscore/tsconfig.json b/types/underscore/tsconfig.json index 806e81d1ad..60e9ebadea 100644 --- a/types/underscore/tsconfig.json +++ b/types/underscore/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "underscore-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/undertaker-registry/tsconfig.json b/types/undertaker-registry/tsconfig.json index 4cedc8febc..6c3d77c7d9 100644 --- a/types/undertaker-registry/tsconfig.json +++ b/types/undertaker-registry/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/undertaker/tsconfig.json b/types/undertaker/tsconfig.json index 55aaee01b5..68e4a7ed54 100644 --- a/types/undertaker/tsconfig.json +++ b/types/undertaker/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/uniq/tsconfig.json b/types/uniq/tsconfig.json index db4cf0e58f..5a03f34de5 100644 --- a/types/uniq/tsconfig.json +++ b/types/uniq/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/uniqid/tsconfig.json b/types/uniqid/tsconfig.json index e081325ae9..52a0d13ed7 100644 --- a/types/uniqid/tsconfig.json +++ b/types/uniqid/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/unique-hash-stream/tsconfig.json b/types/unique-hash-stream/tsconfig.json index 0a8fe10caa..78cb8ee911 100644 --- a/types/unique-hash-stream/tsconfig.json +++ b/types/unique-hash-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/unique-random/tsconfig.json b/types/unique-random/tsconfig.json index 7ee86c0a03..c4e557233a 100644 --- a/types/unique-random/tsconfig.json +++ b/types/unique-random/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/unist/tsconfig.json b/types/unist/tsconfig.json index c9f03c2264..5e4bf41f26 100644 --- a/types/unist/tsconfig.json +++ b/types/unist/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/unity-webapi/tsconfig.json b/types/unity-webapi/tsconfig.json index c400be527d..16a4608c94 100644 --- a/types/unity-webapi/tsconfig.json +++ b/types/unity-webapi/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/universal-analytics/tsconfig.json b/types/universal-analytics/tsconfig.json index 6e301dc22c..88b3e84b77 100644 --- a/types/universal-analytics/tsconfig.json +++ b/types/universal-analytics/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/universal-router/tsconfig.json b/types/universal-router/tsconfig.json index c83170c372..9a7afa5762 100644 --- a/types/universal-router/tsconfig.json +++ b/types/universal-router/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/unorm/tsconfig.json b/types/unorm/tsconfig.json index 55846e2d3e..739d770d24 100644 --- a/types/unorm/tsconfig.json +++ b/types/unorm/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/untildify/tsconfig.json b/types/untildify/tsconfig.json index 75bfdd7d3e..fe9f91320f 100644 --- a/types/untildify/tsconfig.json +++ b/types/untildify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/unused-filename/tsconfig.json b/types/unused-filename/tsconfig.json index da9da24039..d1c0ccc36d 100644 --- a/types/unused-filename/tsconfig.json +++ b/types/unused-filename/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/unzip/tsconfig.json b/types/unzip/tsconfig.json index b5207a6cdc..9756abf7b2 100644 --- a/types/unzip/tsconfig.json +++ b/types/unzip/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/unzipper/tsconfig.json b/types/unzipper/tsconfig.json index d117b8eb1f..fc15123a8f 100644 --- a/types/unzipper/tsconfig.json +++ b/types/unzipper/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "unzipper-tests.ts" - ] -} + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "unzipper-tests.ts" + ] +} \ No newline at end of file diff --git a/types/update-notifier/tsconfig.json b/types/update-notifier/tsconfig.json index df8ad3f8ed..c8c630a5f8 100644 --- a/types/update-notifier/tsconfig.json +++ b/types/update-notifier/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/update-notifier/v1/tsconfig.json b/types/update-notifier/v1/tsconfig.json index d932c9656f..0e2bb8ce18 100644 --- a/types/update-notifier/v1/tsconfig.json +++ b/types/update-notifier/v1/tsconfig.json @@ -16,12 +16,15 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "paths": { - "update-notifier": ["update-notifier/v1"] + "update-notifier": [ + "update-notifier/v1" + ] } }, "files": [ "index.d.ts", "update-notifier-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/uppercamelcase/tsconfig.json b/types/uppercamelcase/tsconfig.json index 07fc20a92b..b25e657d12 100644 --- a/types/uppercamelcase/tsconfig.json +++ b/types/uppercamelcase/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/urbanairship-cordova/tsconfig.json b/types/urbanairship-cordova/tsconfig.json index d00b30f908..00b9bb4d88 100644 --- a/types/urbanairship-cordova/tsconfig.json +++ b/types/urbanairship-cordova/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/uri-templates/tsconfig.json b/types/uri-templates/tsconfig.json index fde5970591..c301e5c001 100644 --- a/types/uri-templates/tsconfig.json +++ b/types/uri-templates/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/urijs/tsconfig.json b/types/urijs/tsconfig.json index 17ecc01182..3b1778a8d2 100644 --- a/types/urijs/tsconfig.json +++ b/types/urijs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/uritemplate/tsconfig.json b/types/uritemplate/tsconfig.json index d2778846fe..f270fd785c 100644 --- a/types/uritemplate/tsconfig.json +++ b/types/uritemplate/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/url-assembler/tsconfig.json b/types/url-assembler/tsconfig.json index 5b754bb418..eaac8e24ca 100644 --- a/types/url-assembler/tsconfig.json +++ b/types/url-assembler/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/url-join/tsconfig.json b/types/url-join/tsconfig.json index fdbf7a8a9c..e62cf8ccbc 100644 --- a/types/url-join/tsconfig.json +++ b/types/url-join/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/url-metadata/tsconfig.json b/types/url-metadata/tsconfig.json index e12ebe2932..fd3e4ae03a 100644 --- a/types/url-metadata/tsconfig.json +++ b/types/url-metadata/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "url-metadata-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/url-parse/tsconfig.json b/types/url-parse/tsconfig.json index ca6fdbf187..fc8eb1efd5 100644 --- a/types/url-parse/tsconfig.json +++ b/types/url-parse/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/url-regex/tsconfig.json b/types/url-regex/tsconfig.json index e78f1f0e5d..7477c5fc2b 100644 --- a/types/url-regex/tsconfig.json +++ b/types/url-regex/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/url-search-params/tsconfig.json b/types/url-search-params/tsconfig.json index c67e1d9f93..740ca83a3c 100644 --- a/types/url-search-params/tsconfig.json +++ b/types/url-search-params/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/url-template/tsconfig.json b/types/url-template/tsconfig.json index b6851260ad..38953b850d 100644 --- a/types/url-template/tsconfig.json +++ b/types/url-template/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/urlrouter/tsconfig.json b/types/urlrouter/tsconfig.json index dbb5bdd0f0..50a3f65086 100644 --- a/types/urlrouter/tsconfig.json +++ b/types/urlrouter/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/urlsafe-base64/tsconfig.json b/types/urlsafe-base64/tsconfig.json index a3a79d6fb0..e6f2a198e1 100644 --- a/types/urlsafe-base64/tsconfig.json +++ b/types/urlsafe-base64/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/usage/tsconfig.json b/types/usage/tsconfig.json index 417ff3267d..7561c99214 100644 --- a/types/usage/tsconfig.json +++ b/types/usage/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/usb/tsconfig.json b/types/usb/tsconfig.json index ba316ad2d1..9f947b89c9 100644 --- a/types/usb/tsconfig.json +++ b/types/usb/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/user-home/tsconfig.json b/types/user-home/tsconfig.json index dd35bdbe98..5c0c14bf5a 100644 --- a/types/user-home/tsconfig.json +++ b/types/user-home/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/useragent/tsconfig.json b/types/useragent/tsconfig.json index 5ce0443620..fd725c4da8 100644 --- a/types/useragent/tsconfig.json +++ b/types/useragent/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/username/tsconfig.json b/types/username/tsconfig.json index f1ff2eeb4a..0a46097968 100644 --- a/types/username/tsconfig.json +++ b/types/username/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/utf8/tsconfig.json b/types/utf8/tsconfig.json index 673b72ce14..b4634105f5 100644 --- a/types/utf8/tsconfig.json +++ b/types/utf8/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/util-deprecate/tsconfig.json b/types/util-deprecate/tsconfig.json index cdfa8aa957..7b8b39ca61 100644 --- a/types/util-deprecate/tsconfig.json +++ b/types/util-deprecate/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/util.promisify/tsconfig.json b/types/util.promisify/tsconfig.json index 041c10a94c..b8cee6891a 100644 --- a/types/util.promisify/tsconfig.json +++ b/types/util.promisify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/utils-merge/tsconfig.json b/types/utils-merge/tsconfig.json index a841cf3ef3..fa40077e48 100644 --- a/types/utils-merge/tsconfig.json +++ b/types/utils-merge/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/uuid-1345/tsconfig.json b/types/uuid-1345/tsconfig.json index cd69f6f3b8..6fd0136d4e 100644 --- a/types/uuid-1345/tsconfig.json +++ b/types/uuid-1345/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/uuid-js/tsconfig.json b/types/uuid-js/tsconfig.json index 959ae5bc26..ee78ac4113 100644 --- a/types/uuid-js/tsconfig.json +++ b/types/uuid-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/uuid-validate/tsconfig.json b/types/uuid-validate/tsconfig.json index 037d808448..a129079a1a 100644 --- a/types/uuid-validate/tsconfig.json +++ b/types/uuid-validate/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/uuid/tsconfig.json b/types/uuid/tsconfig.json index ce6d909022..af61a51407 100644 --- a/types/uuid/tsconfig.json +++ b/types/uuid/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/uuid/v2/tsconfig.json b/types/uuid/v2/tsconfig.json index 06847b515e..ffa82a6a67 100644 --- a/types/uuid/v2/tsconfig.json +++ b/types/uuid/v2/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/uws/tsconfig.json b/types/uws/tsconfig.json index fe7f021800..1c38e2d321 100644 --- a/types/uws/tsconfig.json +++ b/types/uws/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/v8-profiler/tsconfig.json b/types/v8-profiler/tsconfig.json index 0d065aaad5..f4ea0c2893 100644 --- a/types/v8-profiler/tsconfig.json +++ b/types/v8-profiler/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/valdr-message/tsconfig.json b/types/valdr-message/tsconfig.json index ca46410452..34ef984b98 100644 --- a/types/valdr-message/tsconfig.json +++ b/types/valdr-message/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/valdr/tsconfig.json b/types/valdr/tsconfig.json index 0f55a41f43..594114402f 100644 --- a/types/valdr/tsconfig.json +++ b/types/valdr/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/valerie/tsconfig.json b/types/valerie/tsconfig.json index e943ca70f9..fcbf37aabd 100644 --- a/types/valerie/tsconfig.json +++ b/types/valerie/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vali-date/tsconfig.json b/types/vali-date/tsconfig.json index 8e27969380..93c4d19b26 100644 --- a/types/vali-date/tsconfig.json +++ b/types/vali-date/tsconfig.json @@ -16,10 +16,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "vali-date-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/valid-url/tsconfig.json b/types/valid-url/tsconfig.json index 9ae1f983bc..332b718e04 100644 --- a/types/valid-url/tsconfig.json +++ b/types/valid-url/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/validator/tsconfig.json b/types/validator/tsconfig.json index 720a2e79c8..d68741ab73 100644 --- a/types/validator/tsconfig.json +++ b/types/validator/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/validatorjs/tsconfig.json b/types/validatorjs/tsconfig.json index 3fda638aea..c3d504dcda 100644 --- a/types/validatorjs/tsconfig.json +++ b/types/validatorjs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vanilla-modal/tsconfig.json b/types/vanilla-modal/tsconfig.json index f6d7663c4f..f7e86c13ff 100644 --- a/types/vanilla-modal/tsconfig.json +++ b/types/vanilla-modal/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames" : true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "vanilla-modal-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/vanilla-tilt/tsconfig.json b/types/vanilla-tilt/tsconfig.json index 71d85c07ab..ef19bb7da0 100644 --- a/types/vanilla-tilt/tsconfig.json +++ b/types/vanilla-tilt/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vary/tsconfig.json b/types/vary/tsconfig.json index 8dc896220b..59cc82837f 100644 --- a/types/vary/tsconfig.json +++ b/types/vary/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vast-client/tsconfig.json b/types/vast-client/tsconfig.json index 106b26913c..3a09e03c3c 100644 --- a/types/vast-client/tsconfig.json +++ b/types/vast-client/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vec3/tsconfig.json b/types/vec3/tsconfig.json index 05cbd739f7..b1fb708c01 100644 --- a/types/vec3/tsconfig.json +++ b/types/vec3/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vectorious/tsconfig.json b/types/vectorious/tsconfig.json index 6b0974b0ac..5bea81f889 100644 --- a/types/vectorious/tsconfig.json +++ b/types/vectorious/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vega/tsconfig.json b/types/vega/tsconfig.json index f49e5e811b..9dcac260ef 100644 --- a/types/vega/tsconfig.json +++ b/types/vega/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/velocity-animate/tsconfig.json b/types/velocity-animate/tsconfig.json index a43f8fa036..7c187828bf 100644 --- a/types/velocity-animate/tsconfig.json +++ b/types/velocity-animate/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/verror/tsconfig.json b/types/verror/tsconfig.json index 478972649d..b153f53b9f 100644 --- a/types/verror/tsconfig.json +++ b/types/verror/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vertx3-eventbus-client/tsconfig.json b/types/vertx3-eventbus-client/tsconfig.json index b7e963d3d4..e9b964e3c3 100644 --- a/types/vertx3-eventbus-client/tsconfig.json +++ b/types/vertx3-eventbus-client/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vex-js/tsconfig.json b/types/vex-js/tsconfig.json index bb63a4aad4..430a00a8d5 100644 --- a/types/vex-js/tsconfig.json +++ b/types/vex-js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vexflow/tsconfig.json b/types/vexflow/tsconfig.json index 6ca1cf5f8a..b5ba3901e8 100644 --- a/types/vexflow/tsconfig.json +++ b/types/vexflow/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vfile-location/tsconfig.json b/types/vfile-location/tsconfig.json index 92cec7ddc0..7252641d87 100644 --- a/types/vfile-location/tsconfig.json +++ b/types/vfile-location/tsconfig.json @@ -1,16 +1,24 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6"], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, - "files": ["index.d.ts", "vfile-location-tests.ts"] -} + "files": [ + "index.d.ts", + "vfile-location-tests.ts" + ] +} \ No newline at end of file diff --git a/types/vfile/tsconfig.json b/types/vfile/tsconfig.json index 7f30404056..e62d572e9b 100644 --- a/types/vfile/tsconfig.json +++ b/types/vfile/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/victor/tsconfig.json b/types/victor/tsconfig.json index 8ce6a32927..9b86a76639 100644 --- a/types/victor/tsconfig.json +++ b/types/victor/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/victory/tsconfig.json b/types/victory/tsconfig.json index a12b6074c7..dbbaf6add2 100644 --- a/types/victory/tsconfig.json +++ b/types/victory/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/video.js/tsconfig.json b/types/video.js/tsconfig.json index 3946d11571..da68448904 100644 --- a/types/video.js/tsconfig.json +++ b/types/video.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/viewability-helper/tsconfig.json b/types/viewability-helper/tsconfig.json index fd64db5703..a37725baf8 100644 --- a/types/viewability-helper/tsconfig.json +++ b/types/viewability-helper/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/viewerjs/tsconfig.json b/types/viewerjs/tsconfig.json index 144a0a0fc1..2c141853b1 100644 --- a/types/viewerjs/tsconfig.json +++ b/types/viewerjs/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/viewporter/tsconfig.json b/types/viewporter/tsconfig.json index cd83af4238..fea9cb0f51 100644 --- a/types/viewporter/tsconfig.json +++ b/types/viewporter/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vimeo/tsconfig.json b/types/vimeo/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/vimeo/tsconfig.json +++ b/types/vimeo/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/vimeo__player/tsconfig.json b/types/vimeo__player/tsconfig.json index d2875c251f..a68c91b1a3 100644 --- a/types/vimeo__player/tsconfig.json +++ b/types/vimeo__player/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vinyl-buffer/tsconfig.json b/types/vinyl-buffer/tsconfig.json index e96042ec50..56c104a5cc 100644 --- a/types/vinyl-buffer/tsconfig.json +++ b/types/vinyl-buffer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vinyl-fs/tsconfig.json b/types/vinyl-fs/tsconfig.json index 6f041838fd..29fcea4ba0 100644 --- a/types/vinyl-fs/tsconfig.json +++ b/types/vinyl-fs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vinyl-paths/tsconfig.json b/types/vinyl-paths/tsconfig.json index 520193e6cf..6c6875786c 100644 --- a/types/vinyl-paths/tsconfig.json +++ b/types/vinyl-paths/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vinyl-source-stream/tsconfig.json b/types/vinyl-source-stream/tsconfig.json index 8167f27eeb..86849e80e8 100644 --- a/types/vinyl-source-stream/tsconfig.json +++ b/types/vinyl-source-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vinyl/tsconfig.json b/types/vinyl/tsconfig.json index 7386da20a1..affd19f7aa 100644 --- a/types/vinyl/tsconfig.json +++ b/types/vinyl/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vinyl/v0/tsconfig.json b/types/vinyl/v0/tsconfig.json index a8d30ed9bb..929b893957 100644 --- a/types/vinyl/v0/tsconfig.json +++ b/types/vinyl/v0/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/virtual-dom/tsconfig.json b/types/virtual-dom/tsconfig.json index e48bf32e57..57e997f685 100644 --- a/types/virtual-dom/tsconfig.json +++ b/types/virtual-dom/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/virtual-keyboard/tsconfig.json b/types/virtual-keyboard/tsconfig.json index b1eaf0612a..92516f353a 100644 --- a/types/virtual-keyboard/tsconfig.json +++ b/types/virtual-keyboard/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/vis/tsconfig.json b/types/vis/tsconfig.json index 50fd412eee..35a94f84d2 100644 --- a/types/vis/tsconfig.json +++ b/types/vis/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vision/tsconfig.json b/types/vision/tsconfig.json index d00003dd52..77092f0ff4 100644 --- a/types/vision/tsconfig.json +++ b/types/vision/tsconfig.json @@ -14,13 +14,16 @@ ], "types": [], "paths": { - "boom": ["boom/v4"] + "boom": [ + "boom/v4" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "vision-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/vitalsigns/tsconfig.json b/types/vitalsigns/tsconfig.json index 35eb17732d..84bc8daefd 100644 --- a/types/vitalsigns/tsconfig.json +++ b/types/vitalsigns/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vivus/tsconfig.json b/types/vivus/tsconfig.json index a66fa1e203..219e514b68 100644 --- a/types/vivus/tsconfig.json +++ b/types/vivus/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vkbeautify/tsconfig.json b/types/vkbeautify/tsconfig.json index a795394230..03fe9fedaf 100644 --- a/types/vkbeautify/tsconfig.json +++ b/types/vkbeautify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/voca/tsconfig.json b/types/voca/tsconfig.json index 8cd5ac1f19..e2cbf65168 100644 --- a/types/voca/tsconfig.json +++ b/types/voca/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/voronoi-diagram/tsconfig.json b/types/voronoi-diagram/tsconfig.json index 74bb32af15..12eb3f0b52 100644 --- a/types/voronoi-diagram/tsconfig.json +++ b/types/voronoi-diagram/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vortex-web-client/tsconfig.json b/types/vortex-web-client/tsconfig.json index de0989c9b1..ce17ad0232 100644 --- a/types/vortex-web-client/tsconfig.json +++ b/types/vortex-web-client/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/voximplant-websdk/tsconfig.json b/types/voximplant-websdk/tsconfig.json index 28c84ce5a7..df66438237 100644 --- a/types/voximplant-websdk/tsconfig.json +++ b/types/voximplant-websdk/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vue-resource/tsconfig.json b/types/vue-resource/tsconfig.json index 62b9761326..5c248ee34e 100644 --- a/types/vue-resource/tsconfig.json +++ b/types/vue-resource/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/vue-scrollto/tsconfig.json b/types/vue-scrollto/tsconfig.json index fd030de5e6..c855fcc8fc 100644 --- a/types/vue-scrollto/tsconfig.json +++ b/types/vue-scrollto/tsconfig.json @@ -3,7 +3,7 @@ "module": "commonjs", "lib": [ "es6", - "dom" + "dom" ], "noImplicitAny": true, "noImplicitThis": true, @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "vue-scrollto-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/vuex-i18n/tsconfig.json b/types/vuex-i18n/tsconfig.json index 9f8f6eb2fd..063a09918d 100644 --- a/types/vuex-i18n/tsconfig.json +++ b/types/vuex-i18n/tsconfig.json @@ -16,7 +16,8 @@ "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/w2ui/tsconfig.json b/types/w2ui/tsconfig.json index e5a6f41e44..daa4d80fad 100644 --- a/types/w2ui/tsconfig.json +++ b/types/w2ui/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/w3c-generic-sensor/tsconfig.json b/types/w3c-generic-sensor/tsconfig.json index 4a33837faa..604d3c63c3 100644 --- a/types/w3c-generic-sensor/tsconfig.json +++ b/types/w3c-generic-sensor/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/w3c-image-capture/tsconfig.json b/types/w3c-image-capture/tsconfig.json index 1dc1d0ce51..60aaabe0e8 100644 --- a/types/w3c-image-capture/tsconfig.json +++ b/types/w3c-image-capture/tsconfig.json @@ -15,10 +15,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "w3c-image-capture-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/w3c-screen-orientation/tsconfig.json b/types/w3c-screen-orientation/tsconfig.json index fa84e114b1..fdbf5ace6e 100644 --- a/types/w3c-screen-orientation/tsconfig.json +++ b/types/w3c-screen-orientation/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/w3c-web-usb/tsconfig.json b/types/w3c-web-usb/tsconfig.json index dc162699e6..d6a5a0c8ac 100644 --- a/types/w3c-web-usb/tsconfig.json +++ b/types/w3c-web-usb/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/waitme/tsconfig.json b/types/waitme/tsconfig.json index 3ca35aebea..7d10c325d3 100644 --- a/types/waitme/tsconfig.json +++ b/types/waitme/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/wake_on_lan/tsconfig.json b/types/wake_on_lan/tsconfig.json index 0b9e2067fd..502a9625fd 100644 --- a/types/wake_on_lan/tsconfig.json +++ b/types/wake_on_lan/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/wallabyjs/tsconfig.json b/types/wallabyjs/tsconfig.json index 903d0deaf0..c3465b310e 100644 --- a/types/wallabyjs/tsconfig.json +++ b/types/wallabyjs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/wallpaper/tsconfig.json b/types/wallpaper/tsconfig.json index ace8bd1f01..04f9bf385c 100644 --- a/types/wallpaper/tsconfig.json +++ b/types/wallpaper/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/wampy/tsconfig.json b/types/wampy/tsconfig.json index b324433f07..50fc531710 100644 --- a/types/wampy/tsconfig.json +++ b/types/wampy/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/warning/tsconfig.json b/types/warning/tsconfig.json index 68b31c6a27..51ecd5f0c5 100644 --- a/types/warning/tsconfig.json +++ b/types/warning/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/watch/tsconfig.json b/types/watch/tsconfig.json index 776b11b37f..0951f2ae4b 100644 --- a/types/watch/tsconfig.json +++ b/types/watch/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/watchify/tsconfig.json b/types/watchify/tsconfig.json index 73fd603cc8..224cf4ffd4 100644 --- a/types/watchify/tsconfig.json +++ b/types/watchify/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/watchpack/tsconfig.json b/types/watchpack/tsconfig.json index a9011453a0..cd7d18ed93 100644 --- a/types/watchpack/tsconfig.json +++ b/types/watchpack/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/waterline/tsconfig.json b/types/waterline/tsconfig.json index 2cdcfaa2d4..836daa79e3 100644 --- a/types/waterline/tsconfig.json +++ b/types/waterline/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/watson-developer-cloud/tsconfig.json b/types/watson-developer-cloud/tsconfig.json index 005bf02ffe..2343c037c6 100644 --- a/types/watson-developer-cloud/tsconfig.json +++ b/types/watson-developer-cloud/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/waypoints/tsconfig.json b/types/waypoints/tsconfig.json index 4acd5d77b4..e0c26c5097 100644 --- a/types/waypoints/tsconfig.json +++ b/types/waypoints/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/wcwidth/tsconfig.json b/types/wcwidth/tsconfig.json index 8088cd3cc1..7583c539b4 100644 --- a/types/wcwidth/tsconfig.json +++ b/types/wcwidth/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/weak/tsconfig.json b/types/weak/tsconfig.json index 33d1a4cdf3..5118b7cd06 100644 --- a/types/weak/tsconfig.json +++ b/types/weak/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "weak-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/weapp-api/tsconfig.json b/types/weapp-api/tsconfig.json index ef43ffab75..53181e7140 100644 --- a/types/weapp-api/tsconfig.json +++ b/types/weapp-api/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/web-animations-js/tsconfig.json b/types/web-animations-js/tsconfig.json index defb1340f7..d5ca47dc24 100644 --- a/types/web-animations-js/tsconfig.json +++ b/types/web-animations-js/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/web-bluetooth/tsconfig.json b/types/web-bluetooth/tsconfig.json index cb97fe1d0e..51b4d904d9 100644 --- a/types/web-bluetooth/tsconfig.json +++ b/types/web-bluetooth/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webappsec-credential-management/tsconfig.json b/types/webappsec-credential-management/tsconfig.json index dba66cad28..9647444457 100644 --- a/types/webappsec-credential-management/tsconfig.json +++ b/types/webappsec-credential-management/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webassembly-js-api/tsconfig.json b/types/webassembly-js-api/tsconfig.json index 286d2c0fb4..9802a74b03 100644 --- a/types/webassembly-js-api/tsconfig.json +++ b/types/webassembly-js-api/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webcl/tsconfig.json b/types/webcl/tsconfig.json index cd88a172a7..3aed0c2e27 100644 --- a/types/webcl/tsconfig.json +++ b/types/webcl/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webcomponents.js/tsconfig.json b/types/webcomponents.js/tsconfig.json index 7905e2ea0d..5e929791b7 100644 --- a/types/webcomponents.js/tsconfig.json +++ b/types/webcomponents.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webcrypto/tsconfig.json b/types/webcrypto/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/webcrypto/tsconfig.json +++ b/types/webcrypto/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/webdriverio/tsconfig.json b/types/webdriverio/tsconfig.json index 654e7fc599..03c5a63ec2 100644 --- a/types/webdriverio/tsconfig.json +++ b/types/webdriverio/tsconfig.json @@ -16,6 +16,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "target": "es2015" }, "files": [ diff --git a/types/webfontloader/tsconfig.json b/types/webfontloader/tsconfig.json index 11a2a05131..f2eceb3810 100644 --- a/types/webfontloader/tsconfig.json +++ b/types/webfontloader/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webgl-ext/tsconfig.json b/types/webgl-ext/tsconfig.json index 6c8b906888..c6f8843f7a 100644 --- a/types/webgl-ext/tsconfig.json +++ b/types/webgl-ext/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webgl2/tsconfig.json b/types/webgl2/tsconfig.json index 097828d97b..1610e90df4 100644 --- a/types/webgl2/tsconfig.json +++ b/types/webgl2/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webmidi/tsconfig.json b/types/webmidi/tsconfig.json index f7669ef043..d8866e8bf0 100644 --- a/types/webmidi/tsconfig.json +++ b/types/webmidi/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webpack-bundle-analyzer/tsconfig.json b/types/webpack-bundle-analyzer/tsconfig.json index a1bea1a472..efaef323a6 100644 --- a/types/webpack-bundle-analyzer/tsconfig.json +++ b/types/webpack-bundle-analyzer/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webpack-chain/tsconfig.json b/types/webpack-chain/tsconfig.json index 45d1deba96..ac5b5af8a0 100644 --- a/types/webpack-chain/tsconfig.json +++ b/types/webpack-chain/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webpack-chunk-hash/tsconfig.json b/types/webpack-chunk-hash/tsconfig.json index 3d85a2216d..138bc94dc8 100644 --- a/types/webpack-chunk-hash/tsconfig.json +++ b/types/webpack-chunk-hash/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webpack-cleanup-plugin/tsconfig.json b/types/webpack-cleanup-plugin/tsconfig.json index f2712d3d73..3421df6c6b 100644 --- a/types/webpack-cleanup-plugin/tsconfig.json +++ b/types/webpack-cleanup-plugin/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "webpack-cleanup-plugin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/webpack-dev-middleware/tsconfig.json b/types/webpack-dev-middleware/tsconfig.json index 1688c1d7f3..f65edd0eff 100644 --- a/types/webpack-dev-middleware/tsconfig.json +++ b/types/webpack-dev-middleware/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webpack-dev-middleware/v1/tsconfig.json b/types/webpack-dev-middleware/v1/tsconfig.json index 32d37ba3c6..b1e6c31942 100644 --- a/types/webpack-dev-middleware/v1/tsconfig.json +++ b/types/webpack-dev-middleware/v1/tsconfig.json @@ -19,7 +19,8 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webpack-dev-server/tsconfig.json b/types/webpack-dev-server/tsconfig.json index 93410e23ab..ad6295996f 100644 --- a/types/webpack-dev-server/tsconfig.json +++ b/types/webpack-dev-server/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webpack-dotenv-plugin/tsconfig.json b/types/webpack-dotenv-plugin/tsconfig.json index f0b09e0b58..32a3d18337 100644 --- a/types/webpack-dotenv-plugin/tsconfig.json +++ b/types/webpack-dotenv-plugin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webpack-env/tsconfig.json b/types/webpack-env/tsconfig.json index aaf60b78e5..51bb72d45f 100644 --- a/types/webpack-env/tsconfig.json +++ b/types/webpack-env/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webpack-fail-plugin/tsconfig.json b/types/webpack-fail-plugin/tsconfig.json index ebd98cd575..7637957700 100644 --- a/types/webpack-fail-plugin/tsconfig.json +++ b/types/webpack-fail-plugin/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webpack-hot-middleware/tsconfig.json b/types/webpack-hot-middleware/tsconfig.json index a1d77f8b64..0170009379 100644 --- a/types/webpack-hot-middleware/tsconfig.json +++ b/types/webpack-hot-middleware/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webpack-manifest-plugin/tsconfig.json b/types/webpack-manifest-plugin/tsconfig.json index 9ff3d85f05..e39a8941f9 100644 --- a/types/webpack-manifest-plugin/tsconfig.json +++ b/types/webpack-manifest-plugin/tsconfig.json @@ -14,10 +14,11 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ "index.d.ts", "webpack-manifest-plugin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/webpack-merge/tsconfig.json b/types/webpack-merge/tsconfig.json index 750b2e26f0..2d44b17510 100644 --- a/types/webpack-merge/tsconfig.json +++ b/types/webpack-merge/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webpack-merge/v0/tsconfig.json b/types/webpack-merge/v0/tsconfig.json index f977c6a9f2..aec7b6ab4c 100644 --- a/types/webpack-merge/v0/tsconfig.json +++ b/types/webpack-merge/v0/tsconfig.json @@ -22,7 +22,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webpack-node-externals/tsconfig.json b/types/webpack-node-externals/tsconfig.json index f8b3349a6b..aef0527d73 100644 --- a/types/webpack-node-externals/tsconfig.json +++ b/types/webpack-node-externals/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webpack-notifier/tsconfig.json b/types/webpack-notifier/tsconfig.json index ca18204781..b4e32ec724 100644 --- a/types/webpack-notifier/tsconfig.json +++ b/types/webpack-notifier/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webpack-sources/tsconfig.json b/types/webpack-sources/tsconfig.json index 10a0ad4302..daef83194f 100644 --- a/types/webpack-sources/tsconfig.json +++ b/types/webpack-sources/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webpack-stream/tsconfig.json b/types/webpack-stream/tsconfig.json index b166f37967..f5356da28b 100644 --- a/types/webpack-stream/tsconfig.json +++ b/types/webpack-stream/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webpack-validator/tsconfig.json b/types/webpack-validator/tsconfig.json index 63f41272d6..703f9135eb 100644 --- a/types/webpack-validator/tsconfig.json +++ b/types/webpack-validator/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webpack/tsconfig.json b/types/webpack/tsconfig.json index 4cf3324827..45d3fa8887 100644 --- a/types/webpack/tsconfig.json +++ b/types/webpack/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webrtc/tsconfig.json b/types/webrtc/tsconfig.json index b8074fbae2..24a48fd35e 100644 --- a/types/webrtc/tsconfig.json +++ b/types/webrtc/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/website-scraper/tsconfig.json b/types/website-scraper/tsconfig.json index 19651124e1..eb9ddfea7b 100644 --- a/types/website-scraper/tsconfig.json +++ b/types/website-scraper/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/websocket/tsconfig.json b/types/websocket/tsconfig.json index b567131872..c4a7965e55 100644 --- a/types/websocket/tsconfig.json +++ b/types/websocket/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webspeechapi/tsconfig.json b/types/webspeechapi/tsconfig.json index f1a86255f3..1435974552 100644 --- a/types/webspeechapi/tsconfig.json +++ b/types/webspeechapi/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/websql/tsconfig.json b/types/websql/tsconfig.json index e82ff7c0ec..fdcf91758e 100644 --- a/types/websql/tsconfig.json +++ b/types/websql/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webtorrent/tsconfig.json b/types/webtorrent/tsconfig.json index 3648235528..00006dbf7a 100644 --- a/types/webtorrent/tsconfig.json +++ b/types/webtorrent/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/webvr-api/tsconfig.json b/types/webvr-api/tsconfig.json index 38b2249654..0c8de8fcd9 100644 --- a/types/webvr-api/tsconfig.json +++ b/types/webvr-api/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/week/tsconfig.json b/types/week/tsconfig.json index 75a301476e..fb8eb4d398 100644 --- a/types/week/tsconfig.json +++ b/types/week/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/weighted/tsconfig.json b/types/weighted/tsconfig.json index b9f440df8f..4a23926d2b 100644 --- a/types/weighted/tsconfig.json +++ b/types/weighted/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/weixin-app/tsconfig.json b/types/weixin-app/tsconfig.json index 4b2efcd908..18fd585a99 100644 --- a/types/weixin-app/tsconfig.json +++ b/types/weixin-app/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/wellknown/tsconfig.json b/types/wellknown/tsconfig.json index 55ca4fc95d..47ae05b741 100644 --- a/types/wellknown/tsconfig.json +++ b/types/wellknown/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/whatwg-streams/tsconfig.json b/types/whatwg-streams/tsconfig.json index bf84ec6496..51e3a6d6d7 100644 --- a/types/whatwg-streams/tsconfig.json +++ b/types/whatwg-streams/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/wheel/tsconfig.json b/types/wheel/tsconfig.json index 2857ce81c3..b350ba1d89 100644 --- a/types/wheel/tsconfig.json +++ b/types/wheel/tsconfig.json @@ -1,19 +1,25 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "dom"], + "lib": [ + "es5", + "dom" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "wheel-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/when/tsconfig.json b/types/when/tsconfig.json index f903b8862c..f3cd85259d 100644 --- a/types/when/tsconfig.json +++ b/types/when/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/which/tsconfig.json b/types/which/tsconfig.json index 2ee304960e..e7cff3184d 100644 --- a/types/which/tsconfig.json +++ b/types/which/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/why-did-you-update/tsconfig.json b/types/why-did-you-update/tsconfig.json index 936ab93030..b560619601 100644 --- a/types/why-did-you-update/tsconfig.json +++ b/types/why-did-you-update/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/wicg-mediasession/tsconfig.json b/types/wicg-mediasession/tsconfig.json index 2d8373286c..edf2737293 100644 --- a/types/wicg-mediasession/tsconfig.json +++ b/types/wicg-mediasession/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/wiiu/tsconfig.json b/types/wiiu/tsconfig.json index 06a693d673..4396ef637c 100644 --- a/types/wiiu/tsconfig.json +++ b/types/wiiu/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/window-or-global/tsconfig.json b/types/window-or-global/tsconfig.json index 9148664a63..768229cc53 100644 --- a/types/window-or-global/tsconfig.json +++ b/types/window-or-global/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/window-size/tsconfig.json b/types/window-size/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/window-size/tsconfig.json +++ b/types/window-size/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/windows-1251/tsconfig.json b/types/windows-1251/tsconfig.json index 153d7d27e5..cac223b52f 100644 --- a/types/windows-1251/tsconfig.json +++ b/types/windows-1251/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/windows-service/tsconfig.json b/types/windows-service/tsconfig.json index 16d0a0e664..2681d880a2 100644 --- a/types/windows-service/tsconfig.json +++ b/types/windows-service/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/winjs/tsconfig.json b/types/winjs/tsconfig.json index d34d6a1d77..19a01dfff9 100644 --- a/types/winjs/tsconfig.json +++ b/types/winjs/tsconfig.json @@ -18,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/winjs/v1/tsconfig.json b/types/winjs/v1/tsconfig.json index f43a6835b9..2dbeefcadf 100644 --- a/types/winjs/v1/tsconfig.json +++ b/types/winjs/v1/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/winjs/v2/tsconfig.json b/types/winjs/v2/tsconfig.json index 0fe784e5eb..9225246fe9 100644 --- a/types/winjs/v2/tsconfig.json +++ b/types/winjs/v2/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/winreg/tsconfig.json b/types/winreg/tsconfig.json index c1aaeb509e..c745c11a01 100644 --- a/types/winreg/tsconfig.json +++ b/types/winreg/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/winrt-uwp/tsconfig.json b/types/winrt-uwp/tsconfig.json index 0ecda7bfce..ac5d4ad13d 100644 --- a/types/winrt-uwp/tsconfig.json +++ b/types/winrt-uwp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/winrt/tsconfig.json b/types/winrt/tsconfig.json index 361d559f74..0a84251dbb 100644 --- a/types/winrt/tsconfig.json +++ b/types/winrt/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/winston-dynamodb/tsconfig.json b/types/winston-dynamodb/tsconfig.json index 11a92fe7be..40a9e240bf 100644 --- a/types/winston-dynamodb/tsconfig.json +++ b/types/winston-dynamodb/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/winston/tsconfig.json b/types/winston/tsconfig.json index 390e22a274..29d82282fb 100644 --- a/types/winston/tsconfig.json +++ b/types/winston/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/wiredep/tsconfig.json b/types/wiredep/tsconfig.json index f7f4e66431..df4b4fd5f6 100644 --- a/types/wiredep/tsconfig.json +++ b/types/wiredep/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/wiring-pi/tsconfig.json b/types/wiring-pi/tsconfig.json index c0b1d996a4..ae5e273510 100644 --- a/types/wiring-pi/tsconfig.json +++ b/types/wiring-pi/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/wnumb/tsconfig.json b/types/wnumb/tsconfig.json index 59a26d6c92..3cc7088ea3 100644 --- a/types/wnumb/tsconfig.json +++ b/types/wnumb/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/wonder.js/tsconfig.json b/types/wonder.js/tsconfig.json index 01c8dfa305..a67079670c 100644 --- a/types/wonder.js/tsconfig.json +++ b/types/wonder.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/word-list-json/tsconfig.json b/types/word-list-json/tsconfig.json index 8f34d90409..32158b8412 100644 --- a/types/word-list-json/tsconfig.json +++ b/types/word-list-json/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "word-list-json-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/wordcloud/tsconfig.json b/types/wordcloud/tsconfig.json index e4d3526e5e..98547b616f 100644 --- a/types/wordcloud/tsconfig.json +++ b/types/wordcloud/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/words-to-numbers/tsconfig.json b/types/words-to-numbers/tsconfig.json index 90601f2599..ea994452f2 100644 --- a/types/words-to-numbers/tsconfig.json +++ b/types/words-to-numbers/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/wrap-ansi/tsconfig.json b/types/wrap-ansi/tsconfig.json index 8df3c547cc..2fdcdc24f9 100644 --- a/types/wrap-ansi/tsconfig.json +++ b/types/wrap-ansi/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/wreck/tsconfig.json b/types/wreck/tsconfig.json index 7b9aa920a7..69f20514b1 100644 --- a/types/wreck/tsconfig.json +++ b/types/wreck/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/wrench/tsconfig.json b/types/wrench/tsconfig.json index 6f3e1e115c..de7db2f894 100644 --- a/types/wrench/tsconfig.json +++ b/types/wrench/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/write-file-atomic/tsconfig.json b/types/write-file-atomic/tsconfig.json index ef38fa7e14..aa82993a38 100644 --- a/types/write-file-atomic/tsconfig.json +++ b/types/write-file-atomic/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/write-json-file/tsconfig.json b/types/write-json-file/tsconfig.json index 7eca588265..301e2f89f9 100644 --- a/types/write-json-file/tsconfig.json +++ b/types/write-json-file/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ws/tsconfig.json b/types/ws/tsconfig.json index 7ad5917bb1..e3daeefc35 100644 --- a/types/ws/tsconfig.json +++ b/types/ws/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/wtfnode/tsconfig.json b/types/wtfnode/tsconfig.json index 429ee54cb7..bd23bd1fc0 100644 --- a/types/wtfnode/tsconfig.json +++ b/types/wtfnode/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "wtfnode-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/wu/tsconfig.json b/types/wu/tsconfig.json index 87598365cb..709b7b7be1 100644 --- a/types/wu/tsconfig.json +++ b/types/wu/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/wx-js-sdk-dt/tsconfig.json b/types/wx-js-sdk-dt/tsconfig.json index b97e63e9c3..6213a39aa7 100644 --- a/types/wx-js-sdk-dt/tsconfig.json +++ b/types/wx-js-sdk-dt/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/x-editable/tsconfig.json b/types/x-editable/tsconfig.json index 086e95a8b0..182c396698 100644 --- a/types/x-editable/tsconfig.json +++ b/types/x-editable/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/x-ray-crawler/tsconfig.json b/types/x-ray-crawler/tsconfig.json index 3b3a573f0a..f71f2e661f 100644 --- a/types/x-ray-crawler/tsconfig.json +++ b/types/x-ray-crawler/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "x-ray-crawler-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/x-ray/tsconfig.json b/types/x-ray/tsconfig.json index 7dc474842a..2e17e1babc 100644 --- a/types/x-ray/tsconfig.json +++ b/types/x-ray/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "x-ray-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/xdate/tsconfig.json b/types/xdate/tsconfig.json index 6862404dfa..ef5d21bae8 100644 --- a/types/xdate/tsconfig.json +++ b/types/xdate/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xdg-basedir/tsconfig.json b/types/xdg-basedir/tsconfig.json index 67144b1f3f..0e5b0bc4d6 100644 --- a/types/xdg-basedir/tsconfig.json +++ b/types/xdg-basedir/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xdomain/tsconfig.json b/types/xdomain/tsconfig.json index b13ad1fc53..31728666f2 100644 --- a/types/xdomain/tsconfig.json +++ b/types/xdomain/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xml-parser/tsconfig.json b/types/xml-parser/tsconfig.json index 25b8ca0c57..178feab95b 100644 --- a/types/xml-parser/tsconfig.json +++ b/types/xml-parser/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xml/tsconfig.json b/types/xml/tsconfig.json index 408f1bde77..c4d5915c66 100644 --- a/types/xml/tsconfig.json +++ b/types/xml/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xml2js/tsconfig.json b/types/xml2js/tsconfig.json index b6c83dabe5..d8bc65d352 100644 --- a/types/xml2js/tsconfig.json +++ b/types/xml2js/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xml2json/tsconfig.json b/types/xml2json/tsconfig.json index 97da8f14ed..3732af080e 100644 --- a/types/xml2json/tsconfig.json +++ b/types/xml2json/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xmlbuilder/tsconfig.json b/types/xmlbuilder/tsconfig.json index 5b01beda43..bebd886f51 100644 --- a/types/xmlbuilder/tsconfig.json +++ b/types/xmlbuilder/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xmldoc/tsconfig.json b/types/xmldoc/tsconfig.json index ec85b52f4f..c8e417723f 100644 --- a/types/xmldoc/tsconfig.json +++ b/types/xmldoc/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xmldom/tsconfig.json b/types/xmldom/tsconfig.json index eca77a2584..4d87b18b43 100644 --- a/types/xmldom/tsconfig.json +++ b/types/xmldom/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xmlpoke/tsconfig.json b/types/xmlpoke/tsconfig.json index 70dbf19b60..5ee2971212 100644 --- a/types/xmlpoke/tsconfig.json +++ b/types/xmlpoke/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xmlrpc/tsconfig.json b/types/xmlrpc/tsconfig.json index dc38849c0e..a90bc75672 100644 --- a/types/xmlrpc/tsconfig.json +++ b/types/xmlrpc/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xmltojson/tsconfig.json b/types/xmltojson/tsconfig.json index 8614f0feb8..bc48765563 100644 --- a/types/xmltojson/tsconfig.json +++ b/types/xmltojson/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xmpp__jid/tsconfig.json b/types/xmpp__jid/tsconfig.json index 827e25b4fd..0400530759 100644 --- a/types/xmpp__jid/tsconfig.json +++ b/types/xmpp__jid/tsconfig.json @@ -19,7 +19,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xregexp/tsconfig.json b/types/xregexp/tsconfig.json index 08c3876c26..4c08ac93c6 100644 --- a/types/xregexp/tsconfig.json +++ b/types/xregexp/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xrm/tsconfig.json b/types/xrm/tsconfig.json index 3cf6656150..36df26d142 100644 --- a/types/xrm/tsconfig.json +++ b/types/xrm/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/xrm/v6/tsconfig.json b/types/xrm/v6/tsconfig.json index 474c263825..01d24f2e11 100644 --- a/types/xrm/v6/tsconfig.json +++ b/types/xrm/v6/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xrm/v7/tsconfig.json b/types/xrm/v7/tsconfig.json index 7049164db5..fad275bc21 100644 --- a/types/xrm/v7/tsconfig.json +++ b/types/xrm/v7/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xrm/v8/tsconfig.json b/types/xrm/v8/tsconfig.json index b8c9b525fc..9dbcd1c985 100644 --- a/types/xrm/v8/tsconfig.json +++ b/types/xrm/v8/tsconfig.json @@ -24,6 +24,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/xsd-schema-validator/tsconfig.json b/types/xsd-schema-validator/tsconfig.json index cd7f750ca7..2105a8dc2e 100644 --- a/types/xsd-schema-validator/tsconfig.json +++ b/types/xsd-schema-validator/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xsockets/tsconfig.json b/types/xsockets/tsconfig.json index 7d2656429b..1894ff303c 100644 --- a/types/xsockets/tsconfig.json +++ b/types/xsockets/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xss-filters/tsconfig.json b/types/xss-filters/tsconfig.json index 5a09180498..8dd5270571 100644 --- a/types/xss-filters/tsconfig.json +++ b/types/xss-filters/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xtend/tsconfig.json b/types/xtend/tsconfig.json index 68d8e3dea0..96f4e8849c 100644 --- a/types/xtend/tsconfig.json +++ b/types/xtend/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/xxhashjs/tsconfig.json b/types/xxhashjs/tsconfig.json index 10233fe7f4..92d223a31e 100644 --- a/types/xxhashjs/tsconfig.json +++ b/types/xxhashjs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/yallist/tsconfig.json b/types/yallist/tsconfig.json index e1b421b78c..67d337e9e7 100644 --- a/types/yallist/tsconfig.json +++ b/types/yallist/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/yamljs/tsconfig.json b/types/yamljs/tsconfig.json index d617b3128e..edf0dc76d6 100644 --- a/types/yamljs/tsconfig.json +++ b/types/yamljs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/yandex-maps/tsconfig.json b/types/yandex-maps/tsconfig.json index d156097923..1bf62d4f77 100644 --- a/types/yandex-maps/tsconfig.json +++ b/types/yandex-maps/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/yandex-money-sdk/tsconfig.json b/types/yandex-money-sdk/tsconfig.json index e8b7aa37e5..cabc632737 100644 --- a/types/yandex-money-sdk/tsconfig.json +++ b/types/yandex-money-sdk/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/yargs/tsconfig.json b/types/yargs/tsconfig.json index f0fcef8f10..daff5d0a1d 100644 --- a/types/yargs/tsconfig.json +++ b/types/yargs/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "yargs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/yargs/v8/tsconfig.json b/types/yargs/v8/tsconfig.json index 191904df93..49013b4a70 100644 --- a/types/yargs/v8/tsconfig.json +++ b/types/yargs/v8/tsconfig.json @@ -19,10 +19,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "yargs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/yayson/tsconfig.json b/types/yayson/tsconfig.json index 7c8cdbf4a8..984d064d08 100644 --- a/types/yayson/tsconfig.json +++ b/types/yayson/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/ydn-db/tsconfig.json b/types/ydn-db/tsconfig.json index be8afe510b..09ea3337b4 100644 --- a/types/ydn-db/tsconfig.json +++ b/types/ydn-db/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/yeoman-generator/tsconfig.json b/types/yeoman-generator/tsconfig.json index ab104bd246..8539b6dd4f 100644 --- a/types/yeoman-generator/tsconfig.json +++ b/types/yeoman-generator/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/yeoman-test/tsconfig.json b/types/yeoman-test/tsconfig.json index 43c2be3164..c5cb141439 100644 --- a/types/yeoman-test/tsconfig.json +++ b/types/yeoman-test/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/yog-bigpipe/tsconfig.json b/types/yog-bigpipe/tsconfig.json index 74dfc3ae1e..c45bd9de69 100644 --- a/types/yog-bigpipe/tsconfig.json +++ b/types/yog-bigpipe/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/yog-log/tsconfig.json b/types/yog-log/tsconfig.json index 056d458bf6..8e78df5624 100644 --- a/types/yog-log/tsconfig.json +++ b/types/yog-log/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/yog2-kernel/tsconfig.json b/types/yog2-kernel/tsconfig.json index 56155a7fec..b3b149bdcb 100644 --- a/types/yog2-kernel/tsconfig.json +++ b/types/yog2-kernel/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/yosay/tsconfig.json b/types/yosay/tsconfig.json index 884e37fabf..20a91a2203 100644 --- a/types/yosay/tsconfig.json +++ b/types/yosay/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/youtube-dl/tsconfig.json b/types/youtube-dl/tsconfig.json index 2634bd2234..38ff7be5c1 100644 --- a/types/youtube-dl/tsconfig.json +++ b/types/youtube-dl/tsconfig.json @@ -5,7 +5,9 @@ ], "compilerOptions": { "module": "commonjs", - "lib": ["es6"], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, @@ -16,6 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/youtube/tsconfig.json b/types/youtube/tsconfig.json index 82e6284376..bbed57fc93 100644 --- a/types/youtube/tsconfig.json +++ b/types/youtube/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/yui/tsconfig.json b/types/yui/tsconfig.json index 02963e3afd..352332b6c7 100644 --- a/types/yui/tsconfig.json +++ b/types/yui/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts" diff --git a/types/yup/tsconfig.json b/types/yup/tsconfig.json index c0aa18bfc2..4c10bc70c7 100644 --- a/types/yup/tsconfig.json +++ b/types/yup/tsconfig.json @@ -14,6 +14,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ @@ -21,4 +22,4 @@ "lib/customLocale.d.ts", "yup-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/z-schema/tsconfig.json b/types/z-schema/tsconfig.json index 54782d4c86..e96a6c3643 100644 --- a/types/z-schema/tsconfig.json +++ b/types/z-schema/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/zapier-platform-core/tsconfig.json b/types/zapier-platform-core/tsconfig.json index c197914893..d4ce3793e1 100644 --- a/types/zapier-platform-core/tsconfig.json +++ b/types/zapier-platform-core/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/zen-observable/tsconfig.json b/types/zen-observable/tsconfig.json index 8f7b9ad757..b31226f4a1 100644 --- a/types/zen-observable/tsconfig.json +++ b/types/zen-observable/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/zen-push/tsconfig.json b/types/zen-push/tsconfig.json index d3e8efb833..ab99022dc4 100644 --- a/types/zen-push/tsconfig.json +++ b/types/zen-push/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "zen-push-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/zenscroll/tsconfig.json b/types/zenscroll/tsconfig.json index 89fc59c020..0629a445a4 100644 --- a/types/zenscroll/tsconfig.json +++ b/types/zenscroll/tsconfig.json @@ -8,17 +8,18 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, - "strictFunctionTypes": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", - "zenscroll-tests.ts" + "zenscroll-tests.ts" ] } \ No newline at end of file diff --git a/types/zepto/tsconfig.json b/types/zepto/tsconfig.json index cc7da64133..c2da9656bf 100644 --- a/types/zepto/tsconfig.json +++ b/types/zepto/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/zeroclipboard/tsconfig.json b/types/zeroclipboard/tsconfig.json index 135f2186a1..4844201b54 100644 --- a/types/zeroclipboard/tsconfig.json +++ b/types/zeroclipboard/tsconfig.json @@ -19,6 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true } } \ No newline at end of file diff --git a/types/zeroclipboard/v1/tsconfig.json b/types/zeroclipboard/v1/tsconfig.json index 357f8f8784..70c6d4cc6a 100644 --- a/types/zeroclipboard/v1/tsconfig.json +++ b/types/zeroclipboard/v1/tsconfig.json @@ -20,7 +20,8 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/zeromq/tsconfig.json b/types/zeromq/tsconfig.json index ada0d8a1c7..8191817265 100644 --- a/types/zeromq/tsconfig.json +++ b/types/zeromq/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/zip.js/tsconfig.json b/types/zip.js/tsconfig.json index a655a790d8..ef85f2f086 100644 --- a/types/zip.js/tsconfig.json +++ b/types/zip.js/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/zipcodes/tsconfig.json b/types/zipcodes/tsconfig.json index ff98ed05f8..8c2869c026 100644 --- a/types/zipcodes/tsconfig.json +++ b/types/zipcodes/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "zipcodes-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "zipcodes-tests.ts" + ] } \ No newline at end of file diff --git a/types/zipkin-context-cls/tsconfig.json b/types/zipkin-context-cls/tsconfig.json index 6cd3375b4f..5b2ca84bc2 100644 --- a/types/zipkin-context-cls/tsconfig.json +++ b/types/zipkin-context-cls/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "zipkin-context-cls-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/zipkin-instrumentation-express/tsconfig.json b/types/zipkin-instrumentation-express/tsconfig.json index 8038e5a2cd..16d973e846 100644 --- a/types/zipkin-instrumentation-express/tsconfig.json +++ b/types/zipkin-instrumentation-express/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "zipkin-instrumentation-express-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/zipkin-instrumentation-fetch/tsconfig.json b/types/zipkin-instrumentation-fetch/tsconfig.json index 1cf310ea24..c334eb552c 100644 --- a/types/zipkin-instrumentation-fetch/tsconfig.json +++ b/types/zipkin-instrumentation-fetch/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "zipkin-instrumentation-fetch-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/zipkin-transport-http/tsconfig.json b/types/zipkin-transport-http/tsconfig.json index 4f892dbef3..8d1b312d10 100644 --- a/types/zipkin-transport-http/tsconfig.json +++ b/types/zipkin-transport-http/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "zipkin-transport-http-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/zmq/tsconfig.json b/types/zmq/tsconfig.json index 03a35a4048..1224fce889 100644 --- a/types/zmq/tsconfig.json +++ b/types/zmq/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/zookeeper/tsconfig.json b/types/zookeeper/tsconfig.json index 281f393e23..c3c04d56cc 100644 --- a/types/zookeeper/tsconfig.json +++ b/types/zookeeper/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "zookeeper-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/zui/tsconfig.json b/types/zui/tsconfig.json index a2d866908a..32b9886589 100644 --- a/types/zui/tsconfig.json +++ b/types/zui/tsconfig.json @@ -16,7 +16,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/zxcvbn/tsconfig.json b/types/zxcvbn/tsconfig.json index 72bae94375..9361d06492 100644 --- a/types/zxcvbn/tsconfig.json +++ b/types/zxcvbn/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "zxcvbn-tests.ts" ] -} +} \ No newline at end of file From c15ee71643761c9f6e63cc171f0cbb6d4a3296bd Mon Sep 17 00:00:00 2001 From: Arturas Molcanovas Date: Mon, 5 Feb 2018 19:56:40 +0000 Subject: [PATCH 161/463] Add buffer output support --- types/node/v6/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/node/v6/index.d.ts b/types/node/v6/index.d.ts index 187bd24c4d..480bfa3cbd 100644 --- a/types/node/v6/index.d.ts +++ b/types/node/v6/index.d.ts @@ -2597,7 +2597,9 @@ declare module "fs" { export function mkdtempSync(prefix: string): string; export function readdir(path: string | Buffer, callback?: (err: NodeJS.ErrnoException, files: string[]) => void): void; export function readdir(path: string | Buffer, opts: string | {encoding?: string}, callback?: (err: NodeJS.ErrnoException, files: string[]) => void): void; + export function readdir(path: string | Buffer, opts: {encoding: 'buffer'}, callback?: (err: NodeJS.ErrnoException, files: Buffer[]) => void): void; export function readdirSync(path: string | Buffer, opts?: string | {encoding?: string}): string[]; + export function readdirSync(path: string | Buffer, opts: {encoding: 'buffer'}): Buffer[]; 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; From 16f4c65202fc31dc71bab491e1ed1cc34c513e52 Mon Sep 17 00:00:00 2001 From: Arturas Molcanovas Date: Mon, 5 Feb 2018 20:00:26 +0000 Subject: [PATCH 162/463] add string buffer --- types/node/v6/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/node/v6/index.d.ts b/types/node/v6/index.d.ts index 116ca17c34..3257791daa 100644 --- a/types/node/v6/index.d.ts +++ b/types/node/v6/index.d.ts @@ -2598,9 +2598,9 @@ declare module "fs" { export function mkdtempSync(prefix: string): string; export function readdir(path: string | Buffer, callback?: (err: NodeJS.ErrnoException, files: string[]) => void): void; export function readdir(path: string | Buffer, opts: string | {encoding?: string}, callback?: (err: NodeJS.ErrnoException, files: string[]) => void): void; - export function readdir(path: string | Buffer, opts: {encoding: 'buffer'}, callback?: (err: NodeJS.ErrnoException, files: Buffer[]) => void): void; + export function readdir(path: string | Buffer, opts: 'buffer' | {encoding: 'buffer'}, callback?: (err: NodeJS.ErrnoException, files: Buffer[]) => void): void; export function readdirSync(path: string | Buffer, opts?: string | {encoding?: string}): string[]; - export function readdirSync(path: string | Buffer, opts: {encoding: 'buffer'}): Buffer[]; + export function readdirSync(path: string | Buffer, opts: 'buffer' | {encoding: 'buffer'}): Buffer[]; 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; From 4f7ef19cc76baad6ec000012bcd45f95290bf67d Mon Sep 17 00:00:00 2001 From: Piotr Roszatycki Date: Mon, 5 Feb 2018 21:25:49 +0100 Subject: [PATCH 163/463] New typings for readline-transform --- types/readline-transform/index.d.ts | 25 +++++++++++++++++++ .../readline-transform-tests.ts | 12 +++++++++ types/readline-transform/tsconfig.json | 23 +++++++++++++++++ types/readline-transform/tslint.json | 6 +++++ 4 files changed, 66 insertions(+) create mode 100644 types/readline-transform/index.d.ts create mode 100644 types/readline-transform/readline-transform-tests.ts create mode 100644 types/readline-transform/tsconfig.json create mode 100644 types/readline-transform/tslint.json diff --git a/types/readline-transform/index.d.ts b/types/readline-transform/index.d.ts new file mode 100644 index 0000000000..d2593055a1 --- /dev/null +++ b/types/readline-transform/index.d.ts @@ -0,0 +1,25 @@ +// Type definitions for readline-transform 0.9 +// Project: https://github.com/tilfin/readline-transform +// Definitions by: Piotr Roszatycki +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// + +import { Transform, TransformOptions } from 'stream'; + +declare namespace ReadlineTransform { + interface Options extends TransformOptions { + /** line break matcher for str.split() (default: /\r?\n/) */ + breakMatcher?: RegExp; + /** if content ends with line break, ignore last empty line (default: true) */ + ignoreEndOfBreak?: boolean; + /** if line is empty string, skip it (default: false) */ + skipEmpty?: boolean; + } +} + +declare class ReadlineTransform extends Transform { + constructor(options?: ReadlineTransform.Options); +} + +export = ReadlineTransform; diff --git a/types/readline-transform/readline-transform-tests.ts b/types/readline-transform/readline-transform-tests.ts new file mode 100644 index 0000000000..fc2b3e0e3a --- /dev/null +++ b/types/readline-transform/readline-transform-tests.ts @@ -0,0 +1,12 @@ +import { PassThrough } from 'stream'; +import ReadlineTransform = require('readline-transform'); + +const readStream = new PassThrough(); +const transform = new ReadlineTransform({ + breakMatcher: /\n/, + ignoreEndOfBreak: false, + skipEmpty: true +}); +const writeStream = new PassThrough({ objectMode: true }); + +readStream.pipe(transform).pipe(writeStream); diff --git a/types/readline-transform/tsconfig.json b/types/readline-transform/tsconfig.json new file mode 100644 index 0000000000..2e76497489 --- /dev/null +++ b/types/readline-transform/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictFunctionTypes": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "readline-transform-tests.ts" + ] +} diff --git a/types/readline-transform/tslint.json b/types/readline-transform/tslint.json new file mode 100644 index 0000000000..bc469d1af1 --- /dev/null +++ b/types/readline-transform/tslint.json @@ -0,0 +1,6 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "strict-export-declare-modifiers": false + } +} \ No newline at end of file From d7479d629783a0217b475872cb15a0f190d22dd2 Mon Sep 17 00:00:00 2001 From: Arturas Molcanovas Date: Mon, 5 Feb 2018 20:50:10 +0000 Subject: [PATCH 164/463] Use readdir types template from v9 --- types/node/v6/index.d.ts | 50 +++++++++++++++++++++++++++++++++---- types/node/v6/node-tests.ts | 15 +++++++++++ 2 files changed, 60 insertions(+), 5 deletions(-) diff --git a/types/node/v6/index.d.ts b/types/node/v6/index.d.ts index 3257791daa..0bd46d0fb7 100644 --- a/types/node/v6/index.d.ts +++ b/types/node/v6/index.d.ts @@ -2596,11 +2596,51 @@ declare module "fs" { * @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 readdir(path: string | Buffer, opts: string | {encoding?: string}, callback?: (err: NodeJS.ErrnoException, files: string[]) => void): void; - export function readdir(path: string | Buffer, opts: 'buffer' | {encoding: 'buffer'}, callback?: (err: NodeJS.ErrnoException, files: Buffer[]) => void): void; - export function readdirSync(path: string | Buffer, opts?: string | {encoding?: string}): string[]; - export function readdirSync(path: string | Buffer, opts: 'buffer' | {encoding: 'buffer'}): Buffer[]; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readdir(path: string | Buffer, options: { encoding: BufferEncoding | null } | BufferEncoding | undefined | null, callback: (err: NodeJS.ErrnoException, files: string[]) => void): void; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readdir(path: string | Buffer, options: { encoding: "buffer" } | "buffer", callback: (err: NodeJS.ErrnoException, files: Buffer[]) => void): void; + + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readdir(path: string | Buffer, options: { encoding?: string | null } | string | undefined | null, callback: (err: NodeJS.ErrnoException, files: Array) => void): void; + + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + export function readdir(path: string | Buffer, callback: (err: NodeJS.ErrnoException, files: string[]) => void): void; + /** + * Synchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readdirSync(path: string | Buffer, options?: { encoding: BufferEncoding | null } | BufferEncoding | null): string[]; + + /** + * Synchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readdirSync(path: string | Buffer, options: { encoding: "buffer" } | "buffer"): Buffer[]; + + /** + * Synchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readdirSync(path: string | Buffer, options?: { encoding?: string | null } | string | null): Array; 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; diff --git a/types/node/v6/node-tests.ts b/types/node/v6/node-tests.ts index 34a62bf88d..bc20fadb1b 100644 --- a/types/node/v6/node-tests.ts +++ b/types/node/v6/node-tests.ts @@ -218,6 +218,21 @@ namespace fs_tests { fs.readFile('testfile', { flag: 'r' }, (err, data) => buffer = data); } + { + fs.readdir('foo', (err: any, files: string[]) => {}) + fs.readdir('foo', 'utf8', (err: any, files: string[]) => {}); + fs.readdir('foo', {encoding: 'utf8'}, (err: any, files: string[]) => {}); + fs.readdir('foo', 'buffer', (err: any, files: Buffer[]) => {}); + fs.readdir('foo', {encoding: 'buffer'}, (err: any, files: Buffer[]) => {}); + + let fsStringOut: string[] = fs.readdirSync('utf8'); + fsStringOut = fs.readdirSync('foo', 'utf8'); + fsStringOut = fs.readdirSync('foo', {encoding: 'utf8'}); + + let fsBufferOut: Buffer[] = fs.readdirSync('utf8', 'buffer'); + fsBufferOut = fs.readdirSync('foo', {encoding: 'buffer'}); + } + { var errno: number; fs.readFile('testfile', (err, data) => { From 760d1d490dfb8b6101ef82f085df15cbfa3a5183 Mon Sep 17 00:00:00 2001 From: Arturas Molcanovas Date: Mon, 5 Feb 2018 20:53:26 +0000 Subject: [PATCH 165/463] Fix path docs --- types/node/v6/index.d.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/types/node/v6/index.d.ts b/types/node/v6/index.d.ts index 0bd46d0fb7..dcf79a696c 100644 --- a/types/node/v6/index.d.ts +++ b/types/node/v6/index.d.ts @@ -2598,46 +2598,46 @@ declare module "fs" { export function mkdtempSync(prefix: string): string; /** * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param path A path to a file. * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. */ export function readdir(path: string | Buffer, options: { encoding: BufferEncoding | null } | BufferEncoding | undefined | null, callback: (err: NodeJS.ErrnoException, files: string[]) => void): void; /** * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param path A path to a file. * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. */ export function readdir(path: string | Buffer, options: { encoding: "buffer" } | "buffer", callback: (err: NodeJS.ErrnoException, files: Buffer[]) => void): void; /** * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param path A path to a file. * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. */ export function readdir(path: string | Buffer, options: { encoding?: string | null } | string | undefined | null, callback: (err: NodeJS.ErrnoException, files: Array) => void): void; /** * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param path A path to a file. */ export function readdir(path: string | Buffer, callback: (err: NodeJS.ErrnoException, files: string[]) => void): void; /** * Synchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param path A path to a file. * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. */ export function readdirSync(path: string | Buffer, options?: { encoding: BufferEncoding | null } | BufferEncoding | null): string[]; /** * Synchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param path A path to a file. * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. */ export function readdirSync(path: string | Buffer, options: { encoding: "buffer" } | "buffer"): Buffer[]; /** * Synchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param path A path to a file. * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. */ export function readdirSync(path: string | Buffer, options?: { encoding?: string | null } | string | null): Array; From 7f4b816dd5e4393aa45da7390a5915eb34df5b92 Mon Sep 17 00:00:00 2001 From: Matt Bishop Date: Sun, 4 Feb 2018 22:01:54 -0800 Subject: [PATCH 166/463] add missing params to Spec.explain() --- types/js.spec/index.d.ts | 10 +++++++++- types/js.spec/js.spec-tests.ts | 3 ++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/types/js.spec/index.d.ts b/types/js.spec/index.d.ts index e7b3dfe753..8836580c17 100644 --- a/types/js.spec/index.d.ts +++ b/types/js.spec/index.d.ts @@ -27,10 +27,18 @@ export interface Spec { /** * Explain why a value does not conform to this spec. + * @param path the path to the value + * @param via the containing specs, if any * @param value the value to examine * @returns list of problems or null if none */ - explain(value: any): Problem[]; + explain(path: string[], via: string[], value: any): Problem[]; + + /** + * Describe the specification. Used in explain strings and Problems. + * @returns the human-readable description of this spec + */ + toString(): string; } /** diff --git a/types/js.spec/js.spec-tests.ts b/types/js.spec/js.spec-tests.ts index 17e49cfea6..a230e98285 100644 --- a/types/js.spec/js.spec-tests.ts +++ b/types/js.spec/js.spec-tests.ts @@ -2,7 +2,8 @@ import * as S from "js.spec"; const spec: S.Spec = S.spec.bool; const c: symbol = spec.conform("water"); -const waterProblems: S.Problem[] = spec.explain("water"); +const waterProblems: S.Problem[] = spec.explain(["data"], ["spec"], "water"); +const toString: string = spec.toString(); const name: string = spec.name; const options: object = spec.options; From b890bf45566f0d65b990fb3a36120cb4706aeaff Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 5 Feb 2018 13:08:34 -0800 Subject: [PATCH 167/463] Fix node tests to be compatible with --esModuleInterop (#23437) --- types/node/node-tests.ts | 2 +- types/node/v0/node-tests.ts | 3 +-- types/node/v4/node-tests.ts | 2 +- types/node/v6/node-tests.ts | 2 +- types/node/v7/node-tests.ts | 2 +- types/node/v8/node-tests.ts | 2 +- 6 files changed, 6 insertions(+), 7 deletions(-) diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index dccde2db47..f70d21bd52 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -1,4 +1,4 @@ -import * as assert from "assert"; +import assert = require("assert"); import * as fs from "fs"; import * as events from "events"; import events2 = require("events"); diff --git a/types/node/v0/node-tests.ts b/types/node/v0/node-tests.ts index 8e2443b360..d8e0a40699 100644 --- a/types/node/v0/node-tests.ts +++ b/types/node/v0/node-tests.ts @@ -1,5 +1,4 @@ - -import * as assert from "assert"; +import assert = require("assert"); import * as fs from "fs"; import * as events from "events"; import * as zlib from "zlib"; diff --git a/types/node/v4/node-tests.ts b/types/node/v4/node-tests.ts index 2bb28ce779..e60b578ccf 100644 --- a/types/node/v4/node-tests.ts +++ b/types/node/v4/node-tests.ts @@ -1,4 +1,4 @@ -import * as assert from "assert"; +import assert = require("assert"); import * as fs from "fs"; import * as events from "events"; import * as zlib from "zlib"; diff --git a/types/node/v6/node-tests.ts b/types/node/v6/node-tests.ts index 34a62bf88d..d4f323e566 100644 --- a/types/node/v6/node-tests.ts +++ b/types/node/v6/node-tests.ts @@ -1,4 +1,4 @@ -import * as assert from "assert"; +import assert = require("assert"); import * as fs from "fs"; import * as events from "events"; import events2 = require("events"); diff --git a/types/node/v7/node-tests.ts b/types/node/v7/node-tests.ts index a2f25db8ec..0240dcc120 100644 --- a/types/node/v7/node-tests.ts +++ b/types/node/v7/node-tests.ts @@ -1,4 +1,4 @@ -import * as assert from "assert"; +import assert = require("assert"); import * as fs from "fs"; import * as events from "events"; import events2 = require("events"); diff --git a/types/node/v8/node-tests.ts b/types/node/v8/node-tests.ts index 8f4c7f9850..043935320c 100644 --- a/types/node/v8/node-tests.ts +++ b/types/node/v8/node-tests.ts @@ -1,4 +1,4 @@ -import * as assert from "assert"; +import assert = require("assert"); import * as fs from "fs"; import * as events from "events"; import events2 = require("events"); From 95e43e9285bc70ab9870584f4c5356b860e8be44 Mon Sep 17 00:00:00 2001 From: Paulo Bu Date: Mon, 5 Feb 2018 23:09:12 +0100 Subject: [PATCH 168/463] Small fix and improvement to diff2html types. --- types/diff2html/index.d.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/types/diff2html/index.d.ts b/types/diff2html/index.d.ts index ce2522d444..1b75f1e3df 100644 --- a/types/diff2html/index.d.ts +++ b/types/diff2html/index.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace Diff2Html { - + export interface Options { inputFormat?: string; outputFormat?: string; @@ -53,10 +53,11 @@ declare namespace Diff2Html { checksumAfter?: string; mode?: string; } - + export interface Diff2Html { - getJsonFromDiff(input: string, configuration?: Options): Result; + getJsonFromDiff(input: string, configuration?: Options): Result[]; getPrettyHtml(input: any, configuration?: Options): string; + getPrettyHtmlFromJson(input: Result[], configuration?: Options): string; } } From b349285311741c25d1e3acf75ee3591477314cc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20=C5=81aziuk?= Date: Tue, 6 Feb 2018 00:07:42 +0100 Subject: [PATCH 169/463] passport-http fix --- types/passport-http/index.d.ts | 8 ++- types/passport-http/passport-http-tests.ts | 28 ++++---- types/passport-http/tslint.json | 78 +--------------------- 3 files changed, 20 insertions(+), 94 deletions(-) diff --git a/types/passport-http/index.d.ts b/types/passport-http/index.d.ts index e9a66964ea..aedb119fa0 100644 --- a/types/passport-http/index.d.ts +++ b/types/passport-http/index.d.ts @@ -1,15 +1,16 @@ // Type definitions for passport-http 0.3.0 // Project: https://github.com/jaredhanson/passport-http // Definitions by: Christophe Vidal +// Tomek Łaziuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 import passport = require("passport"); import express = require("express"); -interface BasicStrategyOptions { +interface BasicStrategyOptions { realm?: string; - passReqToCallback?: boolean; + passReqToCallback?: req; } interface DigestStrategyOptions { @@ -45,7 +46,8 @@ interface DigestValidateFunction { declare class BasicStrategy implements passport.Strategy { constructor(verify: BasicVerifyFunction); - constructor(options: BasicStrategyOptions, verify: BasicVerifyFunction); + constructor(options: BasicStrategyOptions, verify: BasicVerifyFunction); + constructor(options: BasicStrategyOptions, verify: BasicVerifyFunctionWithRequest); name: string; authenticate: (req: express.Request, options?: Object) => void; diff --git a/types/passport-http/passport-http-tests.ts b/types/passport-http/passport-http-tests.ts index 4a70d30b89..217bb5e289 100644 --- a/types/passport-http/passport-http-tests.ts +++ b/types/passport-http/passport-http-tests.ts @@ -24,7 +24,7 @@ function validateNonce(nonce: string) { function validateParams(nonce: string, cnonce: string, nc: number, opaque: string) { } -passport.use(new http.BasicStrategy((username: string, password: string, done: any) => { +passport.use(new http.BasicStrategy((username, password, done) => { User.findOne({ username: username, password: password, @@ -44,21 +44,21 @@ passport.use(new http.BasicStrategy((username: string, password: string, done: a passport.use(new http.BasicStrategy({ realm: "User", passReqToCallback: true, -}, (username: string, password: string, done: any) => { - User.findOne({ - username: username, - password: password, - }, (error, user) => { - if (error) { - return done(error); - } +}, (req, username, password, done) => { + // with req when needed +})); - if (!user) { - return done(null, false); - } +passport.use(new http.BasicStrategy({ + realm: "User", +}, (username, password, done) => { + // without req by default +})); - done(null, user); - }); +passport.use(new http.BasicStrategy({ + realm: "User", + passReqToCallback: false, +}, (username, password, done) => { + // without req })); passport.use(new http.DigestStrategy((username: string, done: any) => { diff --git a/types/passport-http/tslint.json b/types/passport-http/tslint.json index a41bf5d19a..f93cf8562a 100644 --- a/types/passport-http/tslint.json +++ b/types/passport-http/tslint.json @@ -1,79 +1,3 @@ { - "extends": "dtslint/dt.json", - "rules": { - "adjacent-overload-signatures": false, - "array-type": false, - "arrow-return-shorthand": false, - "ban-types": false, - "callable-types": false, - "comment-format": false, - "dt-header": false, - "eofline": false, - "export-just-namespace": false, - "import-spacing": false, - "interface-name": false, - "interface-over-type-literal": false, - "jsdoc-format": false, - "max-line-length": false, - "member-access": false, - "new-parens": false, - "no-any-union": false, - "no-boolean-literal-compare": false, - "no-conditional-assignment": false, - "no-consecutive-blank-lines": false, - "no-construct": false, - "no-declare-current-package": false, - "no-duplicate-imports": false, - "no-duplicate-variable": false, - "no-empty-interface": false, - "no-for-in-array": false, - "no-inferrable-types": false, - "no-internal-module": false, - "no-irregular-whitespace": false, - "no-mergeable-namespace": false, - "no-misused-new": false, - "no-namespace": false, - "no-object-literal-type-assertion": false, - "no-padding": false, - "no-redundant-jsdoc": false, - "no-redundant-jsdoc-2": false, - "no-redundant-undefined": false, - "no-reference-import": false, - "no-relative-import-in-test": false, - "no-self-import": false, - "no-single-declare-module": false, - "no-string-throw": false, - "no-unnecessary-callback-wrapper": false, - "no-unnecessary-class": false, - "no-unnecessary-generics": false, - "no-unnecessary-qualifier": false, - "no-unnecessary-type-assertion": false, - "no-useless-files": false, - "no-var-keyword": false, - "no-var-requires": false, - "no-void-expression": false, - "no-trailing-whitespace": false, - "object-literal-key-quotes": false, - "object-literal-shorthand": false, - "one-line": false, - "one-variable-per-declaration": false, - "only-arrow-functions": false, - "prefer-conditional-expression": false, - "prefer-const": false, - "prefer-declare-function": false, - "prefer-for-of": false, - "prefer-method-signature": false, - "prefer-template": false, - "radix": false, - "semicolon": false, - "space-before-function-paren": false, - "space-within-parens": false, - "strict-export-declare-modifiers": false, - "trim-file": false, - "triple-equals": false, - "typedef-whitespace": false, - "unified-signatures": false, - "void-return": false, - "whitespace": false - } + "extends": "dtslint/dt.json" } From 622186f74f4d83f502cc183fc2abc0bf31cb02f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20=C5=81aziuk?= Date: Tue, 6 Feb 2018 00:20:49 +0100 Subject: [PATCH 170/463] tslint --- types/passport-http/index.d.ts | 55 ++++++++++++---------- types/passport-http/passport-http-tests.ts | 22 ++++----- 2 files changed, 42 insertions(+), 35 deletions(-) diff --git a/types/passport-http/index.d.ts b/types/passport-http/index.d.ts index aedb119fa0..bb9dd35c1b 100644 --- a/types/passport-http/index.d.ts +++ b/types/passport-http/index.d.ts @@ -1,62 +1,69 @@ -// Type definitions for passport-http 0.3.0 +// Type definitions for passport-http 0.3 // Project: https://github.com/jaredhanson/passport-http // Definitions by: Christophe Vidal // Tomek Łaziuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 -import passport = require("passport"); -import express = require("express"); +import * as passport from "passport"; +import * as express from "express"; -interface BasicStrategyOptions { +export interface BasicStrategyOptions { realm?: string; passReqToCallback?: req; } -interface DigestStrategyOptions { +export interface DigestStrategyOptions { realm?: string; - domain?: string | Array; + domain?: string | string[]; opaque?: string; algorithm?: string; - qop?: string | Array; + qop?: string | string[]; } -interface DigestValidateOptions { +export interface DigestValidateOptions { nonce: string; cnonce: string; nc: number; opaque: string; } -interface BasicVerifyFunction { - (username: string, password: string, done: (error: any, user?: any) => void): void; -} +export type BasicVerifyFunction = ( + username: string, + password: string, + done: (error: any, user?: any) => void, +) => any; -interface BasicVerifyFunctionWithRequest { - (req: express.Request, username: string, password: string, done: (error: any, user?: any) => void): void; -} +export type BasicVerifyFunctionWithRequest = ( + req: express.Request, + username: string, + password: string, + done: (error: any, user?: any) => void, +) => any; -interface DigestSecretFunction { - (username: string, done: (error: any, user?: any, password?: any) => void): void; -} +export type DigestSecretFunction = ( + username: string, + done: (error: any, user?: any, password?: any) => void, +) => any; -interface DigestValidateFunction { - (params: DigestValidateOptions, done: (error: any, valid: boolean) => void): void; -} +export type DigestValidateFunction = ( + params: DigestValidateOptions, + done: (error: any, valid: boolean) => void, +) => any; -declare class BasicStrategy implements passport.Strategy { +export class BasicStrategy implements passport.Strategy { constructor(verify: BasicVerifyFunction); constructor(options: BasicStrategyOptions, verify: BasicVerifyFunction); constructor(options: BasicStrategyOptions, verify: BasicVerifyFunctionWithRequest); name: string; - authenticate: (req: express.Request, options?: Object) => void; + authenticate: (req: express.Request, options?: object) => void; } -declare class DigestStrategy implements passport.Strategy { +export declare class DigestStrategy implements passport.Strategy { constructor(secret: DigestSecretFunction, validate?: DigestValidateFunction); constructor(options: DigestStrategyOptions, secret: DigestSecretFunction, validate?: DigestValidateFunction); name: string; - authenticate: (req: express.Request, options?: Object) => void; + authenticate: (req: express.Request, options?: object) => void; } diff --git a/types/passport-http/passport-http-tests.ts b/types/passport-http/passport-http-tests.ts index 217bb5e289..a9e09b0df1 100644 --- a/types/passport-http/passport-http-tests.ts +++ b/types/passport-http/passport-http-tests.ts @@ -2,18 +2,18 @@ * Created by Christophe Vidal */ -import passport = require("passport"); -import http = require("passport-http"); +import * as passport from "passport"; +import * as http from "passport-http"; -interface IUser { +interface UserInterface { username: string; password?: string; } class User { - public password: string; + password: string; - static findOne(user: IUser, callback: (error: Error, user: User) => void): void { + static findOne(user: UserInterface, callback: (error: Error, user: User) => void): void { callback(null, new User()); } } @@ -26,8 +26,8 @@ function validateParams(nonce: string, cnonce: string, nc: number, opaque: strin passport.use(new http.BasicStrategy((username, password, done) => { User.findOne({ - username: username, - password: password, + username, + password, }, (error, user) => { if (error) { return done(error); @@ -62,7 +62,7 @@ passport.use(new http.BasicStrategy({ })); passport.use(new http.DigestStrategy((username: string, done: any) => { - User.findOne({username: username}, (error, user) => { + User.findOne({username}, (error, user) => { if (error) { return done(error); } @@ -76,7 +76,7 @@ passport.use(new http.DigestStrategy((username: string, done: any) => { })); passport.use(new http.DigestStrategy((username: string, done: any) => { - User.findOne({username: username}, (error, user) => { + User.findOne({username}, (error, user) => { if (error) { return done(error); } @@ -99,7 +99,7 @@ passport.use(new http.DigestStrategy({ algorithm: "MD5", qop: "auth", }, (username: string, done: any) => { - User.findOne({username: username}, (error, user) => { + User.findOne({username}, (error, user) => { if (error) { return done(error); } @@ -119,7 +119,7 @@ passport.use(new http.DigestStrategy({ algorithm: "MD5", qop: "auth", }, (username: string, done: any) => { - User.findOne({username: username}, (error, user) => { + User.findOne({username}, (error, user) => { if (error) { return done(error); } From c1fb0e4ba8d3edd6727c62d74ade911fa887ab12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20=C5=81aziuk?= Date: Tue, 6 Feb 2018 00:23:06 +0100 Subject: [PATCH 171/463] esModuleInterlop --- types/passport-http/index.d.ts | 4 ++-- types/passport-http/passport-http-tests.ts | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/types/passport-http/index.d.ts b/types/passport-http/index.d.ts index bb9dd35c1b..bee5e37f33 100644 --- a/types/passport-http/index.d.ts +++ b/types/passport-http/index.d.ts @@ -5,8 +5,8 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 -import * as passport from "passport"; -import * as express from "express"; +import passport = require("passport"); +import http = require("passport-http"); export interface BasicStrategyOptions { realm?: string; diff --git a/types/passport-http/passport-http-tests.ts b/types/passport-http/passport-http-tests.ts index a9e09b0df1..9db1439faa 100644 --- a/types/passport-http/passport-http-tests.ts +++ b/types/passport-http/passport-http-tests.ts @@ -2,8 +2,8 @@ * Created by Christophe Vidal */ -import * as passport from "passport"; -import * as http from "passport-http"; +import passport = require("passport"); +import http = require("passport-http"); interface UserInterface { username: string; @@ -62,7 +62,7 @@ passport.use(new http.BasicStrategy({ })); passport.use(new http.DigestStrategy((username: string, done: any) => { - User.findOne({username}, (error, user) => { + User.findOne({ username }, (error, user) => { if (error) { return done(error); } @@ -76,7 +76,7 @@ passport.use(new http.DigestStrategy((username: string, done: any) => { })); passport.use(new http.DigestStrategy((username: string, done: any) => { - User.findOne({username}, (error, user) => { + User.findOne({ username }, (error, user) => { if (error) { return done(error); } @@ -99,7 +99,7 @@ passport.use(new http.DigestStrategy({ algorithm: "MD5", qop: "auth", }, (username: string, done: any) => { - User.findOne({username}, (error, user) => { + User.findOne({ username }, (error, user) => { if (error) { return done(error); } @@ -119,7 +119,7 @@ passport.use(new http.DigestStrategy({ algorithm: "MD5", qop: "auth", }, (username: string, done: any) => { - User.findOne({username}, (error, user) => { + User.findOne({ username }, (error, user) => { if (error) { return done(error); } From 35b9ca92d24402bc970620aa23492da1a7fe991a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20=C5=81aziuk?= Date: Tue, 6 Feb 2018 00:29:10 +0100 Subject: [PATCH 172/463] tslint --- types/passport-http/index.d.ts | 4 ++-- types/passport-http/passport-http-tests.ts | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/types/passport-http/index.d.ts b/types/passport-http/index.d.ts index bee5e37f33..458e5f2076 100644 --- a/types/passport-http/index.d.ts +++ b/types/passport-http/index.d.ts @@ -6,7 +6,7 @@ // TypeScript Version: 2.3 import passport = require("passport"); -import http = require("passport-http"); +import express = require("express"); export interface BasicStrategyOptions { realm?: string; @@ -60,7 +60,7 @@ export class BasicStrategy implements passport.Strategy { authenticate: (req: express.Request, options?: object) => void; } -export declare class DigestStrategy implements passport.Strategy { +export class DigestStrategy implements passport.Strategy { constructor(secret: DigestSecretFunction, validate?: DigestValidateFunction); constructor(options: DigestStrategyOptions, secret: DigestSecretFunction, validate?: DigestValidateFunction); diff --git a/types/passport-http/passport-http-tests.ts b/types/passport-http/passport-http-tests.ts index 9db1439faa..396138b466 100644 --- a/types/passport-http/passport-http-tests.ts +++ b/types/passport-http/passport-http-tests.ts @@ -30,11 +30,13 @@ passport.use(new http.BasicStrategy((username, password, done) => { password, }, (error, user) => { if (error) { - return done(error); + done(error); + return; } if (!user) { - return done(null, false); + done(null, false); + return; } done(null, user); From 4b2d0110d54e711159374182efe7a1aa3952c42f Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 5 Feb 2018 15:35:41 -0800 Subject: [PATCH 173/463] Fix many "import *" that should be "import =" (#23443) --- .../actions-on-google-tests.ts | 2 +- types/agenda/agenda-tests.ts | 2 +- .../api-error-handler-tests.ts | 2 +- types/archiver/archiver-tests.ts | 2 +- .../assets-webpack-plugin-tests.ts | 2 +- types/auto-sni/auto-sni-tests.ts | 2 +- .../aws-serverless-express-tests.ts | 2 +- types/better-sqlite3/better-sqlite3-tests.ts | 2 +- types/better-sqlite3/index.d.ts | 4 +--- types/body-parser/body-parser-tests.ts | 2 +- types/bonjour/bonjour-tests.ts | 2 +- types/bookshelf/bookshelf-tests.ts | 6 ++--- types/co-body/co-body-tests.ts | 4 ++-- types/connect-busboy/connect-busboy-tests.ts | 2 +- .../connect-history-api-fallback-tests.ts | 5 ++--- types/connect-mongo/connect-mongo-tests.ts | 7 +++--- .../connect-pg-simple-tests.ts | 4 ++-- types/connect-redis/connect-redis-tests.ts | 4 ++-- .../connect-timeout/connect-timeout-tests.ts | 10 ++++----- types/cookies/cookies-tests.ts | 8 +++---- types/dockerode/dockerode-tests.ts | 2 +- .../electron-packager-tests.ts | 2 +- types/end-of-stream/end-of-stream-tests.ts | 2 +- .../enzyme-adapter-react-15.4-tests.ts | 2 +- .../enzyme-adapter-react-15-tests.ts | 2 +- .../enzyme-adapter-react-16-tests.ts | 2 +- types/epilogue/epilogue-tests.ts | 4 ++-- types/errorhandler/errorhandler-tests.ts | 5 ++--- types/execa/execa-tests.ts | 4 ++-- .../express-brute-memcached-tests.ts | 4 ++-- types/express-busboy/express-busboy-tests.ts | 3 +-- .../express-ejs-layouts-tests.ts | 4 ++-- .../express-fileupload-tests.ts | 2 +- .../express-graphql/express-graphql-tests.ts | 4 ++-- .../express-mongo-sanitize-tests.ts | 4 ++-- .../express-oauth-server-tests.ts | 2 +- .../express-sanitized-tests.ts | 4 ++-- types/express-to-koa/express-to-koa-tests.ts | 2 +- .../express-winston/express-winston-tests.ts | 2 +- types/express/express-tests.ts | 2 +- types/extend/extend-tests.ts | 22 +++++++++---------- .../gulp-angular-templatecache-tests.ts | 2 +- .../gulp-autoprefixer-tests.ts | 2 +- types/gulp-batch/gulp-batch-tests.ts | 2 +- types/gulp-bump/gulp-bump-tests.ts | 2 +- types/gulp-cache/gulp-cache-tests.ts | 2 +- .../gulp-coffeelint/gulp-coffeelint-tests.ts | 7 ------ types/gulp-concat/gulp-concat-tests.ts | 5 +---- types/gulp-connect/gulp-connect-tests.ts | 2 +- types/gulp-copy/gulp-copy-tests.ts | 2 +- types/gulp-csso/gulp-csso-tests.ts | 5 +---- types/gulp-debug/gulp-debug-tests.ts | 6 +---- types/gulp-diff/gulp-diff-tests.ts | 2 +- types/gulp-dtsm/gulp-dtsm-tests.ts | 2 +- types/gulp-espower/gulp-espower-tests.ts | 5 ----- types/gulp-filter/gulp-filter-tests.ts | 8 +++---- types/gulp-flatten/gulp-flatten-tests.ts | 5 +---- types/gulp-gh-pages/gulp-gh-pages-tests.ts | 2 +- types/gulp-gzip/gulp-gzip-tests.ts | 3 --- .../gulp-html-replace-tests.ts | 2 +- types/gulp-htmlmin/gulp-htmlmin-tests.ts | 5 +---- types/gulp-inject/gulp-inject-tests.ts | 5 +---- types/gulp-install/gulp-install-tests.ts | 5 +---- types/gulp-jade/gulp-jade-tests.ts | 2 +- .../gulp-jasmine-browser-tests.ts | 6 ----- .../gulp-json-editor-tests.ts | 5 +---- .../gulp-jsonminify/gulp-jsonminify-tests.ts | 2 +- types/gulp-jspm/gulp-jspm-tests.ts | 7 ++---- types/gulp-less/gulp-less-tests.ts | 5 +---- .../gulp-load-plugins-tests.ts | 4 ++-- .../gulp-minify-css/gulp-minify-css-tests.ts | 5 +---- .../gulp-minify-html-tests.ts | 5 +---- types/gulp-mocha/gulp-mocha-tests.ts | 2 +- types/gulp-modernizr/gulp-modernizr-tests.ts | 2 +- types/gulp-msbuild/gulp-msbuild-tests.ts | 2 +- types/gulp-mustache/gulp-mustache-tests.ts | 3 +-- .../gulp-ng-annotate-tests.ts | 3 --- types/gulp-nodemon/gulp-nodemon-tests.ts | 3 --- .../gulp-nunit-runner-tests.ts | 2 +- .../gulp-protractor/gulp-protractor-tests.ts | 3 --- types/gulp-pug/gulp-pug-tests.ts | 2 +- types/gulp-replace/gulp-replace-tests.ts | 2 +- .../gulp-rev-replace-tests.ts | 6 ++--- types/gulp-rev/gulp-rev-tests.ts | 3 --- types/gulp-ruby-sass/gulp-ruby-sass-tests.ts | 2 +- types/gulp-sass/gulp-sass-tests.ts | 2 +- types/gulp-size/gulp-size-tests.ts | 4 ++-- types/gulp-sort/gulp-sort-tests.ts | 2 +- .../gulp-strip-debug-tests.ts | 5 +---- types/gulp-tsd/gulp-tsd-tests.ts | 5 +---- types/gulp-uglify/composer.d.ts | 2 +- types/gulp-uglify/gulp-uglify-tests.ts | 2 +- types/gulp-useref/gulp-useref-tests.ts | 4 ++-- types/gulp-watch/gulp-watch-tests.ts | 2 +- types/gulp-zip/gulp-zip-tests.ts | 2 +- types/hbs/hbs-tests.ts | 2 +- types/hpp/hpp-tests.ts | 4 ++-- types/http-assert/http-assert-tests.ts | 2 +- types/http-errors/http-errors-tests.ts | 4 ++-- .../i18next-express-middleware-tests.ts | 2 +- types/koa-basic-auth/koa-basic-auth-tests.ts | 2 +- types/koa-bodyparser/koa-bodyparser-tests.ts | 4 ++-- .../koa-cache-control-tests.ts | 4 ++-- types/koa-compress/koa-compress-tests.ts | 2 +- types/koa-csrf/koa-csrf-tests.ts | 2 +- types/koa-etag/koa-etag-tests.ts | 2 +- types/koa-favicon/koa-favicon-tests.ts | 2 +- .../koa-generic-session-tests.ts | 2 +- types/koa-hbs/koa-hbs-tests.ts | 2 +- types/koa-helmet/koa-helmet-tests.ts | 2 +- types/koa-json-error/koa-json-error-tests.ts | 4 ++-- types/koa-json/koa-json-tests.ts | 4 ++-- .../koa-logger-winston-tests.ts | 4 ++-- types/koa-logger/koa-logger-tests.ts | 4 ++-- types/koa-morgan/koa-morgan-tests.ts | 4 ++-- types/koa-mount/index.d.ts | 2 +- types/koa-mount/koa-mount-tests.ts | 4 ++-- types/koa-multer/koa-multer-tests.ts | 4 ++-- types/koa-passport/koa-passport-tests.ts | 2 +- .../koa-pino-logger/koa-pino-logger-tests.ts | 4 ++-- types/koa-range/koa-range-tests.ts | 4 ++-- types/koa-redis/koa-redis-tests.ts | 2 +- types/koa-route/koa-route-tests.ts | 2 +- types/koa-router/koa-router-tests.ts | 4 ++-- types/koa-send/koa-send-tests.ts | 4 ++-- .../koa-session-minimal-tests.ts | 4 ++-- types/koa-session/index.d.ts | 2 +- types/koa-session/koa-session-tests.ts | 4 ++-- types/koa-static/koa-static-tests.ts | 2 +- types/koa-views/koa-views-tests.ts | 4 ++-- types/koa-websocket/index.d.ts | 6 ++--- types/koa-websocket/koa-websocket-tests.ts | 4 ++-- types/koa/index.d.ts | 2 +- types/koa/koa-tests.ts | 2 +- types/koa2-cors/koa2-cors-tests.ts | 4 ++-- types/libpq/libpq-tests.ts | 4 ++-- types/loopback-boot/loopback-boot-tests.ts | 6 ++--- types/loopback/loopback-tests.ts | 4 ++-- .../mongoose-paginate-tests.ts | 4 +--- .../mongoose-sequence-tests.ts | 4 +--- .../multer-gridfs-storage-tests.ts | 2 +- .../v1/multer-gridfs-storage-tests.ts | 2 +- types/multer/multer-tests.ts | 4 ++-- .../node-sass-middleware-tests.ts | 5 ++--- .../node-sprite-generator-tests.ts | 4 ++-- types/oauth2-server/oauth2-server-tests.ts | 4 ++-- types/optics-agent/optics-agent-tests.ts | 4 ++-- .../passport-facebook-token-tests.ts | 2 +- .../passport-local-mongoose-tests.ts | 4 +--- types/passport/passport-tests.ts | 2 +- types/peer-dial/peer-dial-tests.ts | 2 +- .../promisify-supertest-tests.ts | 5 ++--- .../redis-rate-limiter-tests.ts | 4 ++-- types/saml2-js/saml2-js-tests.ts | 2 +- types/samlp/samlp-tests.ts | 2 +- types/sanctuary/sanctuary-tests.ts | 2 +- types/send/send-tests.ts | 6 ++--- types/serve-index/serve-index-tests.ts | 5 ++--- types/serve-static/serve-static-tests.ts | 4 ++-- .../set-cookie-parser-tests.ts | 2 +- types/shrink-ray/shrink-ray-tests.ts | 4 ++-- types/sticky-cluster/sticky-cluster-tests.ts | 2 +- .../superagent-no-cache-tests.ts | 2 +- .../superagent-prefix-tests.ts | 2 +- types/superagent/superagent-tests.ts | 5 ++--- types/superagent/v2/superagent-tests.ts | 4 ++-- .../supertest-as-promised-tests.ts | 4 ++-- types/supertest/supertest-tests.ts | 5 ++--- .../swagger-express-middleware-tests.ts | 4 ++-- .../swagger-express-mw-tests.ts | 2 +- types/swagger-jsdoc/swagger-jsdoc-tests.ts | 4 +--- .../swagger-node-runner-tests.ts | 4 ++-- types/twilio/twilio-tests.ts | 2 +- .../universal-analytics-tests.ts | 5 ++--- types/vitalsigns/vitalsigns-tests.ts | 2 +- .../v1/webpack-dev-middleware-tests.ts | 6 ++--- .../webpack-dev-middleware-tests.ts | 6 ++--- .../webpack-dev-server-tests.ts | 4 ++-- .../webpack-hot-middleware-tests.ts | 6 ++--- types/xmlpoke/xmlpoke-tests.ts | 4 ++-- 180 files changed, 263 insertions(+), 368 deletions(-) diff --git a/types/actions-on-google/actions-on-google-tests.ts b/types/actions-on-google/actions-on-google-tests.ts index e57e1e8d98..d24c3093b4 100644 --- a/types/actions-on-google/actions-on-google-tests.ts +++ b/types/actions-on-google/actions-on-google-tests.ts @@ -1,6 +1,6 @@ import { ActionsSdkApp, ActionsSdkAppOptions, DialogflowApp, DialogflowAppOptions, AssistantApp, Responses, Transactions } from 'actions-on-google'; -import * as express from 'express'; +import express = require('express'); function testActionsSdk(request: express.Request, response: express.Response) { const app = new ActionsSdkApp({request, response}); diff --git a/types/agenda/agenda-tests.ts b/types/agenda/agenda-tests.ts index 964eb1b836..5cd18baf76 100644 --- a/types/agenda/agenda-tests.ts +++ b/types/agenda/agenda-tests.ts @@ -1,4 +1,4 @@ -import * as Agenda from "agenda"; +import Agenda = require("agenda"); var mongoConnectionString = "mongodb://127.0.0.1/agenda"; diff --git a/types/api-error-handler/api-error-handler-tests.ts b/types/api-error-handler/api-error-handler-tests.ts index 67afbb0fce..aa72342d75 100644 --- a/types/api-error-handler/api-error-handler-tests.ts +++ b/types/api-error-handler/api-error-handler-tests.ts @@ -1,4 +1,4 @@ -import * as errorHandler from 'api-error-handler'; +import errorHandler = require('api-error-handler'); import * as express from 'express'; var api = express.Router(); diff --git a/types/archiver/archiver-tests.ts b/types/archiver/archiver-tests.ts index fc2e481330..752d9cc944 100644 --- a/types/archiver/archiver-tests.ts +++ b/types/archiver/archiver-tests.ts @@ -1,4 +1,4 @@ -import * as Archiver from 'archiver'; +import Archiver = require('archiver'); import * as fs from 'fs'; const options: Archiver.ArchiverOptions = { diff --git a/types/assets-webpack-plugin/assets-webpack-plugin-tests.ts b/types/assets-webpack-plugin/assets-webpack-plugin-tests.ts index 6851f853f2..b02c707d81 100644 --- a/types/assets-webpack-plugin/assets-webpack-plugin-tests.ts +++ b/types/assets-webpack-plugin/assets-webpack-plugin-tests.ts @@ -1,5 +1,5 @@ import * as webpack from 'webpack'; -import * as AssetsPlugin from 'assets-webpack-plugin'; +import AssetsPlugin = require('assets-webpack-plugin'); const config: webpack.Configuration = { plugins: [ diff --git a/types/auto-sni/auto-sni-tests.ts b/types/auto-sni/auto-sni-tests.ts index 6be54148fb..8cd17af850 100644 --- a/types/auto-sni/auto-sni-tests.ts +++ b/types/auto-sni/auto-sni-tests.ts @@ -1,4 +1,4 @@ -import * as autosni from "auto-sni"; +import autosni = require("auto-sni"); const a = autosni({ agreeTos: true, email: '', diff --git a/types/aws-serverless-express/aws-serverless-express-tests.ts b/types/aws-serverless-express/aws-serverless-express-tests.ts index 4770163b3b..9bfd1b0e99 100644 --- a/types/aws-serverless-express/aws-serverless-express-tests.ts +++ b/types/aws-serverless-express/aws-serverless-express-tests.ts @@ -1,5 +1,5 @@ import * as awsServerlessExpress from 'aws-serverless-express'; -import * as express from 'express'; +import express = require('express'); import { eventContext } from 'aws-serverless-express/middleware'; const app = express(); diff --git a/types/better-sqlite3/better-sqlite3-tests.ts b/types/better-sqlite3/better-sqlite3-tests.ts index 43d78e1503..34ee6808c3 100644 --- a/types/better-sqlite3/better-sqlite3-tests.ts +++ b/types/better-sqlite3/better-sqlite3-tests.ts @@ -1,4 +1,4 @@ -import * as Database from 'better-sqlite3'; +import Database = require('better-sqlite3'); const integer = Database.Integer(1); const err = new Database.SqliteError('ok', 'ok'); diff --git a/types/better-sqlite3/index.d.ts b/types/better-sqlite3/index.d.ts index 530f5c3e53..899a85a2e2 100644 --- a/types/better-sqlite3/index.d.ts +++ b/types/better-sqlite3/index.d.ts @@ -4,9 +4,7 @@ // Mathew Rumsey // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// - -import * as Integer from 'integer'; +import Integer = require('integer'); interface RunResult { changes: number; diff --git a/types/body-parser/body-parser-tests.ts b/types/body-parser/body-parser-tests.ts index fa18cad13b..2f6a33ea72 100644 --- a/types/body-parser/body-parser-tests.ts +++ b/types/body-parser/body-parser-tests.ts @@ -1,4 +1,4 @@ -import * as express from 'express'; +import express = require('express'); import { json, raw, diff --git a/types/bonjour/bonjour-tests.ts b/types/bonjour/bonjour-tests.ts index 61e7373f01..aff3226eba 100644 --- a/types/bonjour/bonjour-tests.ts +++ b/types/bonjour/bonjour-tests.ts @@ -1,4 +1,4 @@ -import * as bonjour from 'bonjour'; +import bonjour = require('bonjour'); let bonjourOptions: bonjour.BonjourOptions; let bonjourInstance: bonjour.Bonjour; diff --git a/types/bookshelf/bookshelf-tests.ts b/types/bookshelf/bookshelf-tests.ts index 77af31461b..6269a8d8ff 100644 --- a/types/bookshelf/bookshelf-tests.ts +++ b/types/bookshelf/bookshelf-tests.ts @@ -1,6 +1,6 @@ -import * as Knex from 'knex'; -import * as Bookshelf from 'bookshelf'; -import * as assert from 'assert'; +import Knex = require('knex'); +import Bookshelf = require('bookshelf'); +import assert = require('assert'); import * as express from 'express'; import * as _ from "lodash"; diff --git a/types/co-body/co-body-tests.ts b/types/co-body/co-body-tests.ts index 944cadd394..0b15f2bcc5 100644 --- a/types/co-body/co-body-tests.ts +++ b/types/co-body/co-body-tests.ts @@ -1,5 +1,5 @@ -import * as koa from 'koa'; -import * as parse from 'co-body'; +import koa = require('koa'); +import parse = require('co-body'); var app = new koa(); diff --git a/types/connect-busboy/connect-busboy-tests.ts b/types/connect-busboy/connect-busboy-tests.ts index 2bbb832070..2db8cd45d7 100644 --- a/types/connect-busboy/connect-busboy-tests.ts +++ b/types/connect-busboy/connect-busboy-tests.ts @@ -1,4 +1,4 @@ -import * as connectBusboy from 'connect-busboy'; +import connectBusboy = require('connect-busboy'); import * as express from 'express'; diff --git a/types/connect-history-api-fallback/connect-history-api-fallback-tests.ts b/types/connect-history-api-fallback/connect-history-api-fallback-tests.ts index 6095d2fecb..dc53a3b86f 100644 --- a/types/connect-history-api-fallback/connect-history-api-fallback-tests.ts +++ b/types/connect-history-api-fallback/connect-history-api-fallback-tests.ts @@ -1,6 +1,5 @@ -import * as historyApiFallback from 'connect-history-api-fallback'; - -import * as express from "express"; +import historyApiFallback = require('connect-history-api-fallback'); +import express = require('express'); const app = express(); app.use(historyApiFallback()); diff --git a/types/connect-mongo/connect-mongo-tests.ts b/types/connect-mongo/connect-mongo-tests.ts index 67caed7c27..351975d84c 100644 --- a/types/connect-mongo/connect-mongo-tests.ts +++ b/types/connect-mongo/connect-mongo-tests.ts @@ -1,8 +1,7 @@ - -import * as express from 'express'; +import express = require('express'); import * as mongoose from 'mongoose'; -import * as session from 'express-session'; -import * as connectMongo from 'connect-mongo'; +import session = require('express-session'); +import connectMongo = require('connect-mongo'); import * as mongodb from 'mongodb'; var app = express(); diff --git a/types/connect-pg-simple/connect-pg-simple-tests.ts b/types/connect-pg-simple/connect-pg-simple-tests.ts index 1e90c9b4e5..6f7d629a59 100644 --- a/types/connect-pg-simple/connect-pg-simple-tests.ts +++ b/types/connect-pg-simple/connect-pg-simple-tests.ts @@ -1,7 +1,7 @@ import connectPgSimple = require("connect-pg-simple"); -import * as session from "express-session"; +import session = require("express-session"); import * as pg from "pg"; -import * as express from "express"; +import express = require('express'); const pgSession = connectPgSimple(session); diff --git a/types/connect-redis/connect-redis-tests.ts b/types/connect-redis/connect-redis-tests.ts index 11cd583a74..a312ffd3ca 100644 --- a/types/connect-redis/connect-redis-tests.ts +++ b/types/connect-redis/connect-redis-tests.ts @@ -1,5 +1,5 @@ -import * as connectRedis from "connect-redis"; -import * as session from "express-session"; +import connectRedis = require("connect-redis"); +import session = require("express-session"); let RedisStore = connectRedis(session); const store = new RedisStore({ diff --git a/types/connect-timeout/connect-timeout-tests.ts b/types/connect-timeout/connect-timeout-tests.ts index aa93ea179e..31342d7491 100644 --- a/types/connect-timeout/connect-timeout-tests.ts +++ b/types/connect-timeout/connect-timeout-tests.ts @@ -1,9 +1,7 @@ - - -import * as express from "express"; -import * as timeout from "connect-timeout"; -import * as bodyParser from "body-parser"; -import * as cookieParser from "cookie-parser"; +import express = require("express"); +import timeout = require("connect-timeout"); +import bodyParser = require("body-parser"); +import cookieParser = require("cookie-parser"); // example of using this top-level; note the use of haltOnTimedout // after every middleware; it will stop the request flow on a timeout diff --git a/types/cookies/cookies-tests.ts b/types/cookies/cookies-tests.ts index 2f78f8ad49..cd46e0987b 100644 --- a/types/cookies/cookies-tests.ts +++ b/types/cookies/cookies-tests.ts @@ -1,8 +1,8 @@ -import * as Cookies from 'cookies'; +import Cookies = require('cookies'); import * as http from 'http'; -import * as Keygrip from 'keygrip'; -import * as express from 'express'; -import * as connect from 'connect'; +import Keygrip = require('keygrip'); +import express = require('express'); +import connect = require('connect'); const server = http.createServer((req, res) => { const cookies = new Cookies(req, res); diff --git a/types/dockerode/dockerode-tests.ts b/types/dockerode/dockerode-tests.ts index 458134917b..f53f0d2ad4 100644 --- a/types/dockerode/dockerode-tests.ts +++ b/types/dockerode/dockerode-tests.ts @@ -1,4 +1,4 @@ -import * as Docker from 'dockerode'; +import Docker = require('dockerode'); import * as fs from 'fs'; // Code samples from Dockerode 'Getting started' diff --git a/types/electron-packager/electron-packager-tests.ts b/types/electron-packager/electron-packager-tests.ts index 4b87704a38..f956910b78 100644 --- a/types/electron-packager/electron-packager-tests.ts +++ b/types/electron-packager/electron-packager-tests.ts @@ -1,4 +1,4 @@ -import * as packager from "electron-packager"; +import packager = require("electron-packager"); function callback(err: Error, appPaths: string[]) { const msg = err.message; diff --git a/types/end-of-stream/end-of-stream-tests.ts b/types/end-of-stream/end-of-stream-tests.ts index 211c6f5196..829a177d5c 100644 --- a/types/end-of-stream/end-of-stream-tests.ts +++ b/types/end-of-stream/end-of-stream-tests.ts @@ -1,4 +1,4 @@ -import * as eos from "end-of-stream"; +import eos = require("end-of-stream"); declare const readableStream: NodeJS.ReadableStream; declare const writableStream: NodeJS.WritableStream; diff --git a/types/enzyme-adapter-react-15.4/enzyme-adapter-react-15.4-tests.ts b/types/enzyme-adapter-react-15.4/enzyme-adapter-react-15.4-tests.ts index 603c7634b3..af26532174 100644 --- a/types/enzyme-adapter-react-15.4/enzyme-adapter-react-15.4-tests.ts +++ b/types/enzyme-adapter-react-15.4/enzyme-adapter-react-15.4-tests.ts @@ -1,4 +1,4 @@ import { configure } from 'enzyme'; -import * as Adapter from 'enzyme-adapter-react-15.4'; +import Adapter = require('enzyme-adapter-react-15.4'); configure({ adapter: new Adapter() }); diff --git a/types/enzyme-adapter-react-15/enzyme-adapter-react-15-tests.ts b/types/enzyme-adapter-react-15/enzyme-adapter-react-15-tests.ts index 9be474c2d8..fa3c9a357a 100644 --- a/types/enzyme-adapter-react-15/enzyme-adapter-react-15-tests.ts +++ b/types/enzyme-adapter-react-15/enzyme-adapter-react-15-tests.ts @@ -1,4 +1,4 @@ import { configure } from 'enzyme'; -import * as Adapter from 'enzyme-adapter-react-15'; +import Adapter = require('enzyme-adapter-react-15'); configure({ adapter: new Adapter() }); diff --git a/types/enzyme-adapter-react-16/enzyme-adapter-react-16-tests.ts b/types/enzyme-adapter-react-16/enzyme-adapter-react-16-tests.ts index b8acf7f719..8b53ed9dc7 100644 --- a/types/enzyme-adapter-react-16/enzyme-adapter-react-16-tests.ts +++ b/types/enzyme-adapter-react-16/enzyme-adapter-react-16-tests.ts @@ -1,4 +1,4 @@ import { configure } from 'enzyme'; -import * as Adapter from 'enzyme-adapter-react-16'; +import Adapter = require('enzyme-adapter-react-16'); configure({ adapter: new Adapter() }); diff --git a/types/epilogue/epilogue-tests.ts b/types/epilogue/epilogue-tests.ts index 0cf40fd1e9..cff716f780 100644 --- a/types/epilogue/epilogue-tests.ts +++ b/types/epilogue/epilogue-tests.ts @@ -1,6 +1,6 @@ import * as epilogue from 'epilogue'; -import * as express from 'express'; -import * as Sequelize from 'sequelize'; +import express = require('express'); +import Sequelize = require('sequelize'); const database = new Sequelize({ }); diff --git a/types/errorhandler/errorhandler-tests.ts b/types/errorhandler/errorhandler-tests.ts index f6a35dd19d..3f8ada3372 100644 --- a/types/errorhandler/errorhandler-tests.ts +++ b/types/errorhandler/errorhandler-tests.ts @@ -1,6 +1,5 @@ - -import * as express from 'express'; -import * as errorhandler from 'errorhandler'; +import express = require('express'); +import errorhandler = require('errorhandler'); var app = express(); diff --git a/types/execa/execa-tests.ts b/types/execa/execa-tests.ts index abdbfd6dad..2525091f2a 100644 --- a/types/execa/execa-tests.ts +++ b/types/execa/execa-tests.ts @@ -1,5 +1,5 @@ -import * as assert from 'assert'; -import * as execa from 'execa'; +import assert = require('assert'); +import execa = require('execa'); import { PassThrough } from "stream"; execa('unicorns') diff --git a/types/express-brute-memcached/express-brute-memcached-tests.ts b/types/express-brute-memcached/express-brute-memcached-tests.ts index 37dadf6189..4a74da4d87 100644 --- a/types/express-brute-memcached/express-brute-memcached-tests.ts +++ b/types/express-brute-memcached/express-brute-memcached-tests.ts @@ -1,5 +1,5 @@ -import * as express from "express"; -import * as ExpressBrute from "express-brute"; +import express = require("express"); +import ExpressBrute = require("express-brute"); import MemcachedStore from "express-brute-memcached"; var app = express(); diff --git a/types/express-busboy/express-busboy-tests.ts b/types/express-busboy/express-busboy-tests.ts index 512fd7f245..801ad24481 100644 --- a/types/express-busboy/express-busboy-tests.ts +++ b/types/express-busboy/express-busboy-tests.ts @@ -1,6 +1,5 @@ import * as expressBusboy from 'express-busboy'; - -import * as express from 'express'; +import express = require('express'); const app: express.Application = express(); const options: expressBusboy.ExpressBusboyOptions = {}; diff --git a/types/express-ejs-layouts/express-ejs-layouts-tests.ts b/types/express-ejs-layouts/express-ejs-layouts-tests.ts index 9d77105a9d..f6820c57cf 100644 --- a/types/express-ejs-layouts/express-ejs-layouts-tests.ts +++ b/types/express-ejs-layouts/express-ejs-layouts-tests.ts @@ -1,5 +1,5 @@ -import * as express from 'express'; -import * as expressEjsLayouts from 'express-ejs-layouts'; +import express = require('express'); +import expressEjsLayouts = require('express-ejs-layouts'); function expressRequestHandlerTest() { const app = express() diff --git a/types/express-fileupload/express-fileupload-tests.ts b/types/express-fileupload/express-fileupload-tests.ts index 21115937d1..2a268fb64e 100644 --- a/types/express-fileupload/express-fileupload-tests.ts +++ b/types/express-fileupload/express-fileupload-tests.ts @@ -1,4 +1,4 @@ -import * as express from 'express'; +import express = require('express'); import { RequestHandler, Request, Response, NextFunction } from 'express-serve-static-core'; import fileUpload = require('express-fileupload'); diff --git a/types/express-graphql/express-graphql-tests.ts b/types/express-graphql/express-graphql-tests.ts index d476682104..0479716860 100644 --- a/types/express-graphql/express-graphql-tests.ts +++ b/types/express-graphql/express-graphql-tests.ts @@ -1,6 +1,6 @@ -import * as express from 'express'; +import express = require('express'); import 'express-session'; -import * as graphqlHTTP from 'express-graphql'; +import graphqlHTTP = require('express-graphql'); const app = express(); const schema = {}; diff --git a/types/express-mongo-sanitize/express-mongo-sanitize-tests.ts b/types/express-mongo-sanitize/express-mongo-sanitize-tests.ts index 21a5028b27..03074593ca 100644 --- a/types/express-mongo-sanitize/express-mongo-sanitize-tests.ts +++ b/types/express-mongo-sanitize/express-mongo-sanitize-tests.ts @@ -1,5 +1,5 @@ -import * as express from 'express'; -import * as mongoSanitize from 'express-mongo-sanitize'; +import express = require('express'); +import mongoSanitize = require('express-mongo-sanitize'); const app: express.Express = express(); diff --git a/types/express-oauth-server/express-oauth-server-tests.ts b/types/express-oauth-server/express-oauth-server-tests.ts index 436763b9b8..1aea48c256 100644 --- a/types/express-oauth-server/express-oauth-server-tests.ts +++ b/types/express-oauth-server/express-oauth-server-tests.ts @@ -1,6 +1,6 @@ import ExpressOAuthServer = require("express-oauth-server"); import * as OAuth2Server from "oauth2-server"; -import * as express from "express"; +import express = require("express"); const oauth2Model: OAuth2Server.AuthorizationCodeModel = { getClient: async (clientId: string, clientSecret: string): Promise => { diff --git a/types/express-sanitized/express-sanitized-tests.ts b/types/express-sanitized/express-sanitized-tests.ts index 1610ef6c91..4ff8cce13b 100644 --- a/types/express-sanitized/express-sanitized-tests.ts +++ b/types/express-sanitized/express-sanitized-tests.ts @@ -1,5 +1,5 @@ -import * as express from "express"; -import * as expressSanitized from "express-sanitized"; +import express = require("express"); +import expressSanitized = require("express-sanitized"); const RoutingServer: express.Express = express(); diff --git a/types/express-to-koa/express-to-koa-tests.ts b/types/express-to-koa/express-to-koa-tests.ts index 73b6ae480a..1329a15851 100644 --- a/types/express-to-koa/express-to-koa-tests.ts +++ b/types/express-to-koa/express-to-koa-tests.ts @@ -1,4 +1,4 @@ -import * as Koa from 'koa'; +import Koa = require('koa'); import * as connect from 'connect'; import expressToKoa = require('express-to-koa'); diff --git a/types/express-winston/express-winston-tests.ts b/types/express-winston/express-winston-tests.ts index 7ce00c479e..297b7afc49 100644 --- a/types/express-winston/express-winston-tests.ts +++ b/types/express-winston/express-winston-tests.ts @@ -1,6 +1,6 @@ import expressWinston = require('express-winston'); import * as winston from 'winston'; -import * as express from 'express'; +import express = require('express'); const app = express(); diff --git a/types/express/express-tests.ts b/types/express/express-tests.ts index 1c9220a8b5..137c70c8e8 100644 --- a/types/express/express-tests.ts +++ b/types/express/express-tests.ts @@ -1,4 +1,4 @@ -import * as express from 'express'; +import express = require('express'); namespace express_tests { const app = express(); diff --git a/types/extend/extend-tests.ts b/types/extend/extend-tests.ts index 0bf977e6e8..5ff62322b1 100644 --- a/types/extend/extend-tests.ts +++ b/types/extend/extend-tests.ts @@ -1,6 +1,4 @@ -/// -import * as assert from 'assert'; -import * as extend from 'extend'; +import extend = require('extend'); const objectBase = { test: 'base' @@ -25,19 +23,19 @@ const objectThree = { type ExtendedType = typeof objectBase & typeof objectOne; const extended: ExtendedType = extend(objectBase, objectOne); -assert(extended.test === 'one'); -assert(extended.iamone); +extended.test === 'one'; +extended.iamone; type MoreExtendedType = typeof objectBase & typeof objectOne & typeof objectTwo; const moreExtended: MoreExtendedType = extend(objectBase, objectOne, objectTwo); -assert(moreExtended.test === 2); -assert(moreExtended.iamone); -assert(moreExtended.iamtwo); +moreExtended.test === 2; +moreExtended.iamone; +moreExtended.iamtwo; type DeepExtendedType = typeof objectBase & typeof objectOne & typeof objectTwo & typeof objectThree; const deepExtended = extend(true, objectBase, objectOne, objectTwo, objectThree); -assert(deepExtended.iamone); -assert(deepExtended.iamtwo); -assert(deepExtended.iamthree); -assert(deepExtended.depth.innerType === 'deep'); +deepExtended.iamone; +deepExtended.iamtwo; +deepExtended.iamthree; +deepExtended.depth.innerType === 'deep'; diff --git a/types/gulp-angular-templatecache/gulp-angular-templatecache-tests.ts b/types/gulp-angular-templatecache/gulp-angular-templatecache-tests.ts index 559dd4f609..706b3acaff 100644 --- a/types/gulp-angular-templatecache/gulp-angular-templatecache-tests.ts +++ b/types/gulp-angular-templatecache/gulp-angular-templatecache-tests.ts @@ -1,5 +1,5 @@ import * as gulp from 'gulp'; -import * as templateCache from 'gulp-angular-templatecache'; +import templateCache = require('gulp-angular-templatecache'); gulp.task('templatecache:no-arguments', function () { return gulp.src('templates/**/*.html') diff --git a/types/gulp-autoprefixer/gulp-autoprefixer-tests.ts b/types/gulp-autoprefixer/gulp-autoprefixer-tests.ts index 386e1a882a..c2d87223b8 100644 --- a/types/gulp-autoprefixer/gulp-autoprefixer-tests.ts +++ b/types/gulp-autoprefixer/gulp-autoprefixer-tests.ts @@ -1,5 +1,5 @@ import * as gulp from "gulp"; -import * as autoprefixer from "gulp-autoprefixer"; +import autoprefixer = require("gulp-autoprefixer"); gulp.src("test.css") .pipe(autoprefixer()) diff --git a/types/gulp-batch/gulp-batch-tests.ts b/types/gulp-batch/gulp-batch-tests.ts index c5936eb031..da0c67e84c 100644 --- a/types/gulp-batch/gulp-batch-tests.ts +++ b/types/gulp-batch/gulp-batch-tests.ts @@ -1,5 +1,5 @@ import * as gulp from "gulp"; -import * as batch from "gulp-batch"; +import batch = require("gulp-batch"); gulp.task('default', () => { gulp.watch([ 'lib/**', 'test/**' ], batch((events: any, cb: any) => { diff --git a/types/gulp-bump/gulp-bump-tests.ts b/types/gulp-bump/gulp-bump-tests.ts index b15e800a5e..caf5aecf6b 100644 --- a/types/gulp-bump/gulp-bump-tests.ts +++ b/types/gulp-bump/gulp-bump-tests.ts @@ -1,5 +1,5 @@ import * as gulp from 'gulp'; -import * as GulpBump from 'gulp-bump'; +import GulpBump = require('gulp-bump'); gulp .src('package.json') diff --git a/types/gulp-cache/gulp-cache-tests.ts b/types/gulp-cache/gulp-cache-tests.ts index 31df7b0259..cc02e95119 100644 --- a/types/gulp-cache/gulp-cache-tests.ts +++ b/types/gulp-cache/gulp-cache-tests.ts @@ -1,6 +1,6 @@ import * as fs from "fs"; import * as gulp from "gulp"; -import * as cache from "gulp-cache"; +import cache = require("gulp-cache"); import File = require("vinyl"); // Some gulp plugin diff --git a/types/gulp-coffeelint/gulp-coffeelint-tests.ts b/types/gulp-coffeelint/gulp-coffeelint-tests.ts index 5d18b98862..0acc0fb9e4 100644 --- a/types/gulp-coffeelint/gulp-coffeelint-tests.ts +++ b/types/gulp-coffeelint/gulp-coffeelint-tests.ts @@ -1,10 +1,6 @@ - - - import coffeelint = require('gulp-coffeelint'); import gulp = require('gulp'); - gulp.task('lint', function () { gulp.src('./src/*.coffee') .pipe(coffeelint()) @@ -52,6 +48,3 @@ gulp.task('lint', function() { .pipe(coffeelint()) .pipe(coffeelint.reporter(myReporter)); }); - - - diff --git a/types/gulp-concat/gulp-concat-tests.ts b/types/gulp-concat/gulp-concat-tests.ts index 172aa61451..d1d0ebd1ad 100644 --- a/types/gulp-concat/gulp-concat-tests.ts +++ b/types/gulp-concat/gulp-concat-tests.ts @@ -1,8 +1,5 @@ - - - import gulp = require("gulp"); -import * as concat from "gulp-concat"; +import concat = require("gulp-concat"); gulp.task("concat:simple", () => { gulp.src(["file*.txt"]) diff --git a/types/gulp-connect/gulp-connect-tests.ts b/types/gulp-connect/gulp-connect-tests.ts index f1767701b0..ea29d2337d 100644 --- a/types/gulp-connect/gulp-connect-tests.ts +++ b/types/gulp-connect/gulp-connect-tests.ts @@ -89,7 +89,7 @@ gulp.task('connect', () => { // The following tests are custom tests to validate the more complicated APIs // Validate gulp-connect typings allow express apps to be passed in as middleware -import * as express from "express"; +import express = require("express"); gulp.task('connect', () => { const middleware = [ diff --git a/types/gulp-copy/gulp-copy-tests.ts b/types/gulp-copy/gulp-copy-tests.ts index f4bc3ac023..0b5d71f646 100644 --- a/types/gulp-copy/gulp-copy-tests.ts +++ b/types/gulp-copy/gulp-copy-tests.ts @@ -1,5 +1,5 @@ import * as gulp from "gulp"; -import * as gulpCopy from "gulp-copy"; +import gulpCopy = require("gulp-copy"); gulp.task("copy-files", () => { gulp.src("*.nonexistent") diff --git a/types/gulp-csso/gulp-csso-tests.ts b/types/gulp-csso/gulp-csso-tests.ts index 8595a92ce8..30f693d24d 100644 --- a/types/gulp-csso/gulp-csso-tests.ts +++ b/types/gulp-csso/gulp-csso-tests.ts @@ -1,8 +1,5 @@ - - - import * as gulp from 'gulp'; -import * as csso from 'gulp-csso'; +import csso = require('gulp-csso'); gulp.task('default', () => gulp.src('./main.css') diff --git a/types/gulp-debug/gulp-debug-tests.ts b/types/gulp-debug/gulp-debug-tests.ts index d5c8a6d52b..f9ffce748d 100644 --- a/types/gulp-debug/gulp-debug-tests.ts +++ b/types/gulp-debug/gulp-debug-tests.ts @@ -1,8 +1,5 @@ - - - import * as gulp from 'gulp'; -import * as debug from 'gulp-debug'; +import debug = require('gulp-debug'); gulp.task('default', () => gulp.src('foo.js') @@ -10,5 +7,4 @@ gulp.task('default', () => .pipe(gulp.dest('dist')) ); - debug(); diff --git a/types/gulp-diff/gulp-diff-tests.ts b/types/gulp-diff/gulp-diff-tests.ts index 23748d11e8..7c17e5235a 100644 --- a/types/gulp-diff/gulp-diff-tests.ts +++ b/types/gulp-diff/gulp-diff-tests.ts @@ -1,5 +1,5 @@ import * as gulp from 'gulp'; -import * as diff from 'gulp-diff'; +import diff = require('gulp-diff'); gulp.task('task', () => { return gulp.src('src') diff --git a/types/gulp-dtsm/gulp-dtsm-tests.ts b/types/gulp-dtsm/gulp-dtsm-tests.ts index dafc6b3468..1262a57210 100644 --- a/types/gulp-dtsm/gulp-dtsm-tests.ts +++ b/types/gulp-dtsm/gulp-dtsm-tests.ts @@ -1,4 +1,4 @@ -import * as dtsm from 'gulp-dtsm'; +import dtsm = require('gulp-dtsm'); import * as gulp from 'gulp'; var stream: NodeJS.WritableStream = dtsm(); diff --git a/types/gulp-espower/gulp-espower-tests.ts b/types/gulp-espower/gulp-espower-tests.ts index 9c04e1d3a0..e06cdda2e8 100644 --- a/types/gulp-espower/gulp-espower-tests.ts +++ b/types/gulp-espower/gulp-espower-tests.ts @@ -1,7 +1,3 @@ - - - - import espower = require('gulp-espower'); import * as gulp from 'gulp'; @@ -9,7 +5,6 @@ gulp.src('src/*.coffee') .pipe(espower()) .pipe(gulp.dest('out')); - gulp.src('src/*.coffee') .pipe(espower({ patterns: ['assert(value, [message])'] })) .pipe(gulp.dest('out')); diff --git a/types/gulp-filter/gulp-filter-tests.ts b/types/gulp-filter/gulp-filter-tests.ts index 903f4083f7..730e6f0ae4 100644 --- a/types/gulp-filter/gulp-filter-tests.ts +++ b/types/gulp-filter/gulp-filter-tests.ts @@ -1,8 +1,8 @@ import * as gulp from 'gulp'; -import * as uglify from 'gulp-uglify'; -import * as less from 'gulp-less'; -import * as concat from 'gulp-concat'; -import * as filter from 'gulp-filter'; +import uglify = require('gulp-uglify'); +import less = require('gulp-less'); +import concat = require('gulp-concat'); +import filter = require('gulp-filter'); // Filter only gulp.task('default', () => { diff --git a/types/gulp-flatten/gulp-flatten-tests.ts b/types/gulp-flatten/gulp-flatten-tests.ts index 8c89236d61..431b7819a9 100644 --- a/types/gulp-flatten/gulp-flatten-tests.ts +++ b/types/gulp-flatten/gulp-flatten-tests.ts @@ -1,8 +1,5 @@ - - - import * as gulp from "gulp"; -import * as flatten from "gulp-flatten"; +import flatten = require("gulp-flatten"); gulp.task("flatten:simple", () => { gulp.src(["files/**/*.txt"]) diff --git a/types/gulp-gh-pages/gulp-gh-pages-tests.ts b/types/gulp-gh-pages/gulp-gh-pages-tests.ts index df527b0023..e541f18508 100644 --- a/types/gulp-gh-pages/gulp-gh-pages-tests.ts +++ b/types/gulp-gh-pages/gulp-gh-pages-tests.ts @@ -1,5 +1,5 @@ import * as gulp from "gulp"; -import * as ghPages from "gulp-gh-pages"; +import ghPages = require("gulp-gh-pages"); gulp.src("test.css") .pipe(ghPages()); diff --git a/types/gulp-gzip/gulp-gzip-tests.ts b/types/gulp-gzip/gulp-gzip-tests.ts index 0a4d125d43..20648e38e1 100644 --- a/types/gulp-gzip/gulp-gzip-tests.ts +++ b/types/gulp-gzip/gulp-gzip-tests.ts @@ -1,6 +1,3 @@ - - - import gulp = require('gulp'); import gzip = require('gulp-gzip'); diff --git a/types/gulp-html-replace/gulp-html-replace-tests.ts b/types/gulp-html-replace/gulp-html-replace-tests.ts index 9a21a53b84..ca1e66c680 100644 --- a/types/gulp-html-replace/gulp-html-replace-tests.ts +++ b/types/gulp-html-replace/gulp-html-replace-tests.ts @@ -1,5 +1,5 @@ import * as gulp from 'gulp'; -import * as htmlreplace from 'gulp-html-replace'; +import htmlreplace = require('gulp-html-replace'); // Examples taken from README.md of the gulp-html-replace project: // https://www.npmjs.com/package/gulp-html-replace diff --git a/types/gulp-htmlmin/gulp-htmlmin-tests.ts b/types/gulp-htmlmin/gulp-htmlmin-tests.ts index 29c3bcd4fe..e0ca8be7cd 100644 --- a/types/gulp-htmlmin/gulp-htmlmin-tests.ts +++ b/types/gulp-htmlmin/gulp-htmlmin-tests.ts @@ -1,8 +1,5 @@ - - - import * as gulp from 'gulp'; -import * as htmlmin from 'gulp-htmlmin'; +import htmlmin = require('gulp-htmlmin'); gulp.task('minify', function() { return gulp.src('src/*.html') diff --git a/types/gulp-inject/gulp-inject-tests.ts b/types/gulp-inject/gulp-inject-tests.ts index ef29ebc343..d57756ccfa 100644 --- a/types/gulp-inject/gulp-inject-tests.ts +++ b/types/gulp-inject/gulp-inject-tests.ts @@ -1,8 +1,5 @@ - - - import * as gulp from "gulp"; -import * as inject from "gulp-inject"; +import inject = require("gulp-inject"); gulp.task("inject:simple", () => { gulp.src("src/index.html") diff --git a/types/gulp-install/gulp-install-tests.ts b/types/gulp-install/gulp-install-tests.ts index b822b42706..85b1f6ee1b 100644 --- a/types/gulp-install/gulp-install-tests.ts +++ b/types/gulp-install/gulp-install-tests.ts @@ -1,8 +1,5 @@ - - - import * as gulp from 'gulp'; -import * as install from 'gulp-install'; +import install = require('gulp-install'); // Examples taken from https://www.npmjs.com/package/gulp-install diff --git a/types/gulp-jade/gulp-jade-tests.ts b/types/gulp-jade/gulp-jade-tests.ts index f184184573..e43917f597 100644 --- a/types/gulp-jade/gulp-jade-tests.ts +++ b/types/gulp-jade/gulp-jade-tests.ts @@ -1,5 +1,5 @@ import * as gulp from 'gulp'; -import * as jade from 'gulp-jade'; +import jade = require('gulp-jade'); gulp.task('jade', () => { gulp.src('src/**/*.jade') diff --git a/types/gulp-jasmine-browser/gulp-jasmine-browser-tests.ts b/types/gulp-jasmine-browser/gulp-jasmine-browser-tests.ts index db219148d3..ba2584a2a0 100644 --- a/types/gulp-jasmine-browser/gulp-jasmine-browser-tests.ts +++ b/types/gulp-jasmine-browser/gulp-jasmine-browser-tests.ts @@ -1,6 +1,3 @@ - - - import gulp = require('gulp'); import jasmineBrowser = require('gulp-jasmine-browser'); @@ -10,21 +7,18 @@ gulp.task('jasmine', () => .pipe(jasmineBrowser.server({port: 8888})) ); - gulp.task('jasmine-phantom', () => gulp.src(['src/**/*.js', 'spec/**/*_spec.js']) .pipe(jasmineBrowser.specRunner({console: true})) .pipe(jasmineBrowser.headless()) ); - gulp.task('jasmine-slimerjs', () => gulp.src(['src/**/*.js', 'spec/**/*_spec.js']) .pipe(jasmineBrowser.specRunner({console: true})) .pipe(jasmineBrowser.headless({driver: 'slimerjs'})) ); - gulp.task('jasmine', () => gulp.src('spec/**/*_spec.js') .pipe(jasmineBrowser.specRunner()) diff --git a/types/gulp-json-editor/gulp-json-editor-tests.ts b/types/gulp-json-editor/gulp-json-editor-tests.ts index 67176063de..c4fc082360 100644 --- a/types/gulp-json-editor/gulp-json-editor-tests.ts +++ b/types/gulp-json-editor/gulp-json-editor-tests.ts @@ -1,8 +1,5 @@ - - - import * as gulp from 'gulp'; -import * as jeditor from 'gulp-json-editor'; +import jeditor = require('gulp-json-editor'); // Samples taken from https://www.npmjs.com/package/gulp-json-editor diff --git a/types/gulp-jsonminify/gulp-jsonminify-tests.ts b/types/gulp-jsonminify/gulp-jsonminify-tests.ts index 23008bad7e..c158f83627 100644 --- a/types/gulp-jsonminify/gulp-jsonminify-tests.ts +++ b/types/gulp-jsonminify/gulp-jsonminify-tests.ts @@ -1,5 +1,5 @@ import * as gulp from 'gulp'; -import * as jsonminify from 'gulp-jsonminify'; +import jsonminify = require('gulp-jsonminify'); gulp.task('minify', () => { return gulp.src('src/*.json') diff --git a/types/gulp-jspm/gulp-jspm-tests.ts b/types/gulp-jspm/gulp-jspm-tests.ts index 5f3e0812f1..f2c5c4d4e9 100644 --- a/types/gulp-jspm/gulp-jspm-tests.ts +++ b/types/gulp-jspm/gulp-jspm-tests.ts @@ -1,8 +1,5 @@ - - - import * as gulp from 'gulp'; -import * as gulpJspm from 'gulp-jspm'; +import gulpJspm = require('gulp-jspm'); // Examples taken from https://www.npmjs.com/package/gulp-jspm gulp.task('default', function(){ @@ -26,7 +23,7 @@ gulp.src('src/main.jsx') gulp.src('src/main.jsx') .pipe(gulpJspm({plugin: 'jsx'})) // `jspm bundle main.jsx!jsx` .pipe(gulp.dest('build/')); - + // all other options given to gulp-jspm are passed on to jspm, e.g. gulp.src('src/main.js') .pipe(gulpJspm({inject: true})) // `jspm bundle main --inject` diff --git a/types/gulp-less/gulp-less-tests.ts b/types/gulp-less/gulp-less-tests.ts index bd5335d80e..a5ac36c508 100644 --- a/types/gulp-less/gulp-less-tests.ts +++ b/types/gulp-less/gulp-less-tests.ts @@ -1,8 +1,5 @@ - - - import * as gulp from "gulp"; -import * as less from "gulp-less"; +import less = require("gulp-less"); // Without options gulp.task("less", () => { diff --git a/types/gulp-load-plugins/gulp-load-plugins-tests.ts b/types/gulp-load-plugins/gulp-load-plugins-tests.ts index a0cff649ec..4f118a0688 100644 --- a/types/gulp-load-plugins/gulp-load-plugins-tests.ts +++ b/types/gulp-load-plugins/gulp-load-plugins-tests.ts @@ -1,6 +1,6 @@ import * as gulp from 'gulp'; -import * as gulpConcat from 'gulp-concat'; -import * as gulpLoadPlugins from 'gulp-load-plugins'; +import gulpConcat = require('gulp-concat'); +import gulpLoadPlugins = require('gulp-load-plugins'); interface GulpPlugins extends IGulpPlugins { concat: typeof gulpConcat; diff --git a/types/gulp-minify-css/gulp-minify-css-tests.ts b/types/gulp-minify-css/gulp-minify-css-tests.ts index 597111d30c..9de00a3ae8 100644 --- a/types/gulp-minify-css/gulp-minify-css-tests.ts +++ b/types/gulp-minify-css/gulp-minify-css-tests.ts @@ -1,8 +1,5 @@ - - - import * as gulp from "gulp"; -import * as minifyCSS from "gulp-minify-css"; +import minifyCSS = require("gulp-minify-css"); gulp.task("minify-css", () => { gulp.src("css/**/*.css") diff --git a/types/gulp-minify-html/gulp-minify-html-tests.ts b/types/gulp-minify-html/gulp-minify-html-tests.ts index fd27474de2..5071348899 100644 --- a/types/gulp-minify-html/gulp-minify-html-tests.ts +++ b/types/gulp-minify-html/gulp-minify-html-tests.ts @@ -1,8 +1,5 @@ - - - import * as gulp from 'gulp'; -import * as minifyHtml from 'gulp-minify-html'; +import minifyHtml = require('gulp-minify-html'); // This package has been deprecated in favor of gulp-htmlmin, which should be faster and more comprehensive. diff --git a/types/gulp-mocha/gulp-mocha-tests.ts b/types/gulp-mocha/gulp-mocha-tests.ts index c84d710380..d007900825 100644 --- a/types/gulp-mocha/gulp-mocha-tests.ts +++ b/types/gulp-mocha/gulp-mocha-tests.ts @@ -1,5 +1,5 @@ import * as gulp from "gulp"; -import * as mocha from "gulp-mocha"; +import mocha = require("gulp-mocha"); gulp.task('default', function () { return gulp.src('test.js', {read: false}) diff --git a/types/gulp-modernizr/gulp-modernizr-tests.ts b/types/gulp-modernizr/gulp-modernizr-tests.ts index a29f642d7f..8c5b4c0e31 100644 --- a/types/gulp-modernizr/gulp-modernizr-tests.ts +++ b/types/gulp-modernizr/gulp-modernizr-tests.ts @@ -1,5 +1,5 @@ import { src, dest } from 'gulp'; -import * as gulpModernizr from 'gulp-modernizr'; +import gulpModernizr = require('gulp-modernizr'); const s1 = gulpModernizr(); const s2 = gulpModernizr('filename.js', {}); diff --git a/types/gulp-msbuild/gulp-msbuild-tests.ts b/types/gulp-msbuild/gulp-msbuild-tests.ts index f9e5ce053b..386746c0de 100644 --- a/types/gulp-msbuild/gulp-msbuild-tests.ts +++ b/types/gulp-msbuild/gulp-msbuild-tests.ts @@ -1,4 +1,4 @@ -import * as msbuild from "gulp-msbuild"; +import msbuild = require("gulp-msbuild"); const stream = msbuild({ stdout: false, diff --git a/types/gulp-mustache/gulp-mustache-tests.ts b/types/gulp-mustache/gulp-mustache-tests.ts index c069a1dd02..d8285370e7 100644 --- a/types/gulp-mustache/gulp-mustache-tests.ts +++ b/types/gulp-mustache/gulp-mustache-tests.ts @@ -1,5 +1,4 @@ -import * as mustache from "gulp-mustache"; -// noinspection ES6UnusedImports +import mustache = require("gulp-mustache"); import { Transform } from "stream"; mustache({ // $ExpectType Transform diff --git a/types/gulp-ng-annotate/gulp-ng-annotate-tests.ts b/types/gulp-ng-annotate/gulp-ng-annotate-tests.ts index ea48672fb0..6116b87ad2 100644 --- a/types/gulp-ng-annotate/gulp-ng-annotate-tests.ts +++ b/types/gulp-ng-annotate/gulp-ng-annotate-tests.ts @@ -1,6 +1,3 @@ - - - import ngAnnotate = require('gulp-ng-annotate'); import gulp = require('gulp'); diff --git a/types/gulp-nodemon/gulp-nodemon-tests.ts b/types/gulp-nodemon/gulp-nodemon-tests.ts index 4c36b42aa9..85e90a667b 100644 --- a/types/gulp-nodemon/gulp-nodemon-tests.ts +++ b/types/gulp-nodemon/gulp-nodemon-tests.ts @@ -1,6 +1,3 @@ - - - import gulp = require('gulp'); import path = require('path'); import nodemon = require('gulp-nodemon'); diff --git a/types/gulp-nunit-runner/gulp-nunit-runner-tests.ts b/types/gulp-nunit-runner/gulp-nunit-runner-tests.ts index 0e55fef37a..ea571c3cf8 100644 --- a/types/gulp-nunit-runner/gulp-nunit-runner-tests.ts +++ b/types/gulp-nunit-runner/gulp-nunit-runner-tests.ts @@ -1,4 +1,4 @@ -import * as nunit from "gulp-nunit-runner"; +import nunit = require("gulp-nunit-runner"); const stream = nunit({ executable: 'c:/Program Files/NUnit/bin', diff --git a/types/gulp-protractor/gulp-protractor-tests.ts b/types/gulp-protractor/gulp-protractor-tests.ts index 77d31e2bea..c79ac9220c 100644 --- a/types/gulp-protractor/gulp-protractor-tests.ts +++ b/types/gulp-protractor/gulp-protractor-tests.ts @@ -1,6 +1,3 @@ - - - import gulp = require('gulp'); import protractor = require('gulp-protractor'); diff --git a/types/gulp-pug/gulp-pug-tests.ts b/types/gulp-pug/gulp-pug-tests.ts index 0ec83a248f..1ba56b91e4 100644 --- a/types/gulp-pug/gulp-pug-tests.ts +++ b/types/gulp-pug/gulp-pug-tests.ts @@ -1,5 +1,5 @@ import { src, dest } from 'gulp'; -import * as gulpPug from 'gulp-pug'; +import gulpPug = require('gulp-pug'); const s1 = gulpPug(); const s2 = gulpPug({}); diff --git a/types/gulp-replace/gulp-replace-tests.ts b/types/gulp-replace/gulp-replace-tests.ts index 6a17057495..79f77b93a9 100644 --- a/types/gulp-replace/gulp-replace-tests.ts +++ b/types/gulp-replace/gulp-replace-tests.ts @@ -1,5 +1,5 @@ import * as gulp from "gulp"; -import * as replace from "gulp-replace"; +import replace = require("gulp-replace"); gulp.task('templates', function(){ gulp.src(['file.txt']) diff --git a/types/gulp-rev-replace/gulp-rev-replace-tests.ts b/types/gulp-rev-replace/gulp-rev-replace-tests.ts index 2d7e5a3580..3d191811bb 100644 --- a/types/gulp-rev-replace/gulp-rev-replace-tests.ts +++ b/types/gulp-rev-replace/gulp-rev-replace-tests.ts @@ -1,7 +1,7 @@ import * as gulp from 'gulp'; -import * as revReplace from 'gulp-rev-replace'; -import * as rev from 'gulp-rev'; -import * as useref from 'gulp-useref'; +import revReplace = require('gulp-rev-replace'); +import rev = require('gulp-rev'); +import useref = require('gulp-useref'); gulp.task("index", () => { return gulp.src("src/index.html") diff --git a/types/gulp-rev/gulp-rev-tests.ts b/types/gulp-rev/gulp-rev-tests.ts index c13b23fc71..c19616de11 100644 --- a/types/gulp-rev/gulp-rev-tests.ts +++ b/types/gulp-rev/gulp-rev-tests.ts @@ -1,6 +1,3 @@ - - - import gulp = require('gulp'); import rev = require('gulp-rev'); diff --git a/types/gulp-ruby-sass/gulp-ruby-sass-tests.ts b/types/gulp-ruby-sass/gulp-ruby-sass-tests.ts index 69346a16d8..70a034bd68 100644 --- a/types/gulp-ruby-sass/gulp-ruby-sass-tests.ts +++ b/types/gulp-ruby-sass/gulp-ruby-sass-tests.ts @@ -1,5 +1,5 @@ import * as gulp from "gulp"; -import * as sass from "gulp-ruby-sass"; +import sass = require("gulp-ruby-sass"); gulp.task('sass', function () { sass('./scss/*.scss') diff --git a/types/gulp-sass/gulp-sass-tests.ts b/types/gulp-sass/gulp-sass-tests.ts index 72192512a7..5bed46d938 100644 --- a/types/gulp-sass/gulp-sass-tests.ts +++ b/types/gulp-sass/gulp-sass-tests.ts @@ -1,5 +1,5 @@ import gulp = require("gulp"); -import * as sass from "gulp-sass"; +import sass = require("gulp-sass"); gulp.task('sass', function () { gulp.src('./scss/*.scss') diff --git a/types/gulp-size/gulp-size-tests.ts b/types/gulp-size/gulp-size-tests.ts index bd53018d6a..f978842201 100644 --- a/types/gulp-size/gulp-size-tests.ts +++ b/types/gulp-size/gulp-size-tests.ts @@ -1,6 +1,6 @@ import * as gulp from 'gulp'; -import * as size from 'gulp-size'; -import * as debug from 'gulp-debug'; +import size = require('gulp-size'); +import debug = require('gulp-debug'); gulp.task('default', () => gulp.src('fixture.js') diff --git a/types/gulp-sort/gulp-sort-tests.ts b/types/gulp-sort/gulp-sort-tests.ts index 62e17d27a2..e3cf64f429 100644 --- a/types/gulp-sort/gulp-sort-tests.ts +++ b/types/gulp-sort/gulp-sort-tests.ts @@ -1,7 +1,7 @@ /** Tests taken from https://github.com/pgilad/gulp-sort#usage */ import * as gulp from 'gulp'; -import * as sort from 'gulp-sort'; +import sort = require('gulp-sort'); import * as gulpUtil from 'gulp-util'; // default sort diff --git a/types/gulp-strip-debug/gulp-strip-debug-tests.ts b/types/gulp-strip-debug/gulp-strip-debug-tests.ts index 9a0b04e48a..0e8b6c1a8b 100644 --- a/types/gulp-strip-debug/gulp-strip-debug-tests.ts +++ b/types/gulp-strip-debug/gulp-strip-debug-tests.ts @@ -1,8 +1,5 @@ - - - import * as gulp from 'gulp'; -import * as stripDebug from 'gulp-strip-debug'; +import stripDebug = require('gulp-strip-debug'); // Example taken from https://www.npmjs.com/package/gulp-strip-debug gulp.task('default', function () { diff --git a/types/gulp-tsd/gulp-tsd-tests.ts b/types/gulp-tsd/gulp-tsd-tests.ts index 0b7a1dadea..e593ec2634 100644 --- a/types/gulp-tsd/gulp-tsd-tests.ts +++ b/types/gulp-tsd/gulp-tsd-tests.ts @@ -1,8 +1,5 @@ - - - import * as gulp from "gulp"; -import * as tsd from "gulp-tsd"; +import tsd = require("gulp-tsd"); gulp.task("tsd", () => { gulp.src("gulp_tsd.json") diff --git a/types/gulp-uglify/composer.d.ts b/types/gulp-uglify/composer.d.ts index bb3f04f134..0584a72fc0 100644 --- a/types/gulp-uglify/composer.d.ts +++ b/types/gulp-uglify/composer.d.ts @@ -1,5 +1,5 @@ import * as UglifyJS from 'uglify-js'; -import * as GulpUglify from '.'; +import GulpUglify = require('.'); interface Composer { (uglify: Uglify, log: Logger): typeof GulpUglify; diff --git a/types/gulp-uglify/gulp-uglify-tests.ts b/types/gulp-uglify/gulp-uglify-tests.ts index 172d7cae0b..1a23580e8c 100644 --- a/types/gulp-uglify/gulp-uglify-tests.ts +++ b/types/gulp-uglify/gulp-uglify-tests.ts @@ -1,5 +1,5 @@ import * as gulp from 'gulp'; -import * as uglify from 'gulp-uglify'; +import uglify = require('gulp-uglify'); import pump = require('pump'); import uglifyjs = require('uglify-js'); import composer = require('gulp-uglify/composer'); diff --git a/types/gulp-useref/gulp-useref-tests.ts b/types/gulp-useref/gulp-useref-tests.ts index 5d777fd6e6..91cc7919e7 100644 --- a/types/gulp-useref/gulp-useref-tests.ts +++ b/types/gulp-useref/gulp-useref-tests.ts @@ -1,5 +1,5 @@ import * as gulp from 'gulp'; -import * as useref from 'gulp-useref'; +import useref = require('gulp-useref'); // Usage gulp.task('default', function () { @@ -14,7 +14,7 @@ gulp.task('default', function () { .pipe(gulp.dest('dist')); }); -import * as gulpif from 'gulp-if'; +import gulpif = require('gulp-if'); import uglify = require('gulp-uglify'); import minifyCss = require('gulp-minify-css'); diff --git a/types/gulp-watch/gulp-watch-tests.ts b/types/gulp-watch/gulp-watch-tests.ts index b273662824..360c53dd19 100644 --- a/types/gulp-watch/gulp-watch-tests.ts +++ b/types/gulp-watch/gulp-watch-tests.ts @@ -1,5 +1,5 @@ import * as gulp from 'gulp'; -import * as watch from 'gulp-watch'; +import watch = require('gulp-watch'); gulp.task('stream', () => gulp.src('css/**/*.css') diff --git a/types/gulp-zip/gulp-zip-tests.ts b/types/gulp-zip/gulp-zip-tests.ts index 983a4263ce..428ce81ebd 100644 --- a/types/gulp-zip/gulp-zip-tests.ts +++ b/types/gulp-zip/gulp-zip-tests.ts @@ -1,4 +1,4 @@ -import * as GulpZip from 'gulp-zip'; +import GulpZip = require('gulp-zip'); GulpZip('file.zip').on('end', () => {}); GulpZip('file.zip', {compress: false}).on('end', () => {}); diff --git a/types/hbs/hbs-tests.ts b/types/hbs/hbs-tests.ts index a1baa73ca7..c1d355daea 100644 --- a/types/hbs/hbs-tests.ts +++ b/types/hbs/hbs-tests.ts @@ -1,4 +1,4 @@ -import * as express from 'express'; +import express = require('express'); const app = express(); diff --git a/types/hpp/hpp-tests.ts b/types/hpp/hpp-tests.ts index 21432f3d3f..8786ab702d 100644 --- a/types/hpp/hpp-tests.ts +++ b/types/hpp/hpp-tests.ts @@ -1,5 +1,5 @@ -import * as express from 'express'; -import * as hpp from 'hpp'; +import express = require('express'); +import hpp = require('hpp'); const app = express(); diff --git a/types/http-assert/http-assert-tests.ts b/types/http-assert/http-assert-tests.ts index bfb12e650a..a0e159aeed 100644 --- a/types/http-assert/http-assert-tests.ts +++ b/types/http-assert/http-assert-tests.ts @@ -1,4 +1,4 @@ -import * as httpAssert from 'http-assert'; +import httpAssert = require('http-assert'); import { HttpError } from 'http-errors'; try { diff --git a/types/http-errors/http-errors-tests.ts b/types/http-errors/http-errors-tests.ts index c3677fd5f9..583223d6a4 100644 --- a/types/http-errors/http-errors-tests.ts +++ b/types/http-errors/http-errors-tests.ts @@ -1,5 +1,5 @@ -import * as create from 'http-errors'; -import * as express from 'express'; +import create = require('http-errors'); +import express = require('express'); import * as util from 'util'; const app = express(); diff --git a/types/i18next-express-middleware/i18next-express-middleware-tests.ts b/types/i18next-express-middleware/i18next-express-middleware-tests.ts index d56f7a9207..9959cf9dad 100644 --- a/types/i18next-express-middleware/i18next-express-middleware-tests.ts +++ b/types/i18next-express-middleware/i18next-express-middleware-tests.ts @@ -1,4 +1,4 @@ -import * as express from "express"; +import express = require("express"); import * as i18next from "i18next"; import middleware = require("i18next-express-middleware"); diff --git a/types/koa-basic-auth/koa-basic-auth-tests.ts b/types/koa-basic-auth/koa-basic-auth-tests.ts index 43cc5ab833..a1a8e8c3c2 100644 --- a/types/koa-basic-auth/koa-basic-auth-tests.ts +++ b/types/koa-basic-auth/koa-basic-auth-tests.ts @@ -1,4 +1,4 @@ -import * as Koa from "koa"; +import Koa = require("koa"); import auth = require("koa-basic-auth"); const app = new Koa(); diff --git a/types/koa-bodyparser/koa-bodyparser-tests.ts b/types/koa-bodyparser/koa-bodyparser-tests.ts index 7e972e12be..e38eb112dd 100644 --- a/types/koa-bodyparser/koa-bodyparser-tests.ts +++ b/types/koa-bodyparser/koa-bodyparser-tests.ts @@ -1,5 +1,5 @@ -import * as Koa from "koa"; -import * as bodyParser from "koa-bodyparser"; +import Koa = require("koa"); +import bodyParser = require("koa-bodyparser"); const app = new Koa(); diff --git a/types/koa-cache-control/koa-cache-control-tests.ts b/types/koa-cache-control/koa-cache-control-tests.ts index c99f4fe862..9135551e7c 100644 --- a/types/koa-cache-control/koa-cache-control-tests.ts +++ b/types/koa-cache-control/koa-cache-control-tests.ts @@ -1,5 +1,5 @@ -import * as Koa from "koa"; -import * as cacheControl from "koa-cache-control"; +import Koa = require("koa"); +import cacheControl = require("koa-cache-control"); const app = new Koa(); diff --git a/types/koa-compress/koa-compress-tests.ts b/types/koa-compress/koa-compress-tests.ts index 30195cd30c..e24bc53b27 100644 --- a/types/koa-compress/koa-compress-tests.ts +++ b/types/koa-compress/koa-compress-tests.ts @@ -1,4 +1,4 @@ -import * as Koa from "koa"; +import Koa = require("koa"); import compress = require("koa-compress"); const app = new Koa(); diff --git a/types/koa-csrf/koa-csrf-tests.ts b/types/koa-csrf/koa-csrf-tests.ts index d0bb211b01..8886e8b0cf 100644 --- a/types/koa-csrf/koa-csrf-tests.ts +++ b/types/koa-csrf/koa-csrf-tests.ts @@ -1,5 +1,5 @@ import koaCsrf = require("koa-csrf"); -import * as Koa from "koa"; +import Koa = require("koa"); const app = new Koa(); app.use(new koaCsrf({ diff --git a/types/koa-etag/koa-etag-tests.ts b/types/koa-etag/koa-etag-tests.ts index fa2d5515d6..a5cac4b870 100644 --- a/types/koa-etag/koa-etag-tests.ts +++ b/types/koa-etag/koa-etag-tests.ts @@ -1,5 +1,5 @@ import koaEtag = require('koa-etag'); -import * as Koa from 'koa'; +import Koa = require('koa'); new Koa().use(koaEtag()); diff --git a/types/koa-favicon/koa-favicon-tests.ts b/types/koa-favicon/koa-favicon-tests.ts index 72dfdb5aaa..755c38ff58 100644 --- a/types/koa-favicon/koa-favicon-tests.ts +++ b/types/koa-favicon/koa-favicon-tests.ts @@ -1,4 +1,4 @@ -import * as Koa from "koa"; +import Koa = require("koa"); import favicon = require("koa-favicon"); const app = new Koa(); diff --git a/types/koa-generic-session/koa-generic-session-tests.ts b/types/koa-generic-session/koa-generic-session-tests.ts index e48d4dbef6..be10c1e04f 100644 --- a/types/koa-generic-session/koa-generic-session-tests.ts +++ b/types/koa-generic-session/koa-generic-session-tests.ts @@ -1,4 +1,4 @@ -import * as Koa from "koa"; +import Koa = require("koa"); import { MemoryStore, Session } from "koa-generic-session"; import session = require("koa-generic-session"); diff --git a/types/koa-hbs/koa-hbs-tests.ts b/types/koa-hbs/koa-hbs-tests.ts index 14a113e816..0090f446c1 100644 --- a/types/koa-hbs/koa-hbs-tests.ts +++ b/types/koa-hbs/koa-hbs-tests.ts @@ -1,4 +1,4 @@ -import * as Koa from 'koa'; +import Koa = require('koa'); import hbs = require("koa-hbs"); import * as Path from 'path'; diff --git a/types/koa-helmet/koa-helmet-tests.ts b/types/koa-helmet/koa-helmet-tests.ts index 1f50ea5c6b..2290ab07fa 100644 --- a/types/koa-helmet/koa-helmet-tests.ts +++ b/types/koa-helmet/koa-helmet-tests.ts @@ -1,4 +1,4 @@ -import * as Koa from 'koa'; +import Koa = require('koa'); import helmet = require('koa-helmet'); const app = new Koa(); diff --git a/types/koa-json-error/koa-json-error-tests.ts b/types/koa-json-error/koa-json-error-tests.ts index 9b2ab3c8de..be76a08cb3 100644 --- a/types/koa-json-error/koa-json-error-tests.ts +++ b/types/koa-json-error/koa-json-error-tests.ts @@ -1,5 +1,5 @@ -import * as Koa from "koa"; -import * as error from "koa-json-error"; +import Koa = require("koa"); +import error = require("koa-json-error"); const app = new Koa(); diff --git a/types/koa-json/koa-json-tests.ts b/types/koa-json/koa-json-tests.ts index deb3aa8e0d..bce89d95eb 100644 --- a/types/koa-json/koa-json-tests.ts +++ b/types/koa-json/koa-json-tests.ts @@ -1,5 +1,5 @@ -import * as Koa from "koa"; -import * as json from 'koa-json'; +import Koa = require("koa"); +import json = require('koa-json'); const app = new Koa(); diff --git a/types/koa-logger-winston/koa-logger-winston-tests.ts b/types/koa-logger-winston/koa-logger-winston-tests.ts index 44b9047b86..7bec5877f4 100644 --- a/types/koa-logger-winston/koa-logger-winston-tests.ts +++ b/types/koa-logger-winston/koa-logger-winston-tests.ts @@ -1,5 +1,5 @@ -import * as koa from 'koa'; -import * as logger from 'koa-logger-winston'; +import koa = require('koa'); +import logger = require('koa-logger-winston'); import * as winston from 'winston'; const app = new koa(); diff --git a/types/koa-logger/koa-logger-tests.ts b/types/koa-logger/koa-logger-tests.ts index 502c33255d..bd4a32213b 100644 --- a/types/koa-logger/koa-logger-tests.ts +++ b/types/koa-logger/koa-logger-tests.ts @@ -1,5 +1,5 @@ -import * as koa from 'koa'; -import * as logger from 'koa-logger'; +import koa = require('koa'); +import logger = require('koa-logger'); const app = new koa(); app.use(logger()); diff --git a/types/koa-morgan/koa-morgan-tests.ts b/types/koa-morgan/koa-morgan-tests.ts index 0a0e51cd95..8d4936a78a 100644 --- a/types/koa-morgan/koa-morgan-tests.ts +++ b/types/koa-morgan/koa-morgan-tests.ts @@ -1,6 +1,6 @@ import { IncomingMessage, ServerResponse } from 'http'; -import * as Koa from 'koa'; -import * as morgan from 'koa-morgan'; +import Koa = require('koa'); +import morgan = require('koa-morgan'); const app = new Koa(); diff --git a/types/koa-mount/index.d.ts b/types/koa-mount/index.d.ts index d05036d83b..138d4f6f36 100644 --- a/types/koa-mount/index.d.ts +++ b/types/koa-mount/index.d.ts @@ -5,7 +5,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 -import * as Koa from "koa"; +import Koa = require("koa"); declare function mount(app: Koa.Middleware | Koa): Koa.Middleware; diff --git a/types/koa-mount/koa-mount-tests.ts b/types/koa-mount/koa-mount-tests.ts index 9a7702935f..139e08a3d8 100644 --- a/types/koa-mount/koa-mount-tests.ts +++ b/types/koa-mount/koa-mount-tests.ts @@ -1,5 +1,5 @@ -import * as Koa from "koa"; -import * as mount from "koa-mount"; +import Koa = require("koa"); +import mount = require("koa-mount"); const a = new Koa(); diff --git a/types/koa-multer/koa-multer-tests.ts b/types/koa-multer/koa-multer-tests.ts index 212b4d95b0..617e08c853 100644 --- a/types/koa-multer/koa-multer-tests.ts +++ b/types/koa-multer/koa-multer-tests.ts @@ -1,5 +1,5 @@ -import * as Koa from 'koa'; -import * as multer from 'koa-multer'; +import Koa = require('koa'); +import multer = require('koa-multer'); const upload = multer({ dest: 'uploads/', diff --git a/types/koa-passport/koa-passport-tests.ts b/types/koa-passport/koa-passport-tests.ts index 42827a85ba..afc07b956e 100644 --- a/types/koa-passport/koa-passport-tests.ts +++ b/types/koa-passport/koa-passport-tests.ts @@ -1,4 +1,4 @@ -import * as Koa from 'koa'; +import Koa = require('koa'); import * as passport from 'koa-passport'; const app = new Koa(); diff --git a/types/koa-pino-logger/koa-pino-logger-tests.ts b/types/koa-pino-logger/koa-pino-logger-tests.ts index 68f5dd1331..bec6f887d2 100644 --- a/types/koa-pino-logger/koa-pino-logger-tests.ts +++ b/types/koa-pino-logger/koa-pino-logger-tests.ts @@ -1,5 +1,5 @@ -import * as koa from 'koa'; -import * as logger from 'koa-pino-logger'; +import koa = require('koa'); +import logger = require('koa-pino-logger'); const app = new koa(); app.use(logger()); diff --git a/types/koa-range/koa-range-tests.ts b/types/koa-range/koa-range-tests.ts index c489bf4a6b..29982f9b04 100644 --- a/types/koa-range/koa-range-tests.ts +++ b/types/koa-range/koa-range-tests.ts @@ -1,5 +1,5 @@ -import * as range from "koa-range"; -import * as Koa from "koa"; +import range = require("koa-range"); +import Koa = require("koa"); const app = new Koa(); app.use(range); diff --git a/types/koa-redis/koa-redis-tests.ts b/types/koa-redis/koa-redis-tests.ts index 21c8e010b0..2cf4ca2ddb 100644 --- a/types/koa-redis/koa-redis-tests.ts +++ b/types/koa-redis/koa-redis-tests.ts @@ -1,4 +1,4 @@ -import * as Koa from "koa"; +import Koa = require("koa"); import { MemoryStore, Session } from "koa-generic-session"; import session = require("koa-generic-session"); import redisStore = require("koa-redis"); diff --git a/types/koa-route/koa-route-tests.ts b/types/koa-route/koa-route-tests.ts index 331c7d6b53..3b26266434 100644 --- a/types/koa-route/koa-route-tests.ts +++ b/types/koa-route/koa-route-tests.ts @@ -1,4 +1,4 @@ -import * as Koa from 'koa'; +import Koa = require('koa'); import * as route from 'koa-route'; const app = new Koa(); diff --git a/types/koa-router/koa-router-tests.ts b/types/koa-router/koa-router-tests.ts index 32f041bbc7..bbd525897c 100644 --- a/types/koa-router/koa-router-tests.ts +++ b/types/koa-router/koa-router-tests.ts @@ -1,5 +1,5 @@ -import * as Koa from "koa"; -import * as Router from "koa-router"; +import Koa = require("koa"); +import Router = require("koa-router"); const app = new Koa(); diff --git a/types/koa-send/koa-send-tests.ts b/types/koa-send/koa-send-tests.ts index a3b136ea9a..33c8cdaa18 100644 --- a/types/koa-send/koa-send-tests.ts +++ b/types/koa-send/koa-send-tests.ts @@ -1,5 +1,5 @@ -import * as Koa from 'koa'; -import * as send from 'koa-send'; +import Koa = require('koa'); +import send = require('koa-send'); const app = new Koa(); diff --git a/types/koa-session-minimal/koa-session-minimal-tests.ts b/types/koa-session-minimal/koa-session-minimal-tests.ts index b58f441d8e..6ea0ef7cf5 100644 --- a/types/koa-session-minimal/koa-session-minimal-tests.ts +++ b/types/koa-session-minimal/koa-session-minimal-tests.ts @@ -1,5 +1,5 @@ -import * as Koa from "koa"; -import * as session from "koa-session-minimal"; +import Koa = require("koa"); +import session = require("koa-session-minimal"); const app = new Koa(); diff --git a/types/koa-session/index.d.ts b/types/koa-session/index.d.ts index d05ce7055e..8650a07d91 100644 --- a/types/koa-session/index.d.ts +++ b/types/koa-session/index.d.ts @@ -15,7 +15,7 @@ =============================================== */ -import * as Koa from "koa"; +import Koa = require("koa"); declare namespace session { /** diff --git a/types/koa-session/koa-session-tests.ts b/types/koa-session/koa-session-tests.ts index 02f944ae66..2844767240 100644 --- a/types/koa-session/koa-session-tests.ts +++ b/types/koa-session/koa-session-tests.ts @@ -1,5 +1,5 @@ -import * as Koa from 'koa'; -import * as session from 'koa-session'; +import Koa = require('koa'); +import session = require('koa-session'); import * as ContextSession from "koa-session/lib/context"; import { diff --git a/types/koa-static/koa-static-tests.ts b/types/koa-static/koa-static-tests.ts index 9b0d756f7d..c81b81483c 100644 --- a/types/koa-static/koa-static-tests.ts +++ b/types/koa-static/koa-static-tests.ts @@ -1,4 +1,4 @@ -import * as Koa from "koa"; +import Koa = require("koa"); import serve = require("koa-static"); const app = new Koa(); diff --git a/types/koa-views/koa-views-tests.ts b/types/koa-views/koa-views-tests.ts index 65d6be7e1f..3453b156de 100644 --- a/types/koa-views/koa-views-tests.ts +++ b/types/koa-views/koa-views-tests.ts @@ -1,5 +1,5 @@ -import * as Koa from "koa"; -import * as views from "koa-views"; +import Koa = require("koa"); +import views = require("koa-views"); const app = new Koa(); diff --git a/types/koa-websocket/index.d.ts b/types/koa-websocket/index.d.ts index 326f098ae5..e7a6c39a7d 100644 --- a/types/koa-websocket/index.d.ts +++ b/types/koa-websocket/index.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 -import * as Koa from 'koa'; +import Koa = require('koa'); import * as ws from 'ws'; import * as http from 'http'; import * as https from 'https'; @@ -30,7 +30,5 @@ interface KoaWebsocketApp extends Koa { ws: KoaWebsocketServer; } -type KoaWebsockets = (app: Koa) => KoaWebsocketApp; - -declare const websockets: KoaWebsockets; +declare function websockets(app: Koa): KoaWebsocketApp; export = websockets; diff --git a/types/koa-websocket/koa-websocket-tests.ts b/types/koa-websocket/koa-websocket-tests.ts index 66bd4bf4d2..bd99c3d17e 100644 --- a/types/koa-websocket/koa-websocket-tests.ts +++ b/types/koa-websocket/koa-websocket-tests.ts @@ -1,5 +1,5 @@ -import * as Koa from 'koa'; -import * as websocket from 'koa-websocket'; +import Koa = require('koa'); +import websocket = require('koa-websocket'); const app = websocket(new Koa()); diff --git a/types/koa/index.d.ts b/types/koa/index.d.ts index 1203864c8c..2a5c49f110 100644 --- a/types/koa/index.d.ts +++ b/types/koa/index.d.ts @@ -21,7 +21,7 @@ import * as accepts from "accepts"; import * as Cookies from "cookies"; import { EventEmitter } from "events"; import { IncomingMessage, ServerResponse, Server } from "http"; -import * as httpAssert from "http-assert"; +import httpAssert = require("http-assert"); import * as Keygrip from "keygrip"; import * as compose from "koa-compose"; import { Socket, ListenOptions } from "net"; diff --git a/types/koa/koa-tests.ts b/types/koa/koa-tests.ts index 6dbc073bea..ea0a4a18b8 100644 --- a/types/koa/koa-tests.ts +++ b/types/koa/koa-tests.ts @@ -1,4 +1,4 @@ -import * as Koa from "koa"; +import Koa = require("koa"); const app = new Koa(); diff --git a/types/koa2-cors/koa2-cors-tests.ts b/types/koa2-cors/koa2-cors-tests.ts index 820722d635..228fa4242e 100644 --- a/types/koa2-cors/koa2-cors-tests.ts +++ b/types/koa2-cors/koa2-cors-tests.ts @@ -1,5 +1,5 @@ -import * as Koa from 'koa'; -import * as cors from 'koa2-cors'; +import Koa = require('koa'); +import cors = require('koa2-cors'); const app = new Koa(); app.use(cors({ diff --git a/types/libpq/libpq-tests.ts b/types/libpq/libpq-tests.ts index fee968dabc..f1ae6cc1e3 100644 --- a/types/libpq/libpq-tests.ts +++ b/types/libpq/libpq-tests.ts @@ -1,9 +1,9 @@ /// import { Buffer } from 'buffer'; -import * as assert from 'assert'; +import assert = require('assert'); import * as async from 'async'; -import * as PQ from 'libpq'; +import PQ = require('libpq'); declare const _: { times(n: number, f: () => T): T[] }; diff --git a/types/loopback-boot/loopback-boot-tests.ts b/types/loopback-boot/loopback-boot-tests.ts index 5de95d00c6..8fa409c768 100644 --- a/types/loopback-boot/loopback-boot-tests.ts +++ b/types/loopback-boot/loopback-boot-tests.ts @@ -1,6 +1,6 @@ -import * as loopback from 'loopback'; -import * as boot from 'loopback-boot'; -import * as cookieParser from 'cookie-parser'; +import loopback = require('loopback'); +import boot = require('loopback-boot'); +import cookieParser = require('cookie-parser'); class Server { app: loopback.LoopBackApplication; diff --git a/types/loopback/loopback-tests.ts b/types/loopback/loopback-tests.ts index ed37bf5804..359e6977b6 100644 --- a/types/loopback/loopback-tests.ts +++ b/types/loopback/loopback-tests.ts @@ -1,5 +1,5 @@ -import * as loopback from 'loopback'; -import * as cookieParser from 'cookie-parser'; +import loopback = require('loopback'); +import cookieParser = require('cookie-parser'); class TestModel { id: number; diff --git a/types/mongoose-paginate/mongoose-paginate-tests.ts b/types/mongoose-paginate/mongoose-paginate-tests.ts index d541c44da8..320077bc3a 100644 --- a/types/mongoose-paginate/mongoose-paginate-tests.ts +++ b/types/mongoose-paginate/mongoose-paginate-tests.ts @@ -1,5 +1,3 @@ -/// - /** * Created by Linus Brolin . */ @@ -12,7 +10,7 @@ import { PaginateResult, Document } from 'mongoose'; -import * as mongoosePaginate from 'mongoose-paginate'; +import mongoosePaginate = require('mongoose-paginate'); import { Router, Request, Response } from 'express'; diff --git a/types/mongoose-sequence/mongoose-sequence-tests.ts b/types/mongoose-sequence/mongoose-sequence-tests.ts index b4173e0002..85c46633e0 100644 --- a/types/mongoose-sequence/mongoose-sequence-tests.ts +++ b/types/mongoose-sequence/mongoose-sequence-tests.ts @@ -1,12 +1,10 @@ -/// - /** * Based on the examples on: https://github.com/ramiel/mongoose-sequence * Created by Linus Brolin . */ import { SequenceDocument, SequenceOptions, SequenceSchema, Document, Schema, Model, model } from 'mongoose'; -import * as mongooseSequence from 'mongoose-sequence'; +import mongooseSequence = require('mongoose-sequence'); //#region Test Models interface User extends SequenceDocument { diff --git a/types/multer-gridfs-storage/multer-gridfs-storage-tests.ts b/types/multer-gridfs-storage/multer-gridfs-storage-tests.ts index 61114fa349..d34eaeeae6 100644 --- a/types/multer-gridfs-storage/multer-gridfs-storage-tests.ts +++ b/types/multer-gridfs-storage/multer-gridfs-storage-tests.ts @@ -1,4 +1,4 @@ -import * as MulterGridfsStorage from 'multer-gridfs-storage'; +import MulterGridfsStorage = require('multer-gridfs-storage'); import { Db, MongoClient, Server } from "mongodb"; // Exported interfaces diff --git a/types/multer-gridfs-storage/v1/multer-gridfs-storage-tests.ts b/types/multer-gridfs-storage/v1/multer-gridfs-storage-tests.ts index 73522eebca..3578089b92 100644 --- a/types/multer-gridfs-storage/v1/multer-gridfs-storage-tests.ts +++ b/types/multer-gridfs-storage/v1/multer-gridfs-storage-tests.ts @@ -1,4 +1,4 @@ -import * as MulterGridfsStorage from 'multer-gridfs-storage'; +import MulterGridfsStorage = require('multer-gridfs-storage'); import { Grid } from "gridfs-stream"; // Exported interfaces diff --git a/types/multer/multer-tests.ts b/types/multer/multer-tests.ts index 029f5fa0f4..6346b5f7dc 100644 --- a/types/multer/multer-tests.ts +++ b/types/multer/multer-tests.ts @@ -1,5 +1,5 @@ -import * as express from 'express'; -import * as multer from 'multer'; +import express = require('express'); +import multer = require('multer'); const upload = multer({ dest: 'uploads/', diff --git a/types/node-sass-middleware/node-sass-middleware-tests.ts b/types/node-sass-middleware/node-sass-middleware-tests.ts index bfc755a424..34820155ed 100644 --- a/types/node-sass-middleware/node-sass-middleware-tests.ts +++ b/types/node-sass-middleware/node-sass-middleware-tests.ts @@ -1,6 +1,5 @@ - -import * as express from "express"; -import * as sassMiddleware from "node-sass-middleware"; +import express = require("express"); +import sassMiddleware = require("node-sass-middleware"); import * as path from "path"; var app = express(); app.use(sassMiddleware({ diff --git a/types/node-sprite-generator/node-sprite-generator-tests.ts b/types/node-sprite-generator/node-sprite-generator-tests.ts index 23309cea6d..7490d84865 100644 --- a/types/node-sprite-generator/node-sprite-generator-tests.ts +++ b/types/node-sprite-generator/node-sprite-generator-tests.ts @@ -1,5 +1,5 @@ -import * as nsg from 'node-sprite-generator'; -import * as express from 'express'; +import nsg = require('node-sprite-generator'); +import express = require('express'); const app = express(); app.use(nsg.middleware({ diff --git a/types/oauth2-server/oauth2-server-tests.ts b/types/oauth2-server/oauth2-server-tests.ts index be8fa83705..faf9976873 100644 --- a/types/oauth2-server/oauth2-server-tests.ts +++ b/types/oauth2-server/oauth2-server-tests.ts @@ -1,5 +1,5 @@ -import * as express from "express"; -import * as OAuth2Server from "oauth2-server"; +import express = require("express"); +import OAuth2Server = require("oauth2-server"); const oauth2Model: OAuth2Server.AuthorizationCodeModel = { getClient: async (clientId: string, clientSecret: string): Promise => { diff --git a/types/optics-agent/optics-agent-tests.ts b/types/optics-agent/optics-agent-tests.ts index 2135c810d4..22b9b479e9 100644 --- a/types/optics-agent/optics-agent-tests.ts +++ b/types/optics-agent/optics-agent-tests.ts @@ -9,9 +9,9 @@ import OpticsAgent, { Agent, } from 'optics-agent'; import { GraphQLSchema } from 'graphql'; -import * as express from 'express'; +import express = require('express'); import * as hapi from 'hapi'; -import * as KoaServer from 'koa'; +import KoaServer = require('koa'); const configOptions: Options = { apiKey: "", diff --git a/types/passport-facebook-token/passport-facebook-token-tests.ts b/types/passport-facebook-token/passport-facebook-token-tests.ts index c926748286..1539118879 100644 --- a/types/passport-facebook-token/passport-facebook-token-tests.ts +++ b/types/passport-facebook-token/passport-facebook-token-tests.ts @@ -1,6 +1,6 @@ import * as express from 'express'; import * as passport from 'passport'; -import * as PassportFacebookToken from 'passport-facebook-token'; +import PassportFacebookToken = require('passport-facebook-token'); const User = { findOrCreate(id: string, provider: string, callback: (err: any, user: any) => void): void { diff --git a/types/passport-local-mongoose/passport-local-mongoose-tests.ts b/types/passport-local-mongoose/passport-local-mongoose-tests.ts index 63c82a9913..5058cb88ef 100644 --- a/types/passport-local-mongoose/passport-local-mongoose-tests.ts +++ b/types/passport-local-mongoose/passport-local-mongoose-tests.ts @@ -1,5 +1,3 @@ -/// - /** * Created by Linus Brolin . */ @@ -14,7 +12,7 @@ import { PassportLocalOptions, PassportLocalErrorMessages } from 'mongoose'; -import * as passportLocalMongoose from 'passport-local-mongoose'; +import passportLocalMongoose = require('passport-local-mongoose'); import { Router, Request, Response } from 'express'; import * as passport from 'passport'; diff --git a/types/passport/passport-tests.ts b/types/passport/passport-tests.ts index b6c033b907..58c306964c 100644 --- a/types/passport/passport-tests.ts +++ b/types/passport/passport-tests.ts @@ -1,5 +1,5 @@ import * as passport from 'passport'; -import * as express from 'express'; +import express = require('express'); import 'express-session'; class TestStrategy implements passport.Strategy { diff --git a/types/peer-dial/peer-dial-tests.ts b/types/peer-dial/peer-dial-tests.ts index cb4238da62..6cc4376458 100644 --- a/types/peer-dial/peer-dial-tests.ts +++ b/types/peer-dial/peer-dial-tests.ts @@ -1,5 +1,5 @@ import { Server, Client, App, AppInfo, CorsOptions, ServerOptions, Delegate, DialDevice, DeviceInfo } from 'peer-dial'; -import * as express from 'express'; +import express = require('express'); class AppImpl implements App { name: string; diff --git a/types/promisify-supertest/promisify-supertest-tests.ts b/types/promisify-supertest/promisify-supertest-tests.ts index 7fa6de147d..84f4205534 100644 --- a/types/promisify-supertest/promisify-supertest-tests.ts +++ b/types/promisify-supertest/promisify-supertest-tests.ts @@ -1,6 +1,5 @@ - -import * as request from 'promisify-supertest'; -import * as express from 'express'; +import request = require('promisify-supertest'); +import express = require('express'); let app = express(); diff --git a/types/redis-rate-limiter/redis-rate-limiter-tests.ts b/types/redis-rate-limiter/redis-rate-limiter-tests.ts index 0ce00945ca..a121d28477 100644 --- a/types/redis-rate-limiter/redis-rate-limiter-tests.ts +++ b/types/redis-rate-limiter/redis-rate-limiter-tests.ts @@ -1,6 +1,6 @@ -import * as express from 'express'; +import express = require('express'); import * as redis from 'redis'; -import * as rateLimiter from 'redis-rate-limiter'; +import rateLimiter = require('redis-rate-limiter'); var num: number; var str: string; diff --git a/types/saml2-js/saml2-js-tests.ts b/types/saml2-js/saml2-js-tests.ts index ca05489dd7..4fd1867b67 100644 --- a/types/saml2-js/saml2-js-tests.ts +++ b/types/saml2-js/saml2-js-tests.ts @@ -1,5 +1,5 @@ import * as fs from 'fs'; -import * as express from 'express'; +import express = require('express'); import * as saml2 from 'saml2-js'; diff --git a/types/samlp/samlp-tests.ts b/types/samlp/samlp-tests.ts index 8bb3399062..7418f6cc32 100644 --- a/types/samlp/samlp-tests.ts +++ b/types/samlp/samlp-tests.ts @@ -1,6 +1,6 @@ import * as fs from 'fs'; import * as path from 'path'; -import * as express from 'express'; +import express = require('express'); import * as samlp from 'samlp'; diff --git a/types/sanctuary/sanctuary-tests.ts b/types/sanctuary/sanctuary-tests.ts index 663811935c..a38f9d6384 100644 --- a/types/sanctuary/sanctuary-tests.ts +++ b/types/sanctuary/sanctuary-tests.ts @@ -1,4 +1,4 @@ -/// ; +/// import * as assert from "assert"; import { create, env } from "sanctuary"; diff --git a/types/send/send-tests.ts b/types/send/send-tests.ts index da41697e96..f6c21b3aa3 100644 --- a/types/send/send-tests.ts +++ b/types/send/send-tests.ts @@ -1,7 +1,5 @@ -/// - -import * as express from 'express'; -import * as send from 'send'; +import express = require('express'); +import send = require('send'); var app = express(); diff --git a/types/serve-index/serve-index-tests.ts b/types/serve-index/serve-index-tests.ts index 038fc3c533..5d54e9f768 100644 --- a/types/serve-index/serve-index-tests.ts +++ b/types/serve-index/serve-index-tests.ts @@ -1,6 +1,5 @@ - -import * as express from 'express'; -import * as serveIndex from 'serve-index'; +import express = require('express'); +import serveIndex = require('serve-index'); import * as fs from 'fs'; const app = express(); diff --git a/types/serve-static/serve-static-tests.ts b/types/serve-static/serve-static-tests.ts index 65671e8521..abceefd197 100644 --- a/types/serve-static/serve-static-tests.ts +++ b/types/serve-static/serve-static-tests.ts @@ -1,5 +1,5 @@ -import * as express from 'express'; -import * as serveStatic from 'serve-static'; +import express = require('express'); +import serveStatic = require('serve-static'); var app = express(); app.use(serveStatic('/1')); diff --git a/types/set-cookie-parser/set-cookie-parser-tests.ts b/types/set-cookie-parser/set-cookie-parser-tests.ts index 91238ff929..020d40f59c 100644 --- a/types/set-cookie-parser/set-cookie-parser-tests.ts +++ b/types/set-cookie-parser/set-cookie-parser-tests.ts @@ -1,6 +1,6 @@ import * as assert from "assert"; import * as http from "http"; -import * as setCookie from "set-cookie-parser"; +import setCookie = require("set-cookie-parser"); // Call parse function on imported object var input = "foo=bar;"; diff --git a/types/shrink-ray/shrink-ray-tests.ts b/types/shrink-ray/shrink-ray-tests.ts index e221806b88..b558c5540f 100644 --- a/types/shrink-ray/shrink-ray-tests.ts +++ b/types/shrink-ray/shrink-ray-tests.ts @@ -1,5 +1,5 @@ -import * as express from 'express'; -import * as shrinkRay from 'shrink-ray'; +import express = require('express'); +import shrinkRay = require('shrink-ray'); const app = express(); diff --git a/types/sticky-cluster/sticky-cluster-tests.ts b/types/sticky-cluster/sticky-cluster-tests.ts index e730275d78..720e8d001a 100644 --- a/types/sticky-cluster/sticky-cluster-tests.ts +++ b/types/sticky-cluster/sticky-cluster-tests.ts @@ -1,5 +1,5 @@ import stickyCluster = require('sticky-cluster'); -import * as express from 'express'; +import express = require('express'); import * as http from 'http'; /** test with all params */ diff --git a/types/superagent-no-cache/superagent-no-cache-tests.ts b/types/superagent-no-cache/superagent-no-cache-tests.ts index 68e4e961a2..717fee80e3 100644 --- a/types/superagent-no-cache/superagent-no-cache-tests.ts +++ b/types/superagent-no-cache/superagent-no-cache-tests.ts @@ -1,5 +1,5 @@ import * as request from 'superagent'; -import * as plugin from 'superagent-no-cache'; +import plugin = require('superagent-no-cache'); request .get('/some-url') diff --git a/types/superagent-prefix/superagent-prefix-tests.ts b/types/superagent-prefix/superagent-prefix-tests.ts index 01e4b52905..6b0bbf0820 100644 --- a/types/superagent-prefix/superagent-prefix-tests.ts +++ b/types/superagent-prefix/superagent-prefix-tests.ts @@ -1,5 +1,5 @@ import * as request from 'superagent'; -import * as plugin from 'superagent-prefix'; +import plugin = require('superagent-prefix'); request .get('/some-url') diff --git a/types/superagent/superagent-tests.ts b/types/superagent/superagent-tests.ts index 5978b37206..bbea2d617c 100644 --- a/types/superagent/superagent-tests.ts +++ b/types/superagent/superagent-tests.ts @@ -1,8 +1,7 @@ // via: http://visionmedia.github.io/superagent/ - -import * as request from 'superagent'; +import request = require('superagent'); import * as fs from 'fs'; -import * as assert from 'assert'; +import assert = require('assert'); import { Agent } from 'https'; // Examples taken from https://github.com/visionmedia/superagent/blob/gh-pages/docs/index.md diff --git a/types/superagent/v2/superagent-tests.ts b/types/superagent/v2/superagent-tests.ts index 02074043fc..e0f0fcc592 100644 --- a/types/superagent/v2/superagent-tests.ts +++ b/types/superagent/v2/superagent-tests.ts @@ -1,8 +1,8 @@ // via: http://visionmedia.github.io/superagent/ -import * as request from 'superagent'; +import request = require('superagent'); import * as fs from 'fs'; -import * as assert from 'assert'; +import assert = require('assert'); import { Agent } from 'https'; // Examples taken from https://github.com/visionmedia/superagent/blob/gh-pages/docs/index.md diff --git a/types/supertest-as-promised/supertest-as-promised-tests.ts b/types/supertest-as-promised/supertest-as-promised-tests.ts index b86bdafbc9..fbf8be995b 100644 --- a/types/supertest-as-promised/supertest-as-promised-tests.ts +++ b/types/supertest-as-promised/supertest-as-promised-tests.ts @@ -1,5 +1,5 @@ -import * as request from 'supertest-as-promised'; -import * as express from 'express'; +import request = require('supertest-as-promised'); +import express = require('express'); declare function describe(desc: string, f: () => void): void; declare function it(desc: string, f: () => void): void; diff --git a/types/supertest/supertest-tests.ts b/types/supertest/supertest-tests.ts index 868aa8fdce..24bbd4bd56 100644 --- a/types/supertest/supertest-tests.ts +++ b/types/supertest/supertest-tests.ts @@ -1,6 +1,5 @@ - -import * as supertest from 'supertest'; -import * as express from 'express'; +import supertest = require('supertest'); +import express = require('express'); const app = express(); const request: supertest.SuperTest = supertest(app); diff --git a/types/swagger-express-middleware/swagger-express-middleware-tests.ts b/types/swagger-express-middleware/swagger-express-middleware-tests.ts index 6ba847fe3f..1a01d8475d 100644 --- a/types/swagger-express-middleware/swagger-express-middleware-tests.ts +++ b/types/swagger-express-middleware/swagger-express-middleware-tests.ts @@ -1,5 +1,5 @@ -import * as express from "express"; -import * as SwaggerExpressMiddleware from "swagger-express-middleware"; +import express = require("express"); +import SwaggerExpressMiddleware = require("swagger-express-middleware"); let app = express(); let router = express.Router(); diff --git a/types/swagger-express-mw/swagger-express-mw-tests.ts b/types/swagger-express-mw/swagger-express-mw-tests.ts index 617e331e1c..9f81cf8a2d 100644 --- a/types/swagger-express-mw/swagger-express-mw-tests.ts +++ b/types/swagger-express-mw/swagger-express-mw-tests.ts @@ -1,5 +1,5 @@ import * as SwaggerExpress from "swagger-express-mw"; -import * as express from "express"; +import express = require("express"); const app = express(); const config: SwaggerExpress.Config = { diff --git a/types/swagger-jsdoc/swagger-jsdoc-tests.ts b/types/swagger-jsdoc/swagger-jsdoc-tests.ts index 2a87ae2dab..4cf386e48a 100644 --- a/types/swagger-jsdoc/swagger-jsdoc-tests.ts +++ b/types/swagger-jsdoc/swagger-jsdoc-tests.ts @@ -1,6 +1,4 @@ -/// - -import * as express from 'express'; +import express = require('express'); import swaggerJSDoc = require('swagger-jsdoc'); const app = express(); diff --git a/types/swagger-node-runner/swagger-node-runner-tests.ts b/types/swagger-node-runner/swagger-node-runner-tests.ts index 9890bed290..1deae28f23 100644 --- a/types/swagger-node-runner/swagger-node-runner-tests.ts +++ b/types/swagger-node-runner/swagger-node-runner-tests.ts @@ -1,6 +1,6 @@ import * as SwaggerNodeRunner from "swagger-node-runner"; -import * as express from "express"; -import * as connect from "connect"; +import express = require("express"); +import connect = require("connect"); import * as Hapi from "hapi"; import * as restify from "restify"; import * as sails from "sails.io.js"; diff --git a/types/twilio/twilio-tests.ts b/types/twilio/twilio-tests.ts index 2a653af584..33a691eac0 100644 --- a/types/twilio/twilio-tests.ts +++ b/types/twilio/twilio-tests.ts @@ -1,4 +1,4 @@ -import * as twilio from 'twilio'; +import twilio = require('twilio'); import * as Express from "express"; // Examples taken from https://twilio.github.io/twilio-node/ (v2.1.0) diff --git a/types/universal-analytics/universal-analytics-tests.ts b/types/universal-analytics/universal-analytics-tests.ts index a81f728179..1d2e2426c6 100644 --- a/types/universal-analytics/universal-analytics-tests.ts +++ b/types/universal-analytics/universal-analytics-tests.ts @@ -1,6 +1,5 @@ -import * as ua from 'universal-analytics'; - -import * as express from 'express'; +import ua = require('universal-analytics'); +import express = require('express'); const app = express(); let visitor = ua('UA-XXXX-XX'); diff --git a/types/vitalsigns/vitalsigns-tests.ts b/types/vitalsigns/vitalsigns-tests.ts index 62cc2e5676..757b7099c5 100644 --- a/types/vitalsigns/vitalsigns-tests.ts +++ b/types/vitalsigns/vitalsigns-tests.ts @@ -1,4 +1,4 @@ -import * as express from "express"; +import express = require("express"); import VitalSigns = require("vitalsigns"); var vitals = new VitalSigns(); diff --git a/types/webpack-dev-middleware/v1/webpack-dev-middleware-tests.ts b/types/webpack-dev-middleware/v1/webpack-dev-middleware-tests.ts index 8df4675595..179924ef66 100644 --- a/types/webpack-dev-middleware/v1/webpack-dev-middleware-tests.ts +++ b/types/webpack-dev-middleware/v1/webpack-dev-middleware-tests.ts @@ -1,6 +1,6 @@ -import * as express from 'express'; -import * as webpack from 'webpack'; -import * as webpackDevMiddleware from 'webpack-dev-middleware'; +import express = require('express'); +import webpack = require('webpack'); +import webpackDevMiddleware = require('webpack-dev-middleware'); const compiler = webpack({}); diff --git a/types/webpack-dev-middleware/webpack-dev-middleware-tests.ts b/types/webpack-dev-middleware/webpack-dev-middleware-tests.ts index 2ccfb90a0c..beb3c1abe6 100644 --- a/types/webpack-dev-middleware/webpack-dev-middleware-tests.ts +++ b/types/webpack-dev-middleware/webpack-dev-middleware-tests.ts @@ -1,6 +1,6 @@ -import * as express from 'express'; -import * as webpack from 'webpack'; -import * as webpackDevMiddleware from 'webpack-dev-middleware'; +import express = require('express'); +import webpack = require('webpack'); +import webpackDevMiddleware = require('webpack-dev-middleware'); const compiler = webpack({}); diff --git a/types/webpack-dev-server/webpack-dev-server-tests.ts b/types/webpack-dev-server/webpack-dev-server-tests.ts index e13babe83c..a288ea51be 100644 --- a/types/webpack-dev-server/webpack-dev-server-tests.ts +++ b/types/webpack-dev-server/webpack-dev-server-tests.ts @@ -1,5 +1,5 @@ -import * as webpack from 'webpack'; -import * as WebpackDevServer from 'webpack-dev-server'; +import webpack = require('webpack'); +import WebpackDevServer = require('webpack-dev-server'); import * as core from 'express-serve-static-core'; const compiler = webpack({}); const multipleCompiler = webpack([]); diff --git a/types/webpack-hot-middleware/webpack-hot-middleware-tests.ts b/types/webpack-hot-middleware/webpack-hot-middleware-tests.ts index e654d012d0..b87b379379 100644 --- a/types/webpack-hot-middleware/webpack-hot-middleware-tests.ts +++ b/types/webpack-hot-middleware/webpack-hot-middleware-tests.ts @@ -1,6 +1,6 @@ -import * as express from 'express'; -import * as webpack from 'webpack'; -import * as webpackHotMiddleware from 'webpack-hot-middleware'; +import express = require('express'); +import webpack = require('webpack'); +import webpackHotMiddleware = require('webpack-hot-middleware'); const compiler = webpack({}); diff --git a/types/xmlpoke/xmlpoke-tests.ts b/types/xmlpoke/xmlpoke-tests.ts index aba04c0962..1079d19756 100644 --- a/types/xmlpoke/xmlpoke-tests.ts +++ b/types/xmlpoke/xmlpoke-tests.ts @@ -1,5 +1,5 @@ -import * as xmlpoke from 'xmlpoke'; -import * as assert from 'assert'; +import xmlpoke = require('xmlpoke'); +import assert = require('assert'); let result: string; From 0a86884fff0d2d146ac84168ac56ee7f2a4935ae Mon Sep 17 00:00:00 2001 From: Matt Bishop Date: Mon, 5 Feb 2018 15:45:39 -0800 Subject: [PATCH 174/463] Predicate interface was wrong input mechanism. It's just PredFn. --- types/js.spec/index.d.ts | 84 ++++++++++++++++------------------ types/js.spec/js.spec-tests.ts | 50 ++++++++++---------- types/js.spec/tsconfig.json | 2 +- 3 files changed, 66 insertions(+), 70 deletions(-) diff --git a/types/js.spec/index.d.ts b/types/js.spec/index.d.ts index 8836580c17..cf3b095443 100644 --- a/types/js.spec/index.d.ts +++ b/types/js.spec/index.d.ts @@ -42,11 +42,14 @@ export interface Spec { } /** - * A Spec with a boolean conform function. Test the value and return true if it conforms. + * Predicate function definition to describe a predicate function. */ -export interface Predicate extends Spec { - (value: any): boolean; -} +export type PredFn = (value: any) => boolean; + +/** + * Defines an input to a js.spec method. Can be a Spec instance or a predicate function. + */ +export type SpecInput = PredFn | Spec; /** * An explanation of why a part of a value does not conform to a spec. @@ -70,7 +73,7 @@ export interface Problem { /** * A predicate function to test new values for conformance. */ - readonly predicate: Predicate; + readonly predicate: PredFn; } /** @@ -79,7 +82,7 @@ export interface Problem { * @param value the value to test * @returns true if valid */ -export function valid(spec: spec.SpecInput, value: any): boolean; +export function valid(spec: SpecInput, value: any): boolean; /** * Returns the conformed value to this spec. @@ -87,7 +90,7 @@ export function valid(spec: spec.SpecInput, value: any): boolean; * @param value the value to test * @returns if the value does not conform to the spec, or the conformed value if it does. */ -export function conform(spec: spec.SpecInput, value: any): any; +export function conform(spec: SpecInput, value: any): any; /** * Like explain(), but returns Problems array. @@ -95,21 +98,21 @@ export function conform(spec: spec.SpecInput, value: any): any; * @param value the value to test * @returns list of problems or null if none */ -export function explainData(spec: spec.SpecInput, value: any): Problem[]; +export function explainData(spec: SpecInput, value: any): Problem[]; /** * Prints, to the console, reasons why the value did not conform to this spec. * @param spec the spec to test with * @param value the value to test */ -export function explain(spec: spec.SpecInput, value: any): void; +export function explain(spec: SpecInput, value: any): void; /** * Returns a multiline string with reasons why the value did not conform to this spec. * @param spec the spec to test with * @param value the value to test */ -export function explainStr(spec: spec.SpecInput, value: any): string; +export function explainStr(spec: SpecInput, value: any): string; /** * Returns a string with the problem statement from the given Problem. @@ -122,7 +125,7 @@ export function problemStr(problem: Problem): string; * @param spec the spec to test with * @param value the value to test */ -export function assert(spec: spec.SpecInput, value: any): void; +export function assert(spec: SpecInput, value: any): void; /** * Symbols used @@ -154,17 +157,10 @@ export namespace symbol { const optional: symbol; } +/** + * Factory methods to create Spec instances. Also provides included predicate functions that can be used in Specs. + */ export namespace spec { - /** - * Predicate function definition to describe non-spec predicate functions. - */ - type PredFn = (value: any) => boolean; - - /** - * Defins an input to a spec. Can be a Spec instance or a predicate function. - */ - type SpecInput = PredFn | Spec; - /** * Data must conform to every provided spec. * @param name the name of the spec @@ -239,116 +235,116 @@ export namespace spec { /** * Returns true if data is an integer. */ - const int: Predicate; + const int: PredFn; /** * Returns true if data is an integer. */ - const integer: Predicate; + const integer: PredFn; /** * Returns true if data is a finite number. */ - const finite: Predicate; + const finite: PredFn; /** * Returns true if data is a number (can be double or integer). */ - const number: Predicate; + const number: PredFn; /** * Returns true if data is an odd number. */ - const odd: Predicate; + const odd: PredFn; /** * Returns true if data is an even number. */ - const even: Predicate; + const even: PredFn; /** * Returns true if data is a number greater than zero. */ - const positive: Predicate; + const positive: PredFn; /** * Returns true if data is a number smaller than zero. */ - const negative: Predicate; + const negative: PredFn; /** * Returns true if data is the number zero. * Why: To easily construct specs for >= 0. */ - const zero: Predicate; + const zero: PredFn; /** * Returns true if data is a string. */ - const str: Predicate; + const str: PredFn; /** * Returns true if data is a string. */ - const string: Predicate; + const string: PredFn; /** * Returns true if data is a function. */ - const fn: Predicate; + const fn: PredFn; /** * Returns true if data is a Symbol. */ - const sym: Predicate; + const sym: PredFn; /** * Returns true if data is a Symbol. */ - const symbol: Predicate; + const symbol: PredFn; /** * Returns true if data is null or undefined. */ - const nil: Predicate; + const nil: PredFn; /** * Returns true if data is a boolean. */ - const bool: Predicate; + const bool: PredFn; /** * Returns true if data is a boolean. */ - const boolean: Predicate; + const boolean: PredFn; /** * Returns true if data is a Date. */ - const date: Predicate; + const date: PredFn; /** * Returns true if data is a plain object. */ - const obj: Predicate; + const obj: PredFn; /** * Returns true if data is a plain object. */ - const object: Predicate; + const object: PredFn; /** * Returns true if data is an Array. */ - const array: Predicate; + const array: PredFn; /** * Returns true if data is a Set. */ - const set: Predicate; + const set: PredFn; /** * Returns true if data is an Array or Set. */ - const coll: Predicate; + const coll: PredFn; } diff --git a/types/js.spec/js.spec-tests.ts b/types/js.spec/js.spec-tests.ts index a230e98285..685283d83f 100644 --- a/types/js.spec/js.spec-tests.ts +++ b/types/js.spec/js.spec-tests.ts @@ -1,6 +1,6 @@ import * as S from "js.spec"; -const spec: S.Spec = S.spec.bool; +const spec: S.Spec = S.spec.predicate("test spec", S.spec.bool); const c: symbol = spec.conform("water"); const waterProblems: S.Problem[] = spec.explain(["data"], ["spec"], "water"); const toString: string = spec.toString(); @@ -16,7 +16,7 @@ S.conform((value) => true, "a value"); const problems: S.Problem[] = S.explainData(S.spec.int, "not a number"); S.explainData((value) => true, "a value"); -const {path, via, value, predicate}: {path: string[], via: string[], value: any, predicate: S.Predicate} = problems[0]; +const {path, via, value, predicate}: {path: string[], via: string[], value: any, predicate: S.PredFn} = problems[0]; const problemStr: string = S.problemStr(problems[0]); @@ -53,48 +53,48 @@ const predicateSpec: S.Spec = S.spec.predicate("predicate test", (value) => true // Predicates -const intPred: S.Predicate = S.spec.int; +const intPred: S.PredFn = S.spec.int; -const integerPred: S.Predicate = S.spec.integer; +const integerPred: S.PredFn = S.spec.integer; -const finitePred: S.Predicate = S.spec.finite; +const finitePred: S.PredFn = S.spec.finite; -const numberPred: S.Predicate = S.spec.number; +const numberPred: S.PredFn = S.spec.number; -const oddPred: S.Predicate = S.spec.odd; +const oddPred: S.PredFn = S.spec.odd; -const evenPred: S.Predicate = S.spec.even; +const evenPred: S.PredFn = S.spec.even; -const positivePred: S.Predicate = S.spec.positive; +const positivePred: S.PredFn = S.spec.positive; -const negativePred: S.Predicate = S.spec.negative; +const negativePred: S.PredFn = S.spec.negative; -const zeroPred: S.Predicate = S.spec.zero; +const zeroPred: S.PredFn = S.spec.zero; -const strPred: S.Predicate = S.spec.str; +const strPred: S.PredFn = S.spec.str; -const stringPred: S.Predicate = S.spec.string; +const stringPred: S.PredFn = S.spec.string; -const fnPred: S.Predicate = S.spec.fn; +const fnPred: S.PredFn = S.spec.fn; -const symPred: S.Predicate = S.spec.sym; +const symPred: S.PredFn = S.spec.sym; -const symbolPred: S.Predicate = S.spec.symbol; +const symbolPred: S.PredFn = S.spec.symbol; -const nilPred: S.Predicate = S.spec.nil; +const nilPred: S.PredFn = S.spec.nil; -const boolPred: S.Predicate = S.spec.bool; +const boolPred: S.PredFn = S.spec.bool; -const booleanPred: S.Predicate = S.spec.boolean; +const booleanPred: S.PredFn = S.spec.boolean; -const datePred: S.Predicate = S.spec.date; +const datePred: S.PredFn = S.spec.date; -const objPred: S.Predicate = S.spec.obj; +const objPred: S.PredFn = S.spec.obj; -const objectPred: S.Predicate = S.spec.object; +const objectPred: S.PredFn = S.spec.object; -const arrayPred: S.Predicate = S.spec.array; +const arrayPred: S.PredFn = S.spec.array; -const setPred: S.Predicate = S.spec.set; +const setPred: S.PredFn = S.spec.set; -const collPred: S.Predicate = S.spec.coll; +const collPred: S.PredFn = S.spec.coll; diff --git a/types/js.spec/tsconfig.json b/types/js.spec/tsconfig.json index c7a1d13a57..4c1fa0174e 100644 --- a/types/js.spec/tsconfig.json +++ b/types/js.spec/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "module": "commonjs", "lib": [ - "es6" + "es5" ], "noImplicitAny": true, "noImplicitThis": true, From d128e8647e3cf4b404aee2c5197fb53c77fefd39 Mon Sep 17 00:00:00 2001 From: Nelu Malancea Date: Mon, 5 Feb 2018 17:02:40 -0800 Subject: [PATCH 175/463] Add 'attribute' property to SortableOptions in jqueryui --- types/jqueryui/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/jqueryui/index.d.ts b/types/jqueryui/index.d.ts index f32c55eb48..05dd7c6159 100644 --- a/types/jqueryui/index.d.ts +++ b/types/jqueryui/index.d.ts @@ -720,6 +720,7 @@ declare namespace JQueryUI { interface SortableOptions extends SortableEvents { appendTo?: any; // jQuery, Element, Selector or string + attribute?: string; axis?: string; cancel?: any; // Selector connectWith?: any; // Selector From 2a9d2f8d59303d12f54d72378bffe688cc568a5f Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 5 Feb 2018 18:27:31 -0800 Subject: [PATCH 176/463] Convert more "import *" to "import =" (#23446) --- .../bittorrent-protocol-tests.ts | 2 +- types/braft-editor/braft-editor-tests.tsx | 2 +- types/brorand/brorand-tests.ts | 3 +- .../browser-resolve/browser-resolve-tests.ts | 2 +- types/browser-sync/browser-sync-tests.ts | 2 +- types/bull/bull-tests.tsx | 4 +- types/bull/v2/bull-tests.tsx | 2 +- types/bunyan-bugsnag/bunyan-bugsnag-tests.ts | 2 +- types/busboy/busboy-tests.ts | 2 +- types/bwip-js/bwip-js-tests.ts | 2 +- types/ccap/ccap-tests.ts | 2 +- types/chai-dom/chai-dom-tests.ts | 2 +- types/chai-enzyme/chai-enzyme-tests.tsx | 2 +- .../combined-stream/combined-stream-tests.ts | 2 +- .../connect-livereload-tests.ts | 15 +- types/connect/connect-tests.ts | 5 +- types/consul/consul-tests.ts | 3 +- .../copy-webpack-plugin-tests.ts | 28 +-- .../create-react-class-tests.ts | 2 +- types/cross-spawn/cross-spawn-tests.ts | 2 +- types/cwise-compiler/cwise-compiler-tests.ts | 10 +- types/cwise-parser/cwise-parser-tests.ts | 5 +- types/cwise/cwise-tests.ts | 9 +- types/download/download-tests.ts | 5 - .../event-to-promise-tests.ts | 8 +- types/feedparser/feedparser-tests.ts | 2 +- types/finalhandler/finalhandler-tests.ts | 3 +- types/firmata/firmata-tests.ts | 2 +- types/flux/index.d.ts | 2 +- types/flux/utils.d.ts | 8 +- .../friendly-errors-webpack-plugin-tests.ts | 4 +- .../fs-readfile-promise-tests.ts | 2 +- types/glob-expand/glob-expand-tests.ts | 3 +- types/globby/globby-tests.ts | 2 +- .../google-cloud__pubsub-tests.ts | 2 +- types/grasp/grasp-tests.ts | 2 +- types/gulp/test/index.ts | 2 +- .../html-webpack-plugin-tests.ts | 2 +- .../html-webpack-template-tests.ts | 2 +- types/http-proxy/http-proxy-tests.ts | 2 +- types/image-size/image-size-tests.ts | 3 +- types/images/images-tests.ts | 2 +- types/ioredis/ioredis-tests.ts | 2 +- types/jenkins/jenkins-tests.ts | 2 +- types/joigoose/joigoose-tests.ts | 2 +- types/jsnox/jsnox-tests.ts | 2 +- types/jszip/jszip-tests.ts | 2 +- types/klaw/klaw-tests.ts | 2 +- types/klaw/v1/klaw-tests.ts | 2 +- types/knex-postgis/knex-postgis-tests.ts | 4 +- types/leveldown/leveldown-tests.ts | 2 +- types/levelup/levelup-tests.ts | 4 +- types/line-by-line/line-by-line-tests.ts | 2 +- .../lodash-webpack-plugin-tests.ts | 2 +- .../material-ui-pagination-tests.tsx | 2 +- types/menubar/menubar-tests.ts | 2 +- types/merge2/merge2-tests.ts | 2 +- types/micro/micro-tests.ts | 2 +- types/mock-knex/mock-knex-tests.ts | 2 +- .../mongoose-simple-random-tests.ts | 2 +- .../mongoose-unique-validator-tests.ts | 2 +- .../mozilla-readability-tests.ts | 2 +- types/msgpack5/msgpack5-tests.ts | 4 +- types/musicmetadata/musicmetadata-tests.ts | 2 +- types/nano/nano-tests.ts | 2 +- types/needle/needle-tests.ts | 2 +- types/nock/nock-tests.ts | 4 +- types/node-geocoder/node-geocoder-tests.ts | 2 +- .../node-powershell/node-powershell-tests.ts | 2 +- types/node-rsa/node-rsa-tests.ts | 2 +- types/node-vault/node-vault-tests.ts | 2 +- .../nodemailer-ses-transport-tests.ts | 2 +- ...ptimize-css-assets-webpack-plugin-tests.ts | 2 +- types/orientjs/orientjs-tests.ts | 2 +- types/osrm/osrm-tests.ts | 2 +- types/page-icon/page-icon-tests.ts | 2 +- types/parse-torrent/parse-torrent-tests.ts | 2 +- types/path-parse/path-parse-tests.ts | 2 +- types/pg-escape/pg-escape-tests.ts | 2 +- .../pg-query-stream/pg-query-stream-tests.ts | 2 +- .../pino-multi-stream-tests.ts | 4 +- types/pump/pump-tests.ts | 2 +- types/qrcode.react/qrcode.react-tests.tsx | 2 +- types/radium/radium-tests.tsx | 2 +- types/ratelimiter/ratelimiter-tests.ts | 3 +- .../react-addons-shallow-compare-tests.tsx | 2 +- .../react-autosuggest-tests.tsx | 2 +- .../react-bootstrap-date-picker-tests.tsx | 2 +- .../react-bootstrap-daterangepicker-tests.ts | 23 -- .../react-bootstrap-daterangepicker-tests.tsx | 23 +- .../tsconfig.json | 1 - types/react-bootstrap/lib/Carousel.d.ts | 4 +- types/react-bootstrap/lib/FormControl.d.ts | 4 +- types/react-bootstrap/lib/InputGroup.d.ts | 4 +- types/react-bootstrap/lib/Media.d.ts | 12 +- types/react-bootstrap/lib/Modal.d.ts | 10 +- types/react-bootstrap/lib/Navbar.d.ts | 8 +- types/react-bootstrap/lib/Pager.d.ts | 2 +- types/react-bootstrap/lib/Pagination.d.ts | 12 +- types/react-bootstrap/lib/Panel.d.ts | 14 +- types/react-bootstrap/lib/Tab.d.ts | 6 +- ...-bootstrap-individual-components-tests.tsx | 198 +++++++++--------- .../react-breadcrumbs-tests.tsx | 4 +- .../react-click-outside-tests.tsx | 2 +- .../react-codemirror-tests.tsx | 4 +- .../react-copy-to-clipboard-tests.tsx | 2 +- .../react-css-modules-tests.tsx | 2 +- .../react-css-transition-replace-tests.tsx | 2 +- .../react-data-grid/react-data-grid-tests.tsx | 2 +- .../v1/react-data-grid-tests.tsx | 2 +- .../react-datepicker-tests.tsx | 2 +- types/react-dates/react-dates-tests.tsx | 5 +- .../react-file-reader-input-tests.tsx | 2 +- types/react-gravatar/react-gravatar-tests.tsx | 2 +- .../react-grid-layout-tests.tsx | 2 +- types/react-helmet/v4/react-helmet-tests.tsx | 2 +- .../react-hyperscript-tests.ts | 2 +- types/react-infinite/react-infinite-tests.tsx | 7 +- .../react-input-calendar-tests.tsx | 2 +- .../react-json-pretty-tests.tsx | 2 +- types/react-list/react-list-tests.tsx | 2 +- types/react-loadable/test/index.tsx | 2 +- types/react-loader/react-loader-tests.tsx | 2 +- .../react-notification-system-redux-tests.tsx | 2 +- .../react-notification-system-tests.tsx | 2 +- .../react-numeric-input-tests.tsx | 2 +- types/react-overlays/lib/index.d.ts | 16 +- .../test/react-overlays-tests-individual.tsx | 6 +- types/react-portal/react-portal-tests.tsx | 2 +- .../react-recaptcha/react-recaptcha-tests.tsx | 2 +- types/react-resolver/react-resolver-tests.tsx | 7 +- .../v1/react-responsive-tests.tsx | 2 +- .../Animation.tsx | 2 +- .../react-side-effect-tests.ts | 2 +- .../react-smooth-scrollbar-tests.tsx | 2 +- types/react-spinkit/react-spinkit-tests.tsx | 2 +- .../react-spinkit/v1/react-spinkit-tests.tsx | 2 +- types/react-swipe/react-swipe-tests.tsx | 2 +- .../react-swipeable/react-swipeable-tests.tsx | 2 +- .../react-tagsinput/react-tagsinput-tests.tsx | 2 +- types/react-tooltip/react-tooltip-tests.tsx | 2 +- .../v1/react-transition-group-tests.tsx | 4 +- types/react/test/index.ts | 8 +- types/react/v15/test/index.ts | 6 +- types/redis-scripto/redis-scripto-tests.ts | 2 +- types/redlock/v2/redlock-tests.ts | 2 +- .../request-promise-native-tests.ts | 2 +- .../require-directory-tests.ts | 2 +- types/resolve/resolve-tests.ts | 2 +- types/rsync/rsync-tests.ts | 2 +- .../s3-upload-stream-tests.ts | 2 +- types/sequelize/index.d.ts | 4 +- types/serialport/serialport-tests.ts | 2 +- types/serialport/v4/serialport-tests.ts | 2 +- types/sharp/sharp-tests.ts | 2 +- types/simple-peer/simple-peer-tests.ts | 2 +- types/slack-node/slack-node-tests.ts | 2 +- types/slate-irc/slate-irc-tests.ts | 3 +- types/snekfetch/snekfetch-tests.ts | 2 +- types/snoowrap/snoowrap-tests.ts | 2 +- types/sparkpost/sparkpost-tests.ts | 2 +- types/sparkpost/v1/sparkpost-tests.ts | 2 +- types/split2/split2-tests.ts | 2 +- .../ssh2-sftp-client-tests.ts | 2 +- types/stream-meter/stream-meter-tests.ts | 3 +- .../stylelint-webpack-plugin-tests.ts | 4 +- types/sumo-logger/sumo-logger-tests.ts | 4 +- types/swagger-tools/swagger-tools-tests.ts | 2 +- types/telebot/telebot-tests.ts | 2 +- types/tile-reduce/tile-reduce-tests.ts | 2 +- types/torrent-stream/torrent-stream-tests.ts | 2 +- types/touch/touch-tests.ts | 2 +- types/twit/twit-tests.ts | 2 +- .../twitter-stream-channels-tests.ts | 2 +- .../typedarray-pool/typedarray-pool-tests.ts | 2 +- types/umzug/umzug-tests.ts | 4 +- types/undertaker/undertaker-tests.ts | 4 +- types/vinyl/vinyl-tests.ts | 2 +- types/webpack-chain/webpack-chain-tests.ts | 2 +- .../webpack-dotenv-plugin-tests.ts | 2 +- .../webpack-notifier-tests.ts | 2 +- types/webpack-stream/webpack-stream-tests.ts | 2 +- types/webpack/webpack-tests.ts | 2 +- types/webtorrent/webtorrent-tests.ts | 2 +- 184 files changed, 391 insertions(+), 424 deletions(-) delete mode 100644 types/react-bootstrap-daterangepicker/react-bootstrap-daterangepicker-tests.ts diff --git a/types/bittorrent-protocol/bittorrent-protocol-tests.ts b/types/bittorrent-protocol/bittorrent-protocol-tests.ts index c32b2af368..2faca76a5e 100644 --- a/types/bittorrent-protocol/bittorrent-protocol-tests.ts +++ b/types/bittorrent-protocol/bittorrent-protocol-tests.ts @@ -1,4 +1,4 @@ -import * as Protocol from 'bittorrent-protocol'; +import Protocol = require('bittorrent-protocol'); import * as net from 'net'; class TestExtension implements Protocol.Extension { diff --git a/types/braft-editor/braft-editor-tests.tsx b/types/braft-editor/braft-editor-tests.tsx index 584927e0bd..999850acaa 100644 --- a/types/braft-editor/braft-editor-tests.tsx +++ b/types/braft-editor/braft-editor-tests.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import * as BraftEditor from "braft-editor"; +import BraftEditor = require("braft-editor"); import { RawDraftContentState, } from 'draft-js'; diff --git a/types/brorand/brorand-tests.ts b/types/brorand/brorand-tests.ts index ac090e8724..eb7bf16570 100644 --- a/types/brorand/brorand-tests.ts +++ b/types/brorand/brorand-tests.ts @@ -1,5 +1,4 @@ - -import * as brorand from 'brorand'; +import brorand = require('brorand'); { let result: Buffer|Uint8Array = brorand(42); diff --git a/types/browser-resolve/browser-resolve-tests.ts b/types/browser-resolve/browser-resolve-tests.ts index 7d08de726f..25872b4b07 100644 --- a/types/browser-resolve/browser-resolve-tests.ts +++ b/types/browser-resolve/browser-resolve-tests.ts @@ -1,4 +1,4 @@ -import * as browserResolve from 'browser-resolve'; +import browserResolve = require('browser-resolve'); function basic_test_async(callback: (err?: Error, resolved?: string) => void) { browserResolve('typescript', function(error, resolved) { diff --git a/types/browser-sync/browser-sync-tests.ts b/types/browser-sync/browser-sync-tests.ts index 85cd464a21..bcd829367a 100644 --- a/types/browser-sync/browser-sync-tests.ts +++ b/types/browser-sync/browser-sync-tests.ts @@ -1,4 +1,4 @@ -import * as browserSync from "browser-sync"; +import browserSync = require("browser-sync"); (() => { //make sure that the interfaces are correctly exposed diff --git a/types/bull/bull-tests.tsx b/types/bull/bull-tests.tsx index cbdcc83e0a..765be54733 100644 --- a/types/bull/bull-tests.tsx +++ b/types/bull/bull-tests.tsx @@ -2,8 +2,8 @@ * Created by Bruno Grieder */ -import * as Redis from "ioredis"; -import * as Queue from "bull"; +import Redis = require("ioredis"); +import Queue = require("bull"); const videoQueue = new Queue('video transcoding', 'redis://127.0.0.1:6379'); const audioQueue = new Queue('audio transcoding', {redis: {port: 6379, host: '127.0.0.1'}}); // Specify Redis connection using object diff --git a/types/bull/v2/bull-tests.tsx b/types/bull/v2/bull-tests.tsx index fcf339b3c3..e6c82fe4f9 100644 --- a/types/bull/v2/bull-tests.tsx +++ b/types/bull/v2/bull-tests.tsx @@ -2,7 +2,7 @@ * Created by Bruno Grieder */ -import * as Queue from "bull" +import Queue = require("bull"); var videoQueue = Queue( 'video transcoding', 6379, '127.0.0.1' ); var audioQueue = Queue( 'audio transcoding', 6379, '127.0.0.1' ); diff --git a/types/bunyan-bugsnag/bunyan-bugsnag-tests.ts b/types/bunyan-bugsnag/bunyan-bugsnag-tests.ts index 3c46089690..39a4c14cf5 100644 --- a/types/bunyan-bugsnag/bunyan-bugsnag-tests.ts +++ b/types/bunyan-bugsnag/bunyan-bugsnag-tests.ts @@ -1,4 +1,4 @@ -import * as bunyanBugsnag from 'bunyan-bugsnag'; +import bunyanBugsnag = require('bunyan-bugsnag'); import * as bunyan from 'bunyan'; const stream1 = bunyanBugsnag(); diff --git a/types/busboy/busboy-tests.ts b/types/busboy/busboy-tests.ts index 24291621a5..309572a37c 100644 --- a/types/busboy/busboy-tests.ts +++ b/types/busboy/busboy-tests.ts @@ -1,4 +1,4 @@ -import * as Busboy from 'busboy'; +import Busboy = require('busboy'); import * as http from 'http'; import * as util from 'util'; diff --git a/types/bwip-js/bwip-js-tests.ts b/types/bwip-js/bwip-js-tests.ts index 29cc419d2c..d016b81ae5 100644 --- a/types/bwip-js/bwip-js-tests.ts +++ b/types/bwip-js/bwip-js-tests.ts @@ -1,4 +1,4 @@ -import * as bwipjs from 'bwip-js'; +import bwipjs = require('bwip-js'); import * as http from 'http'; import * as fs from 'fs'; diff --git a/types/ccap/ccap-tests.ts b/types/ccap/ccap-tests.ts index 12a38a9f60..111fa2f457 100644 --- a/types/ccap/ccap-tests.ts +++ b/types/ccap/ccap-tests.ts @@ -1,4 +1,4 @@ -import * as ccap from 'ccap'; +import ccap = require('ccap'); const captcha1 = ccap(); diff --git a/types/chai-dom/chai-dom-tests.ts b/types/chai-dom/chai-dom-tests.ts index 61b3b3c600..2cc7b0f232 100644 --- a/types/chai-dom/chai-dom-tests.ts +++ b/types/chai-dom/chai-dom-tests.ts @@ -1,5 +1,5 @@ import * as chai from 'chai'; -import * as chaiDom from 'chai-dom'; +import chaiDom = require('chai-dom'); chai.use(chaiDom); var expect = chai.expect; diff --git a/types/chai-enzyme/chai-enzyme-tests.tsx b/types/chai-enzyme/chai-enzyme-tests.tsx index 4b88d077aa..70cd34f2fd 100644 --- a/types/chai-enzyme/chai-enzyme-tests.tsx +++ b/types/chai-enzyme/chai-enzyme-tests.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import * as chaiEnzyme from "chai-enzyme"; +import chaiEnzyme = require("chai-enzyme"); import { expect } from "chai"; import { shallow } from "enzyme"; diff --git a/types/combined-stream/combined-stream-tests.ts b/types/combined-stream/combined-stream-tests.ts index 776e530e63..ffdc0eaac7 100644 --- a/types/combined-stream/combined-stream-tests.ts +++ b/types/combined-stream/combined-stream-tests.ts @@ -1,4 +1,4 @@ -import * as CombinedStream from "combined-stream"; +import CombinedStream = require("combined-stream"); import { createReadStream, createWriteStream } from "fs"; const stream1 = new CombinedStream(); diff --git a/types/connect-livereload/connect-livereload-tests.ts b/types/connect-livereload/connect-livereload-tests.ts index 26a09a2983..9049fa147c 100644 --- a/types/connect-livereload/connect-livereload-tests.ts +++ b/types/connect-livereload/connect-livereload-tests.ts @@ -1,6 +1,5 @@ - -import * as connect from "connect"; -import * as livereload from "connect-livereload"; +import connect = require("connect"); +import livereload = require("connect-livereload"); const app = connect(); @@ -28,13 +27,13 @@ app.use(livereload({ // include all urls by default include: [/.*/], - + // this function is used to determine if the content of `res.write` or `res.end` is html. html: function (str) { if (!str) return false; return /<[:_-\w\s\!\/\=\"\']+>/i.test(str); }, - + // rules are provided to find the place where the snippet should be inserted. // the main problem is that on the server side it can be tricky to determine if a string will be valid html on the client. // the function `fn` of the first `match` is executed like this `body.replace(rule.match, rule.fn);` @@ -49,13 +48,13 @@ app.use(livereload({ match: /<\!DOCTYPE.+?>/i, fn: append }], - + // port where the script is loaded port: 35729, - + // location where the script is provided (not by connect-livereload). Change this e.g. when serving livereload with a proxy. src: "http://localhost:35729/livereload.js?snipver=1", - + // Set this option to `true` to set `req.headers['accept-encoding']` to 'identity' (disabling compression) disableCompression: false })); diff --git a/types/connect/connect-tests.ts b/types/connect/connect-tests.ts index 627017a7e4..5a7590a9a0 100644 --- a/types/connect/connect-tests.ts +++ b/types/connect/connect-tests.ts @@ -1,6 +1,5 @@ - import * as http from "http"; -import * as connect from "connect"; +import connect = require("connect"); const app = connect(); @@ -15,7 +14,7 @@ app.use((err: Error, req: http.IncomingMessage, res: http.ServerResponse, next: if (err) { return res.end(`Error: ${err}`); } - + next(); }); diff --git a/types/consul/consul-tests.ts b/types/consul/consul-tests.ts index f749ef0a5d..988890766d 100644 --- a/types/consul/consul-tests.ts +++ b/types/consul/consul-tests.ts @@ -1,5 +1,4 @@ - -import * as Consul from "consul"; +import Consul = require("consul"); let ConsulStatic: Consul.ConsulStatic; let AclStatic: Consul.AclStatic = ConsulStatic.Acl; diff --git a/types/copy-webpack-plugin/copy-webpack-plugin-tests.ts b/types/copy-webpack-plugin/copy-webpack-plugin-tests.ts index 022a734261..b58b242fc2 100644 --- a/types/copy-webpack-plugin/copy-webpack-plugin-tests.ts +++ b/types/copy-webpack-plugin/copy-webpack-plugin-tests.ts @@ -1,27 +1,27 @@ import { Configuration } from 'webpack' -import * as CopyWebpackPlugin from 'copy-webpack-plugin' +import CopyWebpackPlugin = require('copy-webpack-plugin'); const c: Configuration = { plugins: [ new CopyWebpackPlugin([ // {output}/file.txt { from: 'from/file.txt' }, - + // {output}/to/file.txt { from: 'from/file.txt', to: 'to/file.txt' }, - + // {output}/to/directory/file.txt { from: 'from/file.txt', to: 'to/directory' }, - + // Copy directory contents to {output}/ { from: 'from/directory' }, - + // Copy directory contents to {output}/to/directory/ { from: 'from/directory', to: 'to/directory' }, - + // Copy glob results to /absolute/path/ { from: 'from/directory/**/*', to: '/absolute/path' }, - + // Copy glob results (with dot files) to /absolute/path/ { from: { @@ -30,21 +30,21 @@ const c: Configuration = { }, to: '/absolute/path' }, - + // Copy glob results, relative to context { context: 'from/directory', from: '**/*', to: '/absolute/path' }, - + // {output}/file/without/extension { from: 'path/to/file.txt', to: 'file/without/extension', toType: 'file' }, - + // {output}/directory/with/extension.ext/file.txt { from: 'path/to/file.txt', @@ -53,16 +53,16 @@ const c: Configuration = { }, ], { ignore: [ - // Doesn't copy any files with a txt extension + // Doesn't copy any files with a txt extension '*.txt', - + // Doesn't copy any file, even if they start with a dot '**/*', - + // Doesn't copy any file, except if they start with a dot { glob: '**/*', dot: false } ], - + // By default, we only copy modified files during // a watch or webpack-dev-server build. Setting this // to `true` copies all files. diff --git a/types/create-react-class/create-react-class-tests.ts b/types/create-react-class/create-react-class-tests.ts index ae62233135..b8025b23f0 100644 --- a/types/create-react-class/create-react-class-tests.ts +++ b/types/create-react-class/create-react-class-tests.ts @@ -1,7 +1,7 @@ import * as React from "react"; import * as ReactDOM from "react-dom"; import * as DOM from "react-dom-factories"; -import * as createReactClass from "create-react-class"; +import createReactClass = require("create-react-class"); interface Props { foo: string; diff --git a/types/cross-spawn/cross-spawn-tests.ts b/types/cross-spawn/cross-spawn-tests.ts index 2f2fe11cd5..6cb36510d8 100644 --- a/types/cross-spawn/cross-spawn-tests.ts +++ b/types/cross-spawn/cross-spawn-tests.ts @@ -1,4 +1,4 @@ -import * as spawn from 'cross-spawn'; +import spawn = require('cross-spawn'); import * as cp from 'child_process'; const p1: cp.ChildProcess = spawn('my-cmd', ['foo', 'bar']); diff --git a/types/cwise-compiler/cwise-compiler-tests.ts b/types/cwise-compiler/cwise-compiler-tests.ts index 38e19de886..10d43f1930 100644 --- a/types/cwise-compiler/cwise-compiler-tests.ts +++ b/types/cwise-compiler/cwise-compiler-tests.ts @@ -1,9 +1,7 @@ -/// - -import * as parse from 'cwise-parser'; -import * as ndarray from 'ndarray'; -import * as compile from 'cwise-compiler'; -import * as tape from 'tape'; +import parse = require('cwise-parser'); +import ndarray = require('ndarray'); +import compile = require('cwise-compiler'); +import tape = require('tape'); tape("block tests", (t) => { const ops = require('ndarray-ops'); diff --git a/types/cwise-parser/cwise-parser-tests.ts b/types/cwise-parser/cwise-parser-tests.ts index c50b9be06a..5ee5138a6e 100644 --- a/types/cwise-parser/cwise-parser-tests.ts +++ b/types/cwise-parser/cwise-parser-tests.ts @@ -1,6 +1,5 @@ -import * as parser from "cwise-parser"; -// import parser = require("cwise-parser"); -import * as tape from "tape"; +import parser = require("cwise-parser"); +import tape = require("tape"); tape("basic tests", (t) => { const parsed = parser((a: number, b: number, c: number) => { diff --git a/types/cwise/cwise-tests.ts b/types/cwise/cwise-tests.ts index b759fb1a0c..3d88ee40fd 100644 --- a/types/cwise/cwise-tests.ts +++ b/types/cwise/cwise-tests.ts @@ -1,6 +1,6 @@ -import * as cwise from 'cwise'; -import * as ndarray from 'ndarray'; -import * as tape from 'tape'; +import cwise = require('cwise'); +import ndarray = require('ndarray'); +import tape = require('tape'); // basic tape("only allow same shape", (t) => { @@ -150,8 +150,7 @@ tape("binary", (t) => { t.end(); }); -// browserify -import * as browserify from "browserify"; +import browserify = require("browserify"); import * as vm from 'vm'; import * as path from 'path'; diff --git a/types/download/download-tests.ts b/types/download/download-tests.ts index 34d56d763b..7a498ef0dd 100644 --- a/types/download/download-tests.ts +++ b/types/download/download-tests.ts @@ -28,8 +28,3 @@ download('unicorn.com/foo.jpg', 'dest', { }, useElectronNet: true }); - -import * as download2 from 'download'; - -let downloadFunction = download; -downloadFunction = download2; diff --git a/types/event-to-promise/event-to-promise-tests.ts b/types/event-to-promise/event-to-promise-tests.ts index 2b99ddc62f..d8ca31f496 100644 --- a/types/event-to-promise/event-to-promise-tests.ts +++ b/types/event-to-promise/event-to-promise-tests.ts @@ -1,21 +1,19 @@ import { EventEmitter } from 'events' -import * as eventToPromise from 'event-to-promise' - +import eventToPromise = require('event-to-promise'); { const ee = new EventEmitter() const ep = eventToPromise(ee, 'custom') - + ep.then(console.log) ee.emit('custom') } - { const et = new EventTarget() const tp = eventToPromise.multi(et, ['custom']) - + tp.then(console.log) et.dispatchEvent(new Event('custom')) } diff --git a/types/feedparser/feedparser-tests.ts b/types/feedparser/feedparser-tests.ts index 25d652de8c..1b35498a5e 100644 --- a/types/feedparser/feedparser-tests.ts +++ b/types/feedparser/feedparser-tests.ts @@ -1,5 +1,5 @@ import request = require('request'); -import * as FeedParser from "feedparser"; +import FeedParser = require("feedparser"); const req = request('https://news.google.com/news?cf=all&hl=en&pz=1&ned=us&output=rss'); const feedparser = new FeedParser({}); diff --git a/types/finalhandler/finalhandler-tests.ts b/types/finalhandler/finalhandler-tests.ts index 81b9565404..3b40b217d0 100644 --- a/types/finalhandler/finalhandler-tests.ts +++ b/types/finalhandler/finalhandler-tests.ts @@ -1,6 +1,5 @@ - import { ServerRequest, ServerResponse } from "http"; -import * as finalHandler from "finalhandler"; +import finalHandler = require("finalhandler"); let req: ServerRequest; let res: ServerResponse; diff --git a/types/firmata/firmata-tests.ts b/types/firmata/firmata-tests.ts index d50160e2dd..9a3137ea39 100644 --- a/types/firmata/firmata-tests.ts +++ b/types/firmata/firmata-tests.ts @@ -1,4 +1,4 @@ -import * as Board from 'firmata'; +import Board = require('firmata'); function test_basic_board() { const board = new Board(''); diff --git a/types/flux/index.d.ts b/types/flux/index.d.ts index 9a95368afb..ae63f1349b 100644 --- a/types/flux/index.d.ts +++ b/types/flux/index.d.ts @@ -5,7 +5,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 -import * as Dispatcher from "./lib/Dispatcher"; +import Dispatcher = require("./lib/Dispatcher"); export { Dispatcher diff --git a/types/flux/utils.d.ts b/types/flux/utils.d.ts index 4eb3d96e99..d9ced309db 100644 --- a/types/flux/utils.d.ts +++ b/types/flux/utils.d.ts @@ -1,7 +1,7 @@ -import * as Container from "./lib/FluxContainer"; -import * as Mixin from "./lib/FluxMixinLegacy"; -import * as ReduceStore from "./lib/FluxReduceStore"; -import * as Store from "./lib/FluxStore"; +import Container = require("./lib/FluxContainer"); +import Mixin = require("./lib/FluxMixinLegacy"); +import ReduceStore = require("./lib/FluxReduceStore"); +import Store = require("./lib/FluxStore"); export { Container, diff --git a/types/friendly-errors-webpack-plugin/friendly-errors-webpack-plugin-tests.ts b/types/friendly-errors-webpack-plugin/friendly-errors-webpack-plugin-tests.ts index 4ce3828f3f..11f9395974 100644 --- a/types/friendly-errors-webpack-plugin/friendly-errors-webpack-plugin-tests.ts +++ b/types/friendly-errors-webpack-plugin/friendly-errors-webpack-plugin-tests.ts @@ -1,5 +1,5 @@ -import * as webpack from 'webpack'; -import * as FriendlyErrorsPlugin from 'friendly-errors-webpack-plugin'; +import webpack = require('webpack'); +import FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin'); const compiler = webpack({ plugins: [ diff --git a/types/fs-readfile-promise/fs-readfile-promise-tests.ts b/types/fs-readfile-promise/fs-readfile-promise-tests.ts index 9bd1ac070c..1871207710 100644 --- a/types/fs-readfile-promise/fs-readfile-promise-tests.ts +++ b/types/fs-readfile-promise/fs-readfile-promise-tests.ts @@ -1,4 +1,4 @@ -import * as readFile from "fs-readfile-promise"; +import readFile = require("fs-readfile-promise"); declare const path: string; declare const encoding: string; diff --git a/types/glob-expand/glob-expand-tests.ts b/types/glob-expand/glob-expand-tests.ts index 70275ea0cf..1e61bc0c49 100644 --- a/types/glob-expand/glob-expand-tests.ts +++ b/types/glob-expand/glob-expand-tests.ts @@ -1,5 +1,4 @@ - -import * as expand from "glob-expand"; +import expand = require("glob-expand"); expand({ filter: 'isFile', cwd: '../' }, ['**/*.*', '!exclude/these/**/*.*']); // returns all files in cwd ['file1', 'file2',...] but excluding diff --git a/types/globby/globby-tests.ts b/types/globby/globby-tests.ts index 68acb7cde8..1c3c1842d4 100644 --- a/types/globby/globby-tests.ts +++ b/types/globby/globby-tests.ts @@ -1,6 +1,6 @@ import { IOptions } from 'glob'; -import * as globby from "globby"; +import globby = require("globby"); (async () => { let result: string[]; diff --git a/types/google-cloud__pubsub/google-cloud__pubsub-tests.ts b/types/google-cloud__pubsub/google-cloud__pubsub-tests.ts index 7a9b9905c2..3d31dd7291 100644 --- a/types/google-cloud__pubsub/google-cloud__pubsub-tests.ts +++ b/types/google-cloud__pubsub/google-cloud__pubsub-tests.ts @@ -1,4 +1,4 @@ -import * as PubSub from '@google-cloud/pubsub'; +import PubSub = require('@google-cloud/pubsub'); // AUTHOR NOTES: We use the examples directly from the library documentation // where possible. If there is a problem with a given example (e.g. undocumented diff --git a/types/grasp/grasp-tests.ts b/types/grasp/grasp-tests.ts index 647f57d8fd..87da0b8d45 100644 --- a/types/grasp/grasp-tests.ts +++ b/types/grasp/grasp-tests.ts @@ -1,5 +1,5 @@ import fs = require("fs"); -import * as grasp from "grasp"; +import grasp = require("grasp"); grasp(); // $ExpectError grasp({ args: [] }); // $ExpectType void diff --git a/types/gulp/test/index.ts b/types/gulp/test/index.ts index 853799d8c4..f5ca436450 100644 --- a/types/gulp/test/index.ts +++ b/types/gulp/test/index.ts @@ -1,7 +1,7 @@ import * as gulp from 'gulp'; import * as undertaker from 'undertaker'; import * as registry from 'undertaker-registry'; -import * as del from "del"; +import del = require("del"); const minify: () => any = () => { }; const jade: () => any = () => { }; diff --git a/types/html-webpack-plugin/html-webpack-plugin-tests.ts b/types/html-webpack-plugin/html-webpack-plugin-tests.ts index 7a1e5f20bc..b80ea9e6b0 100644 --- a/types/html-webpack-plugin/html-webpack-plugin-tests.ts +++ b/types/html-webpack-plugin/html-webpack-plugin-tests.ts @@ -1,4 +1,4 @@ -import * as HtmlWebpackPlugin from 'html-webpack-plugin'; +import HtmlWebpackPlugin = require('html-webpack-plugin'); new HtmlWebpackPlugin(); diff --git a/types/html-webpack-template/html-webpack-template-tests.ts b/types/html-webpack-template/html-webpack-template-tests.ts index 4407af69eb..0108aa39d8 100644 --- a/types/html-webpack-template/html-webpack-template-tests.ts +++ b/types/html-webpack-template/html-webpack-template-tests.ts @@ -1,4 +1,4 @@ -import * as HtmlWebpackPlugin from 'html-webpack-plugin'; +import HtmlWebpackPlugin = require('html-webpack-plugin'); import * as template from 'html-webpack-template'; const optionsArray: template.Options[] = [ diff --git a/types/http-proxy/http-proxy-tests.ts b/types/http-proxy/http-proxy-tests.ts index e691b48ed0..70ea803da6 100644 --- a/types/http-proxy/http-proxy-tests.ts +++ b/types/http-proxy/http-proxy-tests.ts @@ -1,5 +1,5 @@ import * as http from "http"; -import * as HttpProxy from "http-proxy"; +import HttpProxy = require("http-proxy"); const proxy = new HttpProxy({ changeOrigin: true diff --git a/types/image-size/image-size-tests.ts b/types/image-size/image-size-tests.ts index 983389091e..058ed7934f 100644 --- a/types/image-size/image-size-tests.ts +++ b/types/image-size/image-size-tests.ts @@ -1,7 +1,6 @@ - import * as url from "url"; import * as http from "http"; -import * as sizeOf from "image-size"; +import sizeOf = require("image-size"); // Synchronous const dimensions = sizeOf("images/funny-cats.png"); diff --git a/types/images/images-tests.ts b/types/images/images-tests.ts index f7ba58d68d..9b6db2d1b2 100644 --- a/types/images/images-tests.ts +++ b/types/images/images-tests.ts @@ -1,4 +1,4 @@ -import * as images from "images"; +import images = require("images"); // from https://github.com/zhangyuanwei/node-images/blob/master/demo/uploadServer.js const tmp_path = "tmp_path"; diff --git a/types/ioredis/ioredis-tests.ts b/types/ioredis/ioredis-tests.ts index 2e80cd80e4..d8106ecdea 100644 --- a/types/ioredis/ioredis-tests.ts +++ b/types/ioredis/ioredis-tests.ts @@ -1,4 +1,4 @@ -import * as Redis from "ioredis"; +import Redis = require("ioredis"); const redis = new Redis(); redis.set('foo', 'bar'); diff --git a/types/jenkins/jenkins-tests.ts b/types/jenkins/jenkins-tests.ts index 98b30d4b73..9f45c7053b 100644 --- a/types/jenkins/jenkins-tests.ts +++ b/types/jenkins/jenkins-tests.ts @@ -1,4 +1,4 @@ -import * as J from 'jenkins'; +import J = require('jenkins'); const jenkins = J({ baseUrl: 'http://user:pass@localhost:8080', crumbIssuer: true }); diff --git a/types/joigoose/joigoose-tests.ts b/types/joigoose/joigoose-tests.ts index 91e36d827c..50cb29deef 100644 --- a/types/joigoose/joigoose-tests.ts +++ b/types/joigoose/joigoose-tests.ts @@ -1,4 +1,4 @@ -import * as Joigoose from "joigoose"; +import Joigoose = require("joigoose"); import * as Mongoose from "mongoose"; import * as Joi from "joi"; diff --git a/types/jsnox/jsnox-tests.ts b/types/jsnox/jsnox-tests.ts index d545581591..f03c33e917 100644 --- a/types/jsnox/jsnox-tests.ts +++ b/types/jsnox/jsnox-tests.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import * as jsnox from "jsnox"; +import jsnox = require("jsnox"); const $ = jsnox(React); interface PersonProps { diff --git a/types/jszip/jszip-tests.ts b/types/jszip/jszip-tests.ts index 81ccda09db..5d332a8070 100644 --- a/types/jszip/jszip-tests.ts +++ b/types/jszip/jszip-tests.ts @@ -1,4 +1,4 @@ -import * as JSZip from 'jszip'; +import JSZip = require('jszip'); const SEVERITY = { DEBUG: 0, diff --git a/types/klaw/klaw-tests.ts b/types/klaw/klaw-tests.ts index 2487aafd85..69406f73e8 100644 --- a/types/klaw/klaw-tests.ts +++ b/types/klaw/klaw-tests.ts @@ -1,4 +1,4 @@ -import * as klaw from "klaw"; +import klaw = require("klaw"); const path = require('path'); // README.md: Streams 1 (push) example: diff --git a/types/klaw/v1/klaw-tests.ts b/types/klaw/v1/klaw-tests.ts index 5e425a714a..7bfd79ee50 100644 --- a/types/klaw/v1/klaw-tests.ts +++ b/types/klaw/v1/klaw-tests.ts @@ -1,4 +1,4 @@ -import * as klaw from "klaw"; +import klaw = require("klaw"); import * as path from "path"; // README.md: Streams 1 (push) example: diff --git a/types/knex-postgis/knex-postgis-tests.ts b/types/knex-postgis/knex-postgis-tests.ts index 43a6c2f58b..99eb1382fc 100644 --- a/types/knex-postgis/knex-postgis-tests.ts +++ b/types/knex-postgis/knex-postgis-tests.ts @@ -1,6 +1,6 @@ import * as GeoJSON from 'geojson'; -import * as Knex from 'knex'; -import * as KPG from 'knex-postgis'; +import Knex = require('knex'); +import KPG = require('knex-postgis'); const knex: Knex = Knex({ dialect: 'pg' }); const st: KPG.KnexPostgis = KPG(knex); diff --git a/types/leveldown/leveldown-tests.ts b/types/leveldown/leveldown-tests.ts index 94d852d204..0aa9b3625e 100644 --- a/types/leveldown/leveldown-tests.ts +++ b/types/leveldown/leveldown-tests.ts @@ -1,4 +1,4 @@ -import * as leveldown from "leveldown"; +import leveldown = require("leveldown"); const db = leveldown("db1"); diff --git a/types/levelup/levelup-tests.ts b/types/levelup/levelup-tests.ts index 8827512437..2d3867cdd3 100644 --- a/types/levelup/levelup-tests.ts +++ b/types/levelup/levelup-tests.ts @@ -1,4 +1,4 @@ -import * as levelup from "levelup"; +import levelup = require("levelup"); interface BufferEncoding { encode(val: any): Buffer; @@ -68,7 +68,7 @@ db.batch() .write(function () { console.log('Done!') }) var open:boolean = db.isOpen(); -var closed:boolean = db.isClosed(); +var closed:boolean = db.isClosed(); db.createReadStream() .on('data', function (data: any) { console.log(data.key, '=', data.value) diff --git a/types/line-by-line/line-by-line-tests.ts b/types/line-by-line/line-by-line-tests.ts index 9181e91a98..c97d02ca58 100644 --- a/types/line-by-line/line-by-line-tests.ts +++ b/types/line-by-line/line-by-line-tests.ts @@ -1,4 +1,4 @@ -import * as LineByLineReader from "line-by-line"; +import LineByLineReader = require("line-by-line"); const reader: LineByLineReader = new LineByLineReader("index.d.ts"); reader.on("line", (line: any) => { diff --git a/types/lodash-webpack-plugin/lodash-webpack-plugin-tests.ts b/types/lodash-webpack-plugin/lodash-webpack-plugin-tests.ts index d6483e3d03..6d0163faf6 100644 --- a/types/lodash-webpack-plugin/lodash-webpack-plugin-tests.ts +++ b/types/lodash-webpack-plugin/lodash-webpack-plugin-tests.ts @@ -1,4 +1,4 @@ -import * as LodashModuleReplacementPlugin from 'lodash-webpack-plugin'; +import LodashModuleReplacementPlugin = require('lodash-webpack-plugin'); new LodashModuleReplacementPlugin(); diff --git a/types/material-ui-pagination/material-ui-pagination-tests.tsx b/types/material-ui-pagination/material-ui-pagination-tests.tsx index a7f85d8184..d680f95e1f 100644 --- a/types/material-ui-pagination/material-ui-pagination-tests.tsx +++ b/types/material-ui-pagination/material-ui-pagination-tests.tsx @@ -5,7 +5,7 @@ import * as ReactDOM from 'react-dom'; import Pagination from 'material-ui-pagination'; import * as ui from 'material-ui'; import { MuiThemeProvider } from 'material-ui/styles'; -import * as injectTapEventPlugin from 'react-tap-event-plugin'; +import injectTapEventPlugin = require('react-tap-event-plugin'); // Needed for onTouchTap // Check this repo: diff --git a/types/menubar/menubar-tests.ts b/types/menubar/menubar-tests.ts index 7fd1a9dbe4..9501574164 100644 --- a/types/menubar/menubar-tests.ts +++ b/types/menubar/menubar-tests.ts @@ -1,4 +1,4 @@ -import * as menubar from "menubar"; +import menubar = require("menubar"); var mb1 = menubar(); diff --git a/types/merge2/merge2-tests.ts b/types/merge2/merge2-tests.ts index ba11597dfa..c96747973d 100644 --- a/types/merge2/merge2-tests.ts +++ b/types/merge2/merge2-tests.ts @@ -1,5 +1,5 @@ import * as gulp from 'gulp'; -import * as merge2 from 'merge2'; +import merge2 = require('merge2'); gulp.task('app-js', () => merge2( diff --git a/types/micro/micro-tests.ts b/types/micro/micro-tests.ts index 010fe012cb..e47645deb9 100644 --- a/types/micro/micro-tests.ts +++ b/types/micro/micro-tests.ts @@ -1,5 +1,5 @@ import micro, { json, RequestHandler, buffer, text, send, createError } from 'micro'; -import * as socketIO from 'socket.io'; +import socketIO = require('socket.io'); // Json sample diff --git a/types/mock-knex/mock-knex-tests.ts b/types/mock-knex/mock-knex-tests.ts index ec4ef0024e..f9fa69aea1 100644 --- a/types/mock-knex/mock-knex-tests.ts +++ b/types/mock-knex/mock-knex-tests.ts @@ -1,4 +1,4 @@ -import * as knex from "knex"; +import knex = require("knex"); import * as mockDb from "mock-knex"; const db = knex({ diff --git a/types/mongoose-simple-random/mongoose-simple-random-tests.ts b/types/mongoose-simple-random/mongoose-simple-random-tests.ts index f5b26dbebb..1ed3051652 100644 --- a/types/mongoose-simple-random/mongoose-simple-random-tests.ts +++ b/types/mongoose-simple-random/mongoose-simple-random-tests.ts @@ -1,5 +1,5 @@ import * as mongoose from 'mongoose'; -import * as mongoose_simple_random from "mongoose-simple-random"; +import mongoose_simple_random = require("mongoose-simple-random"); // test compatibility with other libraries - from @types/mongoose import * as _ from 'lodash'; diff --git a/types/mongoose-unique-validator/mongoose-unique-validator-tests.ts b/types/mongoose-unique-validator/mongoose-unique-validator-tests.ts index 59ada92a3c..ded6f76ae4 100644 --- a/types/mongoose-unique-validator/mongoose-unique-validator-tests.ts +++ b/types/mongoose-unique-validator/mongoose-unique-validator-tests.ts @@ -1,5 +1,5 @@ import { Schema } from "mongoose"; -import * as uniqueValidator from "mongoose-unique-validator"; +import uniqueValidator = require("mongoose-unique-validator"); const schema = new Schema({ test: { type: String } diff --git a/types/mozilla-readability/mozilla-readability-tests.ts b/types/mozilla-readability/mozilla-readability-tests.ts index bcb17f4bf5..e5431dd14e 100644 --- a/types/mozilla-readability/mozilla-readability-tests.ts +++ b/types/mozilla-readability/mozilla-readability-tests.ts @@ -1,4 +1,4 @@ -import * as Readability from 'mozilla-readability'; +import Readability = require('mozilla-readability'); import { JSDOM } from 'jsdom'; // Compiling requires `--noImplicitUseStrict` diff --git a/types/msgpack5/msgpack5-tests.ts b/types/msgpack5/msgpack5-tests.ts index 6cd9854992..d8a2829302 100644 --- a/types/msgpack5/msgpack5-tests.ts +++ b/types/msgpack5/msgpack5-tests.ts @@ -1,9 +1,9 @@ -import * as msgpack from 'msgpack5'; +import msgpack = require('msgpack5'); // msgpack() let packer = msgpack(); packer = msgpack({ forceFloat64: true }); -packer = msgpack({ compatibilityMode: true }); +packer = msgpack({ compatibilityMode: true }); class InputType { number: number; diff --git a/types/musicmetadata/musicmetadata-tests.ts b/types/musicmetadata/musicmetadata-tests.ts index 421aec3bc5..c2e70116fb 100644 --- a/types/musicmetadata/musicmetadata-tests.ts +++ b/types/musicmetadata/musicmetadata-tests.ts @@ -1,5 +1,5 @@ import * as fs from "fs"; -import * as mm from "musicmetadata"; +import mm = require("musicmetadata"); mm(fs.createReadStream("hype-train.mp3"), (err: Error, metadata: MM.Metadata) => { if (err) throw err; diff --git a/types/nano/nano-tests.ts b/types/nano/nano-tests.ts index 4f13e90f43..0556f2b8fe 100644 --- a/types/nano/nano-tests.ts +++ b/types/nano/nano-tests.ts @@ -1,5 +1,5 @@ import * as fs from "fs"; -import * as nano from "nano"; +import nano = require("nano"); /* * Instantiate with configuration object diff --git a/types/needle/needle-tests.ts b/types/needle/needle-tests.ts index e8f2efee20..a216b1f686 100644 --- a/types/needle/needle-tests.ts +++ b/types/needle/needle-tests.ts @@ -1,4 +1,4 @@ -import * as needle from "needle"; +import needle = require("needle"); import * as fs from "fs"; function Usage() { diff --git a/types/nock/nock-tests.ts b/types/nock/nock-tests.ts index e81e3fd096..44397db941 100644 --- a/types/nock/nock-tests.ts +++ b/types/nock/nock-tests.ts @@ -1,6 +1,4 @@ - - -import * as nock from 'nock'; +import nock = require('nock'); import * as fs from 'fs'; var scope: nock.Scope; diff --git a/types/node-geocoder/node-geocoder-tests.ts b/types/node-geocoder/node-geocoder-tests.ts index 33ed4b3036..bb554d03ba 100644 --- a/types/node-geocoder/node-geocoder-tests.ts +++ b/types/node-geocoder/node-geocoder-tests.ts @@ -1,4 +1,4 @@ -import * as NodeGeocoder from 'node-geocoder'; +import NodeGeocoder = require('node-geocoder'); const geocoder = NodeGeocoder({ provider: 'google', diff --git a/types/node-powershell/node-powershell-tests.ts b/types/node-powershell/node-powershell-tests.ts index a60f9db331..186d0bd68e 100644 --- a/types/node-powershell/node-powershell-tests.ts +++ b/types/node-powershell/node-powershell-tests.ts @@ -1,4 +1,4 @@ -import * as nodePowershell from 'node-powershell'; +import nodePowershell = require('node-powershell'); var options: nodePowershell.ShellOptions = { debugMsg: true diff --git a/types/node-rsa/node-rsa-tests.ts b/types/node-rsa/node-rsa-tests.ts index e210d5b68d..0f8defacbd 100644 --- a/types/node-rsa/node-rsa-tests.ts +++ b/types/node-rsa/node-rsa-tests.ts @@ -1,4 +1,4 @@ -import * as NodeRSA from 'node-rsa'; +import NodeRSA = require('node-rsa'); const key = new NodeRSA({ b: 512 }); diff --git a/types/node-vault/node-vault-tests.ts b/types/node-vault/node-vault-tests.ts index d6d85980a1..6ce23bd4cd 100644 --- a/types/node-vault/node-vault-tests.ts +++ b/types/node-vault/node-vault-tests.ts @@ -1,4 +1,4 @@ -import * as nv from "node-vault"; +import nv = require("node-vault"); // Test code came from the sample code in README of the module. const options = { diff --git a/types/nodemailer-ses-transport/nodemailer-ses-transport-tests.ts b/types/nodemailer-ses-transport/nodemailer-ses-transport-tests.ts index 393091816d..271dc6cf41 100644 --- a/types/nodemailer-ses-transport/nodemailer-ses-transport-tests.ts +++ b/types/nodemailer-ses-transport/nodemailer-ses-transport-tests.ts @@ -1,6 +1,6 @@ import * as AWS from "aws-sdk"; import * as nodemailer from "nodemailer"; -import * as sesTransport from 'nodemailer-ses-transport'; +import sesTransport = require('nodemailer-ses-transport'); const opts: sesTransport.SesOptions = { SES: new AWS.SES(), diff --git a/types/optimize-css-assets-webpack-plugin/optimize-css-assets-webpack-plugin-tests.ts b/types/optimize-css-assets-webpack-plugin/optimize-css-assets-webpack-plugin-tests.ts index 74cf685649..0dd1531313 100644 --- a/types/optimize-css-assets-webpack-plugin/optimize-css-assets-webpack-plugin-tests.ts +++ b/types/optimize-css-assets-webpack-plugin/optimize-css-assets-webpack-plugin-tests.ts @@ -1,4 +1,4 @@ -import * as OptimizeCssAssets from 'optimize-css-assets-webpack-plugin'; +import OptimizeCssAssets = require('optimize-css-assets-webpack-plugin'); const ocap: OptimizeCssAssets = new OptimizeCssAssets({ assetNameRegExp: /\.min\.css$/, diff --git a/types/orientjs/orientjs-tests.ts b/types/orientjs/orientjs-tests.ts index ec083b84e3..9b11968058 100644 --- a/types/orientjs/orientjs-tests.ts +++ b/types/orientjs/orientjs-tests.ts @@ -1,4 +1,4 @@ -import * as orientjs from 'orientjs'; +import orientjs = require('orientjs'); const dbserver = orientjs({ host: 'localhost', diff --git a/types/osrm/osrm-tests.ts b/types/osrm/osrm-tests.ts index fd53363dd7..513e8c1fd2 100644 --- a/types/osrm/osrm-tests.ts +++ b/types/osrm/osrm-tests.ts @@ -1,5 +1,5 @@ import * as fs from 'fs'; -import * as OSRM from 'osrm'; +import OSRM = require('osrm'); // Access to Types from namespace const tile: OSRM.Tile = [0, 0, 0]; diff --git a/types/page-icon/page-icon-tests.ts b/types/page-icon/page-icon-tests.ts index 4a6bc8c2b6..2b2873dae1 100644 --- a/types/page-icon/page-icon-tests.ts +++ b/types/page-icon/page-icon-tests.ts @@ -1,4 +1,4 @@ -import * as pageIcon from "page-icon"; +import pageIcon = require("page-icon"); const siteUrl = "https://www.facebook.com/"; pageIcon(siteUrl) diff --git a/types/parse-torrent/parse-torrent-tests.ts b/types/parse-torrent/parse-torrent-tests.ts index 24d00dbe98..c2676ff080 100644 --- a/types/parse-torrent/parse-torrent-tests.ts +++ b/types/parse-torrent/parse-torrent-tests.ts @@ -1,4 +1,4 @@ -import * as parseTorrent from 'parse-torrent'; +import parseTorrent = require('parse-torrent'); import * as fs from 'fs'; // info hash (as a hex string) diff --git a/types/path-parse/path-parse-tests.ts b/types/path-parse/path-parse-tests.ts index da2b63f6b4..a632d768f1 100644 --- a/types/path-parse/path-parse-tests.ts +++ b/types/path-parse/path-parse-tests.ts @@ -1,4 +1,4 @@ -import * as parse from "path-parse"; +import parse = require("path-parse"); const parsed = parse("/foo/bar.img"); const { root, dir, base, ext, name } = parsed; diff --git a/types/pg-escape/pg-escape-tests.ts b/types/pg-escape/pg-escape-tests.ts index 36636cf0c2..87d70dbd9f 100644 --- a/types/pg-escape/pg-escape-tests.ts +++ b/types/pg-escape/pg-escape-tests.ts @@ -1,4 +1,4 @@ -import * as escape from 'pg-escape'; +import escape = require('pg-escape'); escape('INSERT INTO %I VALUES(%L)', 'books', "O'Reilly"); escape.string("ab'cd"); diff --git a/types/pg-query-stream/pg-query-stream-tests.ts b/types/pg-query-stream/pg-query-stream-tests.ts index 1df78ea648..dbf0b88d0b 100644 --- a/types/pg-query-stream/pg-query-stream-tests.ts +++ b/types/pg-query-stream/pg-query-stream-tests.ts @@ -1,4 +1,4 @@ -import * as QueryStream from 'pg-query-stream'; +import QueryStream = require('pg-query-stream'); import * as pg from 'pg'; const options: QueryStream.Options = { diff --git a/types/pino-multi-stream/pino-multi-stream-tests.ts b/types/pino-multi-stream/pino-multi-stream-tests.ts index d9d0899256..dc48ed3bd4 100644 --- a/types/pino-multi-stream/pino-multi-stream-tests.ts +++ b/types/pino-multi-stream/pino-multi-stream-tests.ts @@ -1,6 +1,6 @@ import * as fs from 'fs'; -import * as pino from 'pino'; -import * as pinoms from 'pino-multi-stream'; +import pino = require('pino'); +import pinoms = require('pino-multi-stream'); const streams: pinoms.Streams = [ { stream: process.stdout }, // an "info" level destination stream diff --git a/types/pump/pump-tests.ts b/types/pump/pump-tests.ts index 0c8e91b2c0..cf3393de21 100644 --- a/types/pump/pump-tests.ts +++ b/types/pump/pump-tests.ts @@ -1,4 +1,4 @@ -import * as pump from 'pump'; +import pump = require('pump'); import { createReadStream, createWriteStream } from 'fs'; import { Transform } from 'stream'; diff --git a/types/qrcode.react/qrcode.react-tests.tsx b/types/qrcode.react/qrcode.react-tests.tsx index ffae551b01..25136d1a97 100644 --- a/types/qrcode.react/qrcode.react-tests.tsx +++ b/types/qrcode.react/qrcode.react-tests.tsx @@ -1,4 +1,4 @@ -import * as QRCode from "qrcode.react"; +import QRCode = require("qrcode.react"); import * as React from "react"; const qrcodes = [ diff --git a/types/radium/radium-tests.tsx b/types/radium/radium-tests.tsx index 0b1b1408c2..6b7aaa1a46 100644 --- a/types/radium/radium-tests.tsx +++ b/types/radium/radium-tests.tsx @@ -1,6 +1,6 @@ import * as React from "react"; import { StyleRoot, Style } from "radium"; -import * as Radium from 'radium'; +import Radium = require('radium'); @Radium class TestComponent extends React.Component<{ a: number }> { diff --git a/types/ratelimiter/ratelimiter-tests.ts b/types/ratelimiter/ratelimiter-tests.ts index 4face1baa9..f529ec2faf 100644 --- a/types/ratelimiter/ratelimiter-tests.ts +++ b/types/ratelimiter/ratelimiter-tests.ts @@ -1,6 +1,5 @@ - import * as redis from 'redis'; -import * as Limiter from 'ratelimiter'; +import Limiter = require('ratelimiter'); declare let id: string; declare let db: redis.RedisClient; diff --git a/types/react-addons-shallow-compare/react-addons-shallow-compare-tests.tsx b/types/react-addons-shallow-compare/react-addons-shallow-compare-tests.tsx index c1c5d902cc..cd1a96a70e 100644 --- a/types/react-addons-shallow-compare/react-addons-shallow-compare-tests.tsx +++ b/types/react-addons-shallow-compare/react-addons-shallow-compare-tests.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import * as shallowCompare from 'react-addons-shallow-compare'; +import shallowCompare = require('react-addons-shallow-compare'); export class MyComponent extends React.Component { shouldComponentUpdate(nextProps: any, nextState: any, nextContext: any): boolean { diff --git a/types/react-autosuggest/react-autosuggest-tests.tsx b/types/react-autosuggest/react-autosuggest-tests.tsx index 3747e8457b..7fea579987 100644 --- a/types/react-autosuggest/react-autosuggest-tests.tsx +++ b/types/react-autosuggest/react-autosuggest-tests.tsx @@ -1,7 +1,7 @@ // region Imports import * as React from 'react'; import * as ReactDOM from 'react-dom'; -import * as Autosuggest from 'react-autosuggest'; +import Autosuggest = require('react-autosuggest'); // endregion interface Language { diff --git a/types/react-bootstrap-date-picker/react-bootstrap-date-picker-tests.tsx b/types/react-bootstrap-date-picker/react-bootstrap-date-picker-tests.tsx index 07928a09ea..23b6c75d63 100644 --- a/types/react-bootstrap-date-picker/react-bootstrap-date-picker-tests.tsx +++ b/types/react-bootstrap-date-picker/react-bootstrap-date-picker-tests.tsx @@ -1,6 +1,6 @@ import * as React from "react"; import { DropdownMenu } from "react-bootstrap"; -import * as DatePicker from "react-bootstrap-date-picker"; +import DatePicker = require("react-bootstrap-date-picker"); const Custom: React.StatelessComponent = () => { return (
); diff --git a/types/react-bootstrap-daterangepicker/react-bootstrap-daterangepicker-tests.ts b/types/react-bootstrap-daterangepicker/react-bootstrap-daterangepicker-tests.ts deleted file mode 100644 index 65e44c6086..0000000000 --- a/types/react-bootstrap-daterangepicker/react-bootstrap-daterangepicker-tests.ts +++ /dev/null @@ -1,23 +0,0 @@ -import DateRangePicker = require("react-bootstrap-daterangepicker"); -import * as React from "react"; - -class IntegrationTest extends React.Component { - render() { - const props = { - onEvent: (ev: any, picker: any) => true, - singleDatePicker: true, - startDate: "1999-12-31", - endDate: "2000-12-31", - dateLimit: 3, - timePicker: true, - timePickerIncrement: 5, - buttonClasses: ["btn-sm"], - applyClass: "myclass", - cancelClass: "myclass", - autoApply: true, - linkedCalendars: true, - }; - - return React.createElement(DateRangePicker, props); - } -} diff --git a/types/react-bootstrap-daterangepicker/react-bootstrap-daterangepicker-tests.tsx b/types/react-bootstrap-daterangepicker/react-bootstrap-daterangepicker-tests.tsx index b34646031d..36484ba416 100644 --- a/types/react-bootstrap-daterangepicker/react-bootstrap-daterangepicker-tests.tsx +++ b/types/react-bootstrap-daterangepicker/react-bootstrap-daterangepicker-tests.tsx @@ -1,4 +1,25 @@ -import * as DateRangePicker from "react-bootstrap-daterangepicker"; +import DateRangePicker = require("react-bootstrap-daterangepicker"); import * as React from "react"; +class IntegrationTest extends React.Component { + render() { + const props = { + onEvent: (ev: any, picker: any) => true, + singleDatePicker: true, + startDate: "1999-12-31", + endDate: "2000-12-31", + dateLimit: 3, + timePicker: true, + timePickerIncrement: 5, + buttonClasses: ["btn-sm"], + applyClass: "myclass", + cancelClass: "myclass", + autoApply: true, + linkedCalendars: true, + }; + + return React.createElement(DateRangePicker, props); + } +} + let pickerCoponent = true} />; diff --git a/types/react-bootstrap-daterangepicker/tsconfig.json b/types/react-bootstrap-daterangepicker/tsconfig.json index ed5ddc9221..39818df2a6 100644 --- a/types/react-bootstrap-daterangepicker/tsconfig.json +++ b/types/react-bootstrap-daterangepicker/tsconfig.json @@ -21,7 +21,6 @@ }, "files": [ "index.d.ts", - "react-bootstrap-daterangepicker-tests.ts", "react-bootstrap-daterangepicker-tests.tsx" ] } \ No newline at end of file diff --git a/types/react-bootstrap/lib/Carousel.d.ts b/types/react-bootstrap/lib/Carousel.d.ts index cef9214064..23ceeda466 100644 --- a/types/react-bootstrap/lib/Carousel.d.ts +++ b/types/react-bootstrap/lib/Carousel.d.ts @@ -1,7 +1,7 @@ import * as React from 'react'; import { Omit, Sizes, SelectCallback } from 'react-bootstrap'; -import * as CarouselItem from './CarouselItem'; -import * as CarouselCaption from './CarouselCaption'; +import CarouselItem = require('./CarouselItem'); +import CarouselCaption = require('./CarouselCaption'); declare namespace Carousel { export type CarouselProps = Omit, 'wrap'> & { diff --git a/types/react-bootstrap/lib/FormControl.d.ts b/types/react-bootstrap/lib/FormControl.d.ts index 9f40f81774..dd7528e2d4 100644 --- a/types/react-bootstrap/lib/FormControl.d.ts +++ b/types/react-bootstrap/lib/FormControl.d.ts @@ -1,7 +1,7 @@ import * as React from 'react'; import { Sizes } from 'react-bootstrap'; -import * as FormControlFeedback from './FormControlFeedback'; -import * as FormControlStatic from './FormControlStatic'; +import FormControlFeedback = require('./FormControlFeedback'); +import FormControlStatic = require('./FormControlStatic'); declare namespace FormControl { export interface FormControlProps extends React.HTMLProps { diff --git a/types/react-bootstrap/lib/InputGroup.d.ts b/types/react-bootstrap/lib/InputGroup.d.ts index 7c99727439..6903fac5cf 100644 --- a/types/react-bootstrap/lib/InputGroup.d.ts +++ b/types/react-bootstrap/lib/InputGroup.d.ts @@ -1,7 +1,7 @@ import * as React from 'react'; import { Sizes } from 'react-bootstrap'; -import * as InputGroupAddon from './InputGroupAddon'; -import * as InputGroupButton from './InputGroupButton'; +import InputGroupAddon = require('./InputGroupAddon'); +import InputGroupButton = require('./InputGroupButton'); declare namespace InputGroup { export interface InputGroupProps extends React.HTMLProps { diff --git a/types/react-bootstrap/lib/Media.d.ts b/types/react-bootstrap/lib/Media.d.ts index eac35a0db9..4e85e69a51 100644 --- a/types/react-bootstrap/lib/Media.d.ts +++ b/types/react-bootstrap/lib/Media.d.ts @@ -1,10 +1,10 @@ import * as React from 'react'; -import * as MediaBody from './MediaBody'; -import * as MediaHeading from './MediaHeading'; -import * as MediaLeft from './MediaLeft'; -import * as MediaList from './MediaList'; -import * as MediaListItem from './MediaListItem'; -import * as MediaRight from './MediaRight'; +import MediaBody = require('./MediaBody'); +import MediaHeading = require('./MediaHeading'); +import MediaLeft = require('./MediaLeft'); +import MediaList = require('./MediaList'); +import MediaListItem = require('./MediaListItem'); +import MediaRight = require('./MediaRight'); declare namespace Media { export interface MediaProps extends React.HTMLProps { diff --git a/types/react-bootstrap/lib/Modal.d.ts b/types/react-bootstrap/lib/Modal.d.ts index 357b7fc8a6..9b5ada2cdc 100644 --- a/types/react-bootstrap/lib/Modal.d.ts +++ b/types/react-bootstrap/lib/Modal.d.ts @@ -1,10 +1,10 @@ import * as React from 'react'; import { Sizes, TransitionCallbacks } from 'react-bootstrap'; -import * as ModalBody from './ModalBody'; -import * as ModalHeader from './ModalHeader'; -import * as ModalTitle from './ModalTitle'; -import * as ModalDialog from './ModalDialog'; -import * as ModalFooter from './ModalFooter'; +import ModalBody = require('./ModalBody'); +import ModalHeader = require('./ModalHeader'); +import ModalTitle = require('./ModalTitle'); +import ModalDialog = require('./ModalDialog'); +import ModalFooter = require('./ModalFooter'); declare namespace Modal { interface ModalProps extends TransitionCallbacks, React.HTMLProps { diff --git a/types/react-bootstrap/lib/Navbar.d.ts b/types/react-bootstrap/lib/Navbar.d.ts index 5231c74052..5849c0392e 100644 --- a/types/react-bootstrap/lib/Navbar.d.ts +++ b/types/react-bootstrap/lib/Navbar.d.ts @@ -1,9 +1,9 @@ import * as React from 'react'; import { Sizes } from 'react-bootstrap'; -import * as NavbarBrand from './NavbarBrand'; -import * as NavbarCollapse from './NavbarCollapse'; -import * as NavbarHeader from './NavbarHeader'; -import * as NavbarToggle from './NavbarToggle'; +import NavbarBrand = require('./NavbarBrand'); +import NavbarCollapse = require('./NavbarCollapse'); +import NavbarHeader = require('./NavbarHeader'); +import NavbarToggle = require('./NavbarToggle'); declare namespace Navbar { export interface NavbarProps extends React.HTMLProps { diff --git a/types/react-bootstrap/lib/Pager.d.ts b/types/react-bootstrap/lib/Pager.d.ts index 647fd416c9..076d30a0af 100644 --- a/types/react-bootstrap/lib/Pager.d.ts +++ b/types/react-bootstrap/lib/Pager.d.ts @@ -1,6 +1,6 @@ import * as React from 'react'; import { SelectCallback } from 'react-bootstrap'; -import * as PagerItem from './PagerItem'; +import PagerItem = require('./PagerItem'); declare namespace Pager { export interface PagerProps extends React.HTMLProps { diff --git a/types/react-bootstrap/lib/Pagination.d.ts b/types/react-bootstrap/lib/Pagination.d.ts index 7e14e823fb..ead70fe342 100644 --- a/types/react-bootstrap/lib/Pagination.d.ts +++ b/types/react-bootstrap/lib/Pagination.d.ts @@ -1,11 +1,11 @@ import * as React from 'react'; import { Sizes, SelectCallback } from 'react-bootstrap'; -import * as PaginationFirst from './PaginationFirst' -import * as PaginationPrev from './PaginationPrev' -import * as PaginationNext from './PaginationNext' -import * as PaginationLast from './PaginationLast' -import * as PaginationEllipsis from './PaginationEllipsis' -import * as PaginationItem from './PaginationItem' +import PaginationFirst = require('./PaginationFirst'); +import PaginationPrev = require('./PaginationPrev'); +import PaginationNext = require('./PaginationNext'); +import PaginationLast = require('./PaginationLast'); +import PaginationEllipsis = require('./PaginationEllipsis'); +import PaginationItem = require('./PaginationItem'); declare namespace Pagination { export interface PaginationProps extends React.HTMLProps { diff --git a/types/react-bootstrap/lib/Panel.d.ts b/types/react-bootstrap/lib/Panel.d.ts index 9957ee1339..1494d69041 100644 --- a/types/react-bootstrap/lib/Panel.d.ts +++ b/types/react-bootstrap/lib/Panel.d.ts @@ -1,11 +1,11 @@ import * as React from 'react'; import { TransitionCallbacks, Sizes, SelectCallback } from 'react-bootstrap'; -import * as PanelHeading from './PanelHeading' -import * as PanelTitle from './PanelTitle' -import * as PanelToggle from './PanelToggle' -import * as PanelCollapse from './PanelCollapse' -import * as PanelBody from './PanelBody' -import * as PanelFooter from './PanelFooter' +import PanelHeading = require('./PanelHeading'); +import PanelTitle = require('./PanelTitle'); +import PanelToggle = require('./PanelToggle'); +import PanelCollapse = require('./PanelCollapse'); +import PanelBody = require('./PanelBody'); +import PanelFooter = require('./PanelFooter'); declare namespace Panel { export interface PanelProps extends TransitionCallbacks, React.HTMLProps { @@ -17,7 +17,7 @@ declare namespace Panel { onToggle?: SelectCallback; } } -declare class Panel extends React.Component { +declare class Panel extends React.Component { static Heading: typeof PanelHeading; static Title: typeof PanelTitle; static Toggle: typeof PanelToggle; diff --git a/types/react-bootstrap/lib/Tab.d.ts b/types/react-bootstrap/lib/Tab.d.ts index 1c98d8c0a3..d3df9dcf8c 100644 --- a/types/react-bootstrap/lib/Tab.d.ts +++ b/types/react-bootstrap/lib/Tab.d.ts @@ -1,8 +1,8 @@ import * as React from 'react'; import { TransitionCallbacks, Omit } from 'react-bootstrap'; -import * as TabContainer from './TabContainer'; -import * as TabPane from './TabPane'; -import * as TabContent from './TabContent'; +import TabContainer = require('./TabContainer'); +import TabPane = require('./TabPane'); +import TabContent = require('./TabContent'); declare namespace Tab { export interface TabProps extends TransitionCallbacks, Omit, "title"> { diff --git a/types/react-bootstrap/test/react-bootstrap-individual-components-tests.tsx b/types/react-bootstrap/test/react-bootstrap-individual-components-tests.tsx index 7e44d8c600..07d6a8a442 100644 --- a/types/react-bootstrap/test/react-bootstrap-individual-components-tests.tsx +++ b/types/react-bootstrap/test/react-bootstrap-individual-components-tests.tsx @@ -1,103 +1,103 @@ import * as React from 'react'; -import * as Accordion from 'react-bootstrap/lib/Accordion'; -import * as Alert from 'react-bootstrap/lib/Alert'; -import * as Badge from 'react-bootstrap/lib/Badge'; -import * as Breadcrumb from 'react-bootstrap/lib/Breadcrumb'; -import * as BreadcrumbItem from 'react-bootstrap/lib/BreadcrumbItem'; -import * as Button from 'react-bootstrap/lib/Button'; -import * as ButtonGroup from 'react-bootstrap/lib/ButtonGroup'; -import * as ButtonToolbar from 'react-bootstrap/lib/ButtonToolbar'; -import * as Carousel from 'react-bootstrap/lib/Carousel'; -import * as CarouselCaption from 'react-bootstrap/lib/CarouselCaption'; -import * as CarouselItem from 'react-bootstrap/lib/CarouselItem'; -import * as Checkbox from 'react-bootstrap/lib/Checkbox'; -import * as Clearfix from 'react-bootstrap/lib/Clearfix'; -import * as Col from 'react-bootstrap/lib/Col'; -import * as Collapse from 'react-bootstrap/lib/Collapse'; -import * as ControlLabel from 'react-bootstrap/lib/ControlLabel'; -import * as Dropdown from 'react-bootstrap/lib/Dropdown'; -import * as DropdownButton from 'react-bootstrap/lib/DropdownButton'; -import * as DropdownMenu from 'react-bootstrap/lib/DropdownMenu'; -import * as DropdownToggle from 'react-bootstrap/lib/DropdownToggle'; -import * as Fade from 'react-bootstrap/lib/Fade'; -import * as Form from 'react-bootstrap/lib/Form'; -import * as FormControl from 'react-bootstrap/lib/FormControl'; -import * as FormControlFeedback from 'react-bootstrap/lib/FormControlFeedback'; -import * as FormControlStatic from 'react-bootstrap/lib/FormControlStatic'; -import * as FormGroup from 'react-bootstrap/lib/FormGroup'; -import * as Glyphicon from 'react-bootstrap/lib/Glyphicon'; -import * as Grid from 'react-bootstrap/lib/Grid'; -import * as HelpBlock from 'react-bootstrap/lib/HelpBlock'; -import * as Image from 'react-bootstrap/lib/Image'; -import * as InputGroup from 'react-bootstrap/lib/InputGroup'; -import * as InputGroupAddon from 'react-bootstrap/lib/InputGroupAddon'; -import * as InputGroupButton from 'react-bootstrap/lib/InputGroupButton'; -import * as Jumbotron from 'react-bootstrap/lib/Jumbotron'; -import * as Label from 'react-bootstrap/lib/Label'; -import * as ListGroup from 'react-bootstrap/lib/ListGroup'; -import * as ListGroupItem from 'react-bootstrap/lib/ListGroupItem'; -import * as Media from 'react-bootstrap/lib/Media'; -import * as MediaBody from 'react-bootstrap/lib/MediaBody'; -import * as MediaHeading from 'react-bootstrap/lib/MediaHeading'; -import * as MediaLeft from 'react-bootstrap/lib/MediaLeft'; -import * as MediaList from 'react-bootstrap/lib/MediaList'; -import * as MediaListItem from 'react-bootstrap/lib/MediaListItem'; -import * as MediaRight from 'react-bootstrap/lib/MediaRight'; -import * as MenuItem from 'react-bootstrap/lib/MenuItem'; -import * as Modal from 'react-bootstrap/lib/Modal'; -import * as ModalBody from 'react-bootstrap/lib/ModalBody'; -import * as ModalDialog from 'react-bootstrap/lib/ModalDialog'; -import * as ModalFooter from 'react-bootstrap/lib/ModalFooter'; -import * as ModalHeader from 'react-bootstrap/lib/ModalHeader'; -import * as ModalTitle from 'react-bootstrap/lib/ModalTitle'; -import * as Nav from 'react-bootstrap/lib/Nav'; -import * as NavDropdown from 'react-bootstrap/lib/NavDropdown'; -import * as NavItem from 'react-bootstrap/lib/NavItem'; -import * as Navbar from 'react-bootstrap/lib/Navbar'; -import * as NavbarBrand from 'react-bootstrap/lib/NavbarBrand'; -import * as NavbarCollapse from 'react-bootstrap/lib/NavbarCollapse'; -import * as NavbarHeader from 'react-bootstrap/lib/NavbarHeader'; -import * as NavbarToggle from 'react-bootstrap/lib/NavbarToggle'; -import * as Overlay from 'react-bootstrap/lib/Overlay'; -import * as OverlayTrigger from 'react-bootstrap/lib/OverlayTrigger'; -import * as PageHeader from 'react-bootstrap/lib/PageHeader'; -import * as PageItem from 'react-bootstrap/lib/PageItem'; -import * as Pager from 'react-bootstrap/lib/Pager'; -import * as PagerItem from 'react-bootstrap/lib/PagerItem'; -import * as Pagination from 'react-bootstrap/lib/Pagination'; -import * as PaginationFirst from 'react-bootstrap/lib/PaginationFirst'; -import * as PaginationPrev from 'react-bootstrap/lib/PaginationPrev'; -import * as PaginationNext from 'react-bootstrap/lib/PaginationNext'; -import * as PaginationLast from 'react-bootstrap/lib/PaginationLast'; -import * as PaginationEllipsis from 'react-bootstrap/lib/PaginationEllipsis'; -import * as PaginationItem from 'react-bootstrap/lib/PaginationItem'; -import * as Panel from 'react-bootstrap/lib/Panel'; -import * as PanelHeading from 'react-bootstrap/lib/PanelHeading'; -import * as PanelTitle from 'react-bootstrap/lib/PanelTitle'; -import * as PanelToggle from 'react-bootstrap/lib/PanelToggle'; -import * as PanelCollapse from 'react-bootstrap/lib/PanelCollapse'; -import * as PanelBody from 'react-bootstrap/lib/PanelBody'; -import * as PanelFooter from 'react-bootstrap/lib/PanelFooter'; -import * as PanelGroup from 'react-bootstrap/lib/PanelGroup'; -import * as Popover from 'react-bootstrap/lib/Popover'; -import * as ProgressBar from 'react-bootstrap/lib/ProgressBar'; -import * as Radio from 'react-bootstrap/lib/Radio'; -import * as ResponsiveEmbed from 'react-bootstrap/lib/ResponsiveEmbed'; -import * as Row from 'react-bootstrap/lib/Row'; -import * as SafeAnchor from 'react-bootstrap/lib/SafeAnchor'; -import * as SplitButton from 'react-bootstrap/lib/SplitButton'; -import * as SplitToggle from 'react-bootstrap/lib/SplitToggle'; -import * as Tab from 'react-bootstrap/lib/Tab'; -import * as TabContainer from 'react-bootstrap/lib/TabContainer'; -import * as TabContent from 'react-bootstrap/lib/TabContent'; -import * as TabPane from 'react-bootstrap/lib/TabPane'; -import * as Table from 'react-bootstrap/lib/Table'; -import * as Tabs from 'react-bootstrap/lib/Tabs'; -import * as Thumbnail from 'react-bootstrap/lib/Thumbnail'; -import * as ToggleButton from 'react-bootstrap/lib/ToggleButton'; -import * as ToggleButtonGroup from 'react-bootstrap/lib/ToggleButtonGroup'; -import * as Tooltip from 'react-bootstrap/lib/Tooltip'; -import * as Well from 'react-bootstrap/lib/Well'; +import Accordion = require('react-bootstrap/lib/Accordion'); +import Alert = require('react-bootstrap/lib/Alert'); +import Badge = require('react-bootstrap/lib/Badge'); +import Breadcrumb = require('react-bootstrap/lib/Breadcrumb'); +import BreadcrumbItem = require('react-bootstrap/lib/BreadcrumbItem'); +import Button = require('react-bootstrap/lib/Button'); +import ButtonGroup = require('react-bootstrap/lib/ButtonGroup'); +import ButtonToolbar = require('react-bootstrap/lib/ButtonToolbar'); +import Carousel = require('react-bootstrap/lib/Carousel'); +import CarouselCaption = require('react-bootstrap/lib/CarouselCaption'); +import CarouselItem = require('react-bootstrap/lib/CarouselItem'); +import Checkbox = require('react-bootstrap/lib/Checkbox'); +import Clearfix = require('react-bootstrap/lib/Clearfix'); +import Col = require('react-bootstrap/lib/Col'); +import Collapse = require('react-bootstrap/lib/Collapse'); +import ControlLabel = require('react-bootstrap/lib/ControlLabel'); +import Dropdown = require('react-bootstrap/lib/Dropdown'); +import DropdownButton = require('react-bootstrap/lib/DropdownButton'); +import DropdownMenu = require('react-bootstrap/lib/DropdownMenu'); +import DropdownToggle = require('react-bootstrap/lib/DropdownToggle'); +import Fade = require('react-bootstrap/lib/Fade'); +import Form = require('react-bootstrap/lib/Form'); +import FormControl = require('react-bootstrap/lib/FormControl'); +import FormControlFeedback = require('react-bootstrap/lib/FormControlFeedback'); +import FormControlStatic = require('react-bootstrap/lib/FormControlStatic'); +import FormGroup = require('react-bootstrap/lib/FormGroup'); +import Glyphicon = require('react-bootstrap/lib/Glyphicon'); +import Grid = require('react-bootstrap/lib/Grid'); +import HelpBlock = require('react-bootstrap/lib/HelpBlock'); +import Image = require('react-bootstrap/lib/Image'); +import InputGroup = require('react-bootstrap/lib/InputGroup'); +import InputGroupAddon = require('react-bootstrap/lib/InputGroupAddon'); +import InputGroupButton = require('react-bootstrap/lib/InputGroupButton'); +import Jumbotron = require('react-bootstrap/lib/Jumbotron'); +import Label = require('react-bootstrap/lib/Label'); +import ListGroup = require('react-bootstrap/lib/ListGroup'); +import ListGroupItem = require('react-bootstrap/lib/ListGroupItem'); +import Media = require('react-bootstrap/lib/Media'); +import MediaBody = require('react-bootstrap/lib/MediaBody'); +import MediaHeading = require('react-bootstrap/lib/MediaHeading'); +import MediaLeft = require('react-bootstrap/lib/MediaLeft'); +import MediaList = require('react-bootstrap/lib/MediaList'); +import MediaListItem = require('react-bootstrap/lib/MediaListItem'); +import MediaRight = require('react-bootstrap/lib/MediaRight'); +import MenuItem = require('react-bootstrap/lib/MenuItem'); +import Modal = require('react-bootstrap/lib/Modal'); +import ModalBody = require('react-bootstrap/lib/ModalBody'); +import ModalDialog = require('react-bootstrap/lib/ModalDialog'); +import ModalFooter = require('react-bootstrap/lib/ModalFooter'); +import ModalHeader = require('react-bootstrap/lib/ModalHeader'); +import ModalTitle = require('react-bootstrap/lib/ModalTitle'); +import Nav = require('react-bootstrap/lib/Nav'); +import NavDropdown = require('react-bootstrap/lib/NavDropdown'); +import NavItem = require('react-bootstrap/lib/NavItem'); +import Navbar = require('react-bootstrap/lib/Navbar'); +import NavbarBrand = require('react-bootstrap/lib/NavbarBrand'); +import NavbarCollapse = require('react-bootstrap/lib/NavbarCollapse'); +import NavbarHeader = require('react-bootstrap/lib/NavbarHeader'); +import NavbarToggle = require('react-bootstrap/lib/NavbarToggle'); +import Overlay = require('react-bootstrap/lib/Overlay'); +import OverlayTrigger = require('react-bootstrap/lib/OverlayTrigger'); +import PageHeader = require('react-bootstrap/lib/PageHeader'); +import PageItem = require('react-bootstrap/lib/PageItem'); +import Pager = require('react-bootstrap/lib/Pager'); +import PagerItem = require('react-bootstrap/lib/PagerItem'); +import Pagination = require('react-bootstrap/lib/Pagination'); +import PaginationFirst = require('react-bootstrap/lib/PaginationFirst'); +import PaginationPrev = require('react-bootstrap/lib/PaginationPrev'); +import PaginationNext = require('react-bootstrap/lib/PaginationNext'); +import PaginationLast = require('react-bootstrap/lib/PaginationLast'); +import PaginationEllipsis = require('react-bootstrap/lib/PaginationEllipsis'); +import PaginationItem = require('react-bootstrap/lib/PaginationItem'); +import Panel = require('react-bootstrap/lib/Panel'); +import PanelHeading = require('react-bootstrap/lib/PanelHeading'); +import PanelTitle = require('react-bootstrap/lib/PanelTitle'); +import PanelToggle = require('react-bootstrap/lib/PanelToggle'); +import PanelCollapse = require('react-bootstrap/lib/PanelCollapse'); +import PanelBody = require('react-bootstrap/lib/PanelBody'); +import PanelFooter = require('react-bootstrap/lib/PanelFooter'); +import PanelGroup = require('react-bootstrap/lib/PanelGroup'); +import Popover = require('react-bootstrap/lib/Popover'); +import ProgressBar = require('react-bootstrap/lib/ProgressBar'); +import Radio = require('react-bootstrap/lib/Radio'); +import ResponsiveEmbed = require('react-bootstrap/lib/ResponsiveEmbed'); +import Row = require('react-bootstrap/lib/Row'); +import SafeAnchor = require('react-bootstrap/lib/SafeAnchor'); +import SplitButton = require('react-bootstrap/lib/SplitButton'); +import SplitToggle = require('react-bootstrap/lib/SplitToggle'); +import Tab = require('react-bootstrap/lib/Tab'); +import TabContainer = require('react-bootstrap/lib/TabContainer'); +import TabContent = require('react-bootstrap/lib/TabContent'); +import TabPane = require('react-bootstrap/lib/TabPane'); +import Table = require('react-bootstrap/lib/Table'); +import Tabs = require('react-bootstrap/lib/Tabs'); +import Thumbnail = require('react-bootstrap/lib/Thumbnail'); +import ToggleButton = require('react-bootstrap/lib/ToggleButton'); +import ToggleButtonGroup = require('react-bootstrap/lib/ToggleButtonGroup'); +import Tooltip = require('react-bootstrap/lib/Tooltip'); +import Well = require('react-bootstrap/lib/Well'); const noop = () => {}; diff --git a/types/react-breadcrumbs/react-breadcrumbs-tests.tsx b/types/react-breadcrumbs/react-breadcrumbs-tests.tsx index b8a51bf36e..980b27fe41 100644 --- a/types/react-breadcrumbs/react-breadcrumbs-tests.tsx +++ b/types/react-breadcrumbs/react-breadcrumbs-tests.tsx @@ -1,12 +1,10 @@ import * as React from 'react'; import * as ReactRouter from "react-router"; -import * as Breadcrumbs from 'react-breadcrumbs'; - +import Breadcrumbs = require('react-breadcrumbs'); interface MyComponentProps extends ReactRouter.RouteComponentProps<{}, { id: number }> { } - class MyComponent extends React.Component { render() { return ( diff --git a/types/react-click-outside/react-click-outside-tests.tsx b/types/react-click-outside/react-click-outside-tests.tsx index 6f215e39a8..6aa375b153 100644 --- a/types/react-click-outside/react-click-outside-tests.tsx +++ b/types/react-click-outside/react-click-outside-tests.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { render } from 'react-dom'; -import * as enhanceWithClickOutside from 'react-click-outside'; +import enhanceWithClickOutside = require('react-click-outside'); interface Props { text: string; diff --git a/types/react-codemirror/react-codemirror-tests.tsx b/types/react-codemirror/react-codemirror-tests.tsx index f794e49d94..8673925d1c 100644 --- a/types/react-codemirror/react-codemirror-tests.tsx +++ b/types/react-codemirror/react-codemirror-tests.tsx @@ -1,7 +1,7 @@ -import * as CodeMirror from "codemirror"; +import CodeMirror = require("codemirror"); import * as React from "react"; import * as ReactDOM from "react-dom"; -import * as Codemirror from "react-codemirror"; +import Codemirror = require("react-codemirror"); class CodemirrorTest extends React.Component> { private editorRef: ReactCodeMirror.ReactCodeMirror; diff --git a/types/react-copy-to-clipboard/react-copy-to-clipboard-tests.tsx b/types/react-copy-to-clipboard/react-copy-to-clipboard-tests.tsx index a3459a66a5..c411139501 100644 --- a/types/react-copy-to-clipboard/react-copy-to-clipboard-tests.tsx +++ b/types/react-copy-to-clipboard/react-copy-to-clipboard-tests.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import * as CopyToClipboard from "react-copy-to-clipboard"; +import CopyToClipboard = require("react-copy-to-clipboard"); export class Test extends React.Component { render() { diff --git a/types/react-css-modules/react-css-modules-tests.tsx b/types/react-css-modules/react-css-modules-tests.tsx index da191799c7..967036a8d0 100644 --- a/types/react-css-modules/react-css-modules-tests.tsx +++ b/types/react-css-modules/react-css-modules-tests.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import * as CSSModules from 'react-css-modules'; +import CSSModules= require('react-css-modules'); const styles = {}; diff --git a/types/react-css-transition-replace/react-css-transition-replace-tests.tsx b/types/react-css-transition-replace/react-css-transition-replace-tests.tsx index 2da448d448..acbd376a1b 100644 --- a/types/react-css-transition-replace/react-css-transition-replace-tests.tsx +++ b/types/react-css-transition-replace/react-css-transition-replace-tests.tsx @@ -1,6 +1,6 @@ import * as React from "react" import { render } from 'react-dom'; -import * as CSSTransitionReplace from "react-css-transition-replace" +import CSSTransitionReplace = require("react-css-transition-replace"); render( diff --git a/types/react-data-grid/react-data-grid-tests.tsx b/types/react-data-grid/react-data-grid-tests.tsx index 1b42af7ae6..827e20c820 100644 --- a/types/react-data-grid/react-data-grid-tests.tsx +++ b/types/react-data-grid/react-data-grid-tests.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import * as ReactDataGrid from 'react-data-grid'; +import ReactDataGrid = require('react-data-grid'); import * as ReactDataGridPlugins from 'react-data-grid-addons'; import faker = require('faker'); diff --git a/types/react-data-grid/v1/react-data-grid-tests.tsx b/types/react-data-grid/v1/react-data-grid-tests.tsx index bff860ee02..371831b43a 100644 --- a/types/react-data-grid/v1/react-data-grid-tests.tsx +++ b/types/react-data-grid/v1/react-data-grid-tests.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import * as ReactDataGrid from 'react-data-grid'; +import ReactDataGrid = require('react-data-grid'); import * as ReactDataGridPlugins from 'react-data-grid/addons'; import faker = require('faker'); diff --git a/types/react-datepicker/react-datepicker-tests.tsx b/types/react-datepicker/react-datepicker-tests.tsx index 4d5edad58e..92cf23e38b 100644 --- a/types/react-datepicker/react-datepicker-tests.tsx +++ b/types/react-datepicker/react-datepicker-tests.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import * as moment from 'moment'; +import moment = require('moment'); import DatePicker from 'react-datepicker'; class ReactDatePicker extends React.Component<{}, { startDate: moment.Moment; displayName: string; }> { diff --git a/types/react-dates/react-dates-tests.tsx b/types/react-dates/react-dates-tests.tsx index f9d3118a4f..8687303959 100644 --- a/types/react-dates/react-dates-tests.tsx +++ b/types/react-dates/react-dates-tests.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import * as moment from "moment"; +import moment = require("moment"); import { SingleDatePicker, @@ -13,9 +13,6 @@ import { toLocalizedDateString, toMomentObject } from "react-dates"; - - - class SingleDatePickerMinimumTest extends React.Component { render() { return , results: FileReaderInput.Result[]) => { diff --git a/types/react-gravatar/react-gravatar-tests.tsx b/types/react-gravatar/react-gravatar-tests.tsx index 1482af274d..f89881e930 100644 --- a/types/react-gravatar/react-gravatar-tests.tsx +++ b/types/react-gravatar/react-gravatar-tests.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import * as Gravatar from "react-gravatar"; +import Gravatar = require("react-gravatar"); class GravatarEmailTest extends React.Component { render() { diff --git a/types/react-grid-layout/react-grid-layout-tests.tsx b/types/react-grid-layout/react-grid-layout-tests.tsx index 6c47e42d95..78ecf594ef 100644 --- a/types/react-grid-layout/react-grid-layout-tests.tsx +++ b/types/react-grid-layout/react-grid-layout-tests.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import * as ReactGridLayout from 'react-grid-layout'; +import ReactGridLayout = require('react-grid-layout'); import { Responsive, WidthProvider } from 'react-grid-layout'; const ResponsiveWidth = WidthProvider(Responsive); diff --git a/types/react-helmet/v4/react-helmet-tests.tsx b/types/react-helmet/v4/react-helmet-tests.tsx index e6b78955b3..695751d381 100644 --- a/types/react-helmet/v4/react-helmet-tests.tsx +++ b/types/react-helmet/v4/react-helmet-tests.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import * as Helmet from 'react-helmet'; +import Helmet = require('react-helmet'); diff --git a/types/react-hyperscript/react-hyperscript-tests.ts b/types/react-hyperscript/react-hyperscript-tests.ts index 4be72a9b6a..12303dfd2e 100644 --- a/types/react-hyperscript/react-hyperscript-tests.ts +++ b/types/react-hyperscript/react-hyperscript-tests.ts @@ -1,5 +1,5 @@ import * as React from 'react'; -import * as h from 'react-hyperscript'; +import h = require('react-hyperscript'); interface PropTypes { foo: string; diff --git a/types/react-infinite/react-infinite-tests.tsx b/types/react-infinite/react-infinite-tests.tsx index 295be25528..478f436e66 100644 --- a/types/react-infinite/react-infinite-tests.tsx +++ b/types/react-infinite/react-infinite-tests.tsx @@ -1,6 +1,5 @@ import * as React from 'react'; import Infinite = require('react-infinite'); -import * as ReactInfinite from 'react-infinite'; class Test1 extends React.Component { render() { @@ -52,15 +51,15 @@ class Test4 extends React.Component { } } -class Test5 extends React.Component { +class Test5 extends React.Component { render() { return ( -
- + ); } } diff --git a/types/react-input-calendar/react-input-calendar-tests.tsx b/types/react-input-calendar/react-input-calendar-tests.tsx index 4cd465d9c5..9589c51046 100644 --- a/types/react-input-calendar/react-input-calendar-tests.tsx +++ b/types/react-input-calendar/react-input-calendar-tests.tsx @@ -1,4 +1,4 @@ -import * as ReactInputCalendar from 'react-input-calendar'; +import ReactInputCalendar = require('react-input-calendar'); import * as React from 'react'; import * as ReactDOM from 'react-dom'; ReactDOM.render(, document.body); diff --git a/types/react-json-pretty/react-json-pretty-tests.tsx b/types/react-json-pretty/react-json-pretty-tests.tsx index 95818442df..4821e195e9 100644 --- a/types/react-json-pretty/react-json-pretty-tests.tsx +++ b/types/react-json-pretty/react-json-pretty-tests.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import * as JSONPretty from "react-json-pretty"; +import JSONPretty = require("react-json-pretty"); export class Test extends React.Component { render() { diff --git a/types/react-list/react-list-tests.tsx b/types/react-list/react-list-tests.tsx index f02b1643a5..83aba8f698 100644 --- a/types/react-list/react-list-tests.tsx +++ b/types/react-list/react-list-tests.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import * as ReactList from "react-list"; +import ReactList = require("react-list"); const renderItem = (index: number, key: number) =>
diff --git a/types/react-loadable/test/index.tsx b/types/react-loadable/test/index.tsx index 7d25d849a7..5045fdf125 100644 --- a/types/react-loadable/test/index.tsx +++ b/types/react-loadable/test/index.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import * as Loadable from 'react-loadable'; +import Loadable = require('react-loadable'); class LoadingComponent extends React.Component { render() { diff --git a/types/react-loader/react-loader-tests.tsx b/types/react-loader/react-loader-tests.tsx index bc303f149a..92efaf9401 100644 --- a/types/react-loader/react-loader-tests.tsx +++ b/types/react-loader/react-loader-tests.tsx @@ -1,4 +1,4 @@ -import * as Loader from 'react-loader'; +import Loader = require('react-loader'); import * as React from 'react'; const options = { diff --git a/types/react-notification-system-redux/react-notification-system-redux-tests.tsx b/types/react-notification-system-redux/react-notification-system-redux-tests.tsx index 631147976a..65f53a0b40 100644 --- a/types/react-notification-system-redux/react-notification-system-redux-tests.tsx +++ b/types/react-notification-system-redux/react-notification-system-redux-tests.tsx @@ -1,7 +1,7 @@ import * as React from "react"; import { createStore, Store } from "redux"; import { Notification } from "react-notification-system"; -import * as Notifications from "react-notification-system-redux"; +import Notifications = require("react-notification-system-redux"); import { reducer, removeAll, show, hide, info, error, warning, success, NotificationLevel } from "react-notification-system-redux"; class Test extends React.Component { diff --git a/types/react-notification-system/react-notification-system-tests.tsx b/types/react-notification-system/react-notification-system-tests.tsx index eb05663523..f46fd33aa2 100644 --- a/types/react-notification-system/react-notification-system-tests.tsx +++ b/types/react-notification-system/react-notification-system-tests.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import * as NotificationSystem from 'react-notification-system'; +import NotificationSystem = require('react-notification-system'); class MyComponent extends React.Component { private notificationSystem: NotificationSystem.System = null; diff --git a/types/react-numeric-input/react-numeric-input-tests.tsx b/types/react-numeric-input/react-numeric-input-tests.tsx index b3921c5e21..811b77a4c7 100644 --- a/types/react-numeric-input/react-numeric-input-tests.tsx +++ b/types/react-numeric-input/react-numeric-input-tests.tsx @@ -1,5 +1,5 @@ import { Component } from 'react'; -import * as NumericInput from 'react-numeric-input'; +import NumericInput = require('react-numeric-input'); export class NumericInputTest extends Component { render() { diff --git a/types/react-overlays/lib/index.d.ts b/types/react-overlays/lib/index.d.ts index 6ea153cd5a..ea95108f8f 100644 --- a/types/react-overlays/lib/index.d.ts +++ b/types/react-overlays/lib/index.d.ts @@ -1,11 +1,11 @@ -import * as Affix from './Affix'; -import * as AutoAffix from './AutoAffix'; -import * as Modal from './Modal'; -import * as ModalManager from './ModalManager'; -import * as Overlay from './Overlay'; -import * as Portal from './Portal'; -import * as Position from './Position'; -import * as RootCloseWrapper from './RootCloseWrapper'; +import Affix = require('./Affix'); +import AutoAffix = require('./AutoAffix'); +import Modal = require('./Modal'); +import ModalManager = require('./ModalManager'); +import Overlay = require('./Overlay'); +import Portal = require('./Portal'); +import Position = require('./Position'); +import RootCloseWrapper = require('./RootCloseWrapper'); export { Affix, diff --git a/types/react-overlays/test/react-overlays-tests-individual.tsx b/types/react-overlays/test/react-overlays-tests-individual.tsx index 95aa3618b3..b066a40ec3 100644 --- a/types/react-overlays/test/react-overlays-tests-individual.tsx +++ b/types/react-overlays/test/react-overlays-tests-individual.tsx @@ -3,10 +3,10 @@ import * as React from "react"; import * as Portal from 'react-overlays/lib/Portal'; import * as Modal from 'react-overlays/lib/Modal'; import * as Position from 'react-overlays/lib/Position'; -import * as Overlay from 'react-overlays/lib/Overlay'; +import Overlay = require('react-overlays/lib/Overlay'); import * as Affix from 'react-overlays/lib/Affix'; -import * as AutoAffix from 'react-overlays/lib/AutoAffix'; -import * as RootCloseWrapper from 'react-overlays/lib/RootCloseWrapper'; +import AutoAffix = require('react-overlays/lib/AutoAffix'); +import RootCloseWrapper = require('react-overlays/lib/RootCloseWrapper'); import { OverlayFade } from './react-overlays-tests-transition'; diff --git a/types/react-portal/react-portal-tests.tsx b/types/react-portal/react-portal-tests.tsx index ca6c0289de..5313b101bd 100644 --- a/types/react-portal/react-portal-tests.tsx +++ b/types/react-portal/react-portal-tests.tsx @@ -1,7 +1,7 @@ // Example from https://github.com/tajo/react-portal import * as React from "react"; import * as ReactDOM from "react-dom"; -import * as Portal from "react-portal"; +import Portal = require("react-portal"); export default class App extends React.Component { render() { diff --git a/types/react-recaptcha/react-recaptcha-tests.tsx b/types/react-recaptcha/react-recaptcha-tests.tsx index f049fe6698..2b225925d7 100644 --- a/types/react-recaptcha/react-recaptcha-tests.tsx +++ b/types/react-recaptcha/react-recaptcha-tests.tsx @@ -1,4 +1,4 @@ -import * as Recaptcha from "react-recaptcha"; +import Recaptcha = require("react-recaptcha"); import * as ReactDOM from "react-dom"; import * as React from "react"; diff --git a/types/react-resolver/react-resolver-tests.tsx b/types/react-resolver/react-resolver-tests.tsx index ce41e6db4c..088f5e7573 100644 --- a/types/react-resolver/react-resolver-tests.tsx +++ b/types/react-resolver/react-resolver-tests.tsx @@ -1,6 +1,5 @@ import * as React from 'react'; import { Resolver, resolve, context } from 'react-resolver'; -import * as expect from 'expect'; interface OwnProps { thing: number; @@ -32,13 +31,13 @@ const ResolvedPageWithPropMap = resolve({ const PageWithContext = context('history')(Page); -expect().toExist(); -expect().toExist(); +; +; // Resolver.render(() => , document.getElementById('app')); Resolver.resolve(() => { return ; }).then(({ data, Resolved }) => { - expect(data).toBe('World'); + data === 'World'; }); diff --git a/types/react-responsive/v1/react-responsive-tests.tsx b/types/react-responsive/v1/react-responsive-tests.tsx index e3644771c4..adbedbae09 100644 --- a/types/react-responsive/v1/react-responsive-tests.tsx +++ b/types/react-responsive/v1/react-responsive-tests.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import * as MediaQuery from "react-responsive"; +import MediaQuery = require("react-responsive"); class Test extends React.Component { render() { diff --git a/types/react-router/test/examples-from-react-router-website/Animation.tsx b/types/react-router/test/examples-from-react-router-website/Animation.tsx index d303f29a97..c59d4f91c9 100644 --- a/types/react-router/test/examples-from-react-router-website/Animation.tsx +++ b/types/react-router/test/examples-from-react-router-website/Animation.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import * as ReactCSSTransitionGroup from 'react-addons-css-transition-group'; +import ReactCSSTransitionGroup = require('react-addons-css-transition-group'); import { BrowserRouter as Router, RouteComponentProps, diff --git a/types/react-side-effect/react-side-effect-tests.ts b/types/react-side-effect/react-side-effect-tests.ts index 60566eafa7..d568fed4cc 100644 --- a/types/react-side-effect/react-side-effect-tests.ts +++ b/types/react-side-effect/react-side-effect-tests.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import * as withSideEffect from "react-side-effect"; +import withSideEffect = require("react-side-effect"); interface DocumentTitleProps { title: string diff --git a/types/react-smooth-scrollbar/react-smooth-scrollbar-tests.tsx b/types/react-smooth-scrollbar/react-smooth-scrollbar-tests.tsx index b976624a4e..22fd0ae83c 100644 --- a/types/react-smooth-scrollbar/react-smooth-scrollbar-tests.tsx +++ b/types/react-smooth-scrollbar/react-smooth-scrollbar-tests.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import * as SmoothScrollbar from 'react-smooth-scrollbar'; +import SmoothScrollbar = require('react-smooth-scrollbar'); { } } />; // ; TODO: These options don't seem to be documented diff --git a/types/react-spinkit/react-spinkit-tests.tsx b/types/react-spinkit/react-spinkit-tests.tsx index 27717503d6..ac952bc700 100644 --- a/types/react-spinkit/react-spinkit-tests.tsx +++ b/types/react-spinkit/react-spinkit-tests.tsx @@ -1,4 +1,4 @@ -import * as Spinner from 'react-spinkit'; +import Spinner = require('react-spinkit'); import * as React from 'react'; // Examples taken from http://kyleamathews.github.io/react-spinkit/ diff --git a/types/react-spinkit/v1/react-spinkit-tests.tsx b/types/react-spinkit/v1/react-spinkit-tests.tsx index 6742096ebe..463a689364 100644 --- a/types/react-spinkit/v1/react-spinkit-tests.tsx +++ b/types/react-spinkit/v1/react-spinkit-tests.tsx @@ -1,4 +1,4 @@ -import * as Spinner from 'react-spinkit'; +import Spinner = require('react-spinkit'); import * as React from 'react'; // Examples taken from http://kyleamathews.github.io/react-spinkit/ diff --git a/types/react-swipe/react-swipe-tests.tsx b/types/react-swipe/react-swipe-tests.tsx index 2a2f0ffc90..2948141ee6 100644 --- a/types/react-swipe/react-swipe-tests.tsx +++ b/types/react-swipe/react-swipe-tests.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import * as ReactSwipe from "react-swipe"; +import ReactSwipe = require("react-swipe"); class ReactSwipeTest extends React.PureComponent { private swipeComponent: ReactSwipe | null = null; diff --git a/types/react-swipeable/react-swipeable-tests.tsx b/types/react-swipeable/react-swipeable-tests.tsx index b31011d63d..b068683c33 100644 --- a/types/react-swipeable/react-swipeable-tests.tsx +++ b/types/react-swipeable/react-swipeable-tests.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import * as Swipeable from 'react-swipeable'; +import Swipeable = require('react-swipeable'); class SampleComponent extends React.PureComponent { private readonly handleSwiped: Swipeable.OnSwipedCallback = () => {}; diff --git a/types/react-tagsinput/react-tagsinput-tests.tsx b/types/react-tagsinput/react-tagsinput-tests.tsx index 8a3a113227..cdcd882817 100644 --- a/types/react-tagsinput/react-tagsinput-tests.tsx +++ b/types/react-tagsinput/react-tagsinput-tests.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import * as TagsInput from 'react-tagsinput'; +import TagsInput = require('react-tagsinput'); interface StateI { tags: string[]; diff --git a/types/react-tooltip/react-tooltip-tests.tsx b/types/react-tooltip/react-tooltip-tests.tsx index 5da85d8c59..3fee5dba3e 100644 --- a/types/react-tooltip/react-tooltip-tests.tsx +++ b/types/react-tooltip/react-tooltip-tests.tsx @@ -1,6 +1,6 @@ import * as React from "react"; import { findDOMNode } from "react-dom"; -import * as ReactTooltip from "react-tooltip"; +import ReactTooltip = require("react-tooltip"); export class ReactTooltipTest extends React.PureComponent { componentDidMount() { diff --git a/types/react-transition-group/v1/react-transition-group-tests.tsx b/types/react-transition-group/v1/react-transition-group-tests.tsx index 346fe9989a..2e16635a4b 100644 --- a/types/react-transition-group/v1/react-transition-group-tests.tsx +++ b/types/react-transition-group/v1/react-transition-group-tests.tsx @@ -1,6 +1,6 @@ import * as React from "react"; -import * as TransitionGroup from "react-transition-group/TransitionGroup"; -import * as CSSTransitionGroup from "react-transition-group/CSSTransitionGroup"; +import TransitionGroup = require("react-transition-group/TransitionGroup"); +import CSSTransitionGroup = require("react-transition-group/CSSTransitionGroup"); import { CSSTransitionGroupProps, TransitionGroupProps, TransitionGroupChildLifecycle } from "react-transition-group"; class TestChild extends React.Component implements TransitionGroupChildLifecycle { diff --git a/types/react/test/index.ts b/types/react/test/index.ts index 3e2be1605f..757a1da669 100644 --- a/types/react/test/index.ts +++ b/types/react/test/index.ts @@ -2,15 +2,15 @@ import * as React from "react"; import * as ReactDOM from "react-dom"; import * as ReactDOMServer from "react-dom/server"; import createFragment = require("react-addons-create-fragment"); -import * as CSSTransitionGroup from "react-addons-css-transition-group"; +import CSSTransitionGroup = require("react-addons-css-transition-group"); import * as LinkedStateMixin from "react-addons-linked-state-mixin"; import * as Perf from "react-addons-perf"; import * as PureRenderMixin from "react-addons-pure-render-mixin"; -import * as shallowCompare from "react-addons-shallow-compare"; +import shallowCompare = require("react-addons-shallow-compare"); import * as TestUtils from "react-addons-test-utils"; -import * as TransitionGroup from "react-addons-transition-group"; +import TransitionGroup = require("react-addons-transition-group"); import update = require("react-addons-update"); -import * as createReactClass from "create-react-class"; +import createReactClass = require("create-react-class"); import * as PropTypes from "prop-types"; import * as DOM from "react-dom-factories"; diff --git a/types/react/v15/test/index.ts b/types/react/v15/test/index.ts index b0c358b011..8cd6765f4c 100644 --- a/types/react/v15/test/index.ts +++ b/types/react/v15/test/index.ts @@ -2,13 +2,13 @@ import * as React from "react"; import * as ReactDOM from "react-dom"; import * as ReactDOMServer from "react-dom/server"; import createFragment = require("react-addons-create-fragment"); -import * as CSSTransitionGroup from "react-addons-css-transition-group"; +import CSSTransitionGroup = require("react-addons-css-transition-group"); import * as LinkedStateMixin from "react-addons-linked-state-mixin"; import * as Perf from "react-addons-perf"; import * as PureRenderMixin from "react-addons-pure-render-mixin"; -import * as shallowCompare from "react-addons-shallow-compare"; +import shallowCompare = require("react-addons-shallow-compare"); import * as TestUtils from "react-addons-test-utils"; -import * as TransitionGroup from "react-addons-transition-group"; +import TransitionGroup = require("react-addons-transition-group"); import update = require("react-addons-update"); interface Props extends React.Attributes { diff --git a/types/redis-scripto/redis-scripto-tests.ts b/types/redis-scripto/redis-scripto-tests.ts index 39e51ddd63..ba59ee1935 100644 --- a/types/redis-scripto/redis-scripto-tests.ts +++ b/types/redis-scripto/redis-scripto-tests.ts @@ -1,5 +1,5 @@ import * as redis from 'redis'; -import * as Scripto from 'redis-scripto'; +import Scripto = require('redis-scripto'); var num: number; var str: string; diff --git a/types/redlock/v2/redlock-tests.ts b/types/redlock/v2/redlock-tests.ts index 3067ebda5e..c37f3f2980 100644 --- a/types/redlock/v2/redlock-tests.ts +++ b/types/redlock/v2/redlock-tests.ts @@ -1,4 +1,4 @@ -import * as Redlock from 'redlock'; +import Redlock = require('redlock'); import { Lock } from 'redlock'; import { RedisClient } from 'redis'; import { using } from 'bluebird'; diff --git a/types/request-promise-native/request-promise-native-tests.ts b/types/request-promise-native/request-promise-native-tests.ts index 9a0cfa40fa..e65f802e05 100644 --- a/types/request-promise-native/request-promise-native-tests.ts +++ b/types/request-promise-native/request-promise-native-tests.ts @@ -1,4 +1,4 @@ -import * as rpn from 'request-promise-native'; +import rpn = require('request-promise-native'); import * as errors from 'request-promise-native/errors'; import * as path from 'path'; diff --git a/types/require-directory/require-directory-tests.ts b/types/require-directory/require-directory-tests.ts index 2852addd91..c8b8043210 100644 --- a/types/require-directory/require-directory-tests.ts +++ b/types/require-directory/require-directory-tests.ts @@ -1,4 +1,4 @@ -import * as requireDirectory from "require-directory"; +import requireDirectory = require("require-directory"); import { defaults } from "require-directory"; import { CheckPathFn, RequireDirectoryOptions, RequireDirectoryResult } from "require-directory"; diff --git a/types/resolve/resolve-tests.ts b/types/resolve/resolve-tests.ts index 28dae63c82..1ebaa5bfb4 100644 --- a/types/resolve/resolve-tests.ts +++ b/types/resolve/resolve-tests.ts @@ -1,5 +1,5 @@ import * as fs from 'fs'; -import * as resolve from 'resolve'; +import resolve = require('resolve'); function test_basic_async() { resolve('typescript', function(error, resolved, pkg) { diff --git a/types/rsync/rsync-tests.ts b/types/rsync/rsync-tests.ts index cfc9956dc2..41ec4dd9b1 100644 --- a/types/rsync/rsync-tests.ts +++ b/types/rsync/rsync-tests.ts @@ -1,4 +1,4 @@ -import * as Rsync from 'rsync'; +import Rsync = require('rsync'); // -------------------------- // simple usage diff --git a/types/s3-upload-stream/s3-upload-stream-tests.ts b/types/s3-upload-stream/s3-upload-stream-tests.ts index 54f51231b7..bc814dc9e9 100644 --- a/types/s3-upload-stream/s3-upload-stream-tests.ts +++ b/types/s3-upload-stream/s3-upload-stream-tests.ts @@ -1,5 +1,5 @@ import * as fs from 'fs'; -import * as S3Stream from 's3-upload-stream'; +import S3Stream = require('s3-upload-stream'); import * as AWS from 'aws-sdk'; const s3Stream = S3Stream(new AWS.S3()); diff --git a/types/sequelize/index.d.ts b/types/sequelize/index.d.ts index d88754480f..7704b73049 100644 --- a/types/sequelize/index.d.ts +++ b/types/sequelize/index.d.ts @@ -19,7 +19,7 @@ import * as _ from "lodash"; -import * as Promise from "bluebird"; +import Promise = require("bluebird"); import * as cls from "continuation-local-storage" declare namespace sequelize { @@ -3363,7 +3363,7 @@ declare namespace sequelize { * Apply column on which COUNT() should be applied */ col?: string; - + /** * Apply COUNT(DISTINCT(col)) */ diff --git a/types/serialport/serialport-tests.ts b/types/serialport/serialport-tests.ts index 70dff8bdbd..9ff1daa26e 100644 --- a/types/serialport/serialport-tests.ts +++ b/types/serialport/serialport-tests.ts @@ -1,6 +1,6 @@ // Tests taken from documentation samples. -import * as SerialPort from 'serialport'; +import SerialPort = require('serialport'); function test_basic_connect() { const port = new SerialPort(''); diff --git a/types/serialport/v4/serialport-tests.ts b/types/serialport/v4/serialport-tests.ts index c0bd59b274..7965811a68 100644 --- a/types/serialport/v4/serialport-tests.ts +++ b/types/serialport/v4/serialport-tests.ts @@ -1,6 +1,6 @@ // Tests taken from documentation samples. -import * as SerialPort from 'serialport'; +import SerialPort = require('serialport'); function test_basic_connect() { const port = new SerialPort(''); diff --git a/types/sharp/sharp-tests.ts b/types/sharp/sharp-tests.ts index d7f0282c24..f1010c533c 100644 --- a/types/sharp/sharp-tests.ts +++ b/types/sharp/sharp-tests.ts @@ -1,4 +1,4 @@ -import * as sharp from "sharp"; +import sharp = require("sharp"); import { createReadStream, createWriteStream } from "fs"; // Test samples taken from the official documentation diff --git a/types/simple-peer/simple-peer-tests.ts b/types/simple-peer/simple-peer-tests.ts index 97fa2e9e8e..666816e388 100644 --- a/types/simple-peer/simple-peer-tests.ts +++ b/types/simple-peer/simple-peer-tests.ts @@ -1,4 +1,4 @@ -import * as SimplePeer from 'simple-peer'; +import SimplePeer = require('simple-peer'); const peer = new SimplePeer(); peer.write(new Buffer('hey')); diff --git a/types/slack-node/slack-node-tests.ts b/types/slack-node/slack-node-tests.ts index b14029af19..d2dfc0541d 100644 --- a/types/slack-node/slack-node-tests.ts +++ b/types/slack-node/slack-node-tests.ts @@ -1,4 +1,4 @@ -import * as Slack from "slack-node"; +import Slack = require("slack-node"); let webhookUri = "__uri___"; diff --git a/types/slate-irc/slate-irc-tests.ts b/types/slate-irc/slate-irc-tests.ts index 3b1dd6bd3f..ce344ffa75 100644 --- a/types/slate-irc/slate-irc-tests.ts +++ b/types/slate-irc/slate-irc-tests.ts @@ -1,6 +1,5 @@ - import * as net from "net"; -import * as SlateIRC from "slate-irc"; +import SlateIRC = require("slate-irc"); let socket: net.Socket; const client = SlateIRC(socket); diff --git a/types/snekfetch/snekfetch-tests.ts b/types/snekfetch/snekfetch-tests.ts index 69e9743f83..211ef5bd80 100644 --- a/types/snekfetch/snekfetch-tests.ts +++ b/types/snekfetch/snekfetch-tests.ts @@ -1,6 +1,6 @@ import * as fs from 'fs'; import * as util from 'util'; -import * as snekfetch from 'snekfetch'; +import snekfetch = require('snekfetch'); const writeFile = util.promisify(fs.writeFile); diff --git a/types/snoowrap/snoowrap-tests.ts b/types/snoowrap/snoowrap-tests.ts index dfea881a8b..afa9a46fa2 100644 --- a/types/snoowrap/snoowrap-tests.ts +++ b/types/snoowrap/snoowrap-tests.ts @@ -1,4 +1,4 @@ -import * as Snoowrap from 'snoowrap'; +import Snoowrap = require('snoowrap'); import { Comment, Listing, diff --git a/types/sparkpost/sparkpost-tests.ts b/types/sparkpost/sparkpost-tests.ts index d15208bcb5..26a2ebda3a 100644 --- a/types/sparkpost/sparkpost-tests.ts +++ b/types/sparkpost/sparkpost-tests.ts @@ -1,4 +1,4 @@ -import * as SparkPost from "sparkpost"; +import SparkPost = require("sparkpost"); const key = "YOURAPIKEY"; const client = new SparkPost(key); diff --git a/types/sparkpost/v1/sparkpost-tests.ts b/types/sparkpost/v1/sparkpost-tests.ts index 0b8a41ab0a..6a2ac71acc 100644 --- a/types/sparkpost/v1/sparkpost-tests.ts +++ b/types/sparkpost/v1/sparkpost-tests.ts @@ -1,4 +1,4 @@ -import * as SparkPost from "sparkpost"; +import SparkPost = require("sparkpost"); let key = "YOURAPIKEY"; let client = new SparkPost(key); diff --git a/types/split2/split2-tests.ts b/types/split2/split2-tests.ts index 35d0b58684..0d4052742b 100644 --- a/types/split2/split2-tests.ts +++ b/types/split2/split2-tests.ts @@ -1,4 +1,4 @@ -import * as split from 'split2'; +import split = require('split2'); import * as fs from 'fs'; import { Transform, TransformOptions } from 'stream'; diff --git a/types/ssh2-sftp-client/ssh2-sftp-client-tests.ts b/types/ssh2-sftp-client/ssh2-sftp-client-tests.ts index ec64afe698..a8c774c5d3 100644 --- a/types/ssh2-sftp-client/ssh2-sftp-client-tests.ts +++ b/types/ssh2-sftp-client/ssh2-sftp-client-tests.ts @@ -1,4 +1,4 @@ -import * as Client from 'ssh2-sftp-client'; +import Client = require('ssh2-sftp-client'); import * as fs from 'fs'; const client = new Client(); diff --git a/types/stream-meter/stream-meter-tests.ts b/types/stream-meter/stream-meter-tests.ts index 396f8aa6b1..d7adf74ce8 100644 --- a/types/stream-meter/stream-meter-tests.ts +++ b/types/stream-meter/stream-meter-tests.ts @@ -1,5 +1,4 @@ - -import * as meter from 'stream-meter'; +import meter = require('stream-meter'); var m:meter.StreamMeter = meter(); process.stdin.pipe(m).pipe(process.stdout); diff --git a/types/stylelint-webpack-plugin/stylelint-webpack-plugin-tests.ts b/types/stylelint-webpack-plugin/stylelint-webpack-plugin-tests.ts index 924a41ee6d..ee9002ec40 100644 --- a/types/stylelint-webpack-plugin/stylelint-webpack-plugin-tests.ts +++ b/types/stylelint-webpack-plugin/stylelint-webpack-plugin-tests.ts @@ -1,5 +1,5 @@ -import * as webpack from "webpack"; -import * as StylelintWebpackPlugin from "stylelint-webpack-plugin"; +import webpack = require("webpack"); +import StylelintWebpackPlugin = require("stylelint-webpack-plugin"); const compiler = webpack({ plugins: [ diff --git a/types/sumo-logger/sumo-logger-tests.ts b/types/sumo-logger/sumo-logger-tests.ts index 03efdfc95d..2a0066a4e4 100644 --- a/types/sumo-logger/sumo-logger-tests.ts +++ b/types/sumo-logger/sumo-logger-tests.ts @@ -1,5 +1,5 @@ -import * as SumoLogger from 'sumo-logger'; -import * as expect from 'expect'; +import SumoLogger = require('sumo-logger'); +import expect = require('expect'); const onErrorSpy = expect.createSpy(); const onSuccessSpy = expect.createSpy(); diff --git a/types/swagger-tools/swagger-tools-tests.ts b/types/swagger-tools/swagger-tools-tests.ts index 7b05595269..58e978a0e4 100644 --- a/types/swagger-tools/swagger-tools-tests.ts +++ b/types/swagger-tools/swagger-tools-tests.ts @@ -1,6 +1,6 @@ // 2.0 examples from https://github.com/apigee-127/swagger-tools/blob/master/examples/2.0/index.js -import * as connect from 'connect'; +import connect = require('connect'); import { createServer } from 'http'; import * as swaggerTools from 'swagger-tools'; diff --git a/types/telebot/telebot-tests.ts b/types/telebot/telebot-tests.ts index 3bb9677b5d..ea4851c27b 100644 --- a/types/telebot/telebot-tests.ts +++ b/types/telebot/telebot-tests.ts @@ -1,4 +1,4 @@ -import * as TeleBot from "telebot"; +import TeleBot = require("telebot"); let bot = new TeleBot('token'); bot = new TeleBot({ diff --git a/types/tile-reduce/tile-reduce-tests.ts b/types/tile-reduce/tile-reduce-tests.ts index f8f22adfac..38e6cfcf17 100644 --- a/types/tile-reduce/tile-reduce-tests.ts +++ b/types/tile-reduce/tile-reduce-tests.ts @@ -1,4 +1,4 @@ -import * as tilereduce from 'tile-reduce' +import tilereduce = require('tile-reduce'); import { BBox, Tile, Source, Types } from 'tile-reduce' global.mapOptions diff --git a/types/torrent-stream/torrent-stream-tests.ts b/types/torrent-stream/torrent-stream-tests.ts index 2b41b2e744..a8286da683 100644 --- a/types/torrent-stream/torrent-stream-tests.ts +++ b/types/torrent-stream/torrent-stream-tests.ts @@ -1,4 +1,4 @@ -import * as torrentStream from "torrent-stream"; +import torrentStream = require("torrent-stream"); let engine: TorrentStream.TorrentEngine = torrentStream("magnet"); console.log(engine.swarm.downloaded) diff --git a/types/touch/touch-tests.ts b/types/touch/touch-tests.ts index d41ad7b6b9..f843b4c465 100644 --- a/types/touch/touch-tests.ts +++ b/types/touch/touch-tests.ts @@ -1,4 +1,4 @@ -import * as touch from 'touch'; +import touch = require('touch'); // type value definitions const boolVal = true; diff --git a/types/twit/twit-tests.ts b/types/twit/twit-tests.ts index c74f5d6855..1029bda13c 100644 --- a/types/twit/twit-tests.ts +++ b/types/twit/twit-tests.ts @@ -1,4 +1,4 @@ -import * as Twit from 'twit'; +import Twit = require('twit'); const t = new Twit( { consumer_key: '', diff --git a/types/twitter-stream-channels/twitter-stream-channels-tests.ts b/types/twitter-stream-channels/twitter-stream-channels-tests.ts index 6943356cf7..88810aa0cc 100644 --- a/types/twitter-stream-channels/twitter-stream-channels-tests.ts +++ b/types/twitter-stream-channels/twitter-stream-channels-tests.ts @@ -1,4 +1,4 @@ -import * as TwitterStreamChannels from "twitter-stream-channels"; +import TwitterStreamChannels = require("twitter-stream-channels"); const tsc = new TwitterStreamChannels({ consumer_key: '', diff --git a/types/typedarray-pool/typedarray-pool-tests.ts b/types/typedarray-pool/typedarray-pool-tests.ts index de33cacb75..871bfdc72e 100644 --- a/types/typedarray-pool/typedarray-pool-tests.ts +++ b/types/typedarray-pool/typedarray-pool-tests.ts @@ -1,5 +1,5 @@ import * as pool from 'typedarray-pool'; -import * as tape from 'tape'; +import tape = require('tape'); tape("typedarray-pool", function(t) { diff --git a/types/umzug/umzug-tests.ts b/types/umzug/umzug-tests.ts index fad7b11427..95ccf15665 100644 --- a/types/umzug/umzug-tests.ts +++ b/types/umzug/umzug-tests.ts @@ -1,5 +1,5 @@ -import * as Umzug from 'umzug'; -import * as Sequelize from 'sequelize'; +import Umzug = require('umzug'); +import Sequelize = require('sequelize'); let someVar: Umzug.Umzug; const umzug = new Umzug({}); diff --git a/types/undertaker/undertaker-tests.ts b/types/undertaker/undertaker-tests.ts index d9ec56255e..d4db785245 100644 --- a/types/undertaker/undertaker-tests.ts +++ b/types/undertaker/undertaker-tests.ts @@ -1,7 +1,7 @@ /// import * as fs from "fs"; -import * as Undertaker from "undertaker"; -import * as Registry from "undertaker-registry"; +import Undertaker = require("undertaker"); +import Registry = require("undertaker-registry"); const taker = new Undertaker(); diff --git a/types/vinyl/vinyl-tests.ts b/types/vinyl/vinyl-tests.ts index 3a73249b60..77ef5d6d1b 100644 --- a/types/vinyl/vinyl-tests.ts +++ b/types/vinyl/vinyl-tests.ts @@ -2,7 +2,7 @@ import * as fs from 'fs'; import * as path from 'path'; -import * as expect from 'expect'; +import expect = require('expect'); const miss = require('mississippi'); const cloneable = require('cloneable-readable'); diff --git a/types/webpack-chain/webpack-chain-tests.ts b/types/webpack-chain/webpack-chain-tests.ts index 07593687cf..bd83dfbccb 100644 --- a/types/webpack-chain/webpack-chain-tests.ts +++ b/types/webpack-chain/webpack-chain-tests.ts @@ -1,4 +1,4 @@ -import * as Config from 'webpack-chain'; +import Config = require('webpack-chain'); import * as webpack from 'webpack'; const config = new Config(); diff --git a/types/webpack-dotenv-plugin/webpack-dotenv-plugin-tests.ts b/types/webpack-dotenv-plugin/webpack-dotenv-plugin-tests.ts index 8ea3993d39..a757b7d718 100644 --- a/types/webpack-dotenv-plugin/webpack-dotenv-plugin-tests.ts +++ b/types/webpack-dotenv-plugin/webpack-dotenv-plugin-tests.ts @@ -1,5 +1,5 @@ import * as webpack from 'webpack'; -import * as DotenvPlugin from 'webpack-dotenv-plugin'; +import DotenvPlugin = require('webpack-dotenv-plugin'); const config: webpack.Configuration = { plugins: [ diff --git a/types/webpack-notifier/webpack-notifier-tests.ts b/types/webpack-notifier/webpack-notifier-tests.ts index f71fe5800f..ad73a10764 100644 --- a/types/webpack-notifier/webpack-notifier-tests.ts +++ b/types/webpack-notifier/webpack-notifier-tests.ts @@ -1,5 +1,5 @@ import { Plugin } from 'webpack'; -import * as WebpackNotifierPlugin from 'webpack-notifier'; +import WebpackNotifierPlugin = require('webpack-notifier'); const optionsArray: WebpackNotifierPlugin.Options[] = [ { diff --git a/types/webpack-stream/webpack-stream-tests.ts b/types/webpack-stream/webpack-stream-tests.ts index b6e4cce807..15ec19c7bd 100644 --- a/types/webpack-stream/webpack-stream-tests.ts +++ b/types/webpack-stream/webpack-stream-tests.ts @@ -1,5 +1,5 @@ import * as webpack from 'webpack'; -import * as webpackStream from 'webpack-stream'; +import webpackStream = require('webpack-stream'); let output: NodeJS.ReadWriteStream; diff --git a/types/webpack/webpack-tests.ts b/types/webpack/webpack-tests.ts index becaa20dd6..d74960e4db 100644 --- a/types/webpack/webpack-tests.ts +++ b/types/webpack/webpack-tests.ts @@ -1,4 +1,4 @@ -import * as webpack from 'webpack'; +import webpack = require('webpack'); const { optimize, diff --git a/types/webtorrent/webtorrent-tests.ts b/types/webtorrent/webtorrent-tests.ts index 06d8f853f3..63a9647902 100644 --- a/types/webtorrent/webtorrent-tests.ts +++ b/types/webtorrent/webtorrent-tests.ts @@ -1,4 +1,4 @@ -import * as WebTorrent from 'webtorrent'; +import WebTorrent = require('webtorrent'); import * as fs from 'fs'; const client = new WebTorrent(); From e5c1512ab6f55dda9d839be94d5d8ef15e3fb966 Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 5 Feb 2018 18:34:56 -0800 Subject: [PATCH 177/463] cheerio: Convert `import *` to `import =` (#23448) --- types/cheerio/cheerio-tests.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/types/cheerio/cheerio-tests.ts b/types/cheerio/cheerio-tests.ts index 1a9821a6bb..d686951213 100644 --- a/types/cheerio/cheerio-tests.ts +++ b/types/cheerio/cheerio-tests.ts @@ -1,6 +1,4 @@ - - -import * as cheerio from 'cheerio'; +import cheerio = require('cheerio'); /* * LOADING From c754a2b9dfee1a601bbd16713d1fe7a738a77b93 Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Tue, 6 Feb 2018 07:49:57 +0200 Subject: [PATCH 178/463] esModuleInterop; Shell.Environment fix --- types/activex-faxcomexlib/tsconfig.json | 3 ++- types/activex-iwshruntimelibrary/index.d.ts | 11 ++++++++++- types/activex-iwshruntimelibrary/tsconfig.json | 3 ++- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/types/activex-faxcomexlib/tsconfig.json b/types/activex-faxcomexlib/tsconfig.json index 50b3ab1a0a..ab58c69df4 100644 --- a/types/activex-faxcomexlib/tsconfig.json +++ b/types/activex-faxcomexlib/tsconfig.json @@ -13,7 +13,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/activex-iwshruntimelibrary/index.d.ts b/types/activex-iwshruntimelibrary/index.d.ts index a0f0f04ab6..904f25f102 100644 --- a/types/activex-iwshruntimelibrary/index.d.ts +++ b/types/activex-iwshruntimelibrary/index.d.ts @@ -227,7 +227,16 @@ declare namespace IWshRuntimeLibrary { */ CreateShortcut(PathLink: string): WshShortcut | WshURLShortcut; CurrentDirectory: string; - Environment(Type: 'System' | 'User' | 'Process' | 'Volatile'): WshEnvironment; + + /** + * Note that **Environment** doesn't actually return a callable object; the call is only usable in the context of the **Environment** property. The following: + * + * let env = new ActiveXObject('WScript.Shell').Environment; + * WScript.Echo(env('System')); + * + * will return an empty string, unless there is an environment variable named `System` + */ + Environment: WshEnvironment & ((Type: 'System' | 'User' | 'Process' | 'Volatile') => WshEnvironment); Exec(Command: string): WshExec; ExpandEnvironmentStrings(Src: string): string; diff --git a/types/activex-iwshruntimelibrary/tsconfig.json b/types/activex-iwshruntimelibrary/tsconfig.json index d2d55bbe09..763a299b22 100644 --- a/types/activex-iwshruntimelibrary/tsconfig.json +++ b/types/activex-iwshruntimelibrary/tsconfig.json @@ -13,7 +13,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", From d6b7dcb4c7ecf191d08e005a4bf4fdec709b9880 Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Tue, 6 Feb 2018 08:00:02 +0200 Subject: [PATCH 179/463] esModuleInterop --- types/activex-shell/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/activex-shell/tsconfig.json b/types/activex-shell/tsconfig.json index 97b3ee81cb..216bede925 100644 --- a/types/activex-shell/tsconfig.json +++ b/types/activex-shell/tsconfig.json @@ -13,7 +13,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", From 48166d8ea9da5f9ed0b710eb334631e434727dab Mon Sep 17 00:00:00 2001 From: Zanaxhir Date: Tue, 6 Feb 2018 10:10:19 +0100 Subject: [PATCH 180/463] Changed wrong parameter type Changed parameter type on onPrevMonthClick and onNextMonthClick --- types/react-dates/index.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/types/react-dates/index.d.ts b/types/react-dates/index.d.ts index ef501229ff..0600cf3504 100644 --- a/types/react-dates/index.d.ts +++ b/types/react-dates/index.d.ts @@ -71,8 +71,8 @@ declare namespace ReactDates { // navigation related props navPrev?: string | JSX.Element, navNext?: string | JSX.Element, - onPrevMonthClick?: (e: React.EventHandler>) => void, - onNextMonthClick?: (e: React.EventHandler>) => void, + onPrevMonthClick?: (newCurrentMonth: momentPropTypes.momentObj) => void, + onNextMonthClick?: (newCurrentMonth: momentPropTypes.momentObj) => void, onClose?: (final: { startDate: momentPropTypes.momentObj, endDate: momentPropTypes.momentObj }) => void, transitionDuration?: number, @@ -166,8 +166,8 @@ declare namespace ReactDates { // navigation related props navPrev?: string | JSX.Element, navNext?: string | JSX.Element, - onPrevMonthClick?: (e: React.EventHandler>) => void, - onNextMonthClick?: (e: React.EventHandler>) => void, + onPrevMonthClick?: (newCurrentMonth: momentPropTypes.momentObj) => void, + onNextMonthClick?: (newCurrentMonth: momentPropTypes.momentObj) => void, onClose?: (final: { startDate: momentPropTypes.momentObj, endDate: momentPropTypes.momentObj }) => void, transitionDuration?: number, @@ -243,8 +243,8 @@ declare namespace ReactDates { navPrev?: string | JSX.Element, navNext?: string | JSX.Element, hideKeyboardShortcutsPanel?: boolean; - onPrevMonthClick?: (e: React.EventHandler>) => void, - onNextMonthClick?: (e: React.EventHandler>) => void, + onPrevMonthClick?: (newCurrentMonth: momentPropTypes.momentObj) => void, + onNextMonthClick?: (newCurrentMonth: momentPropTypes.momentObj) => void, transitionDuration?: number, // day presentation and interaction related props From 39384f10dedddd678755b476282f472780bb91f9 Mon Sep 17 00:00:00 2001 From: Olegs Jeremejevs Date: Tue, 6 Feb 2018 13:28:09 +0200 Subject: [PATCH 181/463] [bluebird-global] es2018 -> es2017 --- types/bluebird-global/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/bluebird-global/tsconfig.json b/types/bluebird-global/tsconfig.json index cfea60105c..d037429e0d 100644 --- a/types/bluebird-global/tsconfig.json +++ b/types/bluebird-global/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "module": "commonjs", "lib": [ - "es2018", + "es2017", "dom" ], "noImplicitAny": true, From c22e6f19d530b37a189e8bd20fc566183d17a3bb Mon Sep 17 00:00:00 2001 From: Bas Luksenburg Date: Tue, 6 Feb 2018 13:35:47 +0100 Subject: [PATCH 182/463] Adhere closer to chai-http's true implementation that extends the superagent Request instead of adding custom types. Necessary for being able to use the ca, key, cert and pfx methods with typings intact. --- types/chai-http/chai-http-tests.ts | 19 ++++++++++++++++ types/chai-http/index.d.ts | 35 +++++++++--------------------- 2 files changed, 29 insertions(+), 25 deletions(-) diff --git a/types/chai-http/chai-http-tests.ts b/types/chai-http/chai-http-tests.ts index f4f65cae7b..a47621bd73 100644 --- a/types/chai-http/chai-http-tests.ts +++ b/types/chai-http/chai-http-tests.ts @@ -37,6 +37,25 @@ chai.request(app) .get('/protected') .auth('user', 'pass'); +// HTTPS request, from: https://github.com/visionmedia/superagent/commit/6158efbf42cb93d77c1a70887284be783dd7dabe +const ca = fs.readFileSync('ca.cert.pem'); +const key = fs.readFileSync('key.pem'); +const cert = fs.readFileSync('cert.pem'); +const callback = (err: any, res: ChaiHttp.Response) => {}; + +chai.request(app) + .post('/secure') + .ca(ca) + .key(key) + .cert(cert) + .end(callback); + +const pfx = fs.readFileSync('cert.pfx'); +chai.request(app) + .post('/secure') + .pfx(pfx) + .end(callback); + chai.request(app) .get('/search') .query({ name: 'foo', limit: 10 }); diff --git a/types/chai-http/index.d.ts b/types/chai-http/index.d.ts index 6a9404c9da..3bc1977fc7 100644 --- a/types/chai-http/index.d.ts +++ b/types/chai-http/index.d.ts @@ -9,6 +9,8 @@ /// /// +import request = require('superagent'); + declare global { namespace Chai { interface ChaiStatic { @@ -53,31 +55,14 @@ declare global { on(event: string, fn: (...args: any[]) => void): void; } - interface Request extends FinishedRequest { - attach(field: string, file: string|Buffer, filename: string): Request; - set(field: string, val: string): Request; - query(params: any): Request; - send(data: any): Request; - auth(user: string, name: string): Request; - field(name: string, val: string): Request; - buffer(): Request; - parse(fn: (res: Response, cb: (e?: Error, r?: any) => void) => void): Request; - end(callback?: (err: any, res: Response) => void): FinishedRequest; - } - - interface FinishedRequest { - then(success?: (res: T) => TR1 | PromiseLike, failure?: (err: any) => TR2 | PromiseLike): FinishedRequest; - catch(failure?: (err: any) => void): FinishedRequest; - } - - interface Agent { - get(url: string, callback?: (err: any, res: Response) => void): Request; - post(url: string, callback?: (err: any, res: Response) => void): Request; - put(url: string, callback?: (err: any, res: Response) => void): Request; - head(url: string, callback?: (err: any, res: Response) => void): Request; - del(url: string, callback?: (err: any, res: Response) => void): Request; - options(url: string, callback?: (err: any, res: Response) => void): Request; - patch(url: string, callback?: (err: any, res: Response) => void): Request; + interface Agent { + get(url: string, callback?: (err: any, res: Response) => void): request.Request; + post(url: string, callback?: (err: any, res: Response) => void): request.Request; + put(url: string, callback?: (err: any, res: Response) => void): request.Request; + head(url: string, callback?: (err: any, res: Response) => void): request.Request; + del(url: string, callback?: (err: any, res: Response) => void): request.Request; + options(url: string, callback?: (err: any, res: Response) => void): request.Request; + patch(url: string, callback?: (err: any, res: Response) => void): request.Request; } interface TypeComparison { From ac85aa198cd5eaee651e03f832dd7dfef77424fa Mon Sep 17 00:00:00 2001 From: Bas Luksenburg Date: Tue, 6 Feb 2018 13:47:35 +0100 Subject: [PATCH 183/463] Added myself as author of changes to Definitions by --- types/chai-http/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/chai-http/index.d.ts b/types/chai-http/index.d.ts index 3bc1977fc7..0f2dd64a5e 100644 --- a/types/chai-http/index.d.ts +++ b/types/chai-http/index.d.ts @@ -3,6 +3,7 @@ // Definitions by: Wim Looman // Liam Jones // Federico Caselli +// Bas Luksenburg // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 From 3c0ac3222d48bd971e2b47a7acc1606637e7cf59 Mon Sep 17 00:00:00 2001 From: Bas Luksenburg Date: Tue, 6 Feb 2018 13:54:40 +0100 Subject: [PATCH 184/463] Use tabs instead of spaces to stay uniform --- types/chai-http/chai-http-tests.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/types/chai-http/chai-http-tests.ts b/types/chai-http/chai-http-tests.ts index a47621bd73..882f089a47 100644 --- a/types/chai-http/chai-http-tests.ts +++ b/types/chai-http/chai-http-tests.ts @@ -44,17 +44,17 @@ const cert = fs.readFileSync('cert.pem'); const callback = (err: any, res: ChaiHttp.Response) => {}; chai.request(app) - .post('/secure') - .ca(ca) - .key(key) - .cert(cert) - .end(callback); + .post('/secure') + .ca(ca) + .key(key) + .cert(cert) + .end(callback); const pfx = fs.readFileSync('cert.pfx'); chai.request(app) - .post('/secure') - .pfx(pfx) - .end(callback); + .post('/secure') + .pfx(pfx) + .end(callback); chai.request(app) .get('/search') From d1a6daa6448160d5584b90633824ec2b451c6981 Mon Sep 17 00:00:00 2001 From: Nico Hartto Date: Tue, 6 Feb 2018 16:13:42 +0200 Subject: [PATCH 185/463] Fixed typing for table_toolbar boolean => string. https://github.com/DefinitelyTyped/DefinitelyTyped/issues/23457 --- types/tinymce/index.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/tinymce/index.d.ts b/types/tinymce/index.d.ts index 3719b35784..40c9354182 100644 --- a/types/tinymce/index.d.ts +++ b/types/tinymce/index.d.ts @@ -1,6 +1,8 @@ // Type definitions for TinyMCE 4.5 // Project: https://github.com/tinymce/tinymce -// Definitions by: Martin Duparc , Poul Poulsen +// Definitions by: Martin Duparc +// Poul Poulsen +// Nico Hartto // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -53,7 +55,7 @@ export function walk(o: {}, f: () => void, n?: string, s?: string): void; export function init(settings: Settings): void; export interface Settings { - table_toolbar?: boolean; + table_toolbar?: string; auto_focus?: string; From 6c9170c6dd2dbc066b62699c3b06d974f046cce4 Mon Sep 17 00:00:00 2001 From: Nico Hartto Date: Tue, 6 Feb 2018 16:19:12 +0200 Subject: [PATCH 186/463] First iteration of types for tinymce table plugin --- types/tinymce/index.d.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/types/tinymce/index.d.ts b/types/tinymce/index.d.ts index 40c9354182..d342e13647 100644 --- a/types/tinymce/index.d.ts +++ b/types/tinymce/index.d.ts @@ -57,6 +57,30 @@ export function init(settings: Settings): void; export interface Settings { table_toolbar?: string; + table_appearance_options?: boolean; + + table_clone_elements?: string; + + table_grid?: boolean; + + table_tab_navigation?: boolean; + + table_default_attributes?: object | string; + + table_default_styles?: object | string; + + table_class_list?: object[]; + + table_cell_class_list?: object[]; + + table_row_class_list?: object[]; + + table_advtab?: boolean; + + table_cell_advtab?: boolean; + + table_row_advtab?: boolean; + auto_focus?: string; cache_suffix?: string; From 6a699cadd8db097239e305cbec787e81ff04b846 Mon Sep 17 00:00:00 2001 From: Nico Hartto Date: Tue, 6 Feb 2018 16:25:37 +0200 Subject: [PATCH 187/463] Added tests for table plugin types --- types/tinymce/tinymce-tests.ts | 45 ++++++++++++++++++++++++++++------ 1 file changed, 38 insertions(+), 7 deletions(-) diff --git a/types/tinymce/tinymce-tests.ts b/types/tinymce/tinymce-tests.ts index 2b32824349..d6bda504cd 100644 --- a/types/tinymce/tinymce-tests.ts +++ b/types/tinymce/tinymce-tests.ts @@ -1,14 +1,14 @@ import * as tinymce from 'tinymce'; -tinymce.init({ +const settings: tinymce.Settings = { selector: 'textarea', height: 500, menubar: false, plugins: [ - 'advlist autolink lists link image charmap print preview anchor', - 'searchreplace visualblocks code fullscreen', - 'insertdatetime media table contextmenu paste code', - 'autosave imagetools' + 'advlist autolink lists link image charmap print preview anchor', + 'searchreplace visualblocks code fullscreen', + 'insertdatetime media table contextmenu paste code', + 'autosave imagetools' ], autosave_ask_before_unload: false, autosave_interval: "20s", @@ -18,7 +18,38 @@ tinymce.init({ toolbar: 'undo redo | insert | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image', content_css: '//www.tinymce.com/css/codepen.min.css', imagetools_cors_hosts: ['mydomain.com', 'otherdomain.com'], - imagetools_proxy: "proxy.php" -}); + imagetools_proxy: "proxy.php", + table_toolbar: "tableprops tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol", + table_appearance_options: false, + table_clone_elements: "strong em a", + table_grid: false, + table_tab_navigation: false, + table_default_attributes: { + title: 'My table' + }, + table_default_styles: { + fontWeight: 'bold' + }, + table_class_list: [ + {title: 'None', value: ''}, + {title: 'Dog', value: 'dog'}, + {title: 'Cat', value: 'cat'} + ], + table_cell_class_list: [ + {title: 'None', value: ''}, + {title: 'Dog', value: 'dog'}, + {title: 'Cat', value: 'cat'} + ], + table_row_class_list: [ + {title: 'None', value: ''}, + {title: 'Dog', value: 'dog'}, + {title: 'Cat', value: 'cat'} + ], + table_advtab: false, + table_cell_advtab: false, + table_row_advtab: false, +}; + +tinymce.init(settings); const t = new tinymce.util.Color('#FFFFFF'); From 176374804aeda5431e2fcef3a849d91425ae7ee9 Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Tue, 6 Feb 2018 15:29:15 +0100 Subject: [PATCH 188/463] RTCPeerConnection: Add signalingState property --- types/webrtc/RTCPeerConnection.d.ts | 1 + types/webrtc/test/RTCPeerConnection.ts | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/types/webrtc/RTCPeerConnection.d.ts b/types/webrtc/RTCPeerConnection.d.ts index 472f2b0318..210ab66ddd 100644 --- a/types/webrtc/RTCPeerConnection.d.ts +++ b/types/webrtc/RTCPeerConnection.d.ts @@ -314,6 +314,7 @@ interface RTCPeerConnection extends EventTarget { addIceCandidate(candidate?: RTCIceCandidateInit | RTCIceCandidate): Promise; readonly signalingState: RTCSignalingState; + readonly connectionState: RTCPeerConnectionState; getConfiguration(): RTCConfiguration; setConfiguration(configuration: RTCConfiguration): void; diff --git a/types/webrtc/test/RTCPeerConnection.ts b/types/webrtc/test/RTCPeerConnection.ts index 95a6d45694..f99ed1c05b 100644 --- a/types/webrtc/test/RTCPeerConnection.ts +++ b/types/webrtc/test/RTCPeerConnection.ts @@ -56,6 +56,12 @@ pc.onconnectionstatechange = ev => console.log(ev.type); pc.ontrack = ev => console.log(ev.receiver); pc.ondatachannel = ev => console.log(ev.channel); +// State properties +console.log(pc.signalingState); +console.log(pc.iceGatheringState); +console.log(pc.iceConnectionState); +console.log(pc.connectionState); + // Legacy interface extensions pc.createOffer( (sdp: RTCSessionDescription) => console.log(sdp.sdp), From 83839f31223cfc0ac985895b243ed8693e9adc48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Fri, 29 Dec 2017 13:41:05 +0100 Subject: [PATCH 189/463] [react-relay] Split tests into modern, compat, and classic files. --- types/react-relay/compat.d.ts | 8 +- .../test/react-relay-classic-tests.tsx | 10 +- .../test/react-relay-compat-tests.tsx | 53 ++++++ types/react-relay/test/react-relay-tests.tsx | 156 +----------------- types/react-relay/tsconfig.json | 1 + types/relay-runtime/relay-runtime-tests.tsx | 10 +- 6 files changed, 73 insertions(+), 165 deletions(-) create mode 100644 types/react-relay/test/react-relay-compat-tests.tsx diff --git a/types/react-relay/compat.d.ts b/types/react-relay/compat.d.ts index 22585d03d0..5f5785ab4b 100644 --- a/types/react-relay/compat.d.ts +++ b/types/react-relay/compat.d.ts @@ -1,12 +1,8 @@ -export { - QueryRenderer, - fetchQuery, - graphql, -} from "./index"; +export { QueryRenderer, fetchQuery, graphql } from "./index"; import { ConnectionConfig, RelayPaginationProp as RelayModernPaginationProp, - RelayRefetchProp as RelayModernRefetchProp + RelayRefetchProp as RelayModernRefetchProp, } from "./index"; import * as RelayRuntimeTypes from "relay-runtime"; import { RelayEnvironmentInterface } from "./classic"; diff --git a/types/react-relay/test/react-relay-classic-tests.tsx b/types/react-relay/test/react-relay-classic-tests.tsx index d8eaf005ca..a57cbc1b6f 100644 --- a/types/react-relay/test/react-relay-classic-tests.tsx +++ b/types/react-relay/test/react-relay-classic-tests.tsx @@ -1,15 +1,14 @@ import * as React from "react"; import * as Relay from "react-relay/classic"; +import { CompatContainer } from "./react-relay-compat-tests"; + interface Props { text: string; userId: string; } -// tslint:disable-next-line no-empty-interface -interface Response {} - -export default class AddTweetMutation extends Relay.Mutation { +export default class AddTweetMutation extends Relay.Mutation { getMutation() { return Relay.QL`mutation{addTweet}`; } @@ -64,6 +63,7 @@ const ArtworkContainer = Relay.createContainer(Artwork, { artwork: () => Relay.QL` fragment on Artwork { title + ${CompatContainer.getFragment("whatever")} } `, }, @@ -83,7 +83,7 @@ class StubbedArtwork extends React.Component { setVariables: () => {}, forceFetch: () => {}, hasOptimisticUpdate: () => false, - getPendingTransactions: (): Relay.RelayMutationTransaction[] => [], + getPendingTransactions: (): any => undefined, commitUpdate: () => {}, }, }; diff --git a/types/react-relay/test/react-relay-compat-tests.tsx b/types/react-relay/test/react-relay-compat-tests.tsx new file mode 100644 index 0000000000..e0ee5d3be2 --- /dev/null +++ b/types/react-relay/test/react-relay-compat-tests.tsx @@ -0,0 +1,53 @@ +import * as React from "react"; +import { + QueryRenderer as CompatQueryRenderer, + createFragmentContainer as createFragmentContainerCompat, + commitMutation as commitMutationCompat, + CompatEnvironment, + RelayPaginationProp as RelayPaginationPropCompat, +} from "react-relay/compat"; + +import { configs, mutation, optimisticResponse } from "./react-relay-tests"; + +// testting compat mutation with classic environment +function markNotificationAsReadCompat(environment: CompatEnvironment, source: string, storyID: string) { + const variables = { + input: { + source, + storyID, + }, + }; + + commitMutationCompat(environment, { + configs, + mutation, + optimisticResponse, + variables, + onCompleted: (response, errors) => { + console.log("Response received from server."); + }, + onError: err => console.error(err), + updater: (store, data) => { + const field = store.get(storyID); + if (field) { + field.setValue(data.story, "story"); + } + } + }); +} + +interface CompatProps { + relay: RelayPaginationPropCompat; +} + +class CompatComponent extends React.Component { + markNotificationAsRead(source: string, storyID: string) { + markNotificationAsReadCompat(this.props.relay.environment, source, storyID); + } + + render() { + return (
); + } +} + +export const CompatContainer = createFragmentContainerCompat(CompatComponent, {}); diff --git a/types/react-relay/test/react-relay-tests.tsx b/types/react-relay/test/react-relay-tests.tsx index 6fbd2dea3f..54a81df1c9 100644 --- a/types/react-relay/test/react-relay-tests.tsx +++ b/types/react-relay/test/react-relay-tests.tsx @@ -1,9 +1,6 @@ import * as React from "react"; import { Environment, Network, RecordSource, Store, ConnectionHandler } from "relay-runtime"; -//////////////////////////// -// RELAY MODERN TESTS -/////////////////////////// import { graphql, commitMutation, @@ -215,7 +212,7 @@ const FeedPaginationContainer = createPaginationContainer( // ~~~~~~~~~~~~~~~~~~~~~ // Modern Mutations // ~~~~~~~~~~~~~~~~~~~~~ -const mutation = graphql` +export const mutation = graphql` mutation MarkReadNotificationMutation($input: MarkReadNotificationData!) { markReadNotification(data: $input) { notification { @@ -225,7 +222,7 @@ const mutation = graphql` } `; -const optimisticResponse = { +export const optimisticResponse = { markReadNotification: { notification: { seenState: "SEEN", @@ -233,7 +230,7 @@ const optimisticResponse = { }, }; -const configs = [ +export const configs = [ { type: "NODE_DELETE" as "NODE_DELETE", deletedIDFieldName: "destroyedShipId", @@ -325,150 +322,3 @@ requestSubscription( }, } ); - -//////////////////////////// -// RELAY COMPAT TESTS -/////////////////////////// -import { - QueryRenderer as CompatQueryRenderer, - createFragmentContainer as createFragmentContainerCompat, - commitMutation as commitMutationCompat, - CompatEnvironment, - RelayPaginationProp as RelayPaginationPropCompat, -} from "react-relay/compat"; - -// testting compat mutation with classic environment -function markNotificationAsReadCompat(environment: CompatEnvironment, source: string, storyID: string) { - const variables = { - input: { - source, - storyID, - }, - }; - - commitMutationCompat(environment, { - configs, - mutation, - optimisticResponse, - variables, - onCompleted: (response, errors) => { - console.log("Response received from server."); - }, - onError: err => console.error(err), - updater: (store, data) => { - const field = store.get(storyID); - if (field) { - field.setValue(data.story, "story"); - } - } - }); -} - -interface CompatProps { - relay: RelayPaginationPropCompat; -} - -export class CompatComponent extends React.Component { - markNotificationAsRead(source: string, storyID: string) { - markNotificationAsReadCompat(this.props.relay.environment, source, storyID); - } - - render() { - return (
); - } -} - -const CompatContainer = createFragmentContainerCompat(CompatComponent, {}); - -//////////////////////////// -// RELAY-CLASSIC TESTS -/////////////////////////// -import * as Relay from "react-relay/classic"; - -interface Props { - text: string; - userId: string; -} - -export default class AddTweetMutation extends Relay.Mutation { - getMutation() { - return Relay.QL`mutation{addTweet}`; - } - - getFatQuery() { - return Relay.QL` - fragment on AddTweetPayload { - tweetEdge - user - } - `; - } - - getConfigs() { - return [ - { - type: "RANGE_ADD", - parentName: "user", - parentID: this.props.userId, - connectionName: "tweets", - edgeName: "tweetEdge", - rangeBehaviors: { - "": "append", - }, - }, - ]; - } - - getVariables() { - return this.props; - } -} - -interface ArtwokRelayVariables { - artworkID: string; -} - -interface ArtworkProps extends Relay.RelayProps { - artwork: { - title: string; - }; -} - -class Artwork extends React.Component { - render() { - return {this.props.artwork.title}; - } -} - -const ArtworkContainer = Relay.createContainer(Artwork, { - fragments: { - artwork: () => Relay.QL` - fragment on Artwork { - title - ${ CompatContainer.getFragment('whatever') } - } - `, - }, -}); - -class StubbedArtwork extends React.Component { - render() { - const props = { - artwork: { title: "CHAMPAGNE FORMICA FLAG" }, - relay: { - route: { - name: "champagne", - }, - variables: { - artworkID: "champagne-formica-flag", - }, - setVariables: () => {}, - forceFetch: () => {}, - hasOptimisticUpdate: () => false, - getPendingTransactions: (): any => undefined, - commitUpdate: () => {}, - }, - }; - return ; - } -} diff --git a/types/react-relay/tsconfig.json b/types/react-relay/tsconfig.json index 937fa22803..bf3dc05339 100644 --- a/types/react-relay/tsconfig.json +++ b/types/react-relay/tsconfig.json @@ -24,6 +24,7 @@ "classic.d.ts", "compat.d.ts", "test/react-relay-tests.tsx", + "test/react-relay-compat-tests.tsx", "test/react-relay-classic-tests.tsx" ] } \ No newline at end of file diff --git a/types/relay-runtime/relay-runtime-tests.tsx b/types/relay-runtime/relay-runtime-tests.tsx index b39a117e61..4cbbacf680 100644 --- a/types/relay-runtime/relay-runtime-tests.tsx +++ b/types/relay-runtime/relay-runtime-tests.tsx @@ -1,4 +1,12 @@ -import { Environment, Network, RecordSource, Store, ConnectionHandler, ViewerHandler, RecordSourceInspector } from "relay-runtime"; +import { + Environment, + Network, + RecordSource, + Store, + ConnectionHandler, + ViewerHandler, + RecordSourceInspector, +} from "relay-runtime"; const source = new RecordSource(); const store = new Store(source); From be38f831c290b8892c239835d45967bad9c6fdb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Fri, 29 Dec 2017 14:04:57 +0100 Subject: [PATCH 190/463] [relay] Use React.ComponentType. --- types/react-relay/classic.d.ts | 2 +- types/react-relay/compat.d.ts | 7 +++---- types/react-relay/index.d.ts | 15 +++++++-------- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/types/react-relay/classic.d.ts b/types/react-relay/classic.d.ts index c600992669..e0042c3c9b 100644 --- a/types/react-relay/classic.d.ts +++ b/types/react-relay/classic.d.ts @@ -117,7 +117,7 @@ export class DefaultNetworkLayer implements RelayNetworkLayer { } export function createContainer( - component: React.ComponentClass | React.StatelessComponent, + component: React.ComponentType, params?: CreateContainerOpts ): RelayContainerClass; export function injectNetworkLayer(networkLayer: RelayNetworkLayer): any; diff --git a/types/react-relay/compat.d.ts b/types/react-relay/compat.d.ts index 5f5785ab4b..6c659382af 100644 --- a/types/react-relay/compat.d.ts +++ b/types/react-relay/compat.d.ts @@ -26,7 +26,6 @@ export interface StatelessWithFragment extends React.StatelessComponent { getFragment: typeof getFragment; } export type ReactFragmentComponent = ComponentWithFragment | StatelessWithFragment; -export type ReactBaseComponent = React.ComponentClass | React.StatelessComponent; export type RelayClassicEnvironment = RelayEnvironmentInterface; // ~~~~~~~~~~~~~~~~~~~~~ @@ -64,18 +63,18 @@ export interface GeneratedNodeMap { } export function createFragmentContainer( - Component: ReactBaseComponent, + Component: React.ComponentType, fragmentSpec: RelayRuntimeTypes.GraphQLTaggedNode | GeneratedNodeMap ): ReactFragmentComponent; export function createRefetchContainer( - Component: ReactBaseComponent, + Component: React.ComponentType, fragmentSpec: RelayRuntimeTypes.GraphQLTaggedNode | GeneratedNodeMap, taggedNode: RelayRuntimeTypes.GraphQLTaggedNode ): ReactFragmentComponent; export function createPaginationContainer( - Component: ReactBaseComponent, + Component: React.ComponentType, fragmentSpec: RelayRuntimeTypes.GraphQLTaggedNode | GeneratedNodeMap, connectionConfig: ConnectionConfig ): ReactFragmentComponent; diff --git a/types/react-relay/index.d.ts b/types/react-relay/index.d.ts index 0b7d87ce58..2a36ef4ec4 100644 --- a/types/react-relay/index.d.ts +++ b/types/react-relay/index.d.ts @@ -24,7 +24,6 @@ export type ConcreteFragment = any; export type ConcreteBatch = any; export type ConcreteFragmentDefinition = object; export type ConcreteOperationDefinition = object; -export type ReactBaseComponent = React.ComponentClass | React.StatelessComponent; // ~~~~~~~~~~~~~~~~~~~~~ // RelayProp @@ -87,9 +86,9 @@ export class QueryRenderer extends ReactRelayQueryRenderer {} // createFragmentContainer // ~~~~~~~~~~~~~~~~~~~~~ export function createFragmentContainer( - Component: ReactBaseComponent, + Component: React.ComponentType, fragmentSpec: GraphQLTaggedNode | GeneratedNodeMap -): ReactBaseComponent; +): React.ComponentType; // ~~~~~~~~~~~~~~~~~~~~~ // createPaginationContainer @@ -134,13 +133,13 @@ export interface ConnectionConfig { query: GraphQLTaggedNode; } export function createPaginationContainer( - Component: ReactBaseComponent, + Component: React.ComponentType, fragmentSpec: GraphQLTaggedNode | GeneratedNodeMap, connectionConfig: ConnectionConfig -): ReactBaseComponent; +): React.ComponentType; // ~~~~~~~~~~~~~~~~~~~~~ -// createFragmentContainer +// createRefetchContainer // ~~~~~~~~~~~~~~~~~~~~~ export interface RefetchOptions { force?: boolean; @@ -157,7 +156,7 @@ export type RelayRefetchProp = RelayProp & { ): RelayRuntimeTypes.Disposable; }; export function createRefetchContainer( - Component: ReactBaseComponent, + Component: React.ComponentType, fragmentSpec: GraphQLTaggedNode | GeneratedNodeMap, taggedNode: GraphQLTaggedNode -): ReactBaseComponent; +): React.ComponentType; From c41956752fec523b4f47c5bc9bd60014a4da98bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Tue, 30 Jan 2018 15:29:12 +0100 Subject: [PATCH 191/463] [relay] Cleanup of where types are defined and scope tests. --- types/react-relay/compat.d.ts | 3 +- types/react-relay/index.d.ts | 30 +- types/react-relay/test/react-relay-tests.tsx | 284 ++++++++++--------- types/relay-runtime/index.d.ts | 23 +- 4 files changed, 185 insertions(+), 155 deletions(-) diff --git a/types/react-relay/compat.d.ts b/types/react-relay/compat.d.ts index 6c659382af..b74efc4ac2 100644 --- a/types/react-relay/compat.d.ts +++ b/types/react-relay/compat.d.ts @@ -4,14 +4,13 @@ import { RelayPaginationProp as RelayModernPaginationProp, RelayRefetchProp as RelayModernRefetchProp, } from "./index"; +export { ConcreteFragment, ConcreteRequest, ConcreteBatchRequest } from "relay-runtime"; import * as RelayRuntimeTypes from "relay-runtime"; import { RelayEnvironmentInterface } from "./classic"; // ~~~~~~~~~~~~~~~~~~~~~ // Maybe Fix // ~~~~~~~~~~~~~~~~~~~~~ -export type ConcreteFragment = any; -export type ConcreteBatch = any; export type ConcreteFragmentDefinition = object; export type ConcreteOperationDefinition = object; diff --git a/types/react-relay/index.d.ts b/types/react-relay/index.d.ts index 2a36ef4ec4..91a1bbbe1d 100644 --- a/types/react-relay/index.d.ts +++ b/types/react-relay/index.d.ts @@ -11,6 +11,7 @@ export { commitLocalUpdate, commitRelayModernMutation as commitMutation, fetchRelayModernQuery as fetchQuery, + GraphQLTaggedNode, requestRelaySubscription as requestSubscription, } from "relay-runtime"; @@ -20,8 +21,6 @@ import * as RelayRuntimeTypes from "relay-runtime"; // ~~~~~~~~~~~~~~~~~~~~~ // Maybe Fix // ~~~~~~~~~~~~~~~~~~~~~ -export type ConcreteFragment = any; -export type ConcreteBatch = any; export type ConcreteFragmentDefinition = object; export type ConcreteOperationDefinition = object; @@ -39,24 +38,19 @@ export interface RelayProp { export function RelayQL(strings: string[], ...substitutions: any[]): RelayRuntimeTypes.RelayConcreteNode; // ~~~~~~~~~~~~~~~~~~~~~ -// RelayModernGraphQLTag +// ReactRelayTypes // ~~~~~~~~~~~~~~~~~~~~~ export interface GeneratedNodeMap { - [key: string]: GraphQLTaggedNode; + [key: string]: RelayRuntimeTypes.GraphQLTaggedNode; } -export type GraphQLTaggedNode = - | (() => ConcreteFragment | ConcreteBatch) - | { - modern(): ConcreteFragment | ConcreteBatch; - classic(relayQL: typeof RelayQL): ConcreteFragmentDefinition | ConcreteOperationDefinition; - }; + /** * Runtime function to correspond to the `graphql` tagged template function. * All calls to this function should be transformed by the plugin. */ export interface GraphqlInterface { - (strings: string[] | TemplateStringsArray): GraphQLTaggedNode; - experimental(strings: string[] | TemplateStringsArray): GraphQLTaggedNode; + (strings: string[] | TemplateStringsArray): RelayRuntimeTypes.GraphQLTaggedNode; + experimental(strings: string[] | TemplateStringsArray): RelayRuntimeTypes.GraphQLTaggedNode; } export const graphql: GraphqlInterface; @@ -66,7 +60,7 @@ export const graphql: GraphqlInterface; export interface QueryRendererProps { cacheConfig?: RelayRuntimeTypes.CacheConfig; environment: RelayRuntimeTypes.Environment; - query: GraphQLTaggedNode; + query: RelayRuntimeTypes.GraphQLTaggedNode; render(readyState: ReadyState): React.ReactElement | undefined | null; variables: RelayRuntimeTypes.Variables; rerunParamExperimental?: RelayRuntimeTypes.RerunParam; @@ -87,7 +81,7 @@ export class QueryRenderer extends ReactRelayQueryRenderer {} // ~~~~~~~~~~~~~~~~~~~~~ export function createFragmentContainer( Component: React.ComponentType, - fragmentSpec: GraphQLTaggedNode | GeneratedNodeMap + fragmentSpec: RelayRuntimeTypes.GraphQLTaggedNode | GeneratedNodeMap ): React.ComponentType; // ~~~~~~~~~~~~~~~~~~~~~ @@ -130,11 +124,11 @@ export interface ConnectionConfig { paginationInfo: { count: number; cursor?: string }, fragmentVariables: RelayRuntimeTypes.Variables ): RelayRuntimeTypes.Variables; - query: GraphQLTaggedNode; + query: RelayRuntimeTypes.GraphQLTaggedNode; } export function createPaginationContainer( Component: React.ComponentType, - fragmentSpec: GraphQLTaggedNode | GeneratedNodeMap, + fragmentSpec: RelayRuntimeTypes.GraphQLTaggedNode | GeneratedNodeMap, connectionConfig: ConnectionConfig ): React.ComponentType; @@ -157,6 +151,6 @@ export type RelayRefetchProp = RelayProp & { }; export function createRefetchContainer( Component: React.ComponentType, - fragmentSpec: GraphQLTaggedNode | GeneratedNodeMap, - taggedNode: GraphQLTaggedNode + fragmentSpec: RelayRuntimeTypes.GraphQLTaggedNode | GeneratedNodeMap, + taggedNode: RelayRuntimeTypes.GraphQLTaggedNode ): React.ComponentType; diff --git a/types/react-relay/test/react-relay-tests.tsx b/types/react-relay/test/react-relay-tests.tsx index 54a81df1c9..9385922dcf 100644 --- a/types/react-relay/test/react-relay-tests.tsx +++ b/types/react-relay/test/react-relay-tests.tsx @@ -10,7 +10,8 @@ import { requestSubscription, QueryRenderer, RelayRefetchProp, - RelayPaginationProp + RelayPaginationProp, + RelayProp } from "react-relay"; // ~~~~~~~~~~~~~~~~~~~~~ @@ -54,160 +55,185 @@ const MyQueryRenderer = (props: { name: string }) => ( // ~~~~~~~~~~~~~~~~~~~~~ // Modern FragmentContainer // ~~~~~~~~~~~~~~~~~~~~~ -const MyFragmentContainer = createFragmentContainer( - class TodoListView extends React.Component { - render() { - return
; - } - }, - { - item: graphql` - fragment TodoItem_item on Todo { - text - isComplete - } - `, + +() => { + interface Props { + relay: RelayProp; + publicProp: string; } -); + + class TodoListView extends React.Component { + render() { + this.props.relay.environment; + return
{this.props.publicProp}
; + } + } + + const MyFragmentContainer = createFragmentContainer( + TodoListView, + { + item: graphql` + fragment TodoItem_item on Todo { + text + isComplete + } + `, + } + ); +}; // ~~~~~~~~~~~~~~~~~~~~~ // Modern RefetchContainer // ~~~~~~~~~~~~~~~~~~~~~ -interface StoryInterface { - id: string; -} -interface FeedStoriesProps { - relay: RelayRefetchProp; - feed: { - stories: { edges: Array<{ node: StoryInterface }> }; - }; -} -class Story extends React.Component<{ story: StoryInterface }> {} -class FeedStories extends React.Component { - render() { - return ( -
- {this.props.feed.stories.edges.map(edge => )} -
- ); + +() => { + interface StoryInterface { + id: string; + } + interface Props { + relay: RelayRefetchProp; + loadMoreTitle: string; + feed: { + stories: { edges: Array<{ node: StoryInterface }> }; + }; + } + class Story extends React.Component<{ story: StoryInterface }> {} + class FeedStories extends React.Component { + render() { + return ( +
+ {this.props.feed.stories.edges.map(edge => )} +
+ ); + } + + _loadMore() { + // Increments the number of stories being rendered by 10. + const refetchVariables = (fragmentVariables: { count: number }) => ({ + count: fragmentVariables.count + 10, + }); + this.props.relay.refetch(refetchVariables); + } } - _loadMore() { - // Increments the number of stories being rendered by 10. - const refetchVariables = (fragmentVariables: { count: number }) => ({ - count: fragmentVariables.count + 10, - }); - this.props.relay.refetch(refetchVariables); - } -} - -const FeedRefetchContainer = createRefetchContainer( - FeedStories, - { - feed: graphql.experimental` - fragment FeedStories_feed on Feed @argumentDefinitions(count: { type: "Int", defaultValue: 10 }) { - stories(first: $count) { - edges { - node { - id - ...Story_story + const FeedRefetchContainer = createRefetchContainer( + FeedStories, + { + feed: graphql.experimental` + fragment FeedStories_feed on Feed @argumentDefinitions(count: { type: "Int", defaultValue: 10 }) { + stories(first: $count) { + edges { + node { + id + ...Story_story + } } } } + `, + }, + graphql.experimental` + query FeedStoriesRefetchQuery($count: Int) { + feed { + ...FeedStories_feed @arguments(count: $count) + } } - `, - }, - graphql.experimental` - query FeedStoriesRefetchQuery($count: Int) { - feed { - ...FeedStories_feed @arguments(count: $count) - } - } - ` -); + ` + ); +}; // ~~~~~~~~~~~~~~~~~~~~~ // Modern PaginationContainer // ~~~~~~~~~~~~~~~~~~~~~ -interface FeedProps { - user: { feed: { edges: Array<{ node: StoryInterface }> } }; - relay: RelayPaginationProp; -} -class Feed extends React.Component { - render() { - return ( -
- {this.props.user.feed.edges.map(edge => )} -
- ); - } - _loadMore() { - if (!this.props.relay.hasMore() || this.props.relay.isLoading()) { - return; +() => { + interface StoryInterface { + id: string; + } + class Story extends React.Component<{ story: StoryInterface }> {} + + interface Props { + relay: RelayPaginationProp; + loadMoreTitle: string; + user: { feed: { edges: Array<{ node: StoryInterface }> } }; + } + class Feed extends React.Component { + render() { + return ( +
+ {this.props.user.feed.edges.map(edge => )} +
+ ); } - this.props.relay.loadMore( - 10, // Fetch the next 10 feed items - e => { - console.log(e); + _loadMore() { + if (!this.props.relay.hasMore() || this.props.relay.isLoading()) { + return; } - ); - } -} -const FeedPaginationContainer = createPaginationContainer( - Feed, - { - user: graphql` - fragment Feed_user on User { - feed( - first: $count - after: $cursor - orderby: $orderBy # other variables - ) @connection(key: "Feed_feed") { - edges { - node { - id - ...Story_story + this.props.relay.loadMore( + 10, // Fetch the next 10 feed items + e => { + console.log(e); + } + ); + } + } + + const FeedPaginationContainer = createPaginationContainer( + Feed, + { + user: graphql` + fragment Feed_user on User { + feed( + first: $count + after: $cursor + orderby: $orderBy # other variables + ) @connection(key: "Feed_feed") { + edges { + node { + id + ...Story_story + } } } } - } - `, - }, - { - direction: "forward", - getConnectionFromProps(props) { - return props.user && props.user.feed; + `, }, - getFragmentVariables(prevVars, totalCount) { - return { - ...prevVars, - count: totalCount, - }; - }, - getVariables(props, { count, cursor }, fragmentVariables) { - return { - count, - cursor, - // in most cases, for variables other than connection filters like - // `first`, `after`, etc. you may want to use the previous values. - orderBy: fragmentVariables.orderBy, - }; - }, - query: graphql` - query FeedPaginationQuery($count: Int!, $cursor: String, $orderby: String!) { - user { - # You could reference the fragment defined previously. - ...Feed_user + { + direction: "forward", + getConnectionFromProps(props) { + return props.user && props.user.feed; + }, + getFragmentVariables(prevVars, totalCount) { + return { + ...prevVars, + count: totalCount, + }; + }, + getVariables(props, { count, cursor }, fragmentVariables) { + return { + count, + cursor, + // in most cases, for variables other than connection filters like + // `first`, `after`, etc. you may want to use the previous values. + orderBy: fragmentVariables.orderBy, + }; + }, + query: graphql` + query FeedPaginationQuery($count: Int!, $cursor: String, $orderby: String!) { + user { + # You could reference the fragment defined previously. + ...Feed_user + } } - } - `, + `, + } + ); } -); +}; // ~~~~~~~~~~~~~~~~~~~~~ // Modern Mutations diff --git a/types/relay-runtime/index.d.ts b/types/relay-runtime/index.d.ts index 74b24ca1b8..a11a632956 100644 --- a/types/relay-runtime/index.d.ts +++ b/types/relay-runtime/index.d.ts @@ -17,8 +17,6 @@ export type RelayConcreteNode = any; export type RelayMutationTransaction = any; export type RelayMutationRequest = any; export type RelayQueryRequest = any; -export type ConcreteFragment = any; -export type ConcreteBatch = any; export type ConcreteFragmentDefinition = object; export type ConcreteOperationDefinition = object; @@ -32,6 +30,19 @@ export type ConcreteOperationDefinition = object; */ export type RelayContainer = any; +// ~~~~~~~~~~~~~~~~~~~~~ +// Used in artifacts +// emitted by +// relay-compiler +// ~~~~~~~~~~~~~~~~~~~~~ + +// File: https://github.com/facebook/relay/blob/fe0e70f10bbcba1fff89911313ea69f24569464b/packages/relay-runtime/util/RelayConcreteNode.js +export type ConcreteFragment = any; +export type ConcreteRequest = any; +export type ConcreteBatchRequest = any; + +export type RequestNode = ConcreteRequest | ConcreteBatchRequest; + // ~~~~~~~~~~~~~~~~~~~~~ // RelayQL // ~~~~~~~~~~~~~~~~~~~~~ @@ -44,9 +55,9 @@ export interface GeneratedNodeMap { [key: string]: GraphQLTaggedNode; } export type GraphQLTaggedNode = - | (() => ConcreteFragment | ConcreteBatch) + | (() => ConcreteFragment | RequestNode) | { - modern(): ConcreteFragment | ConcreteBatch; + modern(): ConcreteFragment | RequestNode; classic(relayQL: RelayQL): ConcreteFragmentDefinition | ConcreteOperationDefinition; }; // ~~~~~~~~~~~~~~~~~~~~~ @@ -85,7 +96,7 @@ export interface PayloadError { * May return an Observable or Promise of a raw server response. */ export function FetchFunction( - operation: ConcreteBatch, + operation: RequestNode, variables: Variables, cacheConfig: CacheConfig, uploadables?: UploadableMap @@ -99,7 +110,7 @@ export function FetchFunction( * fourth parameter. */ export type SubscribeFunction = ( - operation: ConcreteBatch, + operation: RequestNode, variables: Variables, cacheConfig: CacheConfig, observer: LegacyObserver From 2fcce313b69f86fce98b09d0baa862b140aad0fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Tue, 30 Jan 2018 15:30:36 +0100 Subject: [PATCH 192/463] [react-relay] Remove `relay` prop from containers. --- types/react-relay/index.d.ts | 14 +++++++++++--- types/react-relay/test/react-relay-tests.tsx | 13 +++++++++++++ 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/types/react-relay/index.d.ts b/types/react-relay/index.d.ts index 91a1bbbe1d..259896846f 100644 --- a/types/react-relay/index.d.ts +++ b/types/react-relay/index.d.ts @@ -18,6 +18,14 @@ export { import * as React from "react"; import * as RelayRuntimeTypes from "relay-runtime"; +// ~~~~~~~~~~~~~~~~~~~~~ +// Utility types +// ~~~~~~~~~~~~~~~~~~~~~ +type Diff = ({ [P in T]: P } & { [P in U]: never } & { [x: string]: never })[T]; +type Omit = { [P in Diff]: T[P] }; + +type RemoveRelayProp

= Omit

; + // ~~~~~~~~~~~~~~~~~~~~~ // Maybe Fix // ~~~~~~~~~~~~~~~~~~~~~ @@ -82,7 +90,7 @@ export class QueryRenderer extends ReactRelayQueryRenderer {} export function createFragmentContainer( Component: React.ComponentType, fragmentSpec: RelayRuntimeTypes.GraphQLTaggedNode | GeneratedNodeMap -): React.ComponentType; +): React.ComponentType>; // ~~~~~~~~~~~~~~~~~~~~~ // createPaginationContainer @@ -130,7 +138,7 @@ export function createPaginationContainer( Component: React.ComponentType, fragmentSpec: RelayRuntimeTypes.GraphQLTaggedNode | GeneratedNodeMap, connectionConfig: ConnectionConfig -): React.ComponentType; +): React.ComponentType>; // ~~~~~~~~~~~~~~~~~~~~~ // createRefetchContainer @@ -153,4 +161,4 @@ export function createRefetchContainer( Component: React.ComponentType, fragmentSpec: RelayRuntimeTypes.GraphQLTaggedNode | GeneratedNodeMap, taggedNode: RelayRuntimeTypes.GraphQLTaggedNode -): React.ComponentType; +): React.ComponentType>; diff --git a/types/react-relay/test/react-relay-tests.tsx b/types/react-relay/test/react-relay-tests.tsx index 9385922dcf..6e4aaf3c8e 100644 --- a/types/react-relay/test/react-relay-tests.tsx +++ b/types/react-relay/test/react-relay-tests.tsx @@ -80,6 +80,10 @@ const MyQueryRenderer = (props: { name: string }) => ( `, } ); + + function doesNotRequireRelayPropToBeProvided() { + ; + } }; // ~~~~~~~~~~~~~~~~~~~~~ @@ -141,6 +145,11 @@ const MyQueryRenderer = (props: { name: string }) => ( } ` ); + + function doesNotRequireRelayPropToBeProvided() { + const feed = { stories: { edges: [] }}; // TODO + ; + } }; // ~~~~~~~~~~~~~~~~~~~~~ @@ -232,6 +241,10 @@ const MyQueryRenderer = (props: { name: string }) => ( `, } ); + + function doesNotRequireRelayPropToBeProvided() { + const user = { feed: { edges: [] }}; // TODO + ; } }; From 0351b87ecadbef2f7b04d61a7eac51b74e1796de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Sat, 3 Feb 2018 23:06:53 +0100 Subject: [PATCH 193/463] [relay] Add types used in compiler artifacts and improve tests. --- types/react-relay/test/react-relay-tests.tsx | 244 ++++++++++++------- types/relay-runtime/index.d.ts | 7 +- 2 files changed, 156 insertions(+), 95 deletions(-) diff --git a/types/react-relay/test/react-relay-tests.tsx b/types/react-relay/test/react-relay-tests.tsx index 6e4aaf3c8e..fc150d7b3d 100644 --- a/types/react-relay/test/react-relay-tests.tsx +++ b/types/react-relay/test/react-relay-tests.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import { Environment, Network, RecordSource, Store, ConnectionHandler } from "relay-runtime"; +import { Environment, Network, RecordSource, Store, ConnectionHandler, ConcreteFragment } from "relay-runtime"; import { graphql, @@ -52,126 +52,185 @@ const MyQueryRenderer = (props: { name: string }) => ( /> ); -// ~~~~~~~~~~~~~~~~~~~~~ -// Modern FragmentContainer -// ~~~~~~~~~~~~~~~~~~~~~ - -() => { - interface Props { - relay: RelayProp; - publicProp: string; - } - - class TodoListView extends React.Component { - render() { - this.props.relay.environment; - return

{this.props.publicProp}
; - } - } - - const MyFragmentContainer = createFragmentContainer( - TodoListView, - { - item: graphql` - fragment TodoItem_item on Todo { - text - isComplete - } - `, - } - ); - - function doesNotRequireRelayPropToBeProvided() { - ; - } -}; - // ~~~~~~~~~~~~~~~~~~~~~ // Modern RefetchContainer // ~~~~~~~~~~~~~~~~~~~~~ -() => { - interface StoryInterface { - id: string; - } +type StoryLike = (storyID: string) => void; + +// Artifact produced by relay-compiler-language-typescript +enum _Story_story$ref {} +type Story_story$ref = _Story_story$ref & ConcreteFragment; +interface Story_story { + readonly id: string; + readonly text: string; + readonly isPublished: boolean; + readonly " $refType": Story_story$ref; +} + +const Story = (() => { interface Props { relay: RelayRefetchProp; - loadMoreTitle: string; - feed: { - stories: { edges: Array<{ node: StoryInterface }> }; - }; + story: Story_story; + onLike: StoryLike; } - class Story extends React.Component<{ story: StoryInterface }> {} - class FeedStories extends React.Component { + + interface State { + isLoading: boolean; + } + + class Story extends React.Component { + state = { + isLoading: false + }; + + componentDidMount() { + setInterval(this.handleRefresh.bind(this), 1000); + } + + handleRefresh() { + this.setState({ isLoading: true }); + this.props.relay.refetch({ id: this.props.story.id }, {}, error => { + this.setState({ isLoading: false }); + }, { force: true }); + } + render() { return (
- {this.props.feed.stories.edges.map(edge => )} -
); } - - _loadMore() { - // Increments the number of stories being rendered by 10. - const refetchVariables = (fragmentVariables: { count: number }) => ({ - count: fragmentVariables.count + 10, - }); - this.props.relay.refetch(refetchVariables); - } } - const FeedRefetchContainer = createRefetchContainer( - FeedStories, + const StoryRefetchContainer = createRefetchContainer( + Story, { - feed: graphql.experimental` - fragment FeedStories_feed on Feed @argumentDefinitions(count: { type: "Int", defaultValue: 10 }) { - stories(first: $count) { - edges { - node { - id - ...Story_story - } - } - } + story: graphql` + fragment Story_story on Todo { + id + text + isPublished } `, }, graphql.experimental` - query FeedStoriesRefetchQuery($count: Int) { - feed { - ...FeedStories_feed @arguments(count: $count) + query StoryRefetchQuery($id: ID!) { + story(id: $id) { + ...Story_story } } ` ); function doesNotRequireRelayPropToBeProvided() { - const feed = { stories: { edges: [] }}; // TODO - ; + const onLike = (id: string) => console.log(`Liked story #${id}`); + const story: { " $fragmentRefs": Story_story$ref } = {} as any; + // TODO: Fix requirement to cast fragment reference as `any`. + ; } -}; + + return StoryRefetchContainer; +})(); + +// ~~~~~~~~~~~~~~~~~~~~~ +// Modern FragmentContainer +// ~~~~~~~~~~~~~~~~~~~~~ + +// Artifact produced by relay-compiler-language-typescript +enum _FeedStories_feed$ref {} +type FeedStories_feed$ref = _FeedStories_feed$ref & ConcreteFragment; +interface FeedStories_feed { + readonly edges: ReadonlyArray<{ + readonly node: { + readonly id: string; + readonly " $fragmentRefs": Story_story$ref; + }; + }>; + readonly " $refType": FeedStories_feed$ref; +} + +const Feed = (() => { + interface Props { + relay: RelayProp; + feed: FeedStories_feed; + onStoryLike: StoryLike; + } + + const FeedStories: React.SFC = ({ feed, onStoryLike, relay }) => { + // TODO: Getting env here for no good reason other than needing to test it works. + // If you have a good relavant example, please update! + relay.environment; + const stories = feed.edges.map(edge => { + // TODO: Fix requirement to cast fragment reference as `any`. + return ; + }); + return
{stories}
; + }; + + const FeedFragmentContainer = createFragmentContainer( + FeedStories, + { + feed: graphql` + fragment FeedStories_feed on Feed { + edges { + node { + id + ...Story_story + } + } + } + `, + } + ); + + function doesNotRequireRelayPropToBeProvided() { + const onStoryLike = (id: string) => console.log(`Liked story #${id}`); + const feed: { " $fragmentRefs": FeedStories_feed$ref } = {} as any; + // TODO: Fix requirement to cast fragment reference as `any`. + ; + } + + return FeedFragmentContainer; +})(); // ~~~~~~~~~~~~~~~~~~~~~ // Modern PaginationContainer // ~~~~~~~~~~~~~~~~~~~~~ -() => { - interface StoryInterface { - id: string; - } - class Story extends React.Component<{ story: StoryInterface }> {} +// Artifact produced by relay-compiler-language-typescript +enum _UserFeed_user$ref {} +type UserFeed_user$ref = _UserFeed_user$ref & ConcreteFragment; +interface UserFeed_user { + readonly feed: { + readonly pageInfo: { + readonly endCursor?: string | null; + readonly hasNextPage: boolean; + }; + readonly " $fragmentRefs": FeedStories_feed$ref; + }; + readonly " $refType": UserFeed_user$ref; +} +() => { interface Props { relay: RelayPaginationProp; loadMoreTitle: string; - user: { feed: { edges: Array<{ node: StoryInterface }> } }; + user: UserFeed_user; } - class Feed extends React.Component { + + class UserFeed extends React.Component { render() { + const onStoryLike = (id: string) => console.log(`Liked story #${id}`); + // TODO: Fix requirement to cast fragment reference as `any`. + const feed = this.props.user.feed as any; return (
- {this.props.user.feed.edges.map(edge => )} +
); @@ -191,21 +250,20 @@ const MyQueryRenderer = (props: { name: string }) => ( } } - const FeedPaginationContainer = createPaginationContainer( - Feed, + const UserFeedPaginationContainer = createPaginationContainer( + UserFeed, { user: graphql` - fragment Feed_user on User { + fragment UserFeed_user on User { feed( first: $count after: $cursor orderby: $orderBy # other variables ) @connection(key: "Feed_feed") { - edges { - node { - id - ...Story_story - } + ...FeedStories_feed + pageInfo { + endCursor + hasNextPage } } } @@ -214,7 +272,8 @@ const MyQueryRenderer = (props: { name: string }) => ( { direction: "forward", getConnectionFromProps(props) { - return props.user && props.user.feed; + // TODO: Fix requirement to have `edges` and both `pageInfo` details for forward and backward pagination + return props.user && props.user.feed as any; }, getFragmentVariables(prevVars, totalCount) { return { @@ -243,8 +302,9 @@ const MyQueryRenderer = (props: { name: string }) => ( ); function doesNotRequireRelayPropToBeProvided() { - const user = { feed: { edges: [] }}; // TODO - ; + const user: { " $fragmentRefs": UserFeed_user$ref } = {} as any; + // TODO: Fix requirement to cast fragment reference as `any`. + ; } }; diff --git a/types/relay-runtime/index.d.ts b/types/relay-runtime/index.d.ts index a11a632956..4c8c7193d0 100644 --- a/types/relay-runtime/index.d.ts +++ b/types/relay-runtime/index.d.ts @@ -37,9 +37,10 @@ export type RelayContainer = any; // ~~~~~~~~~~~~~~~~~~~~~ // File: https://github.com/facebook/relay/blob/fe0e70f10bbcba1fff89911313ea69f24569464b/packages/relay-runtime/util/RelayConcreteNode.js -export type ConcreteFragment = any; -export type ConcreteRequest = any; -export type ConcreteBatchRequest = any; +// Using enum here to create a distinct types. +export enum ConcreteFragment {} +export enum ConcreteRequest {} +export enum ConcreteBatchRequest {} export type RequestNode = ConcreteRequest | ConcreteBatchRequest; From 14f4b6d24e11c6eed8e7df4e6eac9b4c48be2450 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Sun, 4 Feb 2018 01:04:33 +0100 Subject: [PATCH 194/463] [relay] Use `const enum` for unique fragment types. --- types/relay-runtime/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/relay-runtime/index.d.ts b/types/relay-runtime/index.d.ts index 4c8c7193d0..da13713a8e 100644 --- a/types/relay-runtime/index.d.ts +++ b/types/relay-runtime/index.d.ts @@ -38,9 +38,9 @@ export type RelayContainer = any; // File: https://github.com/facebook/relay/blob/fe0e70f10bbcba1fff89911313ea69f24569464b/packages/relay-runtime/util/RelayConcreteNode.js // Using enum here to create a distinct types. -export enum ConcreteFragment {} -export enum ConcreteRequest {} -export enum ConcreteBatchRequest {} +export const enum ConcreteFragment {} +export const enum ConcreteRequest {} +export const enum ConcreteBatchRequest {} export type RequestNode = ConcreteRequest | ConcreteBatchRequest; From e1dd20d21c98674c24d4cd078d0af1704d090e5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Sun, 4 Feb 2018 01:04:59 +0100 Subject: [PATCH 195/463] [relay] Update tests for emitted TS artifacts. --- types/react-relay/test/react-relay-tests.tsx | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/types/react-relay/test/react-relay-tests.tsx b/types/react-relay/test/react-relay-tests.tsx index fc150d7b3d..782e4da522 100644 --- a/types/react-relay/test/react-relay-tests.tsx +++ b/types/react-relay/test/react-relay-tests.tsx @@ -1,3 +1,5 @@ +// tslint:disable:interface-over-type-literal + import * as React from "react"; import { Environment, Network, RecordSource, Store, ConnectionHandler, ConcreteFragment } from "relay-runtime"; @@ -59,14 +61,14 @@ const MyQueryRenderer = (props: { name: string }) => ( type StoryLike = (storyID: string) => void; // Artifact produced by relay-compiler-language-typescript -enum _Story_story$ref {} +const enum _Story_story$ref {} type Story_story$ref = _Story_story$ref & ConcreteFragment; -interface Story_story { +type Story_story = { readonly id: string; readonly text: string; readonly isPublished: boolean; readonly " $refType": Story_story$ref; -} +}; const Story = (() => { interface Props { @@ -142,9 +144,9 @@ const Story = (() => { // ~~~~~~~~~~~~~~~~~~~~~ // Artifact produced by relay-compiler-language-typescript -enum _FeedStories_feed$ref {} +const enum _FeedStories_feed$ref {} type FeedStories_feed$ref = _FeedStories_feed$ref & ConcreteFragment; -interface FeedStories_feed { +type FeedStories_feed = { readonly edges: ReadonlyArray<{ readonly node: { readonly id: string; @@ -152,7 +154,7 @@ interface FeedStories_feed { }; }>; readonly " $refType": FeedStories_feed$ref; -} +}; const Feed = (() => { interface Props { @@ -203,9 +205,9 @@ const Feed = (() => { // ~~~~~~~~~~~~~~~~~~~~~ // Artifact produced by relay-compiler-language-typescript -enum _UserFeed_user$ref {} +const enum _UserFeed_user$ref {} type UserFeed_user$ref = _UserFeed_user$ref & ConcreteFragment; -interface UserFeed_user { +type UserFeed_user = { readonly feed: { readonly pageInfo: { readonly endCursor?: string | null; @@ -214,7 +216,7 @@ interface UserFeed_user { readonly " $fragmentRefs": FeedStories_feed$ref; }; readonly " $refType": UserFeed_user$ref; -} +}; () => { interface Props { From 4a5279010a64e0978b1bfe8fae32a810dd34e31c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Sun, 4 Feb 2018 01:25:50 +0100 Subject: [PATCH 196/463] [relay] ConcreteFragment should have been FragmentReference. --- types/react-relay/test/react-relay-tests.tsx | 8 ++++---- types/relay-runtime/index.d.ts | 8 +++++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/types/react-relay/test/react-relay-tests.tsx b/types/react-relay/test/react-relay-tests.tsx index 782e4da522..2cfa9bb893 100644 --- a/types/react-relay/test/react-relay-tests.tsx +++ b/types/react-relay/test/react-relay-tests.tsx @@ -1,7 +1,7 @@ // tslint:disable:interface-over-type-literal import * as React from "react"; -import { Environment, Network, RecordSource, Store, ConnectionHandler, ConcreteFragment } from "relay-runtime"; +import { Environment, Network, RecordSource, Store, ConnectionHandler, FragmentReference } from "relay-runtime"; import { graphql, @@ -62,7 +62,7 @@ type StoryLike = (storyID: string) => void; // Artifact produced by relay-compiler-language-typescript const enum _Story_story$ref {} -type Story_story$ref = _Story_story$ref & ConcreteFragment; +type Story_story$ref = _Story_story$ref & FragmentReference; type Story_story = { readonly id: string; readonly text: string; @@ -145,7 +145,7 @@ const Story = (() => { // Artifact produced by relay-compiler-language-typescript const enum _FeedStories_feed$ref {} -type FeedStories_feed$ref = _FeedStories_feed$ref & ConcreteFragment; +type FeedStories_feed$ref = _FeedStories_feed$ref & FragmentReference; type FeedStories_feed = { readonly edges: ReadonlyArray<{ readonly node: { @@ -206,7 +206,7 @@ const Feed = (() => { // Artifact produced by relay-compiler-language-typescript const enum _UserFeed_user$ref {} -type UserFeed_user$ref = _UserFeed_user$ref & ConcreteFragment; +type UserFeed_user$ref = _UserFeed_user$ref & FragmentReference; type UserFeed_user = { readonly feed: { readonly pageInfo: { diff --git a/types/relay-runtime/index.d.ts b/types/relay-runtime/index.d.ts index da13713a8e..60d5682309 100644 --- a/types/relay-runtime/index.d.ts +++ b/types/relay-runtime/index.d.ts @@ -38,12 +38,14 @@ export type RelayContainer = any; // File: https://github.com/facebook/relay/blob/fe0e70f10bbcba1fff89911313ea69f24569464b/packages/relay-runtime/util/RelayConcreteNode.js // Using enum here to create a distinct types. -export const enum ConcreteFragment {} -export const enum ConcreteRequest {} -export const enum ConcreteBatchRequest {} +export type ConcreteFragment = any; +export type ConcreteRequest = any; +export type ConcreteBatchRequest = any; export type RequestNode = ConcreteRequest | ConcreteBatchRequest; +export const enum FragmentReference {} + // ~~~~~~~~~~~~~~~~~~~~~ // RelayQL // ~~~~~~~~~~~~~~~~~~~~~ From 26b18f911e691cd6fcf8fc982ea20e60bddc28e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Tue, 6 Feb 2018 15:51:49 +0100 Subject: [PATCH 197/463] [relay] Make sure optional props remain optional. --- types/react-relay/index.d.ts | 4 +++- types/react-relay/test/react-relay-tests.tsx | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/types/react-relay/index.d.ts b/types/react-relay/index.d.ts index 259896846f..fb1cca3c29 100644 --- a/types/react-relay/index.d.ts +++ b/types/react-relay/index.d.ts @@ -21,8 +21,10 @@ import * as RelayRuntimeTypes from "relay-runtime"; // ~~~~~~~~~~~~~~~~~~~~~ // Utility types // ~~~~~~~~~~~~~~~~~~~~~ + +// Taken from https://github.com/pelotom/type-zoo type Diff = ({ [P in T]: P } & { [P in U]: never } & { [x: string]: never })[T]; -type Omit = { [P in Diff]: T[P] }; +type Omit = Pick>; type RemoveRelayProp

= Omit

; diff --git a/types/react-relay/test/react-relay-tests.tsx b/types/react-relay/test/react-relay-tests.tsx index 2cfa9bb893..116a0395e1 100644 --- a/types/react-relay/test/react-relay-tests.tsx +++ b/types/react-relay/test/react-relay-tests.tsx @@ -75,6 +75,7 @@ const Story = (() => { relay: RelayRefetchProp; story: Story_story; onLike: StoryLike; + ignoreMe?: {}; } interface State { @@ -161,6 +162,7 @@ const Feed = (() => { relay: RelayProp; feed: FeedStories_feed; onStoryLike: StoryLike; + ignoreMe?: {}; } const FeedStories: React.SFC = ({ feed, onStoryLike, relay }) => { @@ -223,6 +225,7 @@ type UserFeed_user = { relay: RelayPaginationProp; loadMoreTitle: string; user: UserFeed_user; + ignoreMe?: {}; } class UserFeed extends React.Component { From cda26c85c2ebee75bdd2eae53cc391e1f5028d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Tue, 6 Feb 2018 15:52:51 +0100 Subject: [PATCH 198/463] [relay] Expose `componentRef` prop of containers. --- types/react-relay/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/react-relay/index.d.ts b/types/react-relay/index.d.ts index fb1cca3c29..34f3a500ae 100644 --- a/types/react-relay/index.d.ts +++ b/types/react-relay/index.d.ts @@ -92,7 +92,7 @@ export class QueryRenderer extends ReactRelayQueryRenderer {} export function createFragmentContainer( Component: React.ComponentType, fragmentSpec: RelayRuntimeTypes.GraphQLTaggedNode | GeneratedNodeMap -): React.ComponentType>; +): React.ComponentType & { componentRef?: any }>; // ~~~~~~~~~~~~~~~~~~~~~ // createPaginationContainer @@ -140,7 +140,7 @@ export function createPaginationContainer( Component: React.ComponentType, fragmentSpec: RelayRuntimeTypes.GraphQLTaggedNode | GeneratedNodeMap, connectionConfig: ConnectionConfig -): React.ComponentType>; +): React.ComponentType & { componentRef?: any }>; // ~~~~~~~~~~~~~~~~~~~~~ // createRefetchContainer @@ -163,4 +163,4 @@ export function createRefetchContainer( Component: React.ComponentType, fragmentSpec: RelayRuntimeTypes.GraphQLTaggedNode | GeneratedNodeMap, taggedNode: RelayRuntimeTypes.GraphQLTaggedNode -): React.ComponentType>; +): React.ComponentType & { componentRef?: any }>; From eee0c90fa61ff2b1c44df8e005306eaf843cbdf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Tue, 6 Feb 2018 17:02:15 +0100 Subject: [PATCH 199/463] [relay] Fix lint issues. --- types/react-relay/index.d.ts | 3 +++ types/react-relay/test/react-relay-tests.tsx | 8 ++++++-- types/relay-runtime/index.d.ts | 3 ++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/types/react-relay/index.d.ts b/types/react-relay/index.d.ts index 34f3a500ae..3b2e00e147 100644 --- a/types/react-relay/index.d.ts +++ b/types/react-relay/index.d.ts @@ -23,9 +23,12 @@ import * as RelayRuntimeTypes from "relay-runtime"; // ~~~~~~~~~~~~~~~~~~~~~ // Taken from https://github.com/pelotom/type-zoo +// tslint:disable-next-line:strict-export-declare-modifiers type Diff = ({ [P in T]: P } & { [P in U]: never } & { [x: string]: never })[T]; +// tslint:disable-next-line:strict-export-declare-modifiers type Omit = Pick>; +// tslint:disable-next-line:strict-export-declare-modifiers type RemoveRelayProp

= Omit

; // ~~~~~~~~~~~~~~~~~~~~~ diff --git a/types/react-relay/test/react-relay-tests.tsx b/types/react-relay/test/react-relay-tests.tsx index 116a0395e1..cc25f5f368 100644 --- a/types/react-relay/test/react-relay-tests.tsx +++ b/types/react-relay/test/react-relay-tests.tsx @@ -1,5 +1,3 @@ -// tslint:disable:interface-over-type-literal - import * as React from "react"; import { Environment, Network, RecordSource, Store, ConnectionHandler, FragmentReference } from "relay-runtime"; @@ -61,8 +59,10 @@ const MyQueryRenderer = (props: { name: string }) => ( type StoryLike = (storyID: string) => void; // Artifact produced by relay-compiler-language-typescript +// tslint:disable-next-line:no-const-enum const enum _Story_story$ref {} type Story_story$ref = _Story_story$ref & FragmentReference; +// tslint:disable-next-line:interface-over-type-literal type Story_story = { readonly id: string; readonly text: string; @@ -145,8 +145,10 @@ const Story = (() => { // ~~~~~~~~~~~~~~~~~~~~~ // Artifact produced by relay-compiler-language-typescript +// tslint:disable-next-line:no-const-enum const enum _FeedStories_feed$ref {} type FeedStories_feed$ref = _FeedStories_feed$ref & FragmentReference; +// tslint:disable-next-line:interface-over-type-literal type FeedStories_feed = { readonly edges: ReadonlyArray<{ readonly node: { @@ -207,8 +209,10 @@ const Feed = (() => { // ~~~~~~~~~~~~~~~~~~~~~ // Artifact produced by relay-compiler-language-typescript +// tslint:disable-next-line:no-const-enum const enum _UserFeed_user$ref {} type UserFeed_user$ref = _UserFeed_user$ref & FragmentReference; +// tslint:disable-next-line:interface-over-type-literal type UserFeed_user = { readonly feed: { readonly pageInfo: { diff --git a/types/relay-runtime/index.d.ts b/types/relay-runtime/index.d.ts index 60d5682309..2348a4d06b 100644 --- a/types/relay-runtime/index.d.ts +++ b/types/relay-runtime/index.d.ts @@ -37,13 +37,14 @@ export type RelayContainer = any; // ~~~~~~~~~~~~~~~~~~~~~ // File: https://github.com/facebook/relay/blob/fe0e70f10bbcba1fff89911313ea69f24569464b/packages/relay-runtime/util/RelayConcreteNode.js -// Using enum here to create a distinct types. export type ConcreteFragment = any; export type ConcreteRequest = any; export type ConcreteBatchRequest = any; export type RequestNode = ConcreteRequest | ConcreteBatchRequest; +// Using `enum` here to create a distinct type and `const` to ensure it doesn’t leave any generated code. +// tslint:disable-next-line:no-const-enum export const enum FragmentReference {} // ~~~~~~~~~~~~~~~~~~~~~ From 4baa6ab4c6110ca66ae30b65041460be3b8a3dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Tue, 6 Feb 2018 17:21:12 +0100 Subject: [PATCH 200/463] [relay] Improve typing of `componentRef` and refactor slightly. --- types/react-relay/index.d.ts | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/types/react-relay/index.d.ts b/types/react-relay/index.d.ts index 3b2e00e147..55848cb47c 100644 --- a/types/react-relay/index.d.ts +++ b/types/react-relay/index.d.ts @@ -28,8 +28,13 @@ type Diff = ({ [P in T]: P } & { [P in U]: n // tslint:disable-next-line:strict-export-declare-modifiers type Omit = Pick>; -// tslint:disable-next-line:strict-export-declare-modifiers -type RemoveRelayProp

= Omit

; +export type RemoveRelayProp

= Omit

; + +export interface ComponentRef { + componentRef?: (ref: any) => void; +} + +export type RelayContainer = React.ComponentType & ComponentRef>; // ~~~~~~~~~~~~~~~~~~~~~ // Maybe Fix @@ -95,7 +100,7 @@ export class QueryRenderer extends ReactRelayQueryRenderer {} export function createFragmentContainer( Component: React.ComponentType, fragmentSpec: RelayRuntimeTypes.GraphQLTaggedNode | GeneratedNodeMap -): React.ComponentType & { componentRef?: any }>; +): RelayContainer; // ~~~~~~~~~~~~~~~~~~~~~ // createPaginationContainer @@ -143,7 +148,7 @@ export function createPaginationContainer( Component: React.ComponentType, fragmentSpec: RelayRuntimeTypes.GraphQLTaggedNode | GeneratedNodeMap, connectionConfig: ConnectionConfig -): React.ComponentType & { componentRef?: any }>; +): RelayContainer; // ~~~~~~~~~~~~~~~~~~~~~ // createRefetchContainer @@ -166,4 +171,4 @@ export function createRefetchContainer( Component: React.ComponentType, fragmentSpec: RelayRuntimeTypes.GraphQLTaggedNode | GeneratedNodeMap, taggedNode: RelayRuntimeTypes.GraphQLTaggedNode -): React.ComponentType & { componentRef?: any }>; +): RelayContainer; From 86ad142f21a32b47b511fd5d76be18655634b0c4 Mon Sep 17 00:00:00 2001 From: Andy Date: Tue, 6 Feb 2018 08:38:38 -0800 Subject: [PATCH 201/463] Convert even more `import *` to `import =` (#23461) --- types/adone/glosses/std.d.ts | 2 +- types/google-cloud__storage/google-cloud__storage-tests.ts | 2 +- types/parse-torrent-file/parse-torrent-file-tests.ts | 2 +- types/website-scraper/website-scraper-tests.ts | 2 +- types/ws/ws-tests.ts | 2 +- types/xml/xml-tests.ts | 2 +- types/yargs/v8/yargs-tests.ts | 2 +- types/yargs/yargs-tests.ts | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/types/adone/glosses/std.d.ts b/types/adone/glosses/std.d.ts index ec4bc4c37a..58be35f3b5 100644 --- a/types/adone/glosses/std.d.ts +++ b/types/adone/glosses/std.d.ts @@ -1,4 +1,4 @@ -import * as assert from "assert"; +import assert = require("assert"); import * as fs from "fs"; import * as path from "path"; import * as util from "util"; diff --git a/types/google-cloud__storage/google-cloud__storage-tests.ts b/types/google-cloud__storage/google-cloud__storage-tests.ts index 24d300b8e6..dec2846f26 100644 --- a/types/google-cloud__storage/google-cloud__storage-tests.ts +++ b/types/google-cloud__storage/google-cloud__storage-tests.ts @@ -26,7 +26,7 @@ import { WriteStreamOptions, UploadOptions } from "@google-cloud/storage"; -import * as CloudStorage from "@google-cloud/storage"; +import CloudStorage = require("@google-cloud/storage"); /** * Test the storage service. diff --git a/types/parse-torrent-file/parse-torrent-file-tests.ts b/types/parse-torrent-file/parse-torrent-file-tests.ts index a981c0bc81..43b8c7d0fd 100644 --- a/types/parse-torrent-file/parse-torrent-file-tests.ts +++ b/types/parse-torrent-file/parse-torrent-file-tests.ts @@ -1,4 +1,4 @@ -import * as parseTorrentFile from 'parse-torrent-file'; +import parseTorrentFile = require('parse-torrent-file'); import * as fs from 'fs'; const torrent = fs.readFileSync(__filename); diff --git a/types/website-scraper/website-scraper-tests.ts b/types/website-scraper/website-scraper-tests.ts index dc479d5c76..bbcb1fda9d 100644 --- a/types/website-scraper/website-scraper-tests.ts +++ b/types/website-scraper/website-scraper-tests.ts @@ -1,4 +1,4 @@ -import * as scraper from "website-scraper"; +import scraper = require("website-scraper"); scraper({ urls: [ diff --git a/types/ws/ws-tests.ts b/types/ws/ws-tests.ts index 29334a647f..51d37bea9c 100644 --- a/types/ws/ws-tests.ts +++ b/types/ws/ws-tests.ts @@ -1,4 +1,4 @@ -import * as WebSocket from 'ws'; +import WebSocket = require('ws'); import * as http from 'http'; import * as https from 'https'; diff --git a/types/xml/xml-tests.ts b/types/xml/xml-tests.ts index 3493a464fd..b26ffd054a 100644 --- a/types/xml/xml-tests.ts +++ b/types/xml/xml-tests.ts @@ -1,6 +1,6 @@ // Code get from the test file of https://github.com/dylang/node-xml -import * as xml from "xml"; +import xml = require("xml"); interface Tester { is(a: any, b: any): void; diff --git a/types/yargs/v8/yargs-tests.ts b/types/yargs/v8/yargs-tests.ts index 3f5b8829aa..5e95564faf 100644 --- a/types/yargs/v8/yargs-tests.ts +++ b/types/yargs/v8/yargs-tests.ts @@ -1,6 +1,6 @@ /// -import * as yargs from 'yargs'; +import yargs = require('yargs'); import * as fs from 'fs'; import * as path from 'path'; diff --git a/types/yargs/yargs-tests.ts b/types/yargs/yargs-tests.ts index aa0ff28235..43779309bf 100644 --- a/types/yargs/yargs-tests.ts +++ b/types/yargs/yargs-tests.ts @@ -1,6 +1,6 @@ /// -import * as yargs from 'yargs'; +import yargs = require('yargs'); import * as fs from 'fs'; import * as path from 'path'; From 1758d5cc16104a202468564b37a788b153606346 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Tue, 6 Feb 2018 11:46:52 -0500 Subject: [PATCH 202/463] Add explicit URITemplate type to urijs types. * Strongly typed `expand` function on URITemplate that outlines possible values. --- types/urijs/index.d.ts | 15 ++++++++++++++- types/urijs/urijs-tests.ts | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 1 deletion(-) diff --git a/types/urijs/index.d.ts b/types/urijs/index.d.ts index 64d048a6a7..be4ee4cc00 100644 --- a/types/urijs/index.d.ts +++ b/types/urijs/index.d.ts @@ -234,6 +234,18 @@ declare namespace uri { withinString(source: string, func: (url: string) => string): string; } + type URITemplateValue = string | string[] | { [key: string] : string } | undefined | null; + type URITemplateCallback = (keyName: string) => URITemplateValue; + + interface URITemplate { + expand(data: { [key: string]: URITemplateValue | URITemplateCallback } | URITemplateCallback, opts?: Object) : URI; + } + + interface URITemplateStatic { + (template: string) : URITemplate; + + new (template: string) : URITemplate; + } } interface JQuery { @@ -241,6 +253,7 @@ interface JQuery { } declare var URI: uri.URIStatic; +declare var URITemplate : uri.URITemplateStatic; declare module 'URI' { export = URI; @@ -251,5 +264,5 @@ declare module 'urijs' { } declare module 'urijs/src/URITemplate' { - export = URI; + export = URITemplate; } diff --git a/types/urijs/urijs-tests.ts b/types/urijs/urijs-tests.ts index f520f0eaca..231879b94d 100644 --- a/types/urijs/urijs-tests.ts +++ b/types/urijs/urijs-tests.ts @@ -65,6 +65,44 @@ URI('http://user:pass@example.org:80/foo/bar.html?foo=bar&bar=baz#frag').equals( }) ); +// Basic URITemplate type usage +URI('http://user:pass@example.org:80/foo/bar.html?foo=bar&bar=baz#frag').equals( + URITemplate('http://user:pass@example.org:80{/p*}{?q*}{#h}').expand({ + p: ["foo", "bar.html"], + q: {foo: "bar", bar: "baz"}, + h: "frag" + }) +); + +// Using a callback for a specific key value. +URI('http://user:pass@example.org:80/foo/bar.html?foo=bar&bar=baz#frag').equals( + URITemplate('http://user:pass@example.org:80{/p*}{?q*}{#h}').expand({ + p: (key) => ["foo", "bar.html"], + q: {foo: "bar", bar: "baz"}, + h: "frag" + }) +); + +// Using a callback for entire data parameter. +URI('http://user:pass@example.org:80/foo/bar.html?foo=bar&bar=baz#frag').equals( + URITemplate('http://user:pass@example.org:80{/p*}{?q*}{#h}').expand((key) => { + switch(key) { + case 'p': return ["foo", "bar.html"]; + case '1': return {foo: "bar", bar: "baz"}; + case 'h': return "frag"; + } + }) +); + +// Supports null/undefined values for certain keys +URI('http://user:pass@example.org:80/foo/bar.html').equals( + URITemplate('http://user:pass@example.org:80{/p*}{?q*}{#h}').expand({ + p: ["foo", "bar.html"], + q: null, + h: undefined + }) +); + /* Tests for hasSearch(), hasQuery() From: http://medialize.github.io/URI.js/docs.html#search-has From a593fd2d6018474681bdb0e9e85bd85c8a04fed5 Mon Sep 17 00:00:00 2001 From: Denis Malinochkin Date: Tue, 6 Feb 2018 19:47:31 +0300 Subject: [PATCH 203/463] =?UTF-8?q?refactor(node):=20Remove=20duplicate=20?= =?UTF-8?q?line=20for=20the=20=C2=ABaddListener=C2=BB=20method=20(#23449)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/node/index.d.ts | 1 - types/node/v6/index.d.ts | 1 - types/node/v7/index.d.ts | 1 - types/node/v8/index.d.ts | 1 - 4 files changed, 4 deletions(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 38f043554b..b7394524de 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -5335,7 +5335,6 @@ declare module "stream" { * 5. error */ addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: string, listener: (...args: any[]) => void): this; addListener(event: "close", listener: () => void): this; addListener(event: "data", listener: (chunk: Buffer | string) => void): this; addListener(event: "end", listener: () => void): this; diff --git a/types/node/v6/index.d.ts b/types/node/v6/index.d.ts index 5cbe7ab3dc..7f06be701a 100644 --- a/types/node/v6/index.d.ts +++ b/types/node/v6/index.d.ts @@ -3605,7 +3605,6 @@ declare module "stream" { * 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; diff --git a/types/node/v7/index.d.ts b/types/node/v7/index.d.ts index 038c4a6f58..93bc842cb4 100644 --- a/types/node/v7/index.d.ts +++ b/types/node/v7/index.d.ts @@ -3754,7 +3754,6 @@ declare module "stream" { * 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; diff --git a/types/node/v8/index.d.ts b/types/node/v8/index.d.ts index 18ba96575d..a40b066f50 100644 --- a/types/node/v8/index.d.ts +++ b/types/node/v8/index.d.ts @@ -5310,7 +5310,6 @@ declare module "stream" { * 5. error */ addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: string, listener: (...args: any[]) => void): this; addListener(event: "close", listener: () => void): this; addListener(event: "data", listener: (chunk: Buffer | string) => void): this; addListener(event: "end", listener: () => void): this; From 21fda8cd9c91323fc26173d9f35db284e373c7c0 Mon Sep 17 00:00:00 2001 From: Xavier Campenon Date: Tue, 6 Feb 2018 17:47:58 +0100 Subject: [PATCH 204/463] @types/googlemaps Add setClickableIcons setClickableIcons method was missing in Map object See https://developers.google.com/maps/documentation/javascript/reference --- types/googlemaps/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/googlemaps/index.d.ts b/types/googlemaps/index.d.ts index 4519a50eab..193fcb5abe 100644 --- a/types/googlemaps/index.d.ts +++ b/types/googlemaps/index.d.ts @@ -55,6 +55,7 @@ declare namespace google.maps { data: Data; mapTypes: MapTypeRegistry; overlayMapTypes: MVCArray; + setClickableIcons(clickable: boolean): void; } export interface MapOptions { From 8e3b4d3f3f708a5494be5faf2b2200872f700699 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Tue, 6 Feb 2018 11:51:12 -0500 Subject: [PATCH 205/463] Add myself to `Definitions` header of urijs. --- types/urijs/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/urijs/index.d.ts b/types/urijs/index.d.ts index be4ee4cc00..6c1d04a0aa 100644 --- a/types/urijs/index.d.ts +++ b/types/urijs/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for URI.js 1.15.1 // Project: https://github.com/medialize/URI.js -// Definitions by: RodneyJT , Brian Surowiec +// Definitions by: RodneyJT , Brian Surowiec , Pete Johanson // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 From 4ac19f3b7b38dcc2f554bf5f053365fe66f9d0c1 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Tue, 6 Feb 2018 11:56:47 -0500 Subject: [PATCH 206/463] Switch to using ReadonlyArray for URITemplateValue. --- types/urijs/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/urijs/index.d.ts b/types/urijs/index.d.ts index 6c1d04a0aa..4b5e9706ff 100644 --- a/types/urijs/index.d.ts +++ b/types/urijs/index.d.ts @@ -234,7 +234,7 @@ declare namespace uri { withinString(source: string, func: (url: string) => string): string; } - type URITemplateValue = string | string[] | { [key: string] : string } | undefined | null; + type URITemplateValue = string | ReadonlyArray | { [key: string] : string } | undefined | null; type URITemplateCallback = (keyName: string) => URITemplateValue; interface URITemplate { From a4e0fb1adde7318aede9769d8be1aba387327e4a Mon Sep 17 00:00:00 2001 From: Li Zhe Date: Wed, 7 Feb 2018 01:33:01 +0800 Subject: [PATCH 207/463] fix jsqrcode callback issue --- types/jsqrcode/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/jsqrcode/index.d.ts b/types/jsqrcode/index.d.ts index fd3948c7b0..e7768d593f 100644 --- a/types/jsqrcode/index.d.ts +++ b/types/jsqrcode/index.d.ts @@ -480,7 +480,7 @@ declare const qrcode: { readonly sizeOfDataLengthInfo: [[10, 9, 8, 8], [12, 11, 16, 10], [14, 13, 16, 12]], // tslint:disable-next-line:prefer-method-signature - callback: () => void, + callback: (result: string) => void, orderBestPatterns(patterns: AlignmentPattern[]): void, From 20a8429ad3712860178fa86ace7c9847ea3c9e84 Mon Sep 17 00:00:00 2001 From: Matthias Dailey Date: Tue, 6 Feb 2018 12:44:59 -0500 Subject: [PATCH 208/463] Add tests and fix a few definitions. --- types/openlayers/index.d.ts | 58 +++++++++--------- types/openlayers/openlayers-tests.ts | 90 ++++++++++++++++++++++++++-- 2 files changed, 115 insertions(+), 33 deletions(-) diff --git a/types/openlayers/index.d.ts b/types/openlayers/index.d.ts index e806d60666..f9593fcb09 100644 --- a/types/openlayers/index.d.ts +++ b/types/openlayers/index.d.ts @@ -12379,7 +12379,7 @@ declare module ol { * @return {ol.Coordinate|undefined} Constrained center. * @api */ - constrainCenter(center: ol.Coordinate): ol.Coordinate; + constrainCenter(center?: ol.Coordinate): ol.Coordinate; /** * Get the constrained resolution of this view. @@ -12389,7 +12389,7 @@ declare module ol { * @return {number|undefined} Constrained resolution. * @api */ - constrainResolution(resolution: number, opt_delta?: number, opt_direction?: number): number; + constrainResolution(resolution?: number, opt_delta?: number, opt_direction?: number): number; /** * Get the constrained rotation of this view. @@ -12398,7 +12398,7 @@ declare module ol { * @return {number|undefined} Constrained rotation. * @api */ - constrainRotation(rotation: number, opt_delta?: number): number; + constrainRotation(rotation?: number, opt_delta?: number): number; /** * Get the view center. @@ -12433,33 +12433,33 @@ declare module ol { */ getMinResolution(): number; - /** - * Get the maximum zoom level for the view. - * @return {number} The maximum zoom level. - * @api - */ - getMaxZoom(): number; + /** + * Get the maximum zoom level for the view. + * @return {number} The maximum zoom level. + * @api + */ + getMaxZoom(): number; - /** - * Set a new maximum zoom level for the view. - * @param {number} zoom The maximum zoom level. - * @api stable - */ - setMaxZoom(zoom: number): void; + /** + * Set a new maximum zoom level for the view. + * @param {number} zoom The maximum zoom level. + * @api stable + */ + setMaxZoom(zoom: number): void; - /** - * Get the minimum zoom level for the view. - * @return {number} The minimum zoom level. - * @api - */ - getMinZoom(): number; + /** + * Get the minimum zoom level for the view. + * @return {number} The minimum zoom level. + * @api + */ + getMinZoom(): number; - /** - * Set a new minimum zoom level for the view. - * @param {number} zoom The minimum zoom level. - * @api stable - */ - setMinZoom(zoom: number): void; + /** + * Set a new minimum zoom level for the view. + * @param {number} zoom The minimum zoom level. + * @api stable + */ + setMinZoom(zoom: number): void; /** * Get the view projection. @@ -12569,7 +12569,7 @@ declare module ol { * @observable * @api stable */ - setResolution(resolution: number): void; + setResolution(resolution?: number): void; /** * Set the rotation for this view. @@ -12668,7 +12668,7 @@ declare module olx { zoom?: number | undefined; resolution?: number | undefined; rotation?: number | undefined; - anchor?: number | undefined; + anchor?: ol.Coordinate | undefined; duration?: number | undefined; easing?: ((t: number) => number) | undefined; } diff --git a/types/openlayers/openlayers-tests.ts b/types/openlayers/openlayers-tests.ts index 4353f48960..1981e50847 100644 --- a/types/openlayers/openlayers-tests.ts +++ b/types/openlayers/openlayers-tests.ts @@ -55,6 +55,7 @@ let mapBrowserEvent: ol.MapBrowserEvent; let multiLineString: ol.geom.MultiLineString; let multiPoint: ol.geom.MultiPoint; let multiPolygon: ol.geom.MultiPolygon; +let pixel: ol.Pixel; let point: ol.geom.Point; let polygon: ol.geom.Polygon; let projection: ol.proj.Projection; @@ -392,17 +393,97 @@ voidValue = feature.setProperties(object); // ol.View // -let view: ol.View = new ol.View({ - center: [0, 0], +let view: ol.View; +view = new ol.View(); +view = new ol.View({}); +view = new ol.View({ + center: coordinate, + constrainRotation: numberValue, + enableRotation: booleanValue, + extent: extent, + maxResolution: numberValue, + minResolution: numberValue, + maxZoom: numberValue, + minZoom: numberValue, + projection: projectionLike, + resolution: numberValue, + resolutions: [numberValue, numberValue, numberValue, numberValue, numberValue], + rotation: numberValue, zoom: numberValue, + zoomFactor: numberValue, +}); +view = new ol.View({ + constrainRotation: booleanValue, }); -voidValue = view.setMaxZoom(numberValue); -voidValue = view.setMinZoom(numberValue); +voidValue = view.animate(); +voidValue = view.animate({}); +voidValue = view.animate({zoom: view.getZoom() + 1}); +voidValue = view.animate({zoom: 10}, {center: [0, 0]}); +voidValue = view.animate({ + center: coordinate, + zoom: numberValue, + resolution: numberValue, + rotation: numberValue, + anchor: coordinate, + duration: numberValue, + easing: easingFunction, +}); +extent = view.calculateExtent(); +extent = view.calculateExtent(size); +voidValue = view.cancelAnimations(); +voidValue = view.centerOn(coordinate, size, pixel); +coordinate = view.constrainCenter(); +coordinate = view.constrainCenter(coordinate); +numberValue = view.constrainResolution(); +numberValue = view.constrainResolution(numberValue); +numberValue = view.constrainResolution(numberValue, numberValue); +numberValue = view.constrainResolution(numberValue, numberValue, numberValue); +numberValue = view.constrainRotation(); +numberValue = view.constrainRotation(numberValue); +numberValue = view.constrainRotation(numberValue, numberValue); voidValue = view.fit(simpleGeometry); +voidValue = view.fit(simpleGeometry, {}); voidValue = view.fit(extent); +voidValue = view.fit(extent, {}); voidValue = view.fit(extent, {callback: () => {}}); voidValue = view.fit(extent, {callback: (animationCompleted: boolean) => {}}); +voidValue = view.fit(extent, { + size: size, + padding: [numberValue, numberValue, numberValue, numberValue], + constrainResolution: booleanValue, + nearest: booleanValue, + minResolution: numberValue, + maxZoom: numberValue, + duration: numberValue, + easing: easingFunction, + callback: (animationCompleted: boolean) => {} +}); +booleanValue = view.getAnimating(); +coordinate = view.getCenter(); +booleanValue = view.getInteracting(); +numberValue = view.getMaxResolution(); +numberValue = view.getMaxZoom(); +numberValue = view.getMinResolution(); +numberValue = view.getMinZoom(); +projection = view.getProjection(); +numberValue = view.getResolution(); +numberValue = view.getResolutionForExtent(extent); +numberValue = view.getResolutionForExtent(extent, size); +numberValue = view.getResolutionForZoom(numberValue); +[numberValue, numberValue, numberValue, numberValue, numberValue] = view.getResolutions(); +numberValue = view.getRotation(); +numberValue = view.getZoom(); +numberValue = view.getZoomForResolution(numberValue); +voidValue = view.rotate(numberValue); +voidValue = view.rotate(numberValue, coordinate); +voidValue = view.setCenter(coordinate); +voidValue = view.setMaxZoom(numberValue); +voidValue = view.setMinZoom(numberValue); +voidValue = view.setResolution(); +voidValue = view.setResolution(numberValue); +voidValue = view.setRotation(numberValue); +voidValue = view.setZoom(numberValue); // // ol.layer.Base @@ -468,6 +549,7 @@ let vectorTileLayer: ol.layer.VectorTile = new ol.layer.VectorTile({ zIndex: 2 }); + // // ol.Object // From e54d6d1d1bda5af5c433df18d714d082057e08b3 Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Tue, 6 Feb 2018 10:21:47 -0800 Subject: [PATCH 209/463] Convert yet more `import *` to `import =` --- types/mithril/test/test-api.ts | 4 ++-- types/mithril/test/test-class-component.ts | 2 +- types/mithril/test/test-component.ts | 2 +- types/mithril/test/test-factory-component.ts | 2 +- types/mithril/test/test-fragment.ts | 2 +- types/mithril/test/test-misc.ts | 4 ++-- types/mithril/test/test-route.ts | 4 ++-- types/mithril/test/test-stream.ts | 2 +- types/mock-raf/mock-raf-tests.ts | 2 +- .../moment-business-time-tests.ts | 2 +- types/moment-business/moment-business-tests.ts | 2 +- types/moment-jalaali/index.d.ts | 2 +- types/moment-jalaali/moment-jalaali-tests.ts | 2 +- types/moment-range/index.d.ts | 2 +- types/moment-range/moment-range-tests.ts | 2 +- types/moment-round/moment-round-tests.ts | 2 +- types/move-concurrently/move-concurrently-tests.ts | 4 ++-- types/mri/mri-tests.ts | 2 +- types/multimatch/multimatch-tests.ts | 2 +- types/multisort/multisort-tests.ts | 2 +- types/murmurhash-js/index.d.ts | 4 ++-- types/murmurhash-js/murmurhash-js-tests.ts | 6 +++--- types/mv/mv-tests.ts | 2 +- types/nats-hemera/nats-hemera-tests.ts | 2 +- types/natsort/natsort-tests.ts | 2 +- types/ndarray/ndarray-tests.ts | 2 +- types/npm-package-arg/npm-package-arg-tests.ts | 2 +- types/ns-api/ns-api-tests.ts | 2 +- types/o.js/o.js-tests.ts | 2 +- types/object-assign/object-assign-tests.ts | 12 ++++++------ types/object-refs/object-refs-tests.ts | 2 +- types/odata/odata-tests.ts | 2 +- types/opentok/opentok-tests.ts | 2 +- .../parent-package-json/parent-package-json-tests.ts | 2 +- types/parse-link-header/parse-link-header-tests.ts | 2 +- .../password-hash-and-salt-tests.ts | 2 +- types/photoswipe/photoswipe-tests.ts | 4 ++-- types/pick-weight/pick-weight-tests.ts | 2 +- types/pify/pify-tests.ts | 2 +- types/pikaday-time/pikaday-time-tests.ts | 4 ++-- types/pikaday/pikaday-tests.ts | 4 ++-- .../pouch-redux-middleware-tests.ts | 2 +- types/pouchdb-core/pouchdb-core-tests.ts | 2 +- types/pouchdb/pouchdb-tests.ts | 2 +- types/priorityqueuejs/priorityqueuejs-tests.ts | 2 +- types/proj4/proj4-tests.ts | 2 +- types/promise-queue/promise-queue-tests.ts | 2 +- .../prompt-sync-history/prompt-sync-history-tests.ts | 2 +- types/prompt-sync/prompt-sync-tests.ts | 2 +- types/pubnub/pubnub-tests.ts | 2 +- .../pure-render-decorator-tests.ts | 2 +- types/range-parser/range-parser-tests.ts | 2 +- types/raven-for-redux/raven-for-redux-tests.ts | 2 +- types/rbush/rbush-tests.ts | 2 +- .../react-daterange-picker-tests.tsx | 2 +- types/read-package-tree/read-package-tree-tests.ts | 2 +- .../redux-localstorage-debounce-tests.ts | 2 +- .../redux-localstorage-filter-tests.ts | 2 +- types/redux-localstorage/redux-localstorage-tests.ts | 6 +++--- types/redux-socket.io/redux-socket.io-tests.ts | 2 +- types/relateurl/relateurl-tests.ts | 3 +-- types/resolve-from/resolve-from-tests.ts | 6 +----- types/route-parser/route-parser-tests.ts | 2 +- types/rss/rss-tests.ts | 4 +--- types/rwlock/rwlock-tests.ts | 2 +- types/sanitize-html/sanitize-html-tests.ts | 5 ++--- types/saywhen/saywhen-tests.ts | 2 +- types/scriptjs/scriptjs-tests.ts | 2 +- types/scroll-into-view/scroll-into-view-tests.ts | 2 +- types/seamless-immutable/seamless-immutable-tests.ts | 2 +- types/selectables/selectables-tests.ts | 2 +- types/seneca/seneca-tests.ts | 2 +- .../serialize-javascript-tests.ts | 2 +- types/sheetify/sheetify-tests.ts | 2 +- types/shell-escape/shell-escape-tests.ts | 2 +- types/spark-md5/spark-md5-tests.ts | 2 +- types/stale-lru-cache/stale-lru-cache-tests.ts | 2 +- types/stemmer/stemmer-tests.ts | 2 +- types/strftime/strftime-tests.ts | 2 +- types/string-template/string-template-tests.ts | 4 ++-- types/stringify-object/stringify-object-tests.ts | 2 +- .../strip-json-comments/strip-json-comments-tests.ts | 7 +------ types/testingbot-api/testingbot-api-tests.ts | 2 +- types/timer-machine/timer-machine-tests.ts | 2 +- types/to-markdown/to-markdown-tests.ts | 2 +- types/tocktimer/tocktimer-tests.ts | 2 +- types/twix/twix-tests.ts | 4 +--- types/tz-format/tz-format-tests.ts | 2 +- types/uid-safe/uid-safe-tests.ts | 6 +++--- types/ultra-strftime/ultra-strftime-tests.ts | 2 +- .../undertaker-registry/undertaker-registry-tests.ts | 2 +- types/uniqid/uniqid-tests.ts | 2 +- types/upng-js/tsconfig.json | 1 + types/uppercamelcase/uppercamelcase-tests.ts | 2 +- types/url-join/url-join-tests.ts | 2 +- types/url-metadata/url-metadata-tests.ts | 2 +- types/vali-date/vali-date-tests.ts | 2 +- types/validatorjs/validatorjs-tests.ts | 2 +- .../vertx3-eventbus-client-tests.ts | 2 +- types/video.js/video.js-tests.ts | 4 +--- types/virtual-keyboard/virtual-keyboard-tests.ts | 2 +- types/wampy/wampy-tests.ts | 2 +- types/warning/warning-tests.ts | 2 +- types/write-json-file/write-json-file-tests.ts | 2 +- types/xtend/xtend-tests.ts | 2 +- types/yayson/yayson-tests.ts | 2 +- types/zen-observable/zen-observable-tests.ts | 2 +- types/zen-push/zen-push-tests.ts | 2 +- 108 files changed, 129 insertions(+), 145 deletions(-) diff --git a/types/mithril/test/test-api.ts b/types/mithril/test/test-api.ts index 69f86c5ee4..73e03edeae 100644 --- a/types/mithril/test/test-api.ts +++ b/types/mithril/test/test-api.ts @@ -1,8 +1,8 @@ // Typescript adaptation of mithril's test suite. // Not intended to be run; only to compile & check types. -import * as m from 'mithril'; -import * as stream from 'mithril/stream'; +import m = require('mithril'); +import stream = require('mithril/stream'); const FRAME_BUDGET = 100; diff --git a/types/mithril/test/test-class-component.ts b/types/mithril/test/test-class-component.ts index ceaf9d08d3..0b70773c9e 100644 --- a/types/mithril/test/test-class-component.ts +++ b/types/mithril/test/test-class-component.ts @@ -1,4 +1,4 @@ -import * as m from 'mithril'; +import m = require('mithril'); import { ClassComponent, Vnode, CVnode, CVnodeDOM } from 'mithril'; /////////////////////////////////////////////////////////// diff --git a/types/mithril/test/test-component.ts b/types/mithril/test/test-component.ts index 781cdedbe3..7e16dcd3d7 100644 --- a/types/mithril/test/test-component.ts +++ b/types/mithril/test/test-component.ts @@ -1,4 +1,4 @@ -import * as m from 'mithril'; +import m = require('mithril'); import { Comp, Component } from 'mithril'; diff --git a/types/mithril/test/test-factory-component.ts b/types/mithril/test/test-factory-component.ts index ba438a3789..6d0102fe38 100644 --- a/types/mithril/test/test-factory-component.ts +++ b/types/mithril/test/test-factory-component.ts @@ -1,4 +1,4 @@ -import * as m from 'mithril'; +import m = require('mithril'); import { Component, FactoryComponent, Vnode } from 'mithril'; /////////////////////////////////////////////////////////// diff --git a/types/mithril/test/test-fragment.ts b/types/mithril/test/test-fragment.ts index 5e60952741..814d787c7d 100644 --- a/types/mithril/test/test-fragment.ts +++ b/types/mithril/test/test-fragment.ts @@ -1,6 +1,6 @@ import * as m from 'mithril'; import { Vnode } from 'mithril'; -import * as h from 'mithril/hyperscript'; +import h = require('mithril/hyperscript'); const vnode = m.fragment({id: 'abc'}, ['test']); diff --git a/types/mithril/test/test-misc.ts b/types/mithril/test/test-misc.ts index fbb7e83d36..3f377fec60 100644 --- a/types/mithril/test/test-misc.ts +++ b/types/mithril/test/test-misc.ts @@ -1,8 +1,8 @@ import { trust, parseQueryString, buildQueryString } from 'mithril'; -import * as h from 'mithril/hyperscript'; +import h = require('mithril/hyperscript'); import { render } from 'mithril/render'; import { redraw } from 'mithril/redraw'; -import * as withAttr from 'mithril/withAttr'; +import withAttr = require('mithril/withAttr'); const vnode = trust('Some bold text.'); diff --git a/types/mithril/test/test-route.ts b/types/mithril/test/test-route.ts index 523780261d..7f82c9fa40 100644 --- a/types/mithril/test/test-route.ts +++ b/types/mithril/test/test-route.ts @@ -1,6 +1,6 @@ import { Vnode, Component, Comp, ClassComponent, FactoryComponent, RouteResolver } from 'mithril'; -import * as h from 'mithril/hyperscript'; -import * as route from 'mithril/route'; +import h = require('mithril/hyperscript'); +import route = require('mithril/route'); const component1 = { view() { diff --git a/types/mithril/test/test-stream.ts b/types/mithril/test/test-stream.ts index 559f339634..ff86d62211 100644 --- a/types/mithril/test/test-stream.ts +++ b/types/mithril/test/test-stream.ts @@ -1,4 +1,4 @@ -import * as stream from 'mithril/stream'; +import stream = require('mithril/stream'); import { Stream } from 'mithril/stream'; { diff --git a/types/mock-raf/mock-raf-tests.ts b/types/mock-raf/mock-raf-tests.ts index d773d1c760..f277570cbd 100644 --- a/types/mock-raf/mock-raf-tests.ts +++ b/types/mock-raf/mock-raf-tests.ts @@ -1,4 +1,4 @@ -import * as createMockRaf from 'mock-raf'; +import createMockRaf = require('mock-raf'); const mockRaf = createMockRaf(); const id = mockRaf.raf(() => { diff --git a/types/moment-business-time/moment-business-time-tests.ts b/types/moment-business-time/moment-business-time-tests.ts index 79f25a720a..6fccc96580 100644 --- a/types/moment-business-time/moment-business-time-tests.ts +++ b/types/moment-business-time/moment-business-time-tests.ts @@ -1,4 +1,4 @@ -import * as moment from 'moment'; +import moment = require('moment'); import 'moment-business-time'; moment('2015-02-28T10:00:00Z').nextWorkingDay(); diff --git a/types/moment-business/moment-business-tests.ts b/types/moment-business/moment-business-tests.ts index 4f8ae296df..db79dc7d84 100644 --- a/types/moment-business/moment-business-tests.ts +++ b/types/moment-business/moment-business-tests.ts @@ -1,4 +1,4 @@ -import * as moment from "moment"; +import moment = require("moment"); import * as mb from "moment-business"; mb.isWeekDay(moment()); diff --git a/types/moment-jalaali/index.d.ts b/types/moment-jalaali/index.d.ts index e6fc2a6488..02580d8774 100644 --- a/types/moment-jalaali/index.d.ts +++ b/types/moment-jalaali/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Ali Taheri Moghaddar // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as moment from 'moment'; +import moment = require('moment'); export = moment; diff --git a/types/moment-jalaali/moment-jalaali-tests.ts b/types/moment-jalaali/moment-jalaali-tests.ts index 40c31963cb..ce183f635d 100644 --- a/types/moment-jalaali/moment-jalaali-tests.ts +++ b/types/moment-jalaali/moment-jalaali-tests.ts @@ -1,4 +1,4 @@ -import * as moment from 'moment-jalaali'; +import moment = require('moment-jalaali'); moment.loadPersian(); diff --git a/types/moment-range/index.d.ts b/types/moment-range/index.d.ts index eb9bb30910..e0298abd8e 100644 --- a/types/moment-range/index.d.ts +++ b/types/moment-range/index.d.ts @@ -6,7 +6,7 @@ // MartynasZilinskas // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as moment from 'moment'; +import moment = require('moment'); export class DateRange { start: moment.Moment; diff --git a/types/moment-range/moment-range-tests.ts b/types/moment-range/moment-range-tests.ts index 6043d3b203..fc9a8b6e12 100644 --- a/types/moment-range/moment-range-tests.ts +++ b/types/moment-range/moment-range-tests.ts @@ -1,4 +1,4 @@ -import * as moment from "moment"; +import moment = require("moment"); import * as momentRange from "moment-range"; const range: momentRange.DateRange = new momentRange.DateRange(new Date(2012, 0, 15), new Date(2012, 4, 23)); diff --git a/types/moment-round/moment-round-tests.ts b/types/moment-round/moment-round-tests.ts index 4e3829671a..7400e63cc6 100644 --- a/types/moment-round/moment-round-tests.ts +++ b/types/moment-round/moment-round-tests.ts @@ -1,4 +1,4 @@ -import * as moment from 'moment'; +import moment = require('moment'); const m = moment(); m.round(5, 'seconds'); diff --git a/types/move-concurrently/move-concurrently-tests.ts b/types/move-concurrently/move-concurrently-tests.ts index 58394efcfa..6e62ced8ad 100644 --- a/types/move-concurrently/move-concurrently-tests.ts +++ b/types/move-concurrently/move-concurrently-tests.ts @@ -1,4 +1,4 @@ -import * as move from 'move-concurrently'; +import move = require('move-concurrently'); move('/path/to/thing', '/new/path/thing').then(() => { // thing is now moved! @@ -6,7 +6,7 @@ move('/path/to/thing', '/new/path/thing').then(() => { // oh no! }); -import * as Bluebird from 'bluebird'; +import Bluebird = require('bluebird'); // tsc version: 2.7.0-dev.20171024 // required type arguments! diff --git a/types/mri/mri-tests.ts b/types/mri/mri-tests.ts index c766587db1..07911ca7f7 100644 --- a/types/mri/mri-tests.ts +++ b/types/mri/mri-tests.ts @@ -1,4 +1,4 @@ -import * as mri from 'mri'; +import mri = require('mri'); const first = mri(['--foo', 'bar']); diff --git a/types/multimatch/multimatch-tests.ts b/types/multimatch/multimatch-tests.ts index b8c9cac658..6e687a2cdc 100644 --- a/types/multimatch/multimatch-tests.ts +++ b/types/multimatch/multimatch-tests.ts @@ -1,4 +1,4 @@ -import * as multimatch from "multimatch"; +import multimatch = require("multimatch"); const options: multimatch.MultimatchOptions = { debug: true diff --git a/types/multisort/multisort-tests.ts b/types/multisort/multisort-tests.ts index 6fadab16ef..bdec580a46 100644 --- a/types/multisort/multisort-tests.ts +++ b/types/multisort/multisort-tests.ts @@ -1,4 +1,4 @@ -import * as multisort from 'multisort'; +import multisort = require('multisort'); const gameShowHosts = [ { diff --git a/types/murmurhash-js/index.d.ts b/types/murmurhash-js/index.d.ts index 360850b7ec..31f2785353 100644 --- a/types/murmurhash-js/index.d.ts +++ b/types/murmurhash-js/index.d.ts @@ -3,8 +3,8 @@ // Definitions by: Chi Vinh Le // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as murmur2 from "./murmurhash2_gc"; -import * as murmur3 from "./murmurhash3_gc"; +import murmur2 = require("./murmurhash2_gc"); +import murmur3 = require("./murmurhash3_gc"); declare const murmur: typeof murmur3 & { murmur3: typeof murmur3; diff --git a/types/murmurhash-js/murmurhash-js-tests.ts b/types/murmurhash-js/murmurhash-js-tests.ts index 3f300d24d1..fed401a91c 100644 --- a/types/murmurhash-js/murmurhash-js-tests.ts +++ b/types/murmurhash-js/murmurhash-js-tests.ts @@ -1,6 +1,6 @@ -import * as murmur from 'murmurhash-js'; -import * as murmur2 from 'murmurhash-js/murmurhash2_gc'; -import * as murmur3 from 'murmurhash-js/murmurhash3_gc'; +import murmur = require('murmurhash-js'); +import murmur2 = require('murmurhash-js/murmurhash2_gc'); +import murmur3 = require('murmurhash-js/murmurhash3_gc'); let hash: number; diff --git a/types/mv/mv-tests.ts b/types/mv/mv-tests.ts index 079fd0efec..257290506a 100644 --- a/types/mv/mv-tests.ts +++ b/types/mv/mv-tests.ts @@ -1,4 +1,4 @@ -import * as mv from 'mv'; +import mv = require('mv'); () => { mv('/tmp/f1.txt', '/tmp/f2.txt', error => { diff --git a/types/nats-hemera/nats-hemera-tests.ts b/types/nats-hemera/nats-hemera-tests.ts index 28c0c724c9..0e4fa69b93 100644 --- a/types/nats-hemera/nats-hemera-tests.ts +++ b/types/nats-hemera/nats-hemera-tests.ts @@ -1,4 +1,4 @@ -import * as Hemera from 'nats-hemera'; +import Hemera = require('nats-hemera'); const nats = {}; const hemera: any = new Hemera(nats, {}); diff --git a/types/natsort/natsort-tests.ts b/types/natsort/natsort-tests.ts index 4e9d0c0fcb..73976647d6 100644 --- a/types/natsort/natsort-tests.ts +++ b/types/natsort/natsort-tests.ts @@ -1,4 +1,4 @@ -import * as natsort from "natsort"; +import natsort = require("natsort"); const someArr = [2, 5, 3, 4, 1, 'a', 'B']; diff --git a/types/ndarray/ndarray-tests.ts b/types/ndarray/ndarray-tests.ts index 899f43efd5..aa4f4fcefb 100644 --- a/types/ndarray/ndarray-tests.ts +++ b/types/ndarray/ndarray-tests.ts @@ -1,4 +1,4 @@ -import * as ndarray from 'ndarray'; +import ndarray = require('ndarray'); const data = new Int32Array(2 * 2 * 2 + 10); const a = ndarray(data, [2, 2, 2], [1, 2, 4], 5); diff --git a/types/npm-package-arg/npm-package-arg-tests.ts b/types/npm-package-arg/npm-package-arg-tests.ts index ed95eb5243..d7f08c6c10 100644 --- a/types/npm-package-arg/npm-package-arg-tests.ts +++ b/types/npm-package-arg/npm-package-arg-tests.ts @@ -1,4 +1,4 @@ -import * as npa from "npm-package-arg"; +import npa = require("npm-package-arg"); const result1 = npa("npm-package-arg@5.1"); const result2 = npa("npm-package-arg@5.1", ".."); diff --git a/types/ns-api/ns-api-tests.ts b/types/ns-api/ns-api-tests.ts index 5063a97e48..ab8c7e343d 100644 --- a/types/ns-api/ns-api-tests.ts +++ b/types/ns-api/ns-api-tests.ts @@ -1,4 +1,4 @@ -import * as NsApi from "ns-api"; +import NsApi = require("ns-api"); declare var console: { log(msg: any): string }; diff --git a/types/o.js/o.js-tests.ts b/types/o.js/o.js-tests.ts index 26cc187723..be3e5c824a 100644 --- a/types/o.js/o.js-tests.ts +++ b/types/o.js/o.js-tests.ts @@ -1,4 +1,4 @@ -import * as o from 'o.js'; +import o = require('o.js'); import * as Q from "q"; interface Product { diff --git a/types/object-assign/object-assign-tests.ts b/types/object-assign/object-assign-tests.ts index e7c58cf5fb..dc8db6ba07 100644 --- a/types/object-assign/object-assign-tests.ts +++ b/types/object-assign/object-assign-tests.ts @@ -1,4 +1,4 @@ -import * as objectAssign from 'object-assign'; +import objectAssign = require('object-assign'); interface Target { hellow: string; @@ -9,7 +9,7 @@ interface Source1 { } interface Result extends Target, Source1 { - + } interface Source2 { @@ -17,7 +17,7 @@ interface Source2 { } interface Result2 extends Result, Source2 { - + } interface Source3 { @@ -25,7 +25,7 @@ interface Source3 { } interface Result3 extends Result2, Source3 { - + } interface Source4 { @@ -33,7 +33,7 @@ interface Source4 { } interface Result4 extends Result3, Source4 { - + } interface Source5 { @@ -41,7 +41,7 @@ interface Source5 { } interface Result5 extends Result4, Source5 { - + } function assign1(): Result { diff --git a/types/object-refs/object-refs-tests.ts b/types/object-refs/object-refs-tests.ts index 9b602aea0d..ba71756c3c 100644 --- a/types/object-refs/object-refs-tests.ts +++ b/types/object-refs/object-refs-tests.ts @@ -1,4 +1,4 @@ -import * as Refs from 'object-refs'; +import Refs = require('object-refs'); let refs = new Refs({ name: 'wheels', collection: true, enumerable: true }, { name: 'car' }); diff --git a/types/odata/odata-tests.ts b/types/odata/odata-tests.ts index 522dc3d529..58e1505f21 100644 --- a/types/odata/odata-tests.ts +++ b/types/odata/odata-tests.ts @@ -1,4 +1,4 @@ -import * as o from 'odata'; +import o = require('odata'); import * as Q from "q"; interface Product { diff --git a/types/opentok/opentok-tests.ts b/types/opentok/opentok-tests.ts index c0f93f333f..28553463b4 100644 --- a/types/opentok/opentok-tests.ts +++ b/types/opentok/opentok-tests.ts @@ -1,4 +1,4 @@ -import * as OpenTok from 'opentok'; +import OpenTok = require('opentok'); const client = new OpenTok('API_KEY', 'API_SECRET'); diff --git a/types/parent-package-json/parent-package-json-tests.ts b/types/parent-package-json/parent-package-json-tests.ts index 41a5a7bdd0..50091ff376 100644 --- a/types/parent-package-json/parent-package-json-tests.ts +++ b/types/parent-package-json/parent-package-json-tests.ts @@ -1,4 +1,4 @@ -import * as parent from 'parent-package-json'; +import parent = require('parent-package-json'); const hasParent = parent('/optional/path/', 1); diff --git a/types/parse-link-header/parse-link-header-tests.ts b/types/parse-link-header/parse-link-header-tests.ts index 01a4de8a8f..ce32e1a1cd 100644 --- a/types/parse-link-header/parse-link-header-tests.ts +++ b/types/parse-link-header/parse-link-header-tests.ts @@ -1,4 +1,4 @@ -import * as parse from "parse-link-header"; +import parse = require("parse-link-header"); const linkHeader = '; rel="next", ' + diff --git a/types/password-hash-and-salt/password-hash-and-salt-tests.ts b/types/password-hash-and-salt/password-hash-and-salt-tests.ts index 4865cf0eed..f224074555 100644 --- a/types/password-hash-and-salt/password-hash-and-salt-tests.ts +++ b/types/password-hash-and-salt/password-hash-and-salt-tests.ts @@ -1,4 +1,4 @@ -import * as password from 'password-hash-and-salt'; +import password = require('password-hash-and-salt'); const myuser: { hash: string } = { hash: '' }; diff --git a/types/photoswipe/photoswipe-tests.ts b/types/photoswipe/photoswipe-tests.ts index 05cdb5db53..48add333c5 100644 --- a/types/photoswipe/photoswipe-tests.ts +++ b/types/photoswipe/photoswipe-tests.ts @@ -1,5 +1,5 @@ -import * as PhotoSwipeUI_Default from './dist/photoswipe-ui-default/index'; -import * as PhotoSwipe from './index'; +import PhotoSwipeUI_Default = require('./dist/photoswipe-ui-default/index'); +import PhotoSwipe = require('./index'); function test_defaultUI() { var items: PhotoSwipeUI_Default.Item[] = [ diff --git a/types/pick-weight/pick-weight-tests.ts b/types/pick-weight/pick-weight-tests.ts index 5707b1c598..a7b35e7e37 100644 --- a/types/pick-weight/pick-weight-tests.ts +++ b/types/pick-weight/pick-weight-tests.ts @@ -1,4 +1,4 @@ -import * as weight from "pick-weight"; +import weight = require("pick-weight"); const x = weight(["a", "b", "c"], [1, 2, 3]); diff --git a/types/pify/pify-tests.ts b/types/pify/pify-tests.ts index f77eb9f10d..27022b7390 100644 --- a/types/pify/pify-tests.ts +++ b/types/pify/pify-tests.ts @@ -1,4 +1,4 @@ -import * as pify from 'pify'; +import pify = require('pify'); function assert(actual: string, expected: string): void { if (actual !== expected) { diff --git a/types/pikaday-time/pikaday-time-tests.ts b/types/pikaday-time/pikaday-time-tests.ts index fec72dc553..6ae7f82406 100644 --- a/types/pikaday-time/pikaday-time-tests.ts +++ b/types/pikaday-time/pikaday-time-tests.ts @@ -1,7 +1,7 @@ /// -import * as Pikaday from "pikaday-time"; -import * as moment from "moment"; +import Pikaday = require("pikaday-time"); +import moment = require("moment"); new Pikaday({field: document.getElementById('datepicker')}); new Pikaday({field: $('#datepicker')[0]}); diff --git a/types/pikaday/pikaday-tests.ts b/types/pikaday/pikaday-tests.ts index 9084455622..e61cb635e3 100644 --- a/types/pikaday/pikaday-tests.ts +++ b/types/pikaday/pikaday-tests.ts @@ -1,7 +1,7 @@ /// -import * as Pikaday from "pikaday"; -import * as moment from "moment"; +import Pikaday = require("pikaday"); +import moment = require("moment"); new Pikaday({field: document.getElementById('datepicker')}); new Pikaday({field: $('#datepicker')[0]}); diff --git a/types/pouch-redux-middleware/pouch-redux-middleware-tests.ts b/types/pouch-redux-middleware/pouch-redux-middleware-tests.ts index bacd6c4b7a..a966a3edb8 100644 --- a/types/pouch-redux-middleware/pouch-redux-middleware-tests.ts +++ b/types/pouch-redux-middleware/pouch-redux-middleware-tests.ts @@ -1,6 +1,6 @@ import * as redux from 'redux'; import makePouchMiddleware, { Document, Path } from 'pouch-redux-middleware'; -import * as PouchDB from 'pouchdb'; +import PouchDB = require('pouchdb'); const types = { DELETE_TODO: 'delete-todo', diff --git a/types/pouchdb-core/pouchdb-core-tests.ts b/types/pouchdb-core/pouchdb-core-tests.ts index d050b4c6a6..79a151aa3a 100644 --- a/types/pouchdb-core/pouchdb-core-tests.ts +++ b/types/pouchdb-core/pouchdb-core-tests.ts @@ -1,4 +1,4 @@ -import * as PouchDB from 'pouchdb-core'; +import PouchDB = require('pouchdb-core'); function isString(someString: string) { } diff --git a/types/pouchdb/pouchdb-tests.ts b/types/pouchdb/pouchdb-tests.ts index c4b3d6870b..e5b9c356d4 100644 --- a/types/pouchdb/pouchdb-tests.ts +++ b/types/pouchdb/pouchdb-tests.ts @@ -1,4 +1,4 @@ -import * as PouchDB from 'pouchdb'; +import PouchDB = require('pouchdb'); function isString(someString: string) { } diff --git a/types/priorityqueuejs/priorityqueuejs-tests.ts b/types/priorityqueuejs/priorityqueuejs-tests.ts index 15e9211ea8..711e1faedf 100644 --- a/types/priorityqueuejs/priorityqueuejs-tests.ts +++ b/types/priorityqueuejs/priorityqueuejs-tests.ts @@ -1,4 +1,4 @@ -import * as PriorityQueue from 'priorityqueuejs'; +import PriorityQueue = require('priorityqueuejs'); var queue = new PriorityQueue<{ cash: number, name: string }>(function(a, b) { return a.cash - b.cash; diff --git a/types/proj4/proj4-tests.ts b/types/proj4/proj4-tests.ts index c5d549efe7..3d1ab1ab9b 100644 --- a/types/proj4/proj4-tests.ts +++ b/types/proj4/proj4-tests.ts @@ -1,4 +1,4 @@ -import * as proj4 from 'proj4'; +import proj4 = require('proj4'); /////////////////////////////////////////// // Tests data initialisation diff --git a/types/promise-queue/promise-queue-tests.ts b/types/promise-queue/promise-queue-tests.ts index fb3764c98f..b221fddc38 100644 --- a/types/promise-queue/promise-queue-tests.ts +++ b/types/promise-queue/promise-queue-tests.ts @@ -1,4 +1,4 @@ -import * as PromiseQueue from 'promise-queue'; +import PromiseQueue = require('promise-queue'); PromiseQueue.configure(Promise); diff --git a/types/prompt-sync-history/prompt-sync-history-tests.ts b/types/prompt-sync-history/prompt-sync-history-tests.ts index 40b00f2270..427d42a465 100644 --- a/types/prompt-sync-history/prompt-sync-history-tests.ts +++ b/types/prompt-sync-history/prompt-sync-history-tests.ts @@ -1,4 +1,4 @@ -import * as promptHistory from 'prompt-sync-history'; +import promptHistory = require('prompt-sync-history'); import * as PromptSync from 'prompt-sync'; let history:PromptSync.History; diff --git a/types/prompt-sync/prompt-sync-tests.ts b/types/prompt-sync/prompt-sync-tests.ts index 2c803e0a49..0d1f4f18ed 100644 --- a/types/prompt-sync/prompt-sync-tests.ts +++ b/types/prompt-sync/prompt-sync-tests.ts @@ -1,4 +1,4 @@ -import * as promptSync from 'prompt-sync'; +import promptSync = require('prompt-sync'); declare const history: promptSync.History; diff --git a/types/pubnub/pubnub-tests.ts b/types/pubnub/pubnub-tests.ts index 63bd206cde..1d8b2bb1ca 100644 --- a/types/pubnub/pubnub-tests.ts +++ b/types/pubnub/pubnub-tests.ts @@ -1,4 +1,4 @@ -import * as Pubnub from 'pubnub'; +import Pubnub = require('pubnub'); const console = { log: (params: any) => {} diff --git a/types/pure-render-decorator/pure-render-decorator-tests.ts b/types/pure-render-decorator/pure-render-decorator-tests.ts index 4598d60b41..66f95f15f6 100644 --- a/types/pure-render-decorator/pure-render-decorator-tests.ts +++ b/types/pure-render-decorator/pure-render-decorator-tests.ts @@ -1,4 +1,4 @@ -import * as PureRender from 'pure-render-decorator'; +import PureRender = require('pure-render-decorator'); @PureRender class TestClass {} diff --git a/types/range-parser/range-parser-tests.ts b/types/range-parser/range-parser-tests.ts index 68581e82cb..ec1ffa6e4e 100644 --- a/types/range-parser/range-parser-tests.ts +++ b/types/range-parser/range-parser-tests.ts @@ -1,4 +1,4 @@ -import * as RangeParser from 'range-parser'; +import RangeParser = require('range-parser'); declare var console: { assert(b: boolean): void }; diff --git a/types/raven-for-redux/raven-for-redux-tests.ts b/types/raven-for-redux/raven-for-redux-tests.ts index 957a2017c5..481fd5bd75 100644 --- a/types/raven-for-redux/raven-for-redux-tests.ts +++ b/types/raven-for-redux/raven-for-redux-tests.ts @@ -1,5 +1,5 @@ import * as Raven from "raven-js"; -import * as createRavenMiddleware from "raven-for-redux"; +import createRavenMiddleware = require("raven-for-redux"); import { applyMiddleware, createStore } from "redux"; const middleware = createRavenMiddleware(Raven); diff --git a/types/rbush/rbush-tests.ts b/types/rbush/rbush-tests.ts index 4a2de0ef14..07061ff562 100644 --- a/types/rbush/rbush-tests.ts +++ b/types/rbush/rbush-tests.ts @@ -1,4 +1,4 @@ -import * as rbush from 'rbush'; +import rbush = require('rbush'); interface IndexedRect extends rbush.BBox { index: number; diff --git a/types/react-daterange-picker/react-daterange-picker-tests.tsx b/types/react-daterange-picker/react-daterange-picker-tests.tsx index e1259dd81e..11bc2a3852 100644 --- a/types/react-daterange-picker/react-daterange-picker-tests.tsx +++ b/types/react-daterange-picker/react-daterange-picker-tests.tsx @@ -5,7 +5,7 @@ import DateRangePicker from "react-daterange-picker"; import * as ReactDateRangePicker from "react-daterange-picker"; import * as MomentRange from "moment-range"; -import * as Moment from "moment"; +import Moment = require("moment"); const moment = MomentRange.extendMoment(Moment); diff --git a/types/read-package-tree/read-package-tree-tests.ts b/types/read-package-tree/read-package-tree-tests.ts index 0d3595a568..1dad1c1ab0 100644 --- a/types/read-package-tree/read-package-tree-tests.ts +++ b/types/read-package-tree/read-package-tree-tests.ts @@ -1,4 +1,4 @@ -import * as readPackageTree from "read-package-tree"; +import readPackageTree = require("read-package-tree"); readPackageTree("../", (error, data) => { // done diff --git a/types/redux-localstorage-debounce/redux-localstorage-debounce-tests.ts b/types/redux-localstorage-debounce/redux-localstorage-debounce-tests.ts index 24b5a32528..db408c018c 100644 --- a/types/redux-localstorage-debounce/redux-localstorage-debounce-tests.ts +++ b/types/redux-localstorage-debounce/redux-localstorage-debounce-tests.ts @@ -2,7 +2,7 @@ import { compose } from "redux"; import { default as persistState } from "redux-localstorage"; -import * as adapter from "redux-localstorage/lib/adapters/localStorage"; +import adapter = require("redux-localstorage/lib/adapters/localStorage"); import { default as debounce } from "redux-localstorage-debounce"; const storageWait = compose( diff --git a/types/redux-localstorage-filter/redux-localstorage-filter-tests.ts b/types/redux-localstorage-filter/redux-localstorage-filter-tests.ts index 5569b22345..f45ee7157e 100644 --- a/types/redux-localstorage-filter/redux-localstorage-filter-tests.ts +++ b/types/redux-localstorage-filter/redux-localstorage-filter-tests.ts @@ -2,7 +2,7 @@ import { compose } from "redux"; import { default as persistState } from "redux-localstorage"; -import * as adapter from "redux-localstorage/lib/adapters/localStorage"; +import adapter = require("redux-localstorage/lib/adapters/localStorage"); import { default as filter } from "redux-localstorage-filter"; const storageSingle = compose( diff --git a/types/redux-localstorage/redux-localstorage-tests.ts b/types/redux-localstorage/redux-localstorage-tests.ts index 17f453423a..bfa76f1ea3 100644 --- a/types/redux-localstorage/redux-localstorage-tests.ts +++ b/types/redux-localstorage/redux-localstorage-tests.ts @@ -5,9 +5,9 @@ import { transformState, actionTypes } from "redux-localstorage"; -import * as adapterAsyncStorage from "redux-localstorage/lib/adapters/AsyncStorage"; -import * as adapterLocalStorage from "redux-localstorage/lib/adapters/localStorage"; -import * as adapterSessionStorage from "redux-localstorage/lib/adapters/sessionStorage"; +import adapterAsyncStorage = require("redux-localstorage/lib/adapters/AsyncStorage"); +import adapterLocalStorage = require("redux-localstorage/lib/adapters/localStorage"); +import adapterSessionStorage = require("redux-localstorage/lib/adapters/sessionStorage"); const AsyncStorage: any = {}; diff --git a/types/redux-socket.io/redux-socket.io-tests.ts b/types/redux-socket.io/redux-socket.io-tests.ts index f67a86393a..6c5a64e5a5 100644 --- a/types/redux-socket.io/redux-socket.io-tests.ts +++ b/types/redux-socket.io/redux-socket.io-tests.ts @@ -1,4 +1,4 @@ -import * as ioclient from 'socket.io-client'; +import ioclient = require('socket.io-client'); import createSocketIoMiddleware from 'redux-socket.io'; import { Action } from 'redux'; diff --git a/types/relateurl/relateurl-tests.ts b/types/relateurl/relateurl-tests.ts index 7285dca153..03a184ec38 100644 --- a/types/relateurl/relateurl-tests.ts +++ b/types/relateurl/relateurl-tests.ts @@ -1,5 +1,4 @@ - -import * as RelateUrl from 'relateurl'; +import RelateUrl = require('relateurl'); var from = "http://www.domain.com/asdf/"; var to = "http://www.domain.com/asdf/asdf"; diff --git a/types/resolve-from/resolve-from-tests.ts b/types/resolve-from/resolve-from-tests.ts index d4de48146a..ddbc5bdbea 100644 --- a/types/resolve-from/resolve-from-tests.ts +++ b/types/resolve-from/resolve-from-tests.ts @@ -1,11 +1,7 @@ import resolveFrom = require("resolve-from"); -import resolveFrom1 = require('resolve-from'); -import * as resolveFrom2 from 'resolve-from'; - let from: string; let moduleId: string; let result: string; -result = resolveFrom1(from, moduleId); -result = resolveFrom2(from, moduleId); +result = resolveFrom(from, moduleId); diff --git a/types/route-parser/route-parser-tests.ts b/types/route-parser/route-parser-tests.ts index e521008291..66be438592 100644 --- a/types/route-parser/route-parser-tests.ts +++ b/types/route-parser/route-parser-tests.ts @@ -1,4 +1,4 @@ -import * as Route from 'route-parser'; +import Route = require('route-parser'); const route = new Route('/users/:id'); const matched = route.match('/users/42'); // => { id: '42' } diff --git a/types/rss/rss-tests.ts b/types/rss/rss-tests.ts index e73f786a18..3dc5574c1c 100644 --- a/types/rss/rss-tests.ts +++ b/types/rss/rss-tests.ts @@ -1,5 +1,3 @@ - - // this test is copied from https://github.com/dylang/node-rss // it basically: // @@ -7,7 +5,7 @@ // * add an item to it // * then generates XML string -import * as RSS from 'rss'; +import RSS = require('rss'); var feed = new RSS({ title: 'title', diff --git a/types/rwlock/rwlock-tests.ts b/types/rwlock/rwlock-tests.ts index 8e2f210164..ee869d0ec6 100644 --- a/types/rwlock/rwlock-tests.ts +++ b/types/rwlock/rwlock-tests.ts @@ -1,5 +1,5 @@ // Original test file https://github.com/71104/rwlock/blob/master/test/all.js -import * as ReadWriteLock from 'rwlock'; +import ReadWriteLock = require('rwlock'); const lock = new ReadWriteLock(); lock.readLock((release) => { diff --git a/types/sanitize-html/sanitize-html-tests.ts b/types/sanitize-html/sanitize-html-tests.ts index 31efb0395f..cc43d64fcb 100644 --- a/types/sanitize-html/sanitize-html-tests.ts +++ b/types/sanitize-html/sanitize-html-tests.ts @@ -1,5 +1,4 @@ - -import * as sanitize from 'sanitize-html'; +import sanitize = require('sanitize-html'); let options: sanitize.IOptions = { allowedTags: sanitize.defaults.allowedTags.concat('h1', 'h2', 'img'), @@ -7,7 +6,7 @@ let options: sanitize.IOptions = { 'a': sanitize.defaults.allowedAttributes['a'].concat('rel'), 'img': ['src', 'height', 'width', 'alt'] }, - transformTags: { + transformTags: { 'a': sanitize.simpleTransform('a', { 'rel': 'nofollow' }), 'img': (tagName: string, attribs: sanitize.Attributes) => { let img = { tagName, attribs }; diff --git a/types/saywhen/saywhen-tests.ts b/types/saywhen/saywhen-tests.ts index a1a02d6178..a253308156 100644 --- a/types/saywhen/saywhen-tests.ts +++ b/types/saywhen/saywhen-tests.ts @@ -1,4 +1,4 @@ -import * as when from 'saywhen'; +import when = require('saywhen'); when(jasmine.createSpy('test')); // $ExpectType CallHandler when(jasmine.createSpy('test')).isCalled; // $ExpectType Proxy diff --git a/types/scriptjs/scriptjs-tests.ts b/types/scriptjs/scriptjs-tests.ts index c82464f172..a73e40314a 100644 --- a/types/scriptjs/scriptjs-tests.ts +++ b/types/scriptjs/scriptjs-tests.ts @@ -1,4 +1,4 @@ -import * as $script from 'scriptjs'; +import $script = require('scriptjs'); const callback = (): void => console.log('done'); diff --git a/types/scroll-into-view/scroll-into-view-tests.ts b/types/scroll-into-view/scroll-into-view-tests.ts index 5cb274bc15..bd50abb011 100644 --- a/types/scroll-into-view/scroll-into-view-tests.ts +++ b/types/scroll-into-view/scroll-into-view-tests.ts @@ -1,4 +1,4 @@ -import * as scrollIntoView from "scroll-into-view" +import scrollIntoView = require("scroll-into-view"); var someElement: HTMLElement scrollIntoView(someElement); diff --git a/types/seamless-immutable/seamless-immutable-tests.ts b/types/seamless-immutable/seamless-immutable-tests.ts index 528cd6cce2..ddec87e81d 100644 --- a/types/seamless-immutable/seamless-immutable-tests.ts +++ b/types/seamless-immutable/seamless-immutable-tests.ts @@ -1,4 +1,4 @@ -import * as Immutable from 'seamless-immutable'; +import Immutable = require('seamless-immutable'); // Test types diff --git a/types/selectables/selectables-tests.ts b/types/selectables/selectables-tests.ts index 595f2ca738..960573033b 100644 --- a/types/selectables/selectables-tests.ts +++ b/types/selectables/selectables-tests.ts @@ -1,4 +1,4 @@ -import * as Selectables from "selectables"; +import Selectables = require("selectables"); const dr = new Selectables({ zone: '#div', diff --git a/types/seneca/seneca-tests.ts b/types/seneca/seneca-tests.ts index ea10180074..6ff0331ff6 100644 --- a/types/seneca/seneca-tests.ts +++ b/types/seneca/seneca-tests.ts @@ -2,7 +2,7 @@ * This file contains all of the example code that was on http://senecajs.org as of Mon June 16, 2016. */ -import * as SENECA from 'seneca' +import SENECA = require('seneca'); var seneca: SENECA.Instance = SENECA() seneca.add({ cmd: 'salestax' }, function (args, callback) { diff --git a/types/serialize-javascript/serialize-javascript-tests.ts b/types/serialize-javascript/serialize-javascript-tests.ts index b4c79f6a7c..357607daba 100644 --- a/types/serialize-javascript/serialize-javascript-tests.ts +++ b/types/serialize-javascript/serialize-javascript-tests.ts @@ -1,4 +1,4 @@ -import * as serialize from "serialize-javascript"; +import serialize = require("serialize-javascript"); const obj: any = { str: "string", diff --git a/types/sheetify/sheetify-tests.ts b/types/sheetify/sheetify-tests.ts index eba3a63336..b6704ed2e7 100644 --- a/types/sheetify/sheetify-tests.ts +++ b/types/sheetify/sheetify-tests.ts @@ -1,4 +1,4 @@ -import * as sheetify from 'sheetify'; +import sheetify = require('sheetify'); function done1(err: Error, css: string, prefix: string) {} function done2(err: Error, css: string) {} diff --git a/types/shell-escape/shell-escape-tests.ts b/types/shell-escape/shell-escape-tests.ts index ac3906be19..3cac57b81a 100644 --- a/types/shell-escape/shell-escape-tests.ts +++ b/types/shell-escape/shell-escape-tests.ts @@ -1,4 +1,4 @@ -import * as shellEscape from 'shell-escape'; +import shellEscape = require('shell-escape'); () => { const stringRes = shellEscape(['cp', '-r', 'src/', 'dest/']); diff --git a/types/spark-md5/spark-md5-tests.ts b/types/spark-md5/spark-md5-tests.ts index bc81f715f1..0a6c929a29 100644 --- a/types/spark-md5/spark-md5-tests.ts +++ b/types/spark-md5/spark-md5-tests.ts @@ -1,4 +1,4 @@ -import * as SparkMD5 from "spark-md5"; +import SparkMD5 = require("spark-md5"); SparkMD5.hash('Hi there'); SparkMD5.hash('Hi there', true); diff --git a/types/stale-lru-cache/stale-lru-cache-tests.ts b/types/stale-lru-cache/stale-lru-cache-tests.ts index 8d3c47562f..4b597f545d 100644 --- a/types/stale-lru-cache/stale-lru-cache-tests.ts +++ b/types/stale-lru-cache/stale-lru-cache-tests.ts @@ -1,4 +1,4 @@ -import * as Cache from 'stale-lru-cache'; +import Cache = require('stale-lru-cache'); const cache = new Cache({ maxSize: 100, diff --git a/types/stemmer/stemmer-tests.ts b/types/stemmer/stemmer-tests.ts index b5ed8daec4..db9f19d996 100644 --- a/types/stemmer/stemmer-tests.ts +++ b/types/stemmer/stemmer-tests.ts @@ -1,3 +1,3 @@ -import * as stemmer from 'stemmer'; +import stemmer = require('stemmer'); stemmer('Working'); // $ExpectType string diff --git a/types/strftime/strftime-tests.ts b/types/strftime/strftime-tests.ts index 2c07e8ad5f..7ecbfaf2fe 100644 --- a/types/strftime/strftime-tests.ts +++ b/types/strftime/strftime-tests.ts @@ -1,4 +1,4 @@ -import * as strftime from "strftime"; +import strftime = require("strftime"); strftime('%B %d, %Y %H:%M:%S'); strftime('%F %T', new Date(1307472705067)); diff --git a/types/string-template/string-template-tests.ts b/types/string-template/string-template-tests.ts index 8ac76014c1..226f042287 100644 --- a/types/string-template/string-template-tests.ts +++ b/types/string-template/string-template-tests.ts @@ -1,5 +1,5 @@ -import * as format from "string-template"; -import * as compile from "string-template/compile"; +import format = require("string-template"); +import compile = require("string-template/compile"); // Format tests { diff --git a/types/stringify-object/stringify-object-tests.ts b/types/stringify-object/stringify-object-tests.ts index a00be6f1c0..7216ae3792 100644 --- a/types/stringify-object/stringify-object-tests.ts +++ b/types/stringify-object/stringify-object-tests.ts @@ -1,4 +1,4 @@ -import * as stringifyObject from 'stringify-object'; +import stringifyObject = require('stringify-object'); stringifyObject({ a: 1, b: 2, c: 3 }); diff --git a/types/strip-json-comments/strip-json-comments-tests.ts b/types/strip-json-comments/strip-json-comments-tests.ts index f71f62cf0f..188248a285 100644 --- a/types/strip-json-comments/strip-json-comments-tests.ts +++ b/types/strip-json-comments/strip-json-comments-tests.ts @@ -1,9 +1,4 @@ -// Type definitions for strip-json-comments -// Project: https://github.com/sindresorhus/strip-json-comments -// Definitions by: Dylan R. E. Moonfire -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -import * as stripJsonComments from "strip-json-comments"; +import stripJsonComments = require("strip-json-comments"); const json = '{/*rainbows*/"unicorn":"cake"}'; diff --git a/types/testingbot-api/testingbot-api-tests.ts b/types/testingbot-api/testingbot-api-tests.ts index 2b8cd1f655..39ac0d8f81 100644 --- a/types/testingbot-api/testingbot-api-tests.ts +++ b/types/testingbot-api/testingbot-api-tests.ts @@ -1,4 +1,4 @@ -import * as TestingBot from 'testingbot-api'; +import TestingBot = require('testingbot-api'); const sessionId = '123'; diff --git a/types/timer-machine/timer-machine-tests.ts b/types/timer-machine/timer-machine-tests.ts index 5163fd9af8..e062634367 100644 --- a/types/timer-machine/timer-machine-tests.ts +++ b/types/timer-machine/timer-machine-tests.ts @@ -1,4 +1,4 @@ -import * as Timer from "timer-machine"; +import Timer = require("timer-machine"); let myTimer = new Timer(); diff --git a/types/to-markdown/to-markdown-tests.ts b/types/to-markdown/to-markdown-tests.ts index 6c21bf1740..f50f348bc8 100644 --- a/types/to-markdown/to-markdown-tests.ts +++ b/types/to-markdown/to-markdown-tests.ts @@ -1,4 +1,4 @@ -import * as toMarkdown from 'to-markdown'; +import toMarkdown = require('to-markdown'); // toMarkdown() toMarkdown(` diff --git a/types/tocktimer/tocktimer-tests.ts b/types/tocktimer/tocktimer-tests.ts index 85f911b8a9..e2d7cb0bf5 100644 --- a/types/tocktimer/tocktimer-tests.ts +++ b/types/tocktimer/tocktimer-tests.ts @@ -1,4 +1,4 @@ -import * as tock from 'tocktimer'; +import tock = require('tocktimer'); let timer: tock.Tock; diff --git a/types/twix/twix-tests.ts b/types/twix/twix-tests.ts index e45d706635..dc4ba2c878 100644 --- a/types/twix/twix-tests.ts +++ b/types/twix/twix-tests.ts @@ -1,6 +1,4 @@ - - -import * as moment from 'moment'; +import moment = require('moment'); var someMoment = moment("20111031", "YYYYMMDD"); var otherMoment = moment("20120620", "YYYYMMDD"); diff --git a/types/tz-format/tz-format-tests.ts b/types/tz-format/tz-format-tests.ts index 729505ab57..7049fbd7f6 100644 --- a/types/tz-format/tz-format-tests.ts +++ b/types/tz-format/tz-format-tests.ts @@ -1,4 +1,4 @@ -import * as format from 'tz-format'; +import format = require('tz-format'); format(); format(1); diff --git a/types/uid-safe/uid-safe-tests.ts b/types/uid-safe/uid-safe-tests.ts index 6af969ce60..6eb4bc274a 100644 --- a/types/uid-safe/uid-safe-tests.ts +++ b/types/uid-safe/uid-safe-tests.ts @@ -1,12 +1,12 @@ -import * as uid from 'uid-safe'; +import uid = require('uid-safe'); uid(18, function (err, string) { if (err) throw err - // do something with the string + // do something with the string }); uid(18).then(function (string) { - // do something with the string + // do something with the string }) var string = uid.sync(18); diff --git a/types/ultra-strftime/ultra-strftime-tests.ts b/types/ultra-strftime/ultra-strftime-tests.ts index 4439425663..b45cfb7fd8 100644 --- a/types/ultra-strftime/ultra-strftime-tests.ts +++ b/types/ultra-strftime/ultra-strftime-tests.ts @@ -1,4 +1,4 @@ -import * as strftime from "ultra-strftime"; +import strftime = require("ultra-strftime"); const it_IT = { days: ['domenica', 'lunedi', 'martedi', 'mercoledi', 'giovedi', 'venerdi', 'sabato'], diff --git a/types/undertaker-registry/undertaker-registry-tests.ts b/types/undertaker-registry/undertaker-registry-tests.ts index 4a6201c14f..6c1e58948a 100644 --- a/types/undertaker-registry/undertaker-registry-tests.ts +++ b/types/undertaker-registry/undertaker-registry-tests.ts @@ -1,4 +1,4 @@ -import * as UndertakerRegistry from "undertaker-registry"; +import UndertakerRegistry = require("undertaker-registry"); const ArgTask = (firstArg: string, secondArg: number) => { // Task diff --git a/types/uniqid/uniqid-tests.ts b/types/uniqid/uniqid-tests.ts index f0f56aa2fd..b2a195ea79 100644 --- a/types/uniqid/uniqid-tests.ts +++ b/types/uniqid/uniqid-tests.ts @@ -1,4 +1,4 @@ -import * as uniqid from "uniqid"; +import uniqid = require("uniqid"); const uniqueID = uniqid("123"); const processString = uniqid.process("123"); diff --git a/types/upng-js/tsconfig.json b/types/upng-js/tsconfig.json index e6499c55f2..ebc1982388 100644 --- a/types/upng-js/tsconfig.json +++ b/types/upng-js/tsconfig.json @@ -14,6 +14,7 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/uppercamelcase/uppercamelcase-tests.ts b/types/uppercamelcase/uppercamelcase-tests.ts index fbb178c2fa..9af952ccda 100644 --- a/types/uppercamelcase/uppercamelcase-tests.ts +++ b/types/uppercamelcase/uppercamelcase-tests.ts @@ -1,4 +1,4 @@ -import * as upperCamelCase from 'uppercamelcase'; +import upperCamelCase = require('uppercamelcase'); upperCamelCase('foo-bar'); upperCamelCase('foo_bar'); diff --git a/types/url-join/url-join-tests.ts b/types/url-join/url-join-tests.ts index 2b512bc6d4..5a4afd6b80 100644 --- a/types/url-join/url-join-tests.ts +++ b/types/url-join/url-join-tests.ts @@ -1,5 +1,5 @@ import urljoin = require("url-join"); -import * as urljoin2 from "url-join"; +import urljoin2 = require("url-join"); const s: string = urljoin("foo", "bar", "baz"); const s2: string = urljoin2("foo", "bar", "baz"); diff --git a/types/url-metadata/url-metadata-tests.ts b/types/url-metadata/url-metadata-tests.ts index ab45090783..6024c5a0e7 100644 --- a/types/url-metadata/url-metadata-tests.ts +++ b/types/url-metadata/url-metadata-tests.ts @@ -1,4 +1,4 @@ -import * as urlMetadata from "url-metadata"; +import urlMetadata = require("url-metadata"); const opts: urlMetadata.Options = { userAgent: "url-metadata-test", diff --git a/types/vali-date/vali-date-tests.ts b/types/vali-date/vali-date-tests.ts index 85a3e39bc5..53fd102a15 100644 --- a/types/vali-date/vali-date-tests.ts +++ b/types/vali-date/vali-date-tests.ts @@ -1,4 +1,4 @@ -import * as valiDate from 'vali-date'; +import valiDate = require('vali-date'); valiDate('foo'); valiDate('bar'); diff --git a/types/validatorjs/validatorjs-tests.ts b/types/validatorjs/validatorjs-tests.ts index c8094936b7..4eb24ed6bd 100644 --- a/types/validatorjs/validatorjs-tests.ts +++ b/types/validatorjs/validatorjs-tests.ts @@ -1,4 +1,4 @@ -import * as Validator from "validatorjs" +import Validator = require("validatorjs"); var rules: any = { foo: "required" diff --git a/types/vertx3-eventbus-client/vertx3-eventbus-client-tests.ts b/types/vertx3-eventbus-client/vertx3-eventbus-client-tests.ts index e4b7ed7e67..377c075879 100644 --- a/types/vertx3-eventbus-client/vertx3-eventbus-client-tests.ts +++ b/types/vertx3-eventbus-client/vertx3-eventbus-client-tests.ts @@ -1,3 +1,3 @@ -import * as EventBus from "vertx3-eventbus-client"; +import EventBus = require("vertx3-eventbus-client"); const eb = new EventBus("http://localhost:9999"); diff --git a/types/video.js/video.js-tests.ts b/types/video.js/video.js-tests.ts index 145be6c711..287b804e14 100644 --- a/types/video.js/video.js-tests.ts +++ b/types/video.js/video.js-tests.ts @@ -1,6 +1,4 @@ -// Tests for Video.js API - -import * as videojs from 'video.js'; +import videojs = require('video.js'); videojs("example_video_1").ready(function() { // EXAMPLE: Start playing the video. diff --git a/types/virtual-keyboard/virtual-keyboard-tests.ts b/types/virtual-keyboard/virtual-keyboard-tests.ts index 84e3c9ed3c..91deb9a7c9 100644 --- a/types/virtual-keyboard/virtual-keyboard-tests.ts +++ b/types/virtual-keyboard/virtual-keyboard-tests.ts @@ -1,4 +1,4 @@ -import * as jQuery from "jquery"; +import jQuery = require("jquery"); import { KeyboardOptions, NavigateOptions } from "virtual-keyboard"; const kbOptions: KeyboardOptions = { diff --git a/types/wampy/wampy-tests.ts b/types/wampy/wampy-tests.ts index 27dd90ed73..1d999fc7c6 100644 --- a/types/wampy/wampy-tests.ts +++ b/types/wampy/wampy-tests.ts @@ -1,4 +1,4 @@ -import * as Wampy from 'wampy'; +import Wampy = require('wampy'); declare var console: { log(...args: any[]): void }; let ws = new Wampy('http://wamp.router.url', {realm: 'WAMPRealm'}); diff --git a/types/warning/warning-tests.ts b/types/warning/warning-tests.ts index 7079e127f2..f85e3159c5 100644 --- a/types/warning/warning-tests.ts +++ b/types/warning/warning-tests.ts @@ -1,4 +1,4 @@ -import * as warning from "warning"; +import warning = require("warning"); // this will pass without warning. warning(true, 'Warning, read all about it'); diff --git a/types/write-json-file/write-json-file-tests.ts b/types/write-json-file/write-json-file-tests.ts index 7354dfc17f..bad3b1a5a1 100644 --- a/types/write-json-file/write-json-file-tests.ts +++ b/types/write-json-file/write-json-file-tests.ts @@ -1,4 +1,4 @@ -import * as write from 'write-json-file'; +import write = require('write-json-file'); // Basic write('foo.json', {foo: true}).then(() => { }); diff --git a/types/xtend/xtend-tests.ts b/types/xtend/xtend-tests.ts index 12ad82a1b0..5f72688fdb 100644 --- a/types/xtend/xtend-tests.ts +++ b/types/xtend/xtend-tests.ts @@ -1,4 +1,4 @@ -import * as xtend from "xtend"; +import xtend = require("xtend"); interface Target { hellow: string; diff --git a/types/yayson/yayson-tests.ts b/types/yayson/yayson-tests.ts index 4e8b9c7d36..4945c03737 100644 --- a/types/yayson/yayson-tests.ts +++ b/types/yayson/yayson-tests.ts @@ -1,4 +1,4 @@ -import * as Yayson from "yayson"; +import Yayson = require("yayson"); const yayson = Yayson({ adapter: 'default' }) || Yayson({ adapter: 'sequelize' }) || Yayson(); const Adapter = yayson.Adapter; diff --git a/types/zen-observable/zen-observable-tests.ts b/types/zen-observable/zen-observable-tests.ts index b4da077311..b06e7cb512 100644 --- a/types/zen-observable/zen-observable-tests.ts +++ b/types/zen-observable/zen-observable-tests.ts @@ -1,4 +1,4 @@ -import * as Observable from 'zen-observable'; +import Observable = require('zen-observable'); function assert(val: boolean) { if (!val) { diff --git a/types/zen-push/zen-push-tests.ts b/types/zen-push/zen-push-tests.ts index 79abc517e8..70feab99f6 100644 --- a/types/zen-push/zen-push-tests.ts +++ b/types/zen-push/zen-push-tests.ts @@ -1,5 +1,5 @@ import PushStream from 'zen-push'; -import * as Observable from 'zen-observable'; +import Observable = require('zen-observable'); function assert(val: boolean) { if (!val) { From 613c5145059f59bdd6e6ce0dc9b78fba84391cf4 Mon Sep 17 00:00:00 2001 From: Huw McNamara Date: Tue, 6 Feb 2018 18:40:40 +0000 Subject: [PATCH 210/463] actioned comments --- types/node/v8/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/node/v8/index.d.ts b/types/node/v8/index.d.ts index e277ab2404..6caa68ba5d 100644 --- a/types/node/v8/index.d.ts +++ b/types/node/v8/index.d.ts @@ -4805,7 +4805,7 @@ declare module "tls" { * An array of strings or a Buffer naming possible NPN protocols. * (Protocols should be ordered by their priority.) */ - NPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array; + NPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array, /** * An array of strings or a Buffer naming possible ALPN protocols. * (Protocols should be ordered by their priority.) When the server @@ -4813,7 +4813,7 @@ declare module "tls" { * precedence over NPN and the server does not send an NPN extension * to the client. */ - ALPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array; + ALPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array, /** * SNICallback(servername, cb) A function that will be * called if the client supports SNI TLS extension. Two arguments @@ -4823,7 +4823,7 @@ declare module "tls" { * 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; + SNICallback?: (servername: string, cb: (err: Error | null, ctx: SecureContext) => void) => void, /** * An optional Buffer instance containing a TLS session. */ @@ -4889,7 +4889,7 @@ declare module "tls" { * @param callback - callback(err) will be executed with null as err, once the renegotiation * is successfully completed. */ - renegotiate(options: { rejectUnauthorized: boolean, requestCert: boolean }, callback: (err: Error | null) => void): any; + renegotiate(options: { rejectUnauthorized?: boolean, requestCert?: boolean }, callback: (err: Error | null) => void): 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 From 673020868ed89f83fa8ca4a3b6d414583bee4451 Mon Sep 17 00:00:00 2001 From: Huw McNamara Date: Tue, 6 Feb 2018 18:55:42 +0000 Subject: [PATCH 211/463] made changes to v9 --- types/node/index.d.ts | 93 +++++++++++++++------------------------- types/node/tsconfig.json | 2 +- 2 files changed, 36 insertions(+), 59 deletions(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 38f043554b..3b12e6591e 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -18,7 +18,9 @@ // Hannes Magnusson // Alberto Schiabel // Klaus Meinhardt +// Huw // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 /** inspector module types */ /// @@ -113,7 +115,7 @@ declare function clearImmediate(immediateId: any): void; // TODO: change to `type NodeRequireFunction = (id: string) => any;` in next mayor version. interface NodeRequireFunction { -/* tslint:disable-next-line:callable-types */ + /* tslint:disable-next-line:callable-types */ (id: string): any; } @@ -1740,33 +1742,21 @@ declare module "https" { import * as http from "http"; import { URL } from "url"; - 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 | null, ctx: tls.SecureContext) => void) => void; - secureProtocol?: string; - } + export type ServerOptions = tls.SecureContextOptions & tls.TlsServerOptions; - export interface RequestOptions extends http.RequestOptions { - pfx?: any; - key?: any; - passphrase?: string; - cert?: any; - ca?: any; - ciphers?: string; - rejectUnauthorized?: boolean; - secureProtocol?: string; - servername?: string; - } + // see https://nodejs.org/dist/latest/docs/api/https.html#https_https_request_options_callback + type extendedRequestKeys = "ca" | + "cert" | + "ciphers" | + "clientCertEngine" | + "key" | + "passphrase" | + "pfx" | + "rejectUnauthorized" | + "secureProtocol" | + "servername"; + + export type RequestOptions = http.RequestOptions & Pick; export interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions { rejectUnauthorized?: boolean; @@ -4839,7 +4829,7 @@ declare module "tls" { * An array of strings or a Buffer naming possible NPN protocols. * (Protocols should be ordered by their priority.) */ - NPNProtocols?: string[] | Buffer, + NPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array, /** * An array of strings or a Buffer naming possible ALPN protocols. * (Protocols should be ordered by their priority.) When the server @@ -4847,7 +4837,7 @@ declare module "tls" { * precedence over NPN and the server does not send an NPN extension * to the client. */ - ALPNProtocols?: string[] | Buffer, + ALPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array, /** * SNICallback(servername, cb) A function that will be * called if the client supports SNI TLS extension. Two arguments @@ -4923,7 +4913,7 @@ declare module "tls" { * @param callback - callback(err) will be executed with null as err, once the renegotiation * is successfully completed. */ - renegotiate(options: TlsOptions, callback: (err: Error | null) => void): any; + renegotiate(options: { rejectUnauthorized?: boolean, requestCert?: boolean }, callback: (err: Error | null) => void): 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 @@ -4966,30 +4956,16 @@ declare module "tls" { prependOnceListener(event: "secureConnect", listener: () => void): this; } - 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; + export interface TlsServerOptions extends SecureContextOptions { + clientCertEngine?: string; + handshakeTimeout?: number; requestCert?: boolean; rejectUnauthorized?: boolean; - NPNProtocols?: string[] | Buffer; + NPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array; + ALPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array; SNICallback?: (servername: string, cb: (err: Error | null, ctx: SecureContext) => void) => void; - ecdhCurve?: string; - dhparam?: string | Buffer; - handshakeTimeout?: number; - ALPNProtocols?: string[] | Buffer; sessionTimeout?: number; ticketKeys?: Buffer; - sessionIdContext?: string; - secureProtocol?: string; - secureOptions?: number; } export interface ConnectionOptions extends SecureContextOptions { @@ -4998,8 +4974,8 @@ declare module "tls" { path?: string; // Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored. socket?: net.Socket; // Establish secure connection on a given socket rather than creating a new socket rejectUnauthorized?: boolean; // Defaults to true - NPNProtocols?: Array; - ALPNProtocols?: Array; + NPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array; + ALPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array; checkServerIdentity?: typeof checkServerIdentity; servername?: string; // SNI TLS Extension session?: Buffer; @@ -5097,6 +5073,7 @@ declare module "tls" { ciphers?: string; honorCipherOrder?: boolean; ecdhCurve?: string; + clientCertEngine?: string; crl?: string | Buffer | Array; dhparam?: string | Buffer; secureOptions?: number; // Value is a numeric bitmask of the `SSL_OP_*` options @@ -5116,7 +5093,7 @@ declare module "tls" { * Returns Error object, populating it with the reason, host and cert on failure. On success, returns undefined. */ export function checkServerIdentity(host: string, cert: PeerCertificate): Error | undefined; - export function createServer(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server; + export function createServer(options: TlsServerOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server; export function connect(options: ConnectionOptions, secureConnectionListener?: () => void): TLSSocket; export function connect(port: number, host?: string, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; export function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; @@ -5401,7 +5378,7 @@ declare module "stream" { readonly writableLength: number; constructor(opts?: WritableOptions); _write(chunk: any, encoding: string, callback: (err?: Error) => void): void; - _writev?(chunks: Array<{chunk: any, encoding: string}>, callback: (err?: Error) => void): void; + _writev?(chunks: Array<{ chunk: any, encoding: string }>, callback: (err?: Error) => void): void; _destroy(err: Error, callback: Function): void; _final(callback: Function): void; write(chunk: any, cb?: Function): boolean; @@ -5494,7 +5471,7 @@ declare module "stream" { readonly writableLength: number; constructor(opts?: DuplexOptions); _write(chunk: any, encoding: string, callback: (err?: Error) => void): void; - _writev?(chunks: Array<{chunk: any, encoding: string}>, callback: (err?: Error) => void): void; + _writev?(chunks: Array<{ chunk: any, encoding: string }>, callback: (err?: Error) => void): void; _destroy(err: Error, callback: Function): void; _final(callback: Function): void; write(chunk: any, cb?: Function): boolean; @@ -5574,9 +5551,9 @@ declare module "util" { export function callbackify(fn: (arg1: T1, arg2: T2) => Promise): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException) => void) => void; export function callbackify(fn: (arg1: T1, arg2: T2) => Promise): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; export function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3) => Promise): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException) => void) => void; - export function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3) => Promise): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; + export function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3) => Promise): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; export function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException) => void) => void; - export function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; + export function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; export function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException) => void) => void; export function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; export function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: (err: NodeJS.ErrnoException) => void) => void; @@ -6169,7 +6146,7 @@ declare module "http2" { } export interface ServerStreamFileResponseOptions { - statCheck?: (stats: fs.Stats, headers: OutgoingHttpHeaders, statOptions: StatOptions) => void|boolean; + statCheck?: (stats: fs.Stats, headers: OutgoingHttpHeaders, statOptions: StatOptions) => void | boolean; getTrailers?: (trailers: OutgoingHttpHeaders) => void; offset?: number; length?: number; @@ -6515,7 +6492,7 @@ declare module "http2" { export type ServerSessionOptions = SessionOptions; export interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions { } - export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsOptions { } + export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsServerOptions { } export interface ServerOptions extends ServerSessionOptions { allowHTTP1?: boolean; diff --git a/types/node/tsconfig.json b/types/node/tsconfig.json index 9f4317b9f4..81040f4013 100644 --- a/types/node/tsconfig.json +++ b/types/node/tsconfig.json @@ -21,4 +21,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} \ No newline at end of file +} From e00c71172a6d67a538b27e7cfcdd1370fabdf959 Mon Sep 17 00:00:00 2001 From: Huw McNamara Date: Tue, 6 Feb 2018 19:21:36 +0000 Subject: [PATCH 212/463] fixed deps, add local pick def --- types/ftpd/index.d.ts | 2 +- types/http-proxy-middleware/index.d.ts | 2 +- types/node/index.d.ts | 6 +++++- types/node/v8/tsconfig.json | 2 +- types/nodemailer/lib/fetch/index.d.ts | 2 +- types/pg/index.d.ts | 18 +++++++++--------- types/pg/v6/index.d.ts | 22 +++++++++++----------- types/smtp-server/index.d.ts | 8 ++++---- types/thrift/index.d.ts | 16 ++++++++-------- types/xmlrpc/index.d.ts | 4 ++-- 10 files changed, 43 insertions(+), 39 deletions(-) diff --git a/types/ftpd/index.d.ts b/types/ftpd/index.d.ts index cd325109ee..8af363b572 100644 --- a/types/ftpd/index.d.ts +++ b/types/ftpd/index.d.ts @@ -75,7 +75,7 @@ export interface FtpServerOptions { /** * If this is set, the server will allow explicit TLS authentication. Value should be a dictionary which is suitable as the options argument of tls.createServer. */ - tlsOptions?: tls.TlsOptions; + tlsOptions?: tls.TlsServerOptions; /** * If this is set to true, and tlsOptions is also set, then the server will not allow logins over non-secure connections. * Default false diff --git a/types/http-proxy-middleware/index.d.ts b/types/http-proxy-middleware/index.d.ts index 5db24429c9..dd944d94e3 100644 --- a/types/http-proxy-middleware/index.d.ts +++ b/types/http-proxy-middleware/index.d.ts @@ -43,7 +43,7 @@ declare namespace proxy { target?: string; forward?: string; agent?: http.Agent; - ssl?: tls.TlsOptions; + ssl?: tls.TlsServerOptions; ws?: boolean; xfwd?: boolean; secure?: boolean; diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 3b12e6591e..8cc5307993 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -20,7 +20,6 @@ // Klaus Meinhardt // Huw // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.1 /** inspector module types */ /// @@ -1756,6 +1755,11 @@ declare module "https" { "secureProtocol" | "servername"; + // as many type definitions rely on node, redefine Pick here instead of updating all of them to typescript 2.1 + type Pick = { + [P in K]: T[P]; + }; + export type RequestOptions = http.RequestOptions & Pick; export interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions { diff --git a/types/node/v8/tsconfig.json b/types/node/v8/tsconfig.json index 8deb391829..3f4614bef4 100644 --- a/types/node/v8/tsconfig.json +++ b/types/node/v8/tsconfig.json @@ -26,4 +26,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} \ No newline at end of file +} diff --git a/types/nodemailer/lib/fetch/index.d.ts b/types/nodemailer/lib/fetch/index.d.ts index 8fc814c517..d0006cd4b7 100644 --- a/types/nodemailer/lib/fetch/index.d.ts +++ b/types/nodemailer/lib/fetch/index.d.ts @@ -21,7 +21,7 @@ declare namespace fetch { userAgent?: string; body?: Buffer | string | { [key: string]: string }; contentType?: string | false; - tls?: tls.TlsOptions; + tls?: tls.TlsServerOptions; timeout?: ms; allowErrorResponse?: boolean; } diff --git a/types/pg/index.d.ts b/types/pg/index.d.ts index 9f945082cd..f91402efe1 100644 --- a/types/pg/index.d.ts +++ b/types/pg/index.d.ts @@ -26,21 +26,21 @@ export interface Defaults extends ConnectionConfig { parseInt8?: boolean; } -import { TlsOptions } from "tls"; +import { TlsServerOptions } from "tls"; export interface ClientConfig extends ConnectionConfig { - ssl?: boolean | TlsOptions; + ssl?: boolean | TlsServerOptions; } export interface PoolConfig extends ClientConfig { - // properties from module 'node-pool' - max?: number; - min?: number; - connectionTimeoutMillis?: number; - idleTimeoutMillis?: number; + // properties from module 'node-pool' + max?: number; + min?: number; + connectionTimeoutMillis?: number; + idleTimeoutMillis?: number; - application_name?: string; - Promise?: PromiseConstructorLike; + application_name?: string; + Promise?: PromiseConstructorLike; } export interface QueryConfig { diff --git a/types/pg/v6/index.d.ts b/types/pg/v6/index.d.ts index 5624989ac7..48ae20133c 100644 --- a/types/pg/v6/index.d.ts +++ b/types/pg/v6/index.d.ts @@ -29,22 +29,22 @@ export interface Defaults extends ConnectionConfig { parseInt8?: boolean; } -import { TlsOptions } from "tls"; +import { TlsServerOptions } from "tls"; export interface ClientConfig extends ConnectionConfig { - ssl?: boolean | TlsOptions; + ssl?: boolean | TlsServerOptions; } export interface PoolConfig extends ClientConfig { - // properties from module 'node-pool' - max?: number; - min?: number; - refreshIdle?: boolean; - idleTimeoutMillis?: number; - reapIntervalMillis?: number; - returnToHead?: boolean; - application_name?: string; - Promise?: PromiseConstructorLike; + // properties from module 'node-pool' + max?: number; + min?: number; + refreshIdle?: boolean; + idleTimeoutMillis?: number; + reapIntervalMillis?: number; + returnToHead?: boolean; + application_name?: string; + Promise?: PromiseConstructorLike; } export interface QueryConfig { diff --git a/types/smtp-server/index.d.ts b/types/smtp-server/index.d.ts index 6e71373260..c00faf431a 100644 --- a/types/smtp-server/index.d.ts +++ b/types/smtp-server/index.d.ts @@ -93,7 +93,7 @@ export interface SMTPServerSession { envelope: SMTPServerEnvelope; transmissionType: string; - tlsOptions: tls.TlsOptions; + tlsOptions: tls.TlsServerOptions; } export interface SMTPServerEnvelope { @@ -107,7 +107,7 @@ export interface SMTPServerEnvelope { rcptTo: SMTPServerAddress[]; } -export interface SMTPServerOptions extends tls.TlsOptions { +export interface SMTPServerOptions extends tls.TlsServerOptions { /** * if true, the connection will use TLS. The default is false. * If the server doesn't start in TLS mode, @@ -188,7 +188,7 @@ export interface SMTPServerOptions extends tls.TlsOptions { /** * optional Map or an object of TLS options for SNI where servername is the key. Overrided by SNICallback. */ - sniOptions?: { [servername: string]: tls.TlsOptions } | Map; + sniOptions?: { [servername: string]: tls.TlsServerOptions } | Map; /** * optional boolean, if set to true then upgrade sockets to TLS immediately after connection is established. Works with secure: true */ @@ -282,7 +282,7 @@ export class SMTPServer extends EventEmitter { /** Closes the server */ close(callback: (err?: Error | null) => void): void; - updateSecureContext(options: tls.TlsOptions): void; + updateSecureContext(options: tls.TlsServerOptions): void; /** Authentication handler. Override this */ onAuth(auth: SMTPServerAuthentication, session: SMTPServerSession, callback: (err: Error | null | undefined, response: SMTPServerAuthenticationResponse) => void): void; diff --git a/types/thrift/index.d.ts b/types/thrift/index.d.ts index c5cb6f20a3..3905b40bfa 100644 --- a/types/thrift/index.d.ts +++ b/types/thrift/index.d.ts @@ -227,7 +227,7 @@ export interface ServiceMap { export interface ServiceOptions { transport?: TTransportConstructor; protocol?: TProtocolConstructor; - processor?: { new (handler: THandler): TProcessor }; + processor?: { new(handler: THandler): TProcessor }; handler?: THandler; } @@ -236,7 +236,7 @@ export interface ServerOptions extends ServiceOptions; - tls?: tls.TlsOptions; + tls?: tls.TlsServerOptions; } export interface ConnectOptions { @@ -263,12 +263,12 @@ export interface WSConnectOptions { } export type TClientConstructor = - { new (output: TTransport, pClass: { new (trans: TTransport): TProtocol }): TClient; } | - { Client: { new (output: TTransport, pClass: { new (trans: TTransport): TProtocol }): TClient; } }; + { new(output: TTransport, pClass: { new(trans: TTransport): TProtocol }): TClient; } | + { Client: { new(output: TTransport, pClass: { new(trans: TTransport): TProtocol }): TClient; } }; export type TProcessorConstructor = - { new (handler: THandler): TProcessor } | - { Processor: { new (handler: THandler): TProcessor }}; + { new(handler: THandler): TProcessor } | + { Processor: { new(handler: THandler): TProcessor } }; export interface WebServerOptions { services: { @@ -361,7 +361,7 @@ export class TFramedTransport implements TTransport { } export interface TTransportConstructor { - new (buffer?: Buffer, callback?: TTransportCallback): TTransport; + new(buffer?: Buffer, callback?: TTransportCallback): TTransport; } export class TBinaryProtocol implements TProtocol { @@ -509,7 +509,7 @@ export class TCompactProtocol implements TProtocol { } export interface TProtocolConstructor { - new (trans: TTransport, strictRead?: boolean, strictWrite?: boolean): TProtocol; + new(trans: TTransport, strictRead?: boolean, strictWrite?: boolean): TProtocol; } // thrift.js diff --git a/types/xmlrpc/index.d.ts b/types/xmlrpc/index.d.ts index 8425d4672c..7cc76d9511 100644 --- a/types/xmlrpc/index.d.ts +++ b/types/xmlrpc/index.d.ts @@ -9,7 +9,7 @@ declare module 'xmlrpc' { import { EventEmitter } from 'events'; import { Server as HttpServer } from 'http'; import { Server as HttpsServer } from 'https'; - import { TlsOptions } from 'tls'; + import { TlsServerOptions } from 'tls'; interface ClientOptions { host?: string; @@ -47,7 +47,7 @@ declare module 'xmlrpc' { function createSecureClient(options: string | ClientOptions): Client; function createServer(options: string | ServerOptions, callback: () => void): Server; - function createSecureServer(options: string | TlsOptions, callback: () => void): Server; + function createSecureServer(options: string | TlsServerOptions, callback: () => void): Server; interface Client { options: ClientOptions; From 4fb702c02c9c3115b7cc8a174db2bc02b8fbfcd5 Mon Sep 17 00:00:00 2001 From: Huw McNamara Date: Tue, 6 Feb 2018 20:03:20 +0000 Subject: [PATCH 213/463] changed local pick name --- types/node/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 8cc5307993..1792eccdac 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -1756,11 +1756,11 @@ declare module "https" { "servername"; // as many type definitions rely on node, redefine Pick here instead of updating all of them to typescript 2.1 - type Pick = { + type PortedPick = { [P in K]: T[P]; }; - export type RequestOptions = http.RequestOptions & Pick; + export type RequestOptions = http.RequestOptions & PortedPick; export interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions { rejectUnauthorized?: boolean; From eb70258db2c822f55588b3c0eca38a5a3948611e Mon Sep 17 00:00:00 2001 From: Aluan Haddad Date: Tue, 6 Feb 2018 15:26:32 -0500 Subject: [PATCH 214/463] improve the type of the stringify function Update the stringify function based on the declarations in `lib.es5.d.ts` for JSON.parse. Add the documentation taken from `lib.es5.t.ts` --- types/comment-json/index.d.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/types/comment-json/index.d.ts b/types/comment-json/index.d.ts index 9c2652f34e..09ed176ac5 100644 --- a/types/comment-json/index.d.ts +++ b/types/comment-json/index.d.ts @@ -4,5 +4,19 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export type Reviver = (k: number | string, v: any) => any; + +/** + * Converts a JavaScript Object Notation (JSON) string into an object. + * @param json A valid JSON string. + * @param reviver A function that transforms the results. This function is called for each member of the object. + * If a member contains nested objects, the nested objects are transformed before the parent object is. + */ export function parse(json: string, reviver?: Reviver, removes_comments?: boolean): any; -export function stringify(value: any, replacer?: any, space?: string | number): string; + +/** + * Converts a JavaScript value to a JavaScript Object Notation (JSON) string. + * @param value A JavaScript value, usually an object or array, to be converted. + * @param replacer A function that transforms the results or an array of strings and numbers that acts as a approved list for selecting the object properties that will be stringified. + * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read. + */ +export function stringify(value: any, replacer?: ((key: string, value: any) => any) | (number | string)[] | null, space?: string | number): string; From 14622de78f170911e8cc7547ba20ff4bffd81ff6 Mon Sep 17 00:00:00 2001 From: Aluan Haddad Date: Tue, 6 Feb 2018 15:35:05 -0500 Subject: [PATCH 215/463] lint --- types/comment-json/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/comment-json/index.d.ts b/types/comment-json/index.d.ts index 09ed176ac5..e03f15051c 100644 --- a/types/comment-json/index.d.ts +++ b/types/comment-json/index.d.ts @@ -19,4 +19,4 @@ export function parse(json: string, reviver?: Reviver, removes_comments?: boolea * @param replacer A function that transforms the results or an array of strings and numbers that acts as a approved list for selecting the object properties that will be stringified. * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read. */ -export function stringify(value: any, replacer?: ((key: string, value: any) => any) | (number | string)[] | null, space?: string | number): string; +export function stringify(value: any, replacer?: ((key: string, value: any) => any) | Array | null, space?: string | number): string; From c240fc8a4339c8ff5337039cd81e0fa575c8f58d Mon Sep 17 00:00:00 2001 From: Aluan Haddad Date: Tue, 6 Feb 2018 15:48:18 -0500 Subject: [PATCH 216/463] match DefinitelyTyped JSDoc asterisk style --- types/comment-json/index.d.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/types/comment-json/index.d.ts b/types/comment-json/index.d.ts index e03f15051c..fcb7608e2a 100644 --- a/types/comment-json/index.d.ts +++ b/types/comment-json/index.d.ts @@ -6,17 +6,17 @@ export type Reviver = (k: number | string, v: any) => any; /** - * Converts a JavaScript Object Notation (JSON) string into an object. - * @param json A valid JSON string. - * @param reviver A function that transforms the results. This function is called for each member of the object. - * If a member contains nested objects, the nested objects are transformed before the parent object is. - */ + * Converts a JavaScript Object Notation (JSON) string into an object. + * @param json A valid JSON string. + * @param reviver A function that transforms the results. This function is called for each member of the object. + * If a member contains nested objects, the nested objects are transformed before the parent object is. + */ export function parse(json: string, reviver?: Reviver, removes_comments?: boolean): any; /** - * Converts a JavaScript value to a JavaScript Object Notation (JSON) string. - * @param value A JavaScript value, usually an object or array, to be converted. - * @param replacer A function that transforms the results or an array of strings and numbers that acts as a approved list for selecting the object properties that will be stringified. - * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read. - */ + * Converts a JavaScript value to a JavaScript Object Notation (JSON) string. + * @param value A JavaScript value, usually an object or array, to be converted. + * @param replacer A function that transforms the results or an array of strings and numbers that acts as a approved list for selecting the object properties that will be stringified. + * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read. + */ export function stringify(value: any, replacer?: ((key: string, value: any) => any) | Array | null, space?: string | number): string; From 5f458aeadb19f8d1b06aafba493d66139fb67aa9 Mon Sep 17 00:00:00 2001 From: Aluan Haddad Date: Tue, 6 Feb 2018 15:48:35 -0500 Subject: [PATCH 217/463] add tests for updated signature --- types/comment-json/comment-json-tests.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types/comment-json/comment-json-tests.ts b/types/comment-json/comment-json-tests.ts index af91ff422f..56aa8453fe 100644 --- a/types/comment-json/comment-json-tests.ts +++ b/types/comment-json/comment-json-tests.ts @@ -14,3 +14,11 @@ const result = commentJson.parse(` // comment at the bottom `); const str = commentJson.stringify(result); + +const numericallyIndexed = commentJson.stringify(result, (key, value) => { +return key && Number.isInteger(Number(key)) + ? value + : undefined; +}); + +const whiteListed = commentJson.stringify(result, ['a', 1]); From bd3ddd86804078dab667319f6e3bc0886dde5e21 Mon Sep 17 00:00:00 2001 From: Aluan Haddad Date: Tue, 6 Feb 2018 15:55:04 -0500 Subject: [PATCH 218/463] document removes_comments parameter based on source README --- types/comment-json/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/comment-json/index.d.ts b/types/comment-json/index.d.ts index fcb7608e2a..0aad1934ff 100644 --- a/types/comment-json/index.d.ts +++ b/types/comment-json/index.d.ts @@ -9,6 +9,7 @@ export type Reviver = (k: number | string, v: any) => any; * Converts a JavaScript Object Notation (JSON) string into an object. * @param json A valid JSON string. * @param reviver A function that transforms the results. This function is called for each member of the object. + * @param removes_comments If true, the comments won't be maintained, which is often used when we want to get a clean object. * If a member contains nested objects, the nested objects are transformed before the parent object is. */ export function parse(json: string, reviver?: Reviver, removes_comments?: boolean): any; From 94a0f73c85cbd95c8ac191fed8e5d07972e4a68f Mon Sep 17 00:00:00 2001 From: s0m3on3 Date: Wed, 7 Feb 2018 02:19:27 +0200 Subject: [PATCH 219/463] [adone] refactoring, additions * [collections] decomposition, add MapCache, NSCache, RefcountedCache, Set * [data] add protobuf, base32, basex, base58, base64url, varint, varintSigned * [is] improve function and asyncFunction, add emitter and asyncEmitter * add fake --- types/adone/glosses/collections.d.ts | 1965 ----------------- .../adone/glosses/collections/array_set.d.ts | 44 + .../glosses/collections/async_queue.d.ts | 12 + types/adone/glosses/collections/avl_tree.d.ts | 48 + .../collections/binary_search_tree.d.ts | 110 + .../glosses/collections/buffer_list.d.ts | 92 + .../adone/glosses/collections/byte_array.d.ts | 892 ++++++++ .../glosses/collections/default_map.d.ts | 9 + types/adone/glosses/collections/fast_lru.d.ts | 61 + types/adone/glosses/collections/index.d.ts | 28 + .../glosses/collections/linked_list.d.ts | 150 ++ types/adone/glosses/collections/lru.d.ts | 213 ++ .../adone/glosses/collections/map_cache.d.ts | 13 + types/adone/glosses/collections/ns_cache.d.ts | 17 + .../glosses/collections/priority_queue.d.ts | 78 + types/adone/glosses/collections/queue.d.ts | 31 + types/adone/glosses/collections/rb_tree.d.ts | 184 ++ .../glosses/collections/refcounted_cache.d.ts | 9 + types/adone/glosses/collections/set.d.ts | 17 + types/adone/glosses/collections/stack.d.ts | 36 + .../glosses/collections/timedout_map.d.ts | 32 + types/adone/glosses/data.d.ts | 178 ++ types/adone/glosses/fake.d.ts | 337 +++ types/adone/glosses/is.d.ts | 8 +- types/adone/index.d.ts | 3 +- types/adone/test/glosses/collections.ts | 1003 --------- .../test/glosses/collections/array_set.ts | 19 + .../test/glosses/collections/async_queue.ts | 12 + .../test/glosses/collections/avl_tree.ts | 28 + .../glosses/collections/binary_search_tree.ts | 36 + .../test/glosses/collections/buffer_list.ts | 42 + .../test/glosses/collections/byte_array.ts | 561 +++++ .../test/glosses/collections/default_map.ts | 14 + .../test/glosses/collections/fast_lru.ts | 21 + .../test/glosses/collections/linked_list.ts | 123 ++ types/adone/test/glosses/collections/lru.ts | 67 + .../test/glosses/collections/map_cache.ts | 21 + .../test/glosses/collections/ns_cache.ts | 21 + .../glosses/collections/priority_queue.ts | 36 + types/adone/test/glosses/collections/queue.ts | 17 + .../adone/test/glosses/collections/rb_tree.ts | 48 + .../glosses/collections/refcounted_cache.ts | 17 + types/adone/test/glosses/collections/set.ts | 26 + types/adone/test/glosses/collections/stack.ts | 16 + .../test/glosses/collections/timedout_map.ts | 22 + types/adone/test/glosses/data.ts | 273 +++ types/adone/test/glosses/fake.ts | 206 ++ types/adone/test/glosses/is.ts | 16 +- types/adone/tsconfig.json | 43 +- 49 files changed, 4280 insertions(+), 2975 deletions(-) delete mode 100644 types/adone/glosses/collections.d.ts create mode 100644 types/adone/glosses/collections/array_set.d.ts create mode 100644 types/adone/glosses/collections/async_queue.d.ts create mode 100644 types/adone/glosses/collections/avl_tree.d.ts create mode 100644 types/adone/glosses/collections/binary_search_tree.d.ts create mode 100644 types/adone/glosses/collections/buffer_list.d.ts create mode 100644 types/adone/glosses/collections/byte_array.d.ts create mode 100644 types/adone/glosses/collections/default_map.d.ts create mode 100644 types/adone/glosses/collections/fast_lru.d.ts create mode 100644 types/adone/glosses/collections/index.d.ts create mode 100644 types/adone/glosses/collections/linked_list.d.ts create mode 100644 types/adone/glosses/collections/lru.d.ts create mode 100644 types/adone/glosses/collections/map_cache.d.ts create mode 100644 types/adone/glosses/collections/ns_cache.d.ts create mode 100644 types/adone/glosses/collections/priority_queue.d.ts create mode 100644 types/adone/glosses/collections/queue.d.ts create mode 100644 types/adone/glosses/collections/rb_tree.d.ts create mode 100644 types/adone/glosses/collections/refcounted_cache.d.ts create mode 100644 types/adone/glosses/collections/set.d.ts create mode 100644 types/adone/glosses/collections/stack.d.ts create mode 100644 types/adone/glosses/collections/timedout_map.d.ts create mode 100644 types/adone/glosses/fake.d.ts delete mode 100644 types/adone/test/glosses/collections.ts create mode 100644 types/adone/test/glosses/collections/array_set.ts create mode 100644 types/adone/test/glosses/collections/async_queue.ts create mode 100644 types/adone/test/glosses/collections/avl_tree.ts create mode 100644 types/adone/test/glosses/collections/binary_search_tree.ts create mode 100644 types/adone/test/glosses/collections/buffer_list.ts create mode 100644 types/adone/test/glosses/collections/byte_array.ts create mode 100644 types/adone/test/glosses/collections/default_map.ts create mode 100644 types/adone/test/glosses/collections/fast_lru.ts create mode 100644 types/adone/test/glosses/collections/linked_list.ts create mode 100644 types/adone/test/glosses/collections/lru.ts create mode 100644 types/adone/test/glosses/collections/map_cache.ts create mode 100644 types/adone/test/glosses/collections/ns_cache.ts create mode 100644 types/adone/test/glosses/collections/priority_queue.ts create mode 100644 types/adone/test/glosses/collections/queue.ts create mode 100644 types/adone/test/glosses/collections/rb_tree.ts create mode 100644 types/adone/test/glosses/collections/refcounted_cache.ts create mode 100644 types/adone/test/glosses/collections/set.ts create mode 100644 types/adone/test/glosses/collections/stack.ts create mode 100644 types/adone/test/glosses/collections/timedout_map.ts create mode 100644 types/adone/test/glosses/fake.ts diff --git a/types/adone/glosses/collections.d.ts b/types/adone/glosses/collections.d.ts deleted file mode 100644 index 178921136d..0000000000 --- a/types/adone/glosses/collections.d.ts +++ /dev/null @@ -1,1965 +0,0 @@ -declare namespace adone { - namespace collection { - namespace I.LinkedList { - /** - * Represents the node of a linked list - */ - interface Node { - /** - * The next node - */ - next?: Node; - - /** - * The previous node - */ - prev?: Node; - - /** - * The value this node contains - */ - value: T; - } - } - - /** - * Represents a linked list - */ - class LinkedList { - /** - * The maximum length of the list - */ - readonly maxLength: number; - - /** - * Current length of the list - */ - readonly length: number; - - /** - * Whether the list is autoresizable - */ - readonly autoresize: boolean; - - /** - * @param maxLength Maximum length of the linked list - */ - constructor(maxLength?: number); - - /** - * Whether the list is full - */ - readonly full: boolean; - - /** - * Whether the list is empty - */ - readonly empty: boolean; - - /** - * Resizes the list - */ - resize(newLength: number): this; - - /** - * Adds a new node to the end - * - * @returns Added node - */ - push(value: T): I.LinkedList.Node; - - /** - * Removes the last node, returns undefined if the list is empty - */ - pop(): T | undefined; - - /** - * Removes the first node, returns undefined if the list is empty - */ - shift(): T | undefined; - - /** - * Inserts a new node at the beginning of the list - * - * @returns Added node - */ - unshift(value: T): I.LinkedList.Node; - - /** - * Moves the given node to the end of the list - */ - pushNode(node: I.LinkedList.Node): void; - - /** - * Moved the given node to the beginning of the list - */ - unshiftNode(node: I.LinkedList.Node): void; - - /** - * Removes the given node from the list - */ - removeNode(node: I.LinkedList.Node): void; - - /** - * Clears the list - * - * @param strong Whether to reset all the node's values - */ - clear(strong?: boolean): void; - - /** - * Convers the list to an array - */ - toArray(): T[]; - - /** - * The first element of the list - */ - readonly front: T; - - /** - * The last element of the list - */ - readonly back: T; - - /** - * Returns an iterator over the list elements - */ - [Symbol.iterator](): IterableIterator; - - /** - * Returns the next node for the given node - */ - nextNode(node: I.LinkedList.Node): I.LinkedList.Node; - - /** - * Maps this linked list to a new one using the given function - */ - map(fn: (value: T, index: number) => R): LinkedList; - - /** - * Invokes the given callback for each value from the beginning to the end (much faster than for-of). - * If the given function returns false it stops iterating. - */ - forEach(callback: (value: T, index: number) => void | boolean): void; - - /** - * Default length of a new created linked list - */ - static DEFAULT_LENGTH: number; - } - - namespace I { - type Long = math.Long; - - type Longable = math.I.Longable; - - namespace ByteArray { - interface Varint32 { - value: number; - length: number; - } - - interface Varint64 { - value: Long; - length: number; - } - - interface String { - string: string; - length: number; - } - - type Wrappable = string | ByteArray | Buffer | Uint8Array | ArrayBuffer; - - type Metrics = "b" | "c"; - } - } - - /** - * Represents an array of bytes, enhanced Node.js Buffer - */ - class ByteArray { - /** - * Constructs a new ByteArray - * - * @param capacity Initial capacity. Defaults to ByteArray.DEFAULT_CAPACITY(64) - * @param noAssert Whether to skip assertions of offsets and values. Defaults to ByteArray.DEFAULT_NOASSERT(false) - */ - constructor(capacity?: number, noAssert?: boolean); - - /** - * Reads a BitSet as an array of booleans. - * - * @param offset Offset to read from. Will use and increase offset by length if omitted. - */ - readBitSet(offset?: number): boolean[]; - - /** - * Reads the specified number of bytes. - * - * @param length Number of bytes to read - * @param offset Offset to read from. Will use and increase offset by length if omitted. - */ - read(length: number, offset?: number): ByteArray; - - /** - * Reads an 8bit signed integer - * - * @param offset Offset to read from - */ - readInt8(offset?: number): number; - - /** - * Reads an 8bit unsigned integer - * - * @param offset Offset to read from - */ - readUInt8(offset?: number): number; - - /** - * Reads a 16bit signed le integer - * - * @param offset Offset to read from - */ - readInt16LE(offset?: number): number; - - /** - * Reads a 16bit unsigned le integer - * - * @param offset Offset to read from - */ - readUInt16LE(offset?: number): number; - - /** - * Reads a 16bit signed be integer - * - * @param offset Offset to read from - */ - readInt16BE(offset?: number): number; - - /** - * Reads a 16bit unsigned be integer - * - * @param offset Offset to read from - */ - readUInt16BE(offset?: number): number; - - /** - * Reads a 32bit signed le integer - * - * @param offset Offset to read from - */ - readInt32LE(offset?: number): number; - - /** - * Reads a 32bit unsigned le integer - * - * @param offset Offset to read from - */ - readUInt32LE(offset?: number): number; - - /** - * Reads a 32bit signed be integer - * - * @param offset Offset to read from - */ - readInt32BE(offset?: number): number; - - /** - * Reads a 32bit unsigned be integer - * - * @param offset Offset to read from - */ - readUInt32BE(offset?: number): number; - - /** - * Reads a 64bit signed le integer as math.Long - * - * @param offset Offset to read from - */ - readInt64LE(offset?: number): math.Long; - - /** - * Reads a 64bit unsigned le integer as math.Long - * - * @param offset Offset to read from - */ - readUInt64LE(offset?: number): math.Long; - - /** - * Reads a 64bit signed be integer as math.Long - * - * @param offset Offset to read from - */ - readInt64BE(offset?: number): math.Long; - - /** - * Reads a 64bit unsigned be integer as math.Long - * - * @param offset Offset to read from - */ - readUInt64BE(offset?: number): math.Long; - - /** - * Reads a 32bit le float - * - * @param offset Offset to read from - */ - readFloatLE(offset?: number): number; - - /** - * Reads a 32bit be float - * - * @param offset Offset to read from - */ - readFloatBE(offset?: number): number; - - /** - * Reads a 64bit le float - * - * @param offset Offset to read from - */ - readDoubleLE(offset?: number): number; - - /** - * Reads a 64bit be float - * - * @param offset Offset to read from - */ - readDoubleBE(offset?: number): number; - - /** - * Appends some data to this ByteArray. - * This will overwrite any contents behind the specified offset up to the appended data's length. - * - * @param source The source write from - * @param offset Offset to write to - * @param length length to read from the source - * @param encoding encoding to use for wrapping the source in bytearray - */ - write(source: I.ByteArray.Wrappable, offset?: number, length?: number, encoding?: string): this; - - /** - * Writes the array as a bitset. - * @param value Array of booleans to write - */ - writeBitSet(value: number[]): this; - - /** - * Writes the array as a bitset. - * @param value Array of booleans to write - * @param offset Offset to write to - */ - writeBitSet(value: number[], offset: number): number; - - /** - * Writes an 8bit signed integer - * - * @param offset Offset to write to - */ - writeInt8(value: number, offset?: number): this; - - /** - * Writes an 8bit unsigned integer - * - * @param offset Offset to write to - */ - writeUInt8(value: number, offset?: number): this; - - /** - * Writes a 16bit signed le integer - * - * @param offset Offset to write to - */ - writeInt16LE(value: number, offset?: number): this; - - /** - * Writes a 16bit signed be integer - * - * @param offset Offset to write to - */ - writeInt16BE(value: number, offset?: number): this; - - /** - * Writes a 16bit unsigned le integer - * - * @param offset Offset to write to - */ - writeUInt16LE(value: number, offset?: number): this; - - /** - * Writes a 16bit unsigned be integer - * - * @param offset Offset to write to - */ - writeUInt16BE(value: number, offset?: number): this; - - /** - * Writes a 32bit signed le integer - * - * @param offset Offset to write to - */ - writeInt32LE(value: number, offset?: number): this; - - /** - * Writes a 32bit signed be integer - * - * @param offset Offset to write to - */ - writeInt32BE(value: number, offset?: number): this; - - /** - * Writes a 32bit unsigned le integer - * - * @param offset Offset to write to - */ - writeUInt32LE(value: number, offset?: number): this; - - /** - * Writes a 32bit unsigned be integer - * - * @param offset Offset to write to - */ - writeUInt32BE(value: number, offset?: number): this; - - /** - * Writes a 64bit signed le long integer - * - * @param offset Offset to write to - */ - writeInt64LE(value: math.Long | string | number, offset?: number): this; - - /** - * Writes a 64bit signed be long integer - * - * @param offset Offset to write to - */ - writeInt64BE(value: math.Long | string | number, offset?: number): this; - - /** - * Writes a 64bit unsigned le long integer - * - * @param offset Offset to write to - */ - writeUInt64LE(value: math.Long | string | number, offset?: number): this; - - /** - * Writes a 64bit unsigned be long integer - * - * @param offset Offset to write to - */ - writeUInt64BE(value: math.Long | string | number, offset?: number): this; - - /** - * Writes a 32bit le float - * - * @param offset Offset to write to - */ - writeFloatLE(value: number, offset?: number): this; - - /** - * Writes a 32bit be float - * - * @param offset Offset to write to - */ - writeFloatBE(value: number, offset?: number): this; - - /** - * Writes a 64bit le float - * - * @param offset Offset to write to - */ - writeDoubleLE(value: number, offset?: number): this; - - /** - * Writes a 64bit be float - * - * @param offset Offset to write to - */ - writeDoubleBE(value: number, offset?: number): this; - - /** - * Writes a 32bit base 128 variable-length integer - */ - writeVarint32(value: number): this; - - /** - * Writes a 32bit base 128 variable-length integer - * - * @param offset Offset to write to - */ - writeVarint32(value: number, offset: number): number; - - /** - * Writes a zig-zag encoded 32bit base 128 variable-length integer - */ - writeVarint32ZigZag(value: number): this; - - /** - * Writes a zig-zag encoded 32bit base 128 variable-length integer - * - * @param offset Offset to write to - */ - writeVarint32ZigZag(value: number, offset: number): number; - - /** - * Reads a 32bit base 128 variable-length integer - */ - readVarint32(): number; - - /** - * Reads a 32bit base 128 variable-length integer - * - * @param offset Offset to read from - */ - readVarint32(offset: number): I.ByteArray.Varint32; - - /** - * Reads a zig-zag encoded 32bit base 128 variable-length integer - */ - readVarint32ZigZag(): number; - - /** - * Reads a zig-zag encoded 32bit base 128 variable-length integer - * - * @param offset Offset to read from - */ - readVarint32ZigZag(offset: number): I.ByteArray.Varint32; - - /** - * Writes a 64bit base 128 variable-length integer - */ - writeVarint64(value: math.Long | string | number): this; - - /** - * Writes a 64bit base 128 variable-length integer - * - * @param offset Offset to write to - */ - writeVarint64(value: math.Long | string | number, offset: number): number; - - /** - * Writes a zig-zag encoded 64bit base 128 variable-length integer - */ - writeVarint64ZigZag(value: math.Long | string | number): this; - - /** - * Writes a zig-zag encoded 64bit base 128 variable-length integer - * - * @param offset Offset to write to - */ - writeVarint64ZigZag(value: math.Long | string | number, offset: number): number; - - /** - * Reads a 64bit base 128 variable-length integer - */ - readVarint64(): I.Long; - - /** - * Reads a 64bit base 128 variable-length integer - * - * @param offset Offset to read from - */ - readVarint64(offset: number): I.ByteArray.Varint64; - - /** - * Reads a zig-zag encoded 64bit base 128 variable-length integer - */ - readVarint64ZigZag(): math.Long; - - /** - * Reads a zig-zag encoded 64bit base 128 variable-length integer - * - * @param offset Offset to read from - */ - readVarint64ZigZag(offset: number): I.ByteArray.Varint64; - - /** - * Writes a NULL-terminated UTF8 encoded string. - * For this to work the specified string must not contain any NULL characters itself - */ - writeCString(str: string): this; - - /** - * Writes a NULL-terminated UTF8 encoded string. - * For this to work the specified string must not contain any NULL characters itself - * - * @param offset Offset to write to - */ - writeCString(str: string, offset: number): number; - - /** - * Reads a NULL-terminated UTF8 encoded string. - * For this to work the string read must not contain any NULL characters itself - */ - readCString(): string; - - /** - * Reads a NULL-terminated UTF8 encoded string. - * For this to work the string read must not contain any NULL characters itself - * - * @param offset Offset to read from - */ - readCString(offset: number): I.ByteArray.String; - - /** - * Writes an UTF8 encoded string - */ - writeString(str: string): this; - - /** - * Writes an UTF8 encoded string - * - * @param offset Offset to write to - */ - writeString(str: string, offset: number): number; - - /** - * Reads an UTF8 encoded string - * - * @param length Number of characters or bytes to read - * @param metrics Metrics specifying what n is meant to count. Defaults to ByteArray.METRICS_CHARS("c") - */ - readString(length: number, metrics?: I.ByteArray.Metrics): string; - - /** - * Reads an UTF8 encoded string - * - * @param length Number of characters or bytes to read - * @param metrics Metrics specifying what n is meant to count. Defaults to ByteArray.METRICS_CHARS("c") - * @param offset Offset to read from - */ - readString(length: number, metrics: I.ByteArray.Metrics, offset: number): I.ByteArray.String; - - /** - * Reads an UTF8 encoded string - * - * @param length Number of characters or bytes to read - * @param offset Offset to read from - */ - readString(length: number, offset: number): I.ByteArray.String; - - /** - * Writes a length as varint32 prefixed UTF8 encoded string - */ - writeVString(str: string): this; - - /** - * Writes a length as varint32 prefixed UTF8 encoded string - * - * @param offset Offset to read from - */ - writeVString(str: string, offset: number): number; - - /** - * Reads a length as varint32 prefixed UTF8 encoded string - */ - readVString(): string; - - /** - * Reads a length as varint32 prefixed UTF8 encoded string - * - * @param offset Offset to read from - */ - readVString(offset: number): I.ByteArray.String; - - /** - * Appends this ByteArray's contents to another ByteArray. - * This will overwrite any contents behind the specified offset up to the length of this ByteArray's data - * - * @param offset Offset to append to - */ - appendTo(target: ByteArray, offset?: number): this; - - /** - * Enables or disables assertions of argument types and offsets. - * Assertions are enabled by default but you can opt to disable them if your code already makes sure that everything is valid - */ - assert(assert?: boolean): this; - - /** - * Gets the capacity of this ByteArray's backing buffer - */ - capacity(): number; - - /** - * Clears this ByteArray's offsets by setting offset to 0 and limit to the backing buffer's capacity - */ - clear(): this; - - /** - * Creates a cloned instance of this ByteArray, - * preset with this ByteArray's values for offset, markedOffset and limit - * - * @param copy Whether to copy the backing buffer or to return another view on the same, false by default - */ - clone(copy?: boolean): ByteArray; - - /** - * Compacts this ByteArray to be backed by a buffer of its contents' length. - * Will set offset = 0 and limit = capacity and adapt markedOffset to the same relative position if set - * - * @param begin Offset to start at, buffer offset by default - * @param end Offset to end at, buffer limit by default - */ - compact(begin?: number, end?: number): this; - - /** - * Creates a copy of this ByteArray's contents. - * - * @param begin Begin offset, buffer offset by default - * @param end End offset, buffer limit by default - */ - copy(begin?: number, end?: number): ByteArray; - - /** - * Copies this ByteArray's contents to another ByteArray. - * - * @param targetOffset Offset to copy to. Will use and increase the target's offset by the number of bytes copied if omitted - * @param sourceOffset Offset to start copying from. Will use and increase offset by the number of bytes copied if omitted - * @param sourceLimit Offset to end copying from, defaults to the buffer limit - */ - copyTo(target: ByteArray, targetOffset?: number, souceOffset?: number, sourceLimit?: number): this | ByteArray; - - /** - * Makes sure that this ByteArray is backed by a ByteArray#buffer of at least the specified capacity. - * If the current capacity is exceeded, it will be doubled. - * If double the current capacity is less than the required capacity, the required capacity will be used instead - */ - ensureCapacity(capacity: number): this; - - /** - * Overwrites this ByteArray's contents with the specified value. - * - * @param value Byte value to fill with. If given as a string, the first character is used - * @param begin Begin offset. Will use and increase offset by the number of bytes written if omitted. defaults to offset - * @param end End offset, defaults to limit. - */ - fill(value: string | number, begin?: number, end?: number): this; - - /** - * Makes this ByteArray ready for a new sequence of write or relative read operations. - * Sets limit = offset and offset = 0. - * Make sure always to flip a ByteArray when all relative read or write operations are complete - */ - flip(): this; - - /** - * Marks an offset on this ByteArray to be used later - * - * @param offset Offset to mark. Defaults to offset. - */ - mark(offset?: number): this; - - /** - * Prepends some data to this ByteArray. - * This will overwrite any contents before the specified offset up to the prepended data's length. - * If there is not enough space available before the specified offset, - * the backing buffer will be resized and its contents moved accordingly - * - * @param source Data to prepend - * @param offset Offset to prepend at. Will use and decrease offset by the number of bytes prepended if omitted. - */ - prepend(source: I.ByteArray.Wrappable, offset: number): this; - - /** - * Prepends some data to this ByteArray. - * This will overwrite any contents before the specified offset up to the prepended data's length. - * If there is not enough space available before the specified offset, - * the backing buffer will be resized and its contents moved accordingly - * - * @param source Data to prepend - * @param encoding Encoding if data is a string - * @param offset Offset to prepend at. Will use and decrease offset by the number of bytes prepended if omitted. - */ - prepend(source: I.ByteArray.Wrappable, encoding?: string, offset?: number): this; - - /** - * Prepends this ByteArray to another ByteArray. - * This will overwrite any contents before the specified offset up to the prepended data's length. - * If there is not enough space available before the specified offset, - * the backing buffer will be resized and its contents moved accordingly - * - * @param offset Offset to prepend at - */ - prependTo(target: ByteArray, offset?: number): this; - - /** - * Gets the number of remaining readable bytes - */ - remaining(): number; - - /** - * Resets this ByteArray's offset. - * If an offset has been marked through mark before, offset will be set to markedOffset, which will then be discarded. - * If no offset has been marked, sets offset = 0 - */ - reset(): this; - - /** - * Resizes this ByteArray to be backed by a buffer of at least the given capacity. - * Will do nothing if already that large or larger. - * - * @param capacity Capacity required - */ - resize(capacity: number): this; - - /** - * Reverses this ByteArray's contents. - * - * @param begin Offset to start at, defaults to offset - * @param end Offset to end at, defaults to limit - */ - reverse(begin?: number, end?: number): this; - - /** - * Skips the next length bytes. This will just advance - */ - skip(length: number): this; - - /** - * Slices this ByteArray by creating a cloned instance with offset = begin and limit = end - * - * @param begin Begin offset, defaults to offset - * @param end End offset, defaults to limit - */ - slice(begin?: number, end?: number): ByteArray; - - /** - * Returns a copy of the backing buffer that contains this ByteArray's contents. - * - * @param forceCopy If true returns a copy, otherwise returns a view referencing the same memory if possible, false by default - * @param begin Begin offset, offset by default - * @param end End offset, limit by default - */ - toBuffer(forceCopy?: boolean, begin?: number, end?: number): Buffer; - - /** - * Returns a raw buffer compacted to contain this ByteArray's contents - */ - toArrayBuffer(): ArrayBuffer; - - /** - * Converts the ByteArray's contents to a string - * - * @param encoding Output encoding - * @param begin Begin offset, offset by default - * @param end End offset, limit by default - */ - toString(encoding?: string, begin?: number, end?: number): string; - - /** - * Encodes this ByteArray's contents to a base64 encoded string - * - * @param begin Begin offset, offset by default - * @param end End offset, limit by default - */ - toBase64(begin?: number, end?: number): string; - - /** - * Encodes this ByteArray to a binary encoded string, that is using only characters 0x00-0xFF as bytes - * - * @param begin Begin offset, offset by default - * @param end End offset, limit by default - */ - toBinary(begin?: number, end?: number): string; - - /** - * Encodes this ByteArray to a hex encoded string with marked offsets - * - * @param columns If true returns two columns hex + ascii, defaults to false - */ - toDebug(columns?: boolean): string; - - /** - * Encodes this ByteArray's contents to a hex encoded string - * - * @param begin Begin offset, offset by default - * @param end End offset, limit by default - */ - toHex(begin?: number, end?: number): string; - - /** - * Encodes this ByteArray's contents to an UTF8 encoded string - * - * @param begin Begin offset, offset by default - * @param end End offset, limit by default - */ - toUTF8(begin?: number, end?: number): string; - - static accessor(): typeof Buffer; - - /** - * Allocates a new ByteArray backed by a buffer of the specified capacity. - * - * @param capacity Initial capacity. Defaults to ByteArray.DEFAULT_CAPACITY(64) - * @param noAssert Whether to skip assertions of offsets and values. Defaults to ByteArray.DEFAULT_NOASSERT(false) - */ - static allocate(capacity?: number, noAssert?: boolean): ByteArray; - - /** - * Concatenates multiple ByteArrays into one - * - * @param encoding Encoding for strings - * @param noAssert Whether to skip assertions of offsets and values. Defaults to ByteArray.DEFAULT_NOASSERT(false) - */ - static concat(buffers: I.ByteArray.Wrappable[], encoding?: string, noAssert?: boolean): ByteArray; - - static type(): typeof Buffer; - - /** - * Wraps a buffer or a string. - * Sets the allocated ByteArray's offset to 0 and its limit to the length of the wrapped data - * - * @param encoding Encoding for strings - * @param noAssert Whether to skip assertions of offsets and values. Defaults to ByteArray.DEFAULT_NOASSERT(false) - */ - static wrap(buffer: I.ByteArray.Wrappable, encoding?: string, noAssert?: boolean): ByteArray; - - /** - * Calculates the actual number of bytes required to store a 32bit base 128 variable-length integer - */ - static calculateVarint32(value: number): number; - - /** - * Zigzag encodes a signed 32bit integer so that it can be effectively used with varint encoding - */ - static zigZagEncode32(n: number): number; - - /** - * Decodes a zigzag encoded signed 32bit integer - */ - static zigZagDecode32(n: number): number; - - /** - * Calculates the actual number of bytes required to store a 64bit base 128 variable-length integer - */ - static calculateVarint64(value: number | string): number; - - /** - * Zigzag encodes a signed 64bit integer so that it can be effectively used with varint encoding - */ - static zigZagEncode64(value: number | string | I.Long): I.Long; - - /** - * Decodes a zigzag encoded signed 64bit integer. - */ - static zigZagDecode64(value: number | string | I.Long): I.Long; - - /** - * Calculates the number of UTF8 characters of a string. - * JavaScript itself uses UTF-16, - * so that a string's length property does not reflect its actual UTF8 size if it contains code points larger than 0xFFFF - */ - static calculateUTF8Chars(str: string): number; - - /** - * Calculates the number of UTF8 bytes of a string. - */ - static calculateString(str: string): number; - - /** - * Decodes a base64 encoded string to a ByteArray - */ - static fromBase64(str: string): ByteArray; - - /** - * Encodes a binary string to base64 like window.btoa does - */ - static btoa(str: string): string; - - /** - * Decodes a base64 encoded string to binary like window.atob does - */ - static atob(b64: string): string; - - /** - * Decodes a binary encoded string, that is using only characters 0x00-0xFF as bytes, to a ByteArray - */ - static fromBinary(str: string): ByteArray; - - /** - * Decodes a hex encoded string with marked offsets to a ByteArray - */ - static fromDebug(str: string, noAssert?: boolean): ByteArray; - - /** - * Decodes a hex encoded string to a ByteArray - */ - static fromHex(str: string, noAssert?: boolean): ByteArray; - - /** - * Decodes an UTF8 encoded string to a ByteArray - */ - static fromUTF8(str: string, noAssert?: boolean): ByteArray; - - /** - * Default initial capacity - */ - static DEFAULT_CAPACITY: number; - - /** - * Default no assertions flag - */ - static DEFAULT_NOASSERT: boolean; - - /** - * Maximum number of bytes required to store a 32bit base 128 variable-length integer - */ - static MAX_VARINT32_BYTES: number; - - /** - * Maximum number of bytes required to store a 64bit base 128 variable-length integer - */ - static MAX_VARINT64_BYTES: number; - - /** - * Metrics representing number of UTF8 characters. Evaluates to `c`. - */ - static METRICS_CHARS: string; - - /** - * Metrics representing number of bytes. Evaluates to `b`. - */ - static METRICS_BYTES: string; - } - - /** - * Represents a queue - */ - class Queue { - /** - * Whether the queue is full - */ - readonly full: boolean; - - /** - * The length of the queue - */ - readonly length: number; - - /** - * Whether the queue is empty - */ - readonly empty: boolean; - - /** - * Inserts a new element at the end - */ - push(x: S): this; - - /** - * Removes and returns an element from the beginning - */ - pop(): T | undefined; - } - - /** - * Represents an asynchronous queue, each pop is a promise - * that is resolved with an existing element or an element that will be pushed in the future - */ - class AsyncQueue extends Queue> { - /** - * Returns a promise that will be resolved with an existing element or an element that will be pushed in the future - */ - pop(): Promise; - } - - namespace I.PriorityQueue { - interface ConstructorOptions { - /** - * Function that compares objects. - * - * Must return a positive value if a > b, a negative if a < b, and zero for equal objects - */ - compare?(a: T, b: T): number; - - /** - * Function that evaluates the priority value by the given objects, - * if the returned value > 0, then the first argument has higher priority, - * = 0 same priority, < 0 lower priority. - * By default the top element is an element that has the highest priority, - * the default priority function is equal to the compare function - */ - priority?(a: T, b: T): number; - } - } - - /** - * Represents a priority queue - */ - class PriorityQueue { - /** - * Whether the queue is empty - */ - readonly empty: boolean; - - /** - * The length of the queue - */ - readonly length: number; - - constructor(options?: I.PriorityQueue.ConstructorOptions); - - /** - * Clones the queue - */ - clone(): PriorityQueue; - - /** - * Inserts a new element - */ - push(x: T): this; - - /** - * Removes the top element (that has the highest priority) - */ - pop(): T | undefined; - - /** - * Deletes the given element from the queue - */ - delete(x: T): this; - - /** - * Replaces the top element (pop + push) - */ - replace(x: T): T; - - /** - * Faster push + pop - */ - pushpop(x: T): T; - - /** - * Converts the queue to an array, it works with a clone of the queue, so the original queue is untouched - */ - toArray(): T[]; - - /** - * Creates a queue object from the given iterable - */ - static from(iterable: Iterable, options?: I.PriorityQueue.ConstructorOptions): PriorityQueue; - } - - /** - * Represents a faster LRU cache but with less functionality - */ - class FastLRU { - /** - * @param size Cache size, unlimited by default - */ - constructor(size?: number, options?: { - /** - * Function that is called when a value is deleted - */ - dispose?(key: K, value: V): void - }); - - /** - * The actual size of the cache - */ - readonly size: number; - - /** - * Gets the value by the given key - */ - get(key: K): V | undefined; - - /** - * Sets a new value for the given key - */ - set(key: K, value: V): void; - - /** - * Deletes the given key from the cache - */ - delete(key: K): boolean; - - /** - * Checks whether the cache has an element with the given key - */ - has(key: K): boolean; - - /** - * Returns the keys iterator - */ - keys(): IterableIterator; - - /** - * Returns the values iterator - */ - values(): IterableIterator; - - /** - * Returns the entries iterator - */ - entries(): IterableIterator<[K, V]>; - - /** - * Clears the cache - */ - clear(): void; - } - - /** - * Represents a stack - */ - class Stack { - /** - * Whether the stack is empty - */ - readonly empty: boolean; - - /** - * The top element of the stack - */ - readonly top: T; - - /** - * Inserts a new element - */ - push(x: T): this; - - /** - * Removes the top element - */ - pop(): T | undefined; - - /** - * Returns an iterator over the values - */ - [Symbol.iterator](): IterableIterator; - - /** - * Creates a stack and pushed all the values from the given iterable object - */ - static from(iterable: Iterable): Stack; - } - - namespace I.BinarySearchTree { - interface ConstructorOptions { - /** - * The parent tree - */ - parent?: Tree; - - /** - * Value to keep in this node - */ - value?: V; - - /** - * WHether the values must be unique, false by default. - * If false you can store many values for same keys, otherwise only one - */ - unique?: boolean; - - /** - * Custom keys comparator, by default if a > b => -1, a < b -1, a === b => 0 - */ - compareKeys?(a: K, b: K): number; - - /** - * Function that defines whether 2 values are the same, by default a === b - */ - checkValueEquality?(a: V, b: V): boolean; - } - - interface Query { - $lt?: K; - $lte?: K; - $gt?: K; - $gte?: K; - } - } - - /** - * Represents a binary search tree - */ - class BinarySearchTree { - constructor(options?: I.BinarySearchTree.ConstructorOptions>); - - /** - * Returns the max descendant tree - */ - getMaxKeyDescendant(): BinarySearchTree; - - /** - * Returns the maximum key - */ - getMaxKey(): K; - - /** - * Returns the min descendant tree - */ - getMinKeyDescendant(): BinarySearchTree; - - /** - * Returns the minumum key - */ - getMinKey(): K; - - /** - * Traverses the tree and calls the given function for each node - */ - checkAllNodesFullfillCondition(test: (key: K, value: V) => void): void; - - /** - * Checks whether the tree is a binary search tree - */ - checkIsBST(): void; - - /** - * Returns the of keys in the tree - */ - getNumberOfKeys(): number; - - /** - * Inserts a new key/value - */ - insert(key: K, value: V): void; - - /** - * Searches the given key in the tree - */ - search(key: K): V[]; - - /** - * Returns all the values from the given key bounds - */ - betweenBounds(query: I.BinarySearchTree.Query): V[]; - - /** - * Deletes the given key/value from the tree - */ - delete(key: K, value?: V): void; - - /** - * Executed the given callback for each node from left to right - */ - executeOnEveryNode(fn: (tree: BinarySearchTree) => void): void; - - /** - * Prints the tree - */ - prettyPrint(printData?: boolean, spacing?: string): void; - } - - /** - * Represents an AVL tree, a self-balancing binary search tree - */ - class AVLTree { - constructor(options?: I.BinarySearchTree.ConstructorOptions>); - - /** - * Checks whether the tree is an avl tree - */ - checkIsAVLT(): void; - - /** - * Inserts a new key/value - */ - insert(key: K, value: V): void; - - /** - * Deletes the given key/value from the tree - */ - delete(key: K, value?: V): void; - - /** - * Returns the of keys in the tree - */ - getNumberOFKeys(): number; - - /** - * Searches the given key in the tree - */ - search(key: K): V[]; - - /** - * Returns all the values from the given key bounds - */ - betweenBounds(query: I.BinarySearchTree.Query): V[]; - - /** - * Executed the given callback for each node from left to right - */ - executeOnEveryNode(fn: (tree: AVLTree) => void): void; - - /** - * Prints the tree - */ - prettyPrint(printDate?: boolean, spacing?: string): void; - } - - namespace I.RedBlackTree { - interface Node { - /** - * The key associated to the node - */ - key: K; - - /** - * The value associated to the node - */ - value: V; - - /** - * The left subtree of the node - */ - left?: Node; - - /** - * The right subtree of the node - */ - right?: Node; - } - - interface Iterator { - /** - * Checks if the iterator is valid - */ - readonly valid: boolean; - - /** - * The value of the node at the iterator's current position, null if invalid - */ - readonly node: Node | null; - - /** - * The key of the item referenced by the iterator, undefined if invalid - */ - readonly key?: K; - - /** - * The value of the item referenced by the iterator, undefined if invalid - */ - readonly value?: V; - - /** - * Returns the position of this iterator in the sequence - */ - readonly index: number; - - /** - * If true, then the iterator is not at the end of the sequence - */ - readonly hasNext: boolean; - - /** - * If true, then the iterator is not at the beginning of the sequence - */ - readonly hasPrev: boolean; - - /** - * The tree associated to the iterator - */ - tree: RedBlackTree; - - /** - * Makes a copy of the iterator - */ - clone(): Iterator; - - /** - * Removes the item at the position of the iterator and returns a new rb-tree - */ - remove(): RedBlackTree; - - /** - * Advances the iterator to the next position - */ - next(): void; - - /** - * Updates the value of the node in the tree at this iterator and returns a new rb-tree - */ - update(value: V): RedBlackTree; - - /** - * Moves the iterator backward one element - */ - prev(): void; - } - } - - /** - * Represents a fully persistent red-black tree - */ - class RedBlackTree { - /** - * The root node of the tree - */ - root: I.RedBlackTree.Node; - - constructor(compare?: (a: K, b: K) => number, root?: RedBlackTree); - - /** - * A sorted array of all the keys in the tree - */ - readonly keys: K[]; - - /** - * An array of all the values in the tree - */ - readonly values: V[]; - - /** - * The number of items in the tree - */ - readonly length: number; - - /** - * An iterator pointing to the first element in the tree - */ - readonly begin: I.RedBlackTree.Iterator; - - /** - * An iterator pointing to the last element in the tree - */ - readonly end: I.RedBlackTree.Iterator; - - /** - * Creates a new tree with the new pair inserted - */ - insert(key: K, value: V): RedBlackTree; - - /** - * Walks a visitor function over the nodes of the tree in order - * - * @param visit A callback that gets executed on each node. - * If a truthy value is returned from the visitor, then iteration is stopped. - * @param lo An optional start of the range to visit (inclusive) - * @param hi An optional end of the range to visit (non-inclusive) - */ - forEach(visit: (key: K, value: V) => T, lo?: K, hi?: K): T; - - /** - * Finds an iterator starting at the given element - */ - at(idx: number): I.RedBlackTree.Iterator; - - /** - * Finds the first item in the tree whose key is >= key - */ - ge(key: K): I.RedBlackTree.Iterator; - - /** - * Finds the first item in the tree whose key is > key - */ - gt(key: K): I.RedBlackTree.Iterator; - - /** - * Finds the first item in the tree whose key is < key - */ - lt(key: K): I.RedBlackTree.Iterator; - - /** - * Finds the first item in the tree whose key is <= key - */ - le(key: K): I.RedBlackTree.Iterator; - - /** - * Returns an iterator pointing to the first item in the tree with key, otherwise null - */ - find(key: K): I.RedBlackTree.Iterator | null; - - /** - * Removes the first item with key in the tree - */ - remove(key: K): RedBlackTree; - - /** - * Retrieves the value associated to the given key - */ - get(key: K): V | undefined; - } - - /** - * Respresetns a data structure which is a combination of an array and a set. - * Adding a new member is O(1), testing for membership is O(1), - * and finding the index of an element is O(1). - */ - class ArraySet { - /** - * The number of unique items in this ArraySet. - * If duplicates have been added, than those do not count towards the size. - */ - readonly length: number; - - /** - * Adds the given value to this set. - * - * @param allowDuplicates Whether to allow duplicates in the set, false by default - */ - add(value: T, allowDuplicates?: boolean): this; - - /** - * Checks whether the given value is a member of the set - */ - has(value: T): boolean; - - /** - * Returns the index of the given element. - * If the value is not present it will return -1 - */ - indexOf(value: T): number; - - /** - * Converts the set to an array - */ - toArray(): T[]; - - /** - * Creates an ArraySet from the given iterable object - * - * @param allowDuplicates Whether to allow duplicates in the set, false by default - */ - static from(iterable: Iterable, allowDuplicates?: boolean): ArraySet; - } - - namespace I.BufferList { - type Appendable = Buffer | BufferList | string | number | Array; - } - - /** - * Represents a Node.js Buffer list collector, reader and streamer with callback/promise interface support - */ - class BufferList extends std.stream.Duplex implements PromiseLike { - /** - * Creates a new buffer list - */ - constructor(); - - /** - * Creates a new buffer list and initiates with the given value - */ - constructor(buffer: I.BufferList.Appendable); - - /** - * Creates a new buffer list and subscribes the given callback on the end/error event - */ - constructor(callback: (err: any, data: Buffer) => void); - - /** - * Adds an additional buffer or BufferList to the internal list - */ - append(buf: I.BufferList.Appendable): this; - - /** - * Ends the stream - */ - end(chunk?: Buffer): void; - end(chunk?: () => void): void; - - /** - * Returns the byte at the specified index - */ - get(idx: number): number; - - /** - * Returns a new Buffer object containing the bytes within the range specified. - */ - slice(start?: number, end?: number): Buffer; - - /** - * Copies the content of the list in the dest buffer - * starting from destStart and containing the bytes within the range specified with srcStart to srcEnd - * - * @param dstStart writes from this position - * @param srcStart reads bytes from this position - * @param srcEnd read bytes to this position - */ - copy(dst: T, dstStart?: number, srcStart?: number, srcEnd?: number): T; - - /** - * Returns a new BufferList object containing the bytes within the range specified. - * No copies will be performed. All buffers in the result share memory with the original list. - * - * @param start slice from - * @param end slice to - */ - shallowSlice(start?: number, end?: number): BufferList; - - /** - * Return a string representation of the buffer - */ - toString(encoding?: fs.I.Encoding, start?: number, end?: number): string; - - /** - * Shifts bytes off the start of the list - */ - consume(bytes: number): this; - - /** - * Performs a shallow-copy of the list. - */ - duplicate(): BufferList; - - /** - * Destroys the stream - */ - destroy(): void; - - then( - onfulfilled?: ((value: Buffer) => T1 | PromiseLike) | null, - onrejected?: ((reason: any) => T2 | PromiseLike) | null - ): PromiseLike; - - catch(onrejected?: ((reason: any) => T | PromiseLike) | null): PromiseLike; - } - - /** - * Represents a Map that has a default values factory object or function. - * Each get of non-existent key goes through the factory - */ - class DefaultMap extends Map { - constructor(factory?: ((key: K) => V) | { [key: string]: V }, iterable?: Iterable<[K, V]>); - } - - namespace I.LRU { - type LengthCalculator = (value: V, key: K) => number; - interface ConstructorOptions { - /** - * The maximum size of the cache, checked by applying the length function to all values in the cache. - * Default is Infinity - */ - max?: number; - - /** - * Maximum age in ms. Items are not pro-actively pruned out as they age, - * but if you try to get an item that is too old, - * it'll drop it and return undefined instead of giving it to you - */ - maxAge?: number; - - /** - * Function that is used to calculate the length of stored items - */ - length?: LengthCalculator; - - /** - * Function that is called on items when they are dropped from the cache - */ - dispose?(key: K, value: V): void; - - /** - * Whether to return the stale value before deleting it - */ - stale?: boolean; - - /** - * Dispose will only be called when a key falls out of the cache, not when it is overwritten - */ - noDisposeOnSet?: boolean; - } - - interface SerializedEntry { - /** - * key - */ - key: K; - - /** - * value - */ - value: V; - - /** - * when it becomes expired - */ - e: number; - } - - interface Entry { - /** - * key - */ - key: K; - - /** - * value - */ - value: V; - - /** - * entry length - */ - length: number; - - /** - * Timestamp when the entry was created - */ - now: number; - - /** - * Maximum live time - */ - maxAge: number; - } - } - - /** - * Represent an LRU cache - */ - class LRU { - /** - * Creates an LRU cache of the given size - */ - constructor(max: number); - - /** - * Creates an LRU cache with the given options - */ - constructor(options?: I.LRU.ConstructorOptions); - - /** - * The length of the cache, setter resizes the cache - */ - max: number; - - /** - * stale setting - */ - allowStale: boolean; - - /** - * maxAge setting - */ - maxAge: number; - - /** - * length setting - */ - lengthCalculator: I.LRU.LengthCalculator; - - /** - * Total length of objects in cache taking into account length options function - */ - readonly length: number; - - /** - * Total quantity of objects currently in cache. - * Note, that stale items are returned as part of this item count. - */ - readonly itemCount: number; - - /** - * Iterates over all the keys in the cache, in reverse recent-ness order. (ie, less recently used items are iterated over first.) - */ - rforEach(fn: (this: T, value: V, key: K, cache: LRU) => void, thisp?: T): void; - - /** - * Iterates over all the keys in the cache, in order of recent-ness - */ - forEach(fn: (this: T, value: V, key: K, cache: LRU) => void, thisp?: T): void; - - /** - * Returns an array of the keys in the cache - */ - keys(): K[]; - - /** - * Returns an array of the values in the cache - */ - values(): V[]; - - /** - * Clears the cache entirely, throwing away all values - */ - reset(): void; - - /** - * Return an array of the cache entries ready for serialization and usage with 'destinationCache.load(arr)` - */ - dump(): Array>; - - /** - * Returns an internal lru list of entries - */ - dumpLru(): LinkedList>; - - /** - * @param opts std.util.inspect options - */ - inspect(opts?: object): string; - - /** - * Sets a new value for the given key. Updates the "recently used"-ness of the key - * - * @param maxAge maxAge option specific for this key - * @returns Whether the key was set - */ - set(key: K, value: V, maxAge?: number): boolean; - - /** - * Check if a key is in the cache, without updating the recent-ness or deleting it for being stale - */ - has(key: K): boolean; - - /** - * Gets the value of the given key. Updates the "recently used"-ness of the key - */ - get(key: K): V | undefined; - - /** - * Returns the key value without updating the "recently used"-ness of the key - */ - peek(key: K): V | undefined; - - /** - * Deletes the less recently used element - */ - pop(): I.LRU.Entry; - - /** - * Deletes a key out of the cache - */ - del(key: K): void; - - /** - * Loads another cache entries array, obtained with sourceCache.dump(), into the cache. - * The destination cache is reset before loading new entries - */ - load(arr: Array>): void; - - /** - * Manually iterates over the entire cache proactively pruning old entries - */ - prune(): void; - } - - /** - * Represents a Map that keeps keys only for a specified interval of time - */ - class TimedoutMap extends Map { - /** - * @param timeout maximum age of the keys, 1000 by default - * @param callback callback that is called with each key when the timeout is passed - */ - constructor(timeout?: number, callback?: (key: K) => void); - - /** - * Gets the timeout - */ - getTimeout(): number; - - /** - * Sets the timeout - */ - setTimeout(ms: number): void; - - /** - * Iterates over the map and calls the callback for each element - */ - forEach(callback: (this: T, value: V, key: K, cache: this) => void, thisArg?: T): this; - - /** - * Deletes the given key - */ - delete(key: K): boolean; - } - } -} diff --git a/types/adone/glosses/collections/array_set.d.ts b/types/adone/glosses/collections/array_set.d.ts new file mode 100644 index 0000000000..c13d8769f1 --- /dev/null +++ b/types/adone/glosses/collections/array_set.d.ts @@ -0,0 +1,44 @@ +declare namespace adone.collection { + /** + * Respresetns a data structure which is a combination of an array and a set. + * Adding a new member is O(1), testing for membership is O(1), + * and finding the index of an element is O(1). + */ + class ArraySet { + /** + * The number of unique items in this ArraySet. + * If duplicates have been added, than those do not count towards the size. + */ + readonly length: number; + + /** + * Adds the given value to this set. + * + * @param allowDuplicates Whether to allow duplicates in the set, false by default + */ + add(value: T, allowDuplicates?: boolean): this; + + /** + * Checks whether the given value is a member of the set + */ + has(value: T): boolean; + + /** + * Returns the index of the given element. + * If the value is not present it will return -1 + */ + indexOf(value: T): number; + + /** + * Converts the set to an array + */ + toArray(): T[]; + + /** + * Creates an ArraySet from the given iterable object + * + * @param allowDuplicates Whether to allow duplicates in the set, false by default + */ + static from(iterable: Iterable, allowDuplicates?: boolean): ArraySet; + } +} diff --git a/types/adone/glosses/collections/async_queue.d.ts b/types/adone/glosses/collections/async_queue.d.ts new file mode 100644 index 0000000000..9a575a33be --- /dev/null +++ b/types/adone/glosses/collections/async_queue.d.ts @@ -0,0 +1,12 @@ +declare namespace adone.collection { + /** + * Represents an asynchronous queue, each pop is a promise + * that is resolved with an existing element or an element that will be pushed in the future + */ + class AsyncQueue extends Queue> { + /** + * Returns a promise that will be resolved with an existing element or an element that will be pushed in the future + */ + pop(): Promise; + } +} diff --git a/types/adone/glosses/collections/avl_tree.d.ts b/types/adone/glosses/collections/avl_tree.d.ts new file mode 100644 index 0000000000..2b5dc132b6 --- /dev/null +++ b/types/adone/glosses/collections/avl_tree.d.ts @@ -0,0 +1,48 @@ +declare namespace adone.collection { + /** + * Represents an AVL tree, a self-balancing binary search tree + */ + class AVLTree { + constructor(options?: I.BinarySearchTree.ConstructorOptions>); + + /** + * Checks whether the tree is an avl tree + */ + checkIsAVLT(): void; + + /** + * Inserts a new key/value + */ + insert(key: K, value: V): void; + + /** + * Deletes the given key/value from the tree + */ + delete(key: K, value?: V): void; + + /** + * Returns the of keys in the tree + */ + getNumberOFKeys(): number; + + /** + * Searches the given key in the tree + */ + search(key: K): V[]; + + /** + * Returns all the values from the given key bounds + */ + betweenBounds(query: I.BinarySearchTree.Query): V[]; + + /** + * Executed the given callback for each node from left to right + */ + executeOnEveryNode(fn: (tree: AVLTree) => void): void; + + /** + * Prints the tree + */ + prettyPrint(printDate?: boolean, spacing?: string): void; + } +} diff --git a/types/adone/glosses/collections/binary_search_tree.d.ts b/types/adone/glosses/collections/binary_search_tree.d.ts new file mode 100644 index 0000000000..878bd7e6a4 --- /dev/null +++ b/types/adone/glosses/collections/binary_search_tree.d.ts @@ -0,0 +1,110 @@ +declare namespace adone.collection { + namespace I.BinarySearchTree { + interface ConstructorOptions { + /** + * The parent tree + */ + parent?: Tree; + + /** + * Value to keep in this node + */ + value?: V; + + /** + * WHether the values must be unique, false by default. + * If false you can store many values for same keys, otherwise only one + */ + unique?: boolean; + + /** + * Custom keys comparator, by default if a > b => -1, a < b -1, a === b => 0 + */ + compareKeys?(a: K, b: K): number; + + /** + * Function that defines whether 2 values are the same, by default a === b + */ + checkValueEquality?(a: V, b: V): boolean; + } + + interface Query { + $lt?: K; + $lte?: K; + $gt?: K; + $gte?: K; + } + } + + /** + * Represents a binary search tree + */ + class BinarySearchTree { + constructor(options?: I.BinarySearchTree.ConstructorOptions>); + + /** + * Returns the max descendant tree + */ + getMaxKeyDescendant(): BinarySearchTree; + + /** + * Returns the maximum key + */ + getMaxKey(): K; + + /** + * Returns the min descendant tree + */ + getMinKeyDescendant(): BinarySearchTree; + + /** + * Returns the minumum key + */ + getMinKey(): K; + + /** + * Traverses the tree and calls the given function for each node + */ + checkAllNodesFullfillCondition(test: (key: K, value: V) => void): void; + + /** + * Checks whether the tree is a binary search tree + */ + checkIsBST(): void; + + /** + * Returns the of keys in the tree + */ + getNumberOfKeys(): number; + + /** + * Inserts a new key/value + */ + insert(key: K, value: V): void; + + /** + * Searches the given key in the tree + */ + search(key: K): V[]; + + /** + * Returns all the values from the given key bounds + */ + betweenBounds(query: I.BinarySearchTree.Query): V[]; + + /** + * Deletes the given key/value from the tree + */ + delete(key: K, value?: V): void; + + /** + * Executed the given callback for each node from left to right + */ + executeOnEveryNode(fn: (tree: BinarySearchTree) => void): void; + + /** + * Prints the tree + */ + prettyPrint(printData?: boolean, spacing?: string): void; + } +} diff --git a/types/adone/glosses/collections/buffer_list.d.ts b/types/adone/glosses/collections/buffer_list.d.ts new file mode 100644 index 0000000000..b2a4157385 --- /dev/null +++ b/types/adone/glosses/collections/buffer_list.d.ts @@ -0,0 +1,92 @@ +declare namespace adone.collection { + namespace I.BufferList { + type Appendable = Buffer | BufferList | string | number | Array; + } + + /** + * Represents a Node.js Buffer list collector, reader and streamer with callback/promise interface support + */ + class BufferList extends std.stream.Duplex implements PromiseLike { + /** + * Creates a new buffer list + */ + constructor(); + + /** + * Creates a new buffer list and initiates with the given value + */ + constructor(buffer: I.BufferList.Appendable); + + /** + * Creates a new buffer list and subscribes the given callback on the end/error event + */ + constructor(callback: (err: any, data: Buffer) => void); + + /** + * Adds an additional buffer or BufferList to the internal list + */ + append(buf: I.BufferList.Appendable): this; + + /** + * Ends the stream + */ + end(chunk?: Buffer): void; + end(chunk?: () => void): void; + + /** + * Returns the byte at the specified index + */ + get(idx: number): number; + + /** + * Returns a new Buffer object containing the bytes within the range specified. + */ + slice(start?: number, end?: number): Buffer; + + /** + * Copies the content of the list in the dest buffer + * starting from destStart and containing the bytes within the range specified with srcStart to srcEnd + * + * @param dstStart writes from this position + * @param srcStart reads bytes from this position + * @param srcEnd read bytes to this position + */ + copy(dst: T, dstStart?: number, srcStart?: number, srcEnd?: number): T; + + /** + * Returns a new BufferList object containing the bytes within the range specified. + * No copies will be performed. All buffers in the result share memory with the original list. + * + * @param start slice from + * @param end slice to + */ + shallowSlice(start?: number, end?: number): BufferList; + + /** + * Return a string representation of the buffer + */ + toString(encoding?: fs.I.Encoding, start?: number, end?: number): string; + + /** + * Shifts bytes off the start of the list + */ + consume(bytes: number): this; + + /** + * Performs a shallow-copy of the list. + */ + duplicate(): BufferList; + + /** + * Destroys the stream + */ + destroy(): void; + + then( + onfulfilled?: ((value: Buffer) => T1 | PromiseLike) | null, + onrejected?: ((reason: any) => T2 | PromiseLike) | null + ): PromiseLike; + + catch(onrejected?: ((reason: any) => T | PromiseLike) | null): PromiseLike; + } +} diff --git a/types/adone/glosses/collections/byte_array.d.ts b/types/adone/glosses/collections/byte_array.d.ts new file mode 100644 index 0000000000..1dc3080fb3 --- /dev/null +++ b/types/adone/glosses/collections/byte_array.d.ts @@ -0,0 +1,892 @@ +declare namespace adone.collection { + namespace I { + type Long = math.Long; + + type Longable = math.I.Longable; + + namespace ByteArray { + interface Varint32 { + value: number; + length: number; + } + + interface Varint64 { + value: Long; + length: number; + } + + interface String { + string: string; + length: number; + } + + type Wrappable = string | ByteArray | Buffer | Uint8Array | ArrayBuffer; + + type Metrics = "b" | "c"; + } + } + + /** + * Represents an array of bytes, enhanced Node.js Buffer + */ + class ByteArray { + readonly woffset: number; + + readonly roffset: number; + + readonly buffer: Buffer; + + readonly noAssert: boolean; + + /** + * Constructs a new ByteArray + * + * @param capacity Initial capacity. Defaults to ByteArray.DEFAULT_CAPACITY(64) + * @param noAssert Whether to skip assertions of offsets and values. Defaults to ByteArray.DEFAULT_NOASSERT(false) + */ + constructor(capacity?: number, noAssert?: boolean); + + /** + * Reads a BitSet as an array of booleans. + * + * @param offset Offset to read from. Will use and increase offset by length if omitted. + */ + readBitSet(offset?: number): boolean[]; + + /** + * Reads the specified number of bytes. + * + * @param length Number of bytes to read + * @param offset Offset to read from. Will use and increase offset by length if omitted. + */ + read(length: number, offset?: number): ByteArray; + + /** + * Reads an 8bit signed integer + * + * @param offset Offset to read from + */ + readInt8(offset?: number): number; + + /** + * Reads an 8bit unsigned integer + * + * @param offset Offset to read from + */ + readUInt8(offset?: number): number; + + /** + * Reads a 16bit signed le integer + * + * @param offset Offset to read from + */ + readInt16LE(offset?: number): number; + + /** + * Reads a 16bit unsigned le integer + * + * @param offset Offset to read from + */ + readUInt16LE(offset?: number): number; + + /** + * Reads a 16bit signed be integer + * + * @param offset Offset to read from + */ + readInt16BE(offset?: number): number; + + /** + * Reads a 16bit unsigned be integer + * + * @param offset Offset to read from + */ + readUInt16BE(offset?: number): number; + + /** + * Reads a 32bit signed le integer + * + * @param offset Offset to read from + */ + readInt32LE(offset?: number): number; + + /** + * Reads a 32bit unsigned le integer + * + * @param offset Offset to read from + */ + readUInt32LE(offset?: number): number; + + /** + * Reads a 32bit signed be integer + * + * @param offset Offset to read from + */ + readInt32BE(offset?: number): number; + + /** + * Reads a 32bit unsigned be integer + * + * @param offset Offset to read from + */ + readUInt32BE(offset?: number): number; + + /** + * Reads a 64bit signed le integer as math.Long + * + * @param offset Offset to read from + */ + readInt64LE(offset?: number): math.Long; + + /** + * Reads a 64bit unsigned le integer as math.Long + * + * @param offset Offset to read from + */ + readUInt64LE(offset?: number): math.Long; + + /** + * Reads a 64bit signed be integer as math.Long + * + * @param offset Offset to read from + */ + readInt64BE(offset?: number): math.Long; + + /** + * Reads a 64bit unsigned be integer as math.Long + * + * @param offset Offset to read from + */ + readUInt64BE(offset?: number): math.Long; + + /** + * Reads a 32bit le float + * + * @param offset Offset to read from + */ + readFloatLE(offset?: number): number; + + /** + * Reads a 32bit be float + * + * @param offset Offset to read from + */ + readFloatBE(offset?: number): number; + + /** + * Reads a 64bit le float + * + * @param offset Offset to read from + */ + readDoubleLE(offset?: number): number; + + /** + * Reads a 64bit be float + * + * @param offset Offset to read from + */ + readDoubleBE(offset?: number): number; + + /** + * Appends some data to this ByteArray. + * This will overwrite any contents behind the specified offset up to the appended data's length. + * + * @param source The source write from + * @param offset Offset to write at + * @param length length to read from the source + * @param encoding encoding to use for wrapping the source in bytearray + */ + write(source: I.ByteArray.Wrappable, offset?: number, length?: number, encoding?: string): this; + + /** + * Writes the array as a bitset. + * @param value Array of booleans to write + */ + writeBitSet(value: number[]): this; + + /** + * Writes the array as a bitset. + * @param value Array of booleans to write + * @param offset Offset to write at + */ + writeBitSet(value: number[], offset: number): number; + + /** + * Writes a buffer at the given offset + * @param buf Buffer to write + * @param offset Offset to write at + */ + writeBuffer(buf: Buffer, offset?: number): this; + + /** + * Writes an 8bit signed integer + * + * @param offset Offset to write at + */ + writeInt8(value: number, offset?: number): this; + + /** + * Writes an 8bit unsigned integer + * + * @param offset Offset to write at + */ + writeUInt8(value: number, offset?: number): this; + + /** + * Writes a 16bit signed le integer + * + * @param offset Offset to write at + */ + writeInt16LE(value: number, offset?: number): this; + + /** + * Writes a 16bit signed be integer + * + * @param offset Offset to write at + */ + writeInt16BE(value: number, offset?: number): this; + + /** + * Writes a 16bit unsigned le integer + * + * @param offset Offset to write at + */ + writeUInt16LE(value: number, offset?: number): this; + + /** + * Writes a 16bit unsigned be integer + * + * @param offset Offset to write at + */ + writeUInt16BE(value: number, offset?: number): this; + + /** + * Writes a 32bit signed le integer + * + * @param offset Offset to write at + */ + writeInt32LE(value: number, offset?: number): this; + + /** + * Writes a 32bit signed be integer + * + * @param offset Offset to write at + */ + writeInt32BE(value: number, offset?: number): this; + + /** + * Writes a 32bit unsigned le integer + * + * @param offset Offset to write at + */ + writeUInt32LE(value: number, offset?: number): this; + + /** + * Writes a 32bit unsigned be integer + * + * @param offset Offset to write at + */ + writeUInt32BE(value: number, offset?: number): this; + + /** + * Writes a 64bit signed le long integer + * + * @param offset Offset to write at + */ + writeInt64LE(value: math.Long | string | number, offset?: number): this; + + /** + * Writes a 64bit signed be long integer + * + * @param offset Offset to write at + */ + writeInt64BE(value: math.Long | string | number, offset?: number): this; + + /** + * Writes a 64bit unsigned le long integer + * + * @param offset Offset to write at + */ + writeUInt64LE(value: math.Long | string | number, offset?: number): this; + + /** + * Writes a 64bit unsigned be long integer + * + * @param offset Offset to write at + */ + writeUInt64BE(value: math.Long | string | number, offset?: number): this; + + /** + * Writes a 32bit le float + * + * @param offset Offset to write at + */ + writeFloatLE(value: number, offset?: number): this; + + /** + * Writes a 32bit be float + * + * @param offset Offset to write at + */ + writeFloatBE(value: number, offset?: number): this; + + /** + * Writes a 64bit le float + * + * @param offset Offset to write at + */ + writeDoubleLE(value: number, offset?: number): this; + + /** + * Writes a 64bit be float + * + * @param offset Offset to write at + */ + writeDoubleBE(value: number, offset?: number): this; + + /** + * Writes a 32bit base 128 variable-length integer + */ + writeVarint32(value: number): this; + + /** + * Writes a 32bit base 128 variable-length integer + * + * @param offset Offset to write at + */ + writeVarint32(value: number, offset: number): number; + + /** + * Writes a zig-zag encoded 32bit base 128 variable-length integer + */ + writeVarint32ZigZag(value: number): this; + + /** + * Writes a zig-zag encoded 32bit base 128 variable-length integer + * + * @param offset Offset to write at + */ + writeVarint32ZigZag(value: number, offset: number): number; + + /** + * Reads a 32bit base 128 variable-length integer + */ + readVarint32(): number; + + /** + * Reads a 32bit base 128 variable-length integer + * + * @param offset Offset to read from + */ + readVarint32(offset: number): I.ByteArray.Varint32; + + /** + * Reads a zig-zag encoded 32bit base 128 variable-length integer + */ + readVarint32ZigZag(): number; + + /** + * Reads a zig-zag encoded 32bit base 128 variable-length integer + * + * @param offset Offset to read from + */ + readVarint32ZigZag(offset: number): I.ByteArray.Varint32; + + /** + * Writes a 64bit base 128 variable-length integer + */ + writeVarint64(value: math.Long | string | number): this; + + /** + * Writes a 64bit base 128 variable-length integer + * + * @param offset Offset to write at + */ + writeVarint64(value: math.Long | string | number, offset: number): number; + + /** + * Writes a zig-zag encoded 64bit base 128 variable-length integer + */ + writeVarint64ZigZag(value: math.Long | string | number): this; + + /** + * Writes a zig-zag encoded 64bit base 128 variable-length integer + * + * @param offset Offset to write at + */ + writeVarint64ZigZag(value: math.Long | string | number, offset: number): number; + + /** + * Reads a 64bit base 128 variable-length integer + */ + readVarint64(): I.Long; + + /** + * Reads a 64bit base 128 variable-length integer + * + * @param offset Offset to read from + */ + readVarint64(offset: number): I.ByteArray.Varint64; + + /** + * Reads a zig-zag encoded 64bit base 128 variable-length integer + */ + readVarint64ZigZag(): math.Long; + + /** + * Reads a zig-zag encoded 64bit base 128 variable-length integer + * + * @param offset Offset to read from + */ + readVarint64ZigZag(offset: number): I.ByteArray.Varint64; + + /** + * Writes a NULL-terminated UTF8 encoded string. + * For this to work the specified string must not contain any NULL characters itself + */ + writeCString(str: string): this; + + /** + * Writes a NULL-terminated UTF8 encoded string. + * For this to work the specified string must not contain any NULL characters itself + * + * @param offset Offset to write at + */ + writeCString(str: string, offset: number): number; + + /** + * Reads a NULL-terminated UTF8 encoded string. + * For this to work the string read must not contain any NULL characters itself + */ + readCString(): string; + + /** + * Reads a NULL-terminated UTF8 encoded string. + * For this to work the string read must not contain any NULL characters itself + * + * @param offset Offset to read from + */ + readCString(offset: number): I.ByteArray.String; + + /** + * Writes an UTF8 encoded string + */ + writeString(str: string): this; + + /** + * Writes an UTF8 encoded string + * + * @param offset Offset to write at + */ + writeString(str: string, offset: number): number; + + /** + * Reads an UTF8 encoded string + * + * @param length Number of characters or bytes to read + * @param metrics Metrics specifying what n is meant to count. Defaults to ByteArray.METRICS_CHARS("c") + */ + readString(length: number, metrics?: I.ByteArray.Metrics): string; + + /** + * Reads an UTF8 encoded string + * + * @param length Number of characters or bytes to read + * @param metrics Metrics specifying what n is meant to count. Defaults to ByteArray.METRICS_CHARS("c") + * @param offset Offset to read from + */ + readString(length: number, metrics: I.ByteArray.Metrics, offset: number): I.ByteArray.String; + + /** + * Reads an UTF8 encoded string + * + * @param length Number of characters or bytes to read + * @param offset Offset to read from + */ + readString(length: number, offset: number): I.ByteArray.String; + + /** + * Writes a length as varint32 prefixed UTF8 encoded string + */ + writeVString(str: string): this; + + /** + * Writes a length as varint32 prefixed UTF8 encoded string + * + * @param offset Offset to read from + */ + writeVString(str: string, offset: number): number; + + /** + * Reads a length as varint32 prefixed UTF8 encoded string + */ + readVString(): string; + + /** + * Reads a length as varint32 prefixed UTF8 encoded string + * + * @param offset Offset to read from + */ + readVString(offset: number): I.ByteArray.String; + + /** + * Appends this ByteArray's contents to another ByteArray. + * This will overwrite any contents behind the specified offset up to the length of this ByteArray's data + * + * @param offset Offset to append to + */ + appendTo(target: ByteArray, offset?: number): this; + + /** + * Enables or disables assertions of argument types and offsets. + * Assertions are enabled by default but you can opt to disable them if your code already makes sure that everything is valid + */ + assert(assert?: boolean): this; + + /** + * Gets the capacity of this ByteArray's backing buffer + */ + capacity(): number; + + /** + * Clears this ByteArray's offsets by setting offset to 0 and limit to the backing buffer's capacity + */ + clear(): this; + + /** + * Creates a cloned instance of this ByteArray, + * preset with this ByteArray's values for offset, markedOffset and limit + * + * @param copy Whether to copy the backing buffer or to return another view on the same, false by default + */ + clone(copy?: boolean): ByteArray; + + /** + * Compacts this ByteArray to be backed by a buffer of its contents' length. + * Will set offset = 0 and limit = capacity and adapt markedOffset to the same relative position if set + * + * @param begin Offset to start at, buffer offset by default + * @param end Offset to end at, buffer limit by default + */ + compact(begin?: number, end?: number): this; + + /** + * Creates a copy of this ByteArray's contents. + * + * @param begin Begin offset, buffer offset by default + * @param end End offset, buffer limit by default + */ + copy(begin?: number, end?: number): ByteArray; + + /** + * Copies this ByteArray's contents to another ByteArray. + * + * @param targetOffset Offset to copy to. Will use and increase the target's offset by the number of bytes copied if omitted + * @param sourceOffset Offset to start copying from. Will use and increase offset by the number of bytes copied if omitted + * @param sourceLimit Offset to end copying from, defaults to the buffer limit + */ + copyTo(target: ByteArray, targetOffset?: number, souceOffset?: number, sourceLimit?: number): this | ByteArray; + + /** + * Makes sure that this ByteArray is backed by a ByteArray#buffer of at least the specified capacity. + * If the current capacity is exceeded, it will be doubled. + * If double the current capacity is less than the required capacity, the required capacity will be used instead + */ + ensureCapacity(capacity: number): this; + + /** + * Overwrites this ByteArray's contents with the specified value. + * + * @param value Byte value to fill with. If given as a string, the first character is used + * @param begin Begin offset. Will use and increase offset by the number of bytes written if omitted. defaults to offset + * @param end End offset, defaults to limit. + */ + fill(value: string | number, begin?: number, end?: number): this; + + /** + * Makes this ByteArray ready for a new sequence of write or relative read operations. + * Sets limit = offset and offset = 0. + * Make sure always to flip a ByteArray when all relative read or write operations are complete + */ + flip(): this; + + /** + * Marks an offset on this ByteArray to be used later + * + * @param offset Offset to mark. Defaults to offset. + */ + mark(offset?: number): this; + + /** + * Prepends some data to this ByteArray. + * This will overwrite any contents before the specified offset up to the prepended data's length. + * If there is not enough space available before the specified offset, + * the backing buffer will be resized and its contents moved accordingly + * + * @param source Data to prepend + * @param offset Offset to prepend at. Will use and decrease offset by the number of bytes prepended if omitted. + */ + prepend(source: I.ByteArray.Wrappable, offset: number): this; + + /** + * Prepends some data to this ByteArray. + * This will overwrite any contents before the specified offset up to the prepended data's length. + * If there is not enough space available before the specified offset, + * the backing buffer will be resized and its contents moved accordingly + * + * @param source Data to prepend + * @param encoding Encoding if data is a string + * @param offset Offset to prepend at. Will use and decrease offset by the number of bytes prepended if omitted. + */ + prepend(source: I.ByteArray.Wrappable, encoding?: string, offset?: number): this; + + /** + * Prepends this ByteArray to another ByteArray. + * This will overwrite any contents before the specified offset up to the prepended data's length. + * If there is not enough space available before the specified offset, + * the backing buffer will be resized and its contents moved accordingly + * + * @param offset Offset to prepend at + */ + prependTo(target: ByteArray, offset?: number): this; + + /** + * Gets the number of remaining readable bytes + */ + remaining(): number; + + /** + * Resets this ByteArray's offset. + * If an offset has been marked through mark before, offset will be set to markedOffset, which will then be discarded. + * If no offset has been marked, sets offset = 0 + */ + reset(): this; + + /** + * Resizes this ByteArray to be backed by a buffer of at least the given capacity. + * Will do nothing if already that large or larger. + * + * @param capacity Capacity required + */ + resize(capacity: number): this; + + /** + * Reverses this ByteArray's contents. + * + * @param begin Offset to start at, defaults to offset + * @param end Offset to end at, defaults to limit + */ + reverse(begin?: number, end?: number): this; + + /** + * Skips the next length bytes. This will just advance + */ + skip(length: number): this; + + /** + * Slices this ByteArray by creating a cloned instance with offset = begin and limit = end + * + * @param begin Begin offset, defaults to offset + * @param end End offset, defaults to limit + */ + slice(begin?: number, end?: number): ByteArray; + + /** + * Returns a copy of the backing buffer that contains this ByteArray's contents. + * + * @param forceCopy If true returns a copy, otherwise returns a view referencing the same memory if possible, false by default + * @param begin Begin offset, offset by default + * @param end End offset, limit by default + */ + toBuffer(forceCopy?: boolean, begin?: number, end?: number): Buffer; + + /** + * Returns a raw buffer compacted to contain this ByteArray's contents + */ + toArrayBuffer(): ArrayBuffer; + + /** + * Converts the ByteArray's contents to a string + * + * @param encoding Output encoding + * @param begin Begin offset, offset by default + * @param end End offset, limit by default + */ + toString(encoding?: string, begin?: number, end?: number): string; + + /** + * Encodes this ByteArray's contents to a base64 encoded string + * + * @param begin Begin offset, offset by default + * @param end End offset, limit by default + */ + toBase64(begin?: number, end?: number): string; + + /** + * Encodes this ByteArray to a binary encoded string, that is using only characters 0x00-0xFF as bytes + * + * @param begin Begin offset, offset by default + * @param end End offset, limit by default + */ + toBinary(begin?: number, end?: number): string; + + /** + * Encodes this ByteArray to a hex encoded string with marked offsets + * + * @param columns If true returns two columns hex + ascii, defaults to false + */ + toDebug(columns?: boolean): string; + + /** + * Encodes this ByteArray's contents to a hex encoded string + * + * @param begin Begin offset, offset by default + * @param end End offset, limit by default + */ + toHex(begin?: number, end?: number): string; + + /** + * Encodes this ByteArray's contents to an UTF8 encoded string + * + * @param begin Begin offset, offset by default + * @param end End offset, limit by default + */ + toUTF8(begin?: number, end?: number): string; + + static accessor(): typeof Buffer; + + /** + * Allocates a new ByteArray backed by a buffer of the specified capacity. + * + * @param capacity Initial capacity. Defaults to ByteArray.DEFAULT_CAPACITY(64) + * @param noAssert Whether to skip assertions of offsets and values. Defaults to ByteArray.DEFAULT_NOASSERT(false) + */ + static allocate(capacity?: number, noAssert?: boolean): ByteArray; + + /** + * Concatenates multiple ByteArrays into one + * + * @param encoding Encoding for strings + * @param noAssert Whether to skip assertions of offsets and values. Defaults to ByteArray.DEFAULT_NOASSERT(false) + */ + static concat(buffers: I.ByteArray.Wrappable[], encoding?: string, noAssert?: boolean): ByteArray; + + static type(): typeof Buffer; + + /** + * Wraps a buffer or a string. + * Sets the allocated ByteArray's offset to 0 and its limit to the length of the wrapped data + * + * @param encoding Encoding for strings + * @param noAssert Whether to skip assertions of offsets and values. Defaults to ByteArray.DEFAULT_NOASSERT(false) + */ + static wrap(buffer: I.ByteArray.Wrappable, encoding?: string, noAssert?: boolean): ByteArray; + + /** + * Calculates the actual number of bytes required to store a 32bit base 128 variable-length integer + */ + static calculateVarint32(value: number): number; + + /** + * Zigzag encodes a signed 32bit integer so that it can be effectively used with varint encoding + */ + static zigZagEncode32(n: number): number; + + /** + * Decodes a zigzag encoded signed 32bit integer + */ + static zigZagDecode32(n: number): number; + + /** + * Calculates the actual number of bytes required to store a 64bit base 128 variable-length integer + */ + static calculateVarint64(value: number | string): number; + + /** + * Zigzag encodes a signed 64bit integer so that it can be effectively used with varint encoding + */ + static zigZagEncode64(value: number | string | I.Long): I.Long; + + /** + * Decodes a zigzag encoded signed 64bit integer. + */ + static zigZagDecode64(value: number | string | I.Long): I.Long; + + /** + * Calculates the number of UTF8 characters of a string. + * JavaScript itself uses UTF-16, + * so that a string's length property does not reflect its actual UTF8 size if it contains code points larger than 0xFFFF + */ + static calculateUTF8Chars(str: string): number; + + /** + * Calculates the number of UTF8 bytes of a string. + */ + static calculateString(str: string): number; + + /** + * Decodes a base64 encoded string to a ByteArray + */ + static fromBase64(str: string): ByteArray; + + /** + * Encodes a binary string to base64 like window.btoa does + */ + static btoa(str: string): string; + + /** + * Decodes a base64 encoded string to binary like window.atob does + */ + static atob(b64: string): string; + + /** + * Decodes a binary encoded string, that is using only characters 0x00-0xFF as bytes, to a ByteArray + */ + static fromBinary(str: string): ByteArray; + + /** + * Decodes a hex encoded string with marked offsets to a ByteArray + */ + static fromDebug(str: string, noAssert?: boolean): ByteArray; + + /** + * Decodes a hex encoded string to a ByteArray + */ + static fromHex(str: string, noAssert?: boolean): ByteArray; + + /** + * Decodes an UTF8 encoded string to a ByteArray + */ + static fromUTF8(str: string, noAssert?: boolean): ByteArray; + + /** + * Default initial capacity + */ + static DEFAULT_CAPACITY: number; + + /** + * Default no assertions flag + */ + static DEFAULT_NOASSERT: boolean; + + /** + * Maximum number of bytes required to store a 32bit base 128 variable-length integer + */ + static MAX_VARINT32_BYTES: number; + + /** + * Maximum number of bytes required to store a 64bit base 128 variable-length integer + */ + static MAX_VARINT64_BYTES: number; + + /** + * Metrics representing number of UTF8 characters. Evaluates to `c`. + */ + static METRICS_CHARS: string; + + /** + * Metrics representing number of bytes. Evaluates to `b`. + */ + static METRICS_BYTES: string; + } +} diff --git a/types/adone/glosses/collections/default_map.d.ts b/types/adone/glosses/collections/default_map.d.ts new file mode 100644 index 0000000000..46b8ccebfe --- /dev/null +++ b/types/adone/glosses/collections/default_map.d.ts @@ -0,0 +1,9 @@ +declare namespace adone.collection { + /** + * Represents a Map that has a default values factory object or function. + * Each get of non-existent key goes through the factory + */ + class DefaultMap extends Map { + constructor(factory?: ((key: K) => V) | { [key: string]: V }, iterable?: Iterable<[K, V]>); + } +} diff --git a/types/adone/glosses/collections/fast_lru.d.ts b/types/adone/glosses/collections/fast_lru.d.ts new file mode 100644 index 0000000000..e991322bc0 --- /dev/null +++ b/types/adone/glosses/collections/fast_lru.d.ts @@ -0,0 +1,61 @@ +declare namespace adone.collection { + /** + * Represents a faster LRU cache but with less functionality + */ + class FastLRU { + /** + * @param size Cache size, unlimited by default + */ + constructor(size?: number, options?: { + /** + * Function that is called when a value is deleted + */ + dispose?(key: K, value: V): void + }); + + /** + * The actual size of the cache + */ + readonly size: number; + + /** + * Gets the value by the given key + */ + get(key: K): V | undefined; + + /** + * Sets a new value for the given key + */ + set(key: K, value: V): void; + + /** + * Deletes the given key from the cache + */ + delete(key: K): boolean; + + /** + * Checks whether the cache has an element with the given key + */ + has(key: K): boolean; + + /** + * Returns the keys iterator + */ + keys(): IterableIterator; + + /** + * Returns the values iterator + */ + values(): IterableIterator; + + /** + * Returns the entries iterator + */ + entries(): IterableIterator<[K, V]>; + + /** + * Clears the cache + */ + clear(): void; + } +} diff --git a/types/adone/glosses/collections/index.d.ts b/types/adone/glosses/collections/index.d.ts new file mode 100644 index 0000000000..234ffe85f4 --- /dev/null +++ b/types/adone/glosses/collections/index.d.ts @@ -0,0 +1,28 @@ +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// + +declare namespace adone { + /** + * Data structures + */ + namespace collection { + // + } +} diff --git a/types/adone/glosses/collections/linked_list.d.ts b/types/adone/glosses/collections/linked_list.d.ts new file mode 100644 index 0000000000..69ffa4da4b --- /dev/null +++ b/types/adone/glosses/collections/linked_list.d.ts @@ -0,0 +1,150 @@ +declare namespace adone.collection { + namespace I.LinkedList { + /** + * Represents the node of a linked list + */ + interface Node { + /** + * The next node + */ + next?: Node; + + /** + * The previous node + */ + prev?: Node; + + /** + * The value this node contains + */ + value: T; + } + } + + /** + * Represents a linked list + */ + class LinkedList { + /** + * The maximum length of the list + */ + readonly maxLength: number; + + /** + * Current length of the list + */ + readonly length: number; + + /** + * Whether the list is autoresizable + */ + readonly autoresize: boolean; + + /** + * @param maxLength Maximum length of the linked list + */ + constructor(maxLength?: number); + + /** + * Whether the list is full + */ + readonly full: boolean; + + /** + * Whether the list is empty + */ + readonly empty: boolean; + + /** + * Resizes the list + */ + resize(newLength: number): this; + + /** + * Adds a new node to the end + * + * @returns Added node + */ + push(value: T): I.LinkedList.Node; + + /** + * Removes the last node, returns undefined if the list is empty + */ + pop(): T | undefined; + + /** + * Removes the first node, returns undefined if the list is empty + */ + shift(): T | undefined; + + /** + * Inserts a new node at the beginning of the list + * + * @returns Added node + */ + unshift(value: T): I.LinkedList.Node; + + /** + * Moves the given node to the end of the list + */ + pushNode(node: I.LinkedList.Node): void; + + /** + * Moved the given node to the beginning of the list + */ + unshiftNode(node: I.LinkedList.Node): void; + + /** + * Removes the given node from the list + */ + removeNode(node: I.LinkedList.Node): void; + + /** + * Clears the list + * + * @param strong Whether to reset all the node's values + */ + clear(strong?: boolean): void; + + /** + * Convers the list to an array + */ + toArray(): T[]; + + /** + * The first element of the list + */ + readonly front: T; + + /** + * The last element of the list + */ + readonly back: T; + + /** + * Returns an iterator over the list elements + */ + [Symbol.iterator](): IterableIterator; + + /** + * Returns the next node for the given node + */ + nextNode(node: I.LinkedList.Node): I.LinkedList.Node; + + /** + * Maps this linked list to a new one using the given function + */ + map(fn: (value: T, index: number) => R): LinkedList; + + /** + * Invokes the given callback for each value from the beginning to the end (much faster than for-of). + * If the given function returns false it stops iterating. + */ + forEach(callback: (value: T, index: number) => void | boolean): void; + + /** + * Default length of a new created linked list + */ + static DEFAULT_LENGTH: number; + } +} diff --git a/types/adone/glosses/collections/lru.d.ts b/types/adone/glosses/collections/lru.d.ts new file mode 100644 index 0000000000..7d41e32cd5 --- /dev/null +++ b/types/adone/glosses/collections/lru.d.ts @@ -0,0 +1,213 @@ +declare namespace adone.collection { + namespace I.LRU { + type LengthCalculator = (value: V, key: K) => number; + interface ConstructorOptions { + /** + * The maximum size of the cache, checked by applying the length function to all values in the cache. + * Default is Infinity + */ + max?: number; + + /** + * Maximum age in ms. Items are not pro-actively pruned out as they age, + * but if you try to get an item that is too old, + * it'll drop it and return undefined instead of giving it to you + */ + maxAge?: number; + + /** + * Function that is used to calculate the length of stored items + */ + length?: LengthCalculator; + + /** + * Function that is called on items when they are dropped from the cache + */ + dispose?(key: K, value: V): void; + + /** + * Whether to return the stale value before deleting it + */ + stale?: boolean; + + /** + * Dispose will only be called when a key falls out of the cache, not when it is overwritten + */ + noDisposeOnSet?: boolean; + } + + interface SerializedEntry { + /** + * key + */ + key: K; + + /** + * value + */ + value: V; + + /** + * when it becomes expired + */ + e: number; + } + + interface Entry { + /** + * key + */ + key: K; + + /** + * value + */ + value: V; + + /** + * entry length + */ + length: number; + + /** + * Timestamp when the entry was created + */ + now: number; + + /** + * Maximum live time + */ + maxAge: number; + } + } + + /** + * Represent an LRU cache + */ + class LRU { + /** + * Creates an LRU cache of the given size + */ + constructor(max: number); + + /** + * Creates an LRU cache with the given options + */ + constructor(options?: I.LRU.ConstructorOptions); + + /** + * The length of the cache, setter resizes the cache + */ + max: number; + + /** + * stale setting + */ + allowStale: boolean; + + /** + * maxAge setting + */ + maxAge: number; + + /** + * length setting + */ + lengthCalculator: I.LRU.LengthCalculator; + + /** + * Total length of objects in cache taking into account length options function + */ + readonly length: number; + + /** + * Total quantity of objects currently in cache. + * Note, that stale items are returned as part of this item count. + */ + readonly itemCount: number; + + /** + * Iterates over all the keys in the cache, in reverse recent-ness order. (ie, less recently used items are iterated over first.) + */ + rforEach(fn: (this: T, value: V, key: K, cache: LRU) => void, thisp?: T): void; + + /** + * Iterates over all the keys in the cache, in order of recent-ness + */ + forEach(fn: (this: T, value: V, key: K, cache: LRU) => void, thisp?: T): void; + + /** + * Returns an array of the keys in the cache + */ + keys(): K[]; + + /** + * Returns an array of the values in the cache + */ + values(): V[]; + + /** + * Clears the cache entirely, throwing away all values + */ + reset(): void; + + /** + * Return an array of the cache entries ready for serialization and usage with 'destinationCache.load(arr)` + */ + dump(): Array>; + + /** + * Returns an internal lru list of entries + */ + dumpLru(): LinkedList>; + + /** + * @param opts std.util.inspect options + */ + inspect(opts?: object): string; + + /** + * Sets a new value for the given key. Updates the "recently used"-ness of the key + * + * @param maxAge maxAge option specific for this key + * @returns Whether the key was set + */ + set(key: K, value: V, maxAge?: number): boolean; + + /** + * Check if a key is in the cache, without updating the recent-ness or deleting it for being stale + */ + has(key: K): boolean; + + /** + * Gets the value of the given key. Updates the "recently used"-ness of the key + */ + get(key: K): V | undefined; + + /** + * Returns the key value without updating the "recently used"-ness of the key + */ + peek(key: K): V | undefined; + + /** + * Deletes the less recently used element + */ + pop(): I.LRU.Entry; + + /** + * Deletes a key out of the cache + */ + del(key: K): void; + + /** + * Loads another cache entries array, obtained with sourceCache.dump(), into the cache. + * The destination cache is reset before loading new entries + */ + load(arr: Array>): void; + + /** + * Manually iterates over the entire cache proactively pruning old entries + */ + prune(): void; + } +} diff --git a/types/adone/glosses/collections/map_cache.d.ts b/types/adone/glosses/collections/map_cache.d.ts new file mode 100644 index 0000000000..55bbb6e05f --- /dev/null +++ b/types/adone/glosses/collections/map_cache.d.ts @@ -0,0 +1,13 @@ +declare namespace adone.collection { + class MapCache { + has(key: string): boolean; + + get(key: string): T; + + set(key: string, value: T): void; + + delete(key: string): void; + + clear(): void; + } +} diff --git a/types/adone/glosses/collections/ns_cache.d.ts b/types/adone/glosses/collections/ns_cache.d.ts new file mode 100644 index 0000000000..5630c295d3 --- /dev/null +++ b/types/adone/glosses/collections/ns_cache.d.ts @@ -0,0 +1,17 @@ +declare namespace adone.collection { + class NSCache { + constructor(size: number, namespaces: string[]); + + resize(newSize: number): void; + + set(ns: string, key: string, value: T): void; + + get(ns: string, key: string): T; + + has(ns: string, key: string): boolean; + + delete(ns: string, key: string): void; + + clear(): void; + } +} diff --git a/types/adone/glosses/collections/priority_queue.d.ts b/types/adone/glosses/collections/priority_queue.d.ts new file mode 100644 index 0000000000..0fb1e92814 --- /dev/null +++ b/types/adone/glosses/collections/priority_queue.d.ts @@ -0,0 +1,78 @@ +declare namespace adone.collection { + namespace I.PriorityQueue { + interface ConstructorOptions { + /** + * Function that compares objects. + * + * Must return a positive value if a > b, a negative if a < b, and zero for equal objects + */ + compare?(a: T, b: T): number; + + /** + * Function that evaluates the priority value by the given objects, + * if the returned value > 0, then the first argument has higher priority, + * = 0 same priority, < 0 lower priority. + * By default the top element is an element that has the highest priority, + * the default priority function is equal to the compare function + */ + priority?(a: T, b: T): number; + } + } + + /** + * Represents a priority queue + */ + class PriorityQueue { + /** + * Whether the queue is empty + */ + readonly empty: boolean; + + /** + * The length of the queue + */ + readonly length: number; + + constructor(options?: I.PriorityQueue.ConstructorOptions); + + /** + * Clones the queue + */ + clone(): PriorityQueue; + + /** + * Inserts a new element + */ + push(x: T): this; + + /** + * Removes the top element (that has the highest priority) + */ + pop(): T | undefined; + + /** + * Deletes the given element from the queue + */ + delete(x: T): this; + + /** + * Replaces the top element (pop + push) + */ + replace(x: T): T; + + /** + * Faster push + pop + */ + pushpop(x: T): T; + + /** + * Converts the queue to an array, it works with a clone of the queue, so the original queue is untouched + */ + toArray(): T[]; + + /** + * Creates a queue object from the given iterable + */ + static from(iterable: Iterable, options?: I.PriorityQueue.ConstructorOptions): PriorityQueue; + } +} diff --git a/types/adone/glosses/collections/queue.d.ts b/types/adone/glosses/collections/queue.d.ts new file mode 100644 index 0000000000..e67eb8fda9 --- /dev/null +++ b/types/adone/glosses/collections/queue.d.ts @@ -0,0 +1,31 @@ +declare namespace adone.collection { + /** + * Represents a queue + */ + class Queue { + /** + * Whether the queue is full + */ + readonly full: boolean; + + /** + * The length of the queue + */ + readonly length: number; + + /** + * Whether the queue is empty + */ + readonly empty: boolean; + + /** + * Inserts a new element at the end + */ + push(x: S): this; + + /** + * Removes and returns an element from the beginning + */ + pop(): T | undefined; + } +} diff --git a/types/adone/glosses/collections/rb_tree.d.ts b/types/adone/glosses/collections/rb_tree.d.ts new file mode 100644 index 0000000000..2ed7a81323 --- /dev/null +++ b/types/adone/glosses/collections/rb_tree.d.ts @@ -0,0 +1,184 @@ +declare namespace adone.collection { + namespace I.RedBlackTree { + interface Node { + /** + * The key associated to the node + */ + key: K; + + /** + * The value associated to the node + */ + value: V; + + /** + * The left subtree of the node + */ + left?: Node; + + /** + * The right subtree of the node + */ + right?: Node; + } + + interface Iterator { + /** + * Checks if the iterator is valid + */ + readonly valid: boolean; + + /** + * The value of the node at the iterator's current position, null if invalid + */ + readonly node: Node | null; + + /** + * The key of the item referenced by the iterator, undefined if invalid + */ + readonly key?: K; + + /** + * The value of the item referenced by the iterator, undefined if invalid + */ + readonly value?: V; + + /** + * Returns the position of this iterator in the sequence + */ + readonly index: number; + + /** + * If true, then the iterator is not at the end of the sequence + */ + readonly hasNext: boolean; + + /** + * If true, then the iterator is not at the beginning of the sequence + */ + readonly hasPrev: boolean; + + /** + * The tree associated to the iterator + */ + tree: RedBlackTree; + + /** + * Makes a copy of the iterator + */ + clone(): Iterator; + + /** + * Removes the item at the position of the iterator and returns a new rb-tree + */ + remove(): RedBlackTree; + + /** + * Advances the iterator to the next position + */ + next(): void; + + /** + * Updates the value of the node in the tree at this iterator and returns a new rb-tree + */ + update(value: V): RedBlackTree; + + /** + * Moves the iterator backward one element + */ + prev(): void; + } + } + + /** + * Represents a fully persistent red-black tree + */ + class RedBlackTree { + /** + * The root node of the tree + */ + root: I.RedBlackTree.Node; + + constructor(compare?: (a: K, b: K) => number, root?: RedBlackTree); + + /** + * A sorted array of all the keys in the tree + */ + readonly keys: K[]; + + /** + * An array of all the values in the tree + */ + readonly values: V[]; + + /** + * The number of items in the tree + */ + readonly length: number; + + /** + * An iterator pointing to the first element in the tree + */ + readonly begin: I.RedBlackTree.Iterator; + + /** + * An iterator pointing to the last element in the tree + */ + readonly end: I.RedBlackTree.Iterator; + + /** + * Creates a new tree with the new pair inserted + */ + insert(key: K, value: V): RedBlackTree; + + /** + * Walks a visitor function over the nodes of the tree in order + * + * @param visit A callback that gets executed on each node. + * If a truthy value is returned from the visitor, then iteration is stopped. + * @param lo An optional start of the range to visit (inclusive) + * @param hi An optional end of the range to visit (non-inclusive) + */ + forEach(visit: (key: K, value: V) => T, lo?: K, hi?: K): T; + + /** + * Finds an iterator starting at the given element + */ + at(idx: number): I.RedBlackTree.Iterator; + + /** + * Finds the first item in the tree whose key is >= key + */ + ge(key: K): I.RedBlackTree.Iterator; + + /** + * Finds the first item in the tree whose key is > key + */ + gt(key: K): I.RedBlackTree.Iterator; + + /** + * Finds the first item in the tree whose key is < key + */ + lt(key: K): I.RedBlackTree.Iterator; + + /** + * Finds the first item in the tree whose key is <= key + */ + le(key: K): I.RedBlackTree.Iterator; + + /** + * Returns an iterator pointing to the first item in the tree with key, otherwise null + */ + find(key: K): I.RedBlackTree.Iterator | null; + + /** + * Removes the first item with key in the tree + */ + remove(key: K): RedBlackTree; + + /** + * Retrieves the value associated to the given key + */ + get(key: K): V | undefined; + } +} diff --git a/types/adone/glosses/collections/refcounted_cache.d.ts b/types/adone/glosses/collections/refcounted_cache.d.ts new file mode 100644 index 0000000000..79410423a4 --- /dev/null +++ b/types/adone/glosses/collections/refcounted_cache.d.ts @@ -0,0 +1,9 @@ +declare namespace adone.collection { + class RefcountedCache extends MapCache { + ref(key: string): void; + + unref(key: string): void; + + references(key: string): number; + } +} diff --git a/types/adone/glosses/collections/set.d.ts b/types/adone/glosses/collections/set.d.ts new file mode 100644 index 0000000000..f1a6bae96d --- /dev/null +++ b/types/adone/glosses/collections/set.d.ts @@ -0,0 +1,17 @@ +declare namespace adone.collection { + class Set { + constructor(key?: (x: T) => any); + + has(value: T): boolean; + + add(value: T): void; + + delete(value: T): void; + + get(value: T): T; // ??? + + readonly size: number; + + only(): T; + } +} diff --git a/types/adone/glosses/collections/stack.d.ts b/types/adone/glosses/collections/stack.d.ts new file mode 100644 index 0000000000..90fe35b99b --- /dev/null +++ b/types/adone/glosses/collections/stack.d.ts @@ -0,0 +1,36 @@ +declare namespace adone.collection { + /** + * Represents a stack + */ + class Stack { + /** + * Whether the stack is empty + */ + readonly empty: boolean; + + /** + * The top element of the stack + */ + readonly top: T; + + /** + * Inserts a new element + */ + push(x: T): this; + + /** + * Removes the top element + */ + pop(): T | undefined; + + /** + * Returns an iterator over the values + */ + [Symbol.iterator](): IterableIterator; + + /** + * Creates a stack and pushed all the values from the given iterable object + */ + static from(iterable: Iterable): Stack; + } +} diff --git a/types/adone/glosses/collections/timedout_map.d.ts b/types/adone/glosses/collections/timedout_map.d.ts new file mode 100644 index 0000000000..fedcf79fa2 --- /dev/null +++ b/types/adone/glosses/collections/timedout_map.d.ts @@ -0,0 +1,32 @@ +declare namespace adone.collection { + /** + * Represents a Map that keeps keys only for a specified interval of time + */ + class TimedoutMap extends Map { + /** + * @param timeout maximum age of the keys, 1000 by default + * @param callback callback that is called with each key when the timeout is passed + */ + constructor(timeout?: number, callback?: (key: K) => void); + + /** + * Gets the timeout + */ + getTimeout(): number; + + /** + * Sets the timeout + */ + setTimeout(ms: number): void; + + /** + * Iterates over the map and calls the callback for each element + */ + forEach(callback: (this: T, value: V, key: K, cache: this) => void, thisArg?: T): this; + + /** + * Deletes the given key + */ + delete(key: K): boolean; + } +} diff --git a/types/adone/glosses/data.d.ts b/types/adone/glosses/data.d.ts index a22ba10750..4d3dae7b2b 100644 --- a/types/adone/glosses/data.d.ts +++ b/types/adone/glosses/data.d.ts @@ -1050,5 +1050,183 @@ declare namespace adone { */ function decode(buf: Buffer, options?: I.DeserializeOptions): any; } + + namespace protobuf { + namespace schema { + namespace I { + interface Field { + name: string | null; + type: string | null; + tag: number; + map: { + from: string; + to: string; + } | null; + oneof: string | null; + required: boolean; + repeated: boolean; + options: object; + } + + interface Enum { + name: string; + values: object; + options: object; + } + + interface Extend { + name: string; + message: Message; + } + + interface Message { + name: string; + enums: Enum[]; + extends: Extend[]; + messages: Message[]; + fields: Field[]; + extensions: { + from: number, + to: number + } | null; + } + + interface RPCMethod { + name: string; + input_type: string | null; + output_type: string | null; + client_streaming: boolean; + server_streaming: boolean; + options: object; + } + + interface Service { + name: string; + methods: RPCMethod[]; + options: object; + } + + interface Schema { + syntax: any; // ?? + package: string | null; + imports: string[]; + enums: Enum[]; + messages: Message[]; + options: object; + extends: Extend[]; + services?: Service[]; + } + } + + function parse(buf: Buffer | string): I.Schema; + + function stringify(schema: object): string; + } + + function create(proto: Buffer | string | object, opts?: object): object; + } + + namespace base32 { + function charmap(alphabet: string, mappings?: T): T; + + namespace I { + interface Spec { + alphabet: string; + charmap: { + [c: string]: number; + }; + } + } + + const rfc4648: I.Spec; + + const crockford: I.Spec; + + const base32hex: I.Spec; + + namespace I { + interface DecoderOptions { + type: "rfc4648" | "crockford" | "base32hex"; + charmap?: object; + } + + interface EncoderOptions { + type: "rfc4648" | "crockford" | "base32hex"; + alphabet?: string; + } + } + + class Decoder { + constructor(options?: I.DecoderOptions); + + write(str: string): this; + + finalize(str?: string): Buffer; + } + + class Encoder { + constructor(options?: I.EncoderOptions); + + write(buf: Buffer): this; + + finalize(buf?: Buffer): string; + } + + function encode(buf: Buffer, options?: I.EncoderOptions): string; + + function decode(str: string, options?: I.DecoderOptions): Buffer; + } + + namespace I { + interface BaseX { + encode(buf: Buffer): string; + + decode(str: string): Buffer; + + decodeUnsafe(str: string): Buffer; + } + } + + function basex(alphabet: string): I.BaseX; + + const base58: I.BaseX; + + namespace base64url { + function unescape(str: string): string; + + function escape(str: string): string; + + namespace I { + interface EncodeOptions { + encoding?: string; + } + + interface DecodeOptions { + encoding?: string; + buffer?: boolean; + } + } + + function encode(str: Buffer | string, options?: I.EncodeOptions): string; + + function decode(str: string, options: I.DecodeOptions & { buffer: true }): Buffer; + function decode(str: string, options?: I.DecodeOptions): string; + } + + namespace varint { + function encode(num: number, out?: T[], offset?: number): T[]; + + function decode(buf: Buffer, offset?: number): number; + + function encodingLength(value: number): number; + } + + namespace varintSigned { + function encode(num: number, out?: T[], offset?: number): T[]; + + function decode(buf: Buffer, offset?: number): number; + + function encodingLength(value: number): number; + } } } diff --git a/types/adone/glosses/fake.d.ts b/types/adone/glosses/fake.d.ts new file mode 100644 index 0000000000..0c403747e4 --- /dev/null +++ b/types/adone/glosses/fake.d.ts @@ -0,0 +1,337 @@ +declare namespace adone { + namespace fake { + namespace I { + interface Card { + name: string; + username: string; + email: string; + address: FullAddress; + phone: string; + website: string; + company: Company; + posts: Post[]; + accountHistory: string[]; + } + + interface FullAddress { + streetA: string; + streetB: string; + streetC: string; + streetD: string; + city: string; + state: string; + county: string; + zipcode: string; + geo: Geo; + } + + interface Geo { + lat: string; + lng: string; + } + + interface Company { + name: string; + catchPhrase: string; + bs: string; + } + + interface Post { + words: string; + sentence: string; + sentences: string; + paragraph: string; + } + + interface ContextualCard { + name: string; + username: string; + email: string; + dob: Date; + phone: string; + address: Address; + website: string; + company: Company; + } + + interface Address { + street: string; + suite: string; + city: string; + state: string; + zipcode: string; + geo: Geo; + } + + interface UserCard { + name: string; + username: string; + email: string; + address: Address; + phone: string; + website: string; + company: Company; + } + + interface Transaction { + amount: string; + date: Date; + business: string; + name: string; + type: string; + account: string; + } + } + + namespace address { + function zipCode(format?: string): string; + function city(format?: number): string; + function cityPrefix(): string; + function citySuffix(): string; + function streetName(): string; + function streetAddress(useFullAddress?: boolean): string; + function streetSuffix(): string; + function streetPrefix(): string; + function secondaryAddress(): string; + function county(): string; + function country(): string; + function countryCode(): string; + function state(useAbbr?: boolean): string; + function stateAbbr(): string; + function latitude(): string; + function longitude(): string; + } + + namespace commerce { + function color(): string; + function department(): string; + function productName(): string; + function price(min?: number, max?: number, dec?: number, symbol?: string): string; + function productAdjective(): string; + function productMaterial(): string; + function product(): string; + } + + namespace company { + function suffixes(): string[]; + function companyName(format?: number): string; + function companySuffix(): string; + function catchPhrase(): string; + function bs(): string; + function catchPhraseAdjective(): string; + function catchPhraseDescriptor(): string; + function catchPhraseNoun(): string; + function bsAdjective(): string; + function bsBuzz(): string; + function bsNoun(): string; + } + + namespace database { + function column(): string; + function type(): string; + function collation(): string; + function engine(): string; + } + + namespace date { + function past(years?: number, refDate?: string|Date): Date; + function future(years?: number, refDate?: string|Date): Date; + function between(from: string|number|Date, to: string|Date): Date; + function recent(days?: number): Date; + function soon(days?: number): Date; + function month(options?: { abbr?: boolean, context?: boolean }): string; + function weekday(options?: { abbr?: boolean, context?: boolean }): string; + } + + function fake(str: string): string; + + namespace finance { + function account(length?: number): string; + function accountName(): string; + function mask(length?: number, parens?: boolean, elipsis?: boolean): string; + function amount(min?: number, max?: number, dec?: number, symbol?: string): string; + function transactionType(): string; + function currencyCode(): string; + function currencyName(): string; + function currencySymbol(): string; + function bitcoinAddress(): string; + function ethereumAddress(): string; + function iban(formatted?: boolean): string; + function bic(): string; + } + + namespace hacker { + function abbreviation(): string; + function adjective(): string; + function noun(): string; + function verb(): string; + function ingverb(): string; + function phrase(): string; + } + + namespace helpers { + function randomize(array: T[]): T; + function randomize(): string; + function slugify(string?: string): string; + function replaceSymbolWithNumber(string?: string, symbol?: string): string; + function replaceSymbols(string?: string): string; + function shuffle(o: T[]): T[]; + function shuffle(): string[]; + function mustache(str: string, data: { [key: string]: string|((substring: string, ...args: any[]) => string) }): string; + function createCard(): I.Card; + function contextualCard(): I.ContextualCard; + function userCard(): I.UserCard; + function createTransaction(): I.Transaction; + } + + namespace image { + function image(): string; + function avatar(): string; + function imageUrl(width?: number, height?: number, category?: string): string; + function abstract(width?: number, height?: number): string; + function animals(width?: number, height?: number): string; + function business(width?: number, height?: number): string; + function cats(width?: number, height?: number): string; + function city(width?: number, height?: number): string; + function food(width?: number, height?: number): string; + function nightlife(width?: number, height?: number): string; + function fashion(width?: number, height?: number): string; + function people(width?: number, height?: number): string; + function nature(width?: number, height?: number): string; + function sports(width?: number, height?: number): string; + function technics(width?: number, height?: number): string; + function transport(width?: number, height?: number): string; + function dataUri(width?: number, height?: number): string; + } + + namespace internet { + function avatar(): string; + function email(firstName?: string, lastName?: string, provider?: string): string; + function exampleEmail(firstName?: string, lastName?: string): string; + function userName(firstName?: string, lastName?: string): string; + function protocol(): string; + function url(): string; + function domainName(): string; + function domainSuffix(): string; + function domainWord(): string; + function ip(): string; + function ipv6(): string; + function userAgent(): string; + function color(baseRed255?: number, baseGreen255?: number, baseBlue255?: number): string; + function mac(): string; + function password(len?: number, memorable?: boolean, pattern?: string|RegExp, prefix?: string): string; + } + + namespace lorem { + function word(): string; + function words(num?: number): string; + function sentence(wordCount?: number, range?: number): string; + function slug(wordCount?: number): string; + function sentences(sentenceCount?: number): string; + function paragraph(sentenceCount?: number): string; + function paragraphs(paragraphCount?: number, separator?: string): string; + function text(times?: number): string; + function lines(lineCount?: number): string; + } + + namespace name { + function firstName(gender?: number): string; + function lastName(gender?: number): string; + function findName(firstName?: string, lastName?: string, gender?: number): string; + function jobTitle(): string; + function prefix(): string; + function suffix(): string; + function title(): string; + function jobDescriptor(): string; + function jobArea(): string; + function jobType(): string; + } + + namespace phone { + function phoneNumber(format?: string): string; + function phoneNumberFormat(phoneFormatsArrayIndex?: number): string; + function phoneFormats(): string; + } + + namespace random { + function number(max: number): number; + function number(options?: { min?: number, max?: number, precision?: number }): number; + function arrayElement(): string; + function arrayElement(array: T[]): T; + function objectElement(object?: { [key: string]: any }, field?: "key"): string; + function objectElement(object?: { [key: string]: T }, field?: any): T; + function uuid(): string; + function boolean(): boolean; + function word(type?: string): string; + function words(count?: number): string; + function image(): string; + function locale(): string; + function alphaNumeric(count?: number): string; + function hexaDecimal(count?: number): string; + } + + namespace system { + function fileName(ext: string, type: string): string; + function commonFileName(ext: string, type: string): string; + function mimeType(): string; + function commonFileType(): string; + function commonFileExt(): string; + function fileType(): string; + function fileExt(mimeType: string): string; + function directoryPath(): string; + function filePath(): string; + function semver(): string; + } + + function seed(value: number): void; + + namespace I { + type Locale = + | "az" + | "cz" + | "de" + | "de_AT" + | "de_CH" + | "el" + | "en" + | "en_AU" + | "en_BORK" + | "en_CA" + | "en_GB" + | "en_IE" + | "en_IND" + | "en_US" + | "en_au_ocker" + | "es" + | "es_MX" + | "fa" + | "fr" + | "fr_CA" + | "ge" + | "id_ID" + | "it" + | "ja" + | "ko" + | "lv" + | "nb_NO" + | "nep" + | "nl" + | "nl_BE" + | "pl" + | "pt_BR" + | "ro" + | "ru" + | "sk" + | "sv" + | "tr" + | "uk" + | "vi" + | "zh_CN" + | "zh_TW"; + } + + function getLocale(): I.Locale; + + function setLocale(locale: I.Locale): void; + } +} diff --git a/types/adone/glosses/is.d.ts b/types/adone/glosses/is.d.ts index 7df9559524..9065da138b 100644 --- a/types/adone/glosses/is.d.ts +++ b/types/adone/glosses/is.d.ts @@ -227,13 +227,13 @@ declare namespace adone { /** * Checks whether the given object is a function */ - function _function(obj: any): boolean; + function _function(obj: any): obj is (...args: any[]) => any; export { _function as function }; /** * Checks whether the given object is an async function */ - export function asyncFunction(obj: any): boolean; + export function asyncFunction(obj: any): obj is (...args: any[]) => Promise; /** * Checks whether the given object is a promise @@ -672,5 +672,9 @@ declare namespace adone { * Checks whether the given object is a valid UUID identifier (v1, v2, v3, v4 or v5) */ export function uuid(obj: any, version?: "all"): obj is string; + + export function emitter(obj: any): obj is event.Emitter; + + export function asyncEmitter(obj: any): obj is event.AsyncEmitter; } } diff --git a/types/adone/index.d.ts b/types/adone/index.d.ts index ad0645f04d..5d22ac1bfd 100644 --- a/types/adone/index.d.ts +++ b/types/adone/index.d.ts @@ -8,12 +8,13 @@ /// /// /// -/// +/// /// /// /// /// /// +/// /// /// /// diff --git a/types/adone/test/glosses/collections.ts b/types/adone/test/glosses/collections.ts deleted file mode 100644 index ec227d4440..0000000000 --- a/types/adone/test/glosses/collections.ts +++ /dev/null @@ -1,1003 +0,0 @@ -namespace collectionTests { - const { collection } = adone; - - namespace linkedListTests { - const { LinkedList } = collection; - - namespace creation { - new LinkedList(); - new LinkedList(10); - } - - namespace properties { - { const a: boolean = new LinkedList().full; } - { const a: boolean = new LinkedList().empty; } - { const a: number = new LinkedList().maxLength; } - { const a: number = new LinkedList().length; } - { const a: boolean = new LinkedList().autoresize; } - } - - namespace resize { - { const a: boolean = new LinkedList().resize(100).full; } - } - - namespace push { - const a = new LinkedList().push(10); - a.next; - a.prev; - const b: number = a.value; - } - - namespace pop { - const a: number | undefined = new LinkedList().pop(); - } - - namespace shift { - const a: number | undefined = new LinkedList().shift(); - } - - namespace unshift { - const a = new LinkedList().unshift("hello"); - a.next; - a.prev; - const b: string = a.value; - } - - namespace pushNode { - const a = new LinkedList(); - const node = a.push("1230"); - a.pushNode(node); - } - - namespace unshiftNode { - const a = new LinkedList(); - const node = a.push(10); - a.unshiftNode(node); - } - - namespace removeNode { - const a = new LinkedList(); - const node = a.unshift("10"); - a.removeNode(node); - } - - namespace clear { - new LinkedList().clear(); - new LinkedList().clear(true); - } - - namespace toArray { - const a = new LinkedList(); - const b: number[] = a.toArray(); - } - - namespace front { - const a = new LinkedList(); - const b: number = a.front; - } - - namespace back { - const a = new LinkedList(); - const b: number = a.back; - } - - namespace iterating { - const a = new LinkedList(); - for (const b of a) { - const i: string = b; - } - const c = new LinkedList(); - for (const b of c) { - const i: number = b; - } - } - - namespace nextNode { - const a = new LinkedList(); - const n1 = a.push("h"); - const n2 = a.nextNode(n1); - n1.next; - n1.prev; - const t: string = n1.value; - } - - namespace map { - const a = new LinkedList(); - const f = (a: number, idx: number) => `${a}${idx}`; - const b = a.map(f); - const c: string = b.front; - } - - namespace forEach { - const a = new LinkedList(); - - a.forEach((a: number, b: number) => { - const c = a + b; - }); - } - - namespace static { - const a: number = LinkedList.DEFAULT_LENGTH; - } - } - - namespace ByteArrayTests { - const { ByteArray } = collection; - - new ByteArray(); - new ByteArray(10); - new ByteArray(10, true); - - const buffer = new ByteArray(); - - namespace readBitSet { - const a: boolean[] = buffer.readBitSet(); - const b: boolean[] = buffer.readBitSet(10); - } - - namespace read { - const a: adone.collection.ByteArray = buffer.read(1); - const b: adone.collection.ByteArray = buffer.read(1, 10); - } - - namespace readInt8 { - const a: number = buffer.readInt8(); - const b: number = buffer.readInt8(10); - } - - namespace readUInt8 { - const a: number = buffer.readUInt8(); - const b: number = buffer.readUInt8(10); - } - - namespace readInt16LE { - const a: number = buffer.readInt16LE(); - const b: number = buffer.readInt16LE(10); - } - - namespace readUInt16LE { - const a: number = buffer.readUInt16LE(); - const b: number = buffer.readUInt16LE(10); - } - - namespace readInt16BE { - const a: number = buffer.readInt16BE(); - const b: number = buffer.readInt16BE(10); - } - - namespace readUInt16BE { - const a: number = buffer.readUInt16BE(); - const b: number = buffer.readUInt16BE(10); - } - - namespace readInt32LE { - const a: number = buffer.readInt32LE(); - const b: number = buffer.readInt32LE(10); - } - - namespace readUInt32LE { - const a: number = buffer.readUInt32LE(); - const b: number = buffer.readUInt32LE(10); - } - - namespace readInt32BE { - const a: number = buffer.readInt32BE(); - const b: number = buffer.readInt32BE(10); - } - - namespace readUInt32BE { - const a: number = buffer.readUInt32BE(); - const b: number = buffer.readUInt32BE(10); - } - - namespace readInt64LE { - const a: adone.math.Long = buffer.readInt64LE(); - const b: adone.math.Long = buffer.readInt64LE(10); - } - - namespace readUInt64LE { - const a: adone.math.Long = buffer.readUInt64LE(); - const b: adone.math.Long = buffer.readUInt64LE(10); - } - - namespace readInt64BE { - const a: adone.math.Long = buffer.readInt64BE(); - const b: adone.math.Long = buffer.readInt64BE(10); - } - - namespace readUInt64BE { - const a: adone.math.Long = buffer.readUInt64BE(); - const b: adone.math.Long = buffer.readUInt64BE(10); - } - - namespace readFloatLE { - const a: number = buffer.readFloatLE(); - const b: number = buffer.readFloatLE(10); - } - - namespace readFloatBE { - const a: number = buffer.readFloatBE(); - const b: number = buffer.readFloatBE(10); - } - - namespace readDoubleLE { - const a: number = buffer.readDoubleLE(); - const b: number = buffer.readDoubleLE(10); - } - - namespace readDoubleBE { - const a: number = buffer.readDoubleBE(); - const b: number = buffer.readDoubleBE(10); - } - - namespace write { - const a: adone.collection.ByteArray = buffer.write("1"); - const b: adone.collection.ByteArray = buffer.write(new ByteArray()); - const c: adone.collection.ByteArray = buffer.write(Buffer.alloc(10)); - const d: adone.collection.ByteArray = buffer.write(new Uint8Array([1, 2, 3])); - const e: adone.collection.ByteArray = buffer.write(new ArrayBuffer(10)); - const f: adone.collection.ByteArray = buffer.write("1", 10); - const g: adone.collection.ByteArray = buffer.write("1", 10, 10); - const h: adone.collection.ByteArray = buffer.write("1", 10, 10, "utf8"); - } - - namespace writeBitSet { - const a: adone.collection.ByteArray = buffer.writeBitSet([1, 2, 3]); - const b: number = buffer.writeBitSet([1, 2, 3], 10); - } - - namespace writeInt8 { - const a: adone.collection.ByteArray = buffer.writeInt8(10); - const b: adone.collection.ByteArray = buffer.writeInt8(10, 10); - } - - namespace writeUInt8 { - const a: adone.collection.ByteArray = buffer.writeUInt8(10); - const b: adone.collection.ByteArray = buffer.writeUInt8(10, 10); - } - - namespace writeInt16LE { - const a: adone.collection.ByteArray = buffer.writeInt16LE(10); - const b: adone.collection.ByteArray = buffer.writeInt16LE(10, 10); - } - - namespace writeInt16BE { - const a: adone.collection.ByteArray = buffer.writeInt16BE(10); - const b: adone.collection.ByteArray = buffer.writeInt16BE(10, 10); - } - - namespace writeUInt16LE { - const a: adone.collection.ByteArray = buffer.writeUInt16LE(10); - const b: adone.collection.ByteArray = buffer.writeUInt16LE(10, 10); - } - - namespace writeUInt16BE { - const a: adone.collection.ByteArray = buffer.writeUInt16BE(10); - const b: adone.collection.ByteArray = buffer.writeUInt16BE(10, 10); - } - - namespace writeInt32LE { - const a: adone.collection.ByteArray = buffer.writeInt32LE(10); - const b: adone.collection.ByteArray = buffer.writeInt32LE(10, 10); - } - - namespace writeInt32BE { - const a: adone.collection.ByteArray = buffer.writeInt32BE(10); - const b: adone.collection.ByteArray = buffer.writeInt32BE(10, 10); - } - - namespace writeUInt32LE { - const a: adone.collection.ByteArray = buffer.writeUInt32LE(10); - const b: adone.collection.ByteArray = buffer.writeUInt32LE(10, 10); - } - - namespace writeUInt32BE { - const a: adone.collection.ByteArray = buffer.writeUInt32BE(10); - const b: adone.collection.ByteArray = buffer.writeUInt32BE(10, 10); - } - - namespace writeInt64LE { - const a: adone.collection.ByteArray = buffer.writeInt64LE(10); - const b: adone.collection.ByteArray = buffer.writeInt64LE(10, 10); - } - - namespace writeInt64BE { - const a: adone.collection.ByteArray = buffer.writeInt64BE(10); - const b: adone.collection.ByteArray = buffer.writeInt64BE(10, 10); - } - - namespace writeUInt64LE { - const a: adone.collection.ByteArray = buffer.writeUInt64LE(10); - const b: adone.collection.ByteArray = buffer.writeUInt64LE(10, 10); - } - - namespace writeUInt64BE { - const a: adone.collection.ByteArray = buffer.writeUInt64BE(10); - const b: adone.collection.ByteArray = buffer.writeUInt64BE(10, 10); - } - - namespace writeFloatLE { - const a: adone.collection.ByteArray = buffer.writeFloatLE(10); - const b: adone.collection.ByteArray = buffer.writeFloatLE(10, 10); - } - - namespace writeFloatBE { - const a: adone.collection.ByteArray = buffer.writeFloatBE(10); - const b: adone.collection.ByteArray = buffer.writeFloatBE(10, 10); - } - - namespace writeDoubleLE { - const a: adone.collection.ByteArray = buffer.writeDoubleLE(10); - const b: adone.collection.ByteArray = buffer.writeDoubleLE(10, 10); - } - - namespace writeDoubleBE { - const a: adone.collection.ByteArray = buffer.writeDoubleBE(10); - const b: adone.collection.ByteArray = buffer.writeDoubleBE(10, 10); - } - - namespace writeVarInt32 { - const a: adone.collection.ByteArray = buffer.writeVarint32(10); - const b: number = buffer.writeVarint32(10, 10); - } - - namespace writeVarInt32ZigZag { - const a: adone.collection.ByteArray = buffer.writeVarint32ZigZag(10); - const b: number = buffer.writeVarint32ZigZag(10, 10); - } - - namespace readVarint32 { - const a: number = buffer.readVarint32(); - const b: { value: number, length: number } = buffer.readVarint32(10); - } - - namespace readVarint32ZigZag { - const a: number = buffer.readVarint32ZigZag(); - const b: { value: number, length: number } = buffer.readVarint32ZigZag(10); - } - - namespace writeVarint64 { - const a: adone.collection.ByteArray = buffer.writeVarint64(10); - const b: number = buffer.writeVarint64(10, 10); - } - - namespace writeVarint64ZigZag { - const a: adone.collection.ByteArray = buffer.writeVarint64ZigZag(10); - const b: number = buffer.writeVarint64ZigZag(10, 10); - } - - namespace readVarint64 { - const a: adone.math.Long = buffer.readVarint64(); - const b: { value: adone.math.Long, length: number } = buffer.readVarint64(10); - } - - namespace readVarint64ZigZag { - const a: adone.math.Long = buffer.readVarint64ZigZag(); - const b: { value: adone.math.Long, length: number } = buffer.readVarint64ZigZag(10); - } - - namespace writeCString { - const a: adone.collection.ByteArray = buffer.writeCString("asd"); - const b: number = buffer.writeCString("123", 10); - } - - namespace readCString { - const a: string = buffer.readCString(); - const b: { string: string, length: number } = buffer.readCString(10); - } - - namespace writeString { - const a: adone.collection.ByteArray = buffer.writeString("abc"); - const b: number = buffer.writeString("abc", 10); - } - - namespace readString { - const a: string = buffer.readString(10); - const b: string = buffer.readString(10, "b"); - const c: string = buffer.readString(10, "c"); - const d: { string: string, length: number } = buffer.readString(10, "c", 10); - } - - namespace writeVString { - const a: adone.collection.ByteArray = buffer.writeVString("abc"); - const b: number = buffer.writeVString("abc", 10); - } - - namespace readVString { - const a: string = buffer.readVString(); - const b: { string: string, length: number } = buffer.readVString(10); - } - - namespace appendTo { - const a: adone.collection.ByteArray = buffer.appendTo(new ByteArray()); - const b: adone.collection.ByteArray = buffer.appendTo(new ByteArray(), 10); - } - - namespace assert { - const a: adone.collection.ByteArray = buffer.assert(); - const b: adone.collection.ByteArray = buffer.assert(true); - } - - namespace capacity { - const a: number = buffer.capacity(); - } - - namespace clear { - const a: adone.collection.ByteArray = buffer.clear(); - } - - namespace copy { - const a: adone.collection.ByteArray = buffer.clone(); - const c: adone.collection.ByteArray = buffer.clone(true); - } - - namespace compact { - const a: adone.collection.ByteArray = buffer.compact(); - const b: adone.collection.ByteArray = buffer.compact(1); - const c: adone.collection.ByteArray = buffer.compact(1, 10); - } - - namespace copyTo { - const a: adone.collection.ByteArray = buffer.copyTo(new ByteArray()); - const b: adone.collection.ByteArray = buffer.copyTo(new ByteArray(), 0); - const c: adone.collection.ByteArray = buffer.copyTo(new ByteArray(), 0, 0); - const d: adone.collection.ByteArray = buffer.copyTo(new ByteArray(), 0, 0, 10); - } - - namespace ensureCapacity { - const a: adone.collection.ByteArray = buffer.ensureCapacity(10); - } - - namespace fill { - const a: adone.collection.ByteArray = buffer.fill("0"); - const b: adone.collection.ByteArray = buffer.fill(0); - const c: adone.collection.ByteArray = buffer.fill(0, 0); - const d: adone.collection.ByteArray = buffer.fill(0, 0, 10); - } - - namespace flip { - const a: adone.collection.ByteArray = buffer.flip(); - } - - namespace mark { - const a: adone.collection.ByteArray = buffer.mark(); - const b: adone.collection.ByteArray = buffer.mark(10); - } - - namespace prepend { - const a: adone.collection.ByteArray = buffer.prepend(""); - const b: adone.collection.ByteArray = buffer.prepend(new ByteArray()); - const c: adone.collection.ByteArray = buffer.prepend(Buffer.alloc(10)); - const d: adone.collection.ByteArray = buffer.prepend(new Uint8Array([1, 2, 3])); - const e: adone.collection.ByteArray = buffer.prepend(new ArrayBuffer(10)); - const f: adone.collection.ByteArray = buffer.prepend("", "utf8"); - const g: adone.collection.ByteArray = buffer.prepend("", "utf8", 10); - const h: adone.collection.ByteArray = buffer.prepend("", 10); - } - - namespace prependTo { - const a: adone.collection.ByteArray = buffer.prependTo(new ByteArray()); - const b: adone.collection.ByteArray = buffer.prependTo(new ByteArray(), 10); - } - - namespace remaining { - const a: number = buffer.remaining(); - } - - namespace reset { - const a: adone.collection.ByteArray = buffer.reset(); - } - - namespace resize { - const a: adone.collection.ByteArray = buffer.resize(10); - } - - namespace reverse { - const a: adone.collection.ByteArray = buffer.reverse(); - const b: adone.collection.ByteArray = buffer.reverse(1); - const c: adone.collection.ByteArray = buffer.reverse(1, 10); - } - - namespace skip { - const a: adone.collection.ByteArray = buffer.skip(10); - } - - namespace slice { - const a: adone.collection.ByteArray = buffer.slice(); - const b: adone.collection.ByteArray = buffer.slice(1); - const c: adone.collection.ByteArray = buffer.slice(1, 10); - } - - namespace toBuffer { - const a: Buffer = buffer.toBuffer(); - const b: Buffer = buffer.toBuffer(true); - const c: Buffer = buffer.toBuffer(true, 0); - const d: Buffer = buffer.toBuffer(true, 0, 10); - } - - namespace toArrayBuffer { - const a: ArrayBuffer = buffer.toArrayBuffer(); - } - - namespace toString { - const a: string = buffer.toString(); - const b: string = buffer.toString("utf8"); - const c: string = buffer.toString("utf8", 0); - const d: string = buffer.toString("utf8", 0, 10); - } - - namespace toBase64 { - const a: string = buffer.toBase64(); - const b: string = buffer.toBase64(0); - const c: string = buffer.toBase64(0, 10); - } - - namespace toBinary { - const a: string = buffer.toBinary(); - const b: string = buffer.toBinary(0); - const c: string = buffer.toBinary(0, 10); - } - - namespace toDebug { - const a: string = buffer.toDebug(); - const b: string = buffer.toDebug(true); - } - - namespace toUTF8 { - const a: string = buffer.toUTF8(); - const b: string = buffer.toUTF8(0); - const c: string = buffer.toUTF8(0, 10); - } - - namespace static { - namespace accessor { - const a: typeof Buffer = ByteArray.accessor(); - } - - namespace allocate { - const a: adone.collection.ByteArray = ByteArray.allocate(); - const b: adone.collection.ByteArray = ByteArray.allocate(10); - const c: adone.collection.ByteArray = ByteArray.allocate(10, true); - } - - namespace concat { - const a: adone.collection.ByteArray = ByteArray.concat([ - new ByteArray(), - Buffer.alloc(10), - new Uint8Array([1, 2, 3]), - new ArrayBuffer(10) - ]); - const b: adone.collection.ByteArray = ByteArray.concat([ - new ByteArray(), - Buffer.alloc(10), - new Uint8Array([1, 2, 3]), - new ArrayBuffer(10) - ], "utf8"); - const c: adone.collection.ByteArray = ByteArray.concat([ - new ByteArray(), - Buffer.alloc(10), - new Uint8Array([1, 2, 3]), - new ArrayBuffer(10) - ], "utf8", true); - } - - namespace type { - const a: typeof Buffer = ByteArray.type(); - } - - namespace wrap { - const a: adone.collection.ByteArray = ByteArray.wrap(""); - const b: adone.collection.ByteArray = ByteArray.wrap(new ByteArray()); - const c: adone.collection.ByteArray = ByteArray.wrap(Buffer.alloc(10)); - const d: adone.collection.ByteArray = ByteArray.wrap(new Uint8Array([1, 2, 3])); - const e: adone.collection.ByteArray = ByteArray.wrap(new ArrayBuffer(10)); - const f: adone.collection.ByteArray = ByteArray.wrap("", "utf8"); - const g: adone.collection.ByteArray = ByteArray.wrap("", "utf8", true); - } - - namespace calculateVarint32 { - const a: number = ByteArray.calculateVarint32(10); - } - - namespace zigZagEncode32 { - const a: number = ByteArray.zigZagEncode32(10); - } - - namespace zigZagDecode32 { - const a: number = ByteArray.zigZagDecode32(10); - } - - namespace calculateVarint64 { - const a: number = ByteArray.calculateVarint64(10); - const b: number = ByteArray.calculateVarint64("10"); - } - - namespace zigZagEncode64 { - const a: adone.math.Long = ByteArray.zigZagEncode64(10); - const b: adone.math.Long = ByteArray.zigZagEncode64("10"); - const c: adone.math.Long = ByteArray.zigZagEncode64(adone.math.Long.fromValue(10)); - } - - namespace zigZagDecode64 { - const a: adone.math.Long = ByteArray.zigZagDecode64(10); - const b: adone.math.Long = ByteArray.zigZagDecode64("10"); - const c: adone.math.Long = ByteArray.zigZagDecode64(adone.math.Long.fromValue(10)); - } - - namespace calculateUTF8Chars { - const a: number = ByteArray.calculateUTF8Chars("123"); - } - - namespace calculateString { - const a: number = ByteArray.calculateString("123"); - } - - namespace fromBase64 { - const a: adone.collection.ByteArray = ByteArray.fromBase64("123"); - } - - namespace btoa { - const a: string = ByteArray.btoa("123"); - } - - namespace atob { - const a: string = ByteArray.atob("123"); - } - - namespace fromBinary { - const a: adone.collection.ByteArray = ByteArray.fromBinary("123"); - } - - namespace fromDebug { - const a: adone.collection.ByteArray = ByteArray.fromDebug("12"); - const b: adone.collection.ByteArray = ByteArray.fromDebug("12", true); - } - - namespace fromHex { - const a: adone.collection.ByteArray = ByteArray.fromHex("192"); - const b: adone.collection.ByteArray = ByteArray.fromHex("192", true); - } - - namespace fromUTF8 { - const a: adone.collection.ByteArray = ByteArray.fromUTF8("123"); - const b: adone.collection.ByteArray = ByteArray.fromUTF8("123", true); - } - - namespace constants { - const a: number = ByteArray.DEFAULT_CAPACITY; - const b: boolean = ByteArray.DEFAULT_NOASSERT; - const c: number = ByteArray.MAX_VARINT32_BYTES; - const d: number = ByteArray.MAX_VARINT64_BYTES; - const e: string = ByteArray.METRICS_CHARS; - const f: string = ByteArray.METRICS_BYTES; - } - } - } - - namespace queueTests { - const { Queue } = collection; - type Queue = adone.collection.Queue; - - new Queue(); - { const a: Queue = new Queue().push(123).push(123); } - { const a: number | undefined = new Queue().push(123).pop(); } - { const a: string | undefined = new Queue().push(123).pop(); } - { const a: boolean = new Queue().full; } - { const a: number = new Queue().length; } - { const a: boolean = new Queue().empty; } - } - - namespace asyncQueueTests { - const { AsyncQueue } = collection; - type AsyncQueue = adone.collection.AsyncQueue; - - { const a: AsyncQueue = new AsyncQueue().push(123); } - { const a: Promise = new AsyncQueue().push(123).pop(); } - } - - namespace priorityQueueTests { - const { PriorityQueue } = collection; - type PriorityQueue = adone.collection.PriorityQueue; - - { const a: boolean = new PriorityQueue().empty; } - { const a: number = new PriorityQueue().length; } - new PriorityQueue(); - new PriorityQueue({}); - new PriorityQueue({ - compare(a: number, b: number) { - return a - b; - } - }); - new PriorityQueue({ - priority(a: string, b: string) { - return a.length - b.length; - } - }); - { const a: PriorityQueue = new PriorityQueue().clone(); } - { const a: PriorityQueue = new PriorityQueue().push("123"); } - { const a: string | undefined = new PriorityQueue().pop(); } - { const a: PriorityQueue = new PriorityQueue().delete("123"); } - { const a: PriorityQueue = new PriorityQueue().delete("123"); } - { const a: string = new PriorityQueue().replace("123"); } - { const a: string = new PriorityQueue().pushpop("123"); } - { const a: string[] = new PriorityQueue().toArray(); } - { const a: PriorityQueue = PriorityQueue.from(["1"]); } - { const a: PriorityQueue = PriorityQueue.from(["1"], {}); } - { const a: PriorityQueue = PriorityQueue.from(["1"], { compare: (a: string, b: string) => a.length - b.length }); } - { const a: PriorityQueue = PriorityQueue.from(["1"], { priority: (a: string, b: string) => a.length - b.length }); } - } - - namespace fastlruTests { - const { FastLRU } = collection; - - new FastLRU(); - new FastLRU(100); - new FastLRU(100, { dispose: (key: string, value: number) => null }); - { const a: number = new FastLRU().size; } - { const a: number | undefined = new FastLRU().get("key"); } - new FastLRU().set("key", 123); - { const a: boolean = new FastLRU().delete("key"); } - { const a: boolean = new FastLRU().has("key"); } - { const a: string[] = [...new FastLRU().keys()]; } - { const a: number[] = [...new FastLRU().values()]; } - { const a: number[] = [...new FastLRU().values()]; } - { const a: Array<[string, number]> = [...new FastLRU().entries()]; } - new FastLRU().clear(); - } - - namespace stackTests { - const { Stack } = collection; - type Stack = adone.collection.Stack; - - { const a: boolean = new Stack().empty; } - { const a: number = new Stack().top; } - { const a: Stack = new Stack().push(123); } - { const a: number | undefined = new Stack().pop(); } - { const a: number[] = [...new Stack()]; } - { const a: Stack = Stack.from([1, 2, 3]); } - } - - namespace binarySearchTreeTests { - const { BinarySearchTree } = collection; - type BinarySearchTree = adone.collection.BinarySearchTree; - - new BinarySearchTree(); - new BinarySearchTree({}); - new BinarySearchTree({ checkValueEquality: (a: number, b: number) => a === b }); - new BinarySearchTree({ compareKeys: (a: string, b: string) => a.length - b.length }); - new BinarySearchTree({ parent: new BinarySearchTree() }); - new BinarySearchTree({ unique: true }); - new BinarySearchTree({ value: 123 }); - { const a: BinarySearchTree = new BinarySearchTree().getMaxKeyDescendant(); } - { const a: string = new BinarySearchTree().getMaxKey(); } - { const a: BinarySearchTree = new BinarySearchTree().getMinKeyDescendant(); } - { const a: string = new BinarySearchTree().getMinKey(); } - new BinarySearchTree().checkAllNodesFullfillCondition((key: string, value: number) => null); - new BinarySearchTree().checkIsBST(); - { const a: number = new BinarySearchTree().getNumberOfKeys(); } - new BinarySearchTree().insert("asd", 123); - { const a: number[] = new BinarySearchTree().search("asd"); } - { const a: number[] = new BinarySearchTree().betweenBounds({ $gt: "" }); } - { const a: number[] = new BinarySearchTree().betweenBounds({ $lt: "" }); } - { const a: number[] = new BinarySearchTree().betweenBounds({ $lte: "" }); } - { const a: number[] = new BinarySearchTree().betweenBounds({ $gte: "" }); } - new BinarySearchTree().delete("key"); - new BinarySearchTree().delete("key", 123); - new BinarySearchTree().executeOnEveryNode((tree: BinarySearchTree) => null); - new BinarySearchTree().prettyPrint(); - new BinarySearchTree().prettyPrint(true); - new BinarySearchTree().prettyPrint(true, " "); - } - - namespace avlTreeTests { - const { AVLTree } = collection; - type AVLTree = adone.collection.AVLTree; - - new AVLTree(); - new AVLTree({ checkValueEquality: (a: number, b: number) => a === b }); - new AVLTree({ compareKeys: (a: string, b: string) => a.length - b.length }); - new AVLTree({ parent: new AVLTree() }); - new AVLTree({ unique: false }); - new AVLTree({ value: 123 }); - new AVLTree().checkIsAVLT(); - new AVLTree().insert("123", 123); - new AVLTree().delete("123"); - new AVLTree().delete("123", 123); - { const a: number = new AVLTree().getNumberOFKeys(); } - { const a: number[] = new AVLTree().search("key"); } - { const a: number[] = new AVLTree().betweenBounds({}); } - { const a: number[] = new AVLTree().betweenBounds({ $gt: "ads" }); } - { const a: number[] = new AVLTree().betweenBounds({ $lt: "ads" }); } - { const a: number[] = new AVLTree().betweenBounds({ $gte: "ads" }); } - { const a: number[] = new AVLTree().betweenBounds({ $lte: "ads" }); } - new AVLTree().executeOnEveryNode((tree: AVLTree) => null); - } - - namespace redBlackTreeTests { - const { RedBlackTree } = collection; - type RedBlackTree = adone.collection.RedBlackTree; - type RedBlackTreeIterator = adone.collection.I.RedBlackTree.Iterator; - type RedBlackTreeNode = adone.collection.I.RedBlackTree.Node; - - new RedBlackTree(); - new RedBlackTree((a: string, b: string) => a.length - b.length); - new RedBlackTree(undefined, new RedBlackTree()); - { const a: string[] = new RedBlackTree().keys; } - { const a: number[] = new RedBlackTree().values; } - { const a: number = new RedBlackTree().length; } - { - const a: RedBlackTreeIterator = new RedBlackTree().begin; - { const b: boolean = a.valid; } - { const b: RedBlackTreeNode | null = a.node; } - { const b: string | undefined = a.key; } - { const b: number | undefined = a.value; } - { const b: number = a.index; } - { const b: boolean = a.hasNext; } - { const b: boolean = a.hasPrev; } - { const b: RedBlackTree = a.tree; } - { const b: RedBlackTreeIterator = a.clone(); } - { const b: RedBlackTree = a.remove(); } - a.next(); - { const b: RedBlackTree = a.update(333); } - a.prev(); - } - { const a: RedBlackTreeIterator = new RedBlackTree().end; } - { const a: RedBlackTree = new RedBlackTree().insert("123", 456); } - { const a: number = new RedBlackTree().forEach((key: string, value: number) => value); } - { const a: number = new RedBlackTree().forEach((key: string, value: number) => value, "1"); } - { const a: number = new RedBlackTree().forEach((key: string, value: number) => value, "1", "2"); } - { const a: RedBlackTreeIterator = new RedBlackTree().at(1); } - { const a: RedBlackTreeIterator = new RedBlackTree().ge("1"); } - { const a: RedBlackTreeIterator = new RedBlackTree().gt("1"); } - { const a: RedBlackTreeIterator = new RedBlackTree().lt("1"); } - { const a: RedBlackTreeIterator = new RedBlackTree().le("1"); } - { const a: RedBlackTreeIterator | null = new RedBlackTree().find("1"); } - { const a: RedBlackTree = new RedBlackTree().remove("1"); } - { const a: RedBlackTree = new RedBlackTree().remove("1"); } - { const a: number | undefined = new RedBlackTree().get("1"); } - } - - namespace arraySetTests { - const { ArraySet } = collection; - type ArraySet = adone.collection.ArraySet; - - new ArraySet(); - { const a: number = new ArraySet().length; } - { const a: ArraySet = new ArraySet().add("hello"); } - { const a: ArraySet = new ArraySet().add("hello", true); } - { const a: boolean = new ArraySet().has("string"); } - { const a: number = new ArraySet().indexOf("hello"); } - { const a: string[] = new ArraySet().toArray(); } - { const a: ArraySet = ArraySet.from([1]); } - { const a: ArraySet = ArraySet.from([1], true); } - } - - namespace bufferListTests { - const { BufferList } = collection; - type BufferList = adone.collection.BufferList; - - new BufferList(); - new BufferList(Buffer.from("123")); - new BufferList("123"); - new BufferList(123); - new BufferList([Buffer.from("123"), "123", 123]); - new BufferList((err: any, data: Buffer) => null); - new BufferList().append(Buffer.from("123")); - new BufferList().append("123"); - new BufferList().append(123); - new BufferList().append([Buffer.from("123"), "123", 123]); - new BufferList().end(Buffer.from("123")); - new BufferList().end(); - { const a: number = new BufferList().get(123); } - { const a: Buffer = new BufferList().slice(); } - { const a: Buffer = new BufferList().slice(1); } - { const a: Buffer = new BufferList().slice(1, 2); } - { const a: Buffer = new BufferList().copy(Buffer.alloc(100)); } - { const a: Buffer = new BufferList().copy(Buffer.alloc(100), 0); } - { const a: Buffer = new BufferList().copy(Buffer.alloc(100), 0, 1); } - { const a: Buffer = new BufferList().copy(Buffer.alloc(100), 0, 1, 2); } - { const a: BufferList = new BufferList().shallowSlice(); } - { const a: BufferList = new BufferList().shallowSlice(1); } - { const a: BufferList = new BufferList().shallowSlice(1, 2); } - { const a: string = new BufferList().toString(); } - { const a: string = new BufferList().toString("utf8"); } - { const a: string = new BufferList().toString("utf8", 1); } - { const a: string = new BufferList().toString("utf8", 1, 2); } - { const a: BufferList = new BufferList().consume(10); } - { const a: BufferList = new BufferList().duplicate(); } - new BufferList().destroy(); - new BufferList().then((x: Buffer) => null); - new BufferList().catch((err: any) => null); - } - - namespace defaultMapTests { - const { DefaultMap } = collection; - type DefaultMap = adone.collection.DefaultMap; - - new DefaultMap(); - { const a: DefaultMap = new DefaultMap(undefined, [["1", 2]]); } - { const a: DefaultMap = new DefaultMap((key: string) => 123); } - { const a: DefaultMap = new DefaultMap({ a: 123 }); } - } - - namespace lruTests { - const { LRU } = collection; - type LRU = adone.collection.LRU; - - new LRU(); - new LRU(100); - new LRU({}); - new LRU({ max: 100 }); - new LRU({ dispose: (key: string, value: number) => null }); - new LRU({ maxAge: 100 }); - new LRU({ noDisposeOnSet: false }); - new LRU({ stale: true }); - { const a: number = new LRU().max; } - { new LRU().max = 100; } - { const a: boolean = new LRU().allowStale; } - { new LRU().allowStale = false; } - { const a: number = new LRU().maxAge; } - { new LRU().maxAge = 100; } - { const a: (v: number, k: string) => number = new LRU().lengthCalculator; } - { new LRU().lengthCalculator = () => 123; } - { const a: number = new LRU().length; } - { const a: number = new LRU().itemCount; } - new LRU().rforEach((value: number, key: string) => null); - new LRU().rforEach(function (value: number, key: string) { - const b: number = this.a; - }, { a: 1 }); - new LRU().forEach((value: number, key: string) => null); - new LRU().forEach(function (value: number, key: string) { - const b: number = this.a; - }, { a: 1 }); - { const a: string[] = new LRU().keys(); } - { const a: number[] = new LRU().values(); } - new LRU().reset(); - { - const a: Array> = new LRU().dump(); - const [b] = a; - { const c: number = b.e; } - { const c: string = b.key; } - { const c: number = b.value; } - } - { - const a: adone.collection.LinkedList> = new LRU().dumpLru(); - const b = a.shift(); - if (b !== undefined) { - { const a: string = b.key; } - { const a: number = b.value; } - { const a: number = b.now; } - { const a: number = b.maxAge; } - } - } - { const a: string = new LRU().inspect(); } - { const a: string = new LRU().inspect({}); } - { const a: boolean = new LRU().set("asd", 13); } - { const a: boolean = new LRU().set("asd", 13, 100500); } - { const a: boolean = new LRU().has("asd"); } - { const a: number | undefined = new LRU().get("asd"); } - { const a: number | undefined = new LRU().peek("asd"); } - { const a: adone.collection.I.LRU.Entry = new LRU().pop(); } - new LRU().del("asd"); - new LRU().load(new LRU().dump()); - new LRU().prune(); - } - - namespace timedoutMapTests { - const { TimedoutMap } = collection; - type TimedoutMap = adone.collection.TimedoutMap; - - new TimedoutMap(); - new TimedoutMap(1000); - new TimedoutMap(1000, (key: string) => null); - { - const a: TimedoutMap = new TimedoutMap().forEach((value: number, key: string) => null); - } - { - const a: TimedoutMap = new TimedoutMap().forEach(function (value: number, key: string) { - const a: number = this.a; - }, { a: 1 }); - } - { const a: boolean = new TimedoutMap().delete("123"); } - } -} diff --git a/types/adone/test/glosses/collections/array_set.ts b/types/adone/test/glosses/collections/array_set.ts new file mode 100644 index 0000000000..49fd8582ce --- /dev/null +++ b/types/adone/test/glosses/collections/array_set.ts @@ -0,0 +1,19 @@ +namespace adoneTests.collection.ArraySet { + const { + collection: { + ArraySet + } + } = adone; + + type ArraySet = adone.collection.ArraySet; + + new ArraySet(); + { const a: number = new ArraySet().length; } + { const a: ArraySet = new ArraySet().add("hello"); } + { const a: ArraySet = new ArraySet().add("hello", true); } + { const a: boolean = new ArraySet().has("string"); } + { const a: number = new ArraySet().indexOf("hello"); } + { const a: string[] = new ArraySet().toArray(); } + { const a: ArraySet = ArraySet.from([1]); } + { const a: ArraySet = ArraySet.from([1], true); } +} diff --git a/types/adone/test/glosses/collections/async_queue.ts b/types/adone/test/glosses/collections/async_queue.ts new file mode 100644 index 0000000000..43374e6d3a --- /dev/null +++ b/types/adone/test/glosses/collections/async_queue.ts @@ -0,0 +1,12 @@ +namespace adoneTests.collection.AsyncQueue { + const { + collection: { + AsyncQueue + } + } = adone; + + type AsyncQueue = adone.collection.AsyncQueue; + + { const a: AsyncQueue = new AsyncQueue().push(123); } + { const a: Promise = new AsyncQueue().push(123).pop(); } +} diff --git a/types/adone/test/glosses/collections/avl_tree.ts b/types/adone/test/glosses/collections/avl_tree.ts new file mode 100644 index 0000000000..9c032deb2d --- /dev/null +++ b/types/adone/test/glosses/collections/avl_tree.ts @@ -0,0 +1,28 @@ +namespace adoneTests.collection.AVLTree { + const { + collection: { + AVLTree + } + } = adone; + + type AVLTree = adone.collection.AVLTree; + + new AVLTree(); + new AVLTree({ checkValueEquality: (a: number, b: number) => a === b }); + new AVLTree({ compareKeys: (a: string, b: string) => a.length - b.length }); + new AVLTree({ parent: new AVLTree() }); + new AVLTree({ unique: false }); + new AVLTree({ value: 123 }); + new AVLTree().checkIsAVLT(); + new AVLTree().insert("123", 123); + new AVLTree().delete("123"); + new AVLTree().delete("123", 123); + { const a: number = new AVLTree().getNumberOFKeys(); } + { const a: number[] = new AVLTree().search("key"); } + { const a: number[] = new AVLTree().betweenBounds({}); } + { const a: number[] = new AVLTree().betweenBounds({ $gt: "ads" }); } + { const a: number[] = new AVLTree().betweenBounds({ $lt: "ads" }); } + { const a: number[] = new AVLTree().betweenBounds({ $gte: "ads" }); } + { const a: number[] = new AVLTree().betweenBounds({ $lte: "ads" }); } + new AVLTree().executeOnEveryNode((tree: AVLTree) => null); +} diff --git a/types/adone/test/glosses/collections/binary_search_tree.ts b/types/adone/test/glosses/collections/binary_search_tree.ts new file mode 100644 index 0000000000..56f9a28e72 --- /dev/null +++ b/types/adone/test/glosses/collections/binary_search_tree.ts @@ -0,0 +1,36 @@ +namespace adoneTests.collection.BinarySearchTree { + const { + collection: { + BinarySearchTree + } + } = adone; + + type BinarySearchTree = adone.collection.BinarySearchTree; + + new BinarySearchTree(); + new BinarySearchTree({}); + new BinarySearchTree({ checkValueEquality: (a: number, b: number) => a === b }); + new BinarySearchTree({ compareKeys: (a: string, b: string) => a.length - b.length }); + new BinarySearchTree({ parent: new BinarySearchTree() }); + new BinarySearchTree({ unique: true }); + new BinarySearchTree({ value: 123 }); + { const a: BinarySearchTree = new BinarySearchTree().getMaxKeyDescendant(); } + { const a: string = new BinarySearchTree().getMaxKey(); } + { const a: BinarySearchTree = new BinarySearchTree().getMinKeyDescendant(); } + { const a: string = new BinarySearchTree().getMinKey(); } + new BinarySearchTree().checkAllNodesFullfillCondition((key: string, value: number) => null); + new BinarySearchTree().checkIsBST(); + { const a: number = new BinarySearchTree().getNumberOfKeys(); } + new BinarySearchTree().insert("asd", 123); + { const a: number[] = new BinarySearchTree().search("asd"); } + { const a: number[] = new BinarySearchTree().betweenBounds({ $gt: "" }); } + { const a: number[] = new BinarySearchTree().betweenBounds({ $lt: "" }); } + { const a: number[] = new BinarySearchTree().betweenBounds({ $lte: "" }); } + { const a: number[] = new BinarySearchTree().betweenBounds({ $gte: "" }); } + new BinarySearchTree().delete("key"); + new BinarySearchTree().delete("key", 123); + new BinarySearchTree().executeOnEveryNode((tree: BinarySearchTree) => null); + new BinarySearchTree().prettyPrint(); + new BinarySearchTree().prettyPrint(true); + new BinarySearchTree().prettyPrint(true, " "); +} diff --git a/types/adone/test/glosses/collections/buffer_list.ts b/types/adone/test/glosses/collections/buffer_list.ts new file mode 100644 index 0000000000..265d54033f --- /dev/null +++ b/types/adone/test/glosses/collections/buffer_list.ts @@ -0,0 +1,42 @@ +namespace adoneTests.collection.BufferList { + const { + collection: { + BufferList + } + } = adone; + + type BufferList = adone.collection.BufferList; + + new BufferList(); + new BufferList(Buffer.from("123")); + new BufferList("123"); + new BufferList(123); + new BufferList([Buffer.from("123"), "123", 123]); + new BufferList((err: any, data: Buffer) => null); + new BufferList().append(Buffer.from("123")); + new BufferList().append("123"); + new BufferList().append(123); + new BufferList().append([Buffer.from("123"), "123", 123]); + new BufferList().end(Buffer.from("123")); + new BufferList().end(); + { const a: number = new BufferList().get(123); } + { const a: Buffer = new BufferList().slice(); } + { const a: Buffer = new BufferList().slice(1); } + { const a: Buffer = new BufferList().slice(1, 2); } + { const a: Buffer = new BufferList().copy(Buffer.alloc(100)); } + { const a: Buffer = new BufferList().copy(Buffer.alloc(100), 0); } + { const a: Buffer = new BufferList().copy(Buffer.alloc(100), 0, 1); } + { const a: Buffer = new BufferList().copy(Buffer.alloc(100), 0, 1, 2); } + { const a: BufferList = new BufferList().shallowSlice(); } + { const a: BufferList = new BufferList().shallowSlice(1); } + { const a: BufferList = new BufferList().shallowSlice(1, 2); } + { const a: string = new BufferList().toString(); } + { const a: string = new BufferList().toString("utf8"); } + { const a: string = new BufferList().toString("utf8", 1); } + { const a: string = new BufferList().toString("utf8", 1, 2); } + { const a: BufferList = new BufferList().consume(10); } + { const a: BufferList = new BufferList().duplicate(); } + new BufferList().destroy(); + new BufferList().then((x: Buffer) => null); + new BufferList().catch((err: any) => null); +} diff --git a/types/adone/test/glosses/collections/byte_array.ts b/types/adone/test/glosses/collections/byte_array.ts new file mode 100644 index 0000000000..7254008322 --- /dev/null +++ b/types/adone/test/glosses/collections/byte_array.ts @@ -0,0 +1,561 @@ +namespace adoneTests.collection.ByteArray { + const { + collection: { + ByteArray + } + } = adone; + + new ByteArray(); + new ByteArray(10); + new ByteArray(10, true); + + const buffer = new ByteArray(); + + buffer.woffset === 2; + buffer.roffset === 3; + buffer.noAssert === true; + buffer.buffer.writeUInt8(0, 0); + + namespace readBitSet { + const a: boolean[] = buffer.readBitSet(); + const b: boolean[] = buffer.readBitSet(10); + } + + namespace read { + const a: adone.collection.ByteArray = buffer.read(1); + const b: adone.collection.ByteArray = buffer.read(1, 10); + } + + namespace readInt8 { + const a: number = buffer.readInt8(); + const b: number = buffer.readInt8(10); + } + + namespace readUInt8 { + const a: number = buffer.readUInt8(); + const b: number = buffer.readUInt8(10); + } + + namespace readInt16LE { + const a: number = buffer.readInt16LE(); + const b: number = buffer.readInt16LE(10); + } + + namespace readUInt16LE { + const a: number = buffer.readUInt16LE(); + const b: number = buffer.readUInt16LE(10); + } + + namespace readInt16BE { + const a: number = buffer.readInt16BE(); + const b: number = buffer.readInt16BE(10); + } + + namespace readUInt16BE { + const a: number = buffer.readUInt16BE(); + const b: number = buffer.readUInt16BE(10); + } + + namespace readInt32LE { + const a: number = buffer.readInt32LE(); + const b: number = buffer.readInt32LE(10); + } + + namespace readUInt32LE { + const a: number = buffer.readUInt32LE(); + const b: number = buffer.readUInt32LE(10); + } + + namespace readInt32BE { + const a: number = buffer.readInt32BE(); + const b: number = buffer.readInt32BE(10); + } + + namespace readUInt32BE { + const a: number = buffer.readUInt32BE(); + const b: number = buffer.readUInt32BE(10); + } + + namespace readInt64LE { + const a: adone.math.Long = buffer.readInt64LE(); + const b: adone.math.Long = buffer.readInt64LE(10); + } + + namespace readUInt64LE { + const a: adone.math.Long = buffer.readUInt64LE(); + const b: adone.math.Long = buffer.readUInt64LE(10); + } + + namespace readInt64BE { + const a: adone.math.Long = buffer.readInt64BE(); + const b: adone.math.Long = buffer.readInt64BE(10); + } + + namespace readUInt64BE { + const a: adone.math.Long = buffer.readUInt64BE(); + const b: adone.math.Long = buffer.readUInt64BE(10); + } + + namespace readFloatLE { + const a: number = buffer.readFloatLE(); + const b: number = buffer.readFloatLE(10); + } + + namespace readFloatBE { + const a: number = buffer.readFloatBE(); + const b: number = buffer.readFloatBE(10); + } + + namespace readDoubleLE { + const a: number = buffer.readDoubleLE(); + const b: number = buffer.readDoubleLE(10); + } + + namespace readDoubleBE { + const a: number = buffer.readDoubleBE(); + const b: number = buffer.readDoubleBE(10); + } + + namespace write { + const a: adone.collection.ByteArray = buffer.write("1"); + const b: adone.collection.ByteArray = buffer.write(new ByteArray()); + const c: adone.collection.ByteArray = buffer.write(Buffer.alloc(10)); + const d: adone.collection.ByteArray = buffer.write(new Uint8Array([1, 2, 3])); + const e: adone.collection.ByteArray = buffer.write(new ArrayBuffer(10)); + const f: adone.collection.ByteArray = buffer.write("1", 10); + const g: adone.collection.ByteArray = buffer.write("1", 10, 10); + const h: adone.collection.ByteArray = buffer.write("1", 10, 10, "utf8"); + } + + namespace writeBitSet { + const a: adone.collection.ByteArray = buffer.writeBitSet([1, 2, 3]); + const b: number = buffer.writeBitSet([1, 2, 3], 10); + } + + namespace writeInt8 { + const a: adone.collection.ByteArray = buffer.writeInt8(10); + const b: adone.collection.ByteArray = buffer.writeInt8(10, 10); + } + + namespace writeUInt8 { + const a: adone.collection.ByteArray = buffer.writeUInt8(10); + const b: adone.collection.ByteArray = buffer.writeUInt8(10, 10); + } + + namespace writeInt16LE { + const a: adone.collection.ByteArray = buffer.writeInt16LE(10); + const b: adone.collection.ByteArray = buffer.writeInt16LE(10, 10); + } + + namespace writeInt16BE { + const a: adone.collection.ByteArray = buffer.writeInt16BE(10); + const b: adone.collection.ByteArray = buffer.writeInt16BE(10, 10); + } + + namespace writeUInt16LE { + const a: adone.collection.ByteArray = buffer.writeUInt16LE(10); + const b: adone.collection.ByteArray = buffer.writeUInt16LE(10, 10); + } + + namespace writeUInt16BE { + const a: adone.collection.ByteArray = buffer.writeUInt16BE(10); + const b: adone.collection.ByteArray = buffer.writeUInt16BE(10, 10); + } + + namespace writeInt32LE { + const a: adone.collection.ByteArray = buffer.writeInt32LE(10); + const b: adone.collection.ByteArray = buffer.writeInt32LE(10, 10); + } + + namespace writeInt32BE { + const a: adone.collection.ByteArray = buffer.writeInt32BE(10); + const b: adone.collection.ByteArray = buffer.writeInt32BE(10, 10); + } + + namespace writeUInt32LE { + const a: adone.collection.ByteArray = buffer.writeUInt32LE(10); + const b: adone.collection.ByteArray = buffer.writeUInt32LE(10, 10); + } + + namespace writeUInt32BE { + const a: adone.collection.ByteArray = buffer.writeUInt32BE(10); + const b: adone.collection.ByteArray = buffer.writeUInt32BE(10, 10); + } + + namespace writeInt64LE { + const a: adone.collection.ByteArray = buffer.writeInt64LE(10); + const b: adone.collection.ByteArray = buffer.writeInt64LE(10, 10); + } + + namespace writeInt64BE { + const a: adone.collection.ByteArray = buffer.writeInt64BE(10); + const b: adone.collection.ByteArray = buffer.writeInt64BE(10, 10); + } + + namespace writeUInt64LE { + const a: adone.collection.ByteArray = buffer.writeUInt64LE(10); + const b: adone.collection.ByteArray = buffer.writeUInt64LE(10, 10); + } + + namespace writeUInt64BE { + const a: adone.collection.ByteArray = buffer.writeUInt64BE(10); + const b: adone.collection.ByteArray = buffer.writeUInt64BE(10, 10); + } + + namespace writeFloatLE { + const a: adone.collection.ByteArray = buffer.writeFloatLE(10); + const b: adone.collection.ByteArray = buffer.writeFloatLE(10, 10); + } + + namespace writeFloatBE { + const a: adone.collection.ByteArray = buffer.writeFloatBE(10); + const b: adone.collection.ByteArray = buffer.writeFloatBE(10, 10); + } + + namespace writeDoubleLE { + const a: adone.collection.ByteArray = buffer.writeDoubleLE(10); + const b: adone.collection.ByteArray = buffer.writeDoubleLE(10, 10); + } + + namespace writeDoubleBE { + const a: adone.collection.ByteArray = buffer.writeDoubleBE(10); + const b: adone.collection.ByteArray = buffer.writeDoubleBE(10, 10); + } + + namespace writeVarInt32 { + const a: adone.collection.ByteArray = buffer.writeVarint32(10); + const b: number = buffer.writeVarint32(10, 10); + } + + namespace writeVarInt32ZigZag { + const a: adone.collection.ByteArray = buffer.writeVarint32ZigZag(10); + const b: number = buffer.writeVarint32ZigZag(10, 10); + } + + namespace readVarint32 { + const a: number = buffer.readVarint32(); + const b: { value: number, length: number } = buffer.readVarint32(10); + } + + namespace readVarint32ZigZag { + const a: number = buffer.readVarint32ZigZag(); + const b: { value: number, length: number } = buffer.readVarint32ZigZag(10); + } + + namespace writeVarint64 { + const a: adone.collection.ByteArray = buffer.writeVarint64(10); + const b: number = buffer.writeVarint64(10, 10); + } + + namespace writeVarint64ZigZag { + const a: adone.collection.ByteArray = buffer.writeVarint64ZigZag(10); + const b: number = buffer.writeVarint64ZigZag(10, 10); + } + + namespace readVarint64 { + const a: adone.math.Long = buffer.readVarint64(); + const b: { value: adone.math.Long, length: number } = buffer.readVarint64(10); + } + + namespace readVarint64ZigZag { + const a: adone.math.Long = buffer.readVarint64ZigZag(); + const b: { value: adone.math.Long, length: number } = buffer.readVarint64ZigZag(10); + } + + namespace writeCString { + const a: adone.collection.ByteArray = buffer.writeCString("asd"); + const b: number = buffer.writeCString("123", 10); + } + + namespace readCString { + const a: string = buffer.readCString(); + const b: { string: string, length: number } = buffer.readCString(10); + } + + namespace writeString { + const a: adone.collection.ByteArray = buffer.writeString("abc"); + const b: number = buffer.writeString("abc", 10); + } + + namespace readString { + const a: string = buffer.readString(10); + const b: string = buffer.readString(10, "b"); + const c: string = buffer.readString(10, "c"); + const d: { string: string, length: number } = buffer.readString(10, "c", 10); + } + + namespace writeVString { + const a: adone.collection.ByteArray = buffer.writeVString("abc"); + const b: number = buffer.writeVString("abc", 10); + } + + namespace readVString { + const a: string = buffer.readVString(); + const b: { string: string, length: number } = buffer.readVString(10); + } + + namespace appendTo { + const a: adone.collection.ByteArray = buffer.appendTo(new ByteArray()); + const b: adone.collection.ByteArray = buffer.appendTo(new ByteArray(), 10); + } + + namespace assert { + const a: adone.collection.ByteArray = buffer.assert(); + const b: adone.collection.ByteArray = buffer.assert(true); + } + + namespace capacity { + const a: number = buffer.capacity(); + } + + namespace clear { + const a: adone.collection.ByteArray = buffer.clear(); + } + + namespace copy { + const a: adone.collection.ByteArray = buffer.clone(); + const c: adone.collection.ByteArray = buffer.clone(true); + } + + namespace compact { + const a: adone.collection.ByteArray = buffer.compact(); + const b: adone.collection.ByteArray = buffer.compact(1); + const c: adone.collection.ByteArray = buffer.compact(1, 10); + } + + namespace copyTo { + const a: adone.collection.ByteArray = buffer.copyTo(new ByteArray()); + const b: adone.collection.ByteArray = buffer.copyTo(new ByteArray(), 0); + const c: adone.collection.ByteArray = buffer.copyTo(new ByteArray(), 0, 0); + const d: adone.collection.ByteArray = buffer.copyTo(new ByteArray(), 0, 0, 10); + } + + namespace ensureCapacity { + const a: adone.collection.ByteArray = buffer.ensureCapacity(10); + } + + namespace fill { + const a: adone.collection.ByteArray = buffer.fill("0"); + const b: adone.collection.ByteArray = buffer.fill(0); + const c: adone.collection.ByteArray = buffer.fill(0, 0); + const d: adone.collection.ByteArray = buffer.fill(0, 0, 10); + } + + namespace flip { + const a: adone.collection.ByteArray = buffer.flip(); + } + + namespace mark { + const a: adone.collection.ByteArray = buffer.mark(); + const b: adone.collection.ByteArray = buffer.mark(10); + } + + namespace prepend { + const a: adone.collection.ByteArray = buffer.prepend(""); + const b: adone.collection.ByteArray = buffer.prepend(new ByteArray()); + const c: adone.collection.ByteArray = buffer.prepend(Buffer.alloc(10)); + const d: adone.collection.ByteArray = buffer.prepend(new Uint8Array([1, 2, 3])); + const e: adone.collection.ByteArray = buffer.prepend(new ArrayBuffer(10)); + const f: adone.collection.ByteArray = buffer.prepend("", "utf8"); + const g: adone.collection.ByteArray = buffer.prepend("", "utf8", 10); + const h: adone.collection.ByteArray = buffer.prepend("", 10); + } + + namespace prependTo { + const a: adone.collection.ByteArray = buffer.prependTo(new ByteArray()); + const b: adone.collection.ByteArray = buffer.prependTo(new ByteArray(), 10); + } + + namespace remaining { + const a: number = buffer.remaining(); + } + + namespace reset { + const a: adone.collection.ByteArray = buffer.reset(); + } + + namespace resize { + const a: adone.collection.ByteArray = buffer.resize(10); + } + + namespace reverse { + const a: adone.collection.ByteArray = buffer.reverse(); + const b: adone.collection.ByteArray = buffer.reverse(1); + const c: adone.collection.ByteArray = buffer.reverse(1, 10); + } + + namespace skip { + const a: adone.collection.ByteArray = buffer.skip(10); + } + + namespace slice { + const a: adone.collection.ByteArray = buffer.slice(); + const b: adone.collection.ByteArray = buffer.slice(1); + const c: adone.collection.ByteArray = buffer.slice(1, 10); + } + + namespace toBuffer { + const a: Buffer = buffer.toBuffer(); + const b: Buffer = buffer.toBuffer(true); + const c: Buffer = buffer.toBuffer(true, 0); + const d: Buffer = buffer.toBuffer(true, 0, 10); + } + + namespace toArrayBuffer { + const a: ArrayBuffer = buffer.toArrayBuffer(); + } + + namespace toString { + const a: string = buffer.toString(); + const b: string = buffer.toString("utf8"); + const c: string = buffer.toString("utf8", 0); + const d: string = buffer.toString("utf8", 0, 10); + } + + namespace toBase64 { + const a: string = buffer.toBase64(); + const b: string = buffer.toBase64(0); + const c: string = buffer.toBase64(0, 10); + } + + namespace toBinary { + const a: string = buffer.toBinary(); + const b: string = buffer.toBinary(0); + const c: string = buffer.toBinary(0, 10); + } + + namespace toDebug { + const a: string = buffer.toDebug(); + const b: string = buffer.toDebug(true); + } + + namespace toUTF8 { + const a: string = buffer.toUTF8(); + const b: string = buffer.toUTF8(0); + const c: string = buffer.toUTF8(0, 10); + } + + namespace static { + namespace accessor { + const a: typeof Buffer = ByteArray.accessor(); + } + + namespace allocate { + const a: adone.collection.ByteArray = ByteArray.allocate(); + const b: adone.collection.ByteArray = ByteArray.allocate(10); + const c: adone.collection.ByteArray = ByteArray.allocate(10, true); + } + + namespace concat { + const a: adone.collection.ByteArray = ByteArray.concat([ + new ByteArray(), + Buffer.alloc(10), + new Uint8Array([1, 2, 3]), + new ArrayBuffer(10) + ]); + const b: adone.collection.ByteArray = ByteArray.concat([ + new ByteArray(), + Buffer.alloc(10), + new Uint8Array([1, 2, 3]), + new ArrayBuffer(10) + ], "utf8"); + const c: adone.collection.ByteArray = ByteArray.concat([ + new ByteArray(), + Buffer.alloc(10), + new Uint8Array([1, 2, 3]), + new ArrayBuffer(10) + ], "utf8", true); + } + + namespace type { + const a: typeof Buffer = ByteArray.type(); + } + + namespace wrap { + const a: adone.collection.ByteArray = ByteArray.wrap(""); + const b: adone.collection.ByteArray = ByteArray.wrap(new ByteArray()); + const c: adone.collection.ByteArray = ByteArray.wrap(Buffer.alloc(10)); + const d: adone.collection.ByteArray = ByteArray.wrap(new Uint8Array([1, 2, 3])); + const e: adone.collection.ByteArray = ByteArray.wrap(new ArrayBuffer(10)); + const f: adone.collection.ByteArray = ByteArray.wrap("", "utf8"); + const g: adone.collection.ByteArray = ByteArray.wrap("", "utf8", true); + } + + namespace calculateVarint32 { + const a: number = ByteArray.calculateVarint32(10); + } + + namespace zigZagEncode32 { + const a: number = ByteArray.zigZagEncode32(10); + } + + namespace zigZagDecode32 { + const a: number = ByteArray.zigZagDecode32(10); + } + + namespace calculateVarint64 { + const a: number = ByteArray.calculateVarint64(10); + const b: number = ByteArray.calculateVarint64("10"); + } + + namespace zigZagEncode64 { + const a: adone.math.Long = ByteArray.zigZagEncode64(10); + const b: adone.math.Long = ByteArray.zigZagEncode64("10"); + const c: adone.math.Long = ByteArray.zigZagEncode64(adone.math.Long.fromValue(10)); + } + + namespace zigZagDecode64 { + const a: adone.math.Long = ByteArray.zigZagDecode64(10); + const b: adone.math.Long = ByteArray.zigZagDecode64("10"); + const c: adone.math.Long = ByteArray.zigZagDecode64(adone.math.Long.fromValue(10)); + } + + namespace calculateUTF8Chars { + const a: number = ByteArray.calculateUTF8Chars("123"); + } + + namespace calculateString { + const a: number = ByteArray.calculateString("123"); + } + + namespace fromBase64 { + const a: adone.collection.ByteArray = ByteArray.fromBase64("123"); + } + + namespace btoa { + const a: string = ByteArray.btoa("123"); + } + + namespace atob { + const a: string = ByteArray.atob("123"); + } + + namespace fromBinary { + const a: adone.collection.ByteArray = ByteArray.fromBinary("123"); + } + + namespace fromDebug { + const a: adone.collection.ByteArray = ByteArray.fromDebug("12"); + const b: adone.collection.ByteArray = ByteArray.fromDebug("12", true); + } + + namespace fromHex { + const a: adone.collection.ByteArray = ByteArray.fromHex("192"); + const b: adone.collection.ByteArray = ByteArray.fromHex("192", true); + } + + namespace fromUTF8 { + const a: adone.collection.ByteArray = ByteArray.fromUTF8("123"); + const b: adone.collection.ByteArray = ByteArray.fromUTF8("123", true); + } + + namespace constants { + const a: number = ByteArray.DEFAULT_CAPACITY; + const b: boolean = ByteArray.DEFAULT_NOASSERT; + const c: number = ByteArray.MAX_VARINT32_BYTES; + const d: number = ByteArray.MAX_VARINT64_BYTES; + const e: string = ByteArray.METRICS_CHARS; + const f: string = ByteArray.METRICS_BYTES; + } + } +} diff --git a/types/adone/test/glosses/collections/default_map.ts b/types/adone/test/glosses/collections/default_map.ts new file mode 100644 index 0000000000..1273b91982 --- /dev/null +++ b/types/adone/test/glosses/collections/default_map.ts @@ -0,0 +1,14 @@ +namespace adoneTests.collection.DefaultMap { + const { + collection: { + DefaultMap + } + } = adone; + + type DefaultMap = adone.collection.DefaultMap; + + new DefaultMap(); + { const a: DefaultMap = new DefaultMap(undefined, [["1", 2]]); } + { const a: DefaultMap = new DefaultMap((key: string) => 123); } + { const a: DefaultMap = new DefaultMap({ a: 123 }); } +} diff --git a/types/adone/test/glosses/collections/fast_lru.ts b/types/adone/test/glosses/collections/fast_lru.ts new file mode 100644 index 0000000000..0e61f51dc5 --- /dev/null +++ b/types/adone/test/glosses/collections/fast_lru.ts @@ -0,0 +1,21 @@ +namespace adoneTests.collection.FastLRU { + const { + collection: { + FastLRU + } + } = adone; + + new FastLRU(); + new FastLRU(100); + new FastLRU(100, { dispose: (key: string, value: number) => null }); + { const a: number = new FastLRU().size; } + { const a: number | undefined = new FastLRU().get("key"); } + new FastLRU().set("key", 123); + { const a: boolean = new FastLRU().delete("key"); } + { const a: boolean = new FastLRU().has("key"); } + { const a: string[] = [...new FastLRU().keys()]; } + { const a: number[] = [...new FastLRU().values()]; } + { const a: number[] = [...new FastLRU().values()]; } + { const a: Array<[string, number]> = [...new FastLRU().entries()]; } + new FastLRU().clear(); +} diff --git a/types/adone/test/glosses/collections/linked_list.ts b/types/adone/test/glosses/collections/linked_list.ts new file mode 100644 index 0000000000..f64a32c1aa --- /dev/null +++ b/types/adone/test/glosses/collections/linked_list.ts @@ -0,0 +1,123 @@ +namespace adoneTests.collection.LinkedList { + const { + collection: { + LinkedList + } + } = adone; + + namespace creation { + new LinkedList(); + new LinkedList(10); + } + + namespace properties { + { const a: boolean = new LinkedList().full; } + { const a: boolean = new LinkedList().empty; } + { const a: number = new LinkedList().maxLength; } + { const a: number = new LinkedList().length; } + { const a: boolean = new LinkedList().autoresize; } + } + + namespace resize { + { const a: boolean = new LinkedList().resize(100).full; } + } + + namespace push { + const a = new LinkedList().push(10); + a.next; + a.prev; + const b: number = a.value; + } + + namespace pop { + const a: number | undefined = new LinkedList().pop(); + } + + namespace shift { + const a: number | undefined = new LinkedList().shift(); + } + + namespace unshift { + const a = new LinkedList().unshift("hello"); + a.next; + a.prev; + const b: string = a.value; + } + + namespace pushNode { + const a = new LinkedList(); + const node = a.push("1230"); + a.pushNode(node); + } + + namespace unshiftNode { + const a = new LinkedList(); + const node = a.push(10); + a.unshiftNode(node); + } + + namespace removeNode { + const a = new LinkedList(); + const node = a.unshift("10"); + a.removeNode(node); + } + + namespace clear { + new LinkedList().clear(); + new LinkedList().clear(true); + } + + namespace toArray { + const a = new LinkedList(); + const b: number[] = a.toArray(); + } + + namespace front { + const a = new LinkedList(); + const b: number = a.front; + } + + namespace back { + const a = new LinkedList(); + const b: number = a.back; + } + + namespace iterating { + const a = new LinkedList(); + for (const b of a) { + const i: string = b; + } + const c = new LinkedList(); + for (const b of c) { + const i: number = b; + } + } + + namespace nextNode { + const a = new LinkedList(); + const n1 = a.push("h"); + const n2 = a.nextNode(n1); + n1.next; + n1.prev; + const t: string = n1.value; + } + + namespace map { + const a = new LinkedList(); + const f = (a: number, idx: number) => `${a}${idx}`; + const b = a.map(f); + const c: string = b.front; + } + + namespace forEach { + const a = new LinkedList(); + + a.forEach((a: number, b: number) => { + const c = a + b; + }); + } + + namespace static { + const a: number = LinkedList.DEFAULT_LENGTH; + } +} diff --git a/types/adone/test/glosses/collections/lru.ts b/types/adone/test/glosses/collections/lru.ts new file mode 100644 index 0000000000..934e5a1fbf --- /dev/null +++ b/types/adone/test/glosses/collections/lru.ts @@ -0,0 +1,67 @@ +namespace adoneTests.collection.LRU { + const { + collection: { + LRU + } + } = adone; + + type LRU = adone.collection.LRU; + + new LRU(); + new LRU(100); + new LRU({}); + new LRU({ max: 100 }); + new LRU({ dispose: (key: string, value: number) => null }); + new LRU({ maxAge: 100 }); + new LRU({ noDisposeOnSet: false }); + new LRU({ stale: true }); + { const a: number = new LRU().max; } + { new LRU().max = 100; } + { const a: boolean = new LRU().allowStale; } + { new LRU().allowStale = false; } + { const a: number = new LRU().maxAge; } + { new LRU().maxAge = 100; } + { const a: (v: number, k: string) => number = new LRU().lengthCalculator; } + { new LRU().lengthCalculator = () => 123; } + { const a: number = new LRU().length; } + { const a: number = new LRU().itemCount; } + new LRU().rforEach((value: number, key: string) => null); + new LRU().rforEach(function (value: number, key: string) { + const b: number = this.a; + }, { a: 1 }); + new LRU().forEach((value: number, key: string) => null); + new LRU().forEach(function (value: number, key: string) { + const b: number = this.a; + }, { a: 1 }); + { const a: string[] = new LRU().keys(); } + { const a: number[] = new LRU().values(); } + new LRU().reset(); + { + const a: Array> = new LRU().dump(); + const [b] = a; + { const c: number = b.e; } + { const c: string = b.key; } + { const c: number = b.value; } + } + { + const a: adone.collection.LinkedList> = new LRU().dumpLru(); + const b = a.shift(); + if (b !== undefined) { + { const a: string = b.key; } + { const a: number = b.value; } + { const a: number = b.now; } + { const a: number = b.maxAge; } + } + } + { const a: string = new LRU().inspect(); } + { const a: string = new LRU().inspect({}); } + { const a: boolean = new LRU().set("asd", 13); } + { const a: boolean = new LRU().set("asd", 13, 100500); } + { const a: boolean = new LRU().has("asd"); } + { const a: number | undefined = new LRU().get("asd"); } + { const a: number | undefined = new LRU().peek("asd"); } + { const a: adone.collection.I.LRU.Entry = new LRU().pop(); } + new LRU().del("asd"); + new LRU().load(new LRU().dump()); + new LRU().prune(); +} diff --git a/types/adone/test/glosses/collections/map_cache.ts b/types/adone/test/glosses/collections/map_cache.ts new file mode 100644 index 0000000000..bcd0ffb887 --- /dev/null +++ b/types/adone/test/glosses/collections/map_cache.ts @@ -0,0 +1,21 @@ +namespace adoneTests.collection.MapCache { + const { + collection: { + MapCache + } + } = adone; + + new MapCache(); + + new MapCache().has("hello"); + new MapCache().get("hello"); + new MapCache().set("hello", "world"); + new MapCache().delete("hello"); + new MapCache().clear(); + + { + const a = new MapCache(); + a.set("a", "b"); + a.get("a").charCodeAt(20); + } +} diff --git a/types/adone/test/glosses/collections/ns_cache.ts b/types/adone/test/glosses/collections/ns_cache.ts new file mode 100644 index 0000000000..a8e8c14397 --- /dev/null +++ b/types/adone/test/glosses/collections/ns_cache.ts @@ -0,0 +1,21 @@ +namespace adoneTests.collection.NSCache { + const { + collection: { + NSCache + } + } = adone; + + new NSCache(10, ["a", "b", "c"]); + new NSCache(10, ["a", "b", "c"]).resize(100); + new NSCache(10, ["a", "b", "c"]).set("a", "b", "c"); + new NSCache(10, ["a", "b", "c"]).get("a", "b"); + new NSCache(10, ["a", "b", "c"]).has("a", "b"); + new NSCache(10, ["a", "b", "c"]).delete("a", "b"); + new NSCache(10, ["a", "b", "c"]).clear(); + + { + const a = new NSCache(10, ["a", "b", "c"]); + a.set("a", "b", "c"); + a.get("a", "b").charCodeAt(100); + } +} diff --git a/types/adone/test/glosses/collections/priority_queue.ts b/types/adone/test/glosses/collections/priority_queue.ts new file mode 100644 index 0000000000..950e7394e7 --- /dev/null +++ b/types/adone/test/glosses/collections/priority_queue.ts @@ -0,0 +1,36 @@ +namespace adoneTests.collection.PriorityQueue { + const { + collection: { + PriorityQueue + } + } = adone; + + type PriorityQueue = adone.collection.PriorityQueue; + + { const a: boolean = new PriorityQueue().empty; } + { const a: number = new PriorityQueue().length; } + new PriorityQueue(); + new PriorityQueue({}); + new PriorityQueue({ + compare(a: number, b: number) { + return a - b; + } + }); + new PriorityQueue({ + priority(a: string, b: string) { + return a.length - b.length; + } + }); + { const a: PriorityQueue = new PriorityQueue().clone(); } + { const a: PriorityQueue = new PriorityQueue().push("123"); } + { const a: string | undefined = new PriorityQueue().pop(); } + { const a: PriorityQueue = new PriorityQueue().delete("123"); } + { const a: PriorityQueue = new PriorityQueue().delete("123"); } + { const a: string = new PriorityQueue().replace("123"); } + { const a: string = new PriorityQueue().pushpop("123"); } + { const a: string[] = new PriorityQueue().toArray(); } + { const a: PriorityQueue = PriorityQueue.from(["1"]); } + { const a: PriorityQueue = PriorityQueue.from(["1"], {}); } + { const a: PriorityQueue = PriorityQueue.from(["1"], { compare: (a: string, b: string) => a.length - b.length }); } + { const a: PriorityQueue = PriorityQueue.from(["1"], { priority: (a: string, b: string) => a.length - b.length }); } +} diff --git a/types/adone/test/glosses/collections/queue.ts b/types/adone/test/glosses/collections/queue.ts new file mode 100644 index 0000000000..fd6df7f39b --- /dev/null +++ b/types/adone/test/glosses/collections/queue.ts @@ -0,0 +1,17 @@ +namespace adoneTests.collection.Queue { + const { + collection: { + Queue + } + } = adone; + + type Queue = adone.collection.Queue; + + new Queue(); + { const a: Queue = new Queue().push(123).push(123); } + { const a: number | undefined = new Queue().push(123).pop(); } + { const a: string | undefined = new Queue().push(123).pop(); } + { const a: boolean = new Queue().full; } + { const a: number = new Queue().length; } + { const a: boolean = new Queue().empty; } +} diff --git a/types/adone/test/glosses/collections/rb_tree.ts b/types/adone/test/glosses/collections/rb_tree.ts new file mode 100644 index 0000000000..1b624284f6 --- /dev/null +++ b/types/adone/test/glosses/collections/rb_tree.ts @@ -0,0 +1,48 @@ +namespace adoneTests.collection.RedBlackTree { + const { + collection: { + RedBlackTree + } + } = adone; + + type RedBlackTree = adone.collection.RedBlackTree; + type RedBlackTreeIterator = adone.collection.I.RedBlackTree.Iterator; + type RedBlackTreeNode = adone.collection.I.RedBlackTree.Node; + + new RedBlackTree(); + new RedBlackTree((a: string, b: string) => a.length - b.length); + new RedBlackTree(undefined, new RedBlackTree()); + { const a: string[] = new RedBlackTree().keys; } + { const a: number[] = new RedBlackTree().values; } + { const a: number = new RedBlackTree().length; } + { + const a: RedBlackTreeIterator = new RedBlackTree().begin; + { const b: boolean = a.valid; } + { const b: RedBlackTreeNode | null = a.node; } + { const b: string | undefined = a.key; } + { const b: number | undefined = a.value; } + { const b: number = a.index; } + { const b: boolean = a.hasNext; } + { const b: boolean = a.hasPrev; } + { const b: RedBlackTree = a.tree; } + { const b: RedBlackTreeIterator = a.clone(); } + { const b: RedBlackTree = a.remove(); } + a.next(); + { const b: RedBlackTree = a.update(333); } + a.prev(); + } + { const a: RedBlackTreeIterator = new RedBlackTree().end; } + { const a: RedBlackTree = new RedBlackTree().insert("123", 456); } + { const a: number = new RedBlackTree().forEach((key: string, value: number) => value); } + { const a: number = new RedBlackTree().forEach((key: string, value: number) => value, "1"); } + { const a: number = new RedBlackTree().forEach((key: string, value: number) => value, "1", "2"); } + { const a: RedBlackTreeIterator = new RedBlackTree().at(1); } + { const a: RedBlackTreeIterator = new RedBlackTree().ge("1"); } + { const a: RedBlackTreeIterator = new RedBlackTree().gt("1"); } + { const a: RedBlackTreeIterator = new RedBlackTree().lt("1"); } + { const a: RedBlackTreeIterator = new RedBlackTree().le("1"); } + { const a: RedBlackTreeIterator | null = new RedBlackTree().find("1"); } + { const a: RedBlackTree = new RedBlackTree().remove("1"); } + { const a: RedBlackTree = new RedBlackTree().remove("1"); } + { const a: number | undefined = new RedBlackTree().get("1"); } +} diff --git a/types/adone/test/glosses/collections/refcounted_cache.ts b/types/adone/test/glosses/collections/refcounted_cache.ts new file mode 100644 index 0000000000..6262d57d60 --- /dev/null +++ b/types/adone/test/glosses/collections/refcounted_cache.ts @@ -0,0 +1,17 @@ +namespace adoneTests.collection.RefcountedCache { + const { + collection: { + RefcountedCache + } + } = adone; + + new RefcountedCache(); + new RefcountedCache().ref("a"); + new RefcountedCache().unref("a"); + new RefcountedCache().references("a") === 5; + + { + const a = new RefcountedCache(); + a.get("b").charCodeAt(100); + } +} diff --git a/types/adone/test/glosses/collections/set.ts b/types/adone/test/glosses/collections/set.ts new file mode 100644 index 0000000000..2e2314956e --- /dev/null +++ b/types/adone/test/glosses/collections/set.ts @@ -0,0 +1,26 @@ +namespace adoneTests.collection.Set { + const { + collection: { + Set + } + } = adone; + + new Set().add("a"); + new Set().has("a"); + new Set().delete("a"); + new Set().get("a"); + new Set().has("a") === true; + new Set().only(); + new Set().size === 5; + + { + const a = new Set(); + + a.add(1); + a.has(2); + a.delete(2); + a.get(2); // ??? + a.only() === 5; + a.size === 5; + } +} diff --git a/types/adone/test/glosses/collections/stack.ts b/types/adone/test/glosses/collections/stack.ts new file mode 100644 index 0000000000..df13f82f8e --- /dev/null +++ b/types/adone/test/glosses/collections/stack.ts @@ -0,0 +1,16 @@ +namespace adoneTests.collection.Stack { + const { + collection: { + Stack + } + } = adone; + + type Stack = adone.collection.Stack; + + { const a: boolean = new Stack().empty; } + { const a: number = new Stack().top; } + { const a: Stack = new Stack().push(123); } + { const a: number | undefined = new Stack().pop(); } + { const a: number[] = [...new Stack()]; } + { const a: Stack = Stack.from([1, 2, 3]); } +} diff --git a/types/adone/test/glosses/collections/timedout_map.ts b/types/adone/test/glosses/collections/timedout_map.ts new file mode 100644 index 0000000000..ffca754e2a --- /dev/null +++ b/types/adone/test/glosses/collections/timedout_map.ts @@ -0,0 +1,22 @@ +namespace adoneTests.collection.TimedoutMap { + const { + collection: { + TimedoutMap + } + } = adone; + + type TimedoutMap = adone.collection.TimedoutMap; + + new TimedoutMap(); + new TimedoutMap(1000); + new TimedoutMap(1000, (key: string) => null); + { + const a: TimedoutMap = new TimedoutMap().forEach((value: number, key: string) => null); + } + { + const a: TimedoutMap = new TimedoutMap().forEach(function (value: number, key: string) { + const a: number = this.a; + }, { a: 1 }); + } + { const a: boolean = new TimedoutMap().delete("123"); } +} diff --git a/types/adone/test/glosses/data.ts b/types/adone/test/glosses/data.ts index e9ef88d14b..00403a56da 100644 --- a/types/adone/test/glosses/data.ts +++ b/types/adone/test/glosses/data.ts @@ -570,4 +570,277 @@ namespace dataTests { bson.decode(bson.encode({ a: 1 }), { promoteLongs: false }).a; bson.decode(bson.encode({ a: 1 }), { promoteValues: true }).a; } + + namespace protobuf { + const { + protobuf + } = data; + + protobuf.create("hello"); + protobuf.create(Buffer.from("hello")); + protobuf.create({}); + protobuf.create({}, {}); + + namespace schema { + const { + schema + } = protobuf; + + const s = schema.parse("hello"); + s.syntax; + s.package; + if (!adone.is.null(s.package)) { + const c: string = s.package; + } + s.imports[0].charCodeAt(100); + + namespace enums { + const [a] = s.enums; + a.name.charCodeAt(100); + a.values; + a.options; + } + + namespace message { + const [msg] = s.messages; + msg.name; + { + const [a] = msg.enums; + a.name; + a.options; + a.values; + } + { + const [a] = msg.extends; + a.name; + a.message; + } + { + const [a] = msg.messages; + a.name; + a.enums; + a.extends; + a.messages; + a.fields; + a.extensions; + } + { + const [a] = msg.fields; + if (!adone.is.null(a.name)) { + a.name.charCodeAt(100); + } + if (!adone.is.null(a.type)) { + a.type.charCodeAt(100); + } + a.tag === 3; + if (!adone.is.null(a.map)) { + a.map.from.charCodeAt(100); + a.map.to.charCodeAt(100); + } + if (!adone.is.null(a.oneof)) { + a.oneof.charCodeAt(100); + } + a.required === false; + a.repeated === true; + a.options; + } + if (!adone.is.null(msg.extensions)) { + msg.extensions.from === 2; + msg.extensions.to === 3; + } + } + + s.options; + + s.extends[0].message; + s.extends[0].name; + + if (!adone.is.nil(s.services)) { + const [svc] = s.services; + + svc.name.charCodeAt(100); + svc.options; + + const [m] = svc.methods; + + m.name.charCodeAt(100); + if (!adone.is.null(m.input_type)) { + m.input_type.charCodeAt(100); + } + if (!adone.is.null(m.output_type)) { + m.output_type.charCodeAt(100); + } + m.client_streaming === true; + m.server_streaming === true; + m.options; + } + } + } + + namespace base32 { + const { + base32 + } = data; + + base32.charmap("asd"); + base32.charmap("asd", {}); + + base32.rfc4648.alphabet.charCodeAt(0); + base32.rfc4648.charmap["X"] === 2; + + base32.crockford.alphabet.charCodeAt(0); + base32.crockford.charmap["X"] === 2; + + base32.base32hex.alphabet.charCodeAt(0); + base32.base32hex.charmap["X"] === 2; + + namespace decoder { + const { + Decoder + } = base32; + new Decoder(); + new Decoder({ + type: "base32hex" + }); + new Decoder({ + type: "crockford" + }); + new Decoder({ + type: "rfc4648" + }); + new Decoder({ + type: "rfc4648", + charmap: {} + }); + const d = new Decoder(); + d.write("asd").write("aa"); + { const a: Buffer = d.finalize(); } + { const a: Buffer = d.finalize("c"); } + } + + namespace encoder { + const { + Encoder + } = base32; + + new Encoder(); + new Encoder({ + type: "base32hex" + }); + new Encoder({ + type: "crockford" + }); + new Encoder({ + type: "rfc4648" + }); + new Encoder({ + type: "rfc4648", + alphabet: "a" + }); + + const e = new Encoder(); + e.write(Buffer.from("b")).write(Buffer.from("a")); + { const a: string = e.finalize(); } + { const a: string = e.finalize(Buffer.from("c")); } + } + + base32.encode(Buffer.from("hello")).charCodeAt(100); + base32.encode(Buffer.from("hello"), { + type: "rfc4648" + }).charCodeAt(100); + base32.encode(Buffer.from("hello"), { + type: "crockford" + }).charCodeAt(100); + base32.encode(Buffer.from("hello"), { + type: "base32hex" + }).charCodeAt(100); + base32.encode(Buffer.from("hello"), { + type: "base32hex", + alphabet: "asd" + }).charCodeAt(100); + + base32.decode("asd").writeUInt8(100, 0); + base32.decode("asd", { + type: "base32hex" + }).writeUInt8(100, 0); + base32.decode("asd", { + type: "crockford" + }).writeUInt8(100, 0); + base32.decode("asd", { + type: "rfc4648" + }).writeUInt8(100, 0); + base32.decode("asd", { + type: "rfc4648", + charmap: {} + }).writeUInt8(100, 0); + } + + namespace basex { + const { + basex + } = data; + + const d = basex("abc"); + const a: Buffer = d.decode("str"); + const b: string = d.encode(Buffer.from("hello")); + const c: Buffer = d.decodeUnsafe("hello"); + } + + namespace base58 { + const { + base58 + } = data; + + const a: Buffer = base58.decode("str"); + const b: string = base58.encode(Buffer.from("hello")); + const c: Buffer = base58.decodeUnsafe("hello"); + } + + namespace base64url { + const { + base64url + } = data; + + base64url.unescape("a").charCodeAt(100); + base64url.escape("a").charCodeAt(100); + + base64url.encode("a").charCodeAt(100); + base64url.encode(Buffer.from("a")).charCodeAt(100); + base64url.encode(Buffer.from("a"), {}).charCodeAt(100); + base64url.encode(Buffer.from("a"), { + encoding: "utf8" + }).charCodeAt(100); + + base64url.decode("a").charCodeAt(100); + base64url.decode("a", { buffer: true }).writeUInt8(0, 0); + base64url.decode("a", { encoding: "utf8" }).charCodeAt(100); + } + + namespace varint { + const { + varint + } = data; + + varint.encode(12)[0]; + varint.encode(12, [])[0]; + varint.encode(12, [], 1)[0]; + + varint.decode(Buffer.from("hello")) === 5; + varint.decode(Buffer.from("hello"), 2) === 5; + varint.encodingLength(100500) === 5; + } + + namespace varintSigned { + const { + varintSigned + } = data; + + varintSigned.encode(12)[0]; + varintSigned.encode(12, [])[0]; + varintSigned.encode(12, [], 1)[0]; + + varintSigned.decode(Buffer.from("hello")) === 5; + varintSigned.decode(Buffer.from("hello"), 2) === 5; + varintSigned.encodingLength(100500) === 5; + } } diff --git a/types/adone/test/glosses/fake.ts b/types/adone/test/glosses/fake.ts new file mode 100644 index 0000000000..016d7ba7b0 --- /dev/null +++ b/types/adone/test/glosses/fake.ts @@ -0,0 +1,206 @@ +namespace adoneTests.fake { + const { + fake + } = adone; + + { const a: string = fake.address.zipCode(); } + { const a: string = fake.address.zipCode('###'); } + { const a: string = fake.address.city(); } + { const a: string = fake.address.city(0); } + { const a: string = fake.address.cityPrefix(); } + { const a: string = fake.address.citySuffix(); } + { const a: string = fake.address.streetName(); } + { const a: string = fake.address.streetAddress(); } + { const a: string = fake.address.streetAddress(false); } + { const a: string = fake.address.streetSuffix(); } + { const a: string = fake.address.streetPrefix(); } + { const a: string = fake.address.secondaryAddress(); } + { const a: string = fake.address.county(); } + { const a: string = fake.address.country(); } + { const a: string = fake.address.countryCode(); } + { const a: string = fake.address.state(); } + { const a: string = fake.address.state(false); } + { const a: string = fake.address.stateAbbr(); } + { const a: string = fake.address.latitude(); } + { const a: string = fake.address.longitude(); } + + { const a: string = fake.commerce.color(); } + { const a: string = fake.commerce.department(); } + { const a: string = fake.commerce.productName(); } + { const a: string = fake.commerce.price(); } + { const a: string = fake.commerce.price(0, 0, 0, '#'); } + { const a: string = fake.commerce.productAdjective(); } + { const a: string = fake.commerce.productMaterial(); } + { const a: string = fake.commerce.product(); } + + { const a: string[] = fake.company.suffixes(); } + { const a: string = fake.company.companyName(); } + { const a: string = fake.company.companyName(0); } + { const a: string = fake.company.companySuffix(); } + { const a: string = fake.company.catchPhrase(); } + { const a: string = fake.company.bs(); } + { const a: string = fake.company.catchPhraseAdjective(); } + { const a: string = fake.company.catchPhraseDescriptor(); } + { const a: string = fake.company.catchPhraseNoun(); } + { const a: string = fake.company.bsAdjective(); } + { const a: string = fake.company.bsBuzz(); } + { const a: string = fake.company.bsNoun(); } + + { const a: string = fake.database.column(); } + { const a: string = fake.database.type(); } + { const a: string = fake.database.collation(); } + { const a: string = fake.database.engine(); } + + { const a: Date = fake.date.past(); } + { const a: Date = fake.date.future(); } + { const a: Date = fake.date.between('foo', 'bar'); } + { const a: Date = fake.date.between(new Date(), new Date()); } + { const a: Date = fake.date.recent(); } + { const a: Date = fake.date.recent(100); } + { const a: Date = fake.date.soon(); } + { const a: Date = fake.date.soon(30); } + { const a: string = fake.date.month(); } + { const a: string = fake.date.month({ + abbr: true, + context: true + }); } + { const a: string = fake.date.weekday(); } + { const a: string = fake.date.weekday({ + abbr: true, + context: true + }); } + + { const a: string = fake.finance.account(); } + { const a: string = fake.finance.account(0); } + { const a: string = fake.finance.accountName(); } + { const a: string = fake.finance.mask(); } + { const a: string = fake.finance.mask(0, false, false); } + { const a: string = fake.finance.amount(); } + { const a: string = fake.finance.amount(0, 0, 0, '#'); } + { const a: string = fake.finance.transactionType(); } + { const a: string = fake.finance.currencyCode(); } + { const a: string = fake.finance.currencyName(); } + { const a: string = fake.finance.currencySymbol(); } + { const a: string = fake.finance.bitcoinAddress(); } + { const a: string = fake.finance.ethereumAddress(); } + { const a: string = fake.finance.iban(); } + { const a: string = fake.finance.iban(true); } + { const a: string = fake.finance.bic(); } + + { const a: string = fake.hacker.abbreviation(); } + { const a: string = fake.hacker.adjective(); } + { const a: string = fake.hacker.noun(); } + { const a: string = fake.hacker.verb(); } + { const a: string = fake.hacker.ingverb(); } + { const a: string = fake.hacker.phrase(); } + + { const a: string = fake.helpers.randomize(); } + { const a: number = fake.helpers.randomize([1, 2, 3, 4]); } + { const a: string = fake.helpers.randomize(['foo', 'bar', 'quux']); } + { const a: string = fake.helpers.slugify('foo bar quux'); } + { const a: string = fake.helpers.replaceSymbolWithNumber('foo# bar#'); } + { const a: string = fake.helpers.replaceSymbols('foo# bar? quux#'); } + { const a: string[] = fake.helpers.shuffle(['foo', 'bar', 'quux']); } + { const a: string = fake.helpers.mustache('{{foo}}{{bar}}', {foo: 'x', bar: 'y'}); } + + const card = fake.helpers.createCard(); + { const a: string = card.name; } + { const a: string = card.address.streetA; } + const contextualCard = fake.helpers.contextualCard(); + { const a: string = contextualCard.name; } + { const a: string = contextualCard.address.suite; } + const userCard = fake.helpers.userCard(); + { const a: string = userCard.name; } + { const a: string = userCard.address.suite; } + + { const a: string = fake.internet.avatar(); } + { const a: string = fake.internet.email(); } + { const a: string = fake.internet.email('foo', 'bar', 'quux'); } + { const a: string = fake.internet.exampleEmail(); } + { const a: string = fake.internet.exampleEmail('foo', 'bar'); } + { const a: string = fake.internet.protocol(); } + { const a: string = fake.internet.url(); } + { const a: string = fake.internet.domainName(); } + { const a: string = fake.internet.domainSuffix(); } + { const a: string = fake.internet.domainWord(); } + { const a: string = fake.internet.ip(); } + { const a: string = fake.internet.userAgent(); } + { const a: string = fake.internet.color(); } + { const a: string = fake.internet.color(0, 0, 0); } + { const a: string = fake.internet.mac(); } + { const a: string = fake.internet.password(); } + { const a: string = fake.internet.password(0, false, '#', 'foo'); } + + { const a: string = fake.lorem.word(); } + { const a: string = fake.lorem.words(); } + { const a: string = fake.lorem.words(0); } + { const a: string = fake.lorem.sentence(); } + { const a: string = fake.lorem.sentence(0, 0); } + { const a: string = fake.lorem.slug(); } + { const a: string = fake.lorem.slug(0); } + { const a: string = fake.lorem.sentences(); } + { const a: string = fake.lorem.sentences(0); } + { const a: string = fake.lorem.paragraph(); } + { const a: string = fake.lorem.paragraph(0); } + { const a: string = fake.lorem.paragraphs(); } + { const a: string = fake.lorem.paragraphs(0, ''); } + { const a: string = fake.lorem.text(); } + { const a: string = fake.lorem.text(0); } + { const a: string = fake.lorem.lines(); } + { const a: string = fake.lorem.lines(0); } + + { const a: string = fake.name.firstName(); } + { const a: string = fake.name.firstName(0); } + { const a: string = fake.name.lastName(); } + { const a: string = fake.name.lastName(0); } + { const a: string = fake.name.findName(); } + { const a: string = fake.name.findName('', '', 0); } + { const a: string = fake.name.jobTitle(); } + { const a: string = fake.name.prefix(); } + { const a: string = fake.name.suffix(); } + { const a: string = fake.name.title(); } + { const a: string = fake.name.jobDescriptor(); } + { const a: string = fake.name.jobArea(); } + { const a: string = fake.name.jobType(); } + + { const a: string = fake.phone.phoneNumber(); } + { const a: string = fake.phone.phoneNumber('#'); } + { const a: string = fake.phone.phoneNumberFormat(); } + { const a: string = fake.phone.phoneNumberFormat(0); } + { const a: string = fake.phone.phoneFormats(); } + + { const a: number = fake.random.number(); } + { const a: number = fake.random.number(0); } + { const a: number = fake.random.number({ + min: 0, + max: 0, + precision: 0 + }); } + { const a: string = fake.random.arrayElement(); } + { const a: string = fake.random.arrayElement(['foo', 'bar', 'quux']); } + { const a: string = fake.random.objectElement(); } + { const a: string = fake.random.objectElement({foo: 'bar', field: 'foo'}); } + { const a: string = fake.random.uuid(); } + { const a: boolean = fake.random.boolean(); } + { const a: string = fake.random.word(); } + { const a: string = fake.random.word("noun"); } + { const a: string = fake.random.words(); } + { const a: string = fake.random.words(0); } + { const a: string = fake.random.image(); } + { const a: string = fake.random.locale(); } + { const a: string = fake.random.alphaNumeric(); } + { const a: string = fake.random.alphaNumeric(0); } + { const a: string = fake.random.hexaDecimal(); } + { const a: string = fake.random.hexaDecimal(3); } + + { const a: string = fake.system.fileName("foo", "bar"); } + { const a: string = fake.system.commonFileName("foo", "bar"); } + { const a: string = fake.system.mimeType(); } + { const a: string = fake.system.commonFileType(); } + { const a: string = fake.system.commonFileExt(); } + { const a: string = fake.system.fileType(); } + { const a: string = fake.system.fileExt("foo"); } + { const a: string = fake.system.directoryPath(); } + { const a: string = fake.system.filePath(); } + { const a: string = fake.system.semver(); } +} diff --git a/types/adone/test/glosses/is.ts b/types/adone/test/glosses/is.ts index 13b00530d7..2065dfe01b 100644 --- a/types/adone/test/glosses/is.ts +++ b/types/adone/test/glosses/is.ts @@ -133,8 +133,20 @@ namespace isTests { } } { const a: boolean = is.dotfile("abc"); } - { const a: boolean = is.function(() => { }); } - { const a: boolean = is.asyncFunction(async () => { }); } + { + const a: boolean = is.function(() => { }); + const b: any = 2; + if (is.function(b)) { + b(); + } + } + { + const a: boolean = is.asyncFunction(async () => { }); + const b: any = 2; + if (is.asyncFunction(b)) { + b().then(() => {}); + } + } { const a: boolean = is.promise({}); const b: any = 2; diff --git a/types/adone/tsconfig.json b/types/adone/tsconfig.json index 175d3c1252..e77e755b85 100644 --- a/types/adone/tsconfig.json +++ b/types/adone/tsconfig.json @@ -22,6 +22,7 @@ "files": [ "index.d.ts", "adone.d.ts", + "glosses/fake.d.ts", "glosses/math/index.d.ts", "glosses/math/matrix.d.ts", "glosses/math/simd.d.ts", @@ -32,7 +33,26 @@ "glosses/promise.d.ts", "glosses/shani.d.ts", "glosses/shani-global.d.ts", - "glosses/collections.d.ts", + "glosses/collections/index.d.ts", + "glosses/collections/array_set.d.ts", + "glosses/collections/async_queue.d.ts", + "glosses/collections/avl_tree.d.ts", + "glosses/collections/binary_search_tree.d.ts", + "glosses/collections/buffer_list.d.ts", + "glosses/collections/byte_array.d.ts", + "glosses/collections/default_map.d.ts", + "glosses/collections/fast_lru.d.ts", + "glosses/collections/linked_list.d.ts", + "glosses/collections/lru.d.ts", + "glosses/collections/map_cache.d.ts", + "glosses/collections/ns_cache.d.ts", + "glosses/collections/priority_queue.d.ts", + "glosses/collections/queue.d.ts", + "glosses/collections/rb_tree.d.ts", + "glosses/collections/refcounted_cache.d.ts", + "glosses/collections/set.d.ts", + "glosses/collections/stack.d.ts", + "glosses/collections/timedout_map.d.ts", "glosses/events.d.ts", "glosses/fs.d.ts", "glosses/is.d.ts", @@ -46,7 +66,27 @@ "adone-tests.ts", "test/index.ts", "test/index-import.ts", + "test/glosses/fake.ts", "test/glosses/application.ts", + "test/glosses/collections/array_set.ts", + "test/glosses/collections/async_queue.ts", + "test/glosses/collections/avl_tree.ts", + "test/glosses/collections/binary_search_tree.ts", + "test/glosses/collections/buffer_list.ts", + "test/glosses/collections/byte_array.ts", + "test/glosses/collections/default_map.ts", + "test/glosses/collections/fast_lru.ts", + "test/glosses/collections/linked_list.ts", + "test/glosses/collections/lru.ts", + "test/glosses/collections/map_cache.ts", + "test/glosses/collections/ns_cache.ts", + "test/glosses/collections/priority_queue.ts", + "test/glosses/collections/queue.ts", + "test/glosses/collections/rb_tree.ts", + "test/glosses/collections/refcounted_cache.ts", + "test/glosses/collections/set.ts", + "test/glosses/collections/stack.ts", + "test/glosses/collections/timedout_map.ts", "test/glosses/math/index.ts", "test/glosses/math/matrix.ts", "test/glosses/math/simd.ts", @@ -57,7 +97,6 @@ "test/glosses/promise.ts", "test/glosses/shani.ts", "test/glosses/shani-global.ts", - "test/glosses/collections.ts", "test/glosses/events.ts", "test/glosses/fs.ts", "test/glosses/is.ts", From 499d248746c7a3875d7322f78000ad00c8e51af4 Mon Sep 17 00:00:00 2001 From: Garth Kidd Date: Wed, 7 Feb 2018 14:50:26 +1100 Subject: [PATCH 220/463] Stripe card numbers are strings: The Stripe API for Node documentation of [Create a card token][cct] gives the example code: ``` var stripe = require("stripe")( "sk_test_BQokikJOvBiI2HlWgH4olfQ2" ); stripe.tokens.create({ card: { "number": '4242424242424242', "exp_month": 12, "exp_year": 2019, "cvc": '123' } }, function(err, token) { // asynchronously called }); ``` [cct]: https://stripe.com/docs/api/node#create_card_token Relevant typings history: * @borisyankov first added `StripeTokenData.number: number` in 2013-09 * @codeanimal substantially reworked the typings in 2016-04 with `ISourceCreationOptions.number: string` but giving it the comment: > The card number, as a string without any separators. --- types/stripe/index.d.ts | 6 +++--- types/stripe/stripe-tests.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/types/stripe/index.d.ts b/types/stripe/index.d.ts index c3fd4853b7..92f07f2eed 100644 --- a/types/stripe/index.d.ts +++ b/types/stripe/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for stripe 5.0 +// Type definitions for stripe 6.0 // Project: https://github.com/stripe/stripe-node/ // Definitions by: William Johnston // Peter Harris @@ -4051,7 +4051,7 @@ declare namespace Stripe { /** * The card number */ - number: number; + number: string; /** * Card brand. Can be Visa, American Express, MasterCard, Discover, JCB, Diners Club, or Unknown. @@ -4167,7 +4167,7 @@ declare namespace Stripe { /** * The card number, as a string without any separators. */ - number: number; + number: string; /** * Card security code. Required unless your account is registered in diff --git a/types/stripe/stripe-tests.ts b/types/stripe/stripe-tests.ts index 99cf3795db..b887ae6228 100644 --- a/types/stripe/stripe-tests.ts +++ b/types/stripe/stripe-tests.ts @@ -243,7 +243,7 @@ stripe.customers.create({ }).then( function (customer) { // asynchronously called customer.cards.create({ card: "tok_17wV94BoqMA9o2xkhlAd3ALf"}).then(function (customer) {}); - customer.cards.retrieve("card_17xMvXBoqMA9o2xkq6W5gamx").then(function (card) { + customer.cards.retrieve("card_17xMvXBoqMA9o2xkq6W5gamx").then(function (card) { let strCustomer: string = card.customer; let objCustomer: customers.ICustomer = card.customer; }); @@ -394,7 +394,7 @@ stripe.customers.createSource( object: "card", exp_month: 1, exp_year: 16, - number: 4242424242424242 + number: '4242424242424242' } }, function (err, card) { @@ -409,7 +409,7 @@ stripe.customers.createSource( object: "card", exp_month: 1, exp_year: 16, - number: 4242424242424242 + number: '4242424242424242' } }).then( function (card) { From 9c4548f8ba4f72f41f3af880f6c836075427f51b Mon Sep 17 00:00:00 2001 From: Sriram Thiagarajan Date: Wed, 7 Feb 2018 12:29:29 +0530 Subject: [PATCH 221/463] add clearRenderer prop --- types/react-select/index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/types/react-select/index.d.ts b/types/react-select/index.d.ts index 4487ea4093..87a6ac9619 100644 --- a/types/react-select/index.d.ts +++ b/types/react-select/index.d.ts @@ -30,6 +30,7 @@ export type HandlerRendererResult = JSX.Element | null | false; export type FocusOptionHandler = (option: Option) => void; export type SelectValueHandler = (option: Option) => void; export type ArrowRendererHandler = (props: ArrowRendererProps) => HandlerRendererResult; +export type ClearRendererHandler = () => HandlerRendererResult; export type FilterOptionHandler = (option: Option, filter: string) => boolean; export type FilterOptionsHandler = (options: Options, filter: string, currentValues: Options) => Options; export type InputRendererHandler = (props: { [key: string]: any }) => HandlerRendererResult; @@ -187,6 +188,11 @@ export interface ReactSelectProps extends React.Props Date: Wed, 7 Feb 2018 21:47:58 +1300 Subject: [PATCH 222/463] [aws-lambda] Add Handler and Callback types for each trigger. No tests added for the new types yet, I'll get on that tomorrow. Motivation --- The connection between the trigger event and the result types can be confusing sometimes - for example `CloudFormationCustomResourceResponse` is *not* returned from the lambda, but instead should be sent to the *Request `ResponseUrl`. This PR tries to help by providing pre-baked `Handler` types for each of the triggers (that have types already). There's also a few niggles with naming and the handler signature that have been bothering me for a while. Changes --- This PR: - Adds defaulted generic parameters to the existing `Handler` and `Callback` types. This increases the minimum TS version to 2.3. - Makes the `callback` parameter to `Handler`s "required" - this probably originally was meant to represent the Node 0.10 runtime, which did not pass a callback parameter, but that is no longer selectable when creating or editing a Lambda and makes the normal, recommended usage harder. In case anyone is confused, this doesn't break any code: it is required to be provided when being called, your handlers don't need to declare it. I'm not removing the legacy node 0.10 runtime methods `context.done()` etc., since they still work. - In the spirit of #21874, make the default result type for `Handler`, `Callback` `any`, since the only requirement is that it be `JSON.stringify()`able, and there are things like `.toJSON()`, etc. so there is no meaningful type restriction here. - Revert the definition changes of #22588, which changed the `Handler` result types to `void | Promise`, which is misleading: Lambda will not accept or wait for a promise result (it by default waits for the node event loop to empty). This is not a breaking change for code that does return promises, since a `void` result type is compatible with any result type, even with strict function types. (Which is why the tests still pass.) - Adds `FooHandler` and `FooCallback` types for all `FooEvent`s and `FooResult`s, where possible - sometimes these don't match up. - Renamed, with aliases to the old name, various types to align them: in particular `ProxyResult` -> `APIGatewayProxyResult`. - `CloudFrontResult` (not the same type as `CloudFrontResponse`!) was missing for some reason. --- types/aws-lambda/index.d.ts | 76 ++++++++++++++++++++++++++++++++----- 1 file changed, 66 insertions(+), 10 deletions(-) diff --git a/types/aws-lambda/index.d.ts b/types/aws-lambda/index.d.ts index 09070fb13c..a87c6da946 100644 --- a/types/aws-lambda/index.d.ts +++ b/types/aws-lambda/index.d.ts @@ -14,8 +14,9 @@ // Markus Tacker // Palmi Valgeirsson // Danilo Raisi +// Simon Buchan // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 // API Gateway "event" request context export interface APIGatewayEventRequestContext { @@ -191,9 +192,10 @@ export interface S3EventRecord { }; } -export interface S3CreateEvent { +export interface S3Event { Records: S3EventRecord[]; } +export type S3CreateEvent = S3Event; // old name /** * Cognito User Pool event @@ -414,7 +416,7 @@ export interface ClientContextEnv { locale: string; } -export interface ProxyResult { +export interface APIGatewayProxyResult { statusCode: number; headers?: { [header: string]: boolean | number | string; @@ -422,16 +424,18 @@ export interface ProxyResult { body: string; isBase64Encoded?: boolean; } +export type ProxyResult = APIGatewayProxyResult; // Old name /** * API Gateway CustomAuthorizer AuthResponse. * http://docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-authorizer.html#api-gateway-custom-authorizer-output */ -export interface AuthResponse { +export interface CustomAuthorizerResult { principalId: string; policyDocument: PolicyDocument; context?: AuthResponseContext; } +export type AuthResponse = CustomAuthorizerResult; /** * API Gateway CustomAuthorizer AuthResponse.PolicyDocument. @@ -509,6 +513,15 @@ export interface CloudFrontRequestEvent { }>; } +// https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-generating-http-responses.html#lambda-generating-http-responses-object +export interface CloudFrontResult { + status: string; + statusDescription?: string; + headers?: CloudFrontHeaders; + bodyEncoding?: 'text' | 'base64'; + body?: string; +} + /** * AWS Lambda handler function. * http://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html @@ -517,9 +530,7 @@ export interface CloudFrontRequestEvent { * @param context – runtime information of the Lambda function that is executing. * @param callback – optional callback to return information to the caller, otherwise return value is null. */ -export type Handler = (event: any, context: Context, callback?: Callback) => Promise | void; -export type ProxyHandler = (event: APIGatewayEvent, context: Context, callback?: ProxyCallback) => Promise | void; -export type CustomAuthorizerHandler = (event: CustomAuthorizerEvent, context: Context, callback?: CustomAuthorizerCallback) => Promise | void; +export type Handler = (event: TEvent, context: Context, callback: Callback) => void; /** * Optional callback parameter. @@ -528,8 +539,53 @@ export type CustomAuthorizerHandler = (event: CustomAuthorizerEvent, context: Co * @param error – an optional parameter that you can use to provide results of the failed Lambda function execution. * @param result – an optional parameter that you can use to provide the result of a successful function execution. The result provided must be JSON.stringify compatible. */ -export type Callback = (error?: Error | null, result?: object | boolean | number | string) => void; -export type ProxyCallback = (error?: Error | null, result?: ProxyResult) => void; -export type CustomAuthorizerCallback = (error?: Error | null, result?: AuthResponse) => void; +export type Callback = (error?: Error | null, result?: TResult) => void; + +// Begin defining Handler and Callback types for each API trigger type. +// Ordered by https://docs.aws.amazon.com/lambda/latest/dg/invoking-lambda-function.html +// though that list is incomplete. + +export type S3Handler = Handler; + +export type DynamoDBHandler = Handler; + +export type SNSHandler = Handler; + +// No SESHandler: SES event source is delivered as SNS notifications +// https://docs.aws.amazon.com/lambda/latest/dg/invoking-lambda-function.html#supported-event-source-ses + +export type CognitoUserPoolTriggerHandler = Handler; +// TODO: Different event triggers/response pairs? + +// TODO: CognitoSync + +export type CloudFormationCustomResourceHandler = Handler; + +// TODO: CloudWatchEvents + +export type CloudWatchLogsHandler = Handler; + +// TODO: CodeCommit + +export type ScheduledEventHandler = Handler; + +// TODO: AWS Config + +// TODO: Alexa + +export type APIGatewayProxyHandler = Handler; +export type ProxyHandler = APIGatewayProxyHandler; // Old name +export type APIGatewayProxyCallback = Callback; +export type ProxyCallback = APIGatewayProxyCallback; // Old name + +// TODO: IoT + +export type CloudFrontRequestHandler = Handler; +export type CloudFrontResponseHandler = Handler; + +// TODO: Kinesis (should be very close to DynamoDB stream?) + +export type CustomAuthorizerHandler = Handler; +export type CustomAuthorizerCallback = Callback; export as namespace AWSLambda; From 7bf711da33145e46f4cb340923fa547112c6b2f7 Mon Sep 17 00:00:00 2001 From: Bas Luksenburg Date: Wed, 7 Feb 2018 10:40:03 +0100 Subject: [PATCH 223/463] Use ES6 import --- types/chai-http/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/chai-http/index.d.ts b/types/chai-http/index.d.ts index 0f2dd64a5e..77c711cb7f 100644 --- a/types/chai-http/index.d.ts +++ b/types/chai-http/index.d.ts @@ -10,7 +10,7 @@ /// /// -import request = require('superagent'); +import * as request from 'superagent'; declare global { namespace Chai { From f7570403642266233279d9cbf373c88ba7b77f64 Mon Sep 17 00:00:00 2001 From: Mathias Lykkegaard Lorenzen Date: Wed, 7 Feb 2018 11:35:04 +0100 Subject: [PATCH 224/463] Update index.d.ts --- types/knockout/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/knockout/index.d.ts b/types/knockout/index.d.ts index 570f61d80b..6773ec8c23 100644 --- a/types/knockout/index.d.ts +++ b/types/knockout/index.d.ts @@ -444,7 +444,8 @@ interface KnockoutStatic { isSubscribable(instance: any): instance is KnockoutSubscribable; toJSON(viewModel: any, replacer?: Function, space?: any): string; toJS(viewModel: KnockoutObservableArray|KnockoutObservableType[]|KnockoutObservableArray>|T[]): T[]; - toJS(viewModel: KnockoutObservable|KnockoutObservableType|KnockoutObservable>|T): T; + toJS(viewModel: KnockoutObservable|KnockoutObservableType|KnockoutObservable>): T; + toJS(viewModel: T): T; isObservable(instance: KnockoutObservable|T): instance is KnockoutObservable; isWriteableObservable(instance: KnockoutObservable|T): instance is KnockoutObservable; isComputed(instance: KnockoutObservable|T): instance is KnockoutComputed; From d7f34a126d5c095dd951fb95a5496b0840a6899a Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Wed, 7 Feb 2018 13:10:30 +0200 Subject: [PATCH 225/463] tslint disables for no-const-enum; ActiveXObjectNameMap; removed EnumeratorConstructors --- types/activex-scripting/index.d.ts | 22 +++++++++++++--------- types/activex-scripting/tslint.json | 5 +---- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/types/activex-scripting/index.d.ts b/types/activex-scripting/index.d.ts index 088fff3c99..5dd5bf8fec 100644 --- a/types/activex-scripting/index.d.ts +++ b/types/activex-scripting/index.d.ts @@ -2,14 +2,17 @@ // Project: https://msdn.microsoft.com/en-us/library/bstcxhf7(v=vs.84).aspx // Definitions by: Zev Spitz // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.6 declare namespace Scripting { + // tslint:disable-next-line:no-const-enum const enum CompareMethod { BinaryCompare = 0, DatabaseCompare = 2, TextCompare = 1 } + // tslint:disable-next-line:no-const-enum const enum DriveTypeConst { CDRom = 4, Fixed = 2, @@ -19,6 +22,7 @@ declare namespace Scripting { UnknownType = 0 } + // tslint:disable-next-line:no-const-enum const enum FileAttribute { Alias = 1024, Archive = 32, @@ -31,24 +35,28 @@ declare namespace Scripting { Volume = 8 } + // tslint:disable-next-line:no-const-enum const enum IOMode { ForAppending = 8, ForReading = 1, ForWriting = 2 } + // tslint:disable-next-line:no-const-enum const enum SpecialFolderConst { SystemFolder = 1, TemporaryFolder = 2, WindowsFolder = 0 } + // tslint:disable-next-line:no-const-enum const enum StandardStreamTypes { StdErr = 2, StdIn = 0, StdOut = 1 } + // tslint:disable-next-line:no-const-enum const enum Tristate { TristateFalse = 0, TristateMixed = -2, @@ -452,15 +460,11 @@ declare namespace Scripting { interface ActiveXObject { set(obj: Scripting.Dictionary, propertyName: 'Item', parameterTypes: [any], newValue: any): void; - new(progid: 'Scripting.Dictionary'): Scripting.Dictionary; - new(progid: 'Scripting.Encoder'): Scripting.Encoder; - new(progid: 'Scripting.FileSystemObject'): Scripting.FileSystemObject; + new (progid: K): ActiveXObjectNameMap[K]; } -interface EnumeratorConstructor { - // tslint:disable-next-line:no-unnecessary-generics - new(col: Scripting.Dictionary): TItem; - new(col: Scripting.Drives): Scripting.Drive; - new(col: Scripting.Files): Scripting.File; - new(col: Scripting.Folders): Scripting.Folder; +interface ActiveXObjectNameMap { + 'Scripting.Dictionary': Scripting.Dictionary; + 'Scirpting.Encoder': Scripting.Encoder; + 'Scripting.FileSystemObject': Scripting.FileSystemObject; } diff --git a/types/activex-scripting/tslint.json b/types/activex-scripting/tslint.json index 3224b40b8b..f93cf8562a 100644 --- a/types/activex-scripting/tslint.json +++ b/types/activex-scripting/tslint.json @@ -1,6 +1,3 @@ { - "extends": "dtslint/dt.json", - "rules": { - "no-const-enum": false - } + "extends": "dtslint/dt.json" } From 1863849c3ae983d22c145fb6e26c62b54f4286aa Mon Sep 17 00:00:00 2001 From: Jaume Sanchez Date: Wed, 7 Feb 2018 11:52:59 +0000 Subject: [PATCH 226/463] Fixed types for Mesh: Material is no longer an array of Materials --- types/three/three-core.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index 40a9d4daa0..12e329da61 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -4851,10 +4851,10 @@ export class LineSegments extends Line { } export class Mesh extends Object3D { - constructor(geometry?: Geometry | BufferGeometry, material?: Material | Material []); + constructor(geometry?: Geometry | BufferGeometry, material?: Material); geometry: Geometry|BufferGeometry; - material: Material | Material[]; + material: Material; drawMode: TrianglesDrawModes; morphTargetInfluences?: number[]; morphTargetDictionary?: { [key: string]: number; }; From 8dd4f5d21b2b85b37f63001bdd0049dabf5262c3 Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Wed, 7 Feb 2018 14:34:12 +0200 Subject: [PATCH 227/463] Minor fixes --- types/activex-excel/index.d.ts | 461 +++++++++++++----- types/activex-excel/tslint.json | 5 +- .../activex-scripting-tests.ts | 40 +- 3 files changed, 384 insertions(+), 122 deletions(-) diff --git a/types/activex-excel/index.d.ts b/types/activex-excel/index.d.ts index ec2044f1e7..cdf2a79551 100644 --- a/types/activex-excel/index.d.ts +++ b/types/activex-excel/index.d.ts @@ -2,13 +2,14 @@ // Project: https://msdn.microsoft.com/en-us/library/fp179694.aspx // Definitions by: Zev Spitz // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// /// /// declare namespace Excel { + // tslint:disable-next-line:no-const-enum const enum Constants { xl3DBar = -4099, xl3DEffects1 = 13, @@ -179,6 +180,7 @@ declare namespace Excel { xlWorksheetShort = 5, } + // tslint:disable-next-line:no-const-enum const enum XlAboveBelow { xlAboveAverage = 0, xlAboveStdDev = 4, @@ -188,6 +190,7 @@ declare namespace Excel { xlEqualBelowAverage = 3, } + // tslint:disable-next-line:no-const-enum const enum XlActionType { xlActionTypeDrillthrough = 256, xlActionTypeReport = 128, @@ -195,21 +198,25 @@ declare namespace Excel { xlActionTypeUrl = 1, } + // tslint:disable-next-line:no-const-enum const enum XlAllocation { xlAutomaticAllocation = 2, xlManualAllocation = 1, } + // tslint:disable-next-line:no-const-enum const enum XlAllocationMethod { xlEqualAllocation = 1, xlWeightedAllocation = 2, } + // tslint:disable-next-line:no-const-enum const enum XlAllocationValue { xlAllocateIncrement = 2, xlAllocateValue = 1, } + // tslint:disable-next-line:no-const-enum const enum XlApplicationInternational { xl24HourClock = 33, xl4DigitYears = 43, @@ -258,11 +265,13 @@ declare namespace Excel { xlYearCode = 19, } + // tslint:disable-next-line:no-const-enum const enum XlApplyNamesOrder { xlColumnThenRow = 2, xlRowThenColumn = 1, } + // tslint:disable-next-line:no-const-enum const enum XlArabicModes { xlArabicBothStrict = 3, xlArabicNone = 0, @@ -270,6 +279,7 @@ declare namespace Excel { xlArabicStrictFinalYaa = 2, } + // tslint:disable-next-line:no-const-enum const enum XlArrangeStyle { xlArrangeStyleCascade = 7, xlArrangeStyleHorizontal = -4128, @@ -277,12 +287,14 @@ declare namespace Excel { xlArrangeStyleVertical = -4166, } + // tslint:disable-next-line:no-const-enum const enum XlArrowHeadLength { xlArrowHeadLengthLong = 3, xlArrowHeadLengthMedium = -4138, xlArrowHeadLengthShort = 1, } + // tslint:disable-next-line:no-const-enum const enum XlArrowHeadStyle { xlArrowHeadStyleClosed = 3, xlArrowHeadStyleDoubleClosed = 5, @@ -291,12 +303,14 @@ declare namespace Excel { xlArrowHeadStyleOpen = 2, } + // tslint:disable-next-line:no-const-enum const enum XlArrowHeadWidth { xlArrowHeadWidthMedium = -4138, xlArrowHeadWidthNarrow = 1, xlArrowHeadWidthWide = 3, } + // tslint:disable-next-line:no-const-enum const enum XlAutoFillType { xlFillCopy = 1, xlFillDays = 5, @@ -311,6 +325,7 @@ declare namespace Excel { xlLinearTrend = 9, } + // tslint:disable-next-line:no-const-enum const enum XlAutoFilterOperator { xlAnd = 1, xlBottom10Items = 4, @@ -328,6 +343,7 @@ declare namespace Excel { xlTop10Percent = 5, } + // tslint:disable-next-line:no-const-enum const enum XlAxisCrosses { xlAxisCrossesAutomatic = -4105, xlAxisCrossesCustom = -4114, @@ -335,23 +351,27 @@ declare namespace Excel { xlAxisCrossesMinimum = 4, } + // tslint:disable-next-line:no-const-enum const enum XlAxisGroup { xlPrimary = 1, xlSecondary = 2, } + // tslint:disable-next-line:no-const-enum const enum XlAxisType { xlCategory = 1, xlSeriesAxis = 3, xlValue = 2, } + // tslint:disable-next-line:no-const-enum const enum XlBackground { xlBackgroundAutomatic = -4105, xlBackgroundOpaque = 3, xlBackgroundTransparent = 2, } + // tslint:disable-next-line:no-const-enum const enum XlBarShape { xlBox = 0, xlConeToMax = 5, @@ -361,6 +381,7 @@ declare namespace Excel { xlPyramidToPoint = 1, } + // tslint:disable-next-line:no-const-enum const enum XlBordersIndex { xlDiagonalDown = 5, xlDiagonalUp = 6, @@ -372,6 +393,7 @@ declare namespace Excel { xlInsideVertical = 11, } + // tslint:disable-next-line:no-const-enum const enum XlBorderWeight { xlHairline = 1, xlMedium = -4138, @@ -379,6 +401,7 @@ declare namespace Excel { xlThin = 2, } + // tslint:disable-next-line:no-const-enum const enum XlBuiltInDialog { _xlDialogChartSourceData = 541, _xlDialogPhonetic = 538, @@ -641,53 +664,62 @@ declare namespace Excel { xlDialogZoom = 256, } + // tslint:disable-next-line:no-const-enum const enum XlCalcFor { xlAllValues = 0, xlColGroups = 2, xlRowGroups = 1, } + // tslint:disable-next-line:no-const-enum const enum XlCalculatedMemberType { xlCalculatedMember = 0, xlCalculatedSet = 1, } + // tslint:disable-next-line:no-const-enum const enum XlCalculation { xlCalculationAutomatic = -4105, xlCalculationManual = -4135, xlCalculationSemiautomatic = 2, } + // tslint:disable-next-line:no-const-enum const enum XlCalculationInterruptKey { xlAnyKey = 2, xlEscKey = 1, xlNoKey = 0, } + // tslint:disable-next-line:no-const-enum const enum XlCalculationState { xlCalculating = 1, xlDone = 0, xlPending = 2, } + // tslint:disable-next-line:no-const-enum const enum XlCategoryType { xlAutomaticScale = -4105, xlCategoryScale = 2, xlTimeScale = 3, } + // tslint:disable-next-line:no-const-enum const enum XlCellChangedState { xlCellChangeApplied = 3, xlCellChanged = 2, xlCellNotChanged = 1, } + // tslint:disable-next-line:no-const-enum const enum XlCellInsertionMode { xlInsertDeleteCells = 1, xlInsertEntireRows = 2, xlOverwriteCells = 0, } + // tslint:disable-next-line:no-const-enum const enum XlCellType { xlCellTypeAllFormatConditions = -4172, xlCellTypeAllValidation = -4174, @@ -701,17 +733,20 @@ declare namespace Excel { xlCellTypeVisible = 12, } + // tslint:disable-next-line:no-const-enum const enum XlChartElementPosition { xlChartElementPositionAutomatic = -4105, xlChartElementPositionCustom = -4114, } + // tslint:disable-next-line:no-const-enum const enum XlChartGallery { xlAnyGallery = 23, xlBuiltIn = 21, xlUserDefined = 22, } + // tslint:disable-next-line:no-const-enum const enum XlChartItem { xlAxis = 21, xlAxisTitle = 17, @@ -747,12 +782,14 @@ declare namespace Excel { xlYErrorBars = 11, } + // tslint:disable-next-line:no-const-enum const enum XlChartLocation { xlLocationAsNewSheet = 1, xlLocationAsObject = 2, xlLocationAutomatic = 3, } + // tslint:disable-next-line:no-const-enum const enum XlChartPicturePlacement { xlAllFaces = 7, xlEnd = 2, @@ -763,12 +800,14 @@ declare namespace Excel { xlSides = 1, } + // tslint:disable-next-line:no-const-enum const enum XlChartPictureType { xlStack = 2, xlStackScale = 3, xlStretch = 1, } + // tslint:disable-next-line:no-const-enum const enum XlChartSplitType { xlSplitByCustomSplit = 4, xlSplitByPercentValue = 3, @@ -776,6 +815,7 @@ declare namespace Excel { xlSplitByValue = 2, } + // tslint:disable-next-line:no-const-enum const enum XlChartType { xl3DArea = -4098, xl3DAreaStacked = 78, @@ -852,12 +892,14 @@ declare namespace Excel { xlXYScatterSmoothNoMarkers = 73, } + // tslint:disable-next-line:no-const-enum const enum XlCheckInVersionType { xlCheckInMajorVersion = 1, xlCheckInMinorVersion = 0, xlCheckInOverwriteVersion = 2, } + // tslint:disable-next-line:no-const-enum const enum XlClipboardFormat { xlClipboardFormatBIFF = 8, xlClipboardFormatBIFF12 = 63, @@ -895,6 +937,7 @@ declare namespace Excel { xlClipboardFormatWK1 = 10, } + // tslint:disable-next-line:no-const-enum const enum XlCmdType { xlCmdCube = 1, xlCmdDefault = 4, @@ -903,11 +946,13 @@ declare namespace Excel { xlCmdTable = 3, } + // tslint:disable-next-line:no-const-enum const enum XlColorIndex { xlColorIndexAutomatic = -4105, xlColorIndexNone = -4142, } + // tslint:disable-next-line:no-const-enum const enum XlColumnDataType { xlDMYFormat = 4, xlDYMFormat = 7, @@ -921,18 +966,21 @@ declare namespace Excel { xlYMDFormat = 5, } + // tslint:disable-next-line:no-const-enum const enum XlCommandUnderlines { xlCommandUnderlinesAutomatic = -4105, xlCommandUnderlinesOff = -4146, xlCommandUnderlinesOn = 1, } + // tslint:disable-next-line:no-const-enum const enum XlCommentDisplayMode { xlCommentAndIndicator = 1, xlCommentIndicatorOnly = -1, xlNoIndicator = 0, } + // tslint:disable-next-line:no-const-enum const enum XlConditionValueTypes { xlConditionValueAutomaticMax = 7, xlConditionValueAutomaticMin = 6, @@ -945,6 +993,7 @@ declare namespace Excel { xlConditionValuePercentile = 5, } + // tslint:disable-next-line:no-const-enum const enum XlConnectionType { xlConnectionTypeODBC = 2, xlConnectionTypeOLEDB = 1, @@ -953,6 +1002,7 @@ declare namespace Excel { xlConnectionTypeXMLMAP = 3, } + // tslint:disable-next-line:no-const-enum const enum XlConsolidationFunction { xlAverage = -4106, xlCount = -4112, @@ -968,6 +1018,7 @@ declare namespace Excel { xlVarP = -4165, } + // tslint:disable-next-line:no-const-enum const enum XlContainsOperator { xlBeginsWith = 2, xlContains = 0, @@ -975,27 +1026,32 @@ declare namespace Excel { xlEndsWith = 3, } + // tslint:disable-next-line:no-const-enum const enum XlCopyPictureFormat { xlBitmap = 2, xlPicture = -4147, } + // tslint:disable-next-line:no-const-enum const enum XlCorruptLoad { xlExtractData = 2, xlNormalLoad = 0, xlRepairFile = 1, } + // tslint:disable-next-line:no-const-enum const enum XlCreator { xlCreatorCode = 1480803660, } + // tslint:disable-next-line:no-const-enum const enum XlCredentialsMethod { xlCredentialsMethodIntegrated = 0, xlCredentialsMethodNone = 1, xlCredentialsMethodStored = 2, } + // tslint:disable-next-line:no-const-enum const enum XlCubeFieldSubType { xlCubeAttribute = 4, xlCubeCalculatedMeasure = 5, @@ -1009,17 +1065,20 @@ declare namespace Excel { xlCubeSet = 3, } + // tslint:disable-next-line:no-const-enum const enum XlCubeFieldType { xlHierarchy = 1, xlMeasure = 2, xlSet = 3, } + // tslint:disable-next-line:no-const-enum const enum XlCutCopyMode { xlCopy = 1, xlCut = 2, } + // tslint:disable-next-line:no-const-enum const enum XlCVError { xlErrDiv0 = 2007, xlErrNA = 2042, @@ -1030,27 +1089,32 @@ declare namespace Excel { xlErrValue = 2015, } + // tslint:disable-next-line:no-const-enum const enum XlDataBarAxisPosition { xlDataBarAxisAutomatic = 0, xlDataBarAxisMidpoint = 1, xlDataBarAxisNone = 2, } + // tslint:disable-next-line:no-const-enum const enum XlDataBarBorderType { xlDataBarBorderNone = 0, xlDataBarBorderSolid = 1, } + // tslint:disable-next-line:no-const-enum const enum XlDataBarFillType { xlDataBarFillGradient = 1, xlDataBarFillSolid = 0, } + // tslint:disable-next-line:no-const-enum const enum XlDataBarNegativeColorType { xlDataBarColor = 0, xlDataBarSameAsPositive = 1, } + // tslint:disable-next-line:no-const-enum const enum XlDataLabelPosition { xlLabelPositionAbove = 0, xlLabelPositionBelow = 1, @@ -1065,10 +1129,12 @@ declare namespace Excel { xlLabelPositionRight = -4152, } + // tslint:disable-next-line:no-const-enum const enum XlDataLabelSeparator { xlDataLabelSeparatorDefault = 1, } + // tslint:disable-next-line:no-const-enum const enum XlDataLabelsType { xlDataLabelsShowBubbleSizes = 6, xlDataLabelsShowLabel = 4, @@ -1078,6 +1144,7 @@ declare namespace Excel { xlDataLabelsShowValue = 2, } + // tslint:disable-next-line:no-const-enum const enum XlDataSeriesDate { xlDay = 1, xlMonth = 3, @@ -1085,6 +1152,7 @@ declare namespace Excel { xlYear = 4, } + // tslint:disable-next-line:no-const-enum const enum XlDataSeriesType { xlAutoFill = 4, xlChronological = 3, @@ -1092,11 +1160,13 @@ declare namespace Excel { xlGrowth = 2, } + // tslint:disable-next-line:no-const-enum const enum XlDeleteShiftDirection { xlShiftToLeft = -4159, xlShiftUp = -4162, } + // tslint:disable-next-line:no-const-enum const enum XlDirection { xlDown = -4121, xlToLeft = -4159, @@ -1104,18 +1174,21 @@ declare namespace Excel { xlUp = -4162, } + // tslint:disable-next-line:no-const-enum const enum XlDisplayBlanksAs { xlInterpolated = 3, xlNotPlotted = 1, xlZero = 2, } + // tslint:disable-next-line:no-const-enum const enum XlDisplayDrawingObjects { xlDisplayShapes = -4104, xlHide = 3, xlPlaceholders = 2, } + // tslint:disable-next-line:no-const-enum const enum XlDisplayUnit { xlHundredMillions = -8, xlHundreds = -2, @@ -1128,17 +1201,20 @@ declare namespace Excel { xlThousands = -3, } + // tslint:disable-next-line:no-const-enum const enum XlDupeUnique { xlDuplicate = 1, xlUnique = 0, } + // tslint:disable-next-line:no-const-enum const enum XlDVAlertStyle { xlValidAlertInformation = 3, xlValidAlertStop = 1, xlValidAlertWarning = 2, } + // tslint:disable-next-line:no-const-enum const enum XlDVType { xlValidateCustom = 7, xlValidateDate = 4, @@ -1150,6 +1226,7 @@ declare namespace Excel { xlValidateWholeNumber = 1, } + // tslint:disable-next-line:no-const-enum const enum XlDynamicFilterCriteria { xlFilterAboveAverage = 33, xlFilterAllDatesInPeriodApril = 24, @@ -1187,6 +1264,7 @@ declare namespace Excel { xlFilterYesterday = 2, } + // tslint:disable-next-line:no-const-enum const enum XlEditionFormat { xlBIFF = 2, xlPICT = 1, @@ -1194,6 +1272,7 @@ declare namespace Excel { xlVALU = 8, } + // tslint:disable-next-line:no-const-enum const enum XlEditionOptionsOption { xlAutomaticUpdate = 4, xlCancel = 1, @@ -1205,33 +1284,39 @@ declare namespace Excel { xlUpdateSubscriber = 2, } + // tslint:disable-next-line:no-const-enum const enum XlEditionType { xlPublisher = 1, xlSubscriber = 2, } + // tslint:disable-next-line:no-const-enum const enum XlEnableCancelKey { xlDisabled = 0, xlErrorHandler = 2, xlInterrupt = 1, } + // tslint:disable-next-line:no-const-enum const enum XlEnableSelection { xlNoRestrictions = 0, xlNoSelection = -4142, xlUnlockedCells = 1, } + // tslint:disable-next-line:no-const-enum const enum XlEndStyleCap { xlCap = 1, xlNoCap = 2, } + // tslint:disable-next-line:no-const-enum const enum XlErrorBarDirection { xlX = -4168, xlY = 1, } + // tslint:disable-next-line:no-const-enum const enum XlErrorBarInclude { xlErrorBarIncludeBoth = 1, xlErrorBarIncludeMinusValues = 3, @@ -1239,6 +1324,7 @@ declare namespace Excel { xlErrorBarIncludePlusValues = 2, } + // tslint:disable-next-line:no-const-enum const enum XlErrorBarType { xlErrorBarTypeCustom = -4114, xlErrorBarTypeFixedValue = 1, @@ -1247,6 +1333,7 @@ declare namespace Excel { xlErrorBarTypeStError = 4, } + // tslint:disable-next-line:no-const-enum const enum XlErrorChecks { xlEmptyCellReferences = 7, xlEvaluateToError = 1, @@ -1259,11 +1346,13 @@ declare namespace Excel { xlUnlockedFormulaCells = 6, } + // tslint:disable-next-line:no-const-enum const enum XlFileAccess { xlReadOnly = 3, xlReadWrite = 2, } + // tslint:disable-next-line:no-const-enum const enum XlFileFormat { xlAddIn = 18, xlAddIn8 = 18, @@ -1321,23 +1410,27 @@ declare namespace Excel { xlXMLSpreadsheet = 46, } + // tslint:disable-next-line:no-const-enum const enum XlFileValidationPivotMode { xlFileValidationPivotDefault = 0, xlFileValidationPivotRun = 1, xlFileValidationPivotSkip = 2, } + // tslint:disable-next-line:no-const-enum const enum XlFillWith { xlFillWithAll = -4104, xlFillWithContents = 2, xlFillWithFormats = -4122, } + // tslint:disable-next-line:no-const-enum const enum XlFilterAction { xlFilterCopy = 2, xlFilterInPlace = 1, } + // tslint:disable-next-line:no-const-enum const enum XlFilterAllDatesInPeriod { xlFilterAllDatesInPeriodDay = 2, xlFilterAllDatesInPeriodHour = 3, @@ -1347,22 +1440,26 @@ declare namespace Excel { xlFilterAllDatesInPeriodYear = 0, } + // tslint:disable-next-line:no-const-enum const enum XlFindLookIn { xlComments = -4144, xlFormulas = -4123, xlValues = -4163, } + // tslint:disable-next-line:no-const-enum const enum XlFixedFormatQuality { xlQualityMinimum = 1, xlQualityStandard = 0, } + // tslint:disable-next-line:no-const-enum const enum XlFixedFormatType { xlTypePDF = 0, xlTypeXPS = 1, } + // tslint:disable-next-line:no-const-enum const enum XlFormatConditionOperator { xlBetween = 1, xlEqual = 3, @@ -1374,6 +1471,7 @@ declare namespace Excel { xlNotEqual = 4, } + // tslint:disable-next-line:no-const-enum const enum XlFormatConditionType { xlAboveAverageCondition = 12, xlBlanksCondition = 10, @@ -1391,6 +1489,7 @@ declare namespace Excel { xlUniqueValues = 8, } + // tslint:disable-next-line:no-const-enum const enum XlFormatFilterTypes { xlFilterBottom = 0, xlFilterBottomPercent = 2, @@ -1398,6 +1497,7 @@ declare namespace Excel { xlFilterTopPercent = 3, } + // tslint:disable-next-line:no-const-enum const enum XlFormControl { xlButtonControl = 0, xlCheckBox = 1, @@ -1411,6 +1511,7 @@ declare namespace Excel { xlSpinner = 9, } + // tslint:disable-next-line:no-const-enum const enum XlFormulaLabel { xlColumnLabels = 2, xlMixedLabels = 3, @@ -1418,16 +1519,19 @@ declare namespace Excel { xlRowLabels = 1, } + // tslint:disable-next-line:no-const-enum const enum XlGenerateTableRefs { xlGenerateTableRefA1 = 0, xlGenerateTableRefStruct = 1, } + // tslint:disable-next-line:no-const-enum const enum XlGradientFillType { xlGradientFillLinear = 0, xlGradientFillPath = 1, } + // tslint:disable-next-line:no-const-enum const enum XlHAlign { xlHAlignCenter = -4108, xlHAlignCenterAcrossSelection = 7, @@ -1439,6 +1543,7 @@ declare namespace Excel { xlHAlignRight = -4152, } + // tslint:disable-next-line:no-const-enum const enum XlHebrewModes { xlHebrewFullScript = 0, xlHebrewMixedAuthorizedScript = 3, @@ -1446,12 +1551,14 @@ declare namespace Excel { xlHebrewPartialScript = 1, } + // tslint:disable-next-line:no-const-enum const enum XlHighlightChangesTime { xlAllChanges = 2, xlNotYetReviewed = 3, xlSinceMyLastSave = 1, } + // tslint:disable-next-line:no-const-enum const enum XlHtmlType { xlHtmlCalc = 1, xlHtmlChart = 3, @@ -1459,6 +1566,7 @@ declare namespace Excel { xlHtmlStatic = 0, } + // tslint:disable-next-line:no-const-enum const enum XlIcon { xlIcon0Bars = 37, xlIcon0FilledBoxes = 52, @@ -1515,6 +1623,7 @@ declare namespace Excel { xlIconYellowUpInclineArrow = 25, } + // tslint:disable-next-line:no-const-enum const enum XlIconSet { xl3Arrows = 1, xl3ArrowsGray = 2, @@ -1539,6 +1648,7 @@ declare namespace Excel { xlCustomSet = -1, } + // tslint:disable-next-line:no-const-enum const enum XlIMEMode { xlIMEModeAlpha = 8, xlIMEModeAlphaFull = 7, @@ -1553,33 +1663,39 @@ declare namespace Excel { xlIMEModeOn = 1, } + // tslint:disable-next-line:no-const-enum const enum XlImportDataAs { xlPivotTableReport = 1, xlQueryTable = 0, xlTable = 2, } + // tslint:disable-next-line:no-const-enum const enum XlInsertFormatOrigin { xlFormatFromLeftOrAbove = 0, xlFormatFromRightOrBelow = 1, } + // tslint:disable-next-line:no-const-enum const enum XlInsertShiftDirection { xlShiftDown = -4121, xlShiftToRight = -4161, } + // tslint:disable-next-line:no-const-enum const enum XlLayoutFormType { xlOutline = 1, xlTabular = 0, } + // tslint:disable-next-line:no-const-enum const enum XlLayoutRowType { xlCompactRow = 0, xlOutlineRow = 2, xlTabularRow = 1, } + // tslint:disable-next-line:no-const-enum const enum XlLegendPosition { xlLegendPositionBottom = -4107, xlLegendPositionCorner = 2, @@ -1589,6 +1705,7 @@ declare namespace Excel { xlLegendPositionTop = -4160, } + // tslint:disable-next-line:no-const-enum const enum XlLineStyle { xlContinuous = 1, xlDash = -4115, @@ -1600,6 +1717,7 @@ declare namespace Excel { xlSlantDashDot = 13, } + // tslint:disable-next-line:no-const-enum const enum XlLink { xlExcelLinks = 1, xlOLELinks = 2, @@ -1607,18 +1725,21 @@ declare namespace Excel { xlSubscribers = 6, } + // tslint:disable-next-line:no-const-enum const enum XlLinkInfo { xlEditionDate = 2, xlLinkInfoStatus = 3, xlUpdateState = 1, } + // tslint:disable-next-line:no-const-enum const enum XlLinkInfoType { xlLinkInfoOLELinks = 2, xlLinkInfoPublishers = 5, xlLinkInfoSubscribers = 6, } + // tslint:disable-next-line:no-const-enum const enum XlLinkStatus { xlLinkStatusCopiedValues = 10, xlLinkStatusIndeterminate = 5, @@ -1633,11 +1754,13 @@ declare namespace Excel { xlLinkStatusSourceOpen = 9, } + // tslint:disable-next-line:no-const-enum const enum XlLinkType { xlLinkTypeExcelLinks = 1, xlLinkTypeOLELinks = 2, } + // tslint:disable-next-line:no-const-enum const enum XlListConflict { xlListConflictDialog = 0, xlListConflictDiscardAllConflicts = 2, @@ -1645,6 +1768,7 @@ declare namespace Excel { xlListConflictRetryAllConflicts = 1, } + // tslint:disable-next-line:no-const-enum const enum XlListDataType { xlListDataTypeCheckbox = 9, xlListDataTypeChoice = 6, @@ -1661,6 +1785,7 @@ declare namespace Excel { xlListDataTypeText = 1, } + // tslint:disable-next-line:no-const-enum const enum XlListObjectSourceType { xlSrcExternal = 0, xlSrcQuery = 3, @@ -1668,6 +1793,7 @@ declare namespace Excel { xlSrcXml = 2, } + // tslint:disable-next-line:no-const-enum const enum XlLocationInTable { xlColumnHeader = -4110, xlColumnItem = 5, @@ -1680,23 +1806,27 @@ declare namespace Excel { xlTableBody = 8, } + // tslint:disable-next-line:no-const-enum const enum XlLookAt { xlPart = 2, xlWhole = 1, } + // tslint:disable-next-line:no-const-enum const enum XlLookFor { xlLookForBlanks = 0, xlLookForErrors = 1, xlLookForFormulas = 2, } + // tslint:disable-next-line:no-const-enum const enum XlMailSystem { xlMAPI = 1, xlNoMailSystem = 0, xlPowerTalk = 2, } + // tslint:disable-next-line:no-const-enum const enum XlMarkerStyle { xlMarkerStyleAutomatic = -4105, xlMarkerStyleCircle = 8, @@ -1712,18 +1842,21 @@ declare namespace Excel { xlMarkerStyleX = -4168, } + // tslint:disable-next-line:no-const-enum const enum XlMeasurementUnits { xlCentimeters = 1, xlInches = 0, xlMillimeters = 2, } + // tslint:disable-next-line:no-const-enum const enum XlMouseButton { xlNoButton = 0, xlPrimaryButton = 1, xlSecondaryButton = 2, } + // tslint:disable-next-line:no-const-enum const enum XlMousePointer { xlDefault = -4143, xlIBeam = 3, @@ -1731,6 +1864,7 @@ declare namespace Excel { xlWait = 2, } + // tslint:disable-next-line:no-const-enum const enum XlMSApplication { xlMicrosoftAccess = 4, xlMicrosoftFoxPro = 5, @@ -1741,39 +1875,46 @@ declare namespace Excel { xlMicrosoftWord = 1, } + // tslint:disable-next-line:no-const-enum const enum XlOartHorizontalOverflow { xlOartHorizontalOverflowClip = 1, xlOartHorizontalOverflowOverflow = 0, } + // tslint:disable-next-line:no-const-enum const enum XlOartVerticalOverflow { xlOartVerticalOverflowClip = 1, xlOartVerticalOverflowEllipsis = 2, xlOartVerticalOverflowOverflow = 0, } + // tslint:disable-next-line:no-const-enum const enum XlObjectSize { xlFitToPage = 2, xlFullPage = 3, xlScreenSize = 1, } + // tslint:disable-next-line:no-const-enum const enum XlOLEType { xlOLEControl = 2, xlOLEEmbed = 1, xlOLELink = 0, } + // tslint:disable-next-line:no-const-enum const enum XlOLEVerb { xlVerbOpen = 2, xlVerbPrimary = 1, } + // tslint:disable-next-line:no-const-enum const enum XlOrder { xlDownThenOver = 1, xlOverThenDown = 2, } + // tslint:disable-next-line:no-const-enum const enum XlOrientation { xlDownward = -4170, xlHorizontal = -4128, @@ -1781,22 +1922,26 @@ declare namespace Excel { xlVertical = -4166, } + // tslint:disable-next-line:no-const-enum const enum XlPageBreak { xlPageBreakAutomatic = -4105, xlPageBreakManual = -4135, xlPageBreakNone = -4142, } + // tslint:disable-next-line:no-const-enum const enum XlPageBreakExtent { xlPageBreakFull = 1, xlPageBreakPartial = 2, } + // tslint:disable-next-line:no-const-enum const enum XlPageOrientation { xlLandscape = 2, xlPortrait = 1, } + // tslint:disable-next-line:no-const-enum const enum XlPaperSize { xlPaper10x14 = 16, xlPaper11x17 = 17, @@ -1842,6 +1987,7 @@ declare namespace Excel { xlPaperUser = 256, } + // tslint:disable-next-line:no-const-enum const enum XlParameterDataType { xlParamTypeBigInt = -5, xlParamTypeBinary = -2, @@ -1866,12 +2012,14 @@ declare namespace Excel { xlParamTypeWChar = -8, } + // tslint:disable-next-line:no-const-enum const enum XlParameterType { xlConstant = 1, xlPrompt = 0, xlRange = 2, } + // tslint:disable-next-line:no-const-enum const enum XlPasteSpecialOperation { xlPasteSpecialOperationAdd = 2, xlPasteSpecialOperationDivide = 5, @@ -1880,6 +2028,7 @@ declare namespace Excel { xlPasteSpecialOperationSubtract = 3, } + // tslint:disable-next-line:no-const-enum const enum XlPasteType { xlPasteAll = -4104, xlPasteAllExceptBorders = 7, @@ -1895,6 +2044,7 @@ declare namespace Excel { xlPasteValuesAndNumberFormats = 12, } + // tslint:disable-next-line:no-const-enum const enum XlPattern { xlPatternAutomatic = -4105, xlPatternChecker = 9, @@ -1920,6 +2070,7 @@ declare namespace Excel { xlPatternVertical = -4166, } + // tslint:disable-next-line:no-const-enum const enum XlPhoneticAlignment { xlPhoneticAlignCenter = 2, xlPhoneticAlignDistributed = 3, @@ -1927,6 +2078,7 @@ declare namespace Excel { xlPhoneticAlignNoControl = 0, } + // tslint:disable-next-line:no-const-enum const enum XlPhoneticCharacterType { xlHiragana = 2, xlKatakana = 1, @@ -1934,11 +2086,13 @@ declare namespace Excel { xlNoConversion = 3, } + // tslint:disable-next-line:no-const-enum const enum XlPictureAppearance { xlPrinter = 2, xlScreen = 1, } + // tslint:disable-next-line:no-const-enum const enum XlPictureConvertorType { xlBMP = 1, xlCGM = 7, @@ -1955,6 +2109,7 @@ declare namespace Excel { xlWPG = 3, } + // tslint:disable-next-line:no-const-enum const enum XlPieSliceIndex { xlCenterPoint = 5, xlInnerCenterPoint = 8, @@ -1967,11 +2122,13 @@ declare namespace Excel { xlOuterCounterClockwisePoint = 1, } + // tslint:disable-next-line:no-const-enum const enum XlPieSliceLocation { xlHorizontalCoordinate = 1, xlVerticalCoordinate = 2, } + // tslint:disable-next-line:no-const-enum const enum XlPivotCellType { xlPivotCellBlankCell = 9, xlPivotCellCustomSubtotal = 7, @@ -1985,12 +2142,14 @@ declare namespace Excel { xlPivotCellValue = 0, } + // tslint:disable-next-line:no-const-enum const enum XlPivotConditionScope { xlDataFieldScope = 2, xlFieldsScope = 1, xlSelectionScope = 0, } + // tslint:disable-next-line:no-const-enum const enum XlPivotFieldCalculation { xlDifferenceFrom = 2, xlIndex = 9, @@ -2009,12 +2168,14 @@ declare namespace Excel { xlRunningTotal = 5, } + // tslint:disable-next-line:no-const-enum const enum XlPivotFieldDataType { xlDate = 2, xlNumber = -4145, xlText = -4158, } + // tslint:disable-next-line:no-const-enum const enum XlPivotFieldOrientation { xlColumnField = 2, xlDataField = 4, @@ -2023,11 +2184,13 @@ declare namespace Excel { xlRowField = 1, } + // tslint:disable-next-line:no-const-enum const enum XlPivotFieldRepeatLabels { xlDoNotRepeatLabels = 1, xlRepeatLabels = 2, } + // tslint:disable-next-line:no-const-enum const enum XlPivotFilterType { xlAfter = 33, xlAfterOrEqualTo = 34, @@ -2099,6 +2262,7 @@ declare namespace Excel { xlYearToDate = 52, } + // tslint:disable-next-line:no-const-enum const enum XlPivotFormatType { xlPTClassic = 20, xlPTNone = 21, @@ -2124,6 +2288,7 @@ declare namespace Excel { xlTable9 = 18, } + // tslint:disable-next-line:no-const-enum const enum XlPivotLineType { xlPivotLineBlank = 3, xlPivotLineGrandTotal = 2, @@ -2131,6 +2296,7 @@ declare namespace Excel { xlPivotLineSubtotal = 1, } + // tslint:disable-next-line:no-const-enum const enum XlPivotTableMissingItems { xlMissingItemsDefault = -1, xlMissingItemsMax = 32500, @@ -2138,6 +2304,7 @@ declare namespace Excel { xlMissingItemsNone = 0, } + // tslint:disable-next-line:no-const-enum const enum XlPivotTableSourceType { xlConsolidation = 3, xlDatabase = 1, @@ -2146,6 +2313,7 @@ declare namespace Excel { xlScenario = 4, } + // tslint:disable-next-line:no-const-enum const enum XlPivotTableVersionList { xlPivotTableVersion10 = 1, xlPivotTableVersion11 = 2, @@ -2155,24 +2323,28 @@ declare namespace Excel { xlPivotTableVersionCurrent = -1, } + // tslint:disable-next-line:no-const-enum const enum XlPlacement { xlFreeFloating = 3, xlMove = 2, xlMoveAndSize = 1, } + // tslint:disable-next-line:no-const-enum const enum XlPlatform { xlMacintosh = 1, xlMSDOS = 3, xlWindows = 2, } + // tslint:disable-next-line:no-const-enum const enum XlPortugueseReform { xlPortugueseBoth = 3, xlPortuguesePostReform = 2, xlPortuguesePreReform = 1, } + // tslint:disable-next-line:no-const-enum const enum XlPrintErrors { xlPrintErrorsBlank = 1, xlPrintErrorsDash = 2, @@ -2180,36 +2352,42 @@ declare namespace Excel { xlPrintErrorsNA = 3, } + // tslint:disable-next-line:no-const-enum const enum XlPrintLocation { xlPrintInPlace = 16, xlPrintNoComments = -4142, xlPrintSheetEnd = 1, } + // tslint:disable-next-line:no-const-enum const enum XlPriority { xlPriorityHigh = -4127, xlPriorityLow = -4134, xlPriorityNormal = -4143, } + // tslint:disable-next-line:no-const-enum const enum XlPropertyDisplayedIn { xlDisplayPropertyInPivotTable = 1, xlDisplayPropertyInPivotTableAndTooltip = 3, xlDisplayPropertyInTooltip = 2, } + // tslint:disable-next-line:no-const-enum const enum XlProtectedViewCloseReason { xlProtectedViewCloseEdit = 1, xlProtectedViewCloseForced = 2, xlProtectedViewCloseNormal = 0, } + // tslint:disable-next-line:no-const-enum const enum XlProtectedViewWindowState { xlProtectedViewWindowMaximized = 2, xlProtectedViewWindowMinimized = 1, xlProtectedViewWindowNormal = 0, } + // tslint:disable-next-line:no-const-enum const enum XlPTSelectionMode { xlBlanks = 4, xlButton = 15, @@ -2220,6 +2398,7 @@ declare namespace Excel { xlOrigin = 3, } + // tslint:disable-next-line:no-const-enum const enum XlQueryType { xlADORecordset = 7, xlDAORecordset = 2, @@ -2229,6 +2408,7 @@ declare namespace Excel { xlWebQuery = 4, } + // tslint:disable-next-line:no-const-enum const enum XlRangeAutoFormat { xlRangeAutoFormat3DEffects1 = 13, xlRangeAutoFormat3DEffects2 = 14, @@ -2275,17 +2455,20 @@ declare namespace Excel { xlRangeAutoFormatTable9 = 40, } + // tslint:disable-next-line:no-const-enum const enum XlRangeValueDataType { xlRangeValueDefault = 10, xlRangeValueMSPersistXML = 12, xlRangeValueXMLSpreadsheet = 11, } + // tslint:disable-next-line:no-const-enum const enum XlReferenceStyle { xlA1 = 1, xlR1C1 = -4150, } + // tslint:disable-next-line:no-const-enum const enum XlReferenceType { xlAbsolute = 1, xlAbsRowRelColumn = 2, @@ -2293,6 +2476,7 @@ declare namespace Excel { xlRelRowAbsColumn = 3, } + // tslint:disable-next-line:no-const-enum const enum XlRemoveDocInfoType { xlRDIAll = 99, xlRDIComments = 1, @@ -2313,6 +2497,7 @@ declare namespace Excel { xlRDISendForReview = 7, } + // tslint:disable-next-line:no-const-enum const enum XlRgbColor { rgbAliceBlue = 16775408, rgbAntiqueWhite = 14150650, @@ -2460,28 +2645,33 @@ declare namespace Excel { rgbYellowGreen = 3329434, } + // tslint:disable-next-line:no-const-enum const enum XlRobustConnect { xlAlways = 1, xlAsRequired = 0, xlNever = 2, } + // tslint:disable-next-line:no-const-enum const enum XlRoutingSlipDelivery { xlAllAtOnce = 2, xlOneAfterAnother = 1, } + // tslint:disable-next-line:no-const-enum const enum XlRoutingSlipStatus { xlNotYetRouted = 0, xlRoutingComplete = 2, xlRoutingInProgress = 1, } + // tslint:disable-next-line:no-const-enum const enum XlRowCol { xlColumns = 2, xlRows = 1, } + // tslint:disable-next-line:no-const-enum const enum XlRunAutoMacro { xlAutoActivate = 3, xlAutoClose = 2, @@ -2489,43 +2679,51 @@ declare namespace Excel { xlAutoOpen = 1, } + // tslint:disable-next-line:no-const-enum const enum XlSaveAction { xlDoNotSaveChanges = 2, xlSaveChanges = 1, } + // tslint:disable-next-line:no-const-enum const enum XlSaveAsAccessMode { xlExclusive = 3, xlNoChange = 1, xlShared = 2, } + // tslint:disable-next-line:no-const-enum const enum XlSaveConflictResolution { xlLocalSessionChanges = 2, xlOtherSessionChanges = 3, xlUserResolution = 1, } + // tslint:disable-next-line:no-const-enum const enum XlScaleType { xlScaleLinear = -4132, xlScaleLogarithmic = -4133, } + // tslint:disable-next-line:no-const-enum const enum XlSearchDirection { xlNext = 1, xlPrevious = 2, } + // tslint:disable-next-line:no-const-enum const enum XlSearchOrder { xlByColumns = 2, xlByRows = 1, } + // tslint:disable-next-line:no-const-enum const enum XlSearchWithin { xlWithinSheet = 1, xlWithinWorkbook = 2, } + // tslint:disable-next-line:no-const-enum const enum XlSheetType { xlChart = -4109, xlDialogSheet = -4116, @@ -2534,29 +2732,34 @@ declare namespace Excel { xlWorksheet = -4167, } + // tslint:disable-next-line:no-const-enum const enum XlSheetVisibility { xlSheetHidden = 0, xlSheetVeryHidden = 2, xlSheetVisible = -1, } + // tslint:disable-next-line:no-const-enum const enum XlSizeRepresents { xlSizeIsArea = 1, xlSizeIsWidth = 2, } + // tslint:disable-next-line:no-const-enum const enum XlSlicerCrossFilterType { xlSlicerCrossFilterShowItemsWithDataAtTop = 2, xlSlicerCrossFilterShowItemsWithNoData = 3, xlSlicerNoCrossFilter = 1, } + // tslint:disable-next-line:no-const-enum const enum XlSlicerSort { xlSlicerSortAscending = 2, xlSlicerSortDataSourceOrder = 1, xlSlicerSortDescending = 3, } + // tslint:disable-next-line:no-const-enum const enum XlSmartTagControlType { xlSmartTagControlActiveX = 13, xlSmartTagControlButton = 6, @@ -2574,27 +2777,32 @@ declare namespace Excel { xlSmartTagControlTextbox = 10, } + // tslint:disable-next-line:no-const-enum const enum XlSmartTagDisplayMode { xlButtonOnly = 2, xlDisplayNone = 1, xlIndicatorAndButton = 0, } + // tslint:disable-next-line:no-const-enum const enum XlSortDataOption { xlSortNormal = 0, xlSortTextAsNumbers = 1, } + // tslint:disable-next-line:no-const-enum const enum XlSortMethod { xlPinYin = 1, xlStroke = 2, } + // tslint:disable-next-line:no-const-enum const enum XlSortMethodOld { xlCodePage = 2, xlSyllabary = 1, } + // tslint:disable-next-line:no-const-enum const enum XlSortOn { xlSortOnCellColor = 1, xlSortOnFontColor = 2, @@ -2602,21 +2810,25 @@ declare namespace Excel { xlSortOnValues = 0, } + // tslint:disable-next-line:no-const-enum const enum XlSortOrder { xlAscending = 1, xlDescending = 2, } + // tslint:disable-next-line:no-const-enum const enum XlSortOrientation { xlSortColumns = 1, xlSortRows = 2, } + // tslint:disable-next-line:no-const-enum const enum XlSortType { xlSortLabels = 2, xlSortValues = 1, } + // tslint:disable-next-line:no-const-enum const enum XlSourceType { xlSourceAutoFilter = 3, xlSourceChart = 5, @@ -2628,35 +2840,41 @@ declare namespace Excel { xlSourceWorkbook = 0, } + // tslint:disable-next-line:no-const-enum const enum XlSpanishModes { xlSpanishTuteoAndVoseo = 1, xlSpanishTuteoOnly = 0, xlSpanishVoseoOnly = 2, } + // tslint:disable-next-line:no-const-enum const enum XlSparklineRowCol { xlSparklineColumnsSquare = 2, xlSparklineNonSquare = 0, xlSparklineRowsSquare = 1, } + // tslint:disable-next-line:no-const-enum const enum XlSparkScale { xlSparkScaleCustom = 3, xlSparkScaleGroup = 1, xlSparkScaleSingle = 2, } + // tslint:disable-next-line:no-const-enum const enum XlSparkType { xlSparkColumn = 2, xlSparkColumnStacked100 = 3, xlSparkLine = 1, } + // tslint:disable-next-line:no-const-enum const enum XlSpeakDirection { xlSpeakByColumns = 1, xlSpeakByRows = 0, } + // tslint:disable-next-line:no-const-enum const enum XlSpecialCellsValue { xlErrors = 16, xlLogical = 4, @@ -2664,6 +2882,7 @@ declare namespace Excel { xlTextValues = 2, } + // tslint:disable-next-line:no-const-enum const enum XlStdColorScale { xlColorScaleBlackWhite = 3, xlColorScaleGYR = 2, @@ -2671,31 +2890,37 @@ declare namespace Excel { xlColorScaleWhiteBlack = 4, } + // tslint:disable-next-line:no-const-enum const enum XlSubscribeToFormat { xlSubscribeToPicture = -4147, xlSubscribeToText = -4158, } + // tslint:disable-next-line:no-const-enum const enum XlSubtototalLocationType { xlAtBottom = 2, xlAtTop = 1, } + // tslint:disable-next-line:no-const-enum const enum XlSummaryColumn { xlSummaryOnLeft = -4131, xlSummaryOnRight = -4152, } + // tslint:disable-next-line:no-const-enum const enum XlSummaryReportType { xlStandardSummary = 1, xlSummaryPivotTable = -4148, } + // tslint:disable-next-line:no-const-enum const enum XlSummaryRow { xlSummaryAbove = 0, xlSummaryBelow = 1, } + // tslint:disable-next-line:no-const-enum const enum XlTableStyleElementType { xlBlankRow = 19, xlColumnStripe1 = 7, @@ -2737,27 +2962,32 @@ declare namespace Excel { xlWholeTable = 0, } + // tslint:disable-next-line:no-const-enum const enum XlTabPosition { xlTabPositionFirst = 0, xlTabPositionLast = 1, } + // tslint:disable-next-line:no-const-enum const enum XlTextParsingType { xlDelimited = 1, xlFixedWidth = 2, } + // tslint:disable-next-line:no-const-enum const enum XlTextQualifier { xlTextQualifierDoubleQuote = 1, xlTextQualifierNone = -4142, xlTextQualifierSingleQuote = 2, } + // tslint:disable-next-line:no-const-enum const enum XlTextVisualLayoutType { xlTextVisualLTR = 1, xlTextVisualRTL = 2, } + // tslint:disable-next-line:no-const-enum const enum XlThemeColor { xlThemeColorAccent1 = 5, xlThemeColorAccent2 = 6, @@ -2773,17 +3003,20 @@ declare namespace Excel { xlThemeColorLight2 = 4, } + // tslint:disable-next-line:no-const-enum const enum XlThemeFont { xlThemeFontMajor = 1, xlThemeFontMinor = 2, xlThemeFontNone = 0, } + // tslint:disable-next-line:no-const-enum const enum XlThreadMode { xlThreadModeAutomatic = 0, xlThreadModeManual = 1, } + // tslint:disable-next-line:no-const-enum const enum XlTickLabelOrientation { xlTickLabelOrientationAutomatic = -4105, xlTickLabelOrientationDownward = -4170, @@ -2792,6 +3025,7 @@ declare namespace Excel { xlTickLabelOrientationVertical = -4166, } + // tslint:disable-next-line:no-const-enum const enum XlTickLabelPosition { xlTickLabelPositionHigh = -4127, xlTickLabelPositionLow = -4134, @@ -2799,6 +3033,7 @@ declare namespace Excel { xlTickLabelPositionNone = -4142, } + // tslint:disable-next-line:no-const-enum const enum XlTickMark { xlTickMarkCross = 4, xlTickMarkInside = 2, @@ -2806,6 +3041,7 @@ declare namespace Excel { xlTickMarkOutside = 3, } + // tslint:disable-next-line:no-const-enum const enum XlTimePeriods { xlLast7Days = 2, xlLastMonth = 5, @@ -2819,12 +3055,14 @@ declare namespace Excel { xlYesterday = 1, } + // tslint:disable-next-line:no-const-enum const enum XlTimeUnit { xlDays = 0, xlMonths = 1, xlYears = 2, } + // tslint:disable-next-line:no-const-enum const enum XlToolbarProtection { xlNoButtonChanges = 1, xlNoChanges = 4, @@ -2833,11 +3071,13 @@ declare namespace Excel { xlToolbarProtectionNone = -4143, } + // tslint:disable-next-line:no-const-enum const enum XlTopBottom { xlTop10Bottom = 0, xlTop10Top = 1, } + // tslint:disable-next-line:no-const-enum const enum XlTotalsCalculation { xlTotalsCalculationAverage = 2, xlTotalsCalculationCount = 3, @@ -2851,6 +3091,7 @@ declare namespace Excel { xlTotalsCalculationVar = 8, } + // tslint:disable-next-line:no-const-enum const enum XlTrendlineType { xlExponential = 5, xlLinear = -4132, @@ -2860,6 +3101,7 @@ declare namespace Excel { xlPower = 4, } + // tslint:disable-next-line:no-const-enum const enum XlUnderlineStyle { xlUnderlineStyleDouble = -4119, xlUnderlineStyleDoubleAccounting = 5, @@ -2868,12 +3110,14 @@ declare namespace Excel { xlUnderlineStyleSingleAccounting = 4, } + // tslint:disable-next-line:no-const-enum const enum XlUpdateLinks { xlUpdateLinksAlways = 3, xlUpdateLinksNever = 2, xlUpdateLinksUserSetting = 1, } + // tslint:disable-next-line:no-const-enum const enum XlVAlign { xlVAlignBottom = -4107, xlVAlignCenter = -4108, @@ -2882,6 +3126,7 @@ declare namespace Excel { xlVAlignTop = -4160, } + // tslint:disable-next-line:no-const-enum const enum XlWBATemplate { xlWBATChart = -4109, xlWBATExcel4IntlMacroSheet = 4, @@ -2889,24 +3134,28 @@ declare namespace Excel { xlWBATWorksheet = -4167, } + // tslint:disable-next-line:no-const-enum const enum XlWebFormatting { xlWebFormattingAll = 1, xlWebFormattingNone = 3, xlWebFormattingRTF = 2, } + // tslint:disable-next-line:no-const-enum const enum XlWebSelectionType { xlAllTables = 2, xlEntirePage = 1, xlSpecifiedTables = 3, } + // tslint:disable-next-line:no-const-enum const enum XlWindowState { xlMaximized = -4137, xlMinimized = -4140, xlNormal = -4143, } + // tslint:disable-next-line:no-const-enum const enum XlWindowType { xlChartAsWindow = 5, xlChartInPlace = 4, @@ -2915,29 +3164,34 @@ declare namespace Excel { xlWorkbook = 1, } + // tslint:disable-next-line:no-const-enum const enum XlWindowView { xlNormalView = 1, xlPageBreakPreview = 2, xlPageLayoutView = 3, } + // tslint:disable-next-line:no-const-enum const enum XlXLMMacroType { xlCommand = 2, xlFunction = 1, xlNotXLM = 3, } + // tslint:disable-next-line:no-const-enum const enum XlXmlExportResult { xlXmlExportSuccess = 0, xlXmlExportValidationFailed = 1, } + // tslint:disable-next-line:no-const-enum const enum XlXmlImportResult { xlXmlImportElementsTruncated = 1, xlXmlImportSuccess = 0, xlXmlImportValidationFailed = 2, } + // tslint:disable-next-line:no-const-enum const enum XlXmlLoadOption { xlXmlLoadImportToList = 2, xlXmlLoadMapXml = 3, @@ -2945,6 +3199,7 @@ declare namespace Excel { xlXmlLoadPromptUser = 0, } + // tslint:disable-next-line:no-const-enum const enum XlYesNoGuess { xlGuess = 0, xlNo = 2, @@ -6547,7 +6802,7 @@ declare namespace Excel { /** @param Excel.XlSearchDirection [SearchDirection=1] */ Find(What: any, After?: any, LookIn?: XlFindLookIn, LookAt?: XlLookAt, SearchOrder?: XlSearchOrder, SearchDirection?: XlSearchDirection, MatchCase?: boolean, - MatchByte?: boolean, SearchFormat?: any): Range; + MatchByte?: boolean, SearchFormat?: any): Range; FindNext(After?: any): Range; FindPrevious(After?: any): Range; readonly Font: Font; @@ -7049,7 +7304,7 @@ declare namespace Excel { AddLabel(Orientation: Office.MsoTextOrientation, Left: number, Top: number, Width: number, Height: number): Shape; AddLine(BeginX: number, BeginY: number, EndX: number, EndY: number): Shape; AddOLEObject(ClassType?: any, Filename?: any, Link?: any, DisplayAsIcon?: any, IconFileName?: any, IconIndex?: any, IconLabel?: any, Left?: any, Top?: any, Width?: any, - Height?: any): Shape; + Height?: any): Shape; AddPicture(Filename: string, LinkToFile: Office.MsoTriState, SaveWithDocument: Office.MsoTriState, Left: number, Top: number, Width: number, Height: number): Shape; AddPolyline(SafeArrayOfPoints: any): Shape; AddShape(Type: Office.MsoAutoShapeType, Left: number, Top: number, Width: number, Height: number): Shape; @@ -9243,217 +9498,221 @@ declare namespace Excel { interface ActiveXObject { on( obj: Excel.Application, event: 'GetIDsOfNames', argNames: ['riid', 'rgszNames', 'cNames', 'lcid', 'rgdispid'], handler: ( - this: Excel.Application, parameter: {readonly riid: stdole.GUID, readonly rgszNames: number, readonly cNames: number, readonly lcid: number, rgdispid: number}) => void): void; + this: Excel.Application, parameter: { readonly riid: stdole.GUID, readonly rgszNames: number, readonly cNames: number, readonly lcid: number, rgdispid: number }) => void): void; on( obj: Excel.Application, event: 'GetTypeInfo', argNames: ['itinfo', 'lcid', 'pptinfo'], handler: ( - this: Excel.Application, parameter: {readonly itinfo: number, readonly lcid: number, pptinfo: undefined}) => void): void; - on(obj: Excel.Application, event: 'GetTypeInfoCount', argNames: ['pctinfo'], handler: (this: Excel.Application, parameter: {pctinfo: number}) => void): void; + this: Excel.Application, parameter: { readonly itinfo: number, readonly lcid: number, pptinfo: undefined }) => void): void; + on(obj: Excel.Application, event: 'GetTypeInfoCount', argNames: ['pctinfo'], handler: (this: Excel.Application, parameter: { pctinfo: number }) => void): void; on( obj: Excel.Application, event: 'Invoke', argNames: Excel.EventHelperTypes.Application_Invoke_ArgNames, handler: ( this: Excel.Application, parameter: Excel.EventHelperTypes.Application_Invoke_Parameter) => void): void; on( obj: Excel.Application, event: 'NewWorkbook' | 'WorkbookActivate' | 'WorkbookAddinInstall' | 'WorkbookAddinUninstall' | 'WorkbookDeactivate' | 'WorkbookOpen', - argNames: ['Wb'], handler: (this: Excel.Application, parameter: {readonly Wb: Excel.Workbook}) => void): void; + argNames: ['Wb'], handler: (this: Excel.Application, parameter: { readonly Wb: Excel.Workbook }) => void): void; on( obj: Excel.Application, event: 'ProtectedViewWindowActivate' | 'ProtectedViewWindowDeactivate' | 'ProtectedViewWindowOpen' | 'ProtectedViewWindowResize', - argNames: ['Pvw'], handler: (this: Excel.Application, parameter: {readonly Pvw: Excel.ProtectedViewWindow}) => void): void; + argNames: ['Pvw'], handler: (this: Excel.Application, parameter: { readonly Pvw: Excel.ProtectedViewWindow }) => void): void; on( obj: Excel.Application, event: 'ProtectedViewWindowBeforeClose', argNames: ['Pvw', 'Reason', 'Cancel'], handler: ( - this: Excel.Application, parameter: {readonly Pvw: Excel.ProtectedViewWindow, readonly Reason: Excel.XlProtectedViewCloseReason, Cancel: boolean}) => void): void; + this: Excel.Application, parameter: { readonly Pvw: Excel.ProtectedViewWindow, readonly Reason: Excel.XlProtectedViewCloseReason, Cancel: boolean }) => void): void; on( obj: Excel.Application, event: 'ProtectedViewWindowBeforeEdit', argNames: ['Pvw', 'Cancel'], handler: ( - this: Excel.Application, parameter: {readonly Pvw: Excel.ProtectedViewWindow, Cancel: boolean}) => void): void; - on(obj: Excel.Application, event: 'QueryInterface', argNames: ['riid', 'ppvObj'], handler: (this: Excel.Application, parameter: {readonly riid: stdole.GUID, ppvObj: undefined}) => void): void; - on(obj: Excel.Application, event: 'SheetActivate' | 'SheetCalculate' | 'SheetDeactivate', argNames: ['Sh'], handler: (this: Excel.Application, parameter: {readonly Sh: any}) => void): void; + this: Excel.Application, parameter: { readonly Pvw: Excel.ProtectedViewWindow, Cancel: boolean }) => void): void; + on(obj: Excel.Application, event: 'QueryInterface', argNames: ['riid', 'ppvObj'], handler: (this: Excel.Application, parameter: { readonly riid: stdole.GUID, ppvObj: undefined }) => void): void; + on(obj: Excel.Application, event: 'SheetActivate' | 'SheetCalculate' | 'SheetDeactivate', argNames: ['Sh'], handler: (this: Excel.Application, parameter: { readonly Sh: any }) => void): void; on( obj: Excel.Application, event: 'SheetBeforeDoubleClick' | 'SheetBeforeRightClick', argNames: ['Sh', 'Target', 'Cancel'], handler: ( - this: Excel.Application, parameter: {readonly Sh: any, readonly Target: Excel.Range, Cancel: boolean}) => void): void; + this: Excel.Application, parameter: { readonly Sh: any, readonly Target: Excel.Range, Cancel: boolean }) => void): void; on( obj: Excel.Application, event: 'SheetChange' | 'SheetSelectionChange', argNames: ['Sh', 'Target'], handler: ( - this: Excel.Application, parameter: {readonly Sh: any, readonly Target: Excel.Range}) => void): void; + this: Excel.Application, parameter: { readonly Sh: any, readonly Target: Excel.Range }) => void): void; on( obj: Excel.Application, event: 'SheetFollowHyperlink', argNames: ['Sh', 'Target'], handler: ( - this: Excel.Application, parameter: {readonly Sh: any, readonly Target: Excel.Hyperlink}) => void): void; + this: Excel.Application, parameter: { readonly Sh: any, readonly Target: Excel.Hyperlink }) => void): void; on( obj: Excel.Application, event: 'SheetPivotTableAfterValueChange', argNames: ['Sh', 'TargetPivotTable', 'TargetRange'], handler: ( - this: Excel.Application, parameter: {readonly Sh: any, readonly TargetPivotTable: Excel.PivotTable, readonly TargetRange: Excel.Range}) => void): void; + this: Excel.Application, parameter: { readonly Sh: any, readonly TargetPivotTable: Excel.PivotTable, readonly TargetRange: Excel.Range }) => void): void; on( obj: Excel.Application, event: 'SheetPivotTableBeforeAllocateChanges' | 'SheetPivotTableBeforeCommitChanges', argNames: ['Sh', 'TargetPivotTable', 'ValueChangeStart', 'ValueChangeEnd', 'Cancel'], handler: ( this: Excel.Application, - parameter: {readonly Sh: any, readonly TargetPivotTable: Excel.PivotTable, readonly ValueChangeStart: number, readonly ValueChangeEnd: number, Cancel: boolean}) => void): void; + parameter: { readonly Sh: any, readonly TargetPivotTable: Excel.PivotTable, readonly ValueChangeStart: number, readonly ValueChangeEnd: number, Cancel: boolean }) => void): void; on( obj: Excel.Application, event: 'SheetPivotTableBeforeDiscardChanges', argNames: ['Sh', 'TargetPivotTable', 'ValueChangeStart', 'ValueChangeEnd'], handler: ( - this: Excel.Application, parameter: {readonly Sh: any, readonly TargetPivotTable: Excel.PivotTable, readonly ValueChangeStart: number, readonly ValueChangeEnd: number}) => void): void; + this: Excel.Application, parameter: { readonly Sh: any, readonly TargetPivotTable: Excel.PivotTable, readonly ValueChangeStart: number, readonly ValueChangeEnd: number }) => void): void; on( obj: Excel.Application, event: 'SheetPivotTableUpdate', argNames: ['Sh', 'Target'], handler: ( - this: Excel.Application, parameter: {readonly Sh: any, readonly Target: Excel.PivotTable}) => void): void; + this: Excel.Application, parameter: { readonly Sh: any, readonly Target: Excel.PivotTable }) => void): void; on( obj: Excel.Application, event: 'WindowActivate' | 'WindowDeactivate' | 'WindowResize', argNames: ['Wb', 'Wn'], handler: ( - this: Excel.Application, parameter: {readonly Wb: Excel.Workbook, readonly Wn: Excel.Window}) => void): void; + this: Excel.Application, parameter: { readonly Wb: Excel.Workbook, readonly Wn: Excel.Window }) => void): void; on( obj: Excel.Application, event: 'WorkbookAfterSave', argNames: ['Wb', 'Success'], handler: ( - this: Excel.Application, parameter: {readonly Wb: Excel.Workbook, readonly Success: boolean}) => void): void; + this: Excel.Application, parameter: { readonly Wb: Excel.Workbook, readonly Success: boolean }) => void): void; on( obj: Excel.Application, event: 'WorkbookAfterXmlExport', argNames: ['Wb', 'Map', 'Url', 'Result'], handler: ( - this: Excel.Application, parameter: {readonly Wb: Excel.Workbook, readonly Map: Excel.XmlMap, readonly Url: string, readonly Result: Excel.XlXmlExportResult}) => void): void; + this: Excel.Application, parameter: { readonly Wb: Excel.Workbook, readonly Map: Excel.XmlMap, readonly Url: string, readonly Result: Excel.XlXmlExportResult }) => void): void; on( obj: Excel.Application, event: 'WorkbookAfterXmlImport', argNames: ['Wb', 'Map', 'IsRefresh', 'Result'], handler: ( - this: Excel.Application, parameter: {readonly Wb: Excel.Workbook, readonly Map: Excel.XmlMap, readonly IsRefresh: boolean, readonly Result: Excel.XlXmlImportResult}) => void): void; + this: Excel.Application, parameter: { readonly Wb: Excel.Workbook, readonly Map: Excel.XmlMap, readonly IsRefresh: boolean, readonly Result: Excel.XlXmlImportResult }) => void): void; on( obj: Excel.Application, event: 'WorkbookBeforeClose' | 'WorkbookBeforePrint', argNames: ['Wb', 'Cancel'], handler: ( - this: Excel.Application, parameter: {readonly Wb: Excel.Workbook, Cancel: boolean}) => void): void; + this: Excel.Application, parameter: { readonly Wb: Excel.Workbook, Cancel: boolean }) => void): void; on( obj: Excel.Application, event: 'WorkbookBeforeSave', argNames: ['Wb', 'SaveAsUI', 'Cancel'], handler: ( - this: Excel.Application, parameter: {readonly Wb: Excel.Workbook, readonly SaveAsUI: boolean, Cancel: boolean}) => void): void; + this: Excel.Application, parameter: { readonly Wb: Excel.Workbook, readonly SaveAsUI: boolean, Cancel: boolean }) => void): void; on( obj: Excel.Application, event: 'WorkbookBeforeXmlExport', argNames: ['Wb', 'Map', 'Url', 'Cancel'], handler: ( - this: Excel.Application, parameter: {readonly Wb: Excel.Workbook, readonly Map: Excel.XmlMap, readonly Url: string, Cancel: boolean}) => void): void; + this: Excel.Application, parameter: { readonly Wb: Excel.Workbook, readonly Map: Excel.XmlMap, readonly Url: string, Cancel: boolean }) => void): void; on( obj: Excel.Application, event: 'WorkbookBeforeXmlImport', argNames: ['Wb', 'Map', 'Url', 'IsRefresh', 'Cancel'], handler: ( - this: Excel.Application, parameter: {readonly Wb: Excel.Workbook, readonly Map: Excel.XmlMap, readonly Url: string, readonly IsRefresh: boolean, Cancel: boolean}) => void): void; - on(obj: Excel.Application, event: 'WorkbookNewChart', argNames: ['Wb', 'Ch'], handler: (this: Excel.Application, parameter: {readonly Wb: Excel.Workbook, readonly Ch: Excel.Chart}) => void): void; - on(obj: Excel.Application, event: 'WorkbookNewSheet', argNames: ['Wb', 'Sh'], handler: (this: Excel.Application, parameter: {readonly Wb: Excel.Workbook, readonly Sh: any}) => void): void; + this: Excel.Application, parameter: { readonly Wb: Excel.Workbook, readonly Map: Excel.XmlMap, readonly Url: string, readonly IsRefresh: boolean, Cancel: boolean }) => void): void; + on(obj: Excel.Application, event: 'WorkbookNewChart', argNames: ['Wb', 'Ch'], handler: ( + this: Excel.Application, parameter: { readonly Wb: Excel.Workbook, readonly Ch: Excel.Chart }) => void): void; + on(obj: Excel.Application, event: 'WorkbookNewSheet', argNames: ['Wb', 'Sh'], handler: (this: Excel.Application, parameter: { readonly Wb: Excel.Workbook, readonly Sh: any }) => void): void; on( obj: Excel.Application, event: 'WorkbookPivotTableCloseConnection' | 'WorkbookPivotTableOpenConnection', argNames: ['Wb', 'Target'], - handler: (this: Excel.Application, parameter: {readonly Wb: Excel.Workbook, readonly Target: Excel.PivotTable}) => void): void; + handler: (this: Excel.Application, parameter: { readonly Wb: Excel.Workbook, readonly Target: Excel.PivotTable }) => void): void; on( obj: Excel.Application, event: 'WorkbookRowsetComplete', argNames: ['Wb', 'Description', 'Sheet', 'Success'], handler: ( - this: Excel.Application, parameter: {readonly Wb: Excel.Workbook, readonly Description: string, readonly Sheet: string, readonly Success: boolean}) => void): void; + this: Excel.Application, parameter: { readonly Wb: Excel.Workbook, readonly Description: string, readonly Sheet: string, readonly Success: boolean }) => void): void; on( obj: Excel.Application, event: 'WorkbookSync', argNames: ['Wb', 'SyncEventType'], handler: ( - this: Excel.Application, parameter: {readonly Wb: Excel.Workbook, readonly SyncEventType: Office.MsoSyncEventType}) => void): void; + this: Excel.Application, parameter: { readonly Wb: Excel.Workbook, readonly SyncEventType: Office.MsoSyncEventType }) => void): void; on( obj: Excel.Chart, event: 'BeforeDoubleClick', argNames: ['ElementID', 'Arg1', 'Arg2', 'Cancel'], handler: ( - this: Excel.Chart, parameter: {readonly ElementID: number, readonly Arg1: number, readonly Arg2: number, Cancel: boolean}) => void): void; - on(obj: Excel.Chart, event: 'BeforeRightClick', argNames: ['Cancel'], handler: (this: Excel.Chart, parameter: {Cancel: boolean}) => void): void; + this: Excel.Chart, parameter: { readonly ElementID: number, readonly Arg1: number, readonly Arg2: number, Cancel: boolean }) => void): void; + on(obj: Excel.Chart, event: 'BeforeRightClick', argNames: ['Cancel'], handler: (this: Excel.Chart, parameter: { Cancel: boolean }) => void): void; on( obj: Excel.Chart, event: 'GetIDsOfNames', argNames: ['riid', 'rgszNames', 'cNames', 'lcid', 'rgdispid'], handler: ( - this: Excel.Chart, parameter: {readonly riid: stdole.GUID, readonly rgszNames: number, readonly cNames: number, readonly lcid: number, rgdispid: number}) => void): void; + this: Excel.Chart, parameter: { readonly riid: stdole.GUID, readonly rgszNames: number, readonly cNames: number, readonly lcid: number, rgdispid: number }) => void): void; on( obj: Excel.Chart, event: 'GetTypeInfo', argNames: ['itinfo', 'lcid', 'pptinfo'], handler: ( - this: Excel.Chart, parameter: {readonly itinfo: number, readonly lcid: number, pptinfo: undefined}) => void): void; - on(obj: Excel.Chart, event: 'GetTypeInfoCount', argNames: ['pctinfo'], handler: (this: Excel.Chart, parameter: {pctinfo: number}) => void): void; + this: Excel.Chart, parameter: { readonly itinfo: number, readonly lcid: number, pptinfo: undefined }) => void): void; + on(obj: Excel.Chart, event: 'GetTypeInfoCount', argNames: ['pctinfo'], handler: (this: Excel.Chart, parameter: { pctinfo: number }) => void): void; on(obj: Excel.Chart, event: 'Invoke', argNames: Excel.EventHelperTypes.Chart_Invoke_ArgNames, handler: (this: Excel.Chart, parameter: Excel.EventHelperTypes.Chart_Invoke_Parameter) => void): void; on( obj: Excel.Chart, event: 'MouseDown' | 'MouseMove' | 'MouseUp', argNames: ['Button', 'Shift', 'x', 'y'], handler: ( - this: Excel.Chart, parameter: {readonly Button: number, readonly Shift: number, readonly x: number, readonly y: number}) => void): void; - on(obj: Excel.Chart, event: 'QueryInterface', argNames: ['riid', 'ppvObj'], handler: (this: Excel.Chart, parameter: {readonly riid: stdole.GUID, ppvObj: undefined}) => void): void; + this: Excel.Chart, parameter: { readonly Button: number, readonly Shift: number, readonly x: number, readonly y: number }) => void): void; + on(obj: Excel.Chart, event: 'QueryInterface', argNames: ['riid', 'ppvObj'], handler: (this: Excel.Chart, parameter: { readonly riid: stdole.GUID, ppvObj: undefined }) => void): void; on( obj: Excel.Chart, event: 'Select', argNames: ['ElementID', 'Arg1', 'Arg2'], handler: ( - this: Excel.Chart, parameter: {readonly ElementID: number, readonly Arg1: number, readonly Arg2: number}) => void): void; + this: Excel.Chart, parameter: { readonly ElementID: number, readonly Arg1: number, readonly Arg2: number }) => void): void; on( obj: Excel.Chart, event: 'SeriesChange', argNames: ['SeriesIndex', 'PointIndex'], handler: ( - this: Excel.Chart, parameter: {readonly SeriesIndex: number, readonly PointIndex: number}) => void): void; + this: Excel.Chart, parameter: { readonly SeriesIndex: number, readonly PointIndex: number }) => void): void; on( obj: Excel.OLEObject, event: 'GetIDsOfNames', argNames: ['riid', 'rgszNames', 'cNames', 'lcid', 'rgdispid'], handler: ( - this: Excel.OLEObject, parameter: {readonly riid: stdole.GUID, readonly rgszNames: number, readonly cNames: number, readonly lcid: number, rgdispid: number}) => void): void; + this: Excel.OLEObject, parameter: { readonly riid: stdole.GUID, readonly rgszNames: number, readonly cNames: number, readonly lcid: number, rgdispid: number }) => void): void; on( obj: Excel.OLEObject, event: 'GetTypeInfo', argNames: ['itinfo', 'lcid', 'pptinfo'], handler: ( - this: Excel.OLEObject, parameter: {readonly itinfo: number, readonly lcid: number, pptinfo: undefined}) => void): void; - on(obj: Excel.OLEObject, event: 'GetTypeInfoCount', argNames: ['pctinfo'], handler: (this: Excel.OLEObject, parameter: {pctinfo: number}) => void): void; + this: Excel.OLEObject, parameter: { readonly itinfo: number, readonly lcid: number, pptinfo: undefined }) => void): void; + on(obj: Excel.OLEObject, event: 'GetTypeInfoCount', argNames: ['pctinfo'], handler: (this: Excel.OLEObject, parameter: { pctinfo: number }) => void): void; on( obj: Excel.OLEObject, event: 'Invoke', argNames: Excel.EventHelperTypes.OLEObject_Invoke_ArgNames, handler: ( this: Excel.OLEObject, parameter: Excel.EventHelperTypes.OLEObject_Invoke_Parameter) => void): void; - on(obj: Excel.OLEObject, event: 'QueryInterface', argNames: ['riid', 'ppvObj'], handler: (this: Excel.OLEObject, parameter: {readonly riid: stdole.GUID, ppvObj: undefined}) => void): void; - on(obj: Excel.QueryTable, event: 'AfterRefresh', argNames: ['Success'], handler: (this: Excel.QueryTable, parameter: {readonly Success: boolean}) => void): void; - on(obj: Excel.QueryTable, event: 'BeforeRefresh', argNames: ['Cancel'], handler: (this: Excel.QueryTable, parameter: {Cancel: boolean}) => void): void; + on(obj: Excel.OLEObject, event: 'QueryInterface', argNames: ['riid', 'ppvObj'], handler: (this: Excel.OLEObject, parameter: { readonly riid: stdole.GUID, ppvObj: undefined }) => void): void; + on(obj: Excel.QueryTable, event: 'AfterRefresh', argNames: ['Success'], handler: (this: Excel.QueryTable, parameter: { readonly Success: boolean }) => void): void; + on(obj: Excel.QueryTable, event: 'BeforeRefresh', argNames: ['Cancel'], handler: (this: Excel.QueryTable, parameter: { Cancel: boolean }) => void): void; on( obj: Excel.QueryTable, event: 'GetIDsOfNames', argNames: ['riid', 'rgszNames', 'cNames', 'lcid', 'rgdispid'], handler: ( - this: Excel.QueryTable, parameter: {readonly riid: stdole.GUID, readonly rgszNames: number, readonly cNames: number, readonly lcid: number, rgdispid: number}) => void): void; + this: Excel.QueryTable, parameter: { readonly riid: stdole.GUID, readonly rgszNames: number, readonly cNames: number, readonly lcid: number, rgdispid: number }) => void): void; on( obj: Excel.QueryTable, event: 'GetTypeInfo', argNames: ['itinfo', 'lcid', 'pptinfo'], handler: ( - this: Excel.QueryTable, parameter: {readonly itinfo: number, readonly lcid: number, pptinfo: undefined}) => void): void; - on(obj: Excel.QueryTable, event: 'GetTypeInfoCount', argNames: ['pctinfo'], handler: (this: Excel.QueryTable, parameter: {pctinfo: number}) => void): void; + this: Excel.QueryTable, parameter: { readonly itinfo: number, readonly lcid: number, pptinfo: undefined }) => void): void; + on(obj: Excel.QueryTable, event: 'GetTypeInfoCount', argNames: ['pctinfo'], handler: (this: Excel.QueryTable, parameter: { pctinfo: number }) => void): void; on( obj: Excel.QueryTable, event: 'Invoke', argNames: Excel.EventHelperTypes.QueryTable_Invoke_ArgNames, handler: ( this: Excel.QueryTable, parameter: Excel.EventHelperTypes.QueryTable_Invoke_Parameter) => void): void; - on(obj: Excel.QueryTable, event: 'QueryInterface', argNames: ['riid', 'ppvObj'], handler: (this: Excel.QueryTable, parameter: {readonly riid: stdole.GUID, ppvObj: undefined}) => void): void; - on(obj: Excel.Workbook, event: 'AfterSave', argNames: ['Success'], handler: (this: Excel.Workbook, parameter: {readonly Success: boolean}) => void): void; + on(obj: Excel.QueryTable, event: 'QueryInterface', argNames: ['riid', 'ppvObj'], handler: (this: Excel.QueryTable, parameter: { readonly riid: stdole.GUID, ppvObj: undefined }) => void): void; + on(obj: Excel.Workbook, event: 'AfterSave', argNames: ['Success'], handler: (this: Excel.Workbook, parameter: { readonly Success: boolean }) => void): void; on( obj: Excel.Workbook, event: 'AfterXmlExport', argNames: ['Map', 'Url', 'Result'], handler: ( - this: Excel.Workbook, parameter: {readonly Map: Excel.XmlMap, readonly Url: string, readonly Result: Excel.XlXmlExportResult}) => void): void; + this: Excel.Workbook, parameter: { readonly Map: Excel.XmlMap, readonly Url: string, readonly Result: Excel.XlXmlExportResult }) => void): void; on( obj: Excel.Workbook, event: 'AfterXmlImport', argNames: ['Map', 'IsRefresh', 'Result'], handler: ( - this: Excel.Workbook, parameter: {readonly Map: Excel.XmlMap, readonly IsRefresh: boolean, readonly Result: Excel.XlXmlImportResult}) => void): void; - on(obj: Excel.Workbook, event: 'BeforeClose' | 'BeforePrint', argNames: ['Cancel'], handler: (this: Excel.Workbook, parameter: {Cancel: boolean}) => void): void; - on(obj: Excel.Workbook, event: 'BeforeSave', argNames: ['SaveAsUI', 'Cancel'], handler: (this: Excel.Workbook, parameter: {readonly SaveAsUI: boolean, Cancel: boolean}) => void): void; + this: Excel.Workbook, parameter: { readonly Map: Excel.XmlMap, readonly IsRefresh: boolean, readonly Result: Excel.XlXmlImportResult }) => void): void; + on(obj: Excel.Workbook, event: 'BeforeClose' | 'BeforePrint', argNames: ['Cancel'], handler: (this: Excel.Workbook, parameter: { Cancel: boolean }) => void): void; + on(obj: Excel.Workbook, event: 'BeforeSave', argNames: ['SaveAsUI', 'Cancel'], handler: (this: Excel.Workbook, parameter: { readonly SaveAsUI: boolean, Cancel: boolean }) => void): void; on( obj: Excel.Workbook, event: 'BeforeXmlExport', argNames: ['Map', 'Url', 'Cancel'], handler: ( - this: Excel.Workbook, parameter: {readonly Map: Excel.XmlMap, readonly Url: string, Cancel: boolean}) => void): void; + this: Excel.Workbook, parameter: { readonly Map: Excel.XmlMap, readonly Url: string, Cancel: boolean }) => void): void; on( obj: Excel.Workbook, event: 'BeforeXmlImport', argNames: ['Map', 'Url', 'IsRefresh', 'Cancel'], handler: ( - this: Excel.Workbook, parameter: {readonly Map: Excel.XmlMap, readonly Url: string, readonly IsRefresh: boolean, Cancel: boolean}) => void): void; + this: Excel.Workbook, parameter: { readonly Map: Excel.XmlMap, readonly Url: string, readonly IsRefresh: boolean, Cancel: boolean }) => void): void; on( obj: Excel.Workbook, event: 'GetIDsOfNames', argNames: ['riid', 'rgszNames', 'cNames', 'lcid', 'rgdispid'], handler: ( - this: Excel.Workbook, parameter: {readonly riid: stdole.GUID, readonly rgszNames: number, readonly cNames: number, readonly lcid: number, rgdispid: number}) => void): void; + this: Excel.Workbook, parameter: { readonly riid: stdole.GUID, readonly rgszNames: number, readonly cNames: number, readonly lcid: number, rgdispid: number }) => void): void; on( obj: Excel.Workbook, event: 'GetTypeInfo', argNames: ['itinfo', 'lcid', 'pptinfo'], handler: ( - this: Excel.Workbook, parameter: {readonly itinfo: number, readonly lcid: number, pptinfo: undefined}) => void): void; - on(obj: Excel.Workbook, event: 'GetTypeInfoCount', argNames: ['pctinfo'], handler: (this: Excel.Workbook, parameter: {pctinfo: number}) => void): void; + this: Excel.Workbook, parameter: { readonly itinfo: number, readonly lcid: number, pptinfo: undefined }) => void): void; + on(obj: Excel.Workbook, event: 'GetTypeInfoCount', argNames: ['pctinfo'], handler: (this: Excel.Workbook, parameter: { pctinfo: number }) => void): void; on( obj: Excel.Workbook, event: 'Invoke', argNames: Excel.EventHelperTypes.Workbook_Invoke_ArgNames, handler: ( this: Excel.Workbook, parameter: Excel.EventHelperTypes.Workbook_Invoke_Parameter) => void): void; - on(obj: Excel.Workbook, event: 'NewChart', argNames: ['Ch'], handler: (this: Excel.Workbook, parameter: {readonly Ch: Excel.Chart}) => void): void; - on(obj: Excel.Workbook, event: 'NewSheet' | 'SheetActivate' | 'SheetCalculate' | 'SheetDeactivate', argNames: ['Sh'], handler: (this: Excel.Workbook, parameter: {readonly Sh: any}) => void): void; + on(obj: Excel.Workbook, event: 'NewChart', argNames: ['Ch'], handler: (this: Excel.Workbook, parameter: { readonly Ch: Excel.Chart }) => void): void; + on(obj: Excel.Workbook, event: 'NewSheet' | 'SheetActivate' | 'SheetCalculate' | 'SheetDeactivate', argNames: ['Sh'], handler: ( + this: Excel.Workbook, parameter: { readonly Sh: any }) => void): void; on( obj: Excel.Workbook, event: 'PivotTableCloseConnection' | 'PivotTableOpenConnection', argNames: ['Target'], handler: ( - this: Excel.Workbook, parameter: {readonly Target: Excel.PivotTable}) => void): void; - on(obj: Excel.Workbook, event: 'QueryInterface', argNames: ['riid', 'ppvObj'], handler: (this: Excel.Workbook, parameter: {readonly riid: stdole.GUID, ppvObj: undefined}) => void): void; + this: Excel.Workbook, parameter: { readonly Target: Excel.PivotTable }) => void): void; + on(obj: Excel.Workbook, event: 'QueryInterface', argNames: ['riid', 'ppvObj'], handler: (this: Excel.Workbook, parameter: { readonly riid: stdole.GUID, ppvObj: undefined }) => void): void; on( obj: Excel.Workbook, event: 'RowsetComplete', argNames: ['Description', 'Sheet', 'Success'], handler: ( - this: Excel.Workbook, parameter: {readonly Description: string, readonly Sheet: string, readonly Success: boolean}) => void): void; + this: Excel.Workbook, parameter: { readonly Description: string, readonly Sheet: string, readonly Success: boolean }) => void): void; on( obj: Excel.Workbook, event: 'SheetBeforeDoubleClick' | 'SheetBeforeRightClick', argNames: ['Sh', 'Target', 'Cancel'], handler: ( - this: Excel.Workbook, parameter: {readonly Sh: any, readonly Target: Excel.Range, Cancel: boolean}) => void): void; + this: Excel.Workbook, parameter: { readonly Sh: any, readonly Target: Excel.Range, Cancel: boolean }) => void): void; on( obj: Excel.Workbook, event: 'SheetChange' | 'SheetSelectionChange', argNames: ['Sh', 'Target'], handler: ( - this: Excel.Workbook, parameter: {readonly Sh: any, readonly Target: Excel.Range}) => void): void; - on(obj: Excel.Workbook, event: 'SheetFollowHyperlink', argNames: ['Sh', 'Target'], handler: (this: Excel.Workbook, parameter: {readonly Sh: any, readonly Target: Excel.Hyperlink}) => void): void; + this: Excel.Workbook, parameter: { readonly Sh: any, readonly Target: Excel.Range }) => void): void; + on(obj: Excel.Workbook, event: 'SheetFollowHyperlink', argNames: ['Sh', 'Target'], handler: ( + this: Excel.Workbook, parameter: { readonly Sh: any, readonly Target: Excel.Hyperlink }) => void): void; on( obj: Excel.Workbook, event: 'SheetPivotTableAfterValueChange', argNames: ['Sh', 'TargetPivotTable', 'TargetRange'], handler: ( - this: Excel.Workbook, parameter: {readonly Sh: any, readonly TargetPivotTable: Excel.PivotTable, readonly TargetRange: Excel.Range}) => void): void; + this: Excel.Workbook, parameter: { readonly Sh: any, readonly TargetPivotTable: Excel.PivotTable, readonly TargetRange: Excel.Range }) => void): void; on( obj: Excel.Workbook, event: 'SheetPivotTableBeforeAllocateChanges' | 'SheetPivotTableBeforeCommitChanges', argNames: ['Sh', 'TargetPivotTable', 'ValueChangeStart', 'ValueChangeEnd', 'Cancel'], handler: ( this: Excel.Workbook, - parameter: {readonly Sh: any, readonly TargetPivotTable: Excel.PivotTable, readonly ValueChangeStart: number, readonly ValueChangeEnd: number, Cancel: boolean}) => void): void; + parameter: { readonly Sh: any, readonly TargetPivotTable: Excel.PivotTable, readonly ValueChangeStart: number, readonly ValueChangeEnd: number, Cancel: boolean }) => void): void; on( - obj: Excel.Workbook, event: 'SheetPivotTableBeforeDiscardChanges', argNames: ['Sh', 'TargetPivotTable', 'ValueChangeStart', 'ValueChangeEnd'], - handler: (this: Excel.Workbook, parameter: {readonly Sh: any, readonly TargetPivotTable: Excel.PivotTable, readonly ValueChangeStart: number, readonly ValueChangeEnd: number}) => void): void; + obj: Excel.Workbook, event: 'SheetPivotTableBeforeDiscardChanges', argNames: ['Sh', 'TargetPivotTable', 'ValueChangeStart', 'ValueChangeEnd'], handler: ( + this: Excel.Workbook, parameter: { readonly Sh: any, readonly TargetPivotTable: Excel.PivotTable, readonly ValueChangeStart: number, readonly ValueChangeEnd: number }) => void): void; on( obj: Excel.Workbook, event: 'SheetPivotTableChangeSync' | 'SheetPivotTableUpdate', argNames: ['Sh', 'Target'], handler: ( - this: Excel.Workbook, parameter: {readonly Sh: any, readonly Target: Excel.PivotTable}) => void): void; - on(obj: Excel.Workbook, event: 'Sync', argNames: ['SyncEventType'], handler: (this: Excel.Workbook, parameter: {readonly SyncEventType: Office.MsoSyncEventType}) => void): void; - on(obj: Excel.Workbook, event: 'WindowActivate' | 'WindowDeactivate' | 'WindowResize', argNames: ['Wn'], handler: (this: Excel.Workbook, parameter: {readonly Wn: Excel.Window}) => void): void; + this: Excel.Workbook, parameter: { readonly Sh: any, readonly Target: Excel.PivotTable }) => void): void; + on(obj: Excel.Workbook, event: 'Sync', argNames: ['SyncEventType'], handler: (this: Excel.Workbook, parameter: { readonly SyncEventType: Office.MsoSyncEventType }) => void): void; + on(obj: Excel.Workbook, event: 'WindowActivate' | 'WindowDeactivate' | 'WindowResize', argNames: ['Wn'], handler: (this: Excel.Workbook, parameter: { readonly Wn: Excel.Window }) => void): void; on( obj: Excel.Worksheet, event: 'BeforeDoubleClick' | 'BeforeRightClick', argNames: ['Target', 'Cancel'], handler: ( - this: Excel.Worksheet, parameter: {readonly Target: Excel.Range, Cancel: boolean}) => void): void; - on(obj: Excel.Worksheet, event: 'Change' | 'SelectionChange', argNames: ['Target'], handler: (this: Excel.Worksheet, parameter: {readonly Target: Excel.Range}) => void): void; - on(obj: Excel.Worksheet, event: 'FollowHyperlink', argNames: ['Target'], handler: (this: Excel.Worksheet, parameter: {readonly Target: Excel.Hyperlink}) => void): void; + this: Excel.Worksheet, parameter: { readonly Target: Excel.Range, Cancel: boolean }) => void): void; + on(obj: Excel.Worksheet, event: 'Change' | 'SelectionChange', argNames: ['Target'], handler: (this: Excel.Worksheet, parameter: { readonly Target: Excel.Range }) => void): void; + on(obj: Excel.Worksheet, event: 'FollowHyperlink', argNames: ['Target'], handler: (this: Excel.Worksheet, parameter: { readonly Target: Excel.Hyperlink }) => void): void; on( obj: Excel.Worksheet, event: 'GetIDsOfNames', argNames: ['riid', 'rgszNames', 'cNames', 'lcid', 'rgdispid'], handler: ( - this: Excel.Worksheet, parameter: {readonly riid: stdole.GUID, readonly rgszNames: number, readonly cNames: number, readonly lcid: number, rgdispid: number}) => void): void; + this: Excel.Worksheet, parameter: { readonly riid: stdole.GUID, readonly rgszNames: number, readonly cNames: number, readonly lcid: number, rgdispid: number }) => void): void; on( obj: Excel.Worksheet, event: 'GetTypeInfo', argNames: ['itinfo', 'lcid', 'pptinfo'], handler: ( - this: Excel.Worksheet, parameter: {readonly itinfo: number, readonly lcid: number, pptinfo: undefined}) => void): void; - on(obj: Excel.Worksheet, event: 'GetTypeInfoCount', argNames: ['pctinfo'], handler: (this: Excel.Worksheet, parameter: {pctinfo: number}) => void): void; + this: Excel.Worksheet, parameter: { readonly itinfo: number, readonly lcid: number, pptinfo: undefined }) => void): void; + on(obj: Excel.Worksheet, event: 'GetTypeInfoCount', argNames: ['pctinfo'], handler: (this: Excel.Worksheet, parameter: { pctinfo: number }) => void): void; on( obj: Excel.Worksheet, event: 'Invoke', argNames: Excel.EventHelperTypes.Worksheet_Invoke_ArgNames, handler: ( this: Excel.Worksheet, parameter: Excel.EventHelperTypes.Worksheet_Invoke_Parameter) => void): void; on( obj: Excel.Worksheet, event: 'PivotTableAfterValueChange', argNames: ['TargetPivotTable', 'TargetRange'], handler: ( - this: Excel.Worksheet, parameter: {readonly TargetPivotTable: Excel.PivotTable, readonly TargetRange: Excel.Range}) => void): void; + this: Excel.Worksheet, parameter: { readonly TargetPivotTable: Excel.PivotTable, readonly TargetRange: Excel.Range }) => void): void; on( obj: Excel.Worksheet, event: 'PivotTableBeforeAllocateChanges' | 'PivotTableBeforeCommitChanges', argNames: ['TargetPivotTable', 'ValueChangeStart', 'ValueChangeEnd', 'Cancel'], handler: ( - this: Excel.Worksheet, parameter: {readonly TargetPivotTable: Excel.PivotTable, readonly ValueChangeStart: number, readonly ValueChangeEnd: number, Cancel: boolean}) => void): void; + this: Excel.Worksheet, parameter: { readonly TargetPivotTable: Excel.PivotTable, readonly ValueChangeStart: number, readonly ValueChangeEnd: number, Cancel: boolean }) => void): void; on( obj: Excel.Worksheet, event: 'PivotTableBeforeDiscardChanges', argNames: ['TargetPivotTable', 'ValueChangeStart', 'ValueChangeEnd'], - handler: (this: Excel.Worksheet, parameter: {readonly TargetPivotTable: Excel.PivotTable, readonly ValueChangeStart: number, readonly ValueChangeEnd: number}) => void): void; - on(obj: Excel.Worksheet, event: 'PivotTableChangeSync' | 'PivotTableUpdate', argNames: ['Target'], handler: (this: Excel.Worksheet, parameter: {readonly Target: Excel.PivotTable}) => void): void; - on(obj: Excel.Worksheet, event: 'QueryInterface', argNames: ['riid', 'ppvObj'], handler: (this: Excel.Worksheet, parameter: {readonly riid: stdole.GUID, ppvObj: undefined}) => void): void; + handler: (this: Excel.Worksheet, parameter: { readonly TargetPivotTable: Excel.PivotTable, readonly ValueChangeStart: number, readonly ValueChangeEnd: number }) => void): void; + on(obj: Excel.Worksheet, event: 'PivotTableChangeSync' | 'PivotTableUpdate', argNames: ['Target'], handler: ( + this: Excel.Worksheet, parameter: { readonly Target: Excel.PivotTable }) => void): void; + on(obj: Excel.Worksheet, event: 'QueryInterface', argNames: ['riid', 'ppvObj'], handler: (this: Excel.Worksheet, parameter: { readonly riid: stdole.GUID, ppvObj: undefined }) => void): void; on(obj: Excel.Application, event: 'AddRef' | 'AfterCalculate' | 'Release', handler: (this: Excel.Application, parameter: {}) => void): void; on(obj: Excel.Chart, event: 'Activate' | 'AddRef' | 'Calculate' | 'Deactivate' | 'DragOver' | 'DragPlot' | 'Release' | 'Resize', handler: (this: Excel.Chart, parameter: {}) => void): void; on(obj: Excel.OLEObject, event: 'AddRef' | 'GotFocus' | 'LostFocus' | 'Release', handler: (this: Excel.OLEObject, parameter: {}) => void): void; @@ -9464,7 +9723,7 @@ interface ActiveXObject { set(obj: Excel.Workbook, propertyName: 'Colors', parameterTypes: [any], newValue: any): void; set(obj: Excel.Range, propertyName: 'Value', parameterTypes: [Excel.XlRangeValueDataType], newValue: any): void; set(obj: Excel.Range, propertyName: 'Value', newValue: any): void; // because Value is defined on the type as a method, not a property - new(progid: K): ActiveXObjectNameMap[K]; + new (progid: K): ActiveXObjectNameMap[K]; } interface ActiveXObjectNameMap { @@ -9474,26 +9733,8 @@ interface ActiveXObjectNameMap { } interface EnumeratorConstructor { - new(col: Excel.Actions): Enumerator; - new(col: Excel.AddIns | Excel.AddIns2): Enumerator; - new(col: Excel.AllowEditRanges): Enumerator; - new(col: Excel.Areas | Excel.Ranges): Enumerator; - new(col: Excel.Borders): Enumerator; - new(col: Excel.CalculatedFields): Enumerator; - new(col: Excel.CalculatedItems | Excel.PivotItemList): Enumerator; - new(col: Excel.CalculatedMembers): Enumerator; - new(col: Excel.Comments): Enumerator; - new(col: Excel.Connections): Enumerator; - new(col: Excel.CubeFields): Enumerator; - new(col: Excel.CustomProperties): Enumerator; - new(col: Excel.CustomViews): Enumerator; - new(col: Excel.DiagramNodeChildren | Excel.DiagramNodes): Enumerator; - new(col: Excel.Dialogs): Enumerator; - new(col: Excel.FileExportConverters): Enumerator; - new(col: Excel.Filters): Enumerator; - new( - col: Excel.FormatConditions | Excel.IconSets | Excel.MenuItems | Excel.Modules | Excel.Phonetics | Excel.PivotFields | Excel.Range | Excel.ServerViewableItems | - Excel.SheetViews | Excel.UsedObjects): Enumerator; // tslint:disable-line:use-default-type-parameter + new(col: Excel.Range): Enumerator; + new(col: Excel.GroupShapes | Excel.ShapeRange | Excel.Shapes): Enumerator; new(col: Excel.HPageBreaks): Enumerator; new(col: Excel.Hyperlinks): Enumerator; @@ -9544,7 +9785,3 @@ interface EnumeratorConstructor { new(col: Excel.XmlNamespaces): Enumerator; new(col: Excel.XmlSchemas): Enumerator; } - -interface SafeArray { - _brand: SafeArray; -} diff --git a/types/activex-excel/tslint.json b/types/activex-excel/tslint.json index 3224b40b8b..f93cf8562a 100644 --- a/types/activex-excel/tslint.json +++ b/types/activex-excel/tslint.json @@ -1,6 +1,3 @@ { - "extends": "dtslint/dt.json", - "rules": { - "no-const-enum": false - } + "extends": "dtslint/dt.json" } diff --git a/types/activex-scripting/activex-scripting-tests.ts b/types/activex-scripting/activex-scripting-tests.ts index ae724c376d..2f74fdfb30 100644 --- a/types/activex-scripting/activex-scripting-tests.ts +++ b/types/activex-scripting/activex-scripting-tests.ts @@ -214,18 +214,16 @@ ${subfolders.map(folderContentsString).join('')}` })(); // source --https://msdn.microsoft.com/en-us/library/ts2t8ybh(v=vs.84).aspx -function showFreeSpace(drvPath: string) { - const fso = new ActiveXObject('Scripting.FileSystemObject'); +const showFreeSpace = (drvPath: string) => { const d = fso.GetDrive(fso.GetDriveName(drvPath)); let s = `Drive ${drvPath} - `; s += d.VolumeName + '
'; s += `Free Space: ${d.FreeSpace / 1024} Kbytes`; return (s); -} +}; // source -- https://msdn.microsoft.com/en-us/library/kaf6yaft(v=vs.84).aspx -function getALine(filespec: string) { - const fso = new ActiveXObject('Scripting.FileSystemObject'); +const getALine = (filespec: string) => { const file = fso.OpenTextFile(filespec, Scripting.IOMode.ForReading, false); let s = ''; @@ -234,4 +232,34 @@ function getALine(filespec: string) { } file.Close(); return (s); -} +}; + +// https://msdn.microsoft.com/en-us/library/ch28h2s7(v=vs.84).aspx +(() => { + const showDriveInfo = (path: string) => { + const bytesPerGB = 1024 * 1024 * 1024; + const drv = fso.GetDrive(fso.GetDriveName(path)); + const ret = + drv.IsReady ? + `${drv.Path} - ${drv.FreeSpace / bytesPerGB} GB free of ${drv.TotalSize / bytesPerGB} GB` : + 'Not ready'; + WScript.Echo(ret); + }; + + const showFolderInfo = () => { + const fldr = fso.GetFolder("c:\\"); + let ret = ` +Folder: ${fldr.Path} +Drive: ${fldr.Drive} +${fldr.IsRootFolder ? 'Is root folder' : `Parent folder: ${fldr.ParentFolder}`} + `.trim(); + + // Create and delete a folder. + const newFolderName = 'C:\\TempFolder1'; + fso.CreateFolder(newFolderName); + ret += `Base Name of Added Folder: ${fso.GetBaseName(newFolderName)}`; + fso.DeleteFolder(newFolderName); + + WScript.Echo(ret); + }; +})(); From e63a146766a0cc0896ac496efb009f9de604b171 Mon Sep 17 00:00:00 2001 From: V# Date: Wed, 7 Feb 2018 20:38:03 +0800 Subject: [PATCH 228/463] getInstanceByDom return type should be Echarts --- types/echarts/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/echarts/index.d.ts b/types/echarts/index.d.ts index 1f42f8030c..b217be12eb 100644 --- a/types/echarts/index.d.ts +++ b/types/echarts/index.d.ts @@ -24,7 +24,7 @@ declare namespace echarts { function dispose(target: ECharts | HTMLDivElement | HTMLCanvasElement): void; - function getInstanceByDom(target: HTMLDivElement | HTMLCanvasElement): void; + function getInstanceByDom(target: HTMLDivElement | HTMLCanvasElement): ECharts; function registerMap(mapName: string, geoJson: Object, specialAreas?: Object): void; From 83e93604c992611e0fd5902cd428694f4ae4024b Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Wed, 7 Feb 2018 15:14:59 +0200 Subject: [PATCH 229/463] Additional example --- .../activex-scripting-tests.ts | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/types/activex-scripting/activex-scripting-tests.ts b/types/activex-scripting/activex-scripting-tests.ts index 2f74fdfb30..4a86580373 100644 --- a/types/activex-scripting/activex-scripting-tests.ts +++ b/types/activex-scripting/activex-scripting-tests.ts @@ -263,3 +263,58 @@ ${fldr.IsRootFolder ? 'Is root folder' : `Parent folder: ${fldr.ParentFolder}`} WScript.Echo(ret); }; })(); + +// https://msdn.microsoft.com/en-us/library/czxefwt8(v=vs.84).aspx +(() => { + const readFiles = () => { + const file = fso.CreateTextFile("c:\\testfile.txt", true); + + // Write a line. + WScript.Echo('Writing file'); + file.WriteLine("Hello World"); + file.WriteBlankLines(1); + file.Close(); + + // Read the contents of the file. + WScript.Echo('Reading file'); + const textStream = fso.OpenTextFile("c:\\testfile.txt", Scripting.IOMode.ForReading); + WScript.Echo(`File contents = "${textStream.ReadLine()}"`); + textStream.Close(); + } + + const manipulateFiles = () => { + const file = fso.CreateTextFile("c:\\testfile.txt", true); + + WScript.Echo('Writing file'); + + // Write a line. + file.Write("This is a test."); + + // Close the file to writing. + file.Close(); + + WScript.Echo('Moving file to c:\\tmp'); + + // Get a handle to the file in root of C:\. + let file2 = fso.GetFile("c:\\testfile.txt"); + + // Move the file to \tmp directory. + file2.Move("c:\\tmp\\testfile.txt"); + + WScript.Echo('Copying file to c:\\temp
'); + + // Copy the file to \temp. + file2.Copy('c:\\temp\\testfile.txt'); + + WScript.Echo('Deleting files
'); + + // Get handles to files' current location. + file2 = fso.GetFile('c:\\tmp\\testfile.txt'); + const file3 = fso.GetFile('c:\\temp\\testfile.txt'); + + // Delete the files. + file2.Delete(); + file3.Delete(); + WScript.Echo('All done!'); + }; +})(); From 6c505cdd78b59381b0e07a10f5ce731e9f3da16f Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Wed, 7 Feb 2018 15:16:16 +0200 Subject: [PATCH 230/463] Missing semicolon --- types/activex-scripting/activex-scripting-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/activex-scripting/activex-scripting-tests.ts b/types/activex-scripting/activex-scripting-tests.ts index 4a86580373..786468b9af 100644 --- a/types/activex-scripting/activex-scripting-tests.ts +++ b/types/activex-scripting/activex-scripting-tests.ts @@ -280,7 +280,7 @@ ${fldr.IsRootFolder ? 'Is root folder' : `Parent folder: ${fldr.ParentFolder}`} const textStream = fso.OpenTextFile("c:\\testfile.txt", Scripting.IOMode.ForReading); WScript.Echo(`File contents = "${textStream.ReadLine()}"`); textStream.Close(); - } + }; const manipulateFiles = () => { const file = fso.CreateTextFile("c:\\testfile.txt", true); From 4cc753241ad9a433f5d55f7b34528964ab5ec700 Mon Sep 17 00:00:00 2001 From: Tine Jozelj Date: Wed, 7 Feb 2018 17:46:35 +0100 Subject: [PATCH 231/463] fix(node): updated for v7 and v8 --- types/node/v7/index.d.ts | 4 ++-- types/node/v8/index.d.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/types/node/v7/index.d.ts b/types/node/v7/index.d.ts index 93bc842cb4..fbbcfc154a 100644 --- a/types/node/v7/index.d.ts +++ b/types/node/v7/index.d.ts @@ -4002,12 +4002,12 @@ declare module "tty" { import * as net from "net"; export function isatty(fd: number): boolean; - export interface ReadStream extends net.Socket { + export class ReadStream extends net.Socket { isRaw: boolean; setRawMode(mode: boolean): void; isTTY: boolean; } - export interface WriteStream extends net.Socket { + export class WriteStream extends net.Socket { columns: number; rows: number; isTTY: boolean; diff --git a/types/node/v8/index.d.ts b/types/node/v8/index.d.ts index a40b066f50..fe8067b3b4 100644 --- a/types/node/v8/index.d.ts +++ b/types/node/v8/index.d.ts @@ -5620,12 +5620,12 @@ declare module "tty" { import * as net from "net"; export function isatty(fd: number): boolean; - export interface ReadStream extends net.Socket { + export class ReadStream extends net.Socket { isRaw: boolean; setRawMode(mode: boolean): void; isTTY: boolean; } - export interface WriteStream extends net.Socket { + export class WriteStream extends net.Socket { columns: number; rows: number; isTTY: boolean; From fb7accbd5e2a8d1efb5c9aec444212fba41299d5 Mon Sep 17 00:00:00 2001 From: Huw McNamara Date: Wed, 7 Feb 2018 19:31:40 +0000 Subject: [PATCH 232/463] don't use pick. fixed tests --- types/node/index.d.ts | 28 +++++++++++--------------- types/smtp-server/smtp-server-tests.ts | 5 +++-- 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 1792eccdac..50e1792253 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -1744,23 +1744,19 @@ declare module "https" { export type ServerOptions = tls.SecureContextOptions & tls.TlsServerOptions; // see https://nodejs.org/dist/latest/docs/api/https.html#https_https_request_options_callback - type extendedRequestKeys = "ca" | - "cert" | - "ciphers" | - "clientCertEngine" | - "key" | - "passphrase" | - "pfx" | - "rejectUnauthorized" | - "secureProtocol" | - "servername"; - // as many type definitions rely on node, redefine Pick here instead of updating all of them to typescript 2.1 - type PortedPick = { - [P in K]: T[P]; - }; - - export type RequestOptions = http.RequestOptions & PortedPick; + export type RequestOptions = http.RequestOptions & { + ca?: tls.ConnectionOptions["ca"]; + cert?: tls.ConnectionOptions["cert"]; + ciphers?: tls.ConnectionOptions["ciphers"]; + clientCertEngine?: tls.ConnectionOptions["clientCertEngine"]; + key?: tls.ConnectionOptions["key"]; + passphrase?: tls.ConnectionOptions["passphrase"]; + pfx?: tls.ConnectionOptions["pfx"]; + rejectUnauthorized?: tls.ConnectionOptions["rejectUnauthorized"]; + secureProtocol?: tls.ConnectionOptions["secureProtocol"]; + servername?: tls.ConnectionOptions["servername"]; + } export interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions { rejectUnauthorized?: boolean; diff --git a/types/smtp-server/smtp-server-tests.ts b/types/smtp-server/smtp-server-tests.ts index 29c05c942e..5be0634ebb 100644 --- a/types/smtp-server/smtp-server-tests.ts +++ b/types/smtp-server/smtp-server-tests.ts @@ -8,9 +8,10 @@ const options: SMTPServerOptions = { onRcptTo, onData, onClose, - port: 2525 }; +const port = 2525; + function onConnect(session: SMTPServerSession, callback: (err?: Error) => void): void { console.log(`[${session.id}] onConnect`); callback(); @@ -69,7 +70,7 @@ server.on('close', () => { console.log('Server closed'); }); -server.listen(options.port, () => { +server.listen(port, () => { const address = server.server.address(); console.log(`Listening on [${address.address}]:${address.port}`); }); From 5bc3f3c96b44eca997dd6074313de0dcae9467ce Mon Sep 17 00:00:00 2001 From: Ilya Radchenko Date: Wed, 7 Feb 2018 14:49:30 -0500 Subject: [PATCH 233/463] fix: add null to DrawingManager.setDrawingMode Notice the docs here https://developers.google.com/maps/documentation/javascript/3.exp/reference#DrawingManager in the description it says `null` is a valid argument --- types/googlemaps/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/googlemaps/index.d.ts b/types/googlemaps/index.d.ts index 4519a50eab..99a1104a6d 100644 --- a/types/googlemaps/index.d.ts +++ b/types/googlemaps/index.d.ts @@ -2684,7 +2684,7 @@ declare namespace google.maps { constructor(options?: DrawingManagerOptions); getDrawingMode(): OverlayType; getMap(): Map; - setDrawingMode(drawingMode: OverlayType): void; + setDrawingMode(drawingMode: OverlayType | null): void; setMap(map: Map | null): void; setOptions(options: DrawingManagerOptions): void; } From 289d1294d05d2b3dcfd1488d247a36634a96dad7 Mon Sep 17 00:00:00 2001 From: Huw McNamara Date: Wed, 7 Feb 2018 21:14:52 +0000 Subject: [PATCH 234/463] copy paaste RequestOptions --- types/node/index.d.ts | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 50e1792253..e4dc926da8 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -1743,20 +1743,18 @@ declare module "https" { export type ServerOptions = tls.SecureContextOptions & tls.TlsServerOptions; - // see https://nodejs.org/dist/latest/docs/api/https.html#https_https_request_options_callback - export type RequestOptions = http.RequestOptions & { - ca?: tls.ConnectionOptions["ca"]; - cert?: tls.ConnectionOptions["cert"]; - ciphers?: tls.ConnectionOptions["ciphers"]; - clientCertEngine?: tls.ConnectionOptions["clientCertEngine"]; - key?: tls.ConnectionOptions["key"]; - passphrase?: tls.ConnectionOptions["passphrase"]; - pfx?: tls.ConnectionOptions["pfx"]; - rejectUnauthorized?: tls.ConnectionOptions["rejectUnauthorized"]; - secureProtocol?: tls.ConnectionOptions["secureProtocol"]; - servername?: tls.ConnectionOptions["servername"]; - } + rejectUnauthorized?: boolean; // Defaults to true + servername?: string; // SNI TLS Extension + pfx?: string | Buffer | Array; + key?: string | Buffer | Array; + passphrase?: string; + cert?: string | Buffer | Array; + ca?: string | Buffer | Array; + ciphers?: string; + clientCertEngine?: string; + secureProtocol?: string; // SSL Method, e.g. SSLv23_method + }; export interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions { rejectUnauthorized?: boolean; From 7bfcc391dff2ca8a5f092f3a5fc7236002af0658 Mon Sep 17 00:00:00 2001 From: Simon Buchan Date: Thu, 8 Feb 2018 10:19:46 +1300 Subject: [PATCH 235/463] Update apex.js to fix CI. --- types/apex.js/apex.js-tests.ts | 2 +- types/apex.js/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/apex.js/apex.js-tests.ts b/types/apex.js/apex.js-tests.ts index 0595ef43ea..f5d96e2c54 100644 --- a/types/apex.js/apex.js-tests.ts +++ b/types/apex.js/apex.js-tests.ts @@ -1,4 +1,4 @@ -import * as λ from "apex.js"; +import λ = require("apex.js"); const handler = λ((event, context) => { console.log("Event: " + JSON.stringify(event)); diff --git a/types/apex.js/index.d.ts b/types/apex.js/index.d.ts index 0998ce794c..20e05d2a5e 100644 --- a/types/apex.js/index.d.ts +++ b/types/apex.js/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/apex/node-apex // Definitions by: Yoriki Yamaguchi // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 /// From 60fa737201c97ae15219b9082ad9885068707002 Mon Sep 17 00:00:00 2001 From: David Paz Date: Fri, 28 Jul 2017 15:49:01 +0200 Subject: [PATCH 236/463] Add type definition for jquery.stickem plugin --- types/jquery.stickem/index.d.ts | 53 ++++++++++++++++++++ types/jquery.stickem/jquery.stickem-tests.ts | 19 +++++++ types/jquery.stickem/tsconfig.json | 21 ++++++++ 3 files changed, 93 insertions(+) create mode 100644 types/jquery.stickem/index.d.ts create mode 100644 types/jquery.stickem/jquery.stickem-tests.ts create mode 100644 types/jquery.stickem/tsconfig.json diff --git a/types/jquery.stickem/index.d.ts b/types/jquery.stickem/index.d.ts new file mode 100644 index 0000000000..8a39a7dc87 --- /dev/null +++ b/types/jquery.stickem/index.d.ts @@ -0,0 +1,53 @@ +// Type definitions for jquery.stickem.js 1.4.1 +// Project: https://github.com/davist11/jQuery-Stickem +// Definitions by: David Paz +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +/// + +interface StickemSettings { + /** + * selector for element to make sticky + */ + item?: string; + + /** + * selector for content container, sizes matched with `item` + */ + container?: string; + + /** + * css class used to apply + */ + stickClass?: string; + + /** + * css class used to apply when ending sticky + */ + endStickClass?: string; + + /** + * offset to use for the sticky element in the parent element + */ + offset?: number | string; + + /** + * where to place sticky element + */ + start?: number | string; + + /** + * Callback to execute when in stick state + */ + onStick?: Function, + + /** + * Callback to execute when getting out of stick state + */ + onUnstick?: Function +} + +interface JQuery { + stickem(settings?: StickemSettings): JQuery; +} diff --git a/types/jquery.stickem/jquery.stickem-tests.ts b/types/jquery.stickem/jquery.stickem-tests.ts new file mode 100644 index 0000000000..37fb586280 --- /dev/null +++ b/types/jquery.stickem/jquery.stickem-tests.ts @@ -0,0 +1,19 @@ +// without options +$('div').stickem(); + +jQuery('div').stickem(); + +// with options +$('div').stickem({item: + '.stickem', + container: '.stickem-container', + stickClass: 'stickit', + endStickClass: 'stickit-end' +}); + +jQuery('div').stickem({ + item: '.stickem', + container: '.stickem-container', + stickClass: 'stickit', + endStickClass: 'stickit-end' +}); \ No newline at end of file diff --git a/types/jquery.stickem/tsconfig.json b/types/jquery.stickem/tsconfig.json new file mode 100644 index 0000000000..57b4feb0b6 --- /dev/null +++ b/types/jquery.stickem/tsconfig.json @@ -0,0 +1,21 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "baseUrl": "types", + "typeRoots": ["types"], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "jquery.stickem-tests.ts" + ] +} \ No newline at end of file From b2a739c82b974078862c9ed092cab1b02bfda103 Mon Sep 17 00:00:00 2001 From: David Paz Date: Fri, 28 Jul 2017 16:53:06 +0200 Subject: [PATCH 237/463] Fix path in tsconfig.json --- types/jquery.stickem/tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/jquery.stickem/tsconfig.json b/types/jquery.stickem/tsconfig.json index 57b4feb0b6..dd76da3bf5 100644 --- a/types/jquery.stickem/tsconfig.json +++ b/types/jquery.stickem/tsconfig.json @@ -8,8 +8,8 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, - "baseUrl": "types", - "typeRoots": ["types"], + "baseUrl": "../", + "typeRoots": ["../"], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true From 27a54135847e4df91385d272f15bb4db6b301172 Mon Sep 17 00:00:00 2001 From: David Paz Date: Fri, 28 Jul 2017 17:23:03 +0200 Subject: [PATCH 238/463] Add strict null check --- types/jquery.stickem/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/jquery.stickem/tsconfig.json b/types/jquery.stickem/tsconfig.json index dd76da3bf5..885a76e305 100644 --- a/types/jquery.stickem/tsconfig.json +++ b/types/jquery.stickem/tsconfig.json @@ -7,7 +7,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "baseUrl": "../", "typeRoots": ["../"], "types": [], From 4bb00c69f459735a65c721d8f8114d44c69718d6 Mon Sep 17 00:00:00 2001 From: David Paz Date: Wed, 7 Feb 2018 23:20:26 +0100 Subject: [PATCH 239/463] Remove path from version --- types/jquery.stickem/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/jquery.stickem/index.d.ts b/types/jquery.stickem/index.d.ts index 8a39a7dc87..6b223805ec 100644 --- a/types/jquery.stickem/index.d.ts +++ b/types/jquery.stickem/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for jquery.stickem.js 1.4.1 +// Type definitions for jquery.stickem.js 1.4 // Project: https://github.com/davist11/jQuery-Stickem // Definitions by: David Paz // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From be2be3cfbf4c7bab944820a905798b763cf0c7c8 Mon Sep 17 00:00:00 2001 From: David Paz Date: Wed, 7 Feb 2018 23:31:53 +0100 Subject: [PATCH 240/463] Add missing tslint.json file --- types/jquery.stickem/tslint.json | 79 ++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 types/jquery.stickem/tslint.json diff --git a/types/jquery.stickem/tslint.json b/types/jquery.stickem/tslint.json new file mode 100644 index 0000000000..a41bf5d19a --- /dev/null +++ b/types/jquery.stickem/tslint.json @@ -0,0 +1,79 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "adjacent-overload-signatures": false, + "array-type": false, + "arrow-return-shorthand": false, + "ban-types": false, + "callable-types": false, + "comment-format": false, + "dt-header": false, + "eofline": false, + "export-just-namespace": false, + "import-spacing": false, + "interface-name": false, + "interface-over-type-literal": false, + "jsdoc-format": false, + "max-line-length": false, + "member-access": false, + "new-parens": false, + "no-any-union": false, + "no-boolean-literal-compare": false, + "no-conditional-assignment": false, + "no-consecutive-blank-lines": false, + "no-construct": false, + "no-declare-current-package": false, + "no-duplicate-imports": false, + "no-duplicate-variable": false, + "no-empty-interface": false, + "no-for-in-array": false, + "no-inferrable-types": false, + "no-internal-module": false, + "no-irregular-whitespace": false, + "no-mergeable-namespace": false, + "no-misused-new": false, + "no-namespace": false, + "no-object-literal-type-assertion": false, + "no-padding": false, + "no-redundant-jsdoc": false, + "no-redundant-jsdoc-2": false, + "no-redundant-undefined": false, + "no-reference-import": false, + "no-relative-import-in-test": false, + "no-self-import": false, + "no-single-declare-module": false, + "no-string-throw": false, + "no-unnecessary-callback-wrapper": false, + "no-unnecessary-class": false, + "no-unnecessary-generics": false, + "no-unnecessary-qualifier": false, + "no-unnecessary-type-assertion": false, + "no-useless-files": false, + "no-var-keyword": false, + "no-var-requires": false, + "no-void-expression": false, + "no-trailing-whitespace": false, + "object-literal-key-quotes": false, + "object-literal-shorthand": false, + "one-line": false, + "one-variable-per-declaration": false, + "only-arrow-functions": false, + "prefer-conditional-expression": false, + "prefer-const": false, + "prefer-declare-function": false, + "prefer-for-of": false, + "prefer-method-signature": false, + "prefer-template": false, + "radix": false, + "semicolon": false, + "space-before-function-paren": false, + "space-within-parens": false, + "strict-export-declare-modifiers": false, + "trim-file": false, + "triple-equals": false, + "typedef-whitespace": false, + "unified-signatures": false, + "void-return": false, + "whitespace": false + } +} From 5cdbe8d38fa3ca1b588bfff699bcf48d4495cfd7 Mon Sep 17 00:00:00 2001 From: David Paz Date: Wed, 7 Feb 2018 23:57:06 +0100 Subject: [PATCH 241/463] Add missing compilerOptions["esModuleInterop"] === true --- types/jquery.stickem/tsconfig.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/types/jquery.stickem/tsconfig.json b/types/jquery.stickem/tsconfig.json index 885a76e305..7e87cb9015 100644 --- a/types/jquery.stickem/tsconfig.json +++ b/types/jquery.stickem/tsconfig.json @@ -7,15 +7,19 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": true, + "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "jquery.stickem-tests.ts" ] -} \ No newline at end of file +} From e43b20962169519c5e01099b1b3af8db93eb75e6 Mon Sep 17 00:00:00 2001 From: Simon Buchan Date: Thu, 8 Feb 2018 11:59:17 +1300 Subject: [PATCH 242/463] Fix tests for strictNullChecks: true --- types/aws-lambda/aws-lambda-tests.ts | 172 ++++++++++++++------------- types/aws-lambda/tsconfig.json | 4 +- 2 files changed, 91 insertions(+), 85 deletions(-) diff --git a/types/aws-lambda/aws-lambda-tests.ts b/types/aws-lambda/aws-lambda-tests.ts index 6d0d83b210..bbe2ea7a81 100644 --- a/types/aws-lambda/aws-lambda-tests.ts +++ b/types/aws-lambda/aws-lambda-tests.ts @@ -1,28 +1,34 @@ -let str: string; -let date: Date; -let anyObj: any; -let num: number; -let error: Error; -let b: boolean; -let apiGwEvtReqCtx: AWSLambda.APIGatewayEventRequestContext; -let apiGwEvt: AWSLambda.APIGatewayEvent; -let customAuthorizerEvt: AWSLambda.CustomAuthorizerEvent; -let clientCtx: AWSLambda.ClientContext; -let clientContextEnv: AWSLambda.ClientContextEnv; -let clientContextClient: AWSLambda.ClientContextClient; -let context: AWSLambda.Context; -let identity: AWSLambda.CognitoIdentity; -let proxyResult: AWSLambda.ProxyResult; -let authResponse: AWSLambda.AuthResponse; -let policyDocument: AWSLambda.PolicyDocument; -let statement: AWSLambda.Statement; -let authResponseContext: AWSLambda.AuthResponseContext; -let snsEvt: AWSLambda.SNSEvent; -let snsEvtRecs: AWSLambda.SNSEventRecord[]; -let snsEvtRec: AWSLambda.SNSEventRecord; -let snsMsg: AWSLambda.SNSMessage; -let snsMsgAttr: AWSLambda.SNSMessageAttribute; -let snsMsgAttrs: AWSLambda.SNSMessageAttributes; +declare let str: string; +declare let strOrNull: string | null; +declare let strOrUndefined: string | undefined; +declare let date: Date; +declare let anyObj: any; +declare let num: number; +declare let error: Error; +declare let bool: boolean; +declare let boolOrUndefined: boolean | undefined; +declare let apiGwEvtReqCtx: AWSLambda.APIGatewayEventRequestContext; +declare let apiGwEvt: AWSLambda.APIGatewayEvent; +declare let customAuthorizerEvt: AWSLambda.CustomAuthorizerEvent; +declare let clientCtx: AWSLambda.ClientContext; +declare let clientCtxOrUndefined: AWSLambda.ClientContext | undefined; +declare let clientContextEnv: AWSLambda.ClientContextEnv; +declare let clientContextClient: AWSLambda.ClientContextClient; +declare let context: AWSLambda.Context; +declare let identity: AWSLambda.CognitoIdentity; +declare let identityOrUndefined: AWSLambda.CognitoIdentity | undefined; +declare let proxyResult: AWSLambda.ProxyResult; +declare let authResponse: AWSLambda.AuthResponse; +declare let policyDocument: AWSLambda.PolicyDocument; +declare let statement: AWSLambda.Statement; +declare let authResponseContext: AWSLambda.AuthResponseContext; +declare let authResponseContextOpt: AWSLambda.AuthResponseContext | null | undefined; +declare let snsEvt: AWSLambda.SNSEvent; +declare let snsEvtRecs: AWSLambda.SNSEventRecord[]; +declare let snsEvtRec: AWSLambda.SNSEventRecord; +declare let snsMsg: AWSLambda.SNSMessage; +declare let snsMsgAttr: AWSLambda.SNSMessageAttribute; +declare let snsMsgAttrs: AWSLambda.SNSMessageAttributes; const S3EvtRec: AWSLambda.S3EventRecord = { eventVersion: '2.0', eventSource: 'aws:s3', @@ -72,44 +78,44 @@ declare const scheduledEvent: AWSLambda.ScheduledEvent; /* API Gateway Event request context */ str = apiGwEvtReqCtx.accountId; str = apiGwEvtReqCtx.apiId; -authResponseContext = apiGwEvtReqCtx.authorizer; +authResponseContextOpt = apiGwEvtReqCtx.authorizer; str = apiGwEvtReqCtx.httpMethod; -str = apiGwEvtReqCtx.identity.accessKey; -str = apiGwEvtReqCtx.identity.accountId; -str = apiGwEvtReqCtx.identity.apiKey; -str = apiGwEvtReqCtx.identity.caller; -str = apiGwEvtReqCtx.identity.cognitoAuthenticationProvider; -str = apiGwEvtReqCtx.identity.cognitoAuthenticationType; -str = apiGwEvtReqCtx.identity.cognitoIdentityId; -str = apiGwEvtReqCtx.identity.cognitoIdentityPoolId; +strOrNull = apiGwEvtReqCtx.identity.accessKey; +strOrNull = apiGwEvtReqCtx.identity.accountId; +strOrNull = apiGwEvtReqCtx.identity.apiKey; +strOrNull = apiGwEvtReqCtx.identity.caller; +strOrNull = apiGwEvtReqCtx.identity.cognitoAuthenticationProvider; +strOrNull = apiGwEvtReqCtx.identity.cognitoAuthenticationType; +strOrNull = apiGwEvtReqCtx.identity.cognitoIdentityId; +strOrNull = apiGwEvtReqCtx.identity.cognitoIdentityPoolId; str = apiGwEvtReqCtx.identity.sourceIp; -str = apiGwEvtReqCtx.identity.user; -str = apiGwEvtReqCtx.identity.userAgent; -str = apiGwEvtReqCtx.identity.userArn; +strOrNull = apiGwEvtReqCtx.identity.user; +strOrNull = apiGwEvtReqCtx.identity.userAgent; +strOrNull = apiGwEvtReqCtx.identity.userArn; str = apiGwEvtReqCtx.stage; str = apiGwEvtReqCtx.requestId; str = apiGwEvtReqCtx.resourceId; str = apiGwEvtReqCtx.resourcePath; /* API Gateway Event */ -str = apiGwEvt.body; +strOrNull = apiGwEvt.body; str = apiGwEvt.headers["example"]; str = apiGwEvt.httpMethod; -b = apiGwEvt.isBase64Encoded; +bool = apiGwEvt.isBase64Encoded; str = apiGwEvt.path; -str = apiGwEvt.pathParameters["example"]; -str = apiGwEvt.queryStringParameters["example"]; -str = apiGwEvt.stageVariables["example"]; +str = apiGwEvt.pathParameters!["example"]; +str = apiGwEvt.queryStringParameters!["example"]; +str = apiGwEvt.stageVariables!["example"]; apiGwEvtReqCtx = apiGwEvt.requestContext; str = apiGwEvt.resource; /* API Gateway CustomAuthorizer Event */ str = customAuthorizerEvt.type; str = customAuthorizerEvt.methodArn; -str = customAuthorizerEvt.authorizationToken; -str = apiGwEvt.pathParameters["example"]; -str = apiGwEvt.queryStringParameters["example"]; -str = apiGwEvt.stageVariables["example"]; +strOrUndefined = customAuthorizerEvt.authorizationToken; +str = apiGwEvt.pathParameters!["example"]; +str = apiGwEvt.queryStringParameters!["example"]; +str = apiGwEvt.stageVariables!["example"]; apiGwEvtReqCtx = apiGwEvt.requestContext; /* DynamoDB Stream Event */ @@ -234,17 +240,17 @@ str = snsMsgAttr.Value; /* Lambda Proxy Result */ num = proxyResult.statusCode; -proxyResult.headers["example"] = str; -proxyResult.headers["example"] = b; -proxyResult.headers["example"] = num; -b = proxyResult.isBase64Encoded; +proxyResult.headers!["example"] = str; +proxyResult.headers!["example"] = bool; +proxyResult.headers!["example"] = num; +boolOrUndefined = proxyResult.isBase64Encoded; str = proxyResult.body; /* API Gateway CustomAuthorizer AuthResponse */ authResponseContext = { stringKey: str, numberKey: num, - booleanKey: b + booleanKey: bool }; statement = { @@ -300,36 +306,36 @@ cognitoUserPoolEvent.triggerSource === "TokenGeneration_AuthenticateDevice"; cognitoUserPoolEvent.triggerSource === "TokenGeneration_RefreshTokens"; str = cognitoUserPoolEvent.region; str = cognitoUserPoolEvent.userPoolId; -str = cognitoUserPoolEvent.userName; +strOrUndefined = cognitoUserPoolEvent.userName; str = cognitoUserPoolEvent.callerContext.awsSdkVersion; str = cognitoUserPoolEvent.callerContext.clientId; str = cognitoUserPoolEvent.request.userAttributes["email"]; -str = cognitoUserPoolEvent.request.validationData["k1"]; -str = cognitoUserPoolEvent.request.codeParameter; -str = cognitoUserPoolEvent.request.usernameParameter; -b = cognitoUserPoolEvent.request.newDeviceUsed; -cognitoUserPoolEvent.request.session[0].challengeName === "CUSTOM_CHALLENGE"; -cognitoUserPoolEvent.request.session[0].challengeName === "PASSWORD_VERIFIER"; -cognitoUserPoolEvent.request.session[0].challengeName === "SMS_MFA"; -cognitoUserPoolEvent.request.session[0].challengeName === "DEVICE_SRP_AUTH"; -cognitoUserPoolEvent.request.session[0].challengeName === "DEVICE_PASSWORD_VERIFIER"; -cognitoUserPoolEvent.request.session[0].challengeName === "ADMIN_NO_SRP_AUTH"; -b = cognitoUserPoolEvent.request.session[0].challengeResult; -str = cognitoUserPoolEvent.request.session[0].challengeMetaData; -str = cognitoUserPoolEvent.request.challengeName; -str = cognitoUserPoolEvent.request.privateChallengeParameters["answer"]; -str = cognitoUserPoolEvent.request.challengeAnswer["answer"]; -b = cognitoUserPoolEvent.response.answerCorrect; -str = cognitoUserPoolEvent.response.smsMessage; -str = cognitoUserPoolEvent.response.emailMessage; -str = cognitoUserPoolEvent.response.emailSubject; -str = cognitoUserPoolEvent.response.challengeName; -b = cognitoUserPoolEvent.response.issueTokens; -b = cognitoUserPoolEvent.response.failAuthentication; -str = cognitoUserPoolEvent.response.publicChallengeParameters["captchaUrl"]; -str = cognitoUserPoolEvent.response.privateChallengeParameters["answer"]; -str = cognitoUserPoolEvent.response.challengeMetaData; -b = cognitoUserPoolEvent.response.answerCorrect; +str = cognitoUserPoolEvent.request.validationData!["k1"]; +strOrUndefined = cognitoUserPoolEvent.request.codeParameter; +strOrUndefined = cognitoUserPoolEvent.request.usernameParameter; +boolOrUndefined = cognitoUserPoolEvent.request.newDeviceUsed; +cognitoUserPoolEvent.request.session![0].challengeName === "CUSTOM_CHALLENGE"; +cognitoUserPoolEvent.request.session![0].challengeName === "PASSWORD_VERIFIER"; +cognitoUserPoolEvent.request.session![0].challengeName === "SMS_MFA"; +cognitoUserPoolEvent.request.session![0].challengeName === "DEVICE_SRP_AUTH"; +cognitoUserPoolEvent.request.session![0].challengeName === "DEVICE_PASSWORD_VERIFIER"; +cognitoUserPoolEvent.request.session![0].challengeName === "ADMIN_NO_SRP_AUTH"; +bool = cognitoUserPoolEvent.request.session![0].challengeResult; +strOrUndefined = cognitoUserPoolEvent.request.session![0].challengeMetaData; +strOrUndefined = cognitoUserPoolEvent.request.challengeName; +str = cognitoUserPoolEvent.request.privateChallengeParameters!["answer"]; +str = cognitoUserPoolEvent.request.challengeAnswer!["answer"]; +boolOrUndefined = cognitoUserPoolEvent.response.answerCorrect; +strOrUndefined = cognitoUserPoolEvent.response.smsMessage; +strOrUndefined = cognitoUserPoolEvent.response.emailMessage; +strOrUndefined = cognitoUserPoolEvent.response.emailSubject; +strOrUndefined = cognitoUserPoolEvent.response.challengeName; +boolOrUndefined = cognitoUserPoolEvent.response.issueTokens; +boolOrUndefined = cognitoUserPoolEvent.response.failAuthentication; +str = cognitoUserPoolEvent.response.publicChallengeParameters!["captchaUrl"]; +str = cognitoUserPoolEvent.response.privateChallengeParameters!["answer"]; +strOrUndefined = cognitoUserPoolEvent.response.challengeMetaData; +boolOrUndefined = cognitoUserPoolEvent.response.answerCorrect; // CloudFormation Custom Resource switch (cloudformationCustomResourceEvent.RequestType) { @@ -353,7 +359,7 @@ switch (cloudformationCustomResourceEvent.RequestType) { anyObj = cloudformationCustomResourceResponse.Data; str = cloudformationCustomResourceResponse.LogicalResourceId; str = cloudformationCustomResourceResponse.PhysicalResourceId; -str = cloudformationCustomResourceResponse.Reason; +strOrUndefined = cloudformationCustomResourceResponse.Reason; str = cloudformationCustomResourceResponse.RequestId; str = cloudformationCustomResourceResponse.StackId; str = cloudformationCustomResourceResponse.Status; @@ -368,7 +374,7 @@ str = scheduledEvent.source; str = scheduledEvent.time; /* Context */ -b = context.callbackWaitsForEmptyEventLoop; +bool = context.callbackWaitsForEmptyEventLoop; str = context.functionName; str = context.functionVersion; str = context.invokedFunctionArn; @@ -376,8 +382,8 @@ num = context.memoryLimitInMB; str = context.awsRequestId; str = context.logGroupName; str = context.logStreamName; -identity = context.identity; -clientCtx = context.clientContext; +identityOrUndefined = context.identity; +clientCtxOrUndefined = context.clientContext; /* CognitoIdentity */ str = identity.cognitoIdentityId; @@ -420,7 +426,7 @@ function callback(cb: AWSLambda.Callback) { cb(null); cb(error); cb(null, anyObj); - cb(null, b); + cb(null, bool); cb(null, str); cb(null, num); } diff --git a/types/aws-lambda/tsconfig.json b/types/aws-lambda/tsconfig.json index 37e2690d7e..ffb0849a71 100644 --- a/types/aws-lambda/tsconfig.json +++ b/types/aws-lambda/tsconfig.json @@ -6,7 +6,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ @@ -21,4 +21,4 @@ "index.d.ts", "aws-lambda-tests.ts" ] -} \ No newline at end of file +} From 50dafbd8e340f232392f5d7b88d163a046ebfdd5 Mon Sep 17 00:00:00 2001 From: Simon Buchan Date: Thu, 8 Feb 2018 12:39:00 +1300 Subject: [PATCH 243/463] Add tests, fix some missed type name normalizations. --- types/aws-lambda/aws-lambda-tests.ts | 68 +++++++++++++++++++++++++++- types/aws-lambda/index.d.ts | 47 +++++++++++-------- 2 files changed, 95 insertions(+), 20 deletions(-) diff --git a/types/aws-lambda/aws-lambda-tests.ts b/types/aws-lambda/aws-lambda-tests.ts index bbe2ea7a81..bd29160912 100644 --- a/types/aws-lambda/aws-lambda-tests.ts +++ b/types/aws-lambda/aws-lambda-tests.ts @@ -584,8 +584,72 @@ context.fail(str); /* Handler */ let handler: AWSLambda.Handler = (event: any, context: AWSLambda.Context, cb: AWSLambda.Callback) => { }; + +// async methods return Promise, test assignability let asyncHandler: AWSLambda.Handler = async (event: any, context: AWSLambda.Context, cb: AWSLambda.Callback) => { }; + +let inferredHandler: AWSLambda.S3Handler = (event, context, cb) => { + // $ExpectType S3Event + event; + str = event.Records[0].eventName; + // $ExpectType Context + context; + str = context.functionName; + // $ExpectType Callback + cb; + cb(); + cb(null); + cb(new Error()); + // $ExpectError + cb(null, { }); +}; + +// Test using default Callback type still works. +let defaultCallbackHandler: AWSLambda.APIGatewayProxyHandler = (event: AWSLambda.APIGatewayEvent, context: AWSLambda.Context, cb: AWSLambda.Callback) => { }; + +// Specific types +let s3Handler: AWSLambda.S3Handler = (event: AWSLambda.S3Event, context: AWSLambda.Context, cb: AWSLambda.Callback) => {}; +// Test old name +let s3CreateHandler: AWSLambda.S3Handler = (event: AWSLambda.S3CreateEvent, context: AWSLambda.Context, cb: AWSLambda.Callback) => {}; +s3Handler = s3CreateHandler; + +let dynamoDBStreamHandler: AWSLambda.DynamoDBStreamHandler = (event: AWSLambda.DynamoDBStreamEvent, context: AWSLambda.Context, cb: AWSLambda.Callback) => {}; + +let snsHandler: AWSLambda.SNSHandler = (event: AWSLambda.SNSEvent, context: AWSLambda.Context, cb: AWSLambda.Callback) => {}; + +let cognitoUserPoolHandler: AWSLambda.CognitoUserPoolTriggerHandler = (event: AWSLambda.CognitoUserPoolEvent, context: AWSLambda.Context, cb: AWSLambda.Callback) => {}; + +let cloudFormationCustomResourceHandler: AWSLambda.CloudFormationCustomResourceHandler = + (event: AWSLambda.CloudFormationCustomResourceEvent, context: AWSLambda.Context, cb: AWSLambda.Callback) => {}; + +let cloudWatchLogsHandler: AWSLambda.CloudWatchLogsHandler = (event: AWSLambda.CloudWatchLogsEvent, context: AWSLambda.Context, cb: AWSLambda.Callback) => {}; + +let scheduledHandler: AWSLambda.ScheduledHandler = (event: AWSLambda.ScheduledEvent, context: AWSLambda.Context, cb: AWSLambda.Callback) => {}; + +let apiGtwProxyHandler: AWSLambda.APIGatewayProxyHandler = (event: AWSLambda.APIGatewayProxyEvent, context: AWSLambda.Context, cb: AWSLambda.APIGatewayProxyCallback) => { }; +// Test old names let proxyHandler: AWSLambda.ProxyHandler = (event: AWSLambda.APIGatewayEvent, context: AWSLambda.Context, cb: AWSLambda.ProxyCallback) => { }; -let asyncProxyHandler: AWSLambda.ProxyHandler = async (event: AWSLambda.APIGatewayEvent, context: AWSLambda.Context, cb: AWSLambda.ProxyCallback) => { }; +apiGtwProxyHandler = proxyHandler; + +let cloudFrontRequestHandler: AWSLambda.CloudFrontRequestHandler = (event: AWSLambda.CloudFrontRequestEvent, context: AWSLambda.Context, cb: AWSLambda.CloudFrontRequestCallback) => { }; + +let cloudFrontResponseHandler: AWSLambda.CloudFrontResponseHandler = (event: AWSLambda.CloudFrontResponseEvent, context: AWSLambda.Context, cb: AWSLambda.CloudFrontResponseCallback) => { }; + let customAuthorizerHandler: AWSLambda.CustomAuthorizerHandler = (event: AWSLambda.CustomAuthorizerEvent, context: AWSLambda.Context, cb: AWSLambda.CustomAuthorizerCallback) => { }; -let asyncCustomAuthorizerHandler: AWSLambda.CustomAuthorizerHandler = async (event: AWSLambda.CustomAuthorizerEvent, context: AWSLambda.Context, cb: AWSLambda.CustomAuthorizerCallback) => { }; + +interface CustomEvent { eventString: string; eventBool: boolean; } +interface CustomResult { resultString: string; resultBool?: boolean; } +type CustomCallback = AWSLambda.Callback; +let customHandler: AWSLambda.Handler = (event, context, cb) => { + // $ExpectType CustomEvent + event; + str = event.eventString; + bool = event.eventBool; + // $ExpectType Context + context; + // $ExpectType Callback + cb; + cb(null, { resultString: str, resultBool: bool }); + // $ExpectError + cb(null, { resultString: bool }); +}; diff --git a/types/aws-lambda/index.d.ts b/types/aws-lambda/index.d.ts index a87c6da946..03910b108c 100644 --- a/types/aws-lambda/index.d.ts +++ b/types/aws-lambda/index.d.ts @@ -46,7 +46,7 @@ export interface APIGatewayEventRequestContext { } // API Gateway "event" -export interface APIGatewayEvent { +export interface APIGatewayProxyEvent { body: string | null; headers: { [name: string]: string }; httpMethod: string; @@ -58,6 +58,7 @@ export interface APIGatewayEvent { requestContext: APIGatewayEventRequestContext; resource: string; } +export type APIGatewayEvent = APIGatewayProxyEvent; // Old name // API Gateway CustomAuthorizer "event" export interface CustomAuthorizerEvent { @@ -201,7 +202,7 @@ export type S3CreateEvent = S3Event; // old name * Cognito User Pool event * http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html */ -export interface CognitoUserPoolEvent { +export interface CognitoUserPoolTriggerEvent { version: number; triggerSource: | "PreSignUp_SignUp" @@ -261,6 +262,7 @@ export interface CognitoUserPoolEvent { answerCorrect?: boolean; }; } +export type CognitoUserPoolEvent = CognitoUserPoolTriggerEvent; /** * CloudFormation Custom Resource event and response @@ -496,6 +498,15 @@ export interface CloudFrontEvent { }; } +// https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-generating-http-responses.html#lambda-generating-http-responses-object +export interface CloudFrontResultResponse { + status: string; + statusDescription?: string; + headers?: CloudFrontHeaders; + bodyEncoding?: 'text' | 'base64'; + body?: string; +} + export interface CloudFrontResponseEvent { Records: Array<{ cf: CloudFrontEvent & { @@ -505,6 +516,8 @@ export interface CloudFrontResponseEvent { }>; } +export type CloudFrontRequestResult = undefined | null | CloudFrontResultResponse; + export interface CloudFrontRequestEvent { Records: Array<{ cf: CloudFrontEvent & { @@ -513,14 +526,7 @@ export interface CloudFrontRequestEvent { }>; } -// https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-generating-http-responses.html#lambda-generating-http-responses-object -export interface CloudFrontResult { - status: string; - statusDescription?: string; - headers?: CloudFrontHeaders; - bodyEncoding?: 'text' | 'base64'; - body?: string; -} +export type CloudFrontResponseResult = undefined | null | CloudFrontResultResponse; /** * AWS Lambda handler function. @@ -547,15 +553,17 @@ export type Callback = (error?: Error | null, result?: TResult) = export type S3Handler = Handler; -export type DynamoDBHandler = Handler; +export type DynamoDBStreamHandler = Handler; export type SNSHandler = Handler; // No SESHandler: SES event source is delivered as SNS notifications // https://docs.aws.amazon.com/lambda/latest/dg/invoking-lambda-function.html#supported-event-source-ses -export type CognitoUserPoolTriggerHandler = Handler; -// TODO: Different event triggers/response pairs? +// Result type is weird: docs and samples say to return the mutated event, but it only requires an object +// with a "response" field, the type of which is specific to the event.triggerType. Leave as any for now. +export type CognitoUserPoolTriggerHandler = Handler; +// TODO: Different event/handler types for each event trigger so we can type the result? // TODO: CognitoSync @@ -567,21 +575,24 @@ export type CloudWatchLogsHandler = Handler; // TODO: CodeCommit -export type ScheduledEventHandler = Handler; +export type ScheduledHandler = Handler; // TODO: AWS Config // TODO: Alexa -export type APIGatewayProxyHandler = Handler; -export type ProxyHandler = APIGatewayProxyHandler; // Old name +export type APIGatewayProxyHandler = Handler; export type APIGatewayProxyCallback = Callback; +export type ProxyHandler = APIGatewayProxyHandler; // Old name export type ProxyCallback = APIGatewayProxyCallback; // Old name // TODO: IoT -export type CloudFrontRequestHandler = Handler; -export type CloudFrontResponseHandler = Handler; +export type CloudFrontRequestHandler = Handler; +export type CloudFrontRequestCallback = Callback; + +export type CloudFrontResponseHandler = Handler; +export type CloudFrontResponseCallback = Callback; // TODO: Kinesis (should be very close to DynamoDB stream?) From 06e989ba780de0334824fa0c4b28adc3d3fe20e2 Mon Sep 17 00:00:00 2001 From: Garth Kidd Date: Thu, 8 Feb 2018 11:37:13 +1100 Subject: [PATCH 244/463] Revert version, per feedback from @linusu and @codeanimal TODO: squash. --- types/stripe/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/stripe/index.d.ts b/types/stripe/index.d.ts index 92f07f2eed..12f2b4abea 100644 --- a/types/stripe/index.d.ts +++ b/types/stripe/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for stripe 6.0 +// Type definitions for stripe 5.0 // Project: https://github.com/stripe/stripe-node/ // Definitions by: William Johnston // Peter Harris From a31aa8ac933311a25931b386e55b55f4da9920c1 Mon Sep 17 00:00:00 2001 From: David Paz Date: Thu, 8 Feb 2018 00:01:41 +0100 Subject: [PATCH 245/463] Add types definitions for chessboardjs --- types/chessboardjs/chessboardjs-tests.ts | 92 ++++++++++++++++++++++++ types/chessboardjs/index.d.ts | 89 +++++++++++++++++++++++ types/chessboardjs/tsconfig.json | 25 +++++++ types/chessboardjs/tslint.json | 79 ++++++++++++++++++++ 4 files changed, 285 insertions(+) create mode 100644 types/chessboardjs/chessboardjs-tests.ts create mode 100644 types/chessboardjs/index.d.ts create mode 100644 types/chessboardjs/tsconfig.json create mode 100644 types/chessboardjs/tslint.json diff --git a/types/chessboardjs/chessboardjs-tests.ts b/types/chessboardjs/chessboardjs-tests.ts new file mode 100644 index 0000000000..b2750b0473 --- /dev/null +++ b/types/chessboardjs/chessboardjs-tests.ts @@ -0,0 +1,92 @@ +import chessboardjs = require('chessboardjs'); + +/** + * Basic Usage + */ + +// empty position +var board = chessboardjs.ChessBoard('board'); + +// Start position +var board = chessboardjs.ChessBoard('board', 'start'); + +// FEN string +var ruyLopez = 'r1bqkbnr/pppp1ppp/2n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R'; +var board = chessboardjs.ChessBoard('board', ruyLopez); + +// Position Object +var position: chessboardjs.BoardPositionType = { + d6: chessboardjs.Piece.bK, + d4: chessboardjs.Piece.wP, + e4: chessboardjs.Piece.wK +}; +var board = chessboardjs.ChessBoard('board', position); + +// Multiple boards +var config1: chessboardjs.BoardConfig = { + position: 'start', + showNotation: false +}; +var board1 = chessboardjs.ChessBoard('board1', config1); + +var board2 = chessboardjs.ChessBoard('board2', { + position: 'r1bqkbnr/pppp1ppp/2n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R', + showNotation: false +}); + +var board3 = chessboardjs.ChessBoard('board3', { + position: 'r1k4r/p2nb1p1/2b4p/1p1n1p2/2PP4/3Q1NB1/1P3PPP/R5K1', + showNotation: false +}); + +/** + * Methods + */ + +// Get Position +var cfg: chessboardjs.BoardConfig = { + draggable: true, + position: 'start' +}; +var board = chessboardjs.ChessBoard('board', cfg); +var pos: chessboardjs.BoardPositionType = board.position(); + +var posFEN: string = board.position('fen'); + +// Set position + +// FEN +board.position('r1k4r/p2nb1p1/2b4p/1p1n1p2/2PP4/3Q1NB1/1P3PPP/R5K1'); + +// animated +board.position(ruyLopez, true); + +// instantly +board.position(ruyLopez, false); + +var position: chessboardjs.BoardPositionType = { + a4: chessboardjs.Piece.bK, + c4: chessboardjs.Piece.wK, + a7: chessboardjs.Piece.wR +}; +board.position(position); + +// Clear +board.clear(false); + +// Move +board.start(); +board.move('e2-e4'); + +// Orientation +var oritentation = board.orientation(); + +// change orientation +board.orientation('black'); + +// Recalculates board and square sizes based on the parent element and redraws +// the board accordingly. +board.resize(); + +// Destroy +board.destroy(); \ No newline at end of file diff --git a/types/chessboardjs/index.d.ts b/types/chessboardjs/index.d.ts new file mode 100644 index 0000000000..4f63d6f471 --- /dev/null +++ b/types/chessboardjs/index.d.ts @@ -0,0 +1,89 @@ +// Type definitions for chessboardjs 0.3 +// Project: https://github.com/oakmac/chessboardjs/ +// Definitions by: Bayo Olatunji +// David Paz +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.4 + +declare namespace chessboardjs { + + enum Square { + a8 = 'a8', b8 = 'b8', c8 = 'c8', d8 = 'd8', e8 = 'e8', f8 = 'f8', g8 = 'g7', h8 = 'h8', + a7 = 'a7', b7 = 'b7', c7 = 'c7', d7 = 'd7', e7 = 'e7', f7 = 'f7', g7 = 'g7', h7 = 'h7', + a6 = 'a6', b6 = 'b6', c6 = 'c6', d6 = 'd6', e6 = 'e6', f6 = 'f6', g6 = 'g7', h6 = 'h6', + a5 = 'a5', b5 = 'b5', c5 = 'c5', d5 = 'd5', e5 = 'e5', f5 = 'f5', g5 = 'g7', h5 = 'h5', + a4 = 'a4', b4 = 'b4', c4 = 'c4', d4 = 'd4', e4 = 'e4', f4 = 'f4', g4 = 'g7', h4 = 'h4', + a3 = 'a3', b3 = 'b3', c3 = 'c3', d3 = 'd3', e3 = 'e3', f3 = 'f3', g3 = 'g7', h3 = 'h3', + a2 = 'a2', b2 = 'b2', c2 = 'c2', d2 = 'd2', e2 = 'e2', f2 = 'f2', g2 = 'g7', h2 = 'h2', + a1 = 'a1', b1 = 'b1', c1 = 'c1', d1 = 'd1', e1 = 'e1', f1 = 'f1', g1 = 'g7', h1 = 'h1', + } + + enum Piece { + bK = 'bK', bQ = 'bQ', bR = 'bR', bN = 'bN', bB = 'bB', bP = 'bP', + wK = 'wK', wQ = 'wQ', wR = 'wR', wN = 'wN', wB = 'wB', wP = 'wP' + } + + type BoardPositionType = { + [P in Square]?: Piece; + } + + type PositionType = 'start' | string | BoardPositionType; + type PositionFenType = 'fen'; + type SpeedType = 'slow' | 'fast'; + type OrientationFlipType = 'flip'; + type OrientationType = 'white' | 'black'; + type DropOffBoardType = 'snapback' | 'trash'; + + export interface BoardConfig { + onDrop?: Function; + draggable?: boolean; + onChange?: Function; + onMoveEnd?: Function; + onSnapEnd?: Function; + sparePieces?: boolean; + onDragMove?: Function; + showNotation?: boolean; + onDragStart?: Function; + onSnapbackEnd?: Function; + onMouseoutSquare?: Function; + onMouseoverSquare?: Function; + pieceTheme?: string | Function; + orientation?: OrientationType; + showErrors?: boolean | string | Function; + moveSpeed?: number | SpeedType; + snapSpeed?: number | SpeedType; + trashSpeed?: number | SpeedType; + dropOffBoard?: DropOffBoardType; + appearSpeed?: number | SpeedType; + snapbackSpeed?: number | SpeedType; + position?: PositionType; + } + + interface ChessBoardInstance { + clear(useAnimation?: boolean): void; + destroy(): void; + fen(): string; + flip(): void; + move(...args: string[]): BoardPositionType; + position(): BoardPositionType; + position(fen: PositionFenType): string; + position(newPosition: PositionType, useAnimation?: boolean): void + orientation(side?: OrientationType | OrientationFlipType): string; + resize(): void; + start(useAnimation?: boolean): void; + } + + interface ChessBoardFactory { + (containerElOrId: any, config?: BoardConfig): ChessBoardInstance + (containerElOrId: any, position: string): ChessBoardInstance + (containerElOrId: any, position: BoardPositionType): ChessBoardInstance + (containerElOrId: any): ChessBoardInstance + fenToObj(fen: string): boolean | BoardPositionType; + objToFen(obj: BoardPositionType): boolean | string; + } + + export var ChessBoard: ChessBoardFactory; +} + +export = chessboardjs; +export as namespace chessboardjs; diff --git a/types/chessboardjs/tsconfig.json b/types/chessboardjs/tsconfig.json new file mode 100644 index 0000000000..30bcf0849a --- /dev/null +++ b/types/chessboardjs/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "chessboardjs-tests.ts" + ] +} \ No newline at end of file diff --git a/types/chessboardjs/tslint.json b/types/chessboardjs/tslint.json new file mode 100644 index 0000000000..a41bf5d19a --- /dev/null +++ b/types/chessboardjs/tslint.json @@ -0,0 +1,79 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "adjacent-overload-signatures": false, + "array-type": false, + "arrow-return-shorthand": false, + "ban-types": false, + "callable-types": false, + "comment-format": false, + "dt-header": false, + "eofline": false, + "export-just-namespace": false, + "import-spacing": false, + "interface-name": false, + "interface-over-type-literal": false, + "jsdoc-format": false, + "max-line-length": false, + "member-access": false, + "new-parens": false, + "no-any-union": false, + "no-boolean-literal-compare": false, + "no-conditional-assignment": false, + "no-consecutive-blank-lines": false, + "no-construct": false, + "no-declare-current-package": false, + "no-duplicate-imports": false, + "no-duplicate-variable": false, + "no-empty-interface": false, + "no-for-in-array": false, + "no-inferrable-types": false, + "no-internal-module": false, + "no-irregular-whitespace": false, + "no-mergeable-namespace": false, + "no-misused-new": false, + "no-namespace": false, + "no-object-literal-type-assertion": false, + "no-padding": false, + "no-redundant-jsdoc": false, + "no-redundant-jsdoc-2": false, + "no-redundant-undefined": false, + "no-reference-import": false, + "no-relative-import-in-test": false, + "no-self-import": false, + "no-single-declare-module": false, + "no-string-throw": false, + "no-unnecessary-callback-wrapper": false, + "no-unnecessary-class": false, + "no-unnecessary-generics": false, + "no-unnecessary-qualifier": false, + "no-unnecessary-type-assertion": false, + "no-useless-files": false, + "no-var-keyword": false, + "no-var-requires": false, + "no-void-expression": false, + "no-trailing-whitespace": false, + "object-literal-key-quotes": false, + "object-literal-shorthand": false, + "one-line": false, + "one-variable-per-declaration": false, + "only-arrow-functions": false, + "prefer-conditional-expression": false, + "prefer-const": false, + "prefer-declare-function": false, + "prefer-for-of": false, + "prefer-method-signature": false, + "prefer-template": false, + "radix": false, + "semicolon": false, + "space-before-function-paren": false, + "space-within-parens": false, + "strict-export-declare-modifiers": false, + "trim-file": false, + "triple-equals": false, + "typedef-whitespace": false, + "unified-signatures": false, + "void-return": false, + "whitespace": false + } +} From 422bdce5769ff317f05978fb605d307dba582a92 Mon Sep 17 00:00:00 2001 From: Wes Grimes Date: Wed, 7 Feb 2018 20:11:45 -0500 Subject: [PATCH 246/463] - added new subscribe() method to Parse.Query. - created test_query_subscribe() method to test new functionality. --- types/parse/index.d.ts | 2 ++ types/parse/parse-tests.ts | 13 +++++++++++++ 2 files changed, 15 insertions(+) diff --git a/types/parse/index.d.ts b/types/parse/index.d.ts index 1973c8938b..d186211983 100644 --- a/types/parse/index.d.ts +++ b/types/parse/index.d.ts @@ -4,6 +4,7 @@ // David Poetzsch-Heffter // Cedric Kemp // Flavio Negrão +// Wes Grimes // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -644,6 +645,7 @@ declare namespace Parse { select(...keys: string[]): Query; skip(n: number): Query; startsWith(key: string, prefix: string): Query; + subscribe(): Events; withinGeoBox(key: string, southwest: GeoPoint, northeast: GeoPoint): Query; withinKilometers(key: string, point: GeoPoint, maxDistance: number): Query; withinMiles(key: string, point: GeoPoint, maxDistance: number): Query; diff --git a/types/parse/parse-tests.ts b/types/parse/parse-tests.ts index 87194ba02c..06ec062880 100644 --- a/types/parse/parse-tests.ts +++ b/types/parse/parse-tests.ts @@ -491,3 +491,16 @@ function test_batch_operations() { Parse.Object.fetchAllIfNeeded(games, { sessionToken: '' }) } +function test_query_subscribe() { + // create new query from Game object type + const query = new Parse.Query(Game); + + // create subscription to Game object + const subscription = query.subscribe(); + + // listen for new Game objects created on Parse server + subscription.on('create', (game: any) => { + console.log(game); + }); +} + From 939492d648660d365b5b56ad9beacb48eb554bd0 Mon Sep 17 00:00:00 2001 From: Chris Krycho Date: Wed, 7 Feb 2018 20:27:13 -0700 Subject: [PATCH 247/463] Add Chris Krycho as additional Ember Data types author. --- types/ember-data/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/ember-data/index.d.ts b/types/ember-data/index.d.ts index 0e9ccadcb4..433e022a53 100644 --- a/types/ember-data/index.d.ts +++ b/types/ember-data/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/emberjs/data // Definitions by: Derek Wickern // Mike North +// Chris Krycho // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.4 From bfc371b386227371b8bb798cd09d8cbf447e605f Mon Sep 17 00:00:00 2001 From: Dmitriy Serdtsev Date: Thu, 8 Feb 2018 10:36:03 +0700 Subject: [PATCH 248/463] Added types for color-namer --- types/color-namer/color-namer-tests.ts | 24 ++++++++++++++++++++++++ types/color-namer/index.d.ts | 25 +++++++++++++++++++++++++ types/color-namer/tsconfig.json | 24 ++++++++++++++++++++++++ types/color-namer/tslint.json | 1 + 4 files changed, 74 insertions(+) create mode 100644 types/color-namer/color-namer-tests.ts create mode 100644 types/color-namer/index.d.ts create mode 100644 types/color-namer/tsconfig.json create mode 100644 types/color-namer/tslint.json diff --git a/types/color-namer/color-namer-tests.ts b/types/color-namer/color-namer-tests.ts new file mode 100644 index 0000000000..1328d67221 --- /dev/null +++ b/types/color-namer/color-namer-tests.ts @@ -0,0 +1,24 @@ +import namer = require('color-namer'); + +const colors1 = namer('#ffffff'); + +colors1.basic[0].distance; +colors1.basic[0].hex; +colors1.basic[0].name; +colors1.html; +colors1.ntc; +colors1.pantone; +colors1.roygbiv; +colors1.x11; + +const colors2 = namer('#ffffff', { pick: ['basic', 'html', 'ntc'] }); + +colors2.basic; +colors2.html; +colors2.ntc; + +const colors3 = namer('#ffffff', { omit: ['basic', 'html', 'ntc'] }); + +colors3.pantone; +colors3.roygbiv; +colors3.x11; diff --git a/types/color-namer/index.d.ts b/types/color-namer/index.d.ts new file mode 100644 index 0000000000..f7e9276392 --- /dev/null +++ b/types/color-namer/index.d.ts @@ -0,0 +1,25 @@ +// Type definitions for color-namer 1.3 +// Project: https://github.com/zeke/color-namer +// Definitions by: Dmitriy Serdtsev +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +export = ColorNamer; +export as namespace ColorNamer; + +declare function ColorNamer(color: string, options?: { pick: T[] }): ColorNamer.Colors; +declare function ColorNamer(color: string, options?: { omit: T[] }): ColorNamer.Colors>; + +type Diff = ({[P in T]: P} & {[P in U]: never } & { [x: string]: never })[T]; + +declare namespace ColorNamer { + type Colors = Record; + + type Palette = 'roygbiv' | 'basic' | 'html' | 'x11' | 'pantone' | 'ntc'; + + interface Color { + name: string; + hex: string; + distance: number; + } +} diff --git a/types/color-namer/tsconfig.json b/types/color-namer/tsconfig.json new file mode 100644 index 0000000000..cb048867ee --- /dev/null +++ b/types/color-namer/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "color-namer-tests.ts" + ] +} \ No newline at end of file diff --git a/types/color-namer/tslint.json b/types/color-namer/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/color-namer/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 6b263a388c3bddde00ae05d8e574733ca479be96 Mon Sep 17 00:00:00 2001 From: Tuan Anh Tran Date: Thu, 8 Feb 2018 10:46:52 +0700 Subject: [PATCH 249/463] feat: add type for camaro --- types/camaro/camaro-tests.ts | 3 +++ types/camaro/index.d.ts | 12 ++++++++++++ types/camaro/tsconfig.json | 24 ++++++++++++++++++++++++ types/camaro/tslint.json | 1 + 4 files changed, 40 insertions(+) create mode 100644 types/camaro/camaro-tests.ts create mode 100644 types/camaro/index.d.ts create mode 100644 types/camaro/tsconfig.json create mode 100644 types/camaro/tslint.json diff --git a/types/camaro/camaro-tests.ts b/types/camaro/camaro-tests.ts new file mode 100644 index 0000000000..4644c13a17 --- /dev/null +++ b/types/camaro/camaro-tests.ts @@ -0,0 +1,3 @@ +import transform = require('camaro'); + +const x: Object = transform('text', { text: 'root/child'}); diff --git a/types/camaro/index.d.ts b/types/camaro/index.d.ts new file mode 100644 index 0000000000..d220b3d285 --- /dev/null +++ b/types/camaro/index.d.ts @@ -0,0 +1,12 @@ +// Type definitions for camaro 2.2.4 +// Project: https://github.com/tuananh/camaro +// Definitions by: Tuan Anh Tran +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/** + * Transform the input xml to json using the input template object + * @param input The input xml string + * @param template The output template + */ +declare function transform(input: string, template: Object): Object; +export = transform; diff --git a/types/camaro/tsconfig.json b/types/camaro/tsconfig.json new file mode 100644 index 0000000000..5ebe7d3bb9 --- /dev/null +++ b/types/camaro/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "camaro-tests.ts" + ] +} \ No newline at end of file diff --git a/types/camaro/tslint.json b/types/camaro/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/camaro/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From f91e43df7a52d214a1f93303010b3596b168a44e Mon Sep 17 00:00:00 2001 From: rafaelsouzaf Date: Thu, 21 Dec 2017 23:24:44 -0300 Subject: [PATCH 250/463] Hapi v17 setup. --- .../definitions/plugin/plugin-registered.d.ts | 33 + types/hapi/definitions/plugin/plugin.d.ts | 47 + .../definitions/request/request-auth.d.ts | 27 + .../definitions/request/request-events.d.ts | 45 + .../definitions/request/request-info.d.ts | 41 + .../definitions/request/request-route.d.ts | 45 + types/hapi/definitions/request/request.d.ts | 216 ++ .../definitions/response/response-events.d.ts | 24 + .../definitions/response/response-object.d.ts | 288 ++ .../response/response-settings.d.ts | 33 + .../response/response-toolkit.d.ts | 133 + .../route/route-options-access-scope.d.ts | 28 + .../route/route-options-access.d.ts | 105 + .../route/route-options-cache.d.ts | 27 + .../definitions/route/route-options-cors.d.ts | 42 + .../route/route-options-payload.d.ts | 122 + .../definitions/route/route-options-pre.d.ts | 35 + .../route/route-options-response.d.ts | 84 + .../route/route-options-secure.d.ts | 74 + .../route/route-options-validate.d.ts | 92 + .../hapi/definitions/route/route-options.d.ts | 284 ++ .../server/server-auth-scheme.d.ts | 71 + .../hapi/definitions/server/server-auth.d.ts | 82 + .../hapi/definitions/server/server-cache.d.ts | 42 + .../definitions/server/server-events.d.ts | 146 + types/hapi/definitions/server/server-ext.d.ts | 146 + .../hapi/definitions/server/server-info.d.ts | 55 + .../definitions/server/server-inject.d.ts | 71 + .../definitions/server/server-method.d.ts | 64 + .../server/server-options-cache.d.ts | 25 + .../definitions/server/server-options.d.ts | 188 ++ .../hapi/definitions/server/server-realm.d.ts | 33 + .../definitions/server/server-register.d.ts | 50 + .../hapi/definitions/server/server-route.d.ts | 55 + .../server/server-state-options.d.ts | 63 + .../hapi/definitions/server/server-state.d.ts | 67 + types/hapi/definitions/server/server.d.ts | 561 ++++ types/hapi/definitions/util/json.d.ts | 27 + types/hapi/definitions/util/lifecycle.d.ts | 59 + types/hapi/definitions/util/util.d.ts | 8 + types/hapi/index.d.ts | 2763 +---------------- types/hapi/test/request/catch-all.ts | 15 + types/hapi/test/request/event-types.ts | 59 +- types/hapi/test/request/get-log.ts | 33 +- types/hapi/test/request/parameters.ts | 37 + types/hapi/test/request/query.ts | 27 +- types/hapi/test/response/continue.ts | 25 + types/hapi/test/response/error.ts | 47 +- types/hapi/test/response/redirect.ts | 20 + types/hapi/test/response/response-events.ts | 27 + types/hapi/test/response/response.ts | 36 + types/hapi/test/route/adding-routes.ts | 38 + types/hapi/test/route/config.ts | 38 +- types/hapi/test/route/handler.ts | 15 +- types/hapi/test/route/route-options-pre.ts | 42 + types/hapi/test/route/route-options.ts | 165 + types/hapi/test/server/server-app.ts | 22 + types/hapi/test/server/server-auth-api.ts | 36 + types/hapi/test/server/server-auth-default.ts | 35 + types/hapi/test/server/server-auth-test.ts | 39 + types/hapi/test/server/server-bind.ts | 27 + .../test/server/server-cache-provision.ts | 19 + types/hapi/test/server/server-cache.ts | 23 + types/hapi/test/server/server-decoder.ts | 8 + types/hapi/test/server/server-decorations.ts | 15 + types/hapi/test/server/server-encoder.ts | 8 + types/hapi/test/server/server-events-once.ts | 24 + types/hapi/test/server/server-events.ts | 11 + types/hapi/test/server/server-expose.ts | 24 + types/hapi/test/server/server-info.ts | 10 + types/hapi/test/server/server-inject.ts | 20 + types/hapi/test/server/server-listener.ts | 14 + types/hapi/test/server/server-load.ts | 14 + types/hapi/test/server/server-lookup.ts | 20 + types/hapi/test/server/server-match.ts | 20 + types/hapi/test/server/server-method.ts | 24 + types/hapi/test/server/server-methods.ts | 11 + types/hapi/test/server/server-mime.ts | 22 + types/hapi/test/server/server-options.ts | 106 + types/hapi/test/server/server-path.ts | 30 + types/hapi/test/server/server-plugins.ts | 19 + types/hapi/test/server/server-settings.ts | 12 + types/hapi/test/server/server-start.ts | 11 + types/hapi/test/server/server-state.ts | 27 + types/hapi/test/server/server-stop.ts | 17 + types/hapi/test/server/server-table.ts | 22 + types/hapi/test/server/server-version.ts | 9 + types/hapi/tsconfig.json | 111 +- types/hapi/v16/index.d.ts | 2723 ++++++++++++++++ types/hapi/{ => v16}/test/connection/table.ts | 2 +- .../{ => v16}/test/continuation/errors.ts | 4 +- .../getting-started/01-creating-a-server.ts | 0 .../test/getting-started/02-adding-routes.ts | 0 .../03-serving-static-content.ts | 0 .../test/getting-started/04-using-plugins.ts | 0 types/hapi/{ => v16}/test/path/catch-all.ts | 2 +- types/hapi/{ => v16}/test/path/parameters.ts | 2 +- types/hapi/{ => v16}/test/plugins/options.ts | 2 +- types/hapi/{ => v16}/test/reply/continue.ts | 2 +- types/hapi/{ => v16}/test/reply/entity.ts | 2 +- types/hapi/{ => v16}/test/reply/redirect.ts | 2 +- types/hapi/{ => v16}/test/reply/reply.ts | 4 +- .../hapi/{ => v16}/test/reply/state_cookie.ts | 2 +- types/hapi/v16/test/request/event-types.ts | 30 + .../test/request/generate-response.ts | 2 +- types/hapi/v16/test/request/get-log.ts | 12 + types/hapi/{ => v16}/test/request/log.ts | 2 +- types/hapi/v16/test/request/query.ts | 14 + .../hapi/{ => v16}/test/request/set-method.ts | 2 +- types/hapi/{ => v16}/test/request/set-url.ts | 4 +- types/hapi/{ => v16}/test/request/tail.ts | 2 +- .../test/response/error-representation.ts | 6 +- types/hapi/v16/test/response/error.ts | 25 + types/hapi/{ => v16}/test/response/events.ts | 2 +- .../{ => v16}/test/response/flow-control.ts | 2 +- .../test/route/additional-options.ts | 2 +- types/hapi/{ => v16}/test/route/auth.ts | 2 +- types/hapi/v16/test/route/config.ts | 46 + types/hapi/v16/test/route/handler.ts | 10 + types/hapi/{ => v16}/test/route/plugins.ts | 4 +- .../{ => v16}/test/route/prerequisites.ts | 2 +- .../{ => v16}/test/route/public-interface.ts | 2 +- types/hapi/{ => v16}/test/route/validate.ts | 4 +- types/hapi/{ => v16}/test/server/app.ts | 2 +- types/hapi/{ => v16}/test/server/auth.ts | 4 +- types/hapi/{ => v16}/test/server/bind.ts | 2 +- types/hapi/{ => v16}/test/server/cache.ts | 2 +- .../test/server/connection-options.ts | 2 +- .../hapi/{ => v16}/test/server/connections.ts | 2 +- types/hapi/{ => v16}/test/server/decoder.ts | 2 +- types/hapi/{ => v16}/test/server/decorate.ts | 8 +- .../hapi/{ => v16}/test/server/dependency.ts | 2 +- types/hapi/{ => v16}/test/server/emit.ts | 2 +- types/hapi/{ => v16}/test/server/encoder.ts | 2 +- types/hapi/{ => v16}/test/server/event.ts | 2 +- types/hapi/{ => v16}/test/server/expose.ts | 2 +- types/hapi/{ => v16}/test/server/ext.ts | 2 +- types/hapi/{ => v16}/test/server/handler.ts | 4 +- types/hapi/{ => v16}/test/server/info.ts | 2 +- .../hapi/{ => v16}/test/server/initialize.ts | 4 +- types/hapi/{ => v16}/test/server/inject.ts | 2 +- types/hapi/{ => v16}/test/server/listener.ts | 2 +- types/hapi/{ => v16}/test/server/load.ts | 2 +- types/hapi/{ => v16}/test/server/log.ts | 2 +- types/hapi/{ => v16}/test/server/lookup.ts | 2 +- types/hapi/{ => v16}/test/server/match.ts | 2 +- types/hapi/{ => v16}/test/server/method.ts | 2 +- types/hapi/{ => v16}/test/server/methods.ts | 2 +- types/hapi/{ => v16}/test/server/mime.ts | 2 +- types/hapi/{ => v16}/test/server/new.ts | 4 +- types/hapi/{ => v16}/test/server/on.ts | 2 +- types/hapi/{ => v16}/test/server/once.ts | 2 +- types/hapi/{ => v16}/test/server/path.ts | 2 +- types/hapi/{ => v16}/test/server/plugins.ts | 2 +- types/hapi/{ => v16}/test/server/realm.ts | 2 +- types/hapi/{ => v16}/test/server/register.ts | 2 +- types/hapi/{ => v16}/test/server/route.ts | 2 +- types/hapi/{ => v16}/test/server/select.ts | 2 +- types/hapi/{ => v16}/test/server/settings.ts | 2 +- types/hapi/{ => v16}/test/server/start.ts | 4 +- types/hapi/{ => v16}/test/server/state.ts | 2 +- types/hapi/{ => v16}/test/server/stop.ts | 2 +- types/hapi/{ => v16}/test/server/table.ts | 2 +- types/hapi/{ => v16}/test/server/version.ts | 2 +- types/hapi/v16/tsconfig.json | 102 + types/hapi/v16/tslint.json | 79 + 166 files changed, 8106 insertions(+), 2930 deletions(-) create mode 100644 types/hapi/definitions/plugin/plugin-registered.d.ts create mode 100644 types/hapi/definitions/plugin/plugin.d.ts create mode 100644 types/hapi/definitions/request/request-auth.d.ts create mode 100644 types/hapi/definitions/request/request-events.d.ts create mode 100644 types/hapi/definitions/request/request-info.d.ts create mode 100644 types/hapi/definitions/request/request-route.d.ts create mode 100644 types/hapi/definitions/request/request.d.ts create mode 100644 types/hapi/definitions/response/response-events.d.ts create mode 100644 types/hapi/definitions/response/response-object.d.ts create mode 100644 types/hapi/definitions/response/response-settings.d.ts create mode 100644 types/hapi/definitions/response/response-toolkit.d.ts create mode 100644 types/hapi/definitions/route/route-options-access-scope.d.ts create mode 100644 types/hapi/definitions/route/route-options-access.d.ts create mode 100644 types/hapi/definitions/route/route-options-cache.d.ts create mode 100644 types/hapi/definitions/route/route-options-cors.d.ts create mode 100644 types/hapi/definitions/route/route-options-payload.d.ts create mode 100644 types/hapi/definitions/route/route-options-pre.d.ts create mode 100644 types/hapi/definitions/route/route-options-response.d.ts create mode 100644 types/hapi/definitions/route/route-options-secure.d.ts create mode 100644 types/hapi/definitions/route/route-options-validate.d.ts create mode 100644 types/hapi/definitions/route/route-options.d.ts create mode 100644 types/hapi/definitions/server/server-auth-scheme.d.ts create mode 100644 types/hapi/definitions/server/server-auth.d.ts create mode 100644 types/hapi/definitions/server/server-cache.d.ts create mode 100644 types/hapi/definitions/server/server-events.d.ts create mode 100644 types/hapi/definitions/server/server-ext.d.ts create mode 100644 types/hapi/definitions/server/server-info.d.ts create mode 100644 types/hapi/definitions/server/server-inject.d.ts create mode 100644 types/hapi/definitions/server/server-method.d.ts create mode 100644 types/hapi/definitions/server/server-options-cache.d.ts create mode 100644 types/hapi/definitions/server/server-options.d.ts create mode 100644 types/hapi/definitions/server/server-realm.d.ts create mode 100644 types/hapi/definitions/server/server-register.d.ts create mode 100644 types/hapi/definitions/server/server-route.d.ts create mode 100644 types/hapi/definitions/server/server-state-options.d.ts create mode 100644 types/hapi/definitions/server/server-state.d.ts create mode 100644 types/hapi/definitions/server/server.d.ts create mode 100644 types/hapi/definitions/util/json.d.ts create mode 100644 types/hapi/definitions/util/lifecycle.d.ts create mode 100644 types/hapi/definitions/util/util.d.ts create mode 100644 types/hapi/test/request/catch-all.ts create mode 100644 types/hapi/test/request/parameters.ts create mode 100644 types/hapi/test/response/continue.ts create mode 100644 types/hapi/test/response/redirect.ts create mode 100644 types/hapi/test/response/response-events.ts create mode 100644 types/hapi/test/response/response.ts create mode 100644 types/hapi/test/route/adding-routes.ts create mode 100644 types/hapi/test/route/route-options-pre.ts create mode 100644 types/hapi/test/route/route-options.ts create mode 100644 types/hapi/test/server/server-app.ts create mode 100644 types/hapi/test/server/server-auth-api.ts create mode 100644 types/hapi/test/server/server-auth-default.ts create mode 100644 types/hapi/test/server/server-auth-test.ts create mode 100644 types/hapi/test/server/server-bind.ts create mode 100644 types/hapi/test/server/server-cache-provision.ts create mode 100644 types/hapi/test/server/server-cache.ts create mode 100644 types/hapi/test/server/server-decoder.ts create mode 100644 types/hapi/test/server/server-decorations.ts create mode 100644 types/hapi/test/server/server-encoder.ts create mode 100644 types/hapi/test/server/server-events-once.ts create mode 100644 types/hapi/test/server/server-events.ts create mode 100644 types/hapi/test/server/server-expose.ts create mode 100644 types/hapi/test/server/server-info.ts create mode 100644 types/hapi/test/server/server-inject.ts create mode 100644 types/hapi/test/server/server-listener.ts create mode 100644 types/hapi/test/server/server-load.ts create mode 100644 types/hapi/test/server/server-lookup.ts create mode 100644 types/hapi/test/server/server-match.ts create mode 100644 types/hapi/test/server/server-method.ts create mode 100644 types/hapi/test/server/server-methods.ts create mode 100644 types/hapi/test/server/server-mime.ts create mode 100644 types/hapi/test/server/server-options.ts create mode 100644 types/hapi/test/server/server-path.ts create mode 100644 types/hapi/test/server/server-plugins.ts create mode 100644 types/hapi/test/server/server-settings.ts create mode 100644 types/hapi/test/server/server-start.ts create mode 100644 types/hapi/test/server/server-state.ts create mode 100644 types/hapi/test/server/server-stop.ts create mode 100644 types/hapi/test/server/server-table.ts create mode 100644 types/hapi/test/server/server-version.ts create mode 100644 types/hapi/v16/index.d.ts rename types/hapi/{ => v16}/test/connection/table.ts (94%) rename types/hapi/{ => v16}/test/continuation/errors.ts (95%) rename types/hapi/{ => v16}/test/getting-started/01-creating-a-server.ts (100%) rename types/hapi/{ => v16}/test/getting-started/02-adding-routes.ts (100%) rename types/hapi/{ => v16}/test/getting-started/03-serving-static-content.ts (100%) rename types/hapi/{ => v16}/test/getting-started/04-using-plugins.ts (100%) rename types/hapi/{ => v16}/test/path/catch-all.ts (89%) rename types/hapi/{ => v16}/test/path/parameters.ts (95%) rename types/hapi/{ => v16}/test/plugins/options.ts (95%) rename types/hapi/{ => v16}/test/reply/continue.ts (91%) rename types/hapi/{ => v16}/test/reply/entity.ts (93%) rename types/hapi/{ => v16}/test/reply/redirect.ts (84%) rename types/hapi/{ => v16}/test/reply/reply.ts (92%) rename types/hapi/{ => v16}/test/reply/state_cookie.ts (95%) create mode 100644 types/hapi/v16/test/request/event-types.ts rename types/hapi/{ => v16}/test/request/generate-response.ts (93%) create mode 100644 types/hapi/v16/test/request/get-log.ts rename types/hapi/{ => v16}/test/request/log.ts (93%) create mode 100644 types/hapi/v16/test/request/query.ts rename types/hapi/{ => v16}/test/request/set-method.ts (91%) rename types/hapi/{ => v16}/test/request/set-url.ts (90%) rename types/hapi/{ => v16}/test/request/tail.ts (94%) rename types/hapi/{ => v16}/test/response/error-representation.ts (84%) create mode 100644 types/hapi/v16/test/response/error.ts rename types/hapi/{ => v16}/test/response/events.ts (95%) rename types/hapi/{ => v16}/test/response/flow-control.ts (88%) rename types/hapi/{ => v16}/test/route/additional-options.ts (98%) rename types/hapi/{ => v16}/test/route/auth.ts (94%) create mode 100644 types/hapi/v16/test/route/config.ts create mode 100644 types/hapi/v16/test/route/handler.ts rename types/hapi/{ => v16}/test/route/plugins.ts (92%) rename types/hapi/{ => v16}/test/route/prerequisites.ts (97%) rename types/hapi/{ => v16}/test/route/public-interface.ts (93%) rename types/hapi/{ => v16}/test/route/validate.ts (96%) rename types/hapi/{ => v16}/test/server/app.ts (87%) rename types/hapi/{ => v16}/test/server/auth.ts (96%) rename types/hapi/{ => v16}/test/server/bind.ts (93%) rename types/hapi/{ => v16}/test/server/cache.ts (96%) rename types/hapi/{ => v16}/test/server/connection-options.ts (96%) rename types/hapi/{ => v16}/test/server/connections.ts (89%) rename types/hapi/{ => v16}/test/server/decoder.ts (90%) rename types/hapi/{ => v16}/test/server/decorate.ts (92%) rename types/hapi/{ => v16}/test/server/dependency.ts (93%) rename types/hapi/{ => v16}/test/server/emit.ts (90%) rename types/hapi/{ => v16}/test/server/encoder.ts (90%) rename types/hapi/{ => v16}/test/server/event.ts (90%) rename types/hapi/{ => v16}/test/server/expose.ts (92%) rename types/hapi/{ => v16}/test/server/ext.ts (96%) rename types/hapi/{ => v16}/test/server/handler.ts (94%) rename types/hapi/{ => v16}/test/server/info.ts (92%) rename types/hapi/{ => v16}/test/server/initialize.ts (72%) rename types/hapi/{ => v16}/test/server/inject.ts (93%) rename types/hapi/{ => v16}/test/server/listener.ts (95%) rename types/hapi/{ => v16}/test/server/load.ts (82%) rename types/hapi/{ => v16}/test/server/log.ts (89%) rename types/hapi/{ => v16}/test/server/lookup.ts (91%) rename types/hapi/{ => v16}/test/server/match.ts (91%) rename types/hapi/{ => v16}/test/server/method.ts (98%) rename types/hapi/{ => v16}/test/server/methods.ts (91%) rename types/hapi/{ => v16}/test/server/mime.ts (94%) rename types/hapi/{ => v16}/test/server/new.ts (96%) rename types/hapi/{ => v16}/test/server/on.ts (96%) rename types/hapi/{ => v16}/test/server/once.ts (91%) rename types/hapi/{ => v16}/test/server/path.ts (91%) rename types/hapi/{ => v16}/test/server/plugins.ts (90%) rename types/hapi/{ => v16}/test/server/realm.ts (86%) rename types/hapi/{ => v16}/test/server/register.ts (90%) rename types/hapi/{ => v16}/test/server/route.ts (93%) rename types/hapi/{ => v16}/test/server/select.ts (91%) rename types/hapi/{ => v16}/test/server/settings.ts (84%) rename types/hapi/{ => v16}/test/server/start.ts (76%) rename types/hapi/{ => v16}/test/server/state.ts (95%) rename types/hapi/{ => v16}/test/server/stop.ts (87%) rename types/hapi/{ => v16}/test/server/table.ts (89%) rename types/hapi/{ => v16}/test/server/version.ts (77%) create mode 100644 types/hapi/v16/tsconfig.json create mode 100644 types/hapi/v16/tslint.json diff --git a/types/hapi/definitions/plugin/plugin-registered.d.ts b/types/hapi/definitions/plugin/plugin-registered.d.ts new file mode 100644 index 0000000000..e83eb81a63 --- /dev/null +++ b/types/hapi/definitions/plugin/plugin-registered.d.ts @@ -0,0 +1,33 @@ +/** + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverregistrations) + */ +export interface PluginsListRegistered { + [pluginName: string]: PluginRegistered; +} + +/** + * An object of the currently registered plugins where each key is a registered plugin name and the value is an + * object containing: + * * version - the plugin version. + * * name - the plugin name. + * * options - (optional) options passed to the plugin during registration. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverregistrations) + */ +export interface PluginRegistered { + + /** + * the plugin version. + */ + version: string; + + /** + * the plugin name. + */ + name: string; + + /** + * options used to register the plugin. + */ + options: object; + +} diff --git a/types/hapi/definitions/plugin/plugin.d.ts b/types/hapi/definitions/plugin/plugin.d.ts new file mode 100644 index 0000000000..4340f804e1 --- /dev/null +++ b/types/hapi/definitions/plugin/plugin.d.ts @@ -0,0 +1,47 @@ +import {Server, ServerRegisterOptions} from "hapi"; + +export interface PluginsStates { + [pluginName: string]: any; +} + +export interface PluginSpecificConfiguration { + +} + +/** + * Plugins provide a way to organize application code by splitting the server logic into smaller components. Each + * plugin can manipulate the server through the standard server interface, but with the added ability to sandbox + * certain properties. For example, setting a file path in one plugin doesn't affect the file path set + * in another plugin. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#plugins) + */ +export interface Plugin { + + /** + * (required) the registration function with the signature async function(server, options) where: + * * server - the server object with a plugin-specific server.realm. + * * options - any options passed to the plugin during registration via server.register(). + */ + register: (server: Server, options: ServerRegisterOptions) => void; + + /** + * (required) the plugin name string. The name is used as a unique key. Published plugins (e.g. published in the npm + * registry) should use the same name as the name field in their 'package.json' file. Names must be + * unique within each application. + */ + name: string; + + /** optional plugin version. The version is only used informatively to enable other plugins to find out the versions loaded. The version should be the same as the one specified in the plugin's 'package.json' file. */ + version?: string; + + /** (optional) if true, allows the plugin to be registered multiple times with the same server. Defaults to false. */ + multiple?: boolean; + + /** (optional) a string or an array of strings indicating a plugin dependency. Same as setting dependencies via server.dependency(). */ + dependencies?: string | string[]; + + /** once - (optional) if true, will only register the plugin once per server. If set, overrides the once option passed to server.register(). Defaults to no override. */ + once?: boolean; + +} + diff --git a/types/hapi/definitions/request/request-auth.d.ts b/types/hapi/definitions/request/request-auth.d.ts new file mode 100644 index 0000000000..72dd69a4b4 --- /dev/null +++ b/types/hapi/definitions/request/request-auth.d.ts @@ -0,0 +1,27 @@ +/** + * Authentication information: + * * artifacts - an artifact object received from the authentication strategy and used in authentication-related actions. + * * credentials - the credential object received during the authentication process. The presence of an object does not mean successful authentication. + * * error - the authentication error is failed and mode set to 'try'. + * * isAuthenticated - true if the request has been successfully authenticated, otherwise false. + * * isAuthorized - true is the request has been successfully authorized against the route authentication access configuration. If the route has not access rules defined or if the request failed authorization, set to false. + * * mode - the route authentication mode. + * * strategy - the name of the strategy used. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestauth) + */ +export interface RequestAuth { + /** an artifact object received from the authentication strategy and used in authentication-related actions. */ + artifacts: object; + /** the credential object received during the authentication process. The presence of an object does not mean successful authentication. */ + credentials: any; + /** the authentication error is failed and mode set to 'try'. */ + error: Error; + /** true if the request has been successfully authenticated, otherwise false. */ + isAuthenticated: boolean; + /** true is the request has been successfully authorized against the route authentication access configuration. If the route has not access rules defined or if the request failed authorization, set to false. */ + isAuthorized: boolean; + /** the route authentication mode. */ + mode: string; + /** the name of the strategy used. */ + strategy: string; +} diff --git a/types/hapi/definitions/request/request-events.d.ts b/types/hapi/definitions/request/request-events.d.ts new file mode 100644 index 0000000000..c61b3ed65c --- /dev/null +++ b/types/hapi/definitions/request/request-events.d.ts @@ -0,0 +1,45 @@ +import * as Podium from "podium"; + +/** + * 'peek' - emitted for each chunk of payload data read from the client connection. The event method signature is function(chunk, encoding). + * 'finish' - emitted when the request payload finished reading. The event method signature is function (). + * 'disconnect' - emitted when a request errors or aborts unexpectedly. + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestevents) + */ +export type RequestEventType = "peek" | "finish" | "disconnect"; + +/** + * Access: read only and the public podium interface. + * The request.events supports the following events: + * * 'peek' - emitted for each chunk of payload data read from the client connection. The event method signature is function(chunk, encoding). + * * 'finish' - emitted when the request payload finished reading. The event method signature is function (). + * * 'disconnect' - emitted when a request errors or aborts unexpectedly. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestevents) + */ +export interface RequestEvents extends Podium { + + /** + * Access: read only and the public podium interface. + * The request.events supports the following events: + * * 'peek' - emitted for each chunk of payload data read from the client connection. The event method signature is function(chunk, encoding). + * * 'finish' - emitted when the request payload finished reading. The event method signature is function (). + * * 'disconnect' - emitted when a request errors or aborts unexpectedly. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestevents) + */ + on(criteria: RequestEventType, listener: Function): void; + + /** + * Access: read only and the public podium interface. + * The request.events supports the following events: + * * 'peek' - emitted for each chunk of payload data read from the client connection. The event method signature is function(chunk, encoding). + * * 'finish' - emitted when the request payload finished reading. The event method signature is function (). + * * 'disconnect' - emitted when a request errors or aborts unexpectedly. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestevents) + */ + once(criteria: RequestEventType, listener: Function): void; + + + + // TODO is it necessary to implement "emmit" event here? + +} diff --git a/types/hapi/definitions/request/request-info.d.ts b/types/hapi/definitions/request/request-info.d.ts new file mode 100644 index 0000000000..a4892438a2 --- /dev/null +++ b/types/hapi/definitions/request/request-info.d.ts @@ -0,0 +1,41 @@ +/** + * Request information: + * * acceptEncoding - the request preferred encoding. + * * cors - if CORS is enabled for the route, contains the following: + * * isOriginMatch - true if the request 'Origin' header matches the configured CORS restrictions. Set to false if no 'Origin' header is found or if it does not match. Note that this is only available after the 'onRequest' extension point as CORS is configured per-route and no routing decisions are made at that point in the request lifecycle. + * * host - content of the HTTP 'Host' header (e.g. 'example.com:8080'). + * * hostname - the hostname part of the 'Host' header (e.g. 'example.com'). + * * id - a unique request identifier (using the format '{now}:{connection.info.id}:{5 digits counter}'). + * * received - request reception timestamp. + * * referrer - content of the HTTP 'Referrer' (or 'Referer') header. + * * remoteAddress - remote client IP address. + * * remotePort - remote client port. + * * responded - request response timestamp (0 is not responded yet). + * Note that the request.info object is not meant to be modified. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestinfo) + */ +export interface RequestInfo { + /** the request preferred encoding. */ + acceptEncoding: string; + /** if CORS is enabled for the route, contains the following: */ + cors: { + /** + * true if the request 'Origin' header matches the configured CORS restrictions. Set to false if no 'Origin' header is found or if it does not match. Note that this is only available after the 'onRequest' extension point as CORS is configured per-route and no routing decisions are made at that point in the request lifecycle. + */ + isOriginMatch?: boolean; + }; + /** content of the HTTP 'Host' header (e.g. 'example.com:8080'). */ + host: string; + /** the hostname part of the 'Host' header (e.g. 'example.com'). */ + hostname: string; + /** request reception timestamp. */ + received: number; + /** content of the HTTP 'Referrer' (or 'Referer') header. */ + referrer: string; + /** remote client IP address. */ + remoteAddress: string; + /** remote client port. */ + remotePort: string; + /** request response timestamp (0 is not responded yet). */ + responded: number; +} diff --git a/types/hapi/definitions/request/request-route.d.ts b/types/hapi/definitions/request/request-route.d.ts new file mode 100644 index 0000000000..fbafd033a6 --- /dev/null +++ b/types/hapi/definitions/request/request-route.d.ts @@ -0,0 +1,45 @@ +import {Request, RouteOptions, ServerRealm, Util} from "hapi"; + +/** + * The request route information object, where: + * * method - the route HTTP method. + * * path - the route path. + * * vhost - the route vhost option if configured. + * * realm - the active realm associated with the route. + * * settings - the route options object with all defaults applied. + * * fingerprint - the route internal normalized string representing the normalized path. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestroute) + */ +export interface RequestRoute { + + /** the route HTTP method. */ + method: Util.HTTP_METHODS_PARTIAL; + + /** the route path. */ + path: string; + + /** the route vhost option if configured. */ + vhost?: string | string[]; + + /** the active realm associated with the route.*/ + realm: ServerRealm; + + /** the route options object with all defaults applied. */ + settings: RouteOptions; + + /** the route internal normalized string representing the normalized path. */ + fingerprint: string; + + auth: { + /** + * Validates a request against the route's authentication access configuration, where: + * @param request - the request object. + * @return Return value: true if the request would have passed the route's access requirements. + * Note that the route's authentication mode and strategies are ignored. The only match is made between the request.auth.credentials scope and entity information and the route access configuration. + * If the route uses dynamic scopes, the scopes are constructed against the request.query, request.params, request.payload, and request.auth.credentials which may or may not match between the route and the request's route. If this method is called using a request that has not been authenticated (yet or not at all), it will return false if the route requires any authentication. + * [See docs](https://hapijs.com/api/17.0.1#-requestrouteauthaccessrequest) + */ + access(request: Request): boolean; + } + +} diff --git a/types/hapi/definitions/request/request.d.ts b/types/hapi/definitions/request/request.d.ts new file mode 100644 index 0000000000..a0605254a8 --- /dev/null +++ b/types/hapi/definitions/request/request.d.ts @@ -0,0 +1,216 @@ +import * as stream from "stream"; +import * as url from "url"; +import * as http from "http"; +import * as Podium from "podium"; +import {PluginsStates, RequestAuth, RequestEvents, RequestInfo, RequestRoute, ResponseObject, Server, Util} from "hapi"; + +/** + * An object containing the values of params, query, and payload before any validation modifications made. Only set when input validation is performed. + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestorig) + */ +export interface RequestOrig { + params: object; + query: object; + payload: object; +} + +/** + * The request object is created internally for each incoming request. It is not the same object received from the node + * HTTP server callback (which is available via [request.raw.req](https://github.com/hapijs/hapi/blob/master/API.md#request.raw)). The request properties change throughout + * the request [lifecycle](https://github.com/hapijs/hapi/blob/master/API.md#request-lifecycle). + */ +export interface Request extends Podium { + + /** + * Application-specific state. Provides a safe place to store application data without potential conflicts with the framework. Should not be used by plugins which should use plugins[name]. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestapp) + */ + app: object; + + /** + * Authentication information: + * * artifacts - an artifact object received from the authentication strategy and used in authentication-related actions. + * * credentials - the credential object received during the authentication process. The presence of an object does not mean successful authentication. + * * error - the authentication error is failed and mode set to 'try'. + * * isAuthenticated - true if the request has been successfully authenticated, otherwise false. + * * isAuthorized - true is the request has been successfully authorized against the route authentication access configuration. If the route has not access rules defined or if the request failed authorization, set to false. + * * mode - the route authentication mode. + * * strategy - the name of the strategy used. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestauth) + */ + readonly auth: RequestAuth; + + /** + * Access: read only and the public podium interface. + * The request.events supports the following events: + * * 'peek' - emitted for each chunk of payload data read from the client connection. The event method signature is function(chunk, encoding). + * * 'finish' - emitted when the request payload finished reading. The event method signature is function (). + * * 'disconnect' - emitted when a request errors or aborts unexpectedly. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestevents) + */ + events: RequestEvents; + + /** + * The raw request headers (references request.raw.req.headers). + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestheaders) + */ + readonly headers: Util.Dictionary; + + /** + * Request information: + * * acceptEncoding - the request preferred encoding. + * * cors - if CORS is enabled for the route, contains the following: + * * isOriginMatch - true if the request 'Origin' header matches the configured CORS restrictions. Set to false if no 'Origin' header is found or if it does not match. Note that this is only available after the 'onRequest' extension point as CORS is configured per-route and no routing decisions are made at that point in the request lifecycle. + * * host - content of the HTTP 'Host' header (e.g. 'example.com:8080'). + * * hostname - the hostname part of the 'Host' header (e.g. 'example.com'). + * * id - a unique request identifier (using the format '{now}:{connection.info.id}:{5 digits counter}'). + * * received - request reception timestamp. + * * referrer - content of the HTTP 'Referrer' (or 'Referer') header. + * * remoteAddress - remote client IP address. + * * remotePort - remote client port. + * * responded - request response timestamp (0 is not responded yet). + * Note that the request.info object is not meant to be modified. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestinfo) + */ + readonly info: RequestInfo; + + /** + * An array containing the logged request events. + * Note that this array will be empty if route log.collect is set to false. + */ + readonly logs: object[]; + + /** + * The request method in lower case (e.g. 'get', 'post'). + */ + readonly method: Util.HTTP_METHODS_PARTIAL_LOWERCASE; + + /** + * The parsed content-type header. Only available when payload parsing enabled and no payload error occurred. + */ + readonly mime: string; + + /** + * An object containing the values of params, query, and payload before any validation modifications made. Only set when input validation is performed. + */ + readonly orig: RequestOrig; + + /** + * An object where each key is a path parameter name with matching value as described in [Path parameters](https://github.com/hapijs/hapi/blob/master/API.md#path-parameters). + */ + readonly params: Util.Dictionary; + + /** + * An array containing all the path params values in the order they appeared in the path. + */ + readonly paramsArray: string[]; + + /** + * The request URI's pathname component. + */ + readonly path: string; + + /** + * The request payload based on the route payload.output and payload.parse settings. + * TODO check this typing and add references / links. + */ + readonly payload: stream.Readable | Buffer | string | object; + + /** + * Plugin-specific state. Provides a place to store and pass request-level plugin data. The plugins is an object where each key is a plugin name and the value is the state. + */ + plugins: PluginsStates; + + /** + * An object where each key is the name assigned by a route pre-handler methods function. The values are the raw values provided to the continuation function as argument. For the wrapped response object, use responses. + */ + readonly pre: Util.Dictionary; + + /** + * Access: read / write (see limitations below). + * The response object when set. The object can be modified but must not be assigned another object. To replace the response with another from within an extension point, use reply(response) to override with a different response. Contains null when no response has been set (e.g. when a request terminates prematurely when the client disconnects). + */ + response: ResponseObject | null; + + /** + * Same as pre but represented as the response object created by the pre method. + */ + readonly preResponses: Util.Dictionary; + + /** + * By default the object outputted from node's URL parse() method. Might also be set indirectly via request.setUrl in which case it may be a string (if url is set to an object with the query attribute as an unparsed string). + */ + readonly query: any; + + /** + * An object containing the Node HTTP server objects. Direct interaction with these raw objects is not recommended. + * * req - the node request object. + * * res - the node response object. + */ + readonly raw: { + req: http.IncomingMessage; + res: http.ServerResponse; + }; + + /** + * The request route information object and method + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestroute) + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestrouteauthaccessrequest) + */ + readonly route: RequestRoute; + + /** + * Access: read only and the public server interface. + * The server object. + */ + server: Server; + + /** + * An object containing parsed HTTP state information (cookies) where each key is the cookie name and value is the matching cookie content after processing using any registered cookie definition. + */ + readonly state: Util.Dictionary; + + /** + * The parsed request URI. + */ + readonly url: url.Url; + + /** + * Returns a response which you can pass into the reply interface where: + * @param source - the value to set as the source of the reply interface, optional. + * @param options - options for the method, optional. + * @return ResponseObject + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestgenerateresponsesource-options) + */ + generateResponse(source: string | object | null, options?: {variety?: string; prepare?: Function; marshal?: Function; close?: Function; }): ResponseObject; + + /** + * Logs request-specific events. When called, the server emits a 'request' event which can be used by other listeners or plugins. The arguments are: + * @param tags - a string or an array of strings (e.g. ['error', 'database', 'read']) used to identify the event. Tags are used instead of log levels and provide a much more expressive mechanism for describing and filtering events. + * @param data - (optional) an message string or object with the application data being logged. If data is a function, the function signature is function() and it called once to generate (return value) the actual data emitted to the listeners. + * Any logs generated by the server internally will be emitted only on the 'request-internal' channel and will include the event.internal flag set to true. + * @return void + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestlogtags-data) + */ + log(tags: string | string[], data?: string | object | (() => string | object)): void; + + /** + * Changes the request method before the router begins processing the request where: + * @param method - is the request HTTP method (e.g. 'GET'). + * @return void + * Can only be called from an 'onRequest' extension method. + * [See docs](https://hapijs.com/api/17.0.1#-requestsetmethodmethod) + */ + setMethod(method: Util.HTTP_METHODS_PARTIAL): void; + + /** + * Changes the request URI before the router begins processing the request where: + * Can only be called from an 'onRequest' extension method. + * @param url - the new request URI. If url is a string, it is parsed with node's URL parse() method with parseQueryString set to true. url can also be set to an object compatible with node's URL parse() method output. + * @param stripTrailingSlash - if true, strip the trailing slash from the path. Defaults to false. + * @return void + * [See docs](https://hapijs.com/api/17.0.1#-requestseturlurl-striptrailingslash) + */ + setUrl(url: string | url.URL, stripTrailingSlash?: boolean): void; + +} diff --git a/types/hapi/definitions/response/response-events.d.ts b/types/hapi/definitions/response/response-events.d.ts new file mode 100644 index 0000000000..087b92cf37 --- /dev/null +++ b/types/hapi/definitions/response/response-events.d.ts @@ -0,0 +1,24 @@ +import * as Podium from "podium"; + +/** + * Access: read only and the public podium interface. + * The response.events object supports the following events: + * * 'peek' - emitted for each chunk of data written back to the client connection. The event method signature is function(chunk, encoding). + * * 'finish' - emitted when the response finished writing but before the client response connection is ended. The event method signature is function (). + * [See docs](https://hapijs.com/api/17.0.1#-responseevents) + */ +export interface ResponseEvents extends Podium { + + /** + * 'peek' - emitted for each chunk of data written back to the client connection. The event method signature is function(chunk, encoding). + * 'finish' - emitted when the response finished writing but before the client response connection is ended. The event method signature is function (). + */ + on(criteria: 'peek' | 'finish', listener: Function): void; + + /** + * 'peek' - emitted for each chunk of data written back to the client connection. The event method signature is function(chunk, encoding). + * 'finish' - emitted when the response finished writing but before the client response connection is ended. The event method signature is function (). + */ + once(criteria: 'peek' | 'finish', listener: Function): void; + +} diff --git a/types/hapi/definitions/response/response-object.d.ts b/types/hapi/definitions/response/response-object.d.ts new file mode 100644 index 0000000000..b9887c4ae6 --- /dev/null +++ b/types/hapi/definitions/response/response-object.d.ts @@ -0,0 +1,288 @@ +import * as Podium from "podium"; +import {Json, Lifecycle, PluginsStates, ResponseEvents, ResponseSettings, ServerStateCookieOptions, Util} from "hapi"; + +/** + * Object where: + * * append - if true, the value is appended to any existing header value using separator. Defaults to false. + * * separator - string used as separator when appending to an existing value. Defaults to ','. + * * override - if false, the header value is not set if an existing value present. Defaults to true. + * * duplicate - if false, the header value is not modified if the provided value is already included. Does not apply when append is false or if the name is 'set-cookie'. Defaults to true. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responseheadername-value-options) + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#response-object) + */ +export interface ResponseObjectHeaderOptions { + append?: boolean; + separator?: string; + override?: boolean; + duplicate?: boolean; +} + +/** + * The response object contains the request response value along with various HTTP headers and flags. When a lifecycle + * method returns a value, the value is wrapped in a response object along with some default flags (e.g. 200 status + * code). In order to customize a response before it is returned, the h.response() method is provided. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#response-object) + * TODO, check extending from Podium is correct. Extending because of "The response object supports the following events" [See docs](https://hapijs.com/api/17.0.1#-responseevents) + */ +export interface ResponseObject extends Podium { + + /** + * Default value: {}. + * Application-specific state. Provides a safe place to store application data without potential conflicts with the framework. Should not be used by plugins which should use plugins[name]. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responseapp) + */ + app: object; + + /** + * Access: read only and the public podium interface. + * The response.events object supports the following events: + * * 'peek' - emitted for each chunk of data written back to the client connection. The event method signature is function(chunk, encoding). + * * 'finish' - emitted when the response finished writing but before the client response connection is ended. The event method signature is function (). + * [See docs](https://hapijs.com/api/17.0.1#-responseevents) + */ + readonly events: ResponseEvents; + + /** + * Default value: {}. + * An object containing the response headers where each key is a header field name and the value is the string header value or array of string. + * Note that this is an incomplete list of headers to be included with the response. Additional headers will be added once the response is prepared for transmission. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responseheaders) + */ + readonly headers: Util.Dictionary; + + /** + * Default value: {}. + * Plugin-specific state. Provides a place to store and pass request-level plugin data. plugins is an object where each key is a plugin name and the value is the state. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responseplugins) + */ + plugins: PluginsStates; + + /** + * Object containing the response handling flags. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsesettings) + */ + readonly settings: ResponseSettings; + + /** + * The raw value returned by the lifecycle method. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsesource) + */ + readonly source: Lifecycle.ReturnValue; + + /** + * Default value: 200. + * The HTTP response status code. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsestatuscode) + */ + readonly statusCode: number; + + /** + * A string indicating the type of source with available values: + * * 'plain' - a plain response such as string, number, null, or simple object. + * * 'buffer' - a Buffer. + * * 'stream' - a Stream. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsevariety) + */ + readonly variety: 'plain' | 'buffer' | 'stream'; + + /** + * Sets the HTTP 'Content-Length' header (to avoid chunked transfer encoding) where: + * @param length - the header value. Must match the actual payload size. + * @return Return value: the current response object. + * [See docs](https://hapijs.com/api/17.0.1#-responsebyteslength) + */ + bytes(length: number): ResponseObject; + + /** + * Sets the 'Content-Type' HTTP header 'charset' property where: + * @param charset - the charset property value. + * @return Return value: the current response object. + * [See docs](https://hapijs.com/api/17.0.1#-responsecharsetcharset) + */ + charset(charset: string): ResponseObject; + + /** + * Sets the 'Content-Type' HTTP header 'charset' property where: + * $param charset - the charset property value. + * @return Return value: the current response object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsecodestatuscode) + */ + code(statusCode: number): ResponseObject; + + /** + * Sets the HTTP status message where: + * @param httpMessage - the HTTP status message (e.g. 'Ok' for status code 200). + * @return Return value: the current response object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsemessagehttpmessage) + */ + message(httpMessage: string): ResponseObject; + + /** + * Sets the HTTP status code to Created (201) and the HTTP 'Location' header where: + * @param uri - an absolute or relative URI used as the 'Location' header value. + * @return Return value: the current response object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsecreateduri) + */ + created(uri: string): ResponseObject; + + /** + * Sets the string encoding scheme used to serial data into the HTTP payload where: + * @param encoding the encoding property value (see node Buffer encoding [See docs](https://nodejs.org/api/buffer.html#buffer_buffers_and_character_encodings)). + * * 'ascii' - for 7-bit ASCII data only. This encoding is fast and will strip the high bit if set. + * * 'utf8' - Multibyte encoded Unicode characters. Many web pages and other document formats use UTF-8. + * * 'utf16le' - 2 or 4 bytes, little-endian encoded Unicode characters. Surrogate pairs (U+10000 to U+10FFFF) are supported. + * * 'ucs2' - Alias of 'utf16le'. + * * 'base64' - Base64 encoding. When creating a Buffer from a string, this encoding will also correctly accept "URL and Filename Safe Alphabet" as specified in RFC4648, Section 5. + * * 'latin1' - A way of encoding the Buffer into a one-byte encoded string (as defined by the IANA in RFC1345, page 63, to be the Latin-1 supplement block and C0/C1 control codes). + * * 'binary' - Alias for 'latin1'. + * * 'hex' - Encode each byte as two hexadecimal characters. + * @return Return value: the current response object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responseencodingencoding) + */ + encoding(encoding: 'ascii' | 'utf8' | 'utf16le' | 'ucs2' | 'base64' | 'latin1' | 'binary' | 'hex'): ResponseObject; + + /** + * Sets the representation entity tag where: + * @param tag - the entity tag string without the double-quote. + * @param options - (optional) settings where: + * * weak - if true, the tag will be prefixed with the 'W/' weak signifier. Weak tags will fail to match identical tags for the purpose of determining 304 response status. Defaults to false. + * * vary - if true and content encoding is set or applied to the response (e.g 'gzip' or 'deflate'), the encoding name will be automatically added to the tag at transmission time (separated by a '-' character). Ignored when weak is true. Defaults to true. + * @return Return value: the current response object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responseetagtag-options) + */ + etag(tag: string, options?: {weak: boolean, vary: boolean}): ResponseObject; + + /** + * Sets an HTTP header where: + * @param name - the header name. + * @param value - the header value. + * @param options - (optional) object where: + * * append - if true, the value is appended to any existing header value using separator. Defaults to false. + * * separator - string used as separator when appending to an existing value. Defaults to ','. + * * override - if false, the header value is not set if an existing value present. Defaults to true. + * * duplicate - if false, the header value is not modified if the provided value is already included. Does not apply when append is false or if the name is 'set-cookie'. Defaults to true. + * @return Return value: the current response object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responseheadername-value-options) + */ + header(name: string, value: string, options?: ResponseObjectHeaderOptions): ResponseObject; + + /** + * Sets the HTTP 'Location' header where: + * @param uri - an absolute or relative URI used as the 'Location' header value. + * @return Return value: the current response object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responselocationuri) + */ + location(uri: string): ResponseObject; + + /** + * Sets an HTTP redirection response (302) and decorates the response with additional methods, where: + * @param uri - an absolute or relative URI used to redirect the client to another resource. + * @return Return value: the current response object. + * Decorates the response object with the response.temporary(), response.permanent(), and response.rewritable() methods to easily change the default redirection code (302). + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responseredirecturi) + */ + redirect(uri: string): ResponseObject; + + /** + * Sets the JSON.stringify() replacer argument where: + * @param method - the replacer function or array. Defaults to none. + * @return Return value: the current response object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsereplacermethod) + */ + replacer(method: Json.StringifyReplacer): ResponseObject; + + /** + * Sets the JSON.stringify() space argument where: + * @param count - the number of spaces to indent nested object keys. Defaults to no indentation. + * @return Return value: the current response object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsespacescount) + */ + spaces(count: number): ResponseObject; + + /** + * Sets an HTTP cookie where: + * @param name - the cookie name. + * @param value - the cookie value. If no options.encoding is defined, must be a string. See server.state() for supported encoding values. + * @param options - (optional) configuration. If the state was previously registered with the server using server.state(), the specified keys in options are merged with the default server definition. + * @return Return value: the current response object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsestatename-value-options) + */ + state(name: string, value: object, options?: ServerStateCookieOptions): ResponseObject; + + /** + * Sets a string suffix when the response is process via JSON.stringify() where: + * @param suffix - the string suffix. + * @return Return value: the current response object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsesuffixsuffix) + */ + suffix(suffix: string): ResponseObject; + + /** + * Overrides the default route cache expiration rule for this response instance where: + * @param msec - the time-to-live value in milliseconds. + * @return Return value: the current response object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsettlmsec) + */ + ttl(msec: number): ResponseObject; + + /** + * Sets the HTTP 'Content-Type' header where: + * @param mimeType - is the mime type. + * @return Return value: the current response object. + * Should only be used to override the built-in default for each response type. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsetypemimetype) + */ + type(mimeType: string): ResponseObject; + + /** + * Clears the HTTP cookie by setting an expired value where: + * @param name - the cookie name. + * @param options - (optional) configuration for expiring cookie. If the state was previously registered with the server using server.state(), the specified options are merged with the server definition. + * @return Return value: the current response object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responseunstatename-options) + */ + unstate(name: string, options?: ServerStateCookieOptions): ResponseObject; + + /** + * Adds the provided header to the list of inputs affected the response generation via the HTTP 'Vary' header where: + * @param header - the HTTP request header name. + * @return Return value: the current response object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsevaryheader) + */ + vary(header: string): ResponseObject; + + /** + * Marks the response object as a takeover response. + * @return Return value: the current response object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsetakeover) + */ + takeover(): ResponseObject; + + /** + * Sets the status code to 302 or 307 (based on the response.rewritable() setting) where: + * @param isTemporary - if false, sets status to permanent. Defaults to true. + * @return Return value: the current response object. + * Only available after calling the response.redirect() method. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsetemporaryistemporary) + */ + temporary(isTemporary: boolean): ResponseObject; + + /** + * Sets the status code to 301 or 308 (based on the response.rewritable() setting) where: + * @param isPermanent - if false, sets status to temporary. Defaults to true. + * @return Return value: the current response object. + * Only available after calling the response.redirect() method. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsepermanentispermanent) + */ + permanent(isPermanent: boolean): ResponseObject; + + /** + * Sets the status code to 301/302 for rewritable (allows changing the request method from 'POST' to 'GET') or 307/308 for non-rewritable (does not allow changing the request method from 'POST' to 'GET'). Exact code based on the response.temporary() or response.permanent() setting. Arguments: + * @param isRewritable - if false, sets to non-rewritable. Defaults to true. + * @return Return value: the current response object. + * Only available after calling the response.redirect() method. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responserewritableisrewritable) + */ + rewritable(isRewritable: boolean): ResponseObject; + +} diff --git a/types/hapi/definitions/response/response-settings.d.ts b/types/hapi/definitions/response/response-settings.d.ts new file mode 100644 index 0000000000..0926878d1c --- /dev/null +++ b/types/hapi/definitions/response/response-settings.d.ts @@ -0,0 +1,33 @@ +import {Json} from "hapi"; + +/** + * Object containing the response handling flags. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsesettings) + */ +export interface ResponseSettings { + + /** + * Defaults value: true. + * If true and source is a Stream, copies the statusCode and headers properties of the stream object to the outbound response. + */ + readonly passThrough: boolean; + + /** + * Default value: null (use route defaults). + * Override the route json options used when source value requires stringification. + */ + readonly stringify: Json.StringifyArguments; + + /** + * Default value: null (use route defaults). + * If set, overrides the route cache with an expiration value in milliseconds. + */ + readonly ttl: number; + + /** + * Default value: false. + * If true, a suffix will be automatically added to the 'ETag' header at transmission time (separated by a '-' character) when the HTTP 'Vary' header is present. + */ + varyEtag: boolean; + +} diff --git a/types/hapi/definitions/response/response-toolkit.d.ts b/types/hapi/definitions/response/response-toolkit.d.ts new file mode 100644 index 0000000000..7496b4cee2 --- /dev/null +++ b/types/hapi/definitions/response/response-toolkit.d.ts @@ -0,0 +1,133 @@ +import {ResponseObject, ServerRealm, ServerStateCookieOptions} from "hapi"; + +/** + * See more about Lifecycle + * https://github.com/hapijs/hapi/blob/master/API.md#request-lifecycle + * + */ + + +/** + * The response toolkit is a collection of properties and utilities passed to every [lifecycle method](https://github.com/hapijs/hapi/blob/master/API.md#lifecycle-methods) + * It is somewhat hard to define as it provides both utilities for manipulating responses as well as other information. Since the + * toolkit is passed as a function argument, developers can name it whatever they want. For the purpose of this + * document the h notation is used. It is named in the spirit of the RethinkDB r method, with h for hapi. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#response-toolkit) + */ +export interface ResponseToolkit { + + /** + * A response symbol. When returned by a lifecycle method, the request lifecycle skips to the finalizing step + * without further interaction with the node response stream. It is the developer's responsibility to write + * and end the response directly via [request.raw.res](https://github.com/hapijs/hapi/blob/master/API.md#request.raw). + */ + readonly abandon: Object; + + /** + * A response symbol. When returned by a lifecycle method, the request lifecycle skips to the finalizing step after + * calling request.raw.res.end()) to close the the node response stream. + */ + readonly close: Object; + + /** + * A response symbol. Provides access to the route or server context set via the route [bind](https://github.com/hapijs/hapi/blob/master/API.md#route.options.bind) + * option or [server.bind()](https://github.com/hapijs/hapi/blob/master/API.md#server.bind()). + */ + readonly context: any; + + /** + * A response symbol. When returned by a lifecycle method, the request lifecycle continues without changing the response. + */ + readonly continue: Object; + + /** + * The [server realm](https://github.com/hapijs/hapi/blob/master/API.md#server.realm) associated with the matching + * route. Defaults to the root server realm in the onRequest step. + */ + readonly realm: ServerRealm; + + /** + * Access: read only and public request interface. + * The [request] object. This is a duplication of the request lifecycle method argument used by + * [toolkit decorations](https://github.com/hapijs/hapi/blob/master/API.md#server.decorate()) to access the current request. + */ + request: object; // TODO needs review + + /** + * Used by the [authentication] method to pass back valid credentials where: + * @param data - an object with: + * * credentials - (required) object representing the authenticated entity. + * * artifacts - (optional) authentication artifacts object specific to the authentication scheme. + * @return Return value: an internal authentication object. + */ + authenticated(data: {credentials: object, artifacts?: object}): object; + + /** + * Sets the response 'ETag' and 'Last-Modified' headers and checks for any conditional request headers to decide if + * the response is going to qualify for an HTTP 304 (Not Modified). If the entity values match the request + * conditions, h.entity() returns a response object for the lifecycle method to return as its value which will + * set a 304 response. Otherwise, it sets the provided entity headers and returns undefined. + * The method argumetns are: + * @param options - a required configuration object with: + * * etag - the ETag string. Required if modified is not present. Defaults to no header. + * * modified - the Last-Modified header value. Required if etag is not present. Defaults to no header. + * * vary - same as the response.etag() option. Defaults to true. + * @return Return value: - a response object if the response is unmodified. - undefined if the response has changed. + * If undefined is returned, the developer must return a valid lifecycle method value. If a response is returned, + * it should be used as the return value (but may be customize using the response methods). + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-hentityoptions) + */ + entity(options?: {etag?: string, modified?: string, vary?: boolean}): ResponseObject | undefined; + + /** + * Redirects the client to the specified uri. Same as calling h.response().redirect(uri). + * @param url + * @return Returns a response object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-hredirecturi) + */ + redirect(uri?: string): ResponseObject; + + /** + * Wraps the provided value and returns a response object which allows customizing the response + * (e.g. setting the HTTP status code, custom headers, etc.), where: + * @param value - (optional) return value. Defaults to null. + * @return Returns a response object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-hresponsevalue) + */ + response(value?: string | object): ResponseObject; + + /** + * Sets a response cookie using the same arguments as response.state(). + * @param name of the cookie + * @param value of the cookie + * @param (optional) ServerStateCookieOptions object. + * @return Return value: none. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-hstatename-value-options) + */ + state(name: string, value: string, options?: ServerStateCookieOptions): void; + + /** + * Used by the [authentication] method to indicate authentication failed and pass back the credentials received where: + * @param error - (required) the authentication error. + * @param data - (optional) an object with: + * * credentials - (required) object representing the authenticated entity. + * * artifacts - (optional) authentication artifacts object specific to the authentication scheme. + * @return void. + * The method is used to pass both the authentication error and the credentials. For example, if a request included + * expired credentials, it allows the method to pass back the user information (combined with a 'try' + * authentication mode) for error customization. + * There is no difference between throwing the error or passing it with the h.unauthenticated() method is no credentials are passed, but it might still be helpful for code clarity. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-hunauthenticatederror-data) + */ + unauthenticated(error: Error, data?: {credentials: object, artifacts?: object}): void; + + /** + * Clears a response cookie using the same arguments as + * @param name of the cookie + * @param options (optional) ServerStateCookieOptions object. + * @return void. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-hunstatename-options) + */ + unstate(name: string, options?: ServerStateCookieOptions): void; + +} diff --git a/types/hapi/definitions/route/route-options-access-scope.d.ts b/types/hapi/definitions/route/route-options-access-scope.d.ts new file mode 100644 index 0000000000..4ed76fe9c6 --- /dev/null +++ b/types/hapi/definitions/route/route-options-access-scope.d.ts @@ -0,0 +1,28 @@ +import {RouteOptionsAccessEntity} from "hapi"; + +/** + * Each rule is evaluated against an incoming request and access is granted if at least one of the rules matches. + * Each rule object must include at least one of [scope](https://github.com/hapijs/hapi/blob/master/API.md#route.options.auth.access.scope) or [entity](https://github.com/hapijs/hapi/blob/master/API.md#route.options.auth.access.entity). + */ +export interface RouteOptionsAccessObject { + + /** + * Default value: false (no scope requirements). + * The application scope required to access the route. Value can be a scope string or an array of scope strings. When authenticated, the credentials object scope property must contain at least one of the scopes defined to access the route. + * If a scope string begins with a + character, that scope is required. If a scope string begins with a ! character, that scope is forbidden. For example, the scope ['!a', '+b', 'c', 'd'] means the incoming request credentials' scope must not include 'a', must include 'b', and must include one of 'c' or 'd'. + * You may also access properties on the request object (query, params, payload, and credentials) to populate a dynamic scope by using the '{' and '}' characters around the property name, such as 'user-{params.id}'. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthaccessscope) + */ + scope?: false | string | string[]; + + /** + * Default value: 'any'. + * The required authenticated entity type. If set, must match the entity value of the request authenticated credentials. Available values: + * * 'any' - the authentication can be on behalf of a user or application. + * * 'user' - the authentication must be on behalf of a user which is identified by the presence of a 'user' attribute in the credentials object returned by the authentication strategy. + * * 'app' - the authentication must be on behalf of an application which is identified by the lack of presence of a user attribute in the credentials object returned by the authentication strategy. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthaccessentity) + */ + entity?: RouteOptionsAccessEntity; + +} diff --git a/types/hapi/definitions/route/route-options-access.d.ts b/types/hapi/definitions/route/route-options-access.d.ts new file mode 100644 index 0000000000..57cd13e405 --- /dev/null +++ b/types/hapi/definitions/route/route-options-access.d.ts @@ -0,0 +1,105 @@ +/** + * The required authenticated entity type. If set, must match the entity value of the request authenticated credentials. Available values: + * * 'any' - the authentication can be on behalf of a user or application. + * * 'user' - the authentication must be on behalf of a user which is identified by the presence of a 'user' attribute in the credentials object returned by the authentication strategy. + * * 'app' - the authentication must be on behalf of an application which is identified by the lack of presence of a user attribute in the credentials object returned by the authentication strategy. + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthaccessentity) + */ +export enum RouteOptionsAccessEntity { + Any = 'any', + User = 'user', + App = 'app' +} + +/** + * The authentication mode. Available values: + * * 'required' - authentication is required. + * * 'optional' - authentication is optional - the request must include valid credentials or no credentials at all. + * * 'try' - similar to 'optional', any request credentials are attempted authentication, but if the credentials are invalid, the request proceeds regardless of the authentication error. + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthmode) + */ +export enum RouteOptionsAccessMode { + Required = 'required', + Optional = 'optional', + Try = 'try', +} + +/** + * Available values: + * * false - no payload authentication. + * * 'required' - payload authentication required. + * * 'optional' - payload authentication performed only when the client includes payload authentication information (e.g. hash attribute in Hawk). + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthpayload) + */ +export enum RouteOptionsAccessPayload { + Required = 'required', + Optional = 'optional', +} + +/** + * Route Authentication Options + */ +export interface RouteOptionsAccess { + + /** + * Default value: none. + * An object or array of objects specifying the route access rules. Each rule is evaluated against an incoming request and access is granted if at least one of the rules matches. Each rule object must include at least one of scope or entity. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthaccess) + */ + access?: object | object[]; + + /** + * Default value: false (no scope requirements). + * The application scope required to access the route. Value can be a scope string or an array of scope strings. When authenticated, the credentials object scope property must contain at least one of the scopes defined to access the route. + * If a scope string begins with a + character, that scope is required. If a scope string begins with a ! character, that scope is forbidden. For example, the scope ['!a', '+b', 'c', 'd'] means the incoming request credentials' scope must not include 'a', must include 'b', and must include one of 'c' or 'd'. + * You may also access properties on the request object (query, params, payload, and credentials) to populate a dynamic scope by using the '{' and '}' characters around the property name, such as 'user-{params.id}'. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthaccessscope) + */ + scope?: false | string | string[]; + + /** + * Default value: 'any'. + * The required authenticated entity type. If set, must match the entity value of the request authenticated credentials. Available values: + * * 'any' - the authentication can be on behalf of a user or application. + * * 'user' - the authentication must be on behalf of a user which is identified by the presence of a 'user' attribute in the credentials object returned by the authentication strategy. + * * 'app' - the authentication must be on behalf of an application which is identified by the lack of presence of a user attribute in the credentials object returned by the authentication strategy. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthaccessentity) + */ + entity?: RouteOptionsAccessEntity; + + /** + * Default value: 'required'. + * The authentication mode. Available values: + * * 'required' - authentication is required. + * * 'optional' - authentication is optional - the request must include valid credentials or no credentials at all. + * * 'try' - similar to 'optional', any request credentials are attempted authentication, but if the credentials are invalid, the request proceeds regardless of the authentication error. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthmode) + */ + mode?: RouteOptionsAccessMode; + + /** + * Default value: false, unless the scheme requires payload authentication. + * If set, the incoming request payload is authenticated after it is processed. Requires a strategy with payload authentication support (e.g. Hawk). Cannot be set to a value other than 'required' when the scheme sets the authentication options.payload to true. + * Available values: + * * false - no payload authentication. + * * 'required' - payload authentication required. + * * 'optional' - payload authentication performed only when the client includes payload authentication information (e.g. hash attribute in Hawk). + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthpayload) + */ + payload?: false | RouteOptionsAccessPayload; + + /** + * Default value: the default strategy set via server.auth.default(). + * An array of string strategy names in the order they should be attempted. Cannot be used together with strategy. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthstrategies) + */ + strategies?: string[]; + + /** + * Default value: the default strategy set via server.auth.default(). + * A string strategy names. Cannot be used together with strategies. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthstrategy) + */ + strategy?: string; + +} diff --git a/types/hapi/definitions/route/route-options-cache.d.ts b/types/hapi/definitions/route/route-options-cache.d.ts new file mode 100644 index 0000000000..91df550ad4 --- /dev/null +++ b/types/hapi/definitions/route/route-options-cache.d.ts @@ -0,0 +1,27 @@ +/** + * Values are: + * * * 'default' - no privacy flag. + * * * 'public' - mark the response as suitable for public caching. + * * * 'private' - mark the response as suitable only for private caching. + * * expiresIn - relative expiration expressed in the number of milliseconds since the item was saved in the cache. Cannot be used together with expiresAt. + * * expiresAt - time of day expressed in 24h notation using the 'HH:MM' format, at which point all cache records for the route expire. Cannot be used together with expiresIn. + * * statuses - an array of HTTP response status code numbers (e.g. 200) which are allowed to include a valid caching directive. + * * otherwise - a string with the value of the 'Cache-Control' header when caching is disabled. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionscache) + */ +export type RouteOptionsCache = { + privacy?: 'default' | 'public' | 'private'; + statuses?: number[]; + otherwise?: string; +} & ( + { + expiresIn?: number; + expiresAt?: undefined; + } | { + expiresIn?: undefined; + expiresAt?: string; + } | { + expiresIn?: undefined; + expiresAt?: undefined; + } +); diff --git a/types/hapi/definitions/route/route-options-cors.d.ts b/types/hapi/definitions/route/route-options-cors.d.ts new file mode 100644 index 0000000000..8264680ec8 --- /dev/null +++ b/types/hapi/definitions/route/route-options-cors.d.ts @@ -0,0 +1,42 @@ +/** + * Default value: false (no CORS headers). + * The Cross-Origin Resource Sharing protocol allows browsers to make cross-origin API calls. CORS is required by web applications running inside a browser which are loaded from a different domain than the API server. To enable, set cors to true, or to an object with the following options: + * * origin - an array of allowed origin servers strings ('Access-Control-Allow-Origin'). The array can contain any combination of fully qualified origins along with origin strings containing a wildcard '*' character, or a single '*' origin string. If set to 'ignore', any incoming Origin header is ignored (present or not) and the 'Access-Control-Allow-Origin' header is set to '*'. Defaults to any origin ['*']. + * * maxAge - number of seconds the browser should cache the CORS response ('Access-Control-Max-Age'). The greater the value, the longer it will take before the browser checks for changes in policy. Defaults to 86400 (one day). + * * headers - a strings array of allowed headers ('Access-Control-Allow-Headers'). Defaults to ['Accept', 'Authorization', 'Content-Type', 'If-None-Match']. + * * additionalHeaders - a strings array of additional headers to headers. Use this to keep the default headers in place. + * * exposedHeaders - a strings array of exposed headers ('Access-Control-Expose-Headers'). Defaults to ['WWW-Authenticate', 'Server-Authorization']. + * * additionalExposedHeaders - a strings array of additional headers to exposedHeaders. Use this to keep the default headers in place. + * * credentials - if true, allows user credentials to be sent ('Access-Control-Allow-Credentials'). Defaults to false. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionscors) + */ +export interface RouteOptionsCors { + /** + * an array of allowed origin servers strings ('Access-Control-Allow-Origin'). The array can contain any combination of fully qualified origins along with origin strings containing a wildcard '*' character, or a single '*' origin string. If set to 'ignore', any incoming Origin header is ignored (present or not) and the 'Access-Control-Allow-Origin' header is set to '*'. Defaults to any origin ['*']. + */ + origin?: string[] | '*'| 'ignore'; + /** + * number of seconds the browser should cache the CORS response ('Access-Control-Max-Age'). The greater the value, the longer it will take before the browser checks for changes in policy. Defaults to 86400 (one day). + */ + maxAge?: number; + /** + * a strings array of allowed headers ('Access-Control-Allow-Headers'). Defaults to ['Accept', 'Authorization', 'Content-Type', 'If-None-Match']. + */ + headers?: string[]; + /** + * a strings array of additional headers to headers. Use this to keep the default headers in place. + */ + additionalHeaders?: string[]; + /** + * a strings array of exposed headers ('Access-Control-Expose-Headers'). Defaults to ['WWW-Authenticate', 'Server-Authorization']. + */ + exposedHeaders?: string[]; + /** + * a strings array of additional headers to exposedHeaders. Use this to keep the default headers in place. + */ + additionalExposedHeaders?: string[]; + /** + * if true, allows user credentials to be sent ('Access-Control-Allow-Credentials'). Defaults to false. + */ + credentials?: boolean; +} diff --git a/types/hapi/definitions/route/route-options-payload.d.ts b/types/hapi/definitions/route/route-options-payload.d.ts new file mode 100644 index 0000000000..a13db35c32 --- /dev/null +++ b/types/hapi/definitions/route/route-options-payload.d.ts @@ -0,0 +1,122 @@ +import {Lifecycle, Util} from "hapi"; + +/** + * The value must be one of: + * * 'data' - the incoming payload is read fully into memory. If parse is true, the payload is parsed (JSON, form-decoded, multipart) based on the 'Content-Type' header. If parse is false, a raw Buffer is returned. + * * 'stream' - the incoming payload is made available via a Stream.Readable interface. If the payload is 'multipart/form-data' and parse is true, field values are presented as text while files are provided as streams. File streams from a 'multipart/form-data' upload will also have a hapi property containing the filename and headers properties. Note that payload streams for multipart payloads are a synthetic interface created on top of the entire mutlipart content loaded into memory. To avoid loading large multipart payloads into memory, set parse to false and handle the multipart payload in the handler using a streaming parser (e.g. pez). + * * 'file' - the incoming payload is written to temporary file in the directory specified by the uploads settings. If the payload is 'multipart/form-data' and parse is true, field values are presented as text while files are saved to disk. Note that it is the sole responsibility of the application to clean up the files generated by the framework. This can be done by keeping track of which files are used (e.g. using the request.app object), and listening to the server 'response' event to perform cleanup. + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspayloadoutput) + */ +export type PayloadOutput = 'data' | 'stream' | 'file'; + +/** + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspayloadcompression) + */ +export type PayloadCompressionDecoderSettings = object; + +/** + * Determines how the request payload is processed. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspayload) + */ +export interface RouteOptionsPayload { + + /** + * Default value: allows parsing of the following mime types: + * * application/json + * * application/*+json + * * application/octet-stream + * * application/x-www-form-urlencoded + * * multipart/form-data + * * text/* + * A string or an array of strings with the allowed mime types for the endpoint. Use this settings to limit the set of allowed mime types. Note that allowing additional mime types not listed above will not enable them to be parsed, and if parse is true, the request will result in an error response. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspayloadallow) + */ + allow?: string | string[]; + + /** + * Default value: none. + * An object where each key is a content-encoding name and each value is an object with the desired decoder settings. Note that encoder settings are set in compression. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspayloadcompression) + */ + compression?: Util.Dictionary; + + /** + * Default value: 'application/json'. + * The default content type if the 'Content-Type' request header is missing. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspayloaddefaultcontenttype) + */ + defaultContentType?: string; + + /** + * Default value: 'error' (return a Bad Request (400) error response). + * A failAction value which determines how to handle payload parsing errors. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspayloadfailaction) + */ + failAction?: Lifecycle.FailAction; + + /** + * Default value: 1048576 (1MB). + * Limits the size of incoming payloads to the specified byte count. Allowing very large payloads may cause the server to run out of memory. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspayloadmaxbytes) + */ + maxBytes?: number; + + /** + * Default value: none. + * Overrides payload processing for multipart requests. Value can be one of: + * * false - disable multipart processing. + * an object with the following required options: + * * output - same as the output option with an additional value option: + * * * annotated - wraps each multipart part in an object with the following keys: // TODO type this? + * * * * headers - the part headers. + * * * * filename - the part file name. + * * * * payload - the processed part payload. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspayloadmultipart) + */ + multipart?: false | { + output: PayloadOutput | 'annotated'; + }; + + /** + * Default value: 'data'. + * The processed payload format. The value must be one of: + * * 'data' - the incoming payload is read fully into memory. If parse is true, the payload is parsed (JSON, form-decoded, multipart) based on the 'Content-Type' header. If parse is false, a raw Buffer is returned. + * * 'stream' - the incoming payload is made available via a Stream.Readable interface. If the payload is 'multipart/form-data' and parse is true, field values are presented as text while files are provided as streams. File streams from a 'multipart/form-data' upload will also have a hapi property containing the filename and headers properties. Note that payload streams for multipart payloads are a synthetic interface created on top of the entire mutlipart content loaded into memory. To avoid loading large multipart payloads into memory, set parse to false and handle the multipart payload in the handler using a streaming parser (e.g. pez). + * * 'file' - the incoming payload is written to temporary file in the directory specified by the uploads settings. If the payload is 'multipart/form-data' and parse is true, field values are presented as text while files are saved to disk. Note that it is the sole responsibility of the application to clean up the files generated by the framework. This can be done by keeping track of which files are used (e.g. using the request.app object), and listening to the server 'response' event to perform cleanup. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspayloadoutput) + */ + output?: PayloadOutput; + + /** + * Default value: none. + * A mime type string overriding the 'Content-Type' header value received. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspayloadoverride) + */ + override?: string; + + /** + * Default value: true. + * Determines if the incoming payload is processed or presented raw. Available values: + * * true - if the request 'Content-Type' matches the allowed mime types set by allow (for the whole payload as well as parts), the payload is converted into an object when possible. If the format is unknown, a Bad Request (400) error response is sent. Any known content encoding is decoded. + * * false - the raw payload is returned unmodified. + * * 'gunzip' - the raw payload is returned unmodified after any known content encoding is decoded. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspayloadparse) + */ + parse?: boolean | 'gunzip'; + + /** + * Default value: to 10000 (10 seconds). + * Payload reception timeout in milliseconds. Sets the maximum time allowed for the client to transmit the request payload (body) before giving up and responding with a Request Timeout (408) error response. + * Set to false to disable. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspayloadtimeout) + */ + timeout?: false | number; + + /** + * Default value: os.tmpdir(). + * The directory used for writing file uploads. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspayloaduploads) + */ + uploads?: string; + +} diff --git a/types/hapi/definitions/route/route-options-pre.d.ts b/types/hapi/definitions/route/route-options-pre.d.ts new file mode 100644 index 0000000000..56d41210da --- /dev/null +++ b/types/hapi/definitions/route/route-options-pre.d.ts @@ -0,0 +1,35 @@ +import {Lifecycle} from "hapi"; + +/** + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspre) + */ +export type RouteOptionsPreArray = RouteOptionsPreAllOptions[]; + +/** + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspre) + */ +export type RouteOptionsPreAllOptions = RouteOptionsPreObject | RouteOptionsPreObject[] | Lifecycle.Method; + +/** + * An object with: + * * method - a lifecycle method. + * * assign - key name used to assign the response of the method to in request.pre and request.preResponses. + * * failAction - A failAction value which determine what to do when a pre-handler method throws an error. If assign is specified and the failAction setting is not 'error', the error will be assigned. + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspre) + */ +export interface RouteOptionsPreObject { + /** + * a lifecycle method. + */ + method: Lifecycle.Method; + /** + * key name used to assign the response of the method to in request.pre and request.preResponses. + */ + assign: string; + /** + * A failAction value which determine what to do when a pre-handler method throws an error. If assign is specified and the failAction setting is not 'error', the error will be assigned. + */ + failAction?: Lifecycle.FailAction; +} + + diff --git a/types/hapi/definitions/route/route-options-response.d.ts b/types/hapi/definitions/route/route-options-response.d.ts new file mode 100644 index 0000000000..fa3c8f8560 --- /dev/null +++ b/types/hapi/definitions/route/route-options-response.d.ts @@ -0,0 +1,84 @@ +import {Lifecycle, Util} from "hapi"; +import {ValidationOptions} from "joi"; + +/** + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsresponseemptystatuscode) + */ +export enum EmptyStatusCode { + HTTP_200 = 200, + HTTP_204 = 204, +} + +export type RouteOptionsResponseSchema = boolean | ValidationOptions | ((value: object, options: object) => any); + +/** + * Processing rules for the outgoing response. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsresponse) + */ +export interface RouteOptionsResponse { + + /** + * Default value: 200. + * The default HTTP status code when the payload is considered empty. Value can be 200 or 204. Note that a 200 status code is converted to a 204 only at the time of response transmission (the response status code will remain 200 throughout the request lifecycle unless manually set). + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsresponseemptystatuscode) + */ + emptyStatusCode?: EmptyStatusCode; + + /** + * Default value: 'error' (return an Internal Server Error (500) error response). + * A failAction value which defines what to do when a response fails payload validation. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsresponsefailaction) + */ + failAction?: Lifecycle.FailAction; + + /** + * Default value: false. + * If true, applies the validation rule changes to the response payload. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsresponsemodify) + */ + modify?: boolean; + + /** + * Default value: none. + * [joi](http://github.com/hapijs/joi) options object pass to the validation function. Useful to set global options such as stripUnknown or abortEarly (the complete list is available here). If a custom validation function is defined via schema or status then options can an arbitrary object that will be passed to this function as the second argument. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsresponseoptions) + */ + options?: ValidationOptions; // TODO needs validation + + /** + * Default value: true. + * If false, payload range support is disabled. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsresponseranges) + */ + ranges?: boolean; + + /** + * Default value: 100 (all responses). + * The percent of response payloads validated (0 - 100). Set to 0 to disable all validation. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsresponsesample) + */ + sample?: number; + + /** + * Default value: true (no validation). + * The default response payload validation rules (for all non-error responses) expressed as one of: + * * true - any payload allowed (no validation). + * * false - no payload allowed. + * * a joi validation object. The options along with the request context ({ headers, params, query, payload, app, auth }) are passed to the validation function. + * * a validation function using the signature async function(value, options) where: + * * * value - the pending response payload. + * * * options - The options along with the request context ({ headers, params, query, payload, app, auth }). + * * * if the function returns a value and modify is true, the value is used as the new response. If the original response is an error, the return value is used to override the original error output.payload. If an error is thrown, the error is processed according to failAction. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsresponseschema) + */ + schema?: RouteOptionsResponseSchema; + + /** + * Default value: none. + * Validation schemas for specific HTTP status codes. Responses (excluding errors) not matching the listed status codes are validated using the default schema. + * status is set to an object where each key is a 3 digit HTTP status code and the value has the same definition as schema. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsresponsestatus) + */ + status?: Util.Dictionary; + +} diff --git a/types/hapi/definitions/route/route-options-secure.d.ts b/types/hapi/definitions/route/route-options-secure.d.ts new file mode 100644 index 0000000000..669d1371ed --- /dev/null +++ b/types/hapi/definitions/route/route-options-secure.d.ts @@ -0,0 +1,74 @@ +/** + * Default value: false (security headers disabled). + * Sets common security headers. To enable, set security to true or to an object with the following options: + * * hsts - controls the 'Strict-Transport-Security' header, where: + * * * true - the header will be set to max-age=15768000. This is the default value. + * * * a number - the maxAge parameter will be set to the provided value. + * * * an object with the following fields: + * * * * maxAge - the max-age portion of the header, as a number. Default is 15768000. + * * * * includeSubDomains - a boolean specifying whether to add the includeSubDomains flag to the header. + * * * * preload - a boolean specifying whether to add the 'preload' flag (used to submit domains inclusion in Chrome's HTTP Strict Transport Security (HSTS) preload list) to the header. + * * xframe - controls the 'X-Frame-Options' header, where: + * * * true - the header will be set to 'DENY'. This is the default value. + * * * 'deny' - the headers will be set to 'DENY'. + * * * 'sameorigin' - the headers will be set to 'SAMEORIGIN'. + * * * an object for specifying the 'allow-from' rule, where: + * * * * rule - one of: + * * * * * 'deny' + * * * * * 'sameorigin' + * * * * * 'allow-from' + * * * * source - when rule is 'allow-from' this is used to form the rest of the header, otherwise this field is ignored. If rule is 'allow-from' but source is unset, the rule will be automatically changed to 'sameorigin'. + * * xss - boolean that controls the 'X-XSS-PROTECTION' header for Internet Explorer. Defaults to true which sets the header to equal '1; mode=block'. + * Note: this setting can create a security vulnerability in versions of Internet Exploere below 8, as well as unpatched versions of IE8. See here and here for more information. If you actively support old versions of IE, it may be wise to explicitly set this flag to false. + * * noOpen - boolean controlling the 'X-Download-Options' header for Internet Explorer, preventing downloads from executing in your context. Defaults to true setting the header to 'noopen'. + * * noSniff - boolean controlling the 'X-Content-Type-Options' header. Defaults to true setting the header to its only and default option, 'nosniff'. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionssecurity) + */ +export interface RouteOptionsSecureObject { + /** + * hsts - controls the 'Strict-Transport-Security' header + */ + hsts?: boolean | number | { + /** + * the max-age portion of the header, as a number. Default is 15768000. + */ + maxAge: number; + /** + * a boolean specifying whether to add the includeSubDomains flag to the header. + */ + includeSubdomains: boolean; + /** + * a boolean specifying whether to add the 'preload' flag (used to submit domains inclusion in Chrome's HTTP Strict Transport Security (HSTS) preload list) to the header. + */ + preload: boolean; + }; + /** + * controls the 'X-Frame-Options' header + */ + xframe?: true | 'deny' | 'sameorigin' | { + /** + * an object for specifying the 'allow-from' rule, + */ + rule: 'deny' | 'sameorigin' | 'allow-from'; + /** + * when rule is 'allow-from' this is used to form the rest of the header, otherwise this field is ignored. If rule is 'allow-from' but source is unset, the rule will be automatically changed to 'sameorigin'. + */ + source: string; + }; + /** + * boolean that controls the 'X-XSS-PROTECTION' header for Internet Explorer. Defaults to true which sets the header to equal '1; mode=block'. + * Note: this setting can create a security vulnerability in versions of Internet Exploere below 8, as well as unpatched versions of IE8. See here and here for more information. If you actively support old versions of IE, it may be wise to explicitly set this flag to false. + */ + xss: boolean; + /** + * boolean controlling the 'X-Download-Options' header for Internet Explorer, preventing downloads from executing in your context. Defaults to true setting the header to 'noopen'. + */ + noOpen?: boolean; + /** + * boolean controlling the 'X-Content-Type-Options' header. Defaults to true setting the header to its only and default option, 'nosniff'. + */ + noSniff?: boolean; +} + + +export type RouteOptionsSecure = boolean | RouteOptionsSecureObject; diff --git a/types/hapi/definitions/route/route-options-validate.d.ts b/types/hapi/definitions/route/route-options-validate.d.ts new file mode 100644 index 0000000000..7fa61d5bef --- /dev/null +++ b/types/hapi/definitions/route/route-options-validate.d.ts @@ -0,0 +1,92 @@ +import {Lifecycle, RouteOptionsResponseSchema} from "hapi"; +import {ValidationOptions} from "joi"; + +/** + * Default value: { headers: true, params: true, query: true, payload: true, failAction: 'error' }. + * Request input validation rules for various request components. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsvalidate) + */ +export interface RouteOptionsValidate { + + /** + * Default value: none. + * An optional object with error fields copied into every validation error response. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsvalidateerrorfields) + */ + errorFields?: object; + + /** + * Default value: 'error' (return a Bad Request (400) error response). + * A failAction value which determines how to handle failed validations. When set to a function, the err argument includes the type of validation error under err.output.payload.validation.source. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsvalidatefailaction) + */ + failAction?: Lifecycle.FailAction; + + /** + * Default value: true (no validation). + * Validation rules for incoming request headers: + * * true - any headers allowed (no validation performed). + * * a joi validation object. + * * a validation function using the signature async function(value, options) where: + * * * value - the request.headers object containing the request headers. + * * * options - options. + * * * if a value is returned, the value is used as the new request.headers value and the original value is stored in request.orig.headers. Otherwise, the headers are left unchanged. If an error is thrown, the error is handled according to failAction. + * Note that all header field names must be in lowercase to match the headers normalized by node. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsvalidateheaders) + */ + headers?: RouteOptionsResponseSchema; + + /** + * Default value: none. + * An options object passed to the joi rules or the custom validation methods. Used for setting global options such as stripUnknown or abortEarly (the complete list is available here). + * If a custom validation function (see headers, params, query, or payload above) is defined then options can an arbitrary object that will be passed to this function as the second parameter. + * The values of the other inputs (i.e. headers, query, params, payload, app, and auth) are added to the options object under the validation context (accessible in rules as Joi.ref('$query.key')). + * Note that validation is performed in order (i.e. headers, params, query, and payload) and if type casting is used (e.g. converting a string to a number), the value of inputs not yet validated will reflect the raw, unvalidated and unmodified values. + * If the validation rules for headers, params, query, and payload are defined at both the server routes level and at the route level, the individual route settings override the routes defaults (the rules are not merged). + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsvalidateparams) + */ + options?: ValidationOptions | object; + + /** + * Default value: true (no validation). + * Validation rules for incoming request path parameters, after matching the path against the route, extracting any parameters, and storing them in request.params, where: + * * true - any path parameter value allowed (no validation performed). + * * a joi validation object. + * * a validation function using the signature async function(value, options) where: + * * * value - the request.params object containing the request path parameters. + * * * options - options. + * if a value is returned, the value is used as the new request.params value and the original value is stored in request.orig.params. Otherwise, the path parameters are left unchanged. If an error is thrown, the error is handled according to failAction. + * Note that failing to match the validation rules to the route path parameters definition will cause all requests to fail. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsvalidateparams) + */ + params?: RouteOptionsResponseSchema; + + /** + * Default value: true (no validation). + * Validation rules for incoming request payload (request body), where: + * * true - any payload allowed (no validation performed). false - no payload allowed. + * * a joi validation object. Note that empty payloads are represented by a null value. If a validation schema is provided and empty payload are allowed, the schema must be explicitly defined by setting the rule to a joi schema with null allowed (e.g. Joi.object({ keys here }).allow(null)). + * * a validation function using the signature async function(value, options) where: + * * * value - the request.query object containing the request query parameters. + * * * options - options. + * if a value is returned, the value is used as the new request.payload value and the original value is stored in request.orig.payload. Otherwise, the payload is left unchanged. If an error is thrown, the error is handled according to failAction. + * Note that validating large payloads and modifying them will cause memory duplication of the payload (since the original is kept), as well as the significant performance cost of validating large amounts of data. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsvalidatepayload) + */ + payload?: RouteOptionsResponseSchema; + + /** + * Default value: true (no validation). + * Validation rules for incoming request URI query component (the key-value part of the URI between '?' and '#'). The query is parsed into its individual key-value pairs, decoded, and stored in request.query prior to validation. Where: + * * true - any query parameter value allowed (no validation performed). false - no query parameter value allowed. + * * a joi validation object. + * * a validation function using the signature async function(value, options) where: + * * * value - the request.query object containing the request query parameters. + * * * options - options. + * if a value is returned, the value is used as the new request.query value and the original value is stored in request.orig.query. Otherwise, the query parameters are left unchanged. If an error is thrown, the error is handled according to failAction. + * Note that changes to the query parameters will not be reflected in request.url. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsvalidatequery) + */ + query?: RouteOptionsResponseSchema; + +} diff --git a/types/hapi/definitions/route/route-options.d.ts b/types/hapi/definitions/route/route-options.d.ts new file mode 100644 index 0000000000..2bc2542f4a --- /dev/null +++ b/types/hapi/definitions/route/route-options.d.ts @@ -0,0 +1,284 @@ +import { + Json, + Lifecycle, + PluginSpecificConfiguration, + RouteOptionsAccess, + RouteOptionsCache, + RouteOptionsCors, + RouteOptionsPayload, + RouteOptionsPreArray, + RouteOptionsResponse, + RouteOptionsSecure, + RouteOptionsValidate, + Util +} from "hapi"; + +/** + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionscompression) + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverencoderencoding-encoder) + */ +export type RouteCompressionEncoderSettings = object; + +/** + * Each route can be customized to change the default behavior of the request lifecycle. + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#route-options) + */ +export interface RouteOptions { + + /** + * Application-specific route configuration state. Should not be used by plugins which should use options.plugins[name] instead. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsapp) + */ + app?: any; + + /** + * Route authentication configuration. Value can be: + * false to disable authentication if a default strategy is set. + * a string with the name of an authentication strategy registered with server.auth.strategy(). The strategy will be set to 'required' mode. + * an authentication configuration object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsapp) + */ + auth?: false | string | RouteOptionsAccess; + + /** + * Default value: null. + * An object passed back to the provided handler (via this) when called. Ignored if the method is an arrow function. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsbind) + */ + bind?: object; + + /** + * Default value: { privacy: 'default', statuses: [200], otherwise: 'no-cache' }. + * If the route method is 'GET', the route can be configured to include HTTP caching directives in the response. Caching can be customized using an object with the following options: + * privacy - determines the privacy flag included in client-side caching using the 'Cache-Control' header. Values are: + * * * 'default' - no privacy flag. + * * * 'public' - mark the response as suitable for public caching. + * * * 'private' - mark the response as suitable only for private caching. + * * expiresIn - relative expiration expressed in the number of milliseconds since the item was saved in the cache. Cannot be used together with expiresAt. + * * expiresAt - time of day expressed in 24h notation using the 'HH:MM' format, at which point all cache records for the route expire. Cannot be used together with expiresIn. + * * statuses - an array of HTTP response status code numbers (e.g. 200) which are allowed to include a valid caching directive. + * * otherwise - a string with the value of the 'Cache-Control' header when caching is disabled. + * The default Cache-Control: no-cache header can be disabled by setting cache to false. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionscache) + */ + cache?: false | RouteOptionsCache; + + /** + * An object where each key is a content-encoding name and each value is an object with the desired encoder settings. Note that decoder settings are set in compression. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionscompression) + */ + compression?: Util.Dictionary; + + /** + * Default value: false (no CORS headers). + * The Cross-Origin Resource Sharing protocol allows browsers to make cross-origin API calls. CORS is required by web applications running inside a browser which are loaded from a different domain than the API server. To enable, set cors to true, or to an object with the following options: + * * origin - an array of allowed origin servers strings ('Access-Control-Allow-Origin'). The array can contain any combination of fully qualified origins along with origin strings containing a wildcard '*' character, or a single '*' origin string. If set to 'ignore', any incoming Origin header is ignored (present or not) and the 'Access-Control-Allow-Origin' header is set to '*'. Defaults to any origin ['*']. + * * maxAge - number of seconds the browser should cache the CORS response ('Access-Control-Max-Age'). The greater the value, the longer it will take before the browser checks for changes in policy. Defaults to 86400 (one day). + * * headers - a strings array of allowed headers ('Access-Control-Allow-Headers'). Defaults to ['Accept', 'Authorization', 'Content-Type', 'If-None-Match']. + * * additionalHeaders - a strings array of additional headers to headers. Use this to keep the default headers in place. + * * exposedHeaders - a strings array of exposed headers ('Access-Control-Expose-Headers'). Defaults to ['WWW-Authenticate', 'Server-Authorization']. + * * additionalExposedHeaders - a strings array of additional headers to exposedHeaders. Use this to keep the default headers in place. + * * credentials - if true, allows user credentials to be sent ('Access-Control-Allow-Credentials'). Defaults to false. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionscors) + */ + cors?: false | RouteOptionsCors; + + /** + * Default value: none. + * Route description used for generating documentation (string). + * This setting is not available when setting server route defaults using server.options.routes. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsdescription) + */ + description?: string; + + /** + * Default value: none. + * Route-level request extension points by setting the option to an object with a key for each of the desired extension points ('onRequest' is not allowed), and the value is the same as the server.ext(events) event argument. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsext) + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#request-lifecycle) + */ + ext?: object; + + /** + * Default value: { relativeTo: '.' }. + * Defines the behavior for accessing files: + * * relativeTo - determines the folder relative paths are resolved against. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsfiles) + */ + files?: { + relativeTo: string; + } + + /** + * Default value: none. + * The route handler function performs the main business logic of the route and sets the response. handler can be assigned: + * * a lifecycle method. + * * an object with a single property using the name of a handler type registred with the server.handler() method. The matching property value is passed as options to the registered handler generator. + * Note: handlers using a fat arrow style function cannot be bound to any bind property. Instead, the bound context is available under h.context. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionshandler) + */ + handler?: Lifecycle.Method | object; + + /** + * Default value: none. + * An optional unique identifier used to look up the route using server.lookup(). Cannot be assigned to routes added with an array of methods. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsid) + */ + id?: string; + + /** + * Default value: false. + * If true, the route cannot be accessed through the HTTP listener but only through the server.inject() interface with the allowInternals option set to true. Used for internal routes that should not be accessible to the outside world. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsisinternal) + */ + isInternal?: boolean; + + /** + * Default value: none. + * Optional arguments passed to JSON.stringify() when converting an object or error response to a string payload or escaping it after stringification. Supports the following: + * * replacer - the replacer function or array. Defaults to no action. + * * space - number of spaces to indent nested object keys. Defaults to no indentation. + * * suffix - string suffix added after conversion to JSON string. Defaults to no suffix. + * * escape - calls Hoek.jsonEscape() after conversion to JSON string. Defaults to false. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsjson) + */ + json?: Json.StringifyArguments; + + /** + * Default value: none. + * Enables JSONP support by setting the value to the query parameter name containing the function name used to wrap the response payload. + * For example, if the value is 'callback', a request comes in with 'callback=me', and the JSON response is '{ "a":"b" }', the payload will be 'me({ "a":"b" });'. Cannot be used with stream responses. + * The 'Content-Type' response header is set to 'text/javascript' and the 'X-Content-Type-Options' response header is set to 'nosniff', and will override those headers even if explicitly set by response.type(). + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsjsonp) + */ + jsonp?: string; + + /** + * Default value: { collect: false }. + * Request logging options: + * collect - if true, request-level logs (both internal and application) are collected and accessible via request.logs. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionslog) + */ + log?: { + collect: boolean; + } + + /** + * Default value: none. + * Route notes used for generating documentation (string or array of strings). + * This setting is not available when setting server route defaults using server.options.routes. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsnotes) + */ + notes?: string | string[]; + + /** + * Determines how the request payload is processed. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspayload) + */ + payload?: RouteOptionsPayload; + + /** + * Default value: {}. + * Plugin-specific configuration. plugins is an object where each key is a plugin name and the value is the plugin configuration. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsplugins) + */ + plugins?: Util.Dictionary; + + /** + * Default value: none. + * The pre option allows defining methods for performing actions before the handler is called. These methods allow breaking the handler logic into smaller, reusable components that can be shared ascross routes, as well as provide a cleaner error handling of prerequisite operations (e.g. load required reference data from a database). + * pre is assigned an ordered array of methods which are called serially in order. If the pre array contains another array of methods as one of its elements, those methods are called in parallel. Note that during parallel execution, if any of the methods error, return a takeover response, or abort signal, the other parallel methods will continue to execute but will be ignored once completed. + * pre can be assigned a mixed array of: + * * an array containing the elements listed below, which are executed in parallel. + * * an object with: + * * * method - a lifecycle method. + * * * assign - key name used to assign the response of the method to in request.pre and request.preResponses. + * * * failAction - A failAction value which determine what to do when a pre-handler method throws an error. If assign is specified and the failAction setting is not 'error', the error will be assigned. + * * a method function - same as including an object with a single method key. + * Note that pre-handler methods do not behave the same way other lifecycle methods do when a value is returned. Instead of the return value becoming the new response payload, the value is used to assign the corresponding request.pre and request.preResponses properties. Otherwise, the handling of errors, takeover response response, or abort signal behave the same as any other lifecycle methods. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspre) + */ + pre?: RouteOptionsPreArray; + + /** + * Processing rules for the outgoing response. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsresponse) + */ + response?: RouteOptionsResponse; + + /** + * Default value: false (security headers disabled). + * Sets common security headers. To enable, set security to true or to an object with the following options: + * * hsts - controls the 'Strict-Transport-Security' header, where: + * * * true - the header will be set to max-age=15768000. This is the default value. + * * * a number - the maxAge parameter will be set to the provided value. + * * * an object with the following fields: + * * * * maxAge - the max-age portion of the header, as a number. Default is 15768000. + * * * * includeSubDomains - a boolean specifying whether to add the includeSubDomains flag to the header. + * * * * preload - a boolean specifying whether to add the 'preload' flag (used to submit domains inclusion in Chrome's HTTP Strict Transport Security (HSTS) preload list) to the header. + * * xframe - controls the 'X-Frame-Options' header, where: + * * * true - the header will be set to 'DENY'. This is the default value. + * * * 'deny' - the headers will be set to 'DENY'. + * * * 'sameorigin' - the headers will be set to 'SAMEORIGIN'. + * * * an object for specifying the 'allow-from' rule, where: + * * * * rule - one of: + * * * * * 'deny' + * * * * * 'sameorigin' + * * * * * 'allow-from' + * * * * source - when rule is 'allow-from' this is used to form the rest of the header, otherwise this field is ignored. If rule is 'allow-from' but source is unset, the rule will be automatically changed to 'sameorigin'. + * * xss - boolean that controls the 'X-XSS-PROTECTION' header for Internet Explorer. Defaults to true which sets the header to equal '1; mode=block'. + * Note: this setting can create a security vulnerability in versions of Internet Exploere below 8, as well as unpatched versions of IE8. See here and here for more information. If you actively support old versions of IE, it may be wise to explicitly set this flag to false. + * * noOpen - boolean controlling the 'X-Download-Options' header for Internet Explorer, preventing downloads from executing in your context. Defaults to true setting the header to 'noopen'. + * * noSniff - boolean controlling the 'X-Content-Type-Options' header. Defaults to true setting the header to its only and default option, 'nosniff'. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionssecurity) + */ + security?: RouteOptionsSecure; + + /** + * Default value: { parse: true, failAction: 'error' }. + * HTTP state management (cookies) allows the server to store information on the client which is sent back to the server with every request (as defined in RFC 6265). state supports the following options: + * parse - determines if incoming 'Cookie' headers are parsed and stored in the request.state object. + * failAction - A failAction value which determines how to handle cookie parsing errors. Defaults to 'error' (return a Bad Request (400) error response). + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsstate) + */ + state?: { + parse?: boolean; + failAction?: Lifecycle.FailAction; + } + + /** + * Default value: none. + * Route tags used for generating documentation (array of strings). + * This setting is not available when setting server route defaults using server.options.routes. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionstags) + */ + tags?: string[]; + + /** + * Default value: { server: false }. + * Timeouts for processing durations. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionstimeout) + */ + timeout?: { + + /** + * Response timeout in milliseconds. Sets the maximum time allowed for the server to respond to an incoming request before giving up and responding with a Service Unavailable (503) error response. + */ + server?: boolean | number; + + /** + * Default value: none (use node default of 2 minutes). + * By default, node sockets automatically timeout after 2 minutes. Use this option to override this behavior. Set to false to disable socket timeouts. + */ + socket?: boolean | number; + + }; + + /** + * Default value: { headers: true, params: true, query: true, payload: true, failAction: 'error' }. + * Request input validation rules for various request components. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsvalidate) + */ + validate?: RouteOptionsValidate; + +} diff --git a/types/hapi/definitions/server/server-auth-scheme.d.ts b/types/hapi/definitions/server/server-auth-scheme.d.ts new file mode 100644 index 0000000000..835a0791ce --- /dev/null +++ b/types/hapi/definitions/server/server-auth-scheme.d.ts @@ -0,0 +1,71 @@ +import {Lifecycle, Request, ResponseToolkit, Server} from "hapi"; + +/** + * The scheme options argument passed to server.auth.strategy() when instantiation a strategy. + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverauthschemename-scheme) + */ +export type ServerAuthSchemeOptions = object; + +/** + * the method implementing the scheme with signature function(server, options) where: + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverauthschemename-scheme) + * @param server - a reference to the server object the scheme is added to. + * @param options - (optional) the scheme options argument passed to server.auth.strategy() when instantiation a strategy. + */ +export interface ServerAuthScheme { + (server: Server, options?: ServerAuthSchemeOptions): ServerAuthSchemeObject; +} + +/** + * The scheme method must return an object with the following + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#authentication-scheme) + */ +export interface ServerAuthSchemeObject { + + /** + * optional object which is exposed via the [server.auth.api](https://github.com/hapijs/hapi/blob/master/API.md#server.auth.api) object. + */ + api?: object; + + /** + * A lifecycle method function called for each incoming request configured with the authentication scheme. The + * method is provided with two special toolkit methods for returning an authenticated or an unauthenticate result: + * * h.authenticated() - indicate request authenticated successfully. + * * h.unauthenticated() - indicate request failed to authenticate. + * @param request the request object. + * @param h the ResponseToolkit + * @return the Lifecycle.ReturnValue + */ + authenticate(request: Request, h: ResponseToolkit): Lifecycle.ReturnValue; + + /** + * A lifecycle method to authenticate the request payload. + * When the scheme payload() method returns an error with a message, it means payload validation failed due to bad + * payload. If the error has no message but includes a scheme name (e.g. Boom.unauthorized(null, 'Custom')), + * authentication may still be successful if the route auth.payload configuration is set to 'optional'. + * @param request the request object. + * @param h the ResponseToolkit + * @return the Lifecycle.ReturnValue + */ + payload?(request: Request, h: ResponseToolkit): Lifecycle.ReturnValue; + + /** + * A lifecycle method to decorate the response with authentication headers before the response headers or payload is written. + * @param request the request object. + * @param h the ResponseToolkit + * @return the Lifecycle.ReturnValue + */ + response?(request: Request, h: ResponseToolkit): Lifecycle.ReturnValue; + + /** + * An object with the following keys: + * * payload + */ + options?: { + /** + * if true, requires payload validation as part of the scheme and forbids routes from disabling payload auth validation. Defaults to false. + */ + payload?: boolean; + }; + +} diff --git a/types/hapi/definitions/server/server-auth.d.ts b/types/hapi/definitions/server/server-auth.d.ts new file mode 100644 index 0000000000..0b082c2872 --- /dev/null +++ b/types/hapi/definitions/server/server-auth.d.ts @@ -0,0 +1,82 @@ +import {Request, RouteOptionsAccess, ServerAuthScheme, Util} from "hapi"; + +/** + * An authentication configuration object using the same format as the route auth handler options. + * For reference [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverauthdefaultoptions) + */ +export interface ServerAuthConfig extends RouteOptionsAccess { + +} + +export interface ServerAuth { + + /** + * An object where each key is an authentication strategy name and the value is the exposed strategy API. + * Available only when the authentication scheme exposes an API by returning an api key in the object + * returned from its implementation function. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverauthapi) + */ + api: Util.Dictionary; + + /** + * Contains the default authentication configuration is a default strategy was set via + * [server.auth.default()](https://github.com/hapijs/hapi/blob/master/API.md#server.auth.default()). + */ + readonly settings: { + default: ServerAuthConfig; + } + + /** + * Sets a default strategy which is applied to every route where: + * @param options - one of: + * * a string with the default strategy name + * * an authentication configuration object using the same format as the route auth handler options. + * @return void. + * The default does not apply when a route config specifies auth as false, or has an authentication strategy + * configured (contains the strategy or strategies authentication settings). Otherwise, the route authentication + * config is applied to the defaults. + * Note that if the route has authentication configured, the default only applies at the time of adding the route, + * not at runtime. This means that calling server.auth.default() after adding a route with some authentication + * config will have no impact on the routes added prior. However, the default will apply to routes added + * before server.auth.default() is called if those routes lack any authentication config. + * The default auth strategy configuration can be accessed via server.auth.settings.default. To obtain the active + * authentication configuration of a route, use server.auth.lookup(request.route). + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverauthdefaultoptions) + */ + default(options: string | ServerAuthConfig): void; + + /** + * Registers an authentication scheme where: + * @param name the scheme name. + * @param scheme - the method implementing the scheme with signature function(server, options) where: + * * server - a reference to the server object the scheme is added to. + * * options - (optional) the scheme options argument passed to server.auth.strategy() when instantiation a strategy. + * @return void. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverauthschemename-scheme) + */ + scheme(name: string, scheme: ServerAuthScheme): void; + + /** + * Registers an authentication strategy where: + * @param name - the strategy name. + * @param scheme - the scheme name (must be previously registered using server.auth.scheme()). + * @param options - scheme options based on the scheme requirements. + * @return Return value: none. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverauthstrategyname-scheme-options) + */ + strategy(name: string, scheme: string, options?: object): void; + + /** + * Tests a request against an authentication strategy where: + * @param strategy - the strategy name registered with server.auth.strategy(). + * @param request - the request object. + * @return Return value: the authentication credentials object if authentication was successful, otherwise throws an error. + * Note that the test() method does not take into account the route authentication configuration. It also does not + * perform payload authentication. It is limited to the basic strategy authentication execution. It does not + * include verifying scope, entity, or other route properties. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-serverauthteststrategy-request) + */ + test(strategy: string, request: Request): any; + +} + diff --git a/types/hapi/definitions/server/server-cache.d.ts b/types/hapi/definitions/server/server-cache.d.ts new file mode 100644 index 0000000000..d21d3c2613 --- /dev/null +++ b/types/hapi/definitions/server/server-cache.d.ts @@ -0,0 +1,42 @@ +import * as catbox from "catbox"; +import {ServerOptionsCache} from "hapi"; + +/** + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servercacheoptions) + */ +export interface ServerCache { + + /** + * Provisions a cache segment within the server cache facility where: + * @param options - [catbox policy](https://github.com/hapijs/catbox#policy) configuration where: + * * expiresIn - relative expiration expressed in the number of milliseconds since the item was saved in the cache. Cannot be used together with expiresAt. + * * expiresAt - time of day expressed in 24h notation using the 'HH:MM' format, at which point all cache records expire. Uses local time. Cannot be used together with expiresIn. + * * generateFunc - a function used to generate a new cache item if one is not found in the cache when calling get(). The method's signature is async function(id, flags) where: + * - `id` - the `id` string or object provided to the `get()` method. + * - `flags` - an object used to pass back additional flags to the cache where: + * - `ttl` - the cache ttl value in milliseconds. Set to `0` to skip storing in the cache. Defaults to the cache global policy. + * * staleIn - number of milliseconds to mark an item stored in cache as stale and attempt to regenerate it when generateFunc is provided. Must be less than expiresIn. + * * staleTimeout - number of milliseconds to wait before checking if an item is stale. + * * generateTimeout - number of milliseconds to wait before returning a timeout error when the generateFunc function takes too long to return a value. When the value is eventually returned, it is stored in the cache for future requests. Required if generateFunc is present. Set to false to disable timeouts which may cause all get() requests to get stuck forever. + * * generateOnReadError - if false, an upstream cache read error will stop the cache.get() method from calling the generate function and will instead pass back the cache error. Defaults to true. + * * generateIgnoreWriteError - if false, an upstream cache write error when calling cache.get() will be passed back with the generated value when calling. Defaults to true. + * * dropOnError - if true, an error or timeout in the generateFunc causes the stale value to be evicted from the cache. Defaults to true. + * * pendingGenerateTimeout - number of milliseconds while generateFunc call is in progress for a given id, before a subsequent generateFunc call is allowed. Defaults to 0 (no blocking of concurrent generateFunc calls beyond staleTimeout). + * * cache - the cache name configured in server.cache. Defaults to the default cache. + * * segment - string segment name, used to isolate cached items within the cache partition. When called within a plugin, defaults to '!name' where 'name' is the plugin name. When called within a server method, defaults to '#name' where 'name' is the server method name. Required when called outside of a plugin. + * * shared - if true, allows multiple cache provisions to share the same segment. Default to false. + * @return Catbox Policy. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servercacheoptions) + */ + (options: ServerOptionsCache): catbox.Policy; + + /** + * Provisions a server cache as described in server.cache where: + * @param options - same as the server cache configuration options. + * @return Return value: none. + * Note that if the server has been initialized or started, the cache will be automatically started to match the state of any other provisioned server cache. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-servercacheprovisionoptions) + */ + provision(options: ServerOptionsCache): void; + +} diff --git a/types/hapi/definitions/server/server-events.d.ts b/types/hapi/definitions/server/server-events.d.ts new file mode 100644 index 0000000000..5eb7bdc283 --- /dev/null +++ b/types/hapi/definitions/server/server-events.d.ts @@ -0,0 +1,146 @@ +import * as Podium from "podium"; + +/** + * an event name string. + * an event options object. + * a podium emitter object. + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servereventevents) + */ +export type ServerEventsApplication = string | ServerEventsApplicationObject | Podium; + +/** + * Object that it will be used in Event + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servereventevents) + */ +export interface ServerEventsApplicationObject { + /** the event name string (required). */ + name: string; + /** a string or array of strings specifying the event channels available. Defaults to no channel restrictions (event updates can specify a channel or not). */ + channels?: string | string[]; + /** if true, the data object passed to server.events.emit() is cloned before it is passed to the listeners (unless an override specified by each listener). Defaults to false (data is passed as-is). */ + clone?: boolean; + /** if true, the data object passed to server.event.emit() must be an array and the listener method is called with each array element passed as a separate argument (unless an override specified by each listener). This should only be used when the emitted data structure is known and predictable. Defaults to false (data is emitted as a single argument regardless of its type). */ + spread?: boolean; + /** if true and the criteria object passed to server.event.emit() includes tags, the tags are mapped to an object (where each tag string is the key and the value is true) which is appended to the arguments list at the end. A configuration override can be set by each listener. Defaults to false. */ + tags?: boolean; + /** if true, the same event name can be registered multiple times where the second registration is ignored. Note that if the registration config is changed between registrations, only the first configuration is used. Defaults to false (a duplicate registration will throw an error). */ + shared?: boolean; +} + +/** + * A criteria object with the following optional keys (unless noted otherwise): + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servereventsoncriteria-listener) + */ +export interface ServerEventCriteria { + /** (required) the event name string. */ + name: string; + /** a string or array of strings specifying the event channels to subscribe to. If the event registration specified a list of allowed channels, the channels array must match the allowed channels. If channels are specified, event updates without any channel designation will not be included in the subscription. Defaults to no channels filter. */ + channels?: string | string[]; + /** if true, the data object passed to server.event.emit() is cloned before it is passed to the listener method. Defaults to the event registration option (which defaults to false). */ + clone?: boolean; + /** a positive integer indicating the number of times the listener can be called after which the subscription is automatically removed. A count of 1 is the same as calling server.events.once(). Defaults to no limit. */ + count?: number; + /** + * filter - the event tags (if present) to subscribe to which can be one of: + * * a tag string. + * * an array of tag strings. + * * an object with the following: + * * * tags - a tag string or array of tag strings. + * * * all - if true, all tags must be present for the event update to match the subscription. Defaults to false (at least one matching tag). + */ + filter?: string | string[] | {tags: string | string[], all?: boolean}; + /** if true, and the data object passed to server.event.emit() is an array, the listener method is called with each array element passed as a separate argument. This should only be used when the emitted data structure is known and predictable. Defaults to the event registration option (which defaults to false). */ + spread?: boolean; + /** if true and the criteria object passed to server.event.emit() includes tags, the tags are mapped to an object (where each tag string is the key and the value is true) which is appended to the arguments list at the end. Defaults to the event registration option (which defaults to false). */ + tags?: boolean; +} + +/** + * Access: podium public interface. + * The server events emitter. Utilizes the podium with support for event criteria validation, channels, and filters. + * Use the following methods to interact with server.events: + * [server.event(events)](https://github.com/hapijs/hapi/blob/master/API.md#server.event()) - register application events. + * [server.events.emit(criteria, data)](https://github.com/hapijs/hapi/blob/master/API.md#server.events.emit()) - emit server events. + * [server.events.on(criteria, listener)](https://github.com/hapijs/hapi/blob/master/API.md#server.events.on()) - subscribe to all events. + * [server.events.once(criteria, listener)](https://github.com/hapijs/hapi/blob/master/API.md#server.events.once()) - subscribe to + * Other methods include: server.events.removeListener(name, listener), server.events.removeAllListeners(name), and server.events.hasListeners(name). + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverevents) + */ +export interface ServerEvents extends Podium { + + /** + * Emits a custom application event to all the subscribed listeners where: + * @param criteria - the event update criteria which must be one of: + * * the event name string. + * * an object with the following optional keys (unless noted otherwise): + * * * name - the event name string (required). + * * * channel - the channel name string. + * * * tags - a tag string or array of tag strings. + * @param data - the value emitted to the subscribers. If data is a function, the function signature is function() and it called once to generate (return value) the actual data emitted to the listeners. If no listeners match the event, the data function is not invoked. + * @return Return value: none. + * Note that events must be registered before they can be emitted or subscribed to by calling server.event(events). This is done to detect event name misspelling and invalid event activities. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-servereventsemitcriteria-data) + */ + emit(criteria: string, data: any | Function): void; + emit(criteria: {name: string, channel?: string, tags?: string | string[]}, data: any): void; + + /** + * Subscribe to an event where: + * @param criteria - the subscription criteria which must be one of: + * * event name string which can be any of the built-in server events + * * a custom application event registered with server.event(). + * * a criteria object + * @param listener - the handler method set to receive event updates. The function signature depends on the event argument, and the spread and tags options. + * @return Return value: none. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servereventsoncriteria-listener) + * See ['log' event](https://github.com/hapijs/hapi/blob/master/API.md#-log-event) + * See ['request' event](https://github.com/hapijs/hapi/blob/master/API.md#-request-event) + * See ['response' event](https://github.com/hapijs/hapi/blob/master/API.md#-response-event) + * See ['route' event](https://github.com/hapijs/hapi/blob/master/API.md#-route-event) + * See ['start' event](https://github.com/hapijs/hapi/blob/master/API.md#-start-event) + * See ['stop' event](https://github.com/hapijs/hapi/blob/master/API.md#-stop-event) + */ + on(criteria: string | ServerEventsApplicationObject | ServerEventCriteria, listener: Function): void; + + /** + * Same as calling [server.events.on()](https://github.com/hapijs/hapi/blob/master/API.md#server.events.on()) with the count option set to 1. + * @param criteria - the subscription criteria which must be one of: + * * event name string which can be any of the built-in server events + * * a custom application event registered with server.event(). + * * a criteria object + * @param listener - the handler method set to receive event updates. The function signature depends on the event argument, and the spread and tags options. + * @return Return value: none. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servereventsoncecriteria-listener) + */ + once(criteria: string | ServerEventsApplicationObject | ServerEventCriteria, listener: Function): void; + + /** + * Same as calling server.events.on() with the count option set to 1. + * @param criteria - the subscription criteria which must be one of: + * * event name string which can be any of the built-in server events + * * a custom application event registered with server.event(). + * * a criteria object + * @return Return value: a promise that resolves when the event is emitted. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-servereventsoncecriteria) + */ + once(criteria: string | ServerEventsApplicationObject | ServerEventCriteria): any; + + /** + * The follow method is only mentioned in Hapi API. The doc about that method can be found [here](https://github.com/hapijs/podium/blob/master/API.md#podiumremovelistenername-listener) + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverevents) + */ + removeListener(name: string, listener: Podium.Listener): Podium; + + /** + * The follow method is only mentioned in Hapi API. The doc about that method can be found [here](https://github.com/hapijs/podium/blob/master/API.md#podiumremovealllistenersname) + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverevents) + */ + removeAllListeners(name: string): Podium; + + /** + * The follow method is only mentioned in Hapi API. The doc about that method can be found [here](https://github.com/hapijs/podium/blob/master/API.md#podiumhaslistenersname) + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverevents) + */ + hasListeners(name: string): boolean; + +} diff --git a/types/hapi/definitions/server/server-ext.d.ts b/types/hapi/definitions/server/server-ext.d.ts new file mode 100644 index 0000000000..8bd29cbb18 --- /dev/null +++ b/types/hapi/definitions/server/server-ext.d.ts @@ -0,0 +1,146 @@ +import {Lifecycle, Server} from "hapi"; + +/** + * The extension point event name. The available extension points include the request extension points as well as the following server extension points: + * 'onPreStart' - called before the connection listeners are started. + * 'onPostStart' - called after the connection listeners are started. + * 'onPreStop' - called before the connection listeners are stopped. + * 'onPostStop' - called after the connection listeners are stopped. + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverextevents) + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#request-lifecycle) + */ +export type ServerExtType = 'onRequest' | 'onPreStart' | 'onPostStart' | 'onPreStop' | 'onPostStop'| 'onPreResponse'; + +/** + * The extension point event name for Request + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverextevents) + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#request-lifecycle) + */ +export type ServerExtRequestType = 'onRequest'; + +/** + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverextevents) + * Registers an extension function in one of the request lifecycle extension points where: + * @param events - an object or array of objects with the following: + * * type - (required) the extension point event name. The available extension points include the request extension points as well as the following server extension points: + * * * 'onPreStart' - called before the connection listeners are started. + * * * 'onPostStart' - called after the connection listeners are started. + * * * 'onPreStop' - called before the connection listeners are stopped. + * * * 'onPostStop' - called after the connection listeners are stopped. + * * method - (required) a function or an array of functions to be executed at a specified point during request processing. The required extension function signature is: + * * * server extension points: async function(server) where: + * * * * server - the server object. + * * * * this - the object provided via options.bind or the current active context set with server.bind(). + * * * request extension points: a lifecycle method. + * * options - (optional) an object with the following: + * * * before - a string or array of strings of plugin names this method must execute before (on the same event). Otherwise, extension methods are executed in the order added. + * * * after - a string or array of strings of plugin names this method must execute after (on the same event). Otherwise, extension methods are executed in the order added. + * * * bind - a context object passed back to the provided method (via this) when called. Ignored if the method is an arrow function. + * * * sandbox - if set to 'plugin' when adding a request extension points the extension is only added to routes defined by the current plugin. Not allowed when configuring route-level extensions, or when adding server extensions. Defaults to 'server' which applies to any route added to the server the extension is added to. + * @return void + */ +export interface ServerExtEventsObject { + /** + * (required) the extension point event name. The available extension points include the request extension points as well as the following server extension points: + * * 'onPreStart' - called before the connection listeners are started. + * * 'onPostStart' - called after the connection listeners are started. + * * 'onPreStop' - called before the connection listeners are stopped. + */ + type: ServerExtType; + /** + * (required) a function or an array of functions to be executed at a specified point during request processing. The required extension function signature is: + * * server extension points: async function(server) where: + * * * server - the server object. + * * * this - the object provided via options.bind or the current active context set with server.bind(). + * * request extension points: a lifecycle method. + */ + method: ServerExtPointFunction | ServerExtPointFunction[] | Function; + /** + * options - (optional) an object with the following: + * * before - a string or array of strings of plugin names this method must execute before (on the same event). Otherwise, extension methods are executed in the order added. + * * after - a string or array of strings of plugin names this method must execute after (on the same event). Otherwise, extension methods are executed in the order added. + * * bind - a context object passed back to the provided method (via this) when called. Ignored if the method is an arrow function. + * * sandbox - if set to 'plugin' when adding a request extension points the extension is only added to routes defined by the current plugin. Not allowed when configuring route-level extensions, or when adding server extensions. Defaults to 'server' which applies to any route added to the server the extension is added to. + */ + options?: ServerExtOptions; +} + +/** + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverextevents) + * Registers an extension function in one of the request lifecycle extension points where: + * @param events - an object or array of objects with the following: + * * type - (required) the extension point event name. The available extension points include the request extension points as well as the following server extension points: + * * * 'onPreStart' - called before the connection listeners are started. + * * * 'onPostStart' - called after the connection listeners are started. + * * * 'onPreStop' - called before the connection listeners are stopped. + * * * 'onPostStop' - called after the connection listeners are stopped. + * * method - (required) a function or an array of functions to be executed at a specified point during request processing. The required extension function signature is: + * * * server extension points: async function(server) where: + * * * * server - the server object. + * * * * this - the object provided via options.bind or the current active context set with server.bind(). + * * * request extension points: a lifecycle method. + * * options - (optional) an object with the following: + * * * before - a string or array of strings of plugin names this method must execute before (on the same event). Otherwise, extension methods are executed in the order added. + * * * after - a string or array of strings of plugin names this method must execute after (on the same event). Otherwise, extension methods are executed in the order added. + * * * bind - a context object passed back to the provided method (via this) when called. Ignored if the method is an arrow function. + * * * sandbox - if set to 'plugin' when adding a request extension points the extension is only added to routes defined by the current plugin. Not allowed when configuring route-level extensions, or when adding server extensions. Defaults to 'server' which applies to any route added to the server the extension is added to. + * @return void + */ +export interface ServerExtEventsRequestObject { + /** + * (required) the extension point event name. The available extension points include the request extension points as well as the following server extension points: + * * 'onPreStart' - called before the connection listeners are started. + * * 'onPostStart' - called after the connection listeners are started. + * * 'onPreStop' - called before the connection listeners are stopped. + * * 'onPostStop' - called after the connection listeners are stopped. + */ + type: ServerExtRequestType; + /** + * (required) a function or an array of functions to be executed at a specified point during request processing. The required extension function signature is: + * * server extension points: async function(server) where: + * * * server - the server object. + * * * this - the object provided via options.bind or the current active context set with server.bind(). + * * request extension points: a lifecycle method. + */ + method: Lifecycle.Method | Lifecycle.Method[]; + /** + * (optional) an object with the following: + * * before - a string or array of strings of plugin names this method must execute before (on the same event). Otherwise, extension methods are executed in the order added. + * * after - a string or array of strings of plugin names this method must execute after (on the same event). Otherwise, extension methods are executed in the order added. + * * bind - a context object passed back to the provided method (via this) when called. Ignored if the method is an arrow function. + * * sandbox - if set to 'plugin' when adding a request extension points the extension is only added to routes defined by the current plugin. Not allowed when configuring route-level extensions, or when adding server extensions. Defaults to 'server' which applies to any route added to the server the extension is added to. + */ + options?: ServerExtOptions; +} + +export interface ServerExtPointFunction { + (server: Server): void; +} + +/** + * An object with the following: + * * before - a string or array of strings of plugin names this method must execute before (on the same event). Otherwise, extension methods are executed in the order added. + * * after - a string or array of strings of plugin names this method must execute after (on the same event). Otherwise, extension methods are executed in the order added. + * * bind - a context object passed back to the provided method (via this) when called. Ignored if the method is an arrow function. + * * sandbox - if set to 'plugin' when adding a request extension points the extension is only added to routes defined by the current plugin. Not allowed when configuring route-level extensions, or when adding server extensions. Defaults to 'server' which applies to any route added to the server the extension is added to. + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverextevents) + */ +export interface ServerExtOptions { + /** + * a string or array of strings of plugin names this method must execute before (on the same event). Otherwise, extension methods are executed in the order added. + */ + before: string | string[]; + /** + * a string or array of strings of plugin names this method must execute after (on the same event). Otherwise, extension methods are executed in the order added. + */ + after: string | string[]; + /** + * a context object passed back to the provided method (via this) when called. Ignored if the method is an arrow function. + */ + bind: object; + /** + * if set to 'plugin' when adding a request extension points the extension is only added to routes defined by the current plugin. Not allowed when configuring route-level extensions, or when adding server extensions. Defaults to 'server' which applies to any route added to the server the extension is added to. + */ + sandbox?: 'server' | 'plugin'; +} + diff --git a/types/hapi/definitions/server/server-info.d.ts b/types/hapi/definitions/server/server-info.d.ts new file mode 100644 index 0000000000..399543e08e --- /dev/null +++ b/types/hapi/definitions/server/server-info.d.ts @@ -0,0 +1,55 @@ +/** + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverinfo) + * An object containing information about the server where: + */ +export interface ServerInfo { + + /** + * a unique server identifier (using the format '{hostname}:{pid}:{now base36}'). + */ + id: string; + + /** + * server creation timestamp. + */ + created: number; + + /** + * server start timestamp (0 when stopped). + */ + started: number; + + /** + * the connection [port](https://github.com/hapijs/hapi/blob/master/API.md#server.options.port) based on the following rules: + * * before the server has been started: the configured port value. + * * after the server has been started: the actual port assigned when no port is configured or was set to 0. + */ + port: number | string; + + /** + * The [host](https://github.com/hapijs/hapi/blob/master/API.md#server.options.host) configuration value. + */ + host: string; + + /** + * the active IP address the connection was bound to after starting. Set to undefined until the server has been + * started or when using a non TCP port (e.g. UNIX domain socket). + */ + address: undefined | string; + + /** + * the protocol used: + * * 'http' - HTTP. + * * 'https' - HTTPS. + * * 'socket' - UNIX domain socket or Windows named pipe. + */ + protocol: 'http' | 'https' | 'socket'; + + /** + * a string representing the connection (e.g. 'http://example.com:8080' or 'socket:/unix/domain/socket/path'). Contains + * the uri value if set, otherwise constructed from the available settings. If no port is configured or is set + * to 0, the uri will not include a port component until the server is started. + */ + uri: string; + +} diff --git a/types/hapi/definitions/server/server-inject.d.ts b/types/hapi/definitions/server/server-inject.d.ts new file mode 100644 index 0000000000..19a3a1de1e --- /dev/null +++ b/types/hapi/definitions/server/server-inject.d.ts @@ -0,0 +1,71 @@ +import {PluginsStates, Request} from "hapi"; +import * as Shot from "shot"; + +/** + * An object with: + * * method - (optional) the request HTTP method (e.g. 'POST'). Defaults to 'GET'. + * * url - (required) the request URL. If the URI includes an authority (e.g. 'example.com:8080'), it is used to automatically set an HTTP 'Host' header, unless one was specified in headers. + * * headers - (optional) an object with optional request headers where each key is the header name and the value is the header content. Defaults to no additions to the default shot headers. + * * payload - (optional) an string, buffer or object containing the request payload. In case of an object it will be converted to a string for you. Defaults to no payload. Note that payload processing defaults to 'application/json' if no 'Content-Type' header provided. + * * credentials - (optional) an credentials object containing authentication information. The credentials are used to bypass the default authentication strategies, and are validated directly as if they were received via an authentication scheme. Defaults to no credentials. + * * artifacts - (optional) an artifacts object containing authentication artifact information. The artifacts are used to bypass the default authentication strategies, and are validated directly as if they were received via an authentication scheme. Ignored if set without credentials. Defaults to no artifacts. + * * app - (optional) sets the initial value of request.app, defaults to {}. + * * plugins - (optional) sets the initial value of request.plugins, defaults to {}. + * * allowInternals - (optional) allows access to routes with config.isInternal set to true. Defaults to false. + * * remoteAddress - (optional) sets the remote address for the incoming connection. + * * simulate - (optional) an object with options used to simulate client request stream conditions for testing: + * * error - if true, emits an 'error' event after payload transmission (if any). Defaults to false. + * * close - if true, emits a 'close' event after payload transmission (if any). Defaults to false. + * * end - if false, does not end the stream. Defaults to true. + * * split - indicates whether the request payload will be split into chunks. Defaults to undefined, meaning payload will not be chunked. + * * validate - (optional) if false, the options inputs are not validated. This is recommended for run-time usage of inject() to make it perform faster where input validation can be tested separately. + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-serverinjectoptions) + * For context [Shot module](https://github.com/hapijs/shot) + */ +export interface ServerInjectOptions extends Shot.RequestOptions { + /** + * an credentials object containing authentication information. The credentials are used to bypass the default authentication strategies, and are validated directly as if they were received via an authentication scheme. Defaults to no credentials. + */ + credentials?: any; + /** + * (an artifacts object containing authentication artifact information. The artifacts are used to bypass the default authentication strategies, and are validated directly as if they were received via an authentication scheme. Ignored if set without credentials. Defaults to no artifacts. + */ + artifacts?: object; + /** + * sets the initial value of request.app, defaults to {}. + */ + app?: any; + /** + * sets the initial value of request.plugins, defaults to {}. + */ + plugins?: PluginsStates; + /** + * allows access to routes with config.isInternal set to true. Defaults to false. + */ + allowInternals?: boolean; +} + +/** + * A response object with the following properties: + * * statusCode - the HTTP status code. + * * headers - an object containing the headers set. + * * payload - the response payload string. + * * rawPayload - the raw response payload buffer. + * * raw - an object with the injection request and response objects: + * * req - the simulated node request object. + * * res - the simulated node response object. + * * result - the raw handler response (e.g. when not a stream or a view) before it is serialized for transmission. If not available, the value is set to payload. Useful for inspection and reuse of the internal objects returned (instead of parsing the response string). + * * request - the request object. + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-serverinjectoptions) + * For context [Shot module](https://github.com/hapijs/shot) + */ +export interface ServerInjectResponse extends Shot.ResponseObject { + /** + * the raw handler response (e.g. when not a stream or a view) before it is serialized for transmission. If not available, the value is set to payload. Useful for inspection and reuse of the internal objects returned (instead of parsing the response string). + */ + result: object | undefined; + /** + * the request object. + */ + request: Request; +} diff --git a/types/hapi/definitions/server/server-method.d.ts b/types/hapi/definitions/server/server-method.d.ts new file mode 100644 index 0000000000..c3c26565e8 --- /dev/null +++ b/types/hapi/definitions/server/server-method.d.ts @@ -0,0 +1,64 @@ +import * as catbox from "catbox"; + +/** + * The method function with a signature async function(...args, [flags]) where: + * * ...args - the method function arguments (can be any number of arguments or none). + * * flags - when caching is enabled, an object used to set optional method result flags: + * * * ttl - 0 if result is valid but cannot be cached. Defaults to cache policy. + * For reference [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servermethodname-method-options) + */ +export type ServerMethod = (...args: any[]) => any; + +/** + * The same cache configuration used in server.cache(). + * The generateTimeout option is required. + * For reference [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servermethodname-method-options) + * For reference [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servercacheoptions) + */ +export interface ServerMethodCache extends catbox.PolicyOptions { + generateTimeout: number | false; +} + +/** + * Configuration object: + * * bind - a context object passed back to the method function (via this) when called. Defaults to active context (set via server.bind() when the method is registered. Ignored if the method is an arrow function. + * * cache - the same cache configuration used in server.cache(). The generateTimeout option is required. + * * generateKey - a function used to generate a unique key (for caching) from the arguments passed to the method function (the flags argument is not passed as input). The server will automatically generate a unique key if the function's arguments are all of types 'string', 'number', or 'boolean'. However if the method uses other types of arguments, a key generation function must be provided which takes the same arguments as the function and returns a unique string (or null if no key can be generated). + * For reference [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servermethodname-method-options) + */ +export interface ServerMethodOptions { + /** + * a context object passed back to the method function (via this) when called. Defaults to active context (set via server.bind() when the method is registered. Ignored if the method is an arrow function. + */ + bind?: object; + /** + * the same cache configuration used in server.cache(). The generateTimeout option is required. + */ + cache?: ServerMethodCache; + /** + * a function used to generate a unique key (for caching) from the arguments passed to the method function (the flags argument is not passed as input). The server will automatically generate a unique key if the function's arguments are all of types 'string', 'number', or 'boolean'. However if the method uses other types of arguments, a key generation function must be provided which takes the same arguments as the function and returns a unique string (or null if no key can be generated). + */ + generateKey?: Function; +} + +/** + * An object or an array of objects where each one contains: + * * name - the method name. + * * method - the method function. + * * options - (optional) settings. + * For reference [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servermethodmethods) + */ +export interface ServerMethodConfigurationObject { + /** + * the method name. + */ + name: string; + /** + * the method function. + */ + method: ServerMethod; + /** + * (optional) settings. + */ + options?: ServerMethodOptions; +} diff --git a/types/hapi/definitions/server/server-options-cache.d.ts b/types/hapi/definitions/server/server-options-cache.d.ts new file mode 100644 index 0000000000..1e75ebe857 --- /dev/null +++ b/types/hapi/definitions/server/server-options-cache.d.ts @@ -0,0 +1,25 @@ +import * as Catbox from "catbox"; + +/** + * hapi uses catbox for its cache implementation which includes support for common storage solutions (e.g. Redis, + * MongoDB, Memcached, Riak, among others). Caching is only utilized if methods and plugins explicitly store their state in the cache. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-cache) + */ +export interface ServerOptionsCache extends Catbox.PolicyOptions { + + /** a class, a prototype function, or a catbox engine object. */ + engine?: Catbox.EnginePrototypeOrObject; + + /** an identifier used later when provisioning or configuring caching for server methods or plugins. Each cache name must be unique. A single item may omit the name option which defines the default cache. If every cache includes a name, a default memory cache is provisioned as well. */ + name?: string; + + /** if true, allows multiple cache users to share the same segment (e.g. multiple methods using the same cache storage container). Default to false. */ + shared?: boolean; + + /** (optional) string used to isolate cached data. Defaults to 'hapi-cache'. */ + partition?: string; + + /** other options passed to the catbox strategy used. Other options are only passed to catbox when engine above is a class or function and ignored if engine is a catbox engine object). */ + [s: string]: any; + +} diff --git a/types/hapi/definitions/server/server-options.d.ts b/types/hapi/definitions/server/server-options.d.ts new file mode 100644 index 0000000000..606dd701ba --- /dev/null +++ b/types/hapi/definitions/server/server-options.d.ts @@ -0,0 +1,188 @@ +import * as http from "http"; +import * as https from "https"; +import * as catbox from "catbox"; +import {MimosOptions} from "mimos"; +import {PluginSpecificConfiguration, RouteOptions, ServerOptionsCache} from "hapi"; + +/** + * he server options control the behavior of the server object. Note that the options object is deeply cloned + * (with the exception of listener which is shallowly copied) and should not contain any values that are unsafe to perform deep copy on. + * All options are optionals. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-server-options) + */ +export interface ServerOptions { + + /** + * Default value: '0.0.0.0' (all available network interfaces). + * Sets the hostname or IP address the server will listen on. If not configured, defaults to host if present, otherwise to all available network interfaces. Set to '127.0.0.1' or 'localhost' to restrict the server to only those coming from the same host. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serveroptionsaddress) + */ + address?: string; + + /** + * Default value: {}. + * Provides application-specific configuration which can later be accessed via server.settings.app. The framework does not interact with this object. It is simply a reference made available anywhere a server reference is provided. + * Note the difference between server.settings.app which is used to store static configuration values and server.app which is meant for storing run-time state. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serveroptionsapp) + */ + app?: any; + + /** + * Default value: true. + * Used to disable the automatic initialization of the listener. When false, indicates that the listener will be started manually outside the framework. + * Cannot be set to true along with a port value. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serveroptionsautolisten) + */ + autoListen?: boolean; + + /** + * Default value: { engine: require('catbox-memory' }. + * Sets up server-side caching providers. Every server includes a default cache for storing application state. By default, a simple memory-based cache is created which has limited capacity and capabilities. + * hapi uses catbox for its cache implementation which includes support for common storage solutions (e.g. Redis, MongoDB, Memcached, Riak, among others). Caching is only utilized if methods and plugins explicitly store their state in the cache. + * The server cache configuration only defines the storage container itself. The configuration can be assigned one or more (array): + * * a class or prototype function (usually obtained by calling require() on a catbox strategy such as require('catbox-redis')). A new catbox client will be created internally using this function. + * * a configuration object with the following: + * * * engine - a class, a prototype function, or a catbox engine object. + * * * name - an identifier used later when provisioning or configuring caching for server methods or plugins. Each cache name must be unique. A single item may omit the name option which defines the default cache. If every cache includes a name, a default memory cache is provisioned as well. + * * * shared - if true, allows multiple cache users to share the same segment (e.g. multiple methods using the same cache storage container). Default to false. + * * * partition - (optional) string used to isolate cached data. Defaults to 'hapi-cache'. + * * * other options passed to the catbox strategy used. Other options are only passed to catbox when engine above is a class or function and ignored if engine is a catbox engine object). + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serveroptionscache) + */ + cache?: catbox.EnginePrototype | ServerOptionsCache | ServerOptionsCache[]; + + /** + * Default value: { minBytes: 1024 }. + * Defines server handling of content encoding requests. If false, response content encoding is disabled and no compression is performed by the server. + */ + compression?: boolean | object; + + /** + * Default value: '1024'. + * Sets the minimum response payload size in bytes that is required for content encoding compression. If the payload size is under the limit, no compression is performed. + */ + minBytes?: number; + + /** + * Default value: { request: ['implementation'] }. + * Determines which logged events are sent to the console. This should only be used for development and does not affect which events are actually logged internally and recorded. Set to false to disable all console logging, or to an object with: + * * log - a string array of server log tags to be displayed via console.error() when the events are logged via server.log() as well as internally generated server logs. Defaults to no output. + * * request - a string array of request log tags to be displayed via console.error() when the events are logged via request.log() as well as internally generated request logs. For example, to display all errors, set the option to ['error']. To turn off all console debug messages set it to false. To display all request logs, set it to '*'. Defaults to uncaught errors thrown in external code (these errors are handled automatically and result in an Internal Server Error response) or runtime errors due to developer error. + * For example, to display all errors, set the log or request to ['error']. To turn off all output set the log or request to false. To display all server logs, set the log or request to '*'. To disable all debug information, set debug to false. + */ + debug?: false | { + log?: string[] | false; + request?: string[] | false; + }; + + /** + * Default value: the operating system hostname and if not available, to 'localhost'. + * The public hostname or IP address. Used to set server.info.host and server.info.uri and as address is none provided. + */ + host?: string; + + /** + * Default value: none. + * An optional node HTTP (or HTTPS) http.Server object (or an object with a compatible interface). + * If the listener needs to be manually started, set autoListen to false. + * If the listener uses TLS, set tls to true. + */ + listener?: http.Server; + + /** + * Default value: { sampleInterval: 0 }. + * Server excessive load handling limits where: + * * sampleInterval - the frequency of sampling in milliseconds. When set to 0, the other load options are ignored. Defaults to 0 (no sampling). + * * maxHeapUsedBytes - maximum V8 heap size over which incoming requests are rejected with an HTTP Server Timeout (503) response. Defaults to 0 (no limit). + * * maxRssBytes - maximum process RSS size over which incoming requests are rejected with an HTTP Server Timeout (503) response. Defaults to 0 (no limit). + * * maxEventLoopDelay - maximum event loop delay duration in milliseconds over which incoming requests are rejected with an HTTP Server Timeout (503) response. Defaults to 0 (no limit). + */ + load?: { + /** the frequency of sampling in milliseconds. When set to 0, the other load options are ignored. Defaults to 0 (no sampling). */ + sampleInterval?: number; + /** maximum V8 heap size over which incoming requests are rejected with an HTTP Server Timeout (503) response. Defaults to 0 (no limit). */ + maxHeapUsedBytes?: number; + /** maximum process RSS size over which incoming requests are rejected with an HTTP Server Timeout (503) response. Defaults to 0 (no limit).*/ + maxRssBytes?: number; + /** maximum event loop delay duration in milliseconds over which incoming requests are rejected with an HTTP Server Timeout (503) response. Defaults to 0 (no limit).*/ + maxEventLoopDelay?: number; + }; + + /** + * Default value: none. + * Options passed to the mimos module when generating the mime database used by the server (and accessed via server.mime): + * * override - an object hash that is merged into the built in mime information specified here. Each key value pair represents a single mime object. Each override value must contain: + * * key - the lower-cased mime-type string (e.g. 'application/javascript'). + * * value - an object following the specifications outlined here. Additional values include: + * * * type - specify the type value of result objects, defaults to key. + * * * predicate - method with signature function(mime) when this mime type is found in the database, this function will execute to allows customizations. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serveroptionsmime) + */ + mime?: MimosOptions; + + /** + * Default value: {}. + * Plugin-specific configuration which can later be accessed via server.settings.plugins. plugins is an object where each key is a plugin name and the value is the configuration. Note the difference between server.settings.plugins which is used to store static configuration values and server.plugins which is meant for storing run-time state. + */ + plugins?: PluginSpecificConfiguration; + + /** + * Default value: 0 (an ephemeral port). + * The TCP port the server will listen to. Defaults the next available port when the server is started (and assigned to server.info.port). + * If port is a string containing a '/' character, it is used as a UNIX domain socket path. If it starts with '\.\pipe', it is used as a Windows named pipe. + */ + port?: number | string; + + /** + * Default value: { isCaseSensitive: true, stripTrailingSlash: false }. + * Controls how incoming request URIs are matched against the routing table: + * * isCaseSensitive - determines whether the paths '/example' and '/EXAMPLE' are considered different resources. Defaults to true. + * * stripTrailingSlash - removes trailing slashes on incoming paths. Defaults to false. + */ + router?: { + isCaseSensitive?: boolean; + stripTrailingSlash?: boolean; + }; + + /** + * Default value: none. + * A route options object used as the default configuration for every route. + */ + routes?: RouteOptions; + + /** + Default value: + { + strictHeader: true, + ignoreErrors: false, + isSecure: true, + isHttpOnly: true, + isSameSite: 'Strict', + encoding: 'none' + } + Sets the default configuration for every state (cookie) set explicitly via server.state() or implicitly (without definition) using the state configuration object. + */ + // TODO I am not sure if I need to use all the server.state() definition (like the default value) OR only the options below. The v16 use "any" here. + // state?: ServerStateCookieOptions; + state?: { + strictHeader?: boolean, + ignoreErrors?: boolean, + isSecure?: boolean, + isHttpOnly?: boolean, + isSameSite?: false | 'Strict' | 'Lax', + encoding?: 'none' | 'base64' | 'base64json' | 'form' | 'iron' + }; + + /** + * Default value: none. + * Used to create an HTTPS connection. The tls object is passed unchanged to the node HTTPS server as described in the node HTTPS documentation. + */ + tls?: true | https.RequestOptions; + + /** + * Default value: constructed from runtime server information. + * The full public URI without the path (e.g. 'http://example.com:8080'). If present, used as the server server.info.uri, otherwise constructed from the server settings. + */ + uri?: string; + +} diff --git a/types/hapi/definitions/server/server-realm.d.ts b/types/hapi/definitions/server/server-realm.d.ts new file mode 100644 index 0000000000..cfab9b75b7 --- /dev/null +++ b/types/hapi/definitions/server/server-realm.d.ts @@ -0,0 +1,33 @@ +import {PluginsStates} from "hapi"; + +/** + * The realm object contains sandboxed server settings specific to each plugin or authentication strategy. When registering a plugin or an authentication scheme, a server object reference is provided with a new server.realm container specific to that registration. It allows each plugin to maintain its own settings without leaking and affecting other plugins. + * For example, a plugin can set a default file path for local resources without breaking other plugins' configured paths. When calling server.bind(), the active realm's settings.bind property is set which is then used by routes and extensions added at the same level (server root or plugin). + */ +export interface ServerRealm { + /** when the server object is provided as an argument to the plugin register() method, modifiers provides the registration preferences passed the server.register() method and includes: */ + modifiers: { + /** routes preferences: */ + route: { + /** the route path prefix used by any calls to server.route() from the server. Note that if a prefix is used and the route path is set to '/', the resulting path will not include the trailing slash. */ + prefix: string; + /** the route virtual host settings used by any calls to server.route() from the server. */ + vhost: string; + } + }; + /** the realm of the parent server object, or null for the root server. */ + parent: object | null; + /** the active plugin name (empty string if at the server root). */ + plugin: string; + /** the plugin options object passed at registration. */ + pluginOptions: object; + /** plugin-specific state to be shared only among activities sharing the same active state. plugins is an object where each key is a plugin name and the value is the plugin state. */ + plugins: PluginsStates; + /** settings overrides */ + settings: { + files: { + relativeTo: string; + }; + bind: object; + }; +} diff --git a/types/hapi/definitions/server/server-register.d.ts b/types/hapi/definitions/server/server-register.d.ts new file mode 100644 index 0000000000..2b01995f9a --- /dev/null +++ b/types/hapi/definitions/server/server-register.d.ts @@ -0,0 +1,50 @@ +import {Plugin} from "hapi"; + +/** + * Registration options (different from the options passed to the registration function): + * * once - if true, subsequent registrations of the same plugin are skipped without error. Cannot be used with plugin options. Defaults to false. If not set to true, an error will be thrown the second time a plugin is registered on the server. + * * routes - modifiers applied to each route added by the plugin: + * * * prefix - string added as prefix to any route path (must begin with '/'). If a plugin registers a child plugin the prefix is passed on to the child or is added in front of the child-specific prefix. + * * * vhost - virtual host string (or array of strings) applied to every route. The outer-most vhost overrides the any nested configuration. + * For reference [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-serverregisterplugins-options) + */ +export interface ServerRegisterOptions { + /** + * if true, subsequent registrations of the same plugin are skipped without error. Cannot be used with plugin options. Defaults to false. If not set to true, an error will be thrown the second time a plugin is registered on the server. + */ + once?: boolean; + /** + * modifiers applied to each route added by the plugin: + */ + routes?: { + /** + * string added as prefix to any route path (must begin with '/'). If a plugin registers a child plugin the prefix is passed on to the child or is added in front of the child-specific prefix. + */ + prefix: string; + /** + * virtual host string (or array of strings) applied to every route. The outer-most vhost overrides the any nested configuration. + */ + vhost: string | string[]; + }; +} + +/** + * An object with the following: + * * plugin - a plugin object. + * * options - (optional) options passed to the plugin during registration. + * * once - if true, subsequent registrations of the same plugin are skipped without error. Cannot be used with plugin options. Defaults to false. If not set to true, an error will be thrown the second time a plugin is registered on the server. + * * routes - modifiers applied to each route added by the plugin: + * * * prefix - string added as prefix to any route path (must begin with '/'). If a plugin registers a child plugin the prefix is passed on to the child or is added in front of the child-specific prefix. + * * * vhost - virtual host string (or array of strings) applied to every route. The outer-most vhost overrides the any nested configuration. + * For reference [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-serverregisterplugins-options) + */ +export interface ServerRegisterPluginObject extends ServerRegisterOptions { + /** + * a plugin object. + */ + plugin: Plugin; + /** + * options passed to the plugin during registration. + */ + options?: object; +} diff --git a/types/hapi/definitions/server/server-route.d.ts b/types/hapi/definitions/server/server-route.d.ts new file mode 100644 index 0000000000..763f70ccf2 --- /dev/null +++ b/types/hapi/definitions/server/server-route.d.ts @@ -0,0 +1,55 @@ +import {Lifecycle, Server, Util} from "hapi"; + +export interface ServerRouteConfig { +} + +/** + * A route configuration object or an array of configuration objects where each object contains: + * * path - (required) the absolute path used to match incoming requests (must begin with '/'). Incoming requests are compared to the configured paths based on the server's router configuration. The path can include named parameters enclosed in {} which will be matched against literal values in the request as described in Path parameters. + * * method - (required) the HTTP method. Typically one of 'GET', 'POST', 'PUT', 'PATCH', 'DELETE', or 'OPTIONS'. Any HTTP method is allowed, except for 'HEAD'. Use '*' to match against any HTTP method (only when an exact match was not found, and any match with a specific method will be given a higher priority over a wildcard match). Can be assigned an array of methods which has the same result as adding the same route with different methods manually. + * * vhost - (optional) a domain string or an array of domain strings for limiting the route to only requests with a matching host header field. Matching is done against the hostname part of the header only (excluding the port). Defaults to all hosts. + * * handler - (required when handler is not set) the route handler function called to generate the response after successful authentication and validation. + * * options - additional route options. The options value can be an object or a function that returns an object using the signature function(server) where server is the server the route is being added to and this is bound to the current realm's bind option. + * * rules - route custom rules object. The object is passed to each rules processor registered with server.rules(). Cannot be used if route.options.rules is defined. + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverrouteroute) + */ +export interface ServerRoute { + + /** + * (required) the absolute path used to match incoming requests (must begin with '/'). Incoming requests are compared to the configured paths based on the server's router configuration. The path can include named parameters enclosed in {} which will be matched against literal values in the request as described in Path parameters. + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverrouteroute) + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#path-parameters) + */ + path: string; + + /** + * (required) the HTTP method. Typically one of 'GET', 'POST', 'PUT', 'PATCH', 'DELETE', or 'OPTIONS'. Any HTTP method is allowed, except for 'HEAD'. Use '*' to match against any HTTP method (only when an exact match was not found, and any match with a specific method will be given a higher priority over a wildcard match). Can be assigned an array of methods which has the same result as adding the same route with different methods manually. + */ + method: Util.HTTP_METHODS_PARTIAL | Util.HTTP_METHODS_PARTIAL[] | string | string[]; + + /** + * (optional) a domain string or an array of domain strings for limiting the route to only requests with a matching host header field. Matching is done against the hostname part of the header only (excluding the port). Defaults to all hosts. + */ + vhost?: string | string[]; + + /** + * (required when handler is not set) the route handler function called to generate the response after successful authentication and validation. + */ + handler?: Lifecycle.Method | object; + + /** + * additional route options. The options value can be an object or a function that returns an object using the signature function(server) where server is the server the route is being added to and this is bound to the current realm's bind option. + */ + options?: object | ((server: Server) => object); + + /** + * route custom rules object. The object is passed to each rules processor registered with server.rules(). Cannot be used if route.options.rules is defined. + */ + rules?: object; + + /** + * Missing documentation. Exist only in examples and test files. + */ + config?: ServerRouteConfig; + +} diff --git a/types/hapi/definitions/server/server-state-options.d.ts b/types/hapi/definitions/server/server-state-options.d.ts new file mode 100644 index 0000000000..f95eb4b794 --- /dev/null +++ b/types/hapi/definitions/server/server-state-options.d.ts @@ -0,0 +1,63 @@ +import { Request } from "hapi"; +import { SealOptions, SealOptionsSub } from "iron"; + +/** + * Optional cookie settings + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverstatename-options) + */ +export interface ServerStateCookieOptions { + /** time-to-live in milliseconds. Defaults to null (session time-life - cookies are deleted when the browser is closed). */ + ttl?: number | null; + /** sets the 'Secure' flag. Defaults to true. */ + isSecure?: boolean; + /** sets the 'HttpOnly' flag. Defaults to true. */ + isHttpOnly?: boolean; + /** + * sets the 'SameSite' flag. The value must be one of: + * * false - no flag. + * * 'Strict' - sets the value to 'Strict' (this is the default value). + * * 'Lax' - sets the value to 'Lax'. + */ + isSameSite?: false | 'Strict' | 'Lax'; + /** the path scope. Defaults to null (no path). */ + path?: string | null; + /** the domain scope. Defaults to null (no domain). */ + domain?: string | null; + /** + * if present and the cookie was not received from the client or explicitly set by the route handler, the + * cookie is automatically added to the response with the provided value. The value can be + * a function with signature async function(request) where: + */ + autoValue?(request: Request): void; + /** + * encoding performs on the provided value before serialization. Options are: + * * 'none' - no encoding. When used, the cookie value must be a string. This is the default value. + * * 'base64' - string value is encoded using Base64. + * * 'base64json' - object value is JSON-stringified then encoded using Base64. + * * 'form' - object value is encoded using the x-www-form-urlencoded method. + * * 'iron' - Encrypts and sign the value using iron. + */ + encoding?: 'none' | 'base64' | 'base64json' | 'form' | 'iron'; + /** + * an object used to calculate an HMAC for cookie integrity validation. This does not provide privacy, only a mean + * to verify that the cookie value was generated by the server. Redundant when 'iron' encoding is used. Options are: + * * integrity - algorithm options. Defaults to require('iron').defaults.integrity. + * * password - password used for HMAC key generation (must be at least 32 characters long). + */ + sign?: { + integrity?: SealOptionsSub; + password: string; + }; + /** password used for 'iron' encoding (must be at least 32 characters long). */ + password?: string; + /** options for 'iron' encoding. Defaults to require('iron').defaults. */ + iron?: SealOptions; + /** if true, errors are ignored and treated as missing cookies. */ + ignoreErrors?: boolean; + /** if true, automatically instruct the client to remove invalid cookies. Defaults to false. */ + clearInvalid?: boolean; + /** if false, allows any cookie value including values in violation of RFC 6265. Defaults to true. */ + strictHeader?: boolean; + /** used by proxy plugins (e.g. h2o2). */ + passThrough?: any; +} diff --git a/types/hapi/definitions/server/server-state.d.ts b/types/hapi/definitions/server/server-state.d.ts new file mode 100644 index 0000000000..119e06073c --- /dev/null +++ b/types/hapi/definitions/server/server-state.d.ts @@ -0,0 +1,67 @@ +import { ServerStateCookieOptions, Util } from "hapi"; + +/** + * A single object or an array of object where each contains: + * * name - the cookie name. + * * value - the cookie value. + * * options - cookie configuration to override the server settings. + */ +export interface ServerStateFormat { + name: string; + value: string; + options: ServerStateCookieOptions; +} + +/** + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverstatename-options) + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serveroptionsstate) + */ +export interface ServerState { + /** + * The server cookies manager. + * Access: read only and statehood public interface. + */ + readonly states: object; + + /** + * The server cookies manager settings. The settings are based on the values configured in [server.options.state](https://github.com/hapijs/hapi/blob/master/API.md#server.options.state). + */ + readonly settings: ServerStateCookieOptions; + + /** + * An object containing the configuration of each cookie added via [server.state()](https://github.com/hapijs/hapi/blob/master/API.md#server.state()) where each key is the + * cookie name and value is the configuration object. + */ + readonly cookies: object; + + /** + * An array containing the names of all configued cookies. + */ + readonly names: string[]; + + /** + * Same as calling [server.state()](https://github.com/hapijs/hapi/blob/master/API.md#server.state()). + */ + add(name: string, options?: ServerStateCookieOptions): void; + + /** + * Formats an HTTP 'Set-Cookie' header based on the server.options.state where: + * @param cookies - a single object or an array of object where each contains: + * * name - the cookie name. + * * value - the cookie value. + * * options - cookie configuration to override the server settings. + * @return Return value: a header string. + * Note that this utility uses the server configuration but does not change the server state. It is provided for manual cookie formating (e.g. when headers are set manually). + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-async-serverstatesformatcookies) + */ + format(cookies: ServerStateFormat | ServerStateFormat[]): string; + + /** + * Parses an HTTP 'Cookies' header based on the server.options.state where: + * @param header - the HTTP header. + * @return Return value: an object where each key is a cookie name and value is the parsed cookie. + * Note that this utility uses the server configuration but does not change the server state. It is provided for manual cookie parsing (e.g. when server parsing is disabled). + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-async-serverstatesparseheader) + */ + parse(header: string): Util.Dictionary; +} diff --git a/types/hapi/definitions/server/server.d.ts b/types/hapi/definitions/server/server.d.ts new file mode 100644 index 0000000000..a8f832c95b --- /dev/null +++ b/types/hapi/definitions/server/server.d.ts @@ -0,0 +1,561 @@ +import * as http from "http"; +import * as zlib from "zlib"; +import * as Podium from "podium"; +import { + Lifecycle, + PayloadCompressionDecoderSettings, + Plugin, + PluginsListRegistered, + Request, + RequestRoute, + ResponseToolkit, + RouteCompressionEncoderSettings, + ServerAuth, + ServerCache, + ServerEvents, + ServerEventsApplication, + ServerExtEventsObject, + ServerExtEventsRequestObject, + ServerExtOptions, + ServerExtPointFunction, + ServerExtType, + ServerInfo, + ServerInjectOptions, + ServerInjectResponse, + ServerMethod, + ServerMethodConfigurationObject, + ServerMethodOptions, + ServerOptions, + ServerRealm, + ServerRegisterOptions, + ServerRegisterPluginObject, + ServerRoute, + ServerState, + ServerStateCookieOptions, + Util, +} from "hapi"; + +/** + * The server object is the main application container. The server manages all incoming requests along with all + * the facilities provided by the framework. Each server supports a single connection (e.g. listen to port 80). + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#server) + */ +export class Server extends Podium { + + /** + * Creates a new server object + * @constructor + */ + constructor(); + + /** + * Creates a new server object where: + * @constructor + * @param options server configuration object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serveroptions) + */ + constructor(options: ServerOptions); + + /** + * Provides a safe place to store server-specific run-time application data without potential conflicts with + * the framework internals. The data can be accessed whenever the server is accessible. + * Initialized with an empty object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverapp) + */ + app?: any; + + /** + * Server Auth: properties and methods + */ + auth: ServerAuth; + + /** + * Provides access to the decorations already applied to various framework interfaces. The object must not be + * modified directly, but only through server.decorate. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverdecorations) + */ + readonly decorations: { + /** + * decorations on the request object. + */ + request: Request, + /** + * decorations on the response toolkit. + */ + toolkit: ResponseToolkit, + /** + * decorations on the server object. + */ + server: Server + }; + + /** + * Register custom application events where: + * @param events must be one of: + * * an event name string. + * * an event options object with the following optional keys (unless noted otherwise): + * * * name - the event name string (required). + * * * channels - a string or array of strings specifying the event channels available. Defaults to no channel restrictions (event updates can specify a channel or not). + * * * clone - if true, the data object passed to server.events.emit() is cloned before it is passed to the listeners (unless an override specified by each listener). Defaults to false (data is passed as-is). + * * * spread - if true, the data object passed to server.event.emit() must be an array and the listener method is called with each array element passed as a separate argument (unless an override specified by each listener). This should only be used when the emitted data structure is known and predictable. Defaults to false (data is emitted as a single argument regardless of its type). + * * * tags - if true and the criteria object passed to server.event.emit() includes tags, the tags are mapped to an object (where each tag string is the key and the value is true) which is appended to the arguments list at the end. A configuration override can be set by each listener. Defaults to false. + * * * shared - if true, the same event name can be registered multiple times where the second registration is ignored. Note that if the registration config is changed between registrations, only the first configuration is used. Defaults to false (a duplicate registration will throw an error). + * * a podium emitter object. + * * an array containing any of the above. + * @return Return value: none. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverevents) + */ + event(events: ServerEventsApplication | ServerEventsApplication[]): void; + + /** + * Access: podium public interface. + * The server events emitter. Utilizes the podium with support for event criteria validation, channels, and filters. + * Use the following methods to interact with server.events: + * [server.events.emit(criteria, data)](https://github.com/hapijs/hapi/blob/master/API.md#server.events.emit()) - emit server events. + * [server.events.on(criteria, listener)](https://github.com/hapijs/hapi/blob/master/API.md#server.events.on()) - subscribe to all events. + * [server.events.once(criteria, listener)](https://github.com/hapijs/hapi/blob/master/API.md#server.events.once()) - subscribe to + * Other methods include: server.events.removeListener(name, listener), server.events.removeAllListeners(name), and server.events.hasListeners(name). + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverevents) + */ + events: ServerEvents; + + /** + * An object containing information about the server where: + * * id - a unique server identifier (using the format '{hostname}:{pid}:{now base36}'). + * * created - server creation timestamp. + * * started - server start timestamp (0 when stopped). + * * port - the connection port based on the following rules: + * * host - The host configuration value. + * * address - the active IP address the connection was bound to after starting. Set to undefined until the server has been started or when using a non TCP port (e.g. UNIX domain socket). + * * protocol - the protocol used: + * * 'http' - HTTP. + * * 'https' - HTTPS. + * * 'socket' - UNIX domain socket or Windows named pipe. + * * uri - a string representing the connection (e.g. 'http://example.com:8080' or 'socket:/unix/domain/socket/path'). Contains the uri value if set, otherwise constructed from the available settings. If no port is configured or is set to 0, the uri will not include a port component until the server is started. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverinfo) + */ + readonly info: ServerInfo; + + /** + * Access: read only and listener public interface. + * The node HTTP server object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverlistener) + */ + listener: http.Server; + + /** + * An object containing the process load metrics (when load.sampleInterval is enabled): + * * eventLoopDelay - event loop delay milliseconds. + * * heapUsed - V8 heap usage. + * * rss - RSS memory usage. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverload) + */ + readonly load: { + /** + * event loop delay milliseconds. + */ + eventLoopDelay: number; + /** + * V8 heap usage. + */ + heapUsed: number; + /** + * RSS memory usage. + */ + rss: number; + }; + + /** + * Server methods are functions registered with the server and used throughout the application as a common utility. + * Their advantage is in the ability to configure them to use the built-in cache and share across multiple request + * handlers without having to create a common module. + * sever.methods is an object which provides access to the methods registered via server.method() where each + * server method name is an object property. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servermethods + */ + readonly methods: Util.Dictionary; + + /** + * Provides access to the server MIME database used for setting content-type information. The object must not be + * modified directly but only through the [mime](https://github.com/hapijs/hapi/blob/master/API.md#server.options.mime) server setting. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servermime) + */ + mime: any; + + /** + * An object containing the values exposed by each registered plugin where each key is a plugin name and the values + * are the exposed properties by each plugin using server.expose(). Plugins may set the value of + * the server.plugins[name] object directly or via the server.expose() method. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverplugins) + */ + plugins: any; + + /** + * The realm object contains sandboxed server settings specific to each plugin or authentication strategy. When + * registering a plugin or an authentication scheme, a server object reference is provided with a new server.realm + * container specific to that registration. It allows each plugin to maintain its own settings without leaking + * and affecting other plugins. + * For example, a plugin can set a default file path for local resources without breaking other plugins' configured + * paths. When calling server.bind(), the active realm's settings.bind property is set which is then used by + * routes and extensions added at the same level (server root or plugin). + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverrealm) + */ + readonly realm: ServerRealm; + + /** + * An object of the currently registered plugins where each key is a registered plugin name and the value is + * an object containing: + * * version - the plugin version. + * * name - the plugin name. + * * options - (optional) options passed to the plugin during registration. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverregistrations) + */ + readonly registrations: PluginsListRegistered; + + /** + * The server configuration object after defaults applied. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serversettings) + */ + readonly settings: ServerOptions; + + /** + * The server cookies manager. + * Access: read only and statehood public interface. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverstates) + */ + readonly states: ServerState; + + /** + * A string indicating the listener type where: + * * 'socket' - UNIX domain socket or Windows named pipe. + * * 'tcp' - an HTTP listener. + */ + readonly type: 'socket' | 'tcp'; + + /** + * The hapi module version number. + */ + readonly version: string; + + /** + * Sets a global context used as the default bind object when adding a route or an extension where: + * @param context - the object used to bind this in lifecycle methods such as the route handler and extension methods. The context is also made available as h.context. + * @return Return value: none. + * When setting a context inside a plugin, the context is applied only to methods set up by the plugin. Note that the context applies only to routes and extensions added after it has been set. Ignored if the method being bound is an arrow function. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverbindcontext) + */ + bind(context: object): void; + + /** + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servercacheoptions) + */ + cache: ServerCache; + + /** + * Registers a custom content decoding compressor to extend the built-in support for 'gzip' and 'deflate' where: + * @param encoding - the decoder name string. + * @param decoder - a function using the signature function(options) where options are the encoding specific options configured in the route payload.compression configuration option, and the return value is an object compatible with the output of node's zlib.createGunzip(). + * @return Return value: none. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverdecoderencoding-decoder) + */ + decoder(encoding: string, decoder: ((options: PayloadCompressionDecoderSettings) => zlib.Gunzip)): void; + + /** + * Extends various framework interfaces with custom methods where: + * @param type - the interface being decorated. Supported types: + * 'handler' - adds a new handler type to be used in routes handlers. + * 'request' - adds methods to the Request object. + * 'server' - adds methods to the Server object. + * 'toolkit' - adds methods to the response toolkit. + * @param property - the object decoration key name. + * @param method - the extension function or other value. + * @param options - (optional) supports the following optional settings: + * apply - when the type is 'request', if true, the method function is invoked using the signature function(request) where request is the current request object and the returned value is assigned as the decoration. + * extend - if true, overrides an existing decoration. The method must be a function with the signature function(existing) where: + * existing - is the previously set decoration method value. + * must return the new decoration function or value. + * cannot be used to extend handler decorations. + * @return void; + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverdecoratetype-property-method-options) + */ + decorate(type: 'request', property: string, method: ((request: Request) => Function), options?: {apply: true; extend: false} ): void; + decorate(type: 'handler' | 'request' | 'server' | 'toolkit', property: string, method: Function, options?: {apply: boolean; extend: boolean} ): void; + + /** + * Used within a plugin to declare a required dependency on other plugins where: + * @param dependencies - a single string or an array of plugin name strings which must be registered in order for this plugin to operate. Plugins listed must be registered before the server is initialized or started. + * @param after - (optional) a function that is called after all the specified dependencies have been registered and before the server starts. The function is only called if the server is initialized or started. The function signature is async function(server) where: + * server - the server the dependency() method was called on. + * @return Return value: none. + * The after method is identical to setting a server extension point on 'onPreStart'. + * If a circular dependency is detected, an exception is thrown (e.g. two plugins each has an after function to be called after the other). + * The method does not provide version dependency which should be implemented using npm peer dependencies. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverdependencydependencies-after) + */ + dependency(dependencies: string | string[], after?: ((server: Server) => void)): void; + + /** + * Registers a custom content encoding compressor to extend the built-in support for 'gzip' and 'deflate' where: + * @param encoding - the encoder name string. + * @param encoder - a function using the signature function(options) where options are the encoding specific options configured in the route compression option, and the return value is an object compatible with the output of node's zlib.createGzip(). + * @return Return value: none. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverencoderencoding-encoder) + */ + encoder(encoding: string, encoder: ((options: RouteCompressionEncoderSettings) => zlib.Gzip)): void; + + /** + * Used within a plugin to expose a property via server.plugins[name] where: + * @param key - the key assigned (server.plugins[name][key]). + * @param value - the value assigned. + * @return Return value: none. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverexposekey-value) + */ + expose(key: string, value: any): void; + + /** + * Merges an object into to the existing content of server.plugins[name] where: + * @param obj - the object merged into the exposed properties container. + * @return Return value: none. + * Note that all the properties of obj are deeply cloned into server.plugins[name], so avoid using this method + * for exposing large objects that may be expensive to clone or singleton objects such as database client + * objects. Instead favor server.expose(key, value), which only copies a reference to value. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverexposeobj) + */ + expose(obj: object): void; + + /** + * Registers an extension function in one of the request lifecycle extension points where: + * @param events - an object or array of objects with the following: + * * type - (required) the extension point event name. The available extension points include the request extension points as well as the following server extension points: + * * * 'onPreStart' - called before the connection listeners are started. + * * * 'onPostStart' - called after the connection listeners are started. + * * * 'onPreStop' - called before the connection listeners are stopped. + * * * 'onPostStop' - called after the connection listeners are stopped. + * * method - (required) a function or an array of functions to be executed at a specified point during request processing. The required extension function signature is: + * * * server extension points: async function(server) where: + * * * * server - the server object. + * * * * this - the object provided via options.bind or the current active context set with server.bind(). + * * * request extension points: a lifecycle method. + * * options - (optional) an object with the following: + * * * before - a string or array of strings of plugin names this method must execute before (on the same event). Otherwise, extension methods are executed in the order added. + * * * after - a string or array of strings of plugin names this method must execute after (on the same event). Otherwise, extension methods are executed in the order added. + * * * bind - a context object passed back to the provided method (via this) when called. Ignored if the method is an arrow function. + * * * sandbox - if set to 'plugin' when adding a request extension points the extension is only added to routes defined by the current plugin. Not allowed when configuring route-level extensions, or when adding server extensions. Defaults to 'server' which applies to any route added to the server the extension is added to. + * @return void + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverextevents) + */ + ext(events: ServerExtEventsObject | ServerExtEventsObject[]): void; + ext(events: ServerExtEventsRequestObject | ServerExtEventsRequestObject[]): void; + + /** + * Registers a single extension event using the same properties as used in server.ext(events), but passed as arguments. + * @return Return value: none. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverextevent-method-options) + */ + ext(event: ServerExtType, method: ServerExtPointFunction | Lifecycle.Method | Function, options?: ServerExtOptions): void; + + /** + * Initializes the server (starts the caches, finalizes plugin registration) but does not start listening on the connection port. + * @return Return value: none. + * Note that if the method fails and throws an error, the server is considered to be in an undefined state and + * should be shut down. In most cases it would be impossible to fully recover as the various plugins, caches, and + * other event listeners will get confused by repeated attempts to start the server or make assumptions about the + * healthy state of the environment. It is recommended to abort the process when the server fails to start properly. + * If you must try to resume after an error, call server.stop() first to reset the server state. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-serverinitialize) + */ + initialize(): void; + + /** + * Injects a request into the server simulating an incoming HTTP request without making an actual socket connection. Injection is useful for testing purposes as well as for invoking routing logic internally without the overhead and limitations of the network stack. + * The method utilizes the shot module for performing injections, with some additional options and response properties: + * @param options - can be assigned a string with the requested URI, or an object with: + * * method - (optional) the request HTTP method (e.g. 'POST'). Defaults to 'GET'. + * * url - (required) the request URL. If the URI includes an authority (e.g. 'example.com:8080'), it is used to automatically set an HTTP 'Host' header, unless one was specified in headers. + * * headers - (optional) an object with optional request headers where each key is the header name and the value is the header content. Defaults to no additions to the default shot headers. + * * payload - (optional) an string, buffer or object containing the request payload. In case of an object it will be converted to a string for you. Defaults to no payload. Note that payload processing defaults to 'application/json' if no 'Content-Type' header provided. + * * credentials - (optional) an credentials object containing authentication information. The credentials are used to bypass the default authentication strategies, and are validated directly as if they were received via an authentication scheme. Defaults to no credentials. + * * artifacts - (optional) an artifacts object containing authentication artifact information. The artifacts are used to bypass the default authentication strategies, and are validated directly as if they were received via an authentication scheme. Ignored if set without credentials. Defaults to no artifacts. + * * app - (optional) sets the initial value of request.app, defaults to {}. + * * plugins - (optional) sets the initial value of request.plugins, defaults to {}. + * * allowInternals - (optional) allows access to routes with config.isInternal set to true. Defaults to false. + * * remoteAddress - (optional) sets the remote address for the incoming connection. + * * simulate - (optional) an object with options used to simulate client request stream conditions for testing: + * * error - if true, emits an 'error' event after payload transmission (if any). Defaults to false. + * * close - if true, emits a 'close' event after payload transmission (if any). Defaults to false. + * * end - if false, does not end the stream. Defaults to true. + * * split - indicates whether the request payload will be split into chunks. Defaults to undefined, meaning payload will not be chunked. + * * validate - (optional) if false, the options inputs are not validated. This is recommended for run-time usage of inject() to make it perform faster where input validation can be tested separately. + * @return Return value: a response object with the following properties: + * * statusCode - the HTTP status code. + * * headers - an object containing the headers set. + * * payload - the response payload string. + * * rawPayload - the raw response payload buffer. + * * raw - an object with the injection request and response objects: + * * req - the simulated node request object. + * * res - the simulated node response object. + * * result - the raw handler response (e.g. when not a stream or a view) before it is serialized for transmission. If not available, the value is set to payload. Useful for inspection and reuse of the internal objects returned (instead of parsing the response string). + * * request - the request object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-serverinjectoptions) + */ + inject(options: string | ServerInjectOptions): ServerInjectResponse; + + /** + * Logs server events that cannot be associated with a specific request. When called the server emits a 'log' event which can be used by other listeners or plugins to record the information or output to the console. The arguments are: + * @param tags - (required) a string or an array of strings (e.g. ['error', 'database', 'read']) used to identify the event. Tags are used instead of log levels and provide a much more expressive mechanism for describing and filtering events. Any logs generated by the server internally include the 'hapi' tag along with event-specific information. + * @param data - (optional) an message string or object with the application data being logged. If data is a function, the function signature is function() and it called once to generate (return value) the actual data emitted to the listeners. If no listeners match the event, the data function is not invoked. + * @param timestamp - (optional) an timestamp expressed in milliseconds. Defaults to Date.now() (now). + * @return Return value: none. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverlogtags-data-timestamp) + */ + log(tags: string | string[], data?: string | object | (() => any), timestamp?: number): void; + + /** + * Looks up a route configuration where: + * @param id - the route identifier. + * @return Return value: the route information if found, otherwise null. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverlookupid) + */ + lookup(id: string): RequestRoute | null; + + /** + * Looks up a route configuration where: + * @param method - the HTTP method (e.g. 'GET', 'POST'). + * @param path - the requested path (must begin with '/'). + * @param host - (optional) hostname (to match against routes with vhost). + * @return Return value: the route information if found, otherwise null. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servermatchmethod-path-host) + */ + match(method: Util.HTTP_METHODS, path: string, host?: string): RequestRoute | null; + + /** + * Registers a server method where: + * @param name - a unique method name used to invoke the method via server.methods[name]. + * @param method - the method function with a signature async function(...args, [flags]) where: + * * ...args - the method function arguments (can be any number of arguments or none). + * * flags - when caching is enabled, an object used to set optional method result flags: + * * * ttl - 0 if result is valid but cannot be cached. Defaults to cache policy. + * @param options - (optional) configuration object: + * * bind - a context object passed back to the method function (via this) when called. Defaults to active context (set via server.bind() when the method is registered. Ignored if the method is an arrow function. + * * cache - the same cache configuration used in server.cache(). The generateTimeout option is required. + * * generateKey - a function used to generate a unique key (for caching) from the arguments passed to the method function (the flags argument is not passed as input). The server will automatically generate a unique key if the function's arguments are all of types 'string', 'number', or 'boolean'. However if the method uses other types of arguments, a key generation function must be provided which takes the same arguments as the function and returns a unique string (or null if no key can be generated). + * @return Return value: none. + * Method names can be nested (e.g. utils.users.get) which will automatically create the full path under server.methods (e.g. accessed via server.methods.utils.users.get). + * When configured with caching enabled, server.methods[name].cache is assigned an object with the following properties and methods: - await drop(...args) - a function that can be used to clear the cache for a given key. - stats - an object with cache statistics, see catbox for stats documentation. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servermethodname-method-options) + */ + method(name: string, method: ServerMethod, options?: ServerMethodOptions): void; + + /** + * Registers a server method function as described in server.method() using a configuration object where: + * @param methods - an object or an array of objects where each one contains: + * * name - the method name. + * * method - the method function. + * * options - (optional) settings. + * @return Return value: none. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servermethodmethods) + */ + method(methods: ServerMethodConfigurationObject | ServerMethodConfigurationObject[]): void; + + /** + * Sets the path prefix used to locate static resources (files and view templates) when relative paths are used where: + * @param relativeTo - the path prefix added to any relative file path starting with '.'. + * @return Return value: none. + * Note that setting a path within a plugin only applies to resources accessed by plugin methods. If no path is set, the server default route configuration files.relativeTo settings is used. The path only applies to routes added after it has been set. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverpathrelativeto) + */ + path(relativeTo: string): void; + + /** + * Registers a plugin where: + * @param plugins - one or an array of: + * * a plugin object. + * * an object with the following: + * * * plugin - a plugin object. + * * * options - (optional) options passed to the plugin during registration. + * * * once, routes - (optional) plugin-specific registration options as defined below. + * @param options - (optional) registration options (different from the options passed to the registration function): + * * once - if true, subsequent registrations of the same plugin are skipped without error. Cannot be used with plugin options. Defaults to false. If not set to true, an error will be thrown the second time a plugin is registered on the server. + * * routes - modifiers applied to each route added by the plugin: + * * * prefix - string added as prefix to any route path (must begin with '/'). If a plugin registers a child plugin the prefix is passed on to the child or is added in front of the child-specific prefix. + * * * vhost - virtual host string (or array of strings) applied to every route. The outer-most vhost overrides the any nested configuration. + * @return Return value: none. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-serverregisterplugins-options) + */ + register(plugins: Plugin | Plugin[], options?: ServerRegisterOptions): void; + register(plugins: ServerRegisterPluginObject | ServerRegisterPluginObject[], options?: ServerRegisterOptions): void; + + /** + * Adds a route where: + * @param route - a route configuration object or an array of configuration objects where each object contains: + * * path - (required) the absolute path used to match incoming requests (must begin with '/'). Incoming requests are compared to the configured paths based on the server's router configuration. The path can include named parameters enclosed in {} which will be matched against literal values in the request as described in Path parameters. + * * method - (required) the HTTP method. Typically one of 'GET', 'POST', 'PUT', 'PATCH', 'DELETE', or 'OPTIONS'. Any HTTP method is allowed, except for 'HEAD'. Use '*' to match against any HTTP method (only when an exact match was not found, and any match with a specific method will be given a higher priority over a wildcard match). Can be assigned an array of methods which has the same result as adding the same route with different methods manually. + * * vhost - (optional) a domain string or an array of domain strings for limiting the route to only requests with a matching host header field. Matching is done against the hostname part of the header only (excluding the port). Defaults to all hosts. + * * handler - (required when handler is not set) the route handler function called to generate the response after successful authentication and validation. + * * options - additional route options. The options value can be an object or a function that returns an object using the signature function(server) where server is the server the route is being added to and this is bound to the current realm's bind option. + * * rules - route custom rules object. The object is passed to each rules processor registered with server.rules(). Cannot be used if route.options.rules is defined. + * @return Return value: none. + * Note that the options object is deeply cloned (with the exception of bind which is shallowly copied) and cannot contain any values that are unsafe to perform deep copy on. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverrouteroute) + */ + route(route: ServerRoute | ServerRoute[]): void; + + /** + * Defines a route rules processor for converting route rules object into route configuration where: + * @param processor - a function using the signature function(rules, info) where: + * * rules - + * * info - an object with the following properties: + * * * method - the route method. + * * * path - the route path. + * * * vhost - the route virtual host (if any defined). + * * returns a route config object. + * @param options - optional settings: + * * validate - rules object validation: + * * * schema - joi schema. + * * * options - optional joi validation options. Defaults to { allowUnknown: true }. + * Note that the root server and each plugin server instance can only register one rules processor. If a route is added after the rules are configured, it will not include the rules config. Routes added by plugins apply the rules to each of the parent realms' rules from the root to the route's realm. This means the processor defined by the plugin override the config generated by the root processor if they overlap. The route config overrides the rules config if the overlap. + * @return void + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverrulesprocessor-options) + */ + rules(processor: (rules: object, info: {method: string, path: string, vhost?: string}) => object, options?: {validate: object}): void; // TODO needs implementation + + /** + * Starts the server by listening for incoming requests on the configured port (unless the connection was configured with autoListen set to false). + * @return Return value: none. + * Note that if the method fails and throws an error, the server is considered to be in an undefined state and should be shut down. In most cases it would be impossible to fully recover as the various plugins, caches, and other event listeners will get confused by repeated attempts to start the server or make assumptions about the healthy state of the environment. It is recommended to abort the process when the server fails to start properly. If you must try to resume after an error, call server.stop() first to reset the server state. + * If a started server is started again, the second call to server.start() is ignored. No events will be emitted and no extension points invoked. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-serverstart) + */ + start(): void; + + /** + * HTTP state management uses client cookies to persist a state across multiple requests. + * @param name - the cookie name string. + * @param options - are the optional cookie settings + * @return Return value: none. + * State defaults can be modified via the server default state configuration option. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverstatename-options) + */ + state(name: string, options?: ServerStateCookieOptions): void; + + /** + * Stops the server's listener by refusing to accept any new connections or requests (existing connections will continue until closed or timeout), where: + * @param options - (optional) object with: + * * timeout - overrides the timeout in millisecond before forcefully terminating a connection. Defaults to 5000 (5 seconds). + * @return Return value: none. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-serverstopoptions) + */ + stop(options?: {timeout: number}): void; + + /** + * Returns a copy of the routing table where: + * @param host - (optional) host to filter routes matching a specific virtual host. Defaults to all virtual hosts. + * @return Return value: an array of routes where each route contains: + * * settings - the route config with defaults applied. + * * method - the HTTP method in lower case. + * * path - the route path. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servertablehost) + */ + table(host?: string): {settings: ServerRoute; method: Util.HTTP_METHODS_PARTIAL_LOWERCASE, path: string}[]; // TODO I am not sure if the ServerRoute is the object expected here + +} diff --git a/types/hapi/definitions/util/json.d.ts b/types/hapi/definitions/util/json.d.ts new file mode 100644 index 0000000000..116f6bdf9a --- /dev/null +++ b/types/hapi/definitions/util/json.d.ts @@ -0,0 +1,27 @@ +export namespace Json { + + /** + * @see {@link https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#The_replacer_parameter} + */ + export type StringifyReplacer = ((key: string, value: any) => any) | (string | number)[] | undefined; + + /** + * Any value greater than 10 is truncated. + */ + export type StringifySpace = number | string; + + /** + * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsjson) + */ + export interface StringifyArguments { + /** the replacer function or array. Defaults to no action. */ + replacer?: StringifyReplacer; + /** number of spaces to indent nested object keys. Defaults to no indentation. */ + space?: StringifySpace; + /** tring suffix added after conversion to JSON string. Defaults to no suffix. **/ + suffix?: string; + /** calls Hoek.jsonEscape() after conversion to JSON string. Defaults to false. **/ + escape?: boolean; + } + +} diff --git a/types/hapi/definitions/util/lifecycle.d.ts b/types/hapi/definitions/util/lifecycle.d.ts new file mode 100644 index 0000000000..35f347dcd5 --- /dev/null +++ b/types/hapi/definitions/util/lifecycle.d.ts @@ -0,0 +1,59 @@ +import * as Boom from "boom"; +import * as stream from "stream"; +import {Request, ResponseToolkit} from "hapi"; + +export namespace Lifecycle { + + /** + * Lifecycle methods are the interface between the framework and the application. Many of the request lifecycle steps: + * extensions, authentication, handlers, pre-handler methods, and failAction function values are lifecyle methods + * provided by the developer and executed by the framework. + * Each lifecycle method is a function with the signature await function(request, h, [err]) where: + * * request - the request object. + * * h - the response toolkit the handler must call to set a response and return control back to the framework. + * * err - an error object availble only when the method is used as a failAction value. + */ + export interface Method { + (request: Request, h: ResponseToolkit): ReturnValue; + (request: Request, h: ResponseToolkit, err: Error): ReturnValue; + } + + /** + * Each lifecycle method must return a value or a promise that resolves into a value. If a lifecycle method returns + * without a value or resolves to an undefined value, an Internal Server Error (500) error response is sent. + * The return value must be one of: + * * Plain value: null, string, number, boolean + * * Buffer object + * * Error object: plain Error OR a Boom object. + * * Stream object + * * any object or array + * * a toolkit signal: + * * a toolkit method response: + * * a promise object that resolve to any of the above values + * For more info please [See docs](https://github.com/hapijs/hapi/blob/master/API.md#lifecycle-methods) + */ + export type ReturnValue = ReturnValueTypes | (Promise); + export type ReturnValueTypes = + (null | string | number | boolean) | + (Buffer) | + (Error | Boom.BoomError) | + (stream.Stream) | + (object | object[]) | + Object | + ResponseToolkit; + + /** + * Various configuration options allows defining how errors are handled. For example, when invalid payload is received or malformed cookie, instead of returning an error, the framework can be configured to perform another action. When supported the failAction option supports the following values: + * * 'error' - return the error object as the response. + * * 'log' - report the error but continue processing the request. + * * 'ignore' - take no action and continue processing the request. + * * a lifecycle method with the signature async function(request, h, err) where: + * * * request - the request object. + * * * h - the response toolkit. + * * * err - the error object. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-failaction-configuration) + */ + export type FailAction = 'error' | 'log' | 'ignore' | Method; + +} + diff --git a/types/hapi/definitions/util/util.d.ts b/types/hapi/definitions/util/util.d.ts new file mode 100644 index 0000000000..fc9bc97a7c --- /dev/null +++ b/types/hapi/definitions/util/util.d.ts @@ -0,0 +1,8 @@ +export namespace Util { + interface Dictionary { + [key: string]: T; + } + type HTTP_METHODS_PARTIAL_LOWERCASE = 'get' | 'post' | 'put' | 'patch' | 'delete' | 'options'; + type HTTP_METHODS_PARTIAL = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | HTTP_METHODS_PARTIAL_LOWERCASE; + type HTTP_METHODS = 'HEAD' | 'head' | HTTP_METHODS_PARTIAL; +} diff --git a/types/hapi/index.d.ts b/types/hapi/index.d.ts index a97a9f1edb..7df3bf0d04 100644 --- a/types/hapi/index.d.ts +++ b/types/hapi/index.d.ts @@ -1,6 +1,7 @@ -// Type definitions for hapi 16.1 +// Type definitions for hapi 17.0 // Project: https://github.com/hapijs/hapi -// Definitions by: Jason Swearingen , AJP +// Definitions by: Marc Bornträger +// Rafael Souza Fijalkowski // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.4 @@ -12,2712 +13,58 @@ + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + * - * - * Removal of IPromise replaced with Promise - * Removal of IReplyStrict<> - * Removal of IReply replaced with different interfaces like: - * ReplyWithContinue - * ReplyNoContinue, etc. - * Renaming of all interfaces to remove preceding I in preparation of dtslint - */ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ /// -import Events = require("events"); -import stream = require("stream"); -import http = require("http"); -import https = require("https"); -import url = require("url"); -import zlib = require("zlib"); -import domain = require("domain"); - -import * as Boom from 'boom'; -import { - ValidationOptions as JoiValidationOptions, - SchemaMap as JoiSchemaMap, - Schema as JoiSchema, -} from 'joi'; -// TODO check JoiValidationObject is correct for "a Joi validation object" -type JoiValidationObject = JoiSchema | JoiSchemaMap | (JoiSchema | JoiSchemaMap)[]; - -import * as Catbox from 'catbox'; -import { MimosOptions } from 'mimos'; -import Podium = require('podium'); -import * as Shot from 'shot'; - -export interface Dictionary { - [key: string]: T; -} - -/** - * Server - * The Server object is the main application container. The server manages all incoming connections along with all the facilities provided by the framework. A server can contain more than one connection (e.g. listen to port 80 and 8080). - * [See docs](https://hapijs.com/api/16.1.1#server) - * [See docs](https://hapijs.com/api/16.1.1#server-properties) - * [See docs](https://hapijs.com/api/16.1.1#server-events) - */ -export class Server extends Podium { - /** - * Creates a new Server object - */ - constructor(options?: ServerOptions); - - /** - * Provides a safe place to store server-specific run-time application data without potential conflicts with the framework internals. The data can be accessed whenever the server is accessible. Initialized with an empty object. - * [See docs](https://hapijs.com/api/16.1.1#serverapp) - */ - app?: any; - /** - * An array containing the server's connections. When the server object is returned from server.select(), the connections array only includes the connections matching the selection criteria. - * [See docs](https://hapijs.com/api/16.1.1#serverconnections) - */ - connections: ServerConnection[]; - /** - * When the server contains exactly one connection, info is an object containing information about the sole connection - * When the server contains more than one connection, each server.connections array member provides its own connection.info. - * [See docs](https://hapijs.com/api/16.1.1#serverinfo) - */ - info: ServerConnectionInfo | null; - /** - * An object containing the process load metrics (when load.sampleInterval is enabled): - * [See docs](https://hapijs.com/api/16.1.1#serverload) - */ - load: { - /** event loop delay milliseconds. */ - eventLoopDelay: number; - /** V8 heap usage. */ - heapUsed: number; - /** RSS memory usage. */ - rss: number; - }; - /** - * When the server contains exactly one connection, listener is the node HTTP server object of the sole connection. - * When the server contains more than one connection, each server.connections array member provides its own connection.listener. - * [See docs](https://hapijs.com/api/16.1.1#serverlistener) - */ - listener: ServerListener | null; - /** - * An object providing access to the server methods cs://hapijs.com/api/16.1.1#servermethodname-method-options} where each server method name is an object property. - * [See docs](https://hapijs.com/api/16.1.1#servermethods) - */ - methods: Dictionary; - /** - * Provides access to the server MIME database used for setting content-type information. The object must not be modified directly but only through the mime server setting. - * [See docs](https://hapijs.com/api/16.1.1#servermime) - */ - readonly mime: {path(path: string): {type: string}}; - /** - * An object containing the values exposed by each plugin registered where each key is a plugin name and the values are the exposed properties by each plugin using server.expose(). Plugins may set the value of the server.plugins[name] object directly or via the server.expose() method. - * [See docs](https://hapijs.com/api/16.1.1#serverplugins) - */ - plugins: PluginsStates; - /** - * The realm object contains server-wide or plugin-specific state that can be shared across various methods. For example, when calling server.bind(), the active realm settings.bind property is set which is then used by routes and extensions added at the same level (server root or plugin). Realms are a limited version of a sandbox where plugins can maintain state used by the framework when adding routes, extensions, and other properties. - * [See docs](https://hapijs.com/api/16.1.1#serverrealm) - */ - readonly realm: ServerRealm; - /** - * When the server contains exactly one connection, registrations is an object where each key is a registered plugin name - * When the server contains more than one connection, each server.connections array member provides its own connection.registrations. - * TODO check and offer PR to update Hapi docs: Assuming readonly. - * [See docs](https://hapijs.com/api/16.1.1#serverregistrations) - */ - readonly registrations: ServerRegisteredPlugins; - /** - * The root server object containing all the connections and the root server methods (e.g. start(), stop(), connection()). - * TODO, check and offer PR to update Hapi docs: Marked as optional as presumably root server does not reference itself. - * [See docs](https://hapijs.com/api/16.1.1#serverroot) - */ - root?: Server; - /** - * The server configuration object after defaults applied. - * [See docs](https://hapijs.com/api/16.1.1#serversettings) - */ - settings: ServerOptions; - /** - * The hapi module version number. - * [See docs](https://hapijs.com/api/16.1.1#serverversion) - */ - version: string; - - /** - * [See docs](https://hapijs.com/api/16.1.1#serverauthapi) - * [See docs](https://hapijs.com/api/16.1.1#serverauthdefaultoptions) - * [See docs](https://hapijs.com/api/16.1.1#serverauthschemename-scheme) - * [See docs](https://hapijs.com/api/16.1.1#serverauthstrategyname-scheme-mode-options) - * [See docs](https://hapijs.com/api/16.1.1#serverauthteststrategy-request-next) - */ - auth: ServerAuth; - - /** - * Sets a global context used as the default bind object when adding a route or an extension - * When setting context inside a plugin, the context is applied only to methods set up by the plugin. Note that the context applies only to routes and extensions added after it has been set. Ignored if the method being bound is an arrow function. - * @param context the object used to bind this in handler and extension methods. - * [See docs](https://hapijs.com/api/16.1.1#serverbindcontext) - */ - bind(context: any): void; - /** - * [See docs](https://hapijs.com/api/16.1.1#servercacheoptions) - * [See docs](https://hapijs.com/api/16.1.1#servercacheprovisionoptions-callback) - */ - cache: ServerCacheMethod; - /** - * Adds an incoming server connection - * Returns a server object with the new connections selected. - * Must be called before any other server method that modifies connections is called for it to apply to the new connection (e.g. server.state()) - * Note that the options object is deeply cloned (with the exception of listener which is shallowly copied) and cannot contain any values that are unsafe to perform deep copy on. - * - * [See docs](https://hapijs.com/api/16.1.1#serverconnectionoptions) for various advantage topics covering usage and caveats around use of the function in plugin register(), connectionless plugins calling connection(), etc. - * @param connection a connection configuration object or array of objects - */ - connection(options?: ServerConnectionOptions[]): Server; - connection(options?: ServerConnectionOptions): Server; - // connection: (options: ServerConnectionOptions[] | ServerConnectionOptions) => Server; - /** - * Registers a custom content decoding compressor to extend the built-in support for 'gzip' and 'deflate' - * [See docs](https://hapijs.com/api/16.1.1#serverdecoderencoding-decoder) - * @param encoding the decoder name string. - * @param decoder a function using the signature function(options) where options are the encoding specific options configured in the route payload.compression configuration option, and the return value is an object compatible with the output of node's zlib.createGunzip(). - */ - decoder(encoding: string, decoder: ((options: CompressionDecoderSettings) => zlib.Gunzip)): void; - /** - * Extends various framework interfaces with custom methods - * Note that decorations apply to the entire server and all its connections regardless of current selection. - * [See docs](https://hapijs.com/api/16.1.1#serverdecoratetype-property-method-options) - * - * NOTE: it's not possible to type the result of this action. - * It's advised that in a custom definition file, you extend the ReplyNoContinue - * and ReplyWithContinue functions. See Inert `.file` for an example. - * Or if it is not part of a library / plugin then you use a namespace within - * your code to type the request, server and or reply. See - * [tests/server/decorate.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hapi/tests/server/decorate.ts) - * for examples. - * @param type the interface being decorated. Supported types: - * * 'request' - adds methods to the Request object. - * * 'reply' - adds methods to the reply interface. - * * 'server' - adds methods to the Server object. - * @param property the object decoration key name. - * @param method the extension function or other value. - * @param options if the type is 'request', supports the following optional settings: - * * apply - if true, the method function is invoked using the signature function(request) where request is the current request object and the returned value is assigned as the decoration. - */ - decorate(type: 'request' | 'reply' | 'server', property: string, method: Function): void; - decorate(type: 'request', property: string, method: Function, options?: {apply: false}): void; - decorate(type: 'request', property: string, method: (request: Request) => Function, options: {apply: true}): void; - /** - * The server.decorate('server', ...) method can modify this prototype/interface. - * Have disabled these typings as there is a better alternative, see example in: tests/server/decorate.ts - * [And discussion here](https://github.com/DefinitelyTyped/DefinitelyTyped/issues/14517#issuecomment-298891630) - */ - // [index: string]: any; - /** - * Used within a plugin to declare a required dependency on other plugins - * The after method is identical to setting a server extension point on 'onPreStart'. Connectionless plugins (those with attributes.connections set to false) can only depend on other connectionless plugins (server initialization will fail even of the dependency is loaded but is not connectionless). - * Dependencies can also be set via the register attributes property (does not support setting after). - * [See docs](https://hapijs.com/api/16.1.1#serverdependencydependencies-after) - * @param dependencies a single string or array of plugin name strings which must be registered in order for this plugin to operate. Plugins listed must be registered before the server is initialized or started. Does not provide version dependency which should be implemented using npm peer dependencies. - * @param after an optional function called after all the specified dependencies have been registered and before the server starts. The function is only called if the server is initialized or started. If a circular dependency is detected, an exception is thrown (e.g. two plugins each has an after function to be called after the other). The function signature is function(server, next) - */ - dependency(dependencies: string | string[], after?: AfterDependencyLoadCallback): void; - /** - * Emits a custom application event update to all the subscribed listeners - * Note that events must be registered before they can be emitted or subscribed to by calling server.event(events). This is done to detect event name misspelling and invalid event activities. - * [See docs](https://hapijs.com/api/16.1.1#serveremitcriteria-data-callback) - * @param criteria the event update criteria which if an object can have the following optional keys (unless noted otherwise): - * * name - the event name string (required). - * * channel - the channel name string. - * * tags - a tag string or array of tag strings. - * @param data the value emitted to the subscribers. If data is a function, the function signature is function() and it called once to generate (return value) the actual data emitted to the listeners. If no listeners match the event, the data function is not invoked. - * @param callback an optional callback method invoked when all subscribers have been notified using the signature function(). The callback is called only after all the listeners have been notified, including any event updates emitted earlier (the order of event updates are guaranteed to be in the order they were emitted). - */ - emit(criteria: string | {name: string, channel?: string, tags?: string | string[]}, data: any, callback?: () => void): void; - /** - * Registers a custom content encoding compressor to extend the built-in support for 'gzip' and 'deflate' - * [See docs](https://hapijs.com/api/16.1.1#serverencoderencoding-encoder) - * @param encoding the encoder name string. - * @param encoder a function using the signature function(options) where options are the encoding specific options configured in the route compression configuration option, and the return value is an object compatible with the output of node's zlib.createGzip(). - */ - encoder(encoding: string, encoder: ((options: CompressionEncoderSettings) => zlib.Gzip)): void; - /** - * Register custom application events - * [See docs](https://hapijs.com/api/16.1.1#servereventevents) - * @param events see ApplicationEvent - */ - event(events: ApplicationEvent[]): void; - event(events: ApplicationEvent): void; - /** - * Used within a plugin to expose a property via server.plugins[name] - * [See docs](https://hapijs.com/api/16.1.1#serverexposekey-value) - * @param key the key assigned (server.plugins[name][key]). - * @param value the value assigned. - */ - expose(key: string, value: any): void; - /** - * Merges an object into to the existing content of server.plugins[name] - * Note that all properties of obj are deeply cloned into server.plugins[name], so you should avoid using this method for exposing large objects that may be expensive to clone or singleton objects such as database client objects. Instead favor the server.expose(key, value) form, which only copies a reference to value. - * [See docs](https://hapijs.com/api/16.1.1#serverexposeobj) - * @param obj the object merged into the exposed properties container. - */ - expose(obj: Object): void; - /** - * Registers an extension function in one of the available extension points - * [See docs](https://hapijs.com/api/16.1.1#serverextevents) - * @param events see @ServerExtConfigurationObject - */ - ext(events: ServerStartExtConfigurationObject): void; - ext(events: ServerStartExtConfigurationObject[]): void; - ext(events: ServerRequestExtConfigurationObjectWithRequest): void; - ext(events: ServerRequestExtConfigurationObjectWithRequest[]): void; - /** - * Registers a single extension event using the same properties as used in server.ext(events), but passed as arguments. - * [See docs](https://hapijs.com/api/16.1.1#serverextevent-method-options) - * @param event the extension point event name. - * @param method a function or an array of functions to be executed at a specified point during request processing. - * @param options - */ - ext(event: ServerStartExtPoints, method: ServerExtFunction[], options?: ServerExtOptions): void; - ext(event: ServerStartExtPoints, method: ServerExtFunction, options?: ServerExtOptions): void; - ext(event: ServerRequestExtPoints, method: ServerExtRequestHandler[], options?: ServerExtOptions): void; - ext(event: ServerRequestExtPoints, method: ServerExtRequestHandler, options?: ServerExtOptions): void; - /** - * Registers a new handler type to be used in routes - * The method function can have a defaults object or function property. If the property is set to an object, that object is used as the default route config for routes using this handler. If the property is set to a function, the function uses the signature function(method) and returns the route default configuration. - * [See docs](https://hapijs.com/api/16.1.1#serverhandlername-method) - * @param name string name for the handler being registered. Cannot override any previously registered type. - * @param method the function used to generate the route handler using the signature function(route, options) where: - * * route - the route public interface object. - * * options - the configuration object provided in the handler config. - */ - handler(name: string, method: MakeRouteHandler): void; - /** - * Initializes the server (starts the caches, finalizes plugin registration) but does not start listening on the connection ports - * Note that if the method fails and the callback includes an error, the server is considered to be in an undefined state and should be shut down. In most cases it would be impossible to fully recover as the various plugins, caches, and other event listeners will get confused by repeated attempts to start the server or make assumptions about the healthy state of the environment. It is recommended to assert that no error has been returned after calling initialize() to abort the process when the server fails to start properly. If you must try to resume after an error, call server.stop() first to reset the server state. - * [See docs](https://hapijs.com/api/16.1.1#serverinitializecallback) - * @param callback the callback method when server initialization is completed or failed with the signature function(err) - */ - initialize(callback: (err: Error) => void): void; - initialize(): Promise; - /** - * When the server contains exactly one connection, injects a request into the sole connection simulating an incoming HTTP request without making an actual socket connection. Injection is useful for testing purposes as well as for invoking routing logic internally without the overhead or limitations of the network stack. Utilizes the shot module for performing injections, with some additional options and response properties - * If no callback is provided, a Promise object is returned. - * When the server contains more than one connection, each server.connections array member provides its own connection.inject(). - * [See docs](https://hapijs.com/api/16.1.1#serverinjectoptions-callback) - * @param options can be assigned a string with the requested URI, or an object - * @param callback the callback function with signature function(res) - */ - inject(options: string | InjectedRequestOptions, callback: (res: InjectedResponseObject) => void): void; - inject(options: string | InjectedRequestOptions, ): Promise; - /** - * Logs server events that cannot be associated with a specific request. When called the server emits a 'log' event which can be used by other listeners or plugins to record the information or output to the console. - * [See docs](https://hapijs.com/api/16.1.1#serverlogtags-data-timestamp) - * @param tags a string or an array of strings (e.g. ['error', 'database', 'read']) used to identify the event. Tags are used instead of log levels and provide a much more expressive mechanism for describing and filtering events. Any logs generated by the server internally include the 'hapi' tag along with event-specific information. - * @param data an optional message string or object with the application data being logged. If data is a function, the function signature is function() and it called once to generate (return value) the actual data emitted to the listeners. If no listeners match the event, the data function is not invoked. - * @param timestamp an optional timestamp expressed in milliseconds. Defaults to Date.now() (now). - */ - log(tags: string | string[], data?: string | Object | Function, timestamp?: number): void; - /** - * When the server contains exactly one connection, looks up a route configuration. - * When the server contains more than one connection, each server.connections array member provides its own connection.lookup() method. - * [See docs](https://hapijs.com/api/16.1.1#serverlookupid) - * @param id the route identifier as set in the route options. - * @return the route public interface object if found, otherwise null. - */ - lookup(id: string): RoutePublicInterface | null; - /** - * When the server contains exactly one connection, looks up a route configuration - * When the server contains more than one connection, each server.connections array member provides its own connection.match() method. - * [See docs](https://hapijs.com/api/16.1.1#servermatchmethod-path-host) - * @param method the HTTP method (e.g. 'GET', 'POST'). TODO check if it allows HEAD - * @param path the requested path (must begin with '/'). - * @param host optional hostname (to match against routes with vhost). - * @return the route public interface object if found, otherwise null. - */ - match(method: HTTP_METHODS, path: string, host?: string): RoutePublicInterface | null; - /** - * Registers a server method. Server methods are functions registered with the server and used throughout the application as a common utility. Their advantage is in the ability to configure them to use the built-in cache and share across multiple request handlers without having to create a common module. - * [See docs](https://hapijs.com/api/16.1.1#servermethodname-method-options) - * @param name a unique method name used to invoke the method via server.methods[name]. Supports using nested names such as utils.users.get which will automatically create the missing path under server.methods and can be accessed for the previous example via server.methods.utils.users.get. When configured with caching enabled, server.methods[name].cache will be an object see ServerMethodNameCacheObject - * @param method the method function - * @param options optional configuration - */ - method(name: string, method: ServerMethod, options?: ServerMethodOptions): void; - /** - * Registers a server method function as described in server.method() using a configuration object - * [See docs](https://hapijs.com/api/16.1.1#servermethodmethods) - */ - method(methods: ServerMethodConfigurationObject[]): void; - method(methods: ServerMethodConfigurationObject): void; - /** - * Subscribe a handler to an event - * [See docs](https://hapijs.com/api/16.1.1#serveroncriteria-listener) - * @param criteria the subscription criteria which can be an event name string which can be any of the built-in server events or a custom application event registered with server.event(events). - * Or an see ServerEventCriteria. - * If 'start' - emitted when the server is started using server.start(). - * If 'stop' - emitted when the server is stopped using server.stop(). - * @param listener - */ - on(criteria: 'start' | 'stop' | string | ServerEventCriteria, listener: Function): void; - /** - * The 'log' event includes the event object and a tags object (where each tag is a key with the value true) - * [See docs](https://hapijs.com/api/16.1.1#server-events) - */ - on(criteria: 'log', listener: (event: ServerEventObject, tags: Podium.Tags) => void): void; - /** - * The 'request' and 'request-internal' events include the request object, the event object, and a tags object (where each tag is a key with the value true) - * [See docs](https://hapijs.com/api/16.1.1#server-events) - * TODO submit issue to TypeScript. Using 'request' | 'request-internal' removes the type - * interference when using code like: `server.on('request', (request, event, tags) => {...}` - * Same for 'response' | 'tail'. - */ - on(criteria: 'request', listener: (request: Request, event: ServerEventObject, tags: Podium.Tags) => void): void; - on(criteria: 'request-internal', listener: (request: Request, event: ServerEventObject, tags: Podium.Tags) => void): void; - /** - * The 'request-error' event includes the request object and the causing error err object - * [See docs](https://hapijs.com/api/16.1.1#server-events) - */ - on(criteria: 'request-error', listener: (request: Request, err: Error) => void): void; - /** - * The 'response' and 'tail' events include the request object - * [See docs](https://hapijs.com/api/16.1.1#server-events) - * See 'request' and 'request-internal' - */ - on(criteria: 'response', listener: (request: Request) => void): void; - on(criteria: 'tail', listener: (request: Request) => void): void; - /** - * The 'route' event includes the route public interface, the connection, and the server object used to add the route (e.g. the result of a plugin select operation) - * [See docs](https://hapijs.com/api/16.1.1#server-events) - */ - on(criteria: 'route', listener: (route: RoutePublicInterface, connection: ServerConnection, server: Server) => void): void; - /** - * Same as calling server.on() with the count option set to 1. - * TODO type this to copy the server.on specific types for 'route', 'tail', etc. - * [See docs](https://hapijs.com/api/16.1.1#serveroncecriteria-listener) - * @param criteria - * @param listener - */ - once(criteria: string | ServerEventCriteria, listener: Function): void; - /** - * Sets the path prefix used to locate static resources (files and view templates) when relative paths are used - * Note that setting a path within a plugin only applies to resources accessed by plugin methods. If no path is set, the connection files.relativeTo configuration is used. The path only applies to routes added after it has been set. - * [See docs](https://hapijs.com/api/16.1.1#serverpathrelativeto) - * @param relativeTo the path prefix added to any relative file path starting with '.'. - */ - path(relativeTo: string): void; - /** - * Registers a plugin - * If no callback is provided, a Promise object is returned. - * Note that plugin registration are recorded on each of the available connections. When plugins express a dependency on other plugins, both have to be loaded into the same connections for the dependency requirement to be fulfilled. It is recommended that plugin registration happen after all the server connections are created via server.connection(). - * [See docs](https://hapijs.com/api/16.1.1#serverregisterplugins-options-callback) - * @param plugins - * @param options - * @param callback with signature function(err) where err an error returned from the registration function. Note that exceptions thrown by the registration function are not handled by the framework. - * A note on typings. Common use case is: - * register(Plugin, (err) => {// do more stuff}) - * so these typings save passing empty `options` object or having to - * explicity type the Error in the Callback e.g.: - * register(Plugin, {}, (err) => {// do more stuff}) or - * register(Plugin, (err: Error) => {// do more stuff}) - */ - register(plugins: Array<(PluginFunction | PluginRegistrationObject)>, callback: (err: Error | null) => void): void; - register(plugins: Array<(PluginFunction | PluginRegistrationObject)>): Promise; - register(plugins: PluginFunction | PluginRegistrationObject, callback: (err: Error | null) => void): void; - register(plugins: PluginFunction | PluginRegistrationObject): Promise; - register(plugins: Array<(PluginFunction | PluginRegistrationObject)>, options: PluginRegistrationOptions, callback: (err: Error | null) => void): void; - register(plugins: Array<(PluginFunction | PluginRegistrationObject)>, options: PluginRegistrationOptions): Promise; - register(plugins: PluginFunction | PluginRegistrationObject, options: PluginRegistrationOptions, callback: (err: Error | null) => void): void; - register(plugins: PluginFunction | PluginRegistrationObject, options: PluginRegistrationOptions): Promise; - /** - * Adds a connection route - * [See docs](https://hapijs.com/api/16.1.1#serverrouteoptions) - * @param options a route configuration object [See docs](https://hapijs.com/api/16.1.1#route-configuration) or an array of configuration objects. - */ - route(options: RouteConfiguration[]): void; - route(options: RouteConfiguration): void; - /** - * Selects a subset of the server's connections - * Returns a server object with connections set to the requested subset. Selecting again on a selection operates as a logic AND statement between the individual selections. - * [See docs](https://hapijs.com/api/16.1.1#serverselectlabels) - * @param labels a single string or array of strings of labels used as a logical OR statement to select all the connections with matching labels in their configuration. - */ - select(labels: string | string[]): Server; - /** - * Starts the server connections by listening for incoming requests on the configured port of each listener (unless the connection was configured with autoListen set to false) - * If no callback is provided, a Promise object is returned. - * Note that if the method fails and the callback includes an error, the server is considered to be in an undefined state and should be shut down. In most cases it would be impossible to fully recover as the various plugins, caches, and other event listeners will get confused by repeated attempts to start the server or make assumptions about the healthy state of the environment. It is recommended to assert that no error has been returned after calling start() to abort the process when the server fails to start properly. If you must try to resume after a start error, call server.stop() first to reset the server state. - * If a started server is started again, the second call to start() will only start new connections added after the initial start() was called. No events will be emitted and no extension points invoked. - * [See docs](https://hapijs.com/api/16.1.1#serverstartcallback) - * @param callback the callback method when server startup is completed or failed with the signature function(err) where: - * * err - any startup error condition. - */ - start(callback: (err?: Error) => void): void; - start(): Promise; - /** - * HTTP state management [See docs](https://tools.ietf.org/html/rfc6265) uses client cookies to persist a state across multiple requests. Registers a cookie definitions - * [See docs](https://hapijs.com/api/16.1.1#serverstatename-options) - * @param name the cookie name string. - * @param options optional cookie settings - */ - state(name: string, options?: ServerStateCookieConfiguationObject): void; - /** - * Stops the server's connections by refusing to accept any new connections or requests (existing connections will continue until closed or timeout) - * If no callback is provided, a Promise object is returned. - * [See docs](https://hapijs.com/api/16.1.1#serverstopoptions-callback) - * @param options options object with: - * * timeout - overrides the timeout in millisecond before forcefully terminating a connection. Defaults to 5000 (5 seconds). - * @param callback optional callback method which is called once all the connections have ended and it is safe to exit the process with signature function(err) where: - * * err - any termination error condition. - */ - stop(options: {timeout: number} | null, callback: (err?: Error) => void): void; - stop(options?: {timeout: number}): Promise; - /** - * Returns a copy of the routing table - * Note that if the server has not been started and multiple connections use port 0, the table items will override each other and will produce an incomplete result. - * When calling connection.table() directly on each connection, the return value is the same as the array table item value of an individual connection - * [See docs](https://hapijs.com/api/16.1.1#servertablehost) - * @param host optional host to filter routes matching a specific virtual host. Defaults to all virtual hosts. - */ - table(host?: string): RoutingTableEntry[]; -} - -export interface PluginSpecificConfiguration {} - -/** - * Server Options - * Note that the options object is deeply cloned and cannot contain any values that are unsafe to perform deep copy on. - * [See docs](https://hapijs.com/api/16.1.1#new-serveroptions) - */ -export interface ServerOptions { - /** app - application-specific configuration which can later be accessed via server.settings.app. Note the difference between server.settings.app which is used to store static configuration values and server.app which is meant for storing run-time state. Defaults to {}. */ - app?: any; - /** - * cache - sets up server-side caching. Every server includes a default cache for storing application state. By default, a simple memory-based cache is created which has limited capacity and capabilities. hapi uses catbox for its cache which includes support for common storage solutions (e.g. Redis, MongoDB, Memcached, Riak, among others). Caching is only utilized if methods and plugins explicitly store their state in the cache. The server cache configuration only defines the storage container itself. cache can be assigned: - * * a prototype function (usually obtained by calling require() on a catbox strategy such as require('catbox-redis')). A new catbox client will be created internally using this function. - * * a CatboxServerOptionsCacheConfiguration configuration object - * * an array of the above object for configuring multiple cache instances, each with a unique name. When an array of objects is provided, multiple cache connections are established and each array item (except one) must include a name. - */ - cache?: Catbox.EnginePrototype | CatboxServerOptionsCacheConfiguration | CatboxServerOptionsCacheConfiguration[]; - /** sets the default connections configuration which can be overridden by each connection */ - connections?: ConnectionConfigurationServerDefaults; - /** determines which logged events are sent to the console (this should only be used for development and does not affect which events are actually logged internally and recorded). Set to false to disable all console logging, or to an object with: */ - debug?: false | { - /** a string array of server log tags to be displayed via console.error() when the events are logged via server.log() as well as internally generated server logs. For example, to display all errors, set the option to ['error']. To turn off all console debug messages set it to false. Defaults to uncaught errors thrown in external code (these errors are handled automatically and result in an Internal Server Error response) or runtime errors due to developer error. */ - log?: string[] | false; - /** a string array of request log tags to be displayed via console.error() when the events are logged via request.log() as well as internally generated request logs. For example, to display all errors, set the option to ['error']. To turn off all console debug messages set it to false. Defaults to uncaught errors thrown in external code (these errors are handled automatically and result in an Internal Server Error response) or runtime errors due to developer error. */ - request?: string[] | false; - }; - /** process load monitoring */ - load?: { - /** the frequency of sampling in milliseconds. Defaults to 0 (no sampling). */ - sampleInterval?: number; - }; - /** options passed to the mimos module (https://github.com/hapijs/mimos) when generating the mime database used by the server and accessed via server.mime. */ - mime?: MimosOptions; - /** plugin-specific configuration which can later be accessed via server.settings.plugins. plugins is an object where each key is a plugin name and the value is the configuration. Note the difference between server.settings.plugins which is used to store static configuration values and server.plugins which is meant for storing run-time state. Defaults to {}. */ - plugins?: PluginSpecificConfiguration; - /** if false, will not use node domains to protect against exceptions thrown in handlers and other external code. Defaults to true. */ - useDomains?: boolean; -} - -/** - * The server event object - * [See docs](https://hapijs.com/api/16.1.1#server-events) - */ -export interface ServerEventObject { - /** the event timestamp. */ - timestamp: number; - /** if the event relates to a request, the request id. */ - request: string; - /** if the event relates to a server, the server.info.uri. */ - server: string; - /** an array of tags (e.g. ['error', 'http']). */ - tags: string[]; - /** optional event-specific information. */ - data: any; - /** true if the event was generated internally by the framework. */ - internal: boolean; -} - -/** - * [See docs](https://hapijs.com/api/16.1.1#serveroncriteria-listener) - */ -export interface ServerEventCriteria { - /** the event name string (required). */ - name: string; - /** if true, the listener method receives an additional callback argument which must be called when the method completes. No other event will be emitted until the callback methods is called. The method signature is function(). If block is set to a positive integer, the value is used to set a timeout after which any pending events will be emitted, ignoring the eventual call to callback. Defaults to false (non blocking). */ - block?: boolean; - /** a string or array of strings specifying the event channels to subscribe to. If the event registration specified a list of allowed channels, the channels array must match the allowed channels. If channels are specified, event updates without any channel designation will not be included in the subscription. Defaults to no channels filter. */ - channels?: string | string[]; - /** if true, the data object passed to server.emit() is cloned before it is passed to the listener method. Defaults to the event registration option (which defaults to false). */ - clone?: boolean; - /** a positive integer indicating the number of times the listener can be called after which the subscription is automatically removed. A count of 1 is the same as calling server.once(). Defaults to no limit. */ - count?: number; - /** - * the event tags (if present) to subscribe to - * If the object is given: - * * tags - a tag string or array of tag strings. - * * all - if true, all tags must be present for the event update to match the subscription. Defaults to false (at least one matching tag). - */ - filter?: string | string[] | {tags: string | string[], all?: boolean}; - /** if true, and the data object passed to server.emit() is an array, the listener method is called with each array element passed as a separate argument. This should only be used when the emitted data structure is known and predictable. Defaults to the event registration option (which defaults to false). */ - spread?: boolean; - /** if true and the criteria object passed to server.emit() includes tags, the tags are mapped to an object (where each tag string is the key and the value is true) which is appended to the arguments list at the end (but before the callback argument if block is set). Defaults to the event registration option (which defaults to false). */ - tags?: boolean; -} - -/** - * Server methods, user configured - * Related to [See docs](https://hapijs.com/api/16.1.1#servermethods) - * Related to [See docs](https://hapijs.com/api/16.1.1#servermethodname-method-options) - */ -export interface ServerMethod { - /** the method must return a value (result, Error, or a promise) or throw an Error. */ - (...args: any[]): any | Error | Promise; - /** Not possible to improve this typing due to this unresolvable issue: https://github.com/Microsoft/TypeScript/issues/15190 */ - (...args: (any | ServerMethodNext)[]): void; - /** When configured with caching enabled, server.methods[name].cache will be an object see ServerMethodNameCacheObject */ - cache?: ServerMethodNameCacheObject; -} - -/** - * Related to [See docs](https://hapijs.com/api/16.1.1#servermethodname-method-options) - * @param err error response if the method failed. - * @param result the return value. - * @param ttl 0 if result is valid but cannot be cached. Defaults to cache policy. - */ -export interface ServerMethodNext { - (err: Error | null, result: any, ttl?: number): void; -} - -/** For context [See docs](https://hapijs.com/api/16.1.1#servermethodname-method-options) */ -export interface ServerMethodNameCacheObject { - /** - * function that can be used to clear the cache for a given key. - * @param ...args any number of string, number or boolean. If other types then generateKey function must be specified. - * @param callback last argument is a callback. - * Not possible to improve this typing due to this unresolvable issue: https://github.com/Microsoft/TypeScript/issues/15190 - */ - drop(...args: (any | Function)[]): void; - /** an object with cache statistics, see stats documentation for catbox. */ - stats: Catbox.CacheStatisticsObject; -} - -/** For context [See docs](https://hapijs.com/api/16.1.1#servermethodname-method-options) */ -export interface ServerMethodOptions { - /** a context object passed back to the method function (via this) when called. Defaults to active context (set via server.bind() when the method is registered. Ignored if the method is an arrow function. */ - bind?: any; - /** the same cache configuration used in server.cache(). The generateTimeout option is required. */ - cache?: CatboxServerCacheConfiguration; - /** - * if false, expects the method to be a synchronous function. Note that using a synchronous function with caching will convert the method interface to require a callback as an additional argument with the signature function(err, result, cached, report) since the cache interface cannot return values synchronously. Defaults to true. - * TODO: understand and type "an additional argument with the signature function(err, result, cached, report)" if appropriate. - */ - callback?: boolean; - /** a function used to generate a unique key (for caching) from the arguments passed to the method function (the callback argument is not passed as input). The server will automatically generate a unique key if the function's arguments are all of types 'string', 'number', or 'boolean'. However if the method uses other types of arguments, a key generation function must be provided which takes the same arguments as the function and returns a unique string (or null if no key can be generated). */ - generateKey?(args: any[]): string | null; -} - -/** For context [See docs](https://hapijs.com/api/16.1.1#servermethodmethods) */ -export interface ServerMethodConfigurationObject { - name: string; - method: ServerMethod; - options: ServerMethodOptions; -} - -/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - + + - + + - + Caching with Catbox + - + + - + + - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ -// TODO: move to separate file http://stackoverflow.com/questions/43276921 - -/** - * TODO confirm this is the same as CatboxServerCacheConfiguration - * - * ** - * Server instantiation options configuration for Catbox cache - * TODO: check it extends Catbox.PolicyOptions and this is what "other options passed to the catbox strategy used." means. - * For context [See docs](https://hapijs.com/api/16.1.1#new-serveroptions) under: options > cache > a configuration object - * ** - * export interface CatboxServerOptionsCacheConfiguration extends Catbox.IPolicyOptions { - * // a prototype function or catbox engine object. - * engine: Catbox.EnginePrototypeOrObject; - * // an identifier used later when provisioning or configuring caching for server methods or plugins. Each cache name must be unique. A single item may omit the name option which defines the default cache. If every cache includes a name, a default memory cache is provisioned as well. - * name?: string; - * // if true, allows multiple cache users to share the same segment (e.g. multiple methods using the same cache storage container). Default to false. - * shared?: boolean; - * } - */ -export type CatboxServerOptionsCacheConfiguration = CatboxServerCacheConfiguration; - -/** - * Server cache method configuration for Catbox cache - * Used for "Provisions a cache segment within the server cache facility" - * For context [See docs](https://hapijs.com/api/16.1.1#servercacheoptions) - * Also used in [See docs](https://hapijs.com/api/16.1.1#servermethodname-method-options) > options.cache - */ -export interface CatboxServerCacheConfiguration extends Catbox.PolicyOptions { - /** the cache name configured in server.cache. Defaults to the default cache. */ - cache?: string; - /** string segment name, used to isolate cached items within the cache partition. When called within a plugin, defaults to '!name' where 'name' is the plugin name. When called within a server method, defaults to '#name' where 'name' is the server method name. Required when called outside of a plugin. */ - segment?: string; - /** if true, allows multiple cache provisions to share the same segment. Default to false. */ - shared?: boolean; - /** - * a prototype function or catbox engine object. - * [See docs](https://hapijs.com/api/16.1.1#servercacheprovisionoptions-callback) example code includes use of `engine` option. But server.cache.provision of `options` says "same as the server cache configuration options.". - * TODO confirm once PR to hapi docs accepted / rejected. - */ - engine?: Catbox.EnginePrototypeOrObject; - /** - * an identifier used later when provisioning or configuring caching for server methods or plugins. Each cache name must be unique. A single item may omit the name option which defines the default cache. If every cache includes a name, a default memory cache is provisioned as well. - * [See docs](https://hapijs.com/api/16.1.1#servercacheprovisionoptions-callback) example code includes use of `name` option. But server.cache.provision of `options` says "same as the server cache configuration options.". - */ - name?: string; - /** - * Additional options to be passed to the Catbox strategy - */ - [s: string]: any; -} - -/** - * Additional notes - * payload - In case of an object it will be converted to a string for you. Defaults to no payload. Note that payload processing defaults to 'application/json' if no 'Content-Type' header provided. - * [See docs](https://hapijs.com/api/16.1.1#serverinjectoptions-callback) - */ -export interface InjectedRequestOptions extends Shot.RequestOptions { - /** an optional credentials object containing authentication information. The credentials are used to bypass the default authentication strategies, and are validated directly as if they were received via an authentication scheme. Defaults to no credentials. */ - credentials?: any; - /** an optional artifacts object containing authentication artifact information. The artifacts are used to bypass the default authentication strategies, and are validated directly as if they were received via an authentication scheme. Ignored if set without credentials. Defaults to no artifacts. */ - artifacts?: any; - /** sets the initial value of request.app. */ - app?: any; - /** sets the initial value of request.plugins. */ - plugins?: PluginsStates; - /** allows access to routes with config.isInternal set to true. Defaults to false. */ - allowInternals?: boolean; -} - -/** - * the response object from server.inject - * [See docs](https://hapijs.com/api/16.1.1#serverinjectoptions-callback) - */ -export interface InjectedResponseObject extends Shot.ResponseObject { - /** the raw handler response (e.g. when not a stream or a view) before it is serialized for transmission. If not available, the value is set to payload. Useful for inspection and reuse of the internal objects returned (instead of parsing the response string). */ - result: Object | string; - /** the request object. */ - request: InjectedRequestOptions; -} - -/** - * For context [See docs](https://hapijs.com/api/16.1.1#new-serveroptions) under: options > connections - */ -export interface ConnectionConfigurationServerDefaults { - /** application-specific connection configuration which can be accessed via connection.settings.app. Provides a safe place to store application configuration without potential conflicts with the framework internals. Should not be used to configure plugins which should use plugins[name]. Note the difference between connection.settings.app which is used to store configuration values and connection.app which is meant for storing run-time state. */ - app?: any; - /** if false, response content encoding is disabled. Defaults to true */ - compression?: boolean; - /** connection load limits configuration where: */ - load?: { - /** maximum V8 heap size over which incoming requests are rejected with an HTTP Server Timeout (503) response. Defaults to 0 (no limit). */ - maxHeapUsedBytes?: number; - /** maximum process RSS size over which incoming requests are rejected with an HTTP Server Timeout (503) response. Defaults to 0 (no limit). */ - maxRssBytes?: number; - /** maximum event loop delay duration in milliseconds over which incoming requests are rejected with an HTTP Server Timeout (503) response. Defaults to 0 (no limit). */ - maxEventLoopDelay?: number; - }; - /** plugin-specific configuration which can later be accessed via connection.settings.plugins. Provides a place to store and pass connection-specific plugin configuration. plugins is an object where each key is a plugin name and the value is the configuration. Note the difference between connection.settings.plugins which is used to store configuration values and connection.plugins which is meant for storing run-time state. */ - plugins?: PluginSpecificConfiguration; - /** controls how incoming request URIs are matched against the routing table: */ - router?: { - /** determines whether the paths '/example' and '/EXAMPLE' are considered different resources. Defaults to true. */ - isCaseSensitive?: boolean; - /** removes trailing slashes on incoming paths. Defaults to false. */ - stripTrailingSlash?: boolean; - }; - /** a route options object used to set the default configuration for every route. */ - routes?: RouteAdditionalConfigurationOptions; - /** sets the default configuration for every state (cookie) set explicitly via server.state() or implicitly (without definition) using the [state configuration object](https://hapijs.com/api/16.1.1#serverstatename-options). */ - state?: ServerStateCookieConfiguationObject; -} - -/** - * a connection configuration object or array of objects with the following optional keys. - * Any connections configuration server defaults can be included to override and customize the individual connection. - * [See docs](https://hapijs.com/api/16.1.1#serverconnectionoptions) - */ -export interface ServerConnectionOptions extends ConnectionConfigurationServerDefaults { - /** host - the public hostname or IP address. Used only to set server.info.host and server.info.uri. If not configured, defaults to the operating system hostname and if not available, to 'localhost'. */ - host?: string; - /** address - sets the host name or IP address the connection will listen on. If not configured, defaults to host if present, otherwise to all available network interfaces (i.e. '0.0.0.0'). Set to 127.0.0.1 or localhost to restrict connection to only those coming from the same machine. */ - address?: string; - /** port - the TCP port the connection will listen to. Defaults to an ephemeral port (0) which uses an available port when the server is started (and assigned to server.info.port). If port is a string containing a '/' character, it is used as a UNIX domain socket path and if it starts with '\.\pipe' as a Windows named pipe. */ - port?: string | number; - /** uri - the full public URI without the path (e.g. 'http://example.com:8080'). If present, used as the connection info.uri otherwise constructed from the connection settings. */ - uri?: string; - /** listener - optional node.js HTTP (or HTTPS) http.Server object or any compatible object. If the listener needs to be manually started, set autoListen to false. If the listener uses TLS, set tls to true. */ - listener?: http.Server; - /** autoListen - indicates that the connection.listener will be started manually outside the framework. Cannot be specified with a port setting. Defaults to true. */ - autoListen?: boolean; - /** labels - a string or string array of labels used to server.select() specific connections matching the specified labels. Defaults to an empty array [] (no labels). */ - labels?: string | string[]; - /** tls - used to create an HTTPS connection. The tls object is passed unchanged as options to the node.js HTTPS server as described in the node.js HTTPS [documentation](https://nodejs.org/api/https.html#https_https_createserver_options_requestlistener}) . Set to true when passing a listener object that has been configured to use TLS directly. */ - tls?: true | https.RequestOptions; -} - -/** - * For context see RouteAdditionalConfigurationOptions > compression - * For context [See docs](https://hapijs.com/api/16.1.1#serverencoderencoding-encoder) - */ -export type CompressionEncoderSettings = any; - -/** - * For context see RouteAdditionalConfigurationOptions > payload > compression - * For context [See docs](https://hapijs.com/api/16.1.1#serverdecoderencoding-decoder) - */ -export type CompressionDecoderSettings = any; - -/** - * an optional function called after all the specified dependencies have been registered and before the server starts. The function is only called if the server is initialized or started. If a circular dependency is detected, an exception is thrown (e.g. two plugins each has an after function to be called after the other). The function signature is function(server, next) where: - * [See docs](https://hapijs.com/api/16.1.1#serverdependencydependencies-after) - * Also see Server.dependency - * @param server the server the dependency() method was called on. - * @param next the callback function the method must call to return control over to the application and complete the registration process. The function signature is function(err) where: - * * err - internal error condition, which is returned back via the server.initialize() or server.start() callback. - */ -export interface AfterDependencyLoadCallback { - (server: Server, next: (err?: Error) => void): void; -} - -/** For context see RouteAdditionalConfigurationOptions > auth */ -export interface AuthOptions { - /** - * the authentication mode. Defaults to 'required' if a server authentication strategy is configured, otherwise defaults to no authentication. Available values: - * * 'required' - authentication is required. - * * 'optional' - authentication is optional (must be valid if present). - * * 'try' - same as 'optional' but allows for invalid authentication. - */ - mode?: 'required' | 'optional' | 'try'; - /** a string array of strategy names in order they should be attempted. If only one strategy is used, strategy can be used instead with the single string value. Defaults to the default authentication strategy which is available only when a single strategy is configured. */ - strategies?: string[]; - strategy?: string; - /** - * if set, the payload (in requests other than 'GET' and 'HEAD') is authenticated after it is processed. Requires a strategy with payload authentication support (e.g. Hawk). Cannot be set to a value other than 'required' when the scheme sets the options.payload to true. Available values: - * * false - no payload authentication. This is the default value. - * * 'required' - payload authentication required. This is the default value when the scheme sets options.payload to true. - * * 'optional' - payload authentication performed only when the client includes payload authentication information (e.g. hash attribute in Hawk). - */ - payload?: false | 'required' | 'optional'; - /** specifying the route access rules. */ - access?: RouteAuthAccessConfiguationObject | RouteAuthAccessConfiguationObject[]; - /** (undocumented) Convenience way of setting access.scope, will over write all values in `access` */ - scope?: false | string | string[]; - /** (undocumented) Convenience way of setting access.entity, will over write all values in `access` */ - entity?: 'any' | 'user' | 'app'; -} - -/** - * Each rule is evaluated against an incoming request and access is granted if at least one rule matches. Each rule object must include at least one of: - * For context see RouteAdditionalConfigurationOptions > auth > an object > access - */ -export interface RouteAuthAccessConfiguationObject { - /** the application scope required to access the route. Value can be a scope string or an array of scope strings. The authenticated credentials object scope property must contain at least one of the scopes defined to access the route. If a scope string begins with a + character, that scope is required. If a scope string begins with a ! character, that scope is forbidden. For example, the scope ['!a', '+b', 'c', 'd'] means the incoming request credentials' scope must not include 'a', must include 'b', and must include one of 'c' or 'd'. You may also access properties on the request object (query and params) to populate a dynamic scope by using {} characters around the property name, such as 'user-{params.id}'. Defaults to false (no scope requirements). */ - scope?: false | string | string[]; - /** - * the required authenticated entity type. If set, must match the entity value of the authentication credentials. Available values: - * * any - the authentication can be on behalf of a user or application. This is the default value. - * * user - the authentication must be on behalf of a user which is identified by the presence of a user attribute in the credentials object returned by the authentication strategy. - * * app - the authentication must be on behalf of an application which is identified by the lack of presence of a user attribute in the credentials object returned by the authentication strategy. - */ - entity?: 'any' | 'user' | 'app'; -} - -/** - * For context see RouteAdditionalConfigurationOptions > cache - */ -export type RouteCacheOptions = { - /** - * determines the privacy flag included in client-side caching using the 'Cache-Control' header. Values are: - * * 'default' - no privacy flag. This is the default setting. - * * 'public' - mark the response as suitable for public caching. - * * 'private' - mark the response as suitable only for private caching. - */ - privacy?: 'default' | 'public' | 'private'; - /** an array of HTTP response status codes (e.g. 200) which are allowed to include a valid caching directive. Defaults to [200]. */ - statuses?: number[]; - /** a string with the value of the 'Cache-Control' header when caching is disabled. Defaults to 'no-cache'. */ - otherwise?: string; -} & ({ - /** relative expiration expressed in the number of milliseconds since the item was saved in the cache. Cannot be used together with expiresAt. */ - expiresIn?: number; - /** time of day expressed in 24h notation using the 'HH:MM' format, at which point all cache records for the route expire. Cannot be used together with expiresIn. */ - expiresAt?: undefined; -} | { - /** relative expiration expressed in the number of milliseconds since the item was saved in the cache. Cannot be used together with expiresAt. */ - expiresIn?: undefined; - /** time of day expressed in 24h notation using the 'HH:MM' format, at which point all cache records for the route expire. Cannot be used together with expiresIn. */ - expiresAt?: string; -} | { - /** relative expiration expressed in the number of milliseconds since the item was saved in the cache. Cannot be used together with expiresAt. */ - expiresIn?: undefined; - /** time of day expressed in 24h notation using the 'HH:MM' format, at which point all cache records for the route expire. Cannot be used together with expiresIn. */ - expiresAt?: undefined; -}); - -/** - * For context see RouteAdditionalConfigurationOptions > cors - */ -export interface CorsConfigurationObject { - /** a strings array of allowed origin servers ('Access-Control-Allow-Origin'). The array can contain any combination of fully qualified origins along with origin strings containing a wildcard '*' character, or a single '*' origin string. Defaults to any origin ['*']. */ - origin?: string[] | '*'; - /** number of seconds the browser should cache the CORS response ('Access-Control-Max-Age'). The greater the value, the longer it will take before the browser checks for changes in policy. Defaults to 86400 (one day). */ - maxAge?: number; - /** a strings array of allowed headers ('Access-Control-Allow-Headers'). Defaults to ['Accept', 'Authorization', 'Content-Type', 'If-None-Match'] */ - headers?: string[]; - /** a strings array of additional headers to headers. Use this to keep the default headers in place. */ - additionalHeaders?: string[]; - /** a strings array of exposed headers ('Access-Control-Expose-Headers'). Defaults to ['WWW-Authenticate', 'Server-Authorization']. */ - exposedHeaders?: string[]; - /** a strings array of additional headers to exposedHeaders. Use this to keep the default headers in place. */ - additionalExposedHeaders?: string[]; - /** if true, allows user credentials to be sent ('Access-Control-Allow-Credentials'). Defaults to false. */ - credentials?: boolean; -} - -/** - * An object describing the extension function used whilst registering the extension function in one of the available extension points - * [See docs](https://hapijs.com/api/16.1.1#serverextevents) - * For context see RouteAdditionalConfigurationOptions > ext - */ -export interface ServerStartExtConfigurationObject { - /** the extension point event name. */ - type: ServerStartExtPoints; - /** - * a function or an array of functions to be executed at a specified point during request processing. The required extension function signature is see ServerExtFunction or see ServerExtRequestHandler - */ - method: ServerExtFunction | ServerExtFunction[]; - options?: ServerExtOptions; -} - -/** - * An object describing the extension function used whilst registering the extension function in one of the available extension points - * [See docs](https://hapijs.com/api/16.1.1#serverextevents) - * For context see RouteAdditionalConfigurationOptions > ext - */ -export interface ServerRequestExtConfigurationObject { - /** the extension point event name. */ - type: ServerRequestExtPointsBase; - /** - * a function or an array of functions to be executed at a specified point during request processing. The required extension function signature is see ServerExtFunction or see ServerExtRequestHandler - */ - method: ServerExtRequestHandler | ServerExtRequestHandler[] - options?: ServerExtOptions; -} - -/** - * An object describing the extension function used whilst registering the extension function in one of the available extension points - * [See docs](https://hapijs.com/api/16.1.1#serverextevents) - * For context see RouteAdditionalConfigurationOptions > ext - */ -export interface ServerRequestExtConfigurationObjectWithRequest { - /** the extension point event name. */ - type: ServerRequestExtPoints; - /** - * a function or an array of functions to be executed at a specified point during request processing. The required extension function signature is see ServerExtFunction or see ServerExtRequestHandler - */ - method: ServerExtRequestHandler | ServerExtRequestHandler[]; - options?: ServerExtOptions; -} - -/** - * [See docs](https://hapijs.com/api/16.1.1#route-configuration) > ext - */ -export type RouteExtConfigurationObject = ServerStartExtConfigurationObject | ServerRequestExtConfigurationObject; - -/** - * [See docs](https://hapijs.com/api/16.1.1#serverextevents) > events > method - */ -export type ServerExtMethod = ServerExtFunction | ServerExtRequestHandler; - -/** - * [See docs](https://hapijs.com/api/16.1.1#serverextevents) > events > options - */ -export interface ServerExtOptions { - /** before - a string or array of strings of plugin names this method must execute before (on the same event). Otherwise, extension methods are executed in the order added. */ - before: string | string[]; - /** after - a string or array of strings of plugin names this method must execute after (on the same event). Otherwise, extension methods are executed in the order added. */ - after: string | string[]; - /** bind - a context object passed back to the provided method (via this) when called. Ignored if the method is an arrow function. */ - bind: any; - /** sandbox - if set to 'plugin' when adding a request extension points the extension is only added to routes defined by the current plugin. Not allowed when configuring route-level extensions, or when adding server extensions. Defaults to 'connection' which applies to any route added to the connection the extension is added to. */ - sandbox?: 'connection' | 'plugin'; -} - -/** - * [See docs](https://hapijs.com/api/16.1.1#serverextevents) > events > type - * * 'onPreStart' - called before the connection listeners are started. - * * 'onPostStart' - called after the connection listeners are started. - * * 'onPreStop' - called before the connection listeners are stopped. - * * 'onPostStop' - called after the connection listeners are stopped. - */ -export type ServerStartExtPoints = 'onPreStart' | 'onPostStart' | 'onPreStop' | 'onPostStop'; -/** - * [See docs](https://hapijs.com/api/16.1.1#request-lifecycle) - * * The available extension points include the request extension points as well as the following server extension points: - */ -export type ServerRequestExtPointsBase = 'onPreResponse' | 'onPreAuth' | 'onPostAuth' | 'onPreHandler' | 'onPostHandler' | 'onPreResponse'; - -export type ServerRequestExtPoints = ServerRequestExtPointsBase | 'onRequest'; - -/** - * Server extension function registered an one of the server extension points - * [See docs](https://hapijs.com/api/16.1.1#serverextevents) - * For context see ServerExtConfigurationObject - * @param server - the server object. - * @param next - the continuation method with signature function(err). - * @param this - the object provided via options.bind or the current active context set with server.bind(). - */ -export interface ServerExtFunction { - (server: Server, next: ContinuationFunction): void; -} - -/** - * For context see RouteAdditionalConfigurationOptions > payload - */ -export interface RoutePayloadConfigurationObject { - /** - * the type of payload representation requested. The value must be one of: - * * 'data' - the incoming payload is read fully into memory. If parse is true, the payload is parsed (JSON, form-decoded, multipart) based on the 'Content-Type' header. If parse is false, the raw Buffer is returned. This is the default value except when a proxy handler is used. - * * 'stream' - the incoming payload is made available via a Stream.Readable interface. If the payload is 'multipart/form-data' and parse is true, fields values are presented as text while files are provided as streams. File streams from a 'multipart/form-data' upload will also have a property hapi containing filename and headers properties. - * * 'file' - the incoming payload is written to temporary file in the directory specified by the server's payload.uploads settings. If the payload is 'multipart/form-data' and parse is true, fields values are presented as text while files are saved. Note that it is the sole responsibility of the application to clean up the files generated by the framework. This can be done by keeping track of which files are used (e.g. using the request.app object), and listening to the server 'response' event to perform any needed cleanup. - */ - output?: PayLoadOutputOption; - /** - * can be true, false, or gunzip; determines if the incoming payload is processed or presented raw. true and gunzip includes gunzipping when the appropriate 'Content-Encoding' is specified on the received request. If parsing is enabled and the 'Content-Type' is known (for the whole payload as well as parts), the payload is converted into an object when possible. If the format is unknown, a Bad Request (400) error response is sent. Defaults to true, except when a proxy handler is used. The supported mime types are: - * * 'application/json' - * * 'application/x-www-form-urlencoded' - * * 'application/octet-stream' - * * 'text/*' - * * 'multipart/form-data' - */ - parse?: 'gunzip' | boolean; - /** - * overrides payload processing for multipart requests. Value can be one of: - * * false - disables multipart processing. - * * object with the following required options: - * * output - same as the payload.output option with an additional value option: - * * annotated - wraps each multipart part in an object with the following keys: // TODO type this? - * * headers - the part headers. - * * filename - the part file name. - * * payload - the processed part payload. - */ - multipart?: false | { - output: PayLoadOutputOption | 'annotated'; - }; - /** a string or an array of strings with the allowed mime types for the endpoint. Defaults to any of the supported mime types listed above. Note that allowing other mime types not listed will not enable them to be parsed, and that if parsing mode is 'parse', the request will result in an error response. */ - allow?: string | string[]; - /** a mime type string overriding the 'Content-Type' header value received. Defaults to no override. */ - override?: string; - /** limits the size of incoming payloads to the specified byte count. Allowing very large payloads may cause the server to run out of memory. Defaults to 1048576 (1MB). */ - maxBytes?: number; - /** payload reception timeout in milliseconds. Sets the maximum time allowed for the client to transmit the request payload (body) before giving up and responding with a Request Timeout (408) error response. Set to false to disable. Defaults to 10000 (10 seconds). */ - timeout?: number | false; - /** the directory used for writing file uploads. Defaults to os.tmpdir(). */ - uploads?: string; - /** - * determines how to handle payload parsing errors. Allowed values are: - * * 'error' - return a Bad Request (400) error response. This is the default value. - * * 'log' - report the error but continue processing the request. - * * 'ignore' - take no action and continue processing the request. - */ - failAction?: 'error' | 'log' | 'ignore'; - /** the default 'Content-Type' HTTP header value is not present. Defaults to 'application/json'. */ - defaultContentType?: string; - /** an object where each key is a content-encoding name and each value is an object with the desired decoder settings. Note that encoder settings are set in the root option compression. */ - compression?: Dictionary; -} - -export type PayLoadOutputOption = 'data' | 'stream' | 'file'; - -/** - * events must be one of: - * * an event name string. - * * an event options object see ApplicationEventOptionsObject - * * a podium [See docs](https://github.com/hapijs/podium) emitter object. - * For context [See docs](https://hapijs.com/api/16.1.1#servereventevents) > events parameter - */ -export type ApplicationEvent = string | ApplicationEventOptionsObject | Podium; - -/** - * an event options object - * For context see ApplicationEvent - * For context [See docs](https://hapijs.com/api/16.1.1#servereventevents) > events parameter - */ -export interface ApplicationEventOptionsObject { - /** the event name string (required). */ - name: string; - /** a string or array of strings specifying the event channels available. Defaults to no channel restrictions (event updates can specify a channel or not). */ - channels?: string | string[]; - /** if true, the data object passed to server.emit() is cloned before it is passed to the listeners (unless an override specified by each listener). Defaults to false (data is passed as-is). */ - clone?: boolean; - /** if true, the data object passed to server.emit() must be an array and the listener method is called with each array element passed as a separate argument (unless an override specified by each listener). This should only be used when the emitted data structure is known and predictable. Defaults to false (data is emitted as a single argument regardless of its type). */ - spread?: boolean; - /** if true and the criteria object passed to server.emit() includes tags, the tags are mapped to an object (where each tag string is the key and the value is true) which is appended to the arguments list at the end (but before the callback argument if block is set). A configuration override can be set by each listener. Defaults to false. */ - tags?: boolean; - /** if true, the same event name can be registered multiple times where the second registration is ignored. Note that if the registration config is changed between registrations, only the first configuration is used. Defaults to false (a duplicate registration will throw an error). */ - shared?: boolean; -} - -/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - + + - + + - + Route + - + + - + + - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ -// TODO: move to separate file http://stackoverflow.com/questions/43276921 - -/** - * Route configuration - * The route configuration object - * - * [See docs](https://hapijs.com/api/16.1.1#route-configuration) - * - * TODO typings check that the following refers to RouteAdditionalConfigurationOptions "Note that the options object is deeply cloned (with the exception of bind which is shallowly copied) and cannot contain any values that are unsafe to perform deep copy on." - */ -export interface RouteConfiguration { - /** the absolute path used to match incoming requests (must begin with '/'). Incoming requests are compared to the configured paths based on the connection router configuration option. The path can include named parameters enclosed in {} which will be matched against literal values in the request as described in Path parameters. */ - path: string; - /** the HTTP method. Typically one of 'GET', 'POST', 'PUT', 'PATCH', 'DELETE', or 'OPTIONS'. Any HTTP method is allowed, except for 'HEAD'. Use '*' to match against any HTTP method (only when an exact match was not found, and any match with a specific method will be given a higher priority over a wildcard match). Can be assigned an array of methods which has the same result as adding the same route with different methods manually. */ - method: HTTP_METHODS_PARTIAL | '*' | (HTTP_METHODS_PARTIAL | '*')[]; - /** an optional domain string or an array of domain strings for limiting the route to only requests with a matching host header field. Matching is done against the hostname part of the header only (excluding the port). Defaults to all hosts. */ - vhost?: string; - /** the function called to generate the response after successful authentication and validation. The handler function is described in Route handler. If set to a string, the value is parsed the same way a prerequisite server method string shortcut is processed. Alternatively, handler can be assigned an object with a single key using the name of a registered handler type and value with the options passed to the registered handler. */ - handler?: string | RouteHandler | RouteHandlerPlugins; - /** additional route options. The config value can be an object or a function that returns an object using the signature function(server) where server is the server the route is being added to and this is bound to the current realm's bind option. */ - config?: RouteAdditionalConfigurationOptions | ((server: Server) => RouteAdditionalConfigurationOptions); -} - -/** - * Route options - * Each route can be customize to change the default behavior of the request lifecycle using the following options: - * [See docs](https://hapijs.com/api/16.1.1#route-options) - */ -export interface RouteAdditionalConfigurationOptions { - /** application specific configuration.Should not be used by plugins which should use plugins[name] instead. */ - app?: any; - /** - * Authentication configuration. Value can be: - * * false to disable authentication if a default strategy is set. - * * a string with the name of an authentication strategy registered with server.auth.strategy(). - * * an object - */ - auth?: false | string | AuthOptions; - /** an object passed back to the provided handler (via this) when called. Ignored if the method is an arrow function. */ - bind?: any; - /** - * Route cache options - * if the route method is 'GET', the route can be configured to include caching directives in the response. The default Cache-Control: no-cache header can be disabled by setting cache to false. Caching can be customized using an object - * TODO check: the default is to have 'Cache-Control: no-cache', but on first reading is a contridiction as you can disabled cache and disabled no-cache by setting RouteCacheOptions to false? - */ - cache?: boolean | RouteCacheOptions; - /** an object where each key is a content-encoding name and each value is an object with the desired encoder settings. Note that decoder settings are set in payload.compression. */ - compression?: Dictionary; - /** the Cross-Origin Resource Sharing protocol allows browsers to make cross-origin API calls. CORS is required by web applications running inside a browser which are loaded from a different domain than the API server. CORS headers are disabled by default (false). To enable, set cors to true, or to an object */ - cors?: boolean | CorsConfigurationObject; - /** defined a route-level request extension points by setting the option to an object with a key for each of the desired extension points ('onRequest' is not allowed), and the value is the same as the [server.ext(events)](https://hapijs.com/api/16.1.1#serverextevents) event argument. */ - ext?: RouteExtConfigurationObject | RouteExtConfigurationObject[]; - /** defines the behavior for accessing files: */ - files?: { - /** determines the folder relative paths are resolved against. */ - relativeTo: string; - }; - /** an alternative location for the route.handler option. */ - handler?: string | RouteHandler; - /** an optional unique identifier used to look up the route using server.lookup(). Cannot be assigned to routes with an array of methods. */ - id?: string; - /** if true, the route cannot be accessed through the HTTP connection but only through the server.inject() interface with the allowInternals option set to true. Used for internal routes that should not be accessible to the outside world. Defaults to false. */ - isInternal?: boolean; - /** optional arguments passed to JSON.stringify() when converting an object or error response to a string payload. Supports the following: */ - json?: Json.StringifyArguments & { - /** string suffix added after conversion to JSON string. Defaults to no suffix. */ - suffix?: string; - }; - /** enables JSONP support by setting the value to the query parameter name containing the function name used to wrap the response payload. For example, if the value is 'callback', a request comes in with 'callback=me', and the JSON response is '{ "a":"b" }', the payload will be 'me({ "a":"b" });'. Does not work with stream responses. Headers content-type and x-content-type-options are set to text/javascript and nosniff respectively, and will override those headers even if explicitly set by response.type() */ - jsonp?: string; - /** if true, request level logging is enabled (accessible via request.getLog()). */ - log?: boolean; - /** - * determines how the request payload is processed - * [See docs](https://hapijs.com/api/16.1.1#route-options) - */ - payload?: RoutePayloadConfigurationObject; - /** plugin-specific configuration. plugins is an object where each key is a plugin name and the value is the plugin configuration. */ - plugins?: PluginSpecificConfiguration; - /** an array with [route prerequisites](https://hapijs.com/api/16.1.1#route-prerequisites) methods which are executed in serial or in parallel before the handler is called. */ - pre?: RoutePrerequisitesArray; - /** processing rules for the outgoing response */ - response?: RouteResponseConfigurationObject; - /** sets common security headers (disabled by default). To enable set security to true or to an object with the following options: See RouteSecurityConfigurationObject */ - security?: boolean | RouteSecurityConfigurationObject; - /** HTTP state management (cookies) allows the server to store information on the client which is sent back to the server with every request (as defined in RFC 6265). state supports the following options: */ - state?: { - /** determines if incoming 'Cookie' headers are parsed and stored in the request.state object. Defaults to true. */ - parse?: boolean; - /** - * determines how to handle cookie parsing errors. Allowed values are: - * * 'error' - return a Bad Request (400) error response. This is the default value. - * * 'log' - report the error but continue processing the request. - * * 'ignore' - take no action. - */ - failAction: 'error' | 'log' | 'ignore'; - }; - /** request input validation rules for various request components. When using a Joi validation object, the values of the other inputs (i.e. headers, query, params, payload, and auth) are made available under the validation context (accessible in rules as Joi.ref('$query.key')). Note that validation is performed in order (i.e. headers, params, query, payload) and if type casting is used (converting a string to number), the value of inputs not yet validated will reflect the raw, unvalidated and unmodified values. If the validation rules for headers, params, query, and payload are defined at both the routes defaults level and an individual route, the individual route settings override the routes defaults (the rules are not merged). The validate object supports: */ - validate?: RouteValidationConfigurationObject; - /** define timeouts for processing durations: */ - timeout?: { - /** response timeout in milliseconds. Sets the maximum time allowed for the server to respond to an incoming client request before giving up and responding with a Service Unavailable (503) error response. Disabled by default (false). */ - server?: boolean | number; - /** by default, node sockets automatically timeout after 2 minutes. Use this option to override this behavior. Defaults to undefined which leaves the node default unchanged. Set to false to disable socket timeouts. */ - socket?: boolean | number; - }; - - /** - * TODO decide on moving these to an extended interface of RouteAdditionalConfigurationOptions - */ - /** - * ONLY WHEN ADDING NEW ROUTES (not when setting defaults). - * route description used for generating documentation - */ - description?: string; - /** - * ONLY WHEN ADDING NEW ROUTES (not when setting defaults). - * route notes used for generating documentation - */ - notes?: string | string[]; - /** - * ONLY WHEN ADDING NEW ROUTES (not when setting defaults). - * route tags used for generating documentation - */ - tags?: string[]; -} - -/** - * Route public interface - * When route information is returned or made available as a property, it is an object with the following: - * [See docs](https://hapijs.com/api/16.1.1#route-public-interface) - */ -export interface RoutePublicInterface { - /** the route HTTP method. */ - method: string; - /** the route path. */ - path: string; - /** the route vhost option if configured. */ - vhost?: string | string[]; - /** the [active realm] [See docs](https://hapijs.com/api/16.1.1#serverrealm) associated with the route.*/ - realm: ServerRealm; - /** the [route options] [See docs](https://hapijs.com/api/16.1.1#route-options) object with all defaults applied. */ - settings: RouteAdditionalConfigurationOptions; - /** the route internal normalized string representing the normalized path. */ - fingerprint: string; - /** route authentication utilities: */ - auth: { - /** authenticates the passed request argument against the route's authentication access configuration. Returns true if the request would have passed the route's access requirements. Note that the route's authentication mode and strategies are ignored. The only match is made between the request.auth.credentials scope and entity information and the route access configuration. Also, if the route uses dynamic scopes, the scopes are constructed against the request.query and request.params which may or may not match between the route and the request's route. If this method is called using a request that has not been authenticated (yet or at all), it will return false if the route requires any authentication. */ - access(request: Request): boolean; - }; -} - -export type RouteHandlerConfig = any; - -/** - * For context [See docs](https://hapijs.com/api/16.1.1#serverhandlername-method) - * For source [See docs](https://github.com/hapijs/hapi/blob/v16.1.1/lib/handler.js#L103) - * For source [See docs](https://github.com/hapijs/hapi/blob/v16.1.1/lib/route.js#L56-L60) - * TODO check the type of `RouteHandlerConfig` is correct for `defaults`. - */ -export interface MakeRouteHandler { - (route: RoutePublicInterface, options: RouteHandlerConfig): RouteHandler; - defaults?: RouteHandlerConfig | ((method: HTTP_METHODS_PARTIAL_lowercase) => RouteHandlerConfig); -} - -/** - * [See docs](https://hapijs.com/api/16.1.1#servertablehost) > return value - */ -export interface RoutingTableEntry { - /** the connection.info the connection the table was generated for. */ - info: ServerConnectionInfo; - /** the connection labels. */ - labels: string[]; - /** an array of routes where each route contains: */ - table: Route[]; -} - -/** - * [See docs](https://hapijs.com/api/16.1.1#servertablehost) > return value - * For source [See source](https://github.com/hapijs/hapi/blob/v16.1.1/lib/route.js#L71) - */ -export interface Route { - /** - * the route config with defaults applied. - * TODO check type of RouteConfiguration here is correct - */ - settings: RouteAdditionalConfigurationOptions; - /** - * the HTTP method in lower case. - * TODO, check if it can contain 'head' or not. - */ - method: HTTP_METHODS_PARTIAL_lowercase; - /** the route path. */ - path: string; - - params: string[]; - - connection: ServerConnection; - - fingerprint: string; - - plugin?: any; - - public: RoutePublicInterface; - - server: Server; -} - -/** - * Route Prerequisites - * It is often necessary to perform prerequisite actions before the handler is called (e.g. load required reference data from a database). The route pre option allows defining such pre-handler methods. The methods are called in order. If the pre array contains another array, those methods are called in parallel. pre can be assigned a mixed array of: - * * arrays containing the elements listed below, which are executed in parallel. - * * objects see RoutePrerequisiteObjects - * * functions - same as including an object with a single method key. - * * strings - special short-hand notation for registered server methods using the format 'name(args)' (e.g. 'user(params.id)') where: - * * 'name' - the method name. The name is also used as the default value of assign. - * * 'args' - the method arguments (excluding next) where each argument is a property of the request object - * [See docs](https://hapijs.com/api/16.1.1#route-prerequisites) - * For context see RouteAdditionalConfigurationOptions > pre - * - * TODO follow up on "server methods" in "special short-hand notation for registered server methods" at https://hapijs.com/api/16.1.1#servermethodname-method-options - * TODO follow up on "request object" in "each argument is a property of the request object" at https://hapijs.com/api/16.1.1#request-object - */ -export type RoutePrerequisitesArray = RoutePrerequisitesPart[] | (RoutePrerequisitesPart[] | RoutePrerequisitesPart)[]; -export type RoutePrerequisitesPart = RoutePrerequisiteObjects | RoutePrerequisiteRequestHandler | string; - -/** - * see RoutePrerequisites > objects - */ -export interface RoutePrerequisiteObjects { - /** the function to call (or short-hand method string as described below [see RoutePrerequisitesArray]). the function signature is identical to a route handler as described in Route handler. */ - method: RoutePrerequisiteRequestHandler | string; - /** key name to assign the result of the function to within request.pre. */ - assign: string; - /* - * determines how to handle errors returned by the method. Allowed values are: - * * 'error' - returns the error response back to the client. This is the default value. - * * 'log' - logs the error but continues processing the request. If assign is used, the error will be assigned. - * * 'ignore' - takes no special action. If assign is used, the error will be assigned. - */ - failAction?: 'error' | 'log' | 'ignore'; -} - -/** - * For context see RouteAdditionalConfigurationOptions > response - */ -export interface RouteResponseConfigurationObject { - /** the default HTTP status code when the payload is empty. Value can be 200 or 204. Note that a 200 status code is converted to a 204 only at the time or response transmission (the response status code will remain 200 throughout the request lifecycle unless manually set). Defaults to 200. */ - emptyStatusCode?: number; - /** - * defines what to do when a response fails payload validation. Options are: - * * 'error' - return an Internal Server Error (500) error response. This is the default value. - * * 'log' - log the error but send the response. - * * a custom error handler function with the signature function(request, reply, source, error) where: - * * 'request' - the request object. - * * 'reply' - the continuation reply interface. - * * 'error' - the error returned from the validation schema. - * TODO update type of source once PR to hapi is concluded. - */ - failAction?: 'error' | 'log' | ((request: Request, reply: ReplyWithContinue, source: string, error: Boom.BoomError) => void); - /** if true, applies the validation rule changes to the response payload. Defaults to false. */ - modify?: boolean; - /** - * options to pass to Joi. Useful to set global options such as stripUnknown or abortEarly (the complete list is available [here](https://github.com/hapijs/joi/blob/master/API.md#validatevalue-schema-options-callback) ). - * If a custom validation function (see `schema` or `status` below) is defined then `options` can an arbitrary object that will be passed to this function as the second parameter. - * Defaults to no options. - */ - options?: ValidationOptions; - /** if false, payload range support is disabled. Defaults to true. */ - ranges?: boolean; - /** the percent of response payloads validated (0 - 100). Set to 0 to disable all validation. Defaults to 100 (all response payloads). */ - sample?: number; - /** the default response payload validation rules (for all non-error responses) */ - schema?: RouteResponseConfigurationScheme; - /** HTTP status-code-specific payload validation rules. The status key is set to an object where each key is a 3 digit HTTP status code and the value has the same definition as schema. If a response status code is not present in the status object, the schema definition is used, except for errors which are not validated by default. */ - status?: Dictionary>; -} - -/** - * the default response payload validation rules (for all non-error responses) expressed as one of: - * * true - any payload allowed (no validation performed). This is the default. - * * false - no payload allowed. - * * a Joi validation object. This will receive the request's headers, params, query, payload, and auth credentials and isAuthenticated flags as context. - * * a validation function - * - * TODO check JoiValidationObject is correct for "a Joi validation object" - * - * For context see RouteAdditionalConfigurationOptions > response > schema - * and - * For context see RouteAdditionalConfigurationOptions > response > status - */ -export type RouteResponseConfigurationScheme = boolean | JoiValidationObject | ValidationFunctionForRouteResponse; - -/** - * see RouteResponseConfigurationScheme - * - * a validation function using the signature function(value, options, next) where: - * * value - the value of the response passed to `reply(value)` in the handler. - * * options - the server validation options, merged with an object containing the request's headers, params, payload, and auth credentials object and `isAuthenticated` flag. - * * next([err, [value]]) - the callback function called when validation is completed. `value` will be used as the response value when `err` is falsy, when `value` is not `undefined`, and when `route.settings.response.modify` is `true`. If the response is already a `Boom` error it will be set as its `message` value. - */ -export interface ValidationFunctionForRouteResponse { - (value: any, options: RouteResponseValidationContext & ValidationOptions, next: ContinuationValueFunction): void; -} - -/** - * A context for route input validation via a Joi schema or validation function. - * - * This object is merged with the route response options and passed into the validation function. - * - * See https://github.com/hapijs/hapi/blob/v16.1.1/lib/validation.js#L217 - */ -export interface RouteResponseValidationContext { - context: { - /** The request headers */ - headers: Dictionary; - /** The request path parameters */ - params: any; - /** The request query parameters */ - query: any; - /** The request payload parameters */ - payload: any; - - /** Partial request authentication information */ - auth: { - /** true if the request has been successfully authenticated, otherwise false. */ - isAuthenticated: boolean; - /** the credential object received during the authentication process. The presence of an object does not mean successful authentication. */ - credentials: AuthenticatedCredentials; - }; - } -} - -/** - * For context see RouteAdditionalConfigurationOptions > security - */ -export interface RouteSecurityConfigurationObject { - /** controls the 'Strict-Transport-Security' header. If set to true the header will be set to max-age=15768000, if specified as a number the maxAge parameter will be set to that number. Defaults to true. You may also specify an object with the following fields: */ - hsts?: boolean | number | { - /** the max-age portion of the header, as a number. Default is 15768000. */ - maxAge?: number; - /** a boolean specifying whether to add the includeSubDomains flag to the header. */ - includeSubdomains?: boolean; - /** a boolean specifying whether to add the 'preload' flag (used to submit domains inclusion in Chrome's HTTP Strict Transport Security (HSTS) preload list) to the header. */ - preload?: boolean; - }; - /** controls the 'X-Frame-Options' header. When set to true the header will be set to DENY, you may also specify a string value of 'deny' or 'sameorigin'. Defaults to true. To use the 'allow-from' rule, you must set this to an object with the following fields: */ - xframe?: true | 'deny' | 'sameorigin' | { - /** may also be 'deny' or 'sameorigin' but set directly as a string for xframe */ - rule: 'allow-from'; - /** when rule is 'allow-from' this is used to form the rest of the header, otherwise this field is ignored. If rule is 'allow-from' but source is unset, the rule will be automatically changed to 'sameorigin'. */ - source: string; - }; - /** boolean that controls the 'X-XSS-PROTECTION' header for IE. Defaults to true which sets the header to equal '1; mode=block'. NOTE: This setting can create a security vulnerability in versions of IE below 8, as well as unpatched versions of IE8. See [here](https://hackademix.net/2009/11/21/ies-xss-filter-creates-xss-vulnerabilities/) and [here](https://technet.microsoft.com/library/security/ms10-002) for more information. If you actively support old versions of IE, it may be wise to explicitly set this flag to false. [Kept typing non optional to force this security related documentation to be read.] */ - xss: boolean; - /** boolean controlling the 'X-Download-Options' header for IE, preventing downloads from executing in your context. Defaults to true setting the header to 'noopen'. */ - noOpen?: boolean; - /** boolean controlling the 'X-Content-Type-Options' header. Defaults to true setting the header to its only and default option, 'nosniff' */ - noSniff?: boolean; -} - -/** - * request input validation rules for various request components. When using a Joi validation object, the values of the other inputs (i.e. headers, query, params, payload, and auth) are made available under the validation context (accessible in rules as Joi.ref('$query.key')). Note that validation is performed in order (i.e. headers, params, query, payload) and if type casting is used (converting a string to number), the value of inputs not yet validated will reflect the raw, unvalidated and unmodified values. If the validation rules for headers, params, query, and payload are defined at both the routes defaults level and an individual route, the individual route settings override the routes defaults (the rules are not merged). The validate object supports: - * For context see RouteAdditionalConfigurationOptions > validate - * TODO check JoiValidationObject is correct for "a Joi validation object" - */ -export interface RouteValidationConfigurationObject { - /** - * validation rules for incoming request headers (note that all header field names must be in lowercase to match the headers normalized by node). Values allowed: - * * true - any headers allowed (no validation performed). This is the default. - * * false - no headers allowed (this will cause all valid HTTP requests to fail). - * * a Joi validation object. - * * a validation function using the signature function(value, options, next) where: - * * value - the object containing the request headers. - * * options - the server validation options. - * * next(err, value) - the callback function called when validation is completed. `value` will be used as the `headers` value when `err` is falsy. If `next` is called with `undefined` or no arguments then the original value of `value` will be used. - */ - headers?: boolean | JoiValidationObject | ValidationFunctionForRouteInput; - /** - * validation rules for incoming request path parameters, after matching the path against the route and extracting any parameters then stored in request.params. Values allowed: - * Same as `headers`, see above. - */ - params?: boolean | JoiValidationObject | ValidationFunctionForRouteInput; - /** - * validation rules for an incoming request URI query component (the key-value part of the URI between '?' and '#'). The query is parsed into its individual key-value pairs and stored in request.query prior to validation. Values allowed: - * Same as `headers`, see above. - */ - query?: boolean | JoiValidationObject | ValidationFunctionForRouteInput; - /** - * validation rules for an incoming request payload (request body). Values allowed: - * Same as `headers`, see above, with the addition that: - * * a Joi validation object. Note that empty payloads are represented by a null value. If a validation schema is provided and empty payload are supported, it must be explicitly defined by setting the payload value to a joi schema with null allowed (e.g. Joi.object({ /* keys here * / }).allow(null)). - */ - payload?: boolean | JoiValidationObject | ValidationFunctionForRouteInput; - /** an optional object with error fields copied into every validation error response. */ - errorFields?: any; - /** - * determines how to handle invalid requests. Allowed values are: - * * 'error' - return a Bad Request (400) error response. This is the default value. - * * 'log' - log the error but continue processing the request. - * * 'ignore' - take no action. - * * a custom error handler function with the signature function(request, reply, source, error) see RouteFailFunction - */ - failAction?: 'error' | 'log' | 'ignore' | RouteFailFunction; - /** - * options to pass to Joi. Useful to set global options such as stripUnknown or abortEarly (the complete list is [available here](https://github.com/hapijs/joi/blob/master/API.md#validatevalue-schema-options-callback)). - * If a custom validation function (see `headers`, `params`, `query`, or `payload` above) is defined then `options` can an arbitrary object that will be passed to this function as the second parameter. - * Defaults to no options. - */ - options?: ValidationOptions; -} - -/** - * a validation function using the signature function(value, options, next) where: - * For context see RouteAdditionalConfigurationOptions > validate (RouteValidationConfigurationObject) - * - * Also see ValidationFunctionForRouteResponse - * @param value - the object containing the request headers, query, path params or payload. - * @param options - the server validation options. - * @param next([err, [value]]) - the callback function called when validation is completed. - */ -export interface ValidationFunctionForRouteInput { - (value: any, options: RouteInputValidationContext & ValidationOptions, next: ContinuationValueFunction): void; -} - -/** - * A context for route input validation via a Joi schema or validation function. - * - * This object is merged with the route validation options and passed into the validation function. - * - * See https://github.com/hapijs/hapi/blob/v16.1.1/lib/validation.js#L122 - */ -export interface RouteInputValidationContext { - context: { - // These are only set when *not* validating the respective source (e.g. params, query and payload are set when validating headers): - // See https://github.com/hapijs/hapi/blob/v16.1.1/lib/validation.js#L132 - headers?: Dictionary; - params?: any; - query?: any; - payload?: any; - - /** The request authentication information */ - auth: RequestAuthenticationInformation; - } -} - -/** - * a custom error handler function with the signature 'function(request, reply, source, error)` - * @param request - the request object. - * @param reply - the continuation reply interface. - * @param source - the source of the invalid field (e.g. 'headers', 'params', 'query', 'payload'). - * @param error - the error object prepared for the client response (including the validation function error under error.data). - */ -export interface RouteFailFunction { - (request: Request, reply: ReplyWithContinue, source: string, error: any): void; -} - -/** - * optional cookie settings - * [See docs](https://hapijs.com/api/16.1.1#serverstatename-options) - * Related to see ConnectionConfigurationServerDefaults - */ -export interface ServerStateCookieConfiguationObject { - /** time-to-live in milliseconds. Defaults to null (session time-life - cookies are deleted when the browser is closed). */ - ttl?: number | null; - /** sets the 'Secure' flag. Defaults to true. */ - isSecure?: boolean; - /** sets the 'HttpOnly' flag. Defaults to true. */ - isHttpOnly?: boolean; - /** - * sets the 'SameSite' flag where the value must be one of: - * * false - no flag. - * * 'Strict' - sets the value to 'Strict' (this is the default value). - * * 'Lax' - sets the value to 'Lax'. - */ - isSameSite?: false | 'Strict' | 'Lax'; - /** the path scope. Defaults to null (no path). */ - path?: string | null; - /** the domain scope. Defaults to null (no domain). */ - domain?: string | null; - /** - * if present and the cookie was not received from the client or explicitly set by the route handler, the cookie is automatically added to the response with the provided value. The value can be a function with signature function(request, next) where: - * * request - the request object. - * * next - the continuation function using the function(err, value) signature. - */ - autoValue?(request: Request, next: ContinuationValueFunction): void; - /** - * encoding performs on the provided value before serialization. Options are: - * * 'none' - no encoding. When used, the cookie value must be a string. This is the default value. - * * 'base64' - string value is encoded using Base64. - * * 'base64json' - object value is JSON-stringified then encoded using Base64. - * * 'form' - object value is encoded using the x-www-form-urlencoded method. - * * 'iron' - Encrypts and sign the value using iron. - */ - encoding?: 'none' | 'base64' | 'base64json' | 'form' | 'iron'; - /** - * an object used to calculate an HMAC for cookie integrity validation. This does not provide privacy, only a mean to verify that the cookie value was generated by the server. Redundant when 'iron' encoding is used. Options are: - * * integrity - algorithm options. Defaults to require('iron').defaults.integrity. - * * password - password used for HMAC key generation (must be at least 32 characters long). - */ - sign?: { - integrity?: any; // TODO make iron definitions and getting typing from iron - password: string; - }; - /** password used for 'iron' encoding (must be at least 32 characters long). */ - password?: string; - /** options for 'iron' encoding. Defaults to require('iron').defaults. */ - iron?: any; // TODO make iron definitions and getting typing from iron - /** if true, errors are ignored and treated as missing cookies. */ - ignoreErrors?: boolean; - /** if true, automatically instruct the client to remove invalid cookies. Defaults to false. */ - clearInvalid?: boolean; - /** if false, allows any cookie value including values in violation of RFC 6265. Defaults to true. */ - strictHeader?: boolean; - /** used by proxy plugins (e.g. h2o2). */ - passThrough?: any; -} - -/** - * [See docs](https://hapijs.com/api/16.1.1#serverconnections) - */ -export interface ServerConnection { - /** settings - the connection configuration object passed to server.connection() after applying the server defaults. */ - settings: ServerConnectionOptions; - /** server - the connection's Server object. */ - server: Server; - /** type - set to 'tcp' is the connection is listening on a TCP port, otherwise to 'socket'(a UNIX domain socket or a Windows named pipe). */ - type: 'tcp' | 'socket'; - /** - * registrations - * Described [See docs](https://hapijs.com/api/16.1.1#serverregistrations) "When the server contains more than one connection, each server.connections array member provides its own connection.registrations." - */ - registrations: ServerRegisteredPlugins; - /** states - TODO contribute docs to hapi if they want, and then update type here */ - states: any; - /** auth - TODO contribute docs to hapi if they want, and then update type here */ - auth: any; - /** - * plugins - * TODO contribute docs to hapi if they want. Assuming similar to `registrations`, `listener`, `info`, etc - */ - plugins: PluginsStates; - /** - * app - * TODO contribute docs to hapi if they want. Assuming similar to `registrations`, `listener`, `info`, etc - */ - app: any; - /** Described in server.listener [See docs](https://hapijs.com/api/16.1.1#serverlistener) */ - listener: ServerListener; - /** Described in server.info [See docs](https://hapijs.com/api/16.1.1#serverinfo) */ - info: ServerConnectionInfo; - /** Described in server.inject [See docs](https://hapijs.com/api/16.1.1#serverinjectoptions-callback) */ - inject(options: string | InjectedRequestOptions, callback: (res: InjectedResponseObject) => void): void; - inject(options: string | InjectedRequestOptions, ): Promise; - /** Mentioned but not documented under server.connections [See docs](https://hapijs.com/api/16.1.1#serverconnections) */ - table(host?: string): Route[]; - /** Described in server.table [See docs](https://hapijs.com/api/16.1.1#serverlookupid) */ - lookup(id: string): RoutePublicInterface | null; - /** Described in server.table [See docs](https://hapijs.com/api/16.1.1#servermatchmethod-path-host) */ - match(method: HTTP_METHODS, path: string, host?: string): RoutePublicInterface | null; -} - -/** - * [See docs](https://hapijs.com/api/16.1.1#serverinfo) - */ -export interface ServerConnectionInfo { - /** a unique connection identifier (using the format '{hostname}:{pid}:{now base36}'). */ - id: string; - /** the connection creation timestamp. */ - created: number; - /** the connection start timestamp (0 when stopped). */ - started: number; - /** - * the connection port based on the following rules: - * * the configured port value before the server has been started. - * * the actual port assigned when no port is configured or set to 0 after the server has been started. - * TODO check this type. What happens when socket is a UNIX domain socket or Windows named pipe? - */ - port: number | string; - /** the host name the connection was configured to. Defaults to the operating system hostname when available, otherwise 'localhost'. */ - host: string; - /** the active IP address the connection was bound to after starting. Set to undefined until the server has been started or when using a non TCP port (e.g. UNIX domain socket). */ - address: undefined | string; - /** the protocol used. 'socket' when UNIX domain socket or Windows named pipe. */ - protocol: 'http' | 'https' | 'socket'; - /** a string representing the connection (e.g. 'http://example.com:8080' or 'socket:/unix/domain/socket/path'). Contains the uri setting if provided, otherwise constructed from the available settings. If no port is available or set to 0, the uri will not include a port component. */ - uri: string; -} - -/** - * [See docs](https://hapijs.com/api/16.1.1#serverlistener) - */ -export type ServerListener = http.Server; - -/** - * server.realm - * The realm object contains server-wide or plugin-specific state that can be shared across various methods. For example, when calling server.bind(), the active realm settings.bind property is set which is then used by routes and extensions added at the same level (server root or plugin). Realms are a limited version of a sandbox where plugins can maintain state used by the framework when adding routes, extensions, and other properties. - * [See docs](https://hapijs.com/api/16.1.1#serverrealm) - */ -export interface ServerRealm { - /** when the server object is provided as an argument to the plugin register() method, modifiers provides the registration preferences passed the server.register() method and includes: */ - modifiers: { - /** routes preferences: */ - route: { - /** the route path prefix used by any calls to server.route() from the server. Note that if a prefix is used and the route path is set to '/', the resulting path will not include the trailing slash. */ - prefix: string; - /** the route virtual host settings used by any calls to server.route() from the server. */ - vhost: string; - } - }; - /** the active plugin name (empty string if at the server root). */ - plugin: string; - /** the plugin options object passed at registration. */ - pluginOptions: any; // OptionsPassedToPlugin; - /** plugin-specific state to be shared only among activities sharing the same active state. plugins is an object where each key is a plugin name and the value is the plugin state. */ - plugins: PluginsStates; - /** settings overrides (from RouteAdditionalConfigurationOptions) */ - settings: { - files: { - relativeTo: string; - }; - bind: any; - }; -} - -/** - * [See docs](https://hapijs.com/api/16.1.1#serverregistrations) - */ -export interface ServerRegisteredPlugins { - [pluginName: string]: ServerRegisteredPlugin; -} - -/** - * [See docs](https://hapijs.com/api/16.1.1#serverregistrations) - */ -export interface ServerRegisteredPlugin { - /** the plugin version. */ - version: string; - /** the plugin name. */ - name: string; - /** - * options used to register the plugin. - * TODO update with outcome of: https://github.com/hapijs/hapi/pull/3479 - */ - options: any; // OptionsPassedToPlugin; - /** plugin registration attributes. */ - attributes: PluginAttributes; -} - -export interface ServerAuth { - /** - * server.auth.api - * An object where each key is a strategy name and the value is the exposed strategy API. Available on when the authentication scheme exposes an API by returning an api key in the object returned from its implementation function. - * When the server contains more than one connection, each server.connections array member provides its own connection.auth.api object. - * [See docs](https://hapijs.com/api/16.1.1#serverauthapi) - */ - api: Dictionary; - /** - * server.auth.default - * Sets a default strategy which is applied to every route - * The default does not apply when the route config specifies auth as false, or has an authentication strategy configured (contains the strategy or strategies authentication settings). Otherwise, the route authentication config is applied to the defaults. - * Note that if the route has authentication config, the default only applies at the time of adding the route, not at runtime. This means that calling default() after adding a route with some authentication config will have no impact on the routes added prior. However, the default will apply to routes added before default() is called if those routes lack any authentication config. - * The default auth strategy configuration can be accessed via connection.auth.settings.default. To obtain the active authentication configuration of a route, use connection.auth.lookup(request.route). - * [See docs](https://hapijs.com/api/16.1.1#serverauthdefaultoptions) - */ - default(options: string | AuthOptions): void; - /** - * server.auth.scheme - * Registers an authentication scheme - * [See docs](https://hapijs.com/api/16.1.1#serverauthschemename-scheme) - * @param name the scheme name. - * @param scheme the method implementing the scheme with signature function(server, options) see ServerAuthScheme - */ - scheme(name: string, scheme: ServerAuthScheme): void; - /** - * Registers an authentication strategy - * [See docs](https://hapijs.com/api/16.1.1#serverauthstrategyname-scheme-mode-options) - * @param name the strategy name. - * @param scheme the scheme name (must be previously registered using server.auth.scheme()). - * @param mode if set to true (which is the same as 'required') or to a valid authentication mode ('required', 'optional', 'try'), the scheme is automatically assigned as the default strategy for any route without an auth config. Can only be assigned to a single server strategy. Defaults to false (no default settings). - * @param options scheme options based on the scheme requirements. - */ - strategy(name: string, scheme: string, options?: any): void; - strategy(name: string, scheme: string, mode: boolean | 'required' | 'optional' | 'try', options?: any): void; - /** - * Tests a request against an authentication strategy - * Note that the test() method does not take into account the route authentication configuration. It also does not perform payload authentication. It is limited to the basic strategy authentication execution. It does not include verifying scope, entity, or other route properties. - * [See docs](https://hapijs.com/api/16.1.1#serverauthteststrategy-request-next) - * @param strategy - the strategy name registered with server.auth.strategy(). - * @param request - the request object. - * @param next - the callback function with signature function(err, credentials) where: - * * err - the error if authentication failed. - * * credentials - the authentication credentials object if authentication was successful. - */ - test(strategy: string, request: Request, next: (err: Error | null, credentials: AuthenticatedCredentials) => void): void; -} - -export type Strategy = any; -export type SchemeSettings = any; - -/** - * the method implementing the scheme with signature function(server, options) where: - * [See docs](https://hapijs.com/api/16.1.1#serverauthschemename-scheme) - * @param server a reference to the server object the scheme is added to. - * @param options optional scheme settings used to instantiate a strategy. - */ -export interface ServerAuthScheme { - (server: Server, options: SchemeSettings): SchemeMethodResult; -} - -/** - * The scheme method must return an object with the following - * [See docs](https://hapijs.com/api/16.1.1#serverauthschemename-scheme) - */ -export interface SchemeMethodResult { - /** optional object which is exposed via the server.auth.api object. */ - api?: Strategy; - /** - * required function called on each incoming request configured with the authentication scheme - * When the scheme authenticate() method implementation calls reply() with an error condition, the specifics of the error affect whether additional authentication strategies will be attempted (if configured for the route). If the err passed to the reply() method includes a message, no additional strategies will be attempted. If the err does not include a message but does include the scheme name (e.g. Boom.unauthorized(null, 'Custom')), additional strategies will be attempted in the order of preference (defined in the route configuration). If authentication fails the scheme names will be present in the 'WWW-Authenticate' header. - * @param request the request object. - * @param reply the reply interface the authentication method must call when done authenticating the request - */ - authenticate(request: Request, reply: ReplySchemeAuth): void; - /** - * optional function called to authenticate the request payload - * When the scheme payload() method returns an error with a message, it means payload validation failed due to bad payload. If the error has no message but includes a scheme name (e.g. Boom.unauthorized(null, 'Custom')), authentication may still be successful if the route auth.payload configuration is set to 'optional'. - * @param request the request object. - * @param reply is called if authentication failed - */ - payload?(request: Request, reply: ReplySchemeAuthOfPayload): void; - /** - * optional function called to decorate the response with authentication headers before the response headers or payload is written where: - * @param request the request object. - * @param reply is called if an error occured - */ - response?(request: Request, reply: ReplySchemeAuthDecorateResponse): void; - /** an optional object with the following keys: */ - options?: { - /** if true, requires payload validation as part of the scheme and forbids routes from disabling payload auth validation. Defaults to false. */ - payload?: boolean; - }; -} - -export interface ServerCacheMethod { - /** - * Provisions a cache segment within the server cache facility - * [See docs](https://hapijs.com/api/16.1.1#servercacheoptions) - */ - (options: CatboxServerCacheConfiguration): Catbox.Policy; - /** - * Provisions a server cache as described in server.cache - * If no callback is provided, a Promise object is returned. - * Note that if the server has been initialized or started, the cache will be automatically started to match the state of any other provisioned server cache. - * [See docs](https://hapijs.com/api/16.1.1#servercacheprovisionoptions-callback) - * @param options same as the server cache configuration options. - * @param callback the callback method when cache provisioning is completed or failed with the signature function(err) where: - * * err - any cache startup error condition. - */ - provision(options: CatboxServerCacheConfiguration): Promise; - provision(options: CatboxServerCacheConfiguration, callback: (err?: Error) => void): void; -} - -/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - + + - + + - + Request + - + + - + + - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ -// TODO: move to separate file http://stackoverflow.com/questions/43276921 - -/** - * Request object - * The request object is created internally for each incoming request. It is different from the node.js request object received from the HTTP server callback (which is available in request.raw.req). The request object methods and properties change throughout the request lifecycle. - * [See docs](https://hapijs.com/api/16.1.1#request-object) - * [See docs](https://hapijs.com/api/16.1.1#request-properties) - */ -export class Request extends Podium { - /** application-specific state. Provides a safe place to store application data without potential conflicts with the framework. Should not be used by plugins which should use plugins[name]. */ - app: any; - /** authentication information */ - auth: RequestAuthenticationInformation; - /** the connection the request was received by. */ - connection: ServerConnection; - /** the node domain object used to protect against exceptions thrown in extensions, handlers and route prerequisites. Can be used to manually bind callback functions otherwise bound to other domains. Set to null when the server useDomains options is false. */ - domain: domain.Domain | null; - /** the raw request headers (references request.raw.headers). */ - headers: Dictionary; - /** a unique request identifier (using the format '{now}:{connection.info.id}:{5 digits counter}').*/ - id: string; - /** request information */ - info: { - /** the request preferred encoding. */ - acceptEncoding: string; - /** if CORS is enabled for the route, contains the following: */ - cors: { - /** - * true if the request 'Origin' header matches the configured CORS restrictions. Set to false if no 'Origin' header is found or if it does not match. Note that this is only available after the 'onRequest' extension point as CORS is configured per-route and no routing decisions are made at that point in the request lifecycle. - * Note: marking as optional as "... this is only available after ..." - */ - isOriginMatch?: boolean; - }; - /** content of the HTTP 'Host' header (e.g. 'example.com:8080'). */ - host: string; - /** the hostname part of the 'Host' header (e.g. 'example.com'). */ - hostname: string; - /** request reception timestamp. */ - received: number; - /** content of the HTTP 'Referrer' (or 'Referer') header. */ - referrer: string; - /** remote client IP address. */ - remoteAddress: string; - /** - * remote client port. - * Set to string in casethey're requesting from a UNIX domain socket. - * TODO, what type does Hapi return, should this be number | string? - */ - remotePort: string; - /** request response timestamp (0 is not responded yet). */ - responded: number; - }; - /** the request method in lower case (e.g. 'get', 'post'). */ - method: string; - /** the parsed content-type header. Only available when payload parsing enabled and no payload error occurred. */ - mime: string; - /** an object containing the values of params, query, and payload before any validation modifications made. Only set when input validation is performed. */ - orig: { - params: any; - query: any; - payload: any; - }; - /** an object where each key is a path parameter name with matching value as described in Path parameters [See docs](https://hapijs.com/api/16.1.1#path-parameters). */ - params: Dictionary; - /** an array containing all the path params values in the order they appeared in the path. */ - paramsArray: string[]; - /** the request URI's pathname [See docs](https://nodejs.org/api/url.html#url_urlobject_pathname) component. */ - path: string; - /** - * the request payload based on the route payload.output and payload.parse settings. - * TODO check this typing and add references / links. - */ - payload: stream.Readable | Buffer | any; - /** plugin-specific state. Provides a place to store and pass request-level plugin data. The plugins is an object where each key is a plugin name and the value is the state. */ - plugins: PluginsStates; - /** an object where each key is the name assigned by a route prerequisites function. The values are the raw values provided to the continuation function as argument. For the wrapped response object, use responses. */ - pre: Object; - /** the response object when set. The object can be modified but must not be assigned another object. To replace the response with another from within an extension point, use reply(response) to override with a different response. Contains null when no response has been set (e.g. when a request terminates prematurely when the client disconnects). */ - response: Response | null; - /** same as pre but represented as the response object created by the pre method. */ - preResponses: Object; - /** - * by default the object outputted from [node's URL parse()](https://nodejs.org/docs/latest/api/url.html#url_urlobject_query) method. - * Might also be set indirectly via [request.setUrl](https://github.com/DefinitelyTyped/DefinitelyTyped/pull/17354#requestseturlurl-striptrailingslash) in which case it may be - * a string (if url is set to an object with the query attribute as an unparsed string). - */ - query: any; - /** an object containing the Node HTTP server objects. **Direct interaction with these raw objects is not recommended.** */ - raw: { - req: http.IncomingMessage; // Or http.ClientRequest http://www.apetuts.com/tutorial/node-js-http-client-request-class/ ? - res: http.ServerResponse; - }; - /** - * the route public interface. - * Optional due to "request.route is not yet populated at this point." [See docs](https://hapijs.com/api/16.1.1#request-lifecycle) - */ - route?: RoutePublicInterface; - /** the server object. */ - server: Server; - /** an object containing parsed HTTP state information (cookies) where each key is the cookie name and value is the matching cookie content after processing using any registered cookie definition. */ - state: Dictionary; - /** the parsed request URI */ - url: url.Url; - - /** - * request.setUrl(url, [stripTrailingSlash]) - * Available only in 'onRequest' extension methods. - * Changes the request URI before the router begins processing the request - * [See docs](https://hapijs.com/api/16.1.1#requestseturlurl-striptrailingslash) - * @param url the new request URI. If url is a string, it is parsed with node's URL parse() method. url can also be set to an object compatible with node's URL parse() method output. - * @param stripTrailingSlash if true, strip the trailing slash from the path. Defaults to false. - */ - setUrl(url: string | url.Url, stripTrailingSlash?: boolean): void; - /** - * request.setMethod(method) - * Available only in 'onRequest' extension methods. - * Changes the request method before the router begins processing the request - * [See docs](https://hapijs.com/api/16.1.1#requestsetmethodmethod) - * @param method is the request HTTP method (e.g. 'GET'). - */ - setMethod(method: HTTP_METHODS): void; - /** - * request.generateResponse(source, [options]) - * Always available. - * Returns a response which you can pass into the reply interface where: - * [See docs](https://hapijs.com/api/16.1.1#requestgenerateresponsesource-options) - * @param source the object to set as the source of the reply interface. TODO, submit a PR to clarify this doc, from the source code it's clear that "the object to set" refers to something of type `ReplyValue` i.e. that can be null, string, number, object, Stream, Promise, or Buffer. - * @param options options for the method, optional. Not documented yet, perhaps not very important. - */ - generateResponse(source?: ReplyValue, options?: {marshal?: any; prepare?: any; close?: any; variety?: any}): Response; - /** - * request.log(tags, [data, [timestamp]]) - * Always available. - * Logs request-specific events. When called, the server emits a 'request' event which can be used by other listeners or plugins. - * Any logs generated by the server internally will be emitted only on the 'request-internal' channel and will include the event.internal flag set to true. - * [See docs](https://hapijs.com/api/16.1.1#requestlogtags-data-timestamp) - * @param tags a string or an array of strings (e.g. ['error', 'database', 'read']) used to identify the event. Tags are used instead of log levels and provide a much more expressive mechanism for describing and filtering events. - * @param data an optional message string or object with the application data being logged. If data is a function, the function signature is function() and it called once to generate (return value) the actual data emitted to the listeners. - * @param timestamp an optional timestamp expressed in milliseconds. Defaults to Date.now() (now). - */ - log(tags: string | string[], data?: string | Object | (() => string | Object), timestamp?: number): void; - /** - * request.getLog([tags], [internal]) - * Always available. - * Returns an array containing the events matching any of the tags specified (logical OR) - * Note that this methods requires the route log configuration set to true. - * [See docs](https://hapijs.com/api/16.1.1#requestgetlogtags-internal) - * @param tags is a single tag string or array of tag strings. If no tags specified, returns all events. - * @param internal filters the events to only those with a matching event.internal value. If true, only internal logs are included. If false, only user event are included. Defaults to all events (undefined). - */ - getLog(tags?: string | string[], internal?: boolean): string[]; - getLog(internal?: boolean): string[]; - /** - * request.tail([name]) - * Available until immediately after the 'response' event is emitted. - * Adds a request tail which has to complete before the request lifecycle is complete. - * Returns a tail function which must be called when the tail activity is completed. - * Tails are actions performed throughout the request lifecycle, but which may end after a response is sent back to the client. For example, a request may trigger a database update which should not delay sending back a response. However, it is still desirable to associate the activity with the request when logging it (or an error associated with it). - * When all tails completed, the server emits a 'tail' event. - * [See docs](https://hapijs.com/api/16.1.1#requesttailname) - * @param name an optional tail name used for logging purposes. - */ - tail(name?: string): (() => void); - /** - * The server.decorate('request', ...) method can modify this prototype/interface. - * Have disabled these typings as there is a better alternative, see example in: tests/server/decorate.ts - * [And discussion here](https://github.com/DefinitelyTyped/DefinitelyTyped/issues/14517#issuecomment-298891630) - */ - // [index: string]: any; -} - -export interface RequestAuthenticationInformation { - /** true if the request has been successfully authenticated, otherwise false. */ - isAuthenticated: boolean; - /** the credential object received during the authentication process. The presence of an object does not mean successful authentication. */ - credentials: any; - /** an artifact object received from the authentication strategy and used in authentication-related actions. */ - artifacts: any; - /** the route authentication mode. */ - mode: string; - /** the authentication error is failed and mode set to 'try'. */ - error: Error; -} - -export type HTTP_METHODS_PARTIAL_lowercase = 'get' | 'post' | 'put' | 'patch' | 'delete' | 'options'; -export type HTTP_METHODS_PARTIAL = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | HTTP_METHODS_PARTIAL_lowercase; -export type HTTP_METHODS = 'HEAD' | 'head' | HTTP_METHODS_PARTIAL; - -/** - * Request events - * The request object supports the following events: - * * 'peek' - emitted for each chunk of payload data read from the client connection. The event method signature is function(chunk, encoding). - * * 'finish' - emitted when the request payload finished reading. The event method signature is function (). - * * 'disconnect' - emitted when a request errors or aborts unexpectedly. - * [See docs](https://hapijs.com/api/16.1.1#request-events) - */ -export type RequestEventTypes = 'peek' | 'finish' | 'disconnect'; - -/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - + + - + + - + Handler functions + - + + - + + - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ -// TODO: move to separate file http://stackoverflow.com/questions/43276921 - -/** - * Extending RouteConfiguration.handler - * - * The hapi documentation allows for the RouteConfiguration.handler type to have - * `{[pluginName: string]: pluginOptions}` - * "handler can be assigned an object with a single key using the name of a registered handler type and value with the options passed to the registered handler" - * This can be provided by extending the hapi module definition as follows, - * see h2o2 for example: - * - * declare module 'hapi' { - * interface RouteHandlerPlugins { - * proxy?: ... - */ -export interface RouteHandlerPlugins { -} -/** - * The route handler function uses the signature function(request, reply) (NOTE: do not use a fat arrow style function for route handlers as they do not allow context binding and will cause problems when used in conjunction with server.bind) where: - * * request - is the incoming request object (this is not the node.js request object). - * * reply - the reply interface the handler must call to set a response and return control back to the framework. - * [See docs](https://hapijs.com/api/16.1.1#route-handler) - * Same function signature used by request extension point used in server.ext(event), see ServerExtConfigurationObject.method - */ -export interface RouteHandler { - (request: Request, reply: ReplyNoContinue): void; - // (request: Request, reply: StrictReply): void; -} - -/** - * "the function to call, the function signature is identical to a route handler as described in Route handler." - * [See docs](https://hapijs.com/api/16.1.1#route-prerequisites) Route prerequisites - */ -export type RoutePrerequisiteRequestHandler = RouteHandler; - -/** - * request extension points: function(request, reply) where - * this - the object provided via options.bind or the current active context set with server.bind(). - * [See docs](https://hapijs.com/api/16.1.1#serverextevents) - * @param request the request object. - * @param reply the reply interface which is used to return control back to the framework. To continue normal execution of the request lifecycle, reply.continue() must be called. If the extension type is 'onPostHandler' or 'onPreResponse', a single argument passed to reply.continue() will override the current set response (including all headers) but will not stop the request lifecycle execution. To abort processing and return a response to the client, call reply(value) where value is an error or any other valid response. - */ -export interface ServerExtRequestHandler { - (request: Request, reply: ReplyWithContinue): void; -} - -/** - * Used by various extensions to handle a request and - * synchronously return a result of some form. - * - * Left in for backwards compatibility of typings but according to the - * [DefinitelyTyped Readme under common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped#common-mistakes) - * it talks about not using generic types unless the type was used in typing one - * or more of the function arguments. Using it to type the return was suggested - * to be the same as a type assertion. - */ -export interface RequestHandler { - (request: Request): T; -} - -/** - * Used by server extension points - * err can be `Boom` error or Error that will be wrapped as a `Boom` error - * For source [See code](https://github.com/hapijs/hapi/blob/v16.1.1/lib/reply.js#L109-L118) - * For source [See code](https://github.com/hapijs/hapi/blob/v16.1.1/lib/response.js#L60-L65) - */ -export interface ContinuationFunction { - (err?: Boom.BoomError): void; -} -/** - * For source [See docs](https://github.com/hapijs/hapi/blob/v16.1.1/lib/response.js#L60-L65) - * TODO Can value be typed with a useful generic? - */ -export interface ContinuationValueFunction { - (err: Boom.BoomError): void; - (err: null | undefined, value: any): void; - (): void; -} - -/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - + + - + + - + Reply functions + - + + - + + - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ -// TODO: move to separate file http://stackoverflow.com/questions/43276921 - -/** - * Typings listed explicitly here [See docs](https://hapijs.com/api/16.1.1#replyerr-result) - * Typings also described in part here [See docs](https://hapijs.com/api/16.1.1#response-object) - */ -export type ReplyValue = _ReplyValue | Promise<_ReplyValue>; -export type _ReplyValue = null | undefined | string | number | boolean | Buffer | Error | stream.Stream | Object; // | array; - -/** - * Reply interface - * reply([err], [result]) - * Concludes the handler activity by setting a response and returning control over to the framework - * When reply() is called with an error or result response, that value is used as the response sent to the client. When reply() is called within a prerequisite, the value is saved for future use and is not used as the response. In all other places except for the handler, calling reply() will be considered an error and will abort the request lifecycle, jumping directly to the 'onPreResponse' event. - * To return control to the framework within an extension or other places other than the handler, without setting a response, the method reply.continue() must be called. Except when used within an authentication strategy, or in an 'onPostHandler' or 'onPreResponse' extension, the reply.continue() must not be passed any argument or an exception is thrown. - * [See docs](https://hapijs.com/api/16.1.1#reply-interface) - * [See docs](https://hapijs.com/api/16.1.1#replyerr-result) - * - * NOTE: modules should extend this interface to expose reply.Nnn methods - */ -export interface Base_Reply { - (err?: ReplyValue): Response; - (err: null, result?: ReplyValue): Response; - /** the active realm associated with the route. */ - realm: ServerRealm; - /** the request object */ - request: Request; - - /** - * reply.entity(options) - * Sets the response 'ETag' and 'Last-Modified' headers and checks for any conditional request headers to decide if the response is going to qualify for an HTTP 304 (Not Modified). If the entity values match the request conditions, reply.entity() returns control back to the framework with a 304 response. Otherwise, it sets the provided entity headers and returns null. - * Returns a response object if the reply is unmodified or null if the response has changed. If null is returned, the developer must call reply() to continue execution. If the response is not null, the developer must not call reply(). - * [See docs](https://hapijs.com/api/16.1.1#replyentityoptions) - * @param options a required configuration object with: - * * etag - the ETag string. Required if modified is not present. Defaults to no header. - * * modified - the Last-Modified header value. Required if etag is not present. Defaults to no header. - * * vary - same as the response.etag() option. Defaults to true. - */ - entity(options: {etag?: string, modified?: string, vary?: boolean}): Response | null; - /** - * reply.close([options]) - * Concludes the handler activity by returning control over to the router and informing the router that a response has already been sent back directly via request.raw.res and that no further response action is needed. Supports the following optional options: - * The response flow control rules do not apply. - * [See docs](https://hapijs.com/api/16.1.1#replycloseoptions) - * @param options options object: - * * end - if false, the router will not call request.raw.res.end()) to ensure the response was ended. Defaults to true. - */ - close(options?: {end?: boolean}): void; - /** - * reply.redirect(uri) - * Redirects the client to the specified uri. Same as calling reply().redirect(uri). - * The response flow control rules apply. - * Sets an HTTP redirection response (302) and decorates the response with additional methods for - * changing to a permanent or non-rewritable redirect is also available see response object redirect for more information. - * [See docs](https://hapijs.com/api/16.1.1#replyredirecturi) - * @param uri an absolute or relative URI used to redirect the client to another resource. - */ - redirect(uri: string): ResponseRedirect; - /** - * reply.response(result) - * Shorthand for calling `reply(null, result)`, replies with the response set to `result`. - * [See docs](https://hapijs.com/api/16.1.1#replyresponseresult) - * TODO likely to change. Await approval of pull request to Hapi docs. - */ - response(result: ReplyValue): Response; - /** - * Sets a cookie on the response - * [See docs](https://hapijs.com/api/16.1.1#reply) - * TODO likely to change. Await approval of pull request to Hapi docs. - */ - state(name: string, value: any, options?: any): void; - /** - * Clears a cookie on the response - * [See docs](https://hapijs.com/api/16.1.1#reply) - * TODO likely to change. Await approval of pull request to Hapi docs. - */ - unstate(name: string, options?: any): void; - /** - * The server.decorate('reply', ...) method can modify this prototype/interface. - * Have disabled these typings as there is a better alternative, see example in: tests/server/decorate.ts - * [And discussion here](https://github.com/DefinitelyTyped/DefinitelyTyped/issues/14517#issuecomment-298891630) - */ - // [index: string]: any; -} -/** - * reply.continue([result]) - * Returns control back to the framework without ending the request lifecycle - * [See docs](https://hapijs.com/api/16.1.1#replycontinueresult) - * [See docs](https://hapijs.com/api/16.1.1#replyerr-result) "With the exception of the handler function, all other methods provide the reply.continue() method which instructs the framework to continue processing the request without setting a response." - * @param result if called in the handler, prerequisites, or extension points other than the 'onPreHandler' and 'onPreResponse', the result argument is not allowed and will throw an exception if present. If called within an authentication strategy, it sets the authenticated credentials. If called by the 'onPreHandler' or 'onPreResponse' extensions, the result argument overrides the current response including all headers, and returns control back to the framework to continue processing any remaining extensions. - */ -export interface Continue_Reply { - continue(result?: ReplyValue): Response | undefined; -} - -/** - * [See docs](https://hapijs.com/api/16.1.1#serverauthschemename-scheme) > authenticate. - * Also [See docs](https://hapijs.com/api/16.1.1#replyerr-result). - * TODO check it has Base_Reply methods and properties - */ -export interface ReplySchemeAuth extends Base_Reply { - /** - * This function is called if authentication failed. - * TODO, check type the `response` parameter. In https://hapijs.com/api/16.1.1#replyerr-result it is referred to as "null" but this seems to be for a third scenario where it is "used to return both an error and credentials in the authentication methods" then "reply() must be called with three arguments function(err, null, data)" - * @param err any authentication error. - * @param response any authentication response action such as redirection. Ignored if err is present, otherwise required. - * @param result an object containing: - * * credentials the authenticated credentials. - * * artifacts optional authentication artifacts. - */ - (err: Error | null, response: AnyAuthenticationResponseAction | null, result: AuthenticationResult): void; - /** - * is called if authentication succeeded - * @param result same object as result above. - */ - continue(result: AuthenticationResult): void; -} -/** - * Typing as any as it's not yet clear what type this argument takes. - * "any authentication response action such as redirection" is it equivalent to - * `ReplyValue` ? - * [See docs](https://hapijs.com/api/16.1.1#serverauthschemename-scheme) - * TODO research hapi source and type this. - */ -export type AnyAuthenticationResponseAction = any; -/** [See docs](https://hapijs.com/api/16.1.1#serverauthschemename-scheme) */ -export interface AuthenticationResult { - credentials?: AuthenticatedCredentials; - artifacts?: any; -} -export interface AuthenticatedCredentials { - // Disabled to allow typing within a project - // [index: string]: any; -} - -/** - * [See docs](https://hapijs.com/api/16.1.1#serverauthschemename-scheme) > payload - * TODO check it has Base_Reply methods and properties - */ -export interface ReplySchemeAuthOfPayload extends Base_Reply { - /** - * function called to authenticate the request payload where: - * @param err any authentication error. - * @param response any authentication response action such as redirection. Ignored if err is present, otherwise required. - */ - (err: Error | null, response: AnyAuthenticationResponseAction): void; - /** is called if payload authentication succeeded */ - continue(): void; -} - -/** - * [See docs](https://hapijs.com/api/16.1.1#serverauthschemename-scheme) > response - * TODO check it has Base_Reply methods and properties - */ -export interface ReplySchemeAuthDecorateResponse extends Base_Reply { - /** - * is called if an error occurred - * @param err any authentication error. - * @param response any authentication response to send instead of the current response. Ignored if err is present, otherwise required. - */ - (err?: Error, response?: ReplyValue): void; - /** is called if the operation succeeded. */ - continue(): void; -} - -export interface ReplyWithContinue extends Continue_Reply, Base_Reply {} - -export interface ReplyNoContinue extends Base_Reply {} - -// TODO assess use and usefulness of StrictReply - -// Concludes the handler activity by setting a response and returning control over to the framework where: -// erran optional error response. -// result an optional response payload. -// Since an request can only have one response regardless if it is an error or success, the reply() method can only result in a single response value. This means that passing both an err and result will only use the err. There is no requirement for either err or result to be (or not) an Error object. The framework will simply use the first argument if present, otherwise the second. The method supports two arguments to be compatible with the common callback pattern of error first. -// FLOW CONTROL: -// When calling reply(), the framework waits until process.nextTick() to continue processing the request and transmit the response. This enables making changes to the returned response object before the response is sent. This means the framework will resume as soon as the handler method exits. To suspend this behavior, the returned response object supports the following methods: hold(), send() -/** - * - */ -// export interface Reply { // extends ReplyMethods { -// (err: Error, -// result?: string | number | boolean | Buffer | stream.Stream | Promise | T, -// /** Note that when used to return both an error and credentials in the authentication methods, reply() must be called with three arguments function(err, null, data) where data is the additional authentication information. */ -// credentialData?: any): BoomError; -// /** Note that if result is a Stream with a statusCode property, that status code will be used as the default response code. */ -// (result: string | number | boolean | Buffer | stream.Stream | Promise | T): Response; -// } - -/** Concludes the handler activity by setting a response and returning control over to the framework where: - erran optional error response. - result an optional response payload. - Since an request can only have one response regardless if it is an error or success, the reply() method can only result in a single response value. This means that passing both an err and result will only use the err. There is no requirement for either err or result to be (or not) an Error object. The framework will simply use the first argument if present, otherwise the second. The method supports two arguments to be compatible with the common callback pattern of error first. - FLOW CONTROL: - When calling reply(), the framework waits until process.nextTick() to continue processing the request and transmit the response. This enables making changes to the returned response object before the response is sent. This means the framework will resume as soon as the handler method exits. To suspend this behavior, the returned response object supports the following methods: hold(), send() */ -// export interface StrictReply extends ReplyMethods { -// (err: Error, -// result?: Promise | T, -// /** Note that when used to return both an error and credentials in the authentication methods, reply() must be called with three arguments function(err, null, data) where data is the additional authentication information. */ -// credentialData?: any): BoomError; -// /** Note that if result is a Stream with a statusCode property, that status code will be used as the default response code. */ -// (result: Promise | T): Response; -// } - -/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - + + - + + - + Response + - + + - + + - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ -// TODO: move to separate file http://stackoverflow.com/questions/43276921 - -/** - * Response object - * [See docs](https://hapijs.com/api/16.1.1#response-object) - * - * TODO, check extending from Podium is correct. Extending because of "The response object supports the following events" [See docs](https://hapijs.com/api/16.1.1#response-events) - * * 'peek' - emitted for each chunk of data written back to the client connection. The event method signature is function(chunk, encoding). - * * 'finish' - emitted when the response finished writing but before the client response connection is ended. The event method signature is function (). - */ -export interface Response extends Podium { - /** the HTTP response status code. Defaults to 200 (except for errors). */ - statusCode: number; - /** an object containing the response headers where each key is a header field name. Note that this is an incomplete list of headers to be included with the response. Additional headers will be added once the response is prepared for transmission. */ - headers: Dictionary; - /** the value provided using the reply interface. */ - source: ReplyValue; - /** - * a string indicating the type of source with available values: - * * 'plain' - a plain response such as string, number, null, or simple object (e.g. not a Stream, Buffer, or view). - * * 'buffer' - a Buffer. - * * 'stream' - a Stream. - * * 'promise' - a Promise object. - */ - variety: 'plain' | 'buffer' | 'stream' | 'promise'; - /** application-specific state. Provides a safe place to store application data without potential conflicts with the framework. Should not be used by plugins which should use plugins[name]. */ - app: any; - /** plugin-specific state. Provides a place to store and pass request-level plugin data. The plugins is an object where each key is a plugin name and the value is the state. */ - plugins: PluginsStates; - /** response handling flags: */ - settings: { - /** the 'Content-Type' HTTP header 'charset' property. Defaults to 'utf-8'. */ - charset: string; - /** the string encoding scheme used to serial data into the HTTP payload when source is a string or marshals into a string. Defaults to 'utf8'. */ - encoding: string; - /** if true and source is a Stream, copies the statusCode and headers of the stream to the outbound response. Defaults to true. */ - passThrough: boolean; - /** options used for source value requiring stringification. Defaults to no replacer and no space padding. */ - stringify: Json.StringifyArguments; - /** if set, overrides the route cache expiration milliseconds value set in the route config. Defaults to no override. */ - ttl: number | null; - /** if true, a suffix will be automatically added to the 'ETag' header at transmission time (separated by a '-' character) when the HTTP 'Vary' header is present. */ - varyEtag: boolean; - }; - - /** - * The following attribute is present in one or more of the examples - * TODO update once Hapi docs describes explicitly - */ - isBoom?: boolean; - /** - * The following attribute is present in one or more of the examples - * TODO update once Hapi docs describes explicitly - */ - isMissing?: boolean; - /** - * The following attribute is present in one or more of the examples - * TODO update once Hapi docs describes explicitly - */ - output?: Boom.Output; - - /** - * sets the HTTP 'Content-Length' header (to avoid chunked transfer encoding) - * @param length the header value. Must match the actual payload size. - */ - bytes(length: number): Response; - /** - * sets the 'Content-Type' HTTP header 'charset' property - * @param charset the charset property value. - */ - charset(charset: string): Response; - /** - * sets the HTTP status code - * @param statusCode the HTTP status code (e.g. 200). - */ - code(statusCode: number): Response; - /** - * sets the HTTP status message - * @param httpMessage the HTTP status message (e.g. 'Ok' for status code 200). - */ - message(httpMessage: string): Response; - /** - * sets the HTTP status code to Created (201) and the HTTP 'Location' header - * @param uri an absolute or relative URI used as the 'Location' header value. - */ - created(uri: string): Response; - /** - * sets the string encoding scheme used to serial data into the HTTP payload - * @param encoding the encoding property value (see node Buffer encoding [See docs](https://nodejs.org/api/buffer.html#buffer_buffers_and_character_encodings)). - * * 'ascii' - for 7-bit ASCII data only. This encoding is fast and will strip the high bit if set. - * * 'utf8' - Multibyte encoded Unicode characters. Many web pages and other document formats use UTF-8. - * * 'utf16le' - 2 or 4 bytes, little-endian encoded Unicode characters. Surrogate pairs (U+10000 to U+10FFFF) are supported. - * * 'ucs2' - Alias of 'utf16le'. - * * 'base64' - Base64 encoding. When creating a Buffer from a string, this encoding will also correctly accept "URL and Filename Safe Alphabet" as specified in RFC4648, Section 5. - * * 'latin1' - A way of encoding the Buffer into a one-byte encoded string (as defined by the IANA in RFC1345, page 63, to be the Latin-1 supplement block and C0/C1 control codes). - * * 'binary' - Alias for 'latin1'. - * * 'hex' - Encode each byte as two hexadecimal characters. - */ - encoding(encoding: 'ascii' | 'utf8' | 'utf16le' | 'ucs2' | 'base64' | 'latin1' | 'binary' | 'hex'): Response; - /** - * sets the representation entity tag - * @param tag the entity tag string without the double-quote. - * @param options options object - * * weak - if true, the tag will be prefixed with the 'W/' weak signifier. Weak tags will fail to match identical tags for the purpose of determining 304 response status. Defaults to false. - * * vary - if true and content encoding is set or applied to the response (e.g 'gzip' or 'deflate'), the encoding name will be automatically added to the tag at transmission time (separated by a '-' character). Ignored when weak is true. Defaults to true. - */ - etag(tag: string, options?: {weak: boolean, vary: boolean}): Response; - /** - * sets an HTTP header - * @param name the header name. - * @param value the header value. - */ - header(name: string, value: string, options?: ResponseHeaderOptionsObject): Response; - /** - * sets the HTTP 'Location' header - * @param uri an absolute or relative URI used as the 'Location' header value. - */ - location(uri: string): Response; - /** - * sets an HTTP redirection response (302) and decorates the response with additional methods listed below, - * @param uri an absolute or relative URI used to redirect the client to another resource. - */ - redirect(uri: string): Response; - /** - * sets the JSON.stringify() replacer argument - * @param method the replacer function or array. Defaults to none. - */ - replacer(method: Json.StringifyReplacer): Response; - /** - * sets the JSON.stringify() space argument - * @param count the number of spaces to indent nested object keys. Defaults to no indentation. - */ - spaces(count: Json.StringifySpace): Response; - /** - * sets an HTTP cookie - * @param name the cookie name. - * @param value the cookie value. If no encoding is defined, must be a string. - * @param options optional configuration. If the state was previously registered with the server using server.state(), the specified keys in options override those same keys in the server definition (but not others). - */ - state(name: string, value: string | Object | any[], options?: ServerStateCookieConfiguationObject): Response; - /** - * sets a string suffix when the response is process via JSON.stringify(). - */ - suffix(suffix: string): Response; - /** - * overrides the default route cache expiration rule for this response instance - * @param msec the time-to-live value in milliseconds. - */ - ttl(msec: number): Response; - /** - * sets the HTTP 'Content-Type' header - * @param mimeType is the mime type. Should only be used to override the built-in default for each response type. - */ - type(mimeType: string): Response; - /** - * clears the HTTP cookie by setting an expired value - * @param name the cookie name. - * @param options optional configuration for expiring cookie. If the state was previously registered with the server using server.state(), the specified keys in options override those same keys in the server definition (but not others). - */ - unstate(name: string, options?: ServerStateCookieConfiguationObject): Response; - /** - * adds the provided header to the list of inputs affected the response generation via the HTTP 'Vary' header - * @param header the HTTP request header name. - */ - vary(header: string): Response; - - /** - * Flow control - hold() - * When calling reply(), the framework waits until process.nextTick() to continue processing the request and transmit the response. This enables making changes to the returned response object before the response is sent. This means the framework will resume as soon as the handler method exits. To suspend this behavior, the returned response object supports the following methods: - * puts the response on hold until response.send() is called. Available only after reply() is called and until response.hold() is invoked once. - * [See docs](https://hapijs.com/api/16.1.1#flow-control) - */ - hold(): Response; - /** - * Flow control - send() - * When calling reply(), the framework waits until process.nextTick() to continue processing the request and transmit the response. This enables making changes to the returned response object before the response is sent. This means the framework will resume as soon as the handler method exits. To suspend this behavior, the returned response object supports the following methods: - * immediately resume the response. Available only after response.hold() is called and until response.send() is invoked once. - * [See docs](https://hapijs.com/api/16.1.1#flow-control) - */ - send(): Response; - - /** - * Mentioned here: "Note that prerequisites do not follow the same rules of the normal reply interface. In all other cases, calling reply() with or without a value will use the result as the response sent back to the client. In a prerequisite method, calling reply() will assign the returned value to the provided assign key. If the returned value is an error, the failAction setting determines the behavior. To force the return value as the response and skip any other prerequisites and the handler, use the reply().takeover() method." - * TODO prepare documentation PR and submit to hapi. - * [See docs](https://hapijs.com/api/16.1.1#route-prerequisites) - */ - takeover(): Response; -} - -/** - * Response Object Redirect Methods - * When using the redirect() method, the response object provides these additional methods: - * [See docs](https://hapijs.com/api/16.1.1#response-object-redirect-methods) - */ -export interface ResponseRedirect extends Response { - /** - * temporary - * sets the status code to 302 or 307 (based on the rewritable() setting) where: - * [See docs](https://hapijs.com/api/16.1.1#response-object-redirect-methods) - * @param isTemporary if false, sets status to permanent. Defaults to true. - */ - temporary(isTemporary: boolean): Response; - /** - * permanent - * sets the status code to 301 or 308 (based on the rewritable() setting) where: - * [See docs](https://hapijs.com/api/16.1.1#response-object-redirect-methods) - * @param isPermanent if false, sets status to temporary. Defaults to true. - */ - permanent(isPermanent: boolean): Response; - /** - * rewritable - * sets the status code to 301/302 for rewritable (allows changing the request method from 'POST' to 'GET') or 307/308 for non-rewritable (does not allow changing the request method from 'POST' to 'GET'). Exact code based on the temporary() or permanent() setting. Arguments: - * [See docs](https://hapijs.com/api/16.1.1#response-object-redirect-methods) - * @param isRewritable if false, sets to non-rewritable. Defaults to true. - */ - rewritable(isRewritable: boolean): Response; -} - -/** - * [See docs](https://hapijs.com/api/16.1.1#response-object) under "response object provides the following methods" > header > options - */ -export interface ResponseHeaderOptionsObject { - /** if true, the value is appended to any existing header value using separator. Defaults to false. */ - append?: boolean; - /** string used as separator when appending to an existing value. Defaults to ','. */ - separator?: string; - /** if false, the header value is not set if an existing value present. Defaults to true. */ - override?: boolean; - /** if false, the header value is not modified if the provided value is already included. Does not apply when append is false or if the name is 'set-cookie'. Defaults to true. */ - duplicate?: boolean; -} - -/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - + + - + + - + Plugins and register + - + + - + + - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ -// TODO: move to separate file http://stackoverflow.com/questions/43276921 - -/** - * Plugins - * Plugins provide a way to organize the application code by splitting the server logic into smaller components. Each plugin can manipulate the server and its connections through the standard server interface, but with the added ability to sandbox certain properties. - * [See docs](https://hapijs.com/api/16.1.1#plugins) - * @param server the server object the plugin is being registered to. - * @param options an options object passed to the plugin during registration. - * @param next a callback method the function must call to return control back to the framework to complete the registration process with signature function(err) - */ -export interface PluginFunction { - (server: Server, options: OptionsPassedToPlugin, next: (err?: Error) => void): void; - /** - * Note attributes is NOT optional but this type is easier to use. - */ - attributes?: PluginAttributes; -} - -/** - * see Plugin - * [See docs](https://hapijs.com/api/16.1.1#plugins) - */ -export interface PluginAttributes { - /** - * required plugin name string. The name is used as a unique key. Published plugins should use the same name as the name field in the 'package.json' file. Names must be unique within each application. - * NOTE: marked as optional as `pkg` can be used instead. - */ - name?: string; - /** optional plugin version. The version is only used informatively to enable other plugins to find out the versions loaded. The version should be the same as the one specified in the plugin's 'package.json' file. */ - version?: string; - /** Alternatively, the name and version can be included via the pkg attribute containing the 'package.json' file for the module which already has the name and version included */ - pkg?: any; - /** if true, allows the plugin to be registered multiple times with the same server. Defaults to false. */ - multiple?: boolean; - /** optional string or array of string indicating a plugin dependency. Same as setting dependencies via server.dependency(). */ - dependencies?: string | string[]; - /** if false, does not allow the plugin to call server APIs that modify the connections such as adding a route or configuring state. This flag allows the plugin to be registered before connections are added and to pass dependency requirements. When set to 'conditional', the mode is based on the presence of selected connections (if the server has connections, it is the same as true, but if no connections are available, it is the same as false). Defaults to true. */ - connections?: boolean | 'conditional'; - /** if true, will only register the plugin once per connection (or once per server for a connectionless plugin). If set, overrides the once option passed to server.register(). Defaults to undefined (registration will be based on the server.register() option once). */ - once?: boolean; -} - -/** - * Plugins State - * Related [See docs](https://hapijs.com/api/16.1.1#serverplugins) - * Related [See docs](https://hapijs.com/api/16.1.1#serverrealm) - */ -export interface PluginsStates { - [pluginName: string]: any; -} - -/** - * once, select, routes - optional plugin-specific registration options as defined see PluginRegistrationOptions - * [See docs](https://hapijs.com/api/16.1.1#serverregisterplugins-options-callback) - */ -export interface PluginRegistrationObject extends PluginRegistrationOptions { - /** the plugin registration function. */ - register: PluginFunction; - /** optional options passed to the registration function when called. */ - options?: OptionsPassedToPlugin; -} - -/** - * registration options (different from the options passed to the registration function): - * * once - if true, the registration is skipped for any connection already registered with. Cannot be used with plugin options. If the plugin does not have a connections attribute set to false and the registration selection is empty, registration will be skipped as no connections are available to register once. Defaults to false. - * * routes - modifiers applied to each route added by the plugin: - * * prefix - string added as prefix to any route path (must begin with '/'). If a plugin registers a child plugin the prefix is passed on to the child or is added in front of the child-specific prefix. - * * vhost - virtual host string (or array of strings) applied to every route. The outer-most vhost overrides the any nested configuration. - * * select - a string or array of string labels used to pre-select connections for plugin registration. - * [See docs](https://hapijs.com/api/16.1.1#serverregisterplugins-options-callback) - */ -export interface PluginRegistrationOptions { - once?: boolean; - routes?: {prefix?: string, vhost?: string | string[]}; - select?: string | string[]; -} - -/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - + + - + + - + JSON + - + + - + + - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ -// This was in a seperate file and perhaps should move to some of the lib typings? -// https://github.com/DefinitelyTyped/DefinitelyTyped/pull/16065#issuecomment-299443673 -// -// json/json-tests.ts -// -// import * as JSON from './index'; -// -// var a: JSON.StringifyReplacer = function(key, value) { -// if (key === "do not include") { -// return undefined; -// } -// return value; -// }; -// - -export namespace Json { - /** - * @see {@link https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#The_replacer_parameter} - */ - export type StringifyReplacer = ((key: string, value: any) => any) | (string | number)[] | undefined; - - /** - * Any value greater than 10 is truncated. - */ - export type StringifySpace = number | string; - - export interface StringifyArguments { - /** the replacer function or array. Defaults to no action. */ - replacer?: StringifyReplacer; - /** number of spaces to indent nested object keys. Defaults to no indentation. */ - space?: StringifySpace; - } -} +/** PLUGIN */ +export * from './definitions/plugin/plugin'; +export * from './definitions/plugin/plugin-registered'; + +/** REQUEST */ +export * from './definitions/request/request'; +export * from './definitions/request/request-auth'; +export * from './definitions/request/request-events'; +export * from './definitions/request/request-info'; +export * from './definitions/request/request-route'; + +/** RESPONSE */ +export * from './definitions/response/response-events'; +export * from './definitions/response/response-object'; +export * from './definitions/response/response-settings'; +export * from './definitions/response/response-toolkit'; + +/** ROUTE */ +export * from './definitions/route/route-options'; +export * from './definitions/route/route-options-access'; +export * from './definitions/route/route-options-access-scope'; +export * from './definitions/route/route-options-cache'; +export * from './definitions/route/route-options-cors'; +export * from './definitions/route/route-options-payload'; +export * from './definitions/route/route-options-pre'; +export * from './definitions/route/route-options-response'; +export * from './definitions/route/route-options-secure'; +export * from './definitions/route/route-options-validate'; + +/** SERVER */ +export * from './definitions/server/server'; +export * from './definitions/server/server-auth'; +export * from './definitions/server/server-auth-scheme'; +export * from './definitions/server/server-cache'; +export * from './definitions/server/server-events'; +export * from './definitions/server/server-ext'; +export * from './definitions/server/server-info'; +export * from './definitions/server/server-inject'; +export * from './definitions/server/server-method'; +export * from './definitions/server/server-options'; +export * from './definitions/server/server-options-cache'; +export * from './definitions/server/server-realm'; +export * from './definitions/server/server-register'; +export * from './definitions/server/server-route'; +export * from './definitions/server/server-state'; +export * from './definitions/server/server-state-options'; + +/** UTIL */ +export * from './definitions/util/json'; +export * from './definitions/util/lifecycle'; +export * from './definitions/util/util'; diff --git a/types/hapi/test/request/catch-all.ts b/types/hapi/test/request/catch-all.ts new file mode 100644 index 0000000000..55db8a548b --- /dev/null +++ b/types/hapi/test/request/catch-all.ts @@ -0,0 +1,15 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#catch-all-route +import { Request, ResponseToolkit, Server, ServerOptions } from "hapi"; + +const options: ServerOptions = { + port: 8000, +}; +const server = new Server(options); + +const handler = (request: Request, h: ResponseToolkit) => { + return h.response('The page was not found').code(404); +}; +server.route({ method: '*', path: '/{p*}', handler }); + +server.start(); +console.log('Server started at: ' + server.info.uri); diff --git a/types/hapi/test/request/event-types.ts b/types/hapi/test/request/event-types.ts index 0946f0a0ed..b963340bb5 100644 --- a/types/hapi/test/request/event-types.ts +++ b/types/hapi/test/request/event-types.ts @@ -1,30 +1,65 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-servereventevents +// https://github.com/hapijs/hapi/blob/master/API.md#-requestevents +import { Lifecycle, Request, ResponseToolkit, RouteOptions, Server, ServerOptions, ServerRoute } from "hapi"; +import * as Crypto from 'crypto'; -// From https://hapijs.com/api/16.1.1#requestsetmethodmethod +const options: ServerOptions = { + port: 8000, +}; -import * as Hapi from 'hapi'; -const Crypto = require('crypto'); -const server = new Hapi.Server(); -server.connection({ port: 80 }); +const serverRoute: ServerRoute = { + path: '/', + method: 'GET', + handler: (request: Request, h: ResponseToolkit) => { + return 'ok: ' + request.path; + } +}; -const onRequest: Hapi.ServerExtRequestHandler = function (request, reply) { +const onRequest: Lifecycle.Method = (request: Request, h: ResponseToolkit) => { + /* + * Server events + */ + request.server.events.on('request', (request: Request, event: any, tags: any) => { + console.log(request.paramsArray); + console.log(event); + console.log(tags); + }); + request.server.events.on('response', (request: Request) => { + console.log('Response sent for request: ' + request.path); + }); + + request.server.events.on('start', (route: RouteOptions) => { + console.log('Server started'); + }); + + request.server.events.once('stop', (route: RouteOptions) => { + console.log('Server stoped'); + }); + + /* + * Request events + */ const hash = Crypto.createHash('sha1'); - request.on('peek', (chunk) => { + request.events.on("peek", (chunk: any) => { hash.update(chunk); }); - request.once('finish', () => { - + request.events.once("finish", () => { console.log(hash.digest('hex')); }); - request.once('disconnect', () => { - + request.events.once("disconnect", () => { console.error('request aborted'); }); - return reply.continue(); + return h.continue; }; +const server = new Server(options); +server.route(serverRoute); server.ext('onRequest', onRequest); + +server.start(); +console.log('Server started at: ' + server.info.uri); diff --git a/types/hapi/test/request/get-log.ts b/types/hapi/test/request/get-log.ts index 289bdd3282..731e8ea35c 100644 --- a/types/hapi/test/request/get-log.ts +++ b/types/hapi/test/request/get-log.ts @@ -1,12 +1,29 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-requestlogtags-data +import { Lifecycle, Request, ResponseToolkit, Server, ServerOptions, ServerRoute } from "hapi"; -// From https://hapijs.com/api/16.1.1#requestgetlogtags-internal +const options: ServerOptions = { + port: 8000, +}; -import * as Hapi from 'hapi'; +const handlerFn: Lifecycle.Method = (request: Request, h: ResponseToolkit) => { + request.log(['test', 'error'], 'Test event'); + return 'path: ' + request.path; +}; -var request: Hapi.Request = {}; +const serverRoute: ServerRoute = { + path: '/', + method: 'GET', + handler: handlerFn +}; -request.getLog(); -request.getLog('error'); -request.getLog(['error', 'auth']); -request.getLog(['error'], true); -request.getLog(false); +const server = new Server(options); +server.route(serverRoute); +server.start(); +console.log('Server started at: ' + server.info.uri); + +server.events.on('request', (request: Request, event: any, tags: any) => { + console.log(tags); + if (tags.error) { + console.log(event); + } +}); diff --git a/types/hapi/test/request/parameters.ts b/types/hapi/test/request/parameters.ts new file mode 100644 index 0000000000..1dadbcc1eb --- /dev/null +++ b/types/hapi/test/request/parameters.ts @@ -0,0 +1,37 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-requestparams +import { Lifecycle, Request, ResponseToolkit, Server, ServerOptions, ServerRoute } from "hapi"; + +const options: ServerOptions = { + port: 8000, +}; + +// Example 1 +// http://localhost:8000/album-name/song-optional +const getAlbum: Lifecycle.Method = (request: Request, h: ResponseToolkit) => { + console.log(request.params); + return 'ok: ' + request.path; +}; +const serverRoute1: ServerRoute = { + path: '/{album}/{song?}', + method: 'GET', + handler: getAlbum +}; + +// Example 2 +// http://localhost:8000/person/rafael/fijalkowski +const getPerson: Lifecycle.Method = (request: Request, h: ResponseToolkit) => { + const nameParts = request.params.name.split('/'); + return { first: nameParts[0], last: nameParts[1] }; +}; +const serverRoute2: ServerRoute = { + path: '/person/{name*2}', + method: 'GET', + handler: getPerson +}; + +const server = new Server(options); +server.route(serverRoute1); +server.route(serverRoute2); + +server.start(); +console.log('Server started at: ' + server.info.uri); diff --git a/types/hapi/test/request/query.ts b/types/hapi/test/request/query.ts index c6507c2da0..1f8ea89c1b 100644 --- a/types/hapi/test/request/query.ts +++ b/types/hapi/test/request/query.ts @@ -1,14 +1,27 @@ // Added test in addition to docs, for request.query +import { Lifecycle, Request, ResponseToolkit, Server, ServerOptions, ServerRoute } from "hapi"; -import * as Hapi from 'hapi'; +const options: ServerOptions = { + port: 8000, +}; + +const handlerFn: Lifecycle.Method = (request: Request, h: ResponseToolkit) => { + const query = request.query as GetThingQuery; + // http://localhost:8000/?name=test + return `You asked for ${query.name}`; +}; + +const serverRoute: ServerRoute = { + path: '/', + method: 'GET', + handler: handlerFn +}; interface GetThingQuery { name: string; } -const handler: Hapi.RouteHandler = function (request, reply) { - - const query = request.query as GetThingQuery; - - return reply(`You asked for ${query.name}`); -}; +const server = new Server(options); +server.route(serverRoute); +server.start(); +console.log('Server started at: ' + server.info.uri); diff --git a/types/hapi/test/response/continue.ts b/types/hapi/test/response/continue.ts new file mode 100644 index 0000000000..00bdbc9ff2 --- /dev/null +++ b/types/hapi/test/response/continue.ts @@ -0,0 +1,25 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-serverextevent-method-options +import { Request, ResponseToolkit, Server, ServerOptions, ServerRoute } from "hapi"; + +const options: ServerOptions = { + port: 8000, +}; + +const serverRoute: ServerRoute = { + path: '/test', + method: 'GET', + handler: (request: Request, h: ResponseToolkit) => { + return 'ok: ' + request.path; + } +}; + +const server = new Server(options); +server.route(serverRoute); + +server.ext("onRequest", (request: Request, h: ResponseToolkit) => { + request.setUrl('/test'); + return h.continue; +}); + +server.start(); +console.log('Server started at: ' + server.info.uri); diff --git a/types/hapi/test/response/error.ts b/types/hapi/test/response/error.ts index 0ef503df12..52937eaa4a 100644 --- a/types/hapi/test/response/error.ts +++ b/types/hapi/test/response/error.ts @@ -1,25 +1,30 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#errors +import { Request, ResponseToolkit, Server, ServerOptions, ServerRoute } from "hapi"; +import * as Boom from "boom"; -// From https://hapijs.com/api/16.1.1#error-response +const options: ServerOptions = { + port: 8000, +}; -import * as Hapi from 'hapi'; -const Boom = require('boom'); +const serverRoutes: ServerRoute[] = [ + { + path: '/badRequest', + method: 'GET', + handler: (request: Request, h: ResponseToolkit) => { + throw Boom.badRequest('Unsupported parameter'); + } + }, + { + path: '/internal', + method: 'GET', + handler: (request: Request, h: ResponseToolkit) => { + throw new Error('unexpect error'); + } + }, +]; -const server = new Hapi.Server(); +const server = new Server(options); +server.route(serverRoutes); -server.route({ - method: 'GET', - path: '/badRequest', - handler: function (request, reply) { - - return reply(Boom.badRequest('Unsupported parameter')); - } -}); - -server.route({ - method: 'GET', - path: '/internal', - handler: function (request, reply) { - - return reply(new Error('unexpect error')); - } -}); +server.start(); +console.log('Server started at: ' + server.info.uri); diff --git a/types/hapi/test/response/redirect.ts b/types/hapi/test/response/redirect.ts new file mode 100644 index 0000000000..d7503fd5f9 --- /dev/null +++ b/types/hapi/test/response/redirect.ts @@ -0,0 +1,20 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-hredirecturi +import { Request, ResponseToolkit, Server, ServerOptions, ServerRoute } from "hapi"; + +const options: ServerOptions = { + port: 8000, +}; + +const serverRoute: ServerRoute = { + path: '/', + method: 'GET', + handler: (request: Request, h: ResponseToolkit) => { + return h.redirect('http://example.com'); + } +}; + +const server = new Server(options); +server.route(serverRoute); + +server.start(); +console.log('Server started at: ' + server.info.uri); diff --git a/types/hapi/test/response/response-events.ts b/types/hapi/test/response/response-events.ts new file mode 100644 index 0000000000..7eb46019e8 --- /dev/null +++ b/types/hapi/test/response/response-events.ts @@ -0,0 +1,27 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-responseevents +import { Request, ResponseObject, ResponseToolkit, Server, ServerOptions, ServerRoute } from "hapi"; +import * as Crypto from "crypto"; + +const preResponse = (request: Request, h: ResponseToolkit) => { + const response: ResponseObject = request.response; + + const hash = Crypto.createHash('sha1'); + response.events.on('peek', (chunk: any) => { + hash.update(chunk); + }); + + response.events.once('finish', () => { + console.log(hash.digest('hex')); + }); + + return h.continue; +}; + +const server = new Server({ + port: 8000, +}); + +server.ext('onPreResponse', preResponse); + +server.start(); +console.log('Server started at: ' + server.info.uri); diff --git a/types/hapi/test/response/response.ts b/types/hapi/test/response/response.ts new file mode 100644 index 0000000000..593eddb0fb --- /dev/null +++ b/types/hapi/test/response/response.ts @@ -0,0 +1,36 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-hresponsevalue +import { Request, ResponseToolkit, Server, ServerOptions, ServerRoute } from "hapi"; + +const options: ServerOptions = { + port: 8000, +}; + +const serverRoutes: ServerRoute[] = [ + // Detailed notation + { + path: '/test1', + method: 'GET', + handler: (request: Request, h: ResponseToolkit) => { + const response = h.response('success'); + response.type('text/plain'); + response.header('X-Custom', 'some-value'); + return response; + } + }, + // Chained notation + { + path: '/test2', + method: 'GET', + handler: (request: Request, h: ResponseToolkit) => { + return h.response('success') + .type('text/plain') + .header('X-Custom', 'some-value'); + } + }, +]; + +const server = new Server(options); +server.route(serverRoutes); + +server.start(); +console.log('Server started at: ' + server.info.uri); diff --git a/types/hapi/test/route/adding-routes.ts b/types/hapi/test/route/adding-routes.ts new file mode 100644 index 0000000000..55c58d1437 --- /dev/null +++ b/types/hapi/test/route/adding-routes.ts @@ -0,0 +1,38 @@ +// from https://hapijs.com/tutorials/getting-started#adding-routes +import { Request, ResponseToolkit, Server, ServerOptions, ServerRoute } from "hapi"; + +const options: ServerOptions = { + port: 8000, +}; + +const serverRoute: ServerRoute = { + path: '/', + method: 'GET', + handler: (request: Request, h: ResponseToolkit) => { + return 'ok: ' + request.path; + } +}; + +const serverRoutes: ServerRoute[] = [ + { + path: '/test1', + method: 'GET', + handler: (request: Request, h: ResponseToolkit) => { + return 'ok: ' + request.path; + } + }, + { + path: '/test2', + method: 'GET', + handler: (request: Request, h: ResponseToolkit) => { + return 'ok: ' + request.path; + } + }, +]; + +const server = new Server(options); +server.route(serverRoute); +server.route(serverRoutes); + +server.start(); +console.log('Server started at: ' + server.info.uri); diff --git a/types/hapi/test/route/config.ts b/types/hapi/test/route/config.ts index 16457395f8..8272e767f1 100644 --- a/types/hapi/test/route/config.ts +++ b/types/hapi/test/route/config.ts @@ -1,46 +1,52 @@ -'use strict'; +import { Request, ResponseToolkit, RouteOptions, Server, ServerOptions, ServerRoute } from "hapi"; -import * as Hapi from 'hapi'; +const options: ServerOptions = { + port: 8000, +}; // different methods -var routeConfig: Hapi.RouteConfiguration = { +const routeConfig: ServerRoute = { path: '/signin', method: 'PUT', vhost: 'site.coms', }; -var routeConfig: Hapi.RouteConfiguration = { +const routeConfigTest1: ServerRoute = { path: '/signin', method: '*' }; -var routeConfig: Hapi.RouteConfiguration = { +const routeConfigTest2: ServerRoute = { path: '/signin', method: ['OPTIONS', '*'] }; // different handlers -var routeConfig: Hapi.RouteConfiguration = { +const routeConfigTest3: ServerRoute = { path: '/signin', method: 'PUT', - handler: 'some registered handler' + handler: (request: Request, h: ResponseToolkit) => { + return 'ok'; + } }; -var routeConfig: Hapi.RouteConfiguration = { +const routeConfigTest4: ServerRoute = { path: '/signin', method: 'PUT', - handler: function (request, reply) { - return reply('ok'); + handler: (request: Request, h: ResponseToolkit) => { + return 'ok'; } }; -const server = new Hapi.Server(); +const server = new Server(options); server.route(routeConfig); // Handler in config -const user: Hapi.RouteAdditionalConfigurationOptions = { +const user: RouteOptions = { cache: { expiresIn: 5000 }, - handler: function (request, reply) { - - return reply({ name: 'John' }); + handler: (request: Request, h: ResponseToolkit) => { + return { name: 'John' }; } }; -server.route({method: 'GET', path: '/user', config: user }); +server.route({method: 'GET', path: '/user', options: user }); + +server.start(); +console.log('Server started at: ' + server.info.uri); diff --git a/types/hapi/test/route/handler.ts b/types/hapi/test/route/handler.ts index c66d17018e..b9354f00d8 100644 --- a/types/hapi/test/route/handler.ts +++ b/types/hapi/test/route/handler.ts @@ -1,10 +1,9 @@ -'use strict'; +import { Lifecycle, Request, ResponseToolkit } from "hapi"; -import * as Hapi from 'hapi'; +const handler: Lifecycle.Method = (request: Request, h: ResponseToolkit) => { + return 'success'; +}; -var handler: Hapi.RouteHandler = function(request, reply) { - reply('success'); -} -var strictHandler: Hapi.RouteHandler = function(request, reply) { - reply(123); -} +const strictHandler: Lifecycle.Method = (request: Request, h: ResponseToolkit) => { + return 123; +}; diff --git a/types/hapi/test/route/route-options-pre.ts b/types/hapi/test/route/route-options-pre.ts new file mode 100644 index 0000000000..139e93a0f8 --- /dev/null +++ b/types/hapi/test/route/route-options-pre.ts @@ -0,0 +1,42 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionspre +import { Request, ResponseToolkit, Server } from "hapi"; + +const server = new Server({ + port: 8000, +}); + +const pre1 = (request: Request, h: ResponseToolkit) => { + return 'Hello'; +}; + +const pre2 = (request: Request, h: ResponseToolkit) => { + return 'World'; +}; + +const pre3 = (request: Request, h: ResponseToolkit) => { + return `request.pre.m1 request.pre.m2`; +}; + +server.route({ + method: 'GET', + path: '/', + config: { + pre: [ + [ + // m1 and m2 executed in parallel + { method: pre1, assign: 'm1' }, + { method: pre2, assign: 'm2' } + ], + { method: pre3, assign: 'm3' }, + ], + handler: (request: Request, h: ResponseToolkit) => { + return request.pre.m3 + '!\n'; + } + } +}); + +server.start(); + +server.events.on('start', () => { + console.log('Server started at: ' + server.info.uri); +}); diff --git a/types/hapi/test/route/route-options.ts b/types/hapi/test/route/route-options.ts new file mode 100644 index 0000000000..f5501ab48e --- /dev/null +++ b/types/hapi/test/route/route-options.ts @@ -0,0 +1,165 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#route-options +import { + EmptyStatusCode, + Request, + ResponseToolkit, + RouteOptions, + RouteOptionsAccess, + RouteOptionsAccessEntity, + RouteOptionsAccessMode, + RouteOptionsAccessPayload, + RouteOptionsCors, + RouteOptionsPayload, + RouteOptionsResponse, + RouteOptionsValidate, + Server +} from "hapi"; + +const routeOptionsAccess: RouteOptionsAccess = { + access: {}, + scope: false, + entity: RouteOptionsAccessEntity.User, + mode: RouteOptionsAccessMode.Optional, + payload: RouteOptionsAccessPayload.Optional, + strategies: ['', ''], + strategy: '' +}; + +const corsOption: RouteOptionsCors = { + origin: 'ignore', + maxAge: 5000, + headers: ['test', 'test', 'test'], + additionalHeaders: ['test', 'test', 'test'], + exposedHeaders: ['test', 'test', 'test'], + additionalExposedHeaders: ['test', 'test', 'test'], + credentials: false +}; + +const payloadOptions: RouteOptionsPayload = { + allow: 'string', + compression: { + test1: { + test: 2 + } + }, + defaultContentType: 'application/json', + failAction: (request: Request, h: ResponseToolkit) => { + return 'ok: ' + request.path; + }, + maxBytes: 1048576, + multipart: { + output: 'annotated' + }, + output: 'stream', + override: '', + parse: 'gunzip', + timeout: 5000, + uploads: 'dir/' +}; + +const pre1 = (request: Request, h: ResponseToolkit) => { + return 'Hello'; +}; + +const pre2 = (request: Request, h: ResponseToolkit) => { + return 'World'; +}; + +const pre3 = (request: Request, h: ResponseToolkit) => { + return `request.pre.m1 request.pre.m2`; +}; + +const routeOptionsResponse: RouteOptionsResponse = { + emptyStatusCode: EmptyStatusCode.HTTP_200, + failAction: (request: Request, h: ResponseToolkit) => { + return 'ok: ' + request.path; + }, + modify: false, + options: null, + ranges: true, + sample: 100, + schema: true, + status: { + 200: true, + 302: true, + 404: false, + } +}; + +const routeOptionsValidate: RouteOptionsValidate = { + errorFields: {}, + failAction: (request: Request, h: ResponseToolkit) => { + return 'ok: ' + request.path; + }, + headers: false, + options: {}, + params: false, + payload: true, + query: true, +}; + +const routeOptions: RouteOptions = { + app: {}, + auth: routeOptionsAccess, + bind: null, + cache: { + privacy: 'default', + statuses: [200], + otherwise: 'no-cache' + }, + compression: { + test1: { + test: 2 + } + }, + cors: corsOption, + description: 'description here', + ext: null, + files: { relativeTo: '.' }, + handler: (request: Request, h: ResponseToolkit) => { + return 'ok: ' + request.path; + }, + id: 'test', + isInternal: false, + json: null, + jsonp: 'callback', + log: { collect: false }, + notes: ['test', 'test', 'test'], + payload: payloadOptions, + plugins: { + plugin1: {}, + plugin2: {}, + }, + pre: [ + [ + // m1 and m2 executed in parallel + { method: pre1, assign: 'm1' }, + { method: pre2, assign: 'm2' } + ], + { method: pre3, assign: 'm3' }, + ], + response: routeOptionsResponse, + security: false, + state: { + parse: true, + failAction: (request: Request, h: ResponseToolkit) => { + return 'ok: ' + request.path; + }, + }, + tags: ['test', 'test', 'test'], + timeout: { + server: 10000, + socket: false + }, + validate: routeOptionsValidate +}; + +const server = new Server({ + port: 8000, + routes: routeOptions +}); +server.start(); + +server.events.on('start', () => { + console.log('Server started at: ' + server.info.uri); +}); diff --git a/types/hapi/test/server/server-app.ts b/types/hapi/test/server/server-app.ts new file mode 100644 index 0000000000..4cf3ac74c0 --- /dev/null +++ b/types/hapi/test/server/server-app.ts @@ -0,0 +1,22 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-serverapp +import { Request, ResponseToolkit, Server, ServerOptions, ServerRoute } from "hapi"; + +const options: ServerOptions = { + port: 8000, +}; + +const server = new Server(options); +server.app.key = 'value2'; + +const serverRoute: ServerRoute = { + path: '/', + method: 'GET', + handler: (request: Request, h: ResponseToolkit) => { + return 'key: ' + request.server.app.key; + } +}; + +server.route(serverRoute); + +server.start(); +console.log('Server started at: ' + server.info.uri); diff --git a/types/hapi/test/server/server-auth-api.ts b/types/hapi/test/server/server-auth-api.ts new file mode 100644 index 0000000000..3b80dc7e47 --- /dev/null +++ b/types/hapi/test/server/server-auth-api.ts @@ -0,0 +1,36 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-serverauthapi +import { + Request, + ResponseToolkit, + Server, + ServerAuthScheme, + ServerAuthSchemeObject, + ServerAuthSchemeOptions +} from "hapi"; +import * as Boom from "boom"; + +const scheme: ServerAuthScheme = (server: Server, options: ServerAuthSchemeOptions): ServerAuthSchemeObject => { + return { + api: { + settings: { + x: 5 + } + }, + authenticate: (request: Request, h: ResponseToolkit) => { + const authorization = request.headers.authorization; + if (!authorization) { + throw Boom.unauthorized(null, 'Custom'); + } + return h.authenticated({ credentials: { user: 'john' } }); + } + }; +}; + +const server = new Server({ + port: 8000, +}); +server.auth.scheme('custom', scheme); +server.auth.strategy('default', 'custom'); +server.start(); + +console.log(server.auth.api.default.settings.x); // 5 diff --git a/types/hapi/test/server/server-auth-default.ts b/types/hapi/test/server/server-auth-default.ts new file mode 100644 index 0000000000..3ec9919150 --- /dev/null +++ b/types/hapi/test/server/server-auth-default.ts @@ -0,0 +1,35 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-serverauthdefaultoptions +// https://github.com/hapijs/hapi/blob/master/API.md#-serverauthschemename-scheme +import { Request, ResponseToolkit, Server, ServerAuthScheme, ServerAuthSchemeOptions } from "hapi"; +import * as Boom from "boom"; + +const server = new Server({ + port: 8000, +}); + +const scheme: ServerAuthScheme = (server: Server, options: ServerAuthSchemeOptions) => { + return { + authenticate: (request: Request, h: ResponseToolkit) => { + const req = request.raw.req; + const authorization = req.headers.authorization; + if (!authorization) { + throw Boom.unauthorized(null, 'Custom'); + } + return h.authenticated({ credentials: { user: 'john' } }); + } + }; +}; + +server.auth.scheme('custom', scheme); +server.auth.strategy('default', 'custom'); +server.auth.default('default'); + +server.route({ + method: 'GET', + path: '/', + handler: (request: Request, h: ResponseToolkit) => { + return request.auth.credentials.user; + } +}); + +server.start(); diff --git a/types/hapi/test/server/server-auth-test.ts b/types/hapi/test/server/server-auth-test.ts new file mode 100644 index 0000000000..e65f1747a3 --- /dev/null +++ b/types/hapi/test/server/server-auth-test.ts @@ -0,0 +1,39 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-await-serverauthteststrategy-request +// https://github.com/hapijs/hapi/blob/master/API.md#-serverauthschemename-scheme +import { Request, ResponseToolkit, Server, ServerAuthScheme, ServerAuthSchemeOptions } from "hapi"; +import * as Boom from "boom"; + +const server = new Server({ + port: 8000, +}); + +const scheme: ServerAuthScheme = (server: Server, options: ServerAuthSchemeOptions) => { + return { + authenticate: (request: Request, h: ResponseToolkit) => { + const req = request.raw.req; + const authorization = req.headers.authorization; + if (!authorization) { + throw Boom.unauthorized(null, 'Custom'); + } + return h.authenticated({ credentials: { user: 'john' } }); + } + }; +}; + +server.auth.scheme('custom', scheme); +server.auth.strategy('default', 'custom'); + +server.route({ + method: 'GET', + path: '/', + handler: (request: Request, h: ResponseToolkit) => { + try { + const credentials = request.server.auth.test('default', request); + return { status: true, user: credentials.name }; + } catch (err) { + return { status: false }; + } + } +}); + +server.start(); diff --git a/types/hapi/test/server/server-bind.ts b/types/hapi/test/server/server-bind.ts new file mode 100644 index 0000000000..316c7d846a --- /dev/null +++ b/types/hapi/test/server/server-bind.ts @@ -0,0 +1,27 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-serverbindcontext +import { Plugin, Request, ResponseToolkit, Server, ServerRegisterOptions } from "hapi"; + +const server = new Server({ + port: 8000, +}); +const handler = (request: Request, h: ResponseToolkit) => { + return h.context.message; // Or h.context.message +}; + +const plugin: Plugin = { + name: 'example', + register: (server: Server, options: ServerRegisterOptions) => { + const bind = { + message: 'hello' + }; + server.bind(bind); + server.route({ method: 'GET', path: '/', handler }); + } +}; + +server.start(); +server.register(plugin); + +server.events.on('start', () => { + console.log('Server started at: ' + server.info.uri); +}); diff --git a/types/hapi/test/server/server-cache-provision.ts b/types/hapi/test/server/server-cache-provision.ts new file mode 100644 index 0000000000..7aac50ffbd --- /dev/null +++ b/types/hapi/test/server/server-cache-provision.ts @@ -0,0 +1,19 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-await-servercacheprovisionoptions +import { Server } from "hapi"; +import * as catbox from "catbox"; + +const server = new Server({ + port: 8000, +}); +server.initialize(); +server.cache.provision({engine: require('catbox-memory'), name: 'countries' }); + +const cache: catbox.Policy = server.cache({segment: 'countries', cache: 'countries', expiresIn: 60 * 60 * 1000 }); +cache.set('norway', 'oslo', 10 * 1000, null); +const value = cache.get('norway', null); + +server.start(); + +server.events.on('start', () => { + console.log('Server started at: ' + server.info.uri); +}); diff --git a/types/hapi/test/server/server-cache.ts b/types/hapi/test/server/server-cache.ts new file mode 100644 index 0000000000..467ead25f5 --- /dev/null +++ b/types/hapi/test/server/server-cache.ts @@ -0,0 +1,23 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-servercacheoptions +import { Server, ServerOptionsCache } from "hapi"; +import * as catbox from "catbox"; + +const server = new Server({ + port: 8000, +}); + +const catboxOptions: ServerOptionsCache = { + segment: 'countries', + expiresIn: 60 * 60 * 1000 +}; +const cache: catbox.Policy = server.cache(catboxOptions); +cache.set('norway', 'oslo', 10 * 1000, null); + +const value = cache.get('norway', null); +console.log("Value: " + value); + +server.start(); + +server.events.on('start', () => { + console.log('Server started at: ' + server.info.uri); +}); diff --git a/types/hapi/test/server/server-decoder.ts b/types/hapi/test/server/server-decoder.ts new file mode 100644 index 0000000000..965745ee7c --- /dev/null +++ b/types/hapi/test/server/server-decoder.ts @@ -0,0 +1,8 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-serverdecoderencoding-decoder +import { Server } from "hapi"; +import * as Zlib from "zlib"; + +const server = new Server({ port: 80, routes: { payload: { compression: { special: { chunkSize: 16 * 1024 } } } } }); +server.decoder('special', (options) => Zlib.createGunzip(options)); + +server.start(); diff --git a/types/hapi/test/server/server-decorations.ts b/types/hapi/test/server/server-decorations.ts new file mode 100644 index 0000000000..8ee7dfaaa3 --- /dev/null +++ b/types/hapi/test/server/server-decorations.ts @@ -0,0 +1,15 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-serverdecoratetype-property-method-options +import { ResponseToolkit, Server } from "hapi"; + +const server = new Server({ + port: 8000, +}); + +const success = (h: ResponseToolkit) => { + return h.response({ status: 'ok' }); +}; + +server.start(); +server.decorate('toolkit', 'success', success); + +console.log(server.decorations.toolkit); diff --git a/types/hapi/test/server/server-encoder.ts b/types/hapi/test/server/server-encoder.ts new file mode 100644 index 0000000000..dd9f12f4db --- /dev/null +++ b/types/hapi/test/server/server-encoder.ts @@ -0,0 +1,8 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-serverencoderencoding-encoder +import { Server } from "hapi"; +import * as Zlib from "zlib"; + +const server = new Server({ port: 80, routes: { payload: { compression: { special: { chunkSize: 16 * 1024 } } } } }); +server.encoder('special', (options) => Zlib.createGzip(options)); + +server.start(); diff --git a/types/hapi/test/server/server-events-once.ts b/types/hapi/test/server/server-events-once.ts new file mode 100644 index 0000000000..06261e8aae --- /dev/null +++ b/types/hapi/test/server/server-events-once.ts @@ -0,0 +1,24 @@ +// from https://github.com/hapijs/hapi/blob/master/API.md#-servereventsoncecriteria-listener +import { Request, ResponseToolkit, Server, ServerRoute } from "hapi"; + +const serverRoute: ServerRoute = { + path: '/', + method: 'GET', + handler: (request: Request, h: ResponseToolkit) => { + return 'oks: ' + request.path; + } +}; + +const server = new Server({ + port: 8000, +}); +server.route(serverRoute); +server.event('test1'); +server.event('test2'); +server.events.once('test1', (update: any) => { console.log(update); }); +server.events.once('test2', (...args: any[]) => { console.log(args); }); +server.events.emit('test1', 'hello-1'); +server.events.emit('test2', 'hello-2'); // Ignored + +server.start(); +console.log('Server started at: ' + server.info.uri); diff --git a/types/hapi/test/server/server-events.ts b/types/hapi/test/server/server-events.ts new file mode 100644 index 0000000000..d17af569ae --- /dev/null +++ b/types/hapi/test/server/server-events.ts @@ -0,0 +1,11 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-servereventevents +import { Server } from "hapi"; + +const server = new Server({ + port: 8000, +}); +server.event('test'); +server.events.on('test', (update: any) => console.log(update)); +server.events.emit('test', 'hello'); + +server.start(); diff --git a/types/hapi/test/server/server-expose.ts b/types/hapi/test/server/server-expose.ts new file mode 100644 index 0000000000..4303a62546 --- /dev/null +++ b/types/hapi/test/server/server-expose.ts @@ -0,0 +1,24 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-serverplugins +import { Plugin, Server, ServerRegisterOptions } from "hapi"; + +const plugin1: Plugin = { + name: 'example1', + register: (server: Server, options: ServerRegisterOptions) => { + server.expose('util', () => console.log('something')); + } +}; + +const plugin2: Plugin = { + name: 'example2', + register: (server: Server, options: ServerRegisterOptions) => { + server.expose('util', () => console.log('something')); + } +}; + +const server = new Server({ + port: 8000, +}); + +server.start(); +server.register(plugin1); +server.register(plugin2); diff --git a/types/hapi/test/server/server-info.ts b/types/hapi/test/server/server-info.ts new file mode 100644 index 0000000000..58045b19da --- /dev/null +++ b/types/hapi/test/server/server-info.ts @@ -0,0 +1,10 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-serverinfo +import { Server } from "hapi"; + +const server = new Server({ + port: 8000, +}); +server.start(); + +console.log(server.info); +console.log('Server started at: ' + server.info.uri); diff --git a/types/hapi/test/server/server-inject.ts b/types/hapi/test/server/server-inject.ts new file mode 100644 index 0000000000..85a4cbacae --- /dev/null +++ b/types/hapi/test/server/server-inject.ts @@ -0,0 +1,20 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-await-serverinjectoptions +import { Request, ResponseToolkit, Server, ServerRoute } from "hapi"; + +const server = new Server({ + port: 8000, +}); + +const serverRoute: ServerRoute = { + path: '/', + method: 'GET', + handler: (request: Request, h: ResponseToolkit) => { + return 'Success!'; + } +}; + +server.route(serverRoute); +server.start(); + +const res = server.inject('/'); +console.log(res.result); diff --git a/types/hapi/test/server/server-listener.ts b/types/hapi/test/server/server-listener.ts new file mode 100644 index 0000000000..160821f505 --- /dev/null +++ b/types/hapi/test/server/server-listener.ts @@ -0,0 +1,14 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-serverlistener +import { Server } from "hapi"; +import * as SocketIO from "socket.io"; + +const server = new Server({ + port: 8000, +}); + +const io = SocketIO.listen(server.listener); +io.sockets.on('connection', (socket) => { + socket.emit('welcome'); +}); + +server.start(); diff --git a/types/hapi/test/server/server-load.ts b/types/hapi/test/server/server-load.ts new file mode 100644 index 0000000000..d2ae11848a --- /dev/null +++ b/types/hapi/test/server/server-load.ts @@ -0,0 +1,14 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-serverload +import { Server } from "hapi"; + +const server = new Server({ + port: 8000, + load: { sampleInterval: 1000 } +}); +server.start(); + +setTimeout(() => { + console.log(server.load.rss); + console.log(server.load.eventLoopDelay); + console.log(server.load.heapUsed); +}, 5 * 1000); diff --git a/types/hapi/test/server/server-lookup.ts b/types/hapi/test/server/server-lookup.ts new file mode 100644 index 0000000000..2a082f734a --- /dev/null +++ b/types/hapi/test/server/server-lookup.ts @@ -0,0 +1,20 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-serverlookupid +import { RequestRoute, Server } from "hapi"; + +const server = new Server({ + port: 8000, +}); + +server.route({ + path: '/', + method: 'GET', + config: { + id: 'root', + handler: () => 'ok' + } +}); + +const route: RequestRoute = server.lookup('root'); +console.log(route); + +server.start(); diff --git a/types/hapi/test/server/server-match.ts b/types/hapi/test/server/server-match.ts new file mode 100644 index 0000000000..fe9aa2a10a --- /dev/null +++ b/types/hapi/test/server/server-match.ts @@ -0,0 +1,20 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-servermatchmethod-path-host +import { RequestRoute, Server } from "hapi"; + +const server = new Server({ + port: 8000, +}); + +server.route({ + path: '/', + method: 'GET', + config: { + id: 'root', + handler: () => 'ok' + } +}); + +const route: RequestRoute = server.match('get', '/'); +console.log(route.path); + +server.start(); diff --git a/types/hapi/test/server/server-method.ts b/types/hapi/test/server/server-method.ts new file mode 100644 index 0000000000..2d2b3bdf58 --- /dev/null +++ b/types/hapi/test/server/server-method.ts @@ -0,0 +1,24 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-servermethodmethods +import { Server, ServerMethodConfigurationObject } from "hapi"; + +const server = new Server({ + port: 8000, +}); +server.start(); + +const add = (a: any, b: any) => { + return a + b; +}; + +const methodObject: ServerMethodConfigurationObject = { + name: 'sum', + method: add, + options: { + cache: { + expiresIn: 2000, + generateTimeout: 100 + } + } +}; + +server.method(methodObject); diff --git a/types/hapi/test/server/server-methods.ts b/types/hapi/test/server/server-methods.ts new file mode 100644 index 0000000000..f9a2d08e6c --- /dev/null +++ b/types/hapi/test/server/server-methods.ts @@ -0,0 +1,11 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-servermethods +import { Server } from "hapi"; + +const server = new Server({ + port: 8000, +}); +server.start(); + +server.method('add', (a, b) => (a + b)); +const result = server.methods.add(1, 2); // 3 +console.log(result); diff --git a/types/hapi/test/server/server-mime.ts b/types/hapi/test/server/server-mime.ts new file mode 100644 index 0000000000..3a50da2154 --- /dev/null +++ b/types/hapi/test/server/server-mime.ts @@ -0,0 +1,22 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-servermime +import { Server, ServerOptions } from "hapi"; + +const options: ServerOptions = { + port: 8000, + mime: { + override: { + 'node/module': { + source: 'steve', + compressible: false, + extensions: ['node', 'module', 'npm'], + type: 'node/module' + } + } + } +}; + +const server = new Server(options); +console.log(server.mime.path('code.js').type); // 'application/javascript' +console.log(server.mime.path('file.npm').type); // 'node/module' + +server.start(); diff --git a/types/hapi/test/server/server-options.ts b/types/hapi/test/server/server-options.ts new file mode 100644 index 0000000000..900f380875 --- /dev/null +++ b/types/hapi/test/server/server-options.ts @@ -0,0 +1,106 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-server-options +import { Plugin, RouteOptions, Server, ServerOptions, ServerRegisterOptions } from "hapi"; +import { MimosOptions, MimosOptionsValue } from "mimos"; + +const mimeOptions: MimosOptions = { + override: { + 'node/module': { + source: 'iana', + compressible: true, + extensions: ['node', 'modsule', 'npm'], + type: 'node/module' + }, + 'application/javascript': { + source: 'iana', + charset: 'UTF-8', + compressible: true, + extensions: ['js', 'javascript'], + type: 'text/javascript' + }, + 'text/html': { + predicate: (mime: MimosOptionsValue) => { + if (1 === 1) { + // mime.foo = 'test'; + } else { + // mime.foo = 'bar'; + } + return mime; + } + } + } +}; + +const plugin: Plugin = { + name: 'example', + register: (server: Server, options: ServerRegisterOptions) => { + server.expose('key', 'value'); + server.plugins.example.other = 'other'; + console.log(server.plugins.example.key); // 'value' + console.log(server.plugins.example.other); // 'other' + } +}; + +const routeOptions: RouteOptions = { + compression: { + test: { + some: 'option' + } + }, + files: { + relativeTo: __dirname + }, + cors: { + origin: ['http://test.example.com', 'http://www.example.com', 'http://*.a.com'] + }, +}; + +const options: ServerOptions = { + address: '0.0.0.0', + app: { + key1: 'value1', + key2: 'value2', + any_thing: 'any_value', + }, + autoListen: true, + cache: { + engine: require('catbox-memory'), + name: 'test', + shared: true, + partition: 'hapi-cache', + any_thing_1: 'any_thing_1', + any_thing_2: 'any_thing_2' + }, + compression: { + minBytes: 1024 + }, + debug: { + request: ['implementation'] + }, + host: 'localhost', + listener: null, + load: { sampleInterval: 0 }, + mime: mimeOptions, + plugins: plugin, + port: 8000, + router: { + isCaseSensitive: true, + stripTrailingSlash: false + }, + routes: routeOptions, + state: { + strictHeader: true, + ignoreErrors: false, + isSecure: true, + isHttpOnly: true, + isSameSite: 'Strict', + encoding: 'none' + }, + tls: null +}; + +const server = new Server(options); +server.start(); + +server.events.on('start', () => { + console.log('Server started at: ' + server.info.uri); +}); diff --git a/types/hapi/test/server/server-path.ts b/types/hapi/test/server/server-path.ts new file mode 100644 index 0000000000..0b125d61d0 --- /dev/null +++ b/types/hapi/test/server/server-path.ts @@ -0,0 +1,30 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-serverpathrelativeto +import { Plugin, Server, ServerRegisterOptions, ServerRoute } from "hapi"; + +const server = new Server({ + port: 8000, +}); + +const serverRouteOption: ServerRoute = { + path: '/file', + method: 'GET', + handler: { + file: './test.html' + } +}; + +const plugin: Plugin = { + name: 'example', + register: (server: Server, options: ServerRegisterOptions) => { + // Assuming the Inert plugin was registered previously + server.path(__dirname + '../static'); + server.route(serverRouteOption); + } +}; + +server.start(); +server.register(plugin); + +server.events.on('start', () => { + console.log('Server started at: ' + server.info.uri); +}); diff --git a/types/hapi/test/server/server-plugins.ts b/types/hapi/test/server/server-plugins.ts new file mode 100644 index 0000000000..498df49823 --- /dev/null +++ b/types/hapi/test/server/server-plugins.ts @@ -0,0 +1,19 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-serverplugins +import { Plugin, Server, ServerRegisterOptions } from "hapi"; + +const plugin: Plugin = { + name: 'example', + register: (server: Server, options: ServerRegisterOptions) => { + server.expose('key', 'value'); + server.plugins.example.other = 'other'; + console.log(server.plugins.example.key); // 'value' + console.log(server.plugins.example.other); // 'other' + } +}; + +const server = new Server({ + port: 8000, +}); + +server.start(); +server.register(plugin); diff --git a/types/hapi/test/server/server-settings.ts b/types/hapi/test/server/server-settings.ts new file mode 100644 index 0000000000..488e31629b --- /dev/null +++ b/types/hapi/test/server/server-settings.ts @@ -0,0 +1,12 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-serversettings +import { Server } from "hapi"; + +const server = new Server({ + port: 8000, + app: { + key: 'value' + } +}); +server.start(); + +console.log(server.settings.app); // { key: 'value' } diff --git a/types/hapi/test/server/server-start.ts b/types/hapi/test/server/server-start.ts new file mode 100644 index 0000000000..f41349e88c --- /dev/null +++ b/types/hapi/test/server/server-start.ts @@ -0,0 +1,11 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-await-serverstart +import { Server } from "hapi"; + +const server = new Server({ + port: 8000, +}); +server.start(); + +server.events.on('start', () => { + console.log('Server started at: ' + server.info.uri); +}); diff --git a/types/hapi/test/server/server-state.ts b/types/hapi/test/server/server-state.ts new file mode 100644 index 0000000000..9c51ee4748 --- /dev/null +++ b/types/hapi/test/server/server-state.ts @@ -0,0 +1,27 @@ +// from https://hapijs.com/tutorials/cookies?lang=en_US +import { Request, ResponseToolkit, Server, ServerOptions, ServerRoute, ServerStateCookieOptions } from "hapi"; + +const options: ServerOptions = { + port: 8000, +}; + +const serverRoute: ServerRoute = { + path: '/say-hello', + method: 'GET', + handler: (request: Request, h: ResponseToolkit) => { + return h.response('Hello').state('data', { firstVisit: false }); + } +}; + +const server = new Server(options); +server.route(serverRoute); + +const stateOption: ServerStateCookieOptions = { + ttl: 24 * 60 * 60 * 1000, // One day + isSecure: false, + isHttpOnly: false, + encoding: 'base64json', +}; +server.state('data', stateOption); +server.start(); +console.log('Server started at: ' + server.info.uri); diff --git a/types/hapi/test/server/server-stop.ts b/types/hapi/test/server/server-stop.ts new file mode 100644 index 0000000000..7922fa944e --- /dev/null +++ b/types/hapi/test/server/server-stop.ts @@ -0,0 +1,17 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-await-serverstopoptions +import { Server } from "hapi"; + +const server = new Server({ + port: 8000, +}); + +server.start(); +server.events.on('start', () => { + console.log('Server started at: ' + server.info.uri); +}); +server.events.on('stop', () => { + console.log('Server stoped.'); +}); +setTimeout(() => { + server.stop({ timeout: 10 * 1000 }); +}, 5 * 1000); diff --git a/types/hapi/test/server/server-table.ts b/types/hapi/test/server/server-table.ts new file mode 100644 index 0000000000..4172430116 --- /dev/null +++ b/types/hapi/test/server/server-table.ts @@ -0,0 +1,22 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-servertablehost +import { Request, ResponseToolkit, Server, ServerOptions } from "hapi"; + +const options: ServerOptions = { + port: 8000, +}; + +const server = new Server(options); +server.app.key = 'value2'; + +server.route({ + path: '/', + method: 'GET', + handler: (request: Request, h: ResponseToolkit) => { + return h.response("Hello World"); + } +}); + +server.start(); +const table = server.table(); +console.log(table); +console.log('Server started at: ' + server.info.uri); diff --git a/types/hapi/test/server/server-version.ts b/types/hapi/test/server/server-version.ts new file mode 100644 index 0000000000..b8e59497fc --- /dev/null +++ b/types/hapi/test/server/server-version.ts @@ -0,0 +1,9 @@ +// https://github.com/hapijs/hapi/blob/master/API.md#-serverversion +import { Server } from "hapi"; + +const server = new Server({ + port: 8000, +}); + +server.start(); +console.log(server.version); // 17.x.x diff --git a/types/hapi/tsconfig.json b/types/hapi/tsconfig.json index 53f8f2ece6..4a92e017cc 100644 --- a/types/hapi/tsconfig.json +++ b/types/hapi/tsconfig.json @@ -6,7 +6,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": true, + "strictNullChecks": false, "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ @@ -24,80 +24,51 @@ }, "files": [ "index.d.ts", - "test/connection/table.ts", - "test/continuation/errors.ts", - "test/getting-started/01-creating-a-server.ts", - "test/getting-started/02-adding-routes.ts", - "test/getting-started/03-serving-static-content.ts", - "test/getting-started/04-using-plugins.ts", - "test/path/catch-all.ts", - "test/path/parameters.ts", - "test/plugins/options.ts", - "test/reply/continue.ts", - "test/reply/entity.ts", - "test/reply/redirect.ts", - "test/reply/reply.ts", - "test/reply/state_cookie.ts", + "test/request/catch-all.ts", "test/request/event-types.ts", - "test/request/generate-response.ts", "test/request/get-log.ts", - "test/request/log.ts", + "test/request/parameters.ts", "test/request/query.ts", - "test/request/set-method.ts", - "test/request/set-url.ts", - "test/request/tail.ts", - "test/response/error-representation.ts", + "test/response/continue.ts", "test/response/error.ts", - "test/response/events.ts", - "test/response/flow-control.ts", - "test/route/additional-options.ts", - "test/route/auth.ts", + "test/response/redirect.ts", + "test/response/response.ts", + "test/response/response-events.ts", + "test/route/adding-routes.ts", "test/route/config.ts", "test/route/handler.ts", - "test/route/plugins.ts", - "test/route/prerequisites.ts", - "test/route/public-interface.ts", - "test/route/validate.ts", - "test/server/app.ts", - "test/server/auth.ts", - "test/server/bind.ts", - "test/server/cache.ts", - "test/server/connection-options.ts", - "test/server/connections.ts", - "test/server/decoder.ts", - "test/server/decorate.ts", - "test/server/dependency.ts", - "test/server/emit.ts", - "test/server/encoder.ts", - "test/server/event.ts", - "test/server/expose.ts", - "test/server/ext.ts", - "test/server/handler.ts", - "test/server/info.ts", - "test/server/initialize.ts", - "test/server/inject.ts", - "test/server/listener.ts", - "test/server/load.ts", - "test/server/log.ts", - "test/server/lookup.ts", - "test/server/match.ts", - "test/server/method.ts", - "test/server/methods.ts", - "test/server/mime.ts", - "test/server/new.ts", - "test/server/on.ts", - "test/server/once.ts", - "test/server/path.ts", - "test/server/plugins.ts", - "test/server/realm.ts", - "test/server/register.ts", - "test/server/route.ts", - "test/server/select.ts", - "test/server/settings.ts", - "test/server/start.ts", - "test/server/state.ts", - "test/server/stop.ts", - "test/server/table.ts", - "test/server/version.ts" + "test/route/route-options.ts", + "test/route/route-options-pre.ts", + "test/server/server-app.ts", + "test/server/server-auth-api.ts", + "test/server/server-auth-default.ts", + "test/server/server-auth-test.ts", + "test/server/server-bind.ts", + "test/server/server-cache.ts", + "test/server/server-cache-provision.ts", + "test/server/server-decoder.ts", + "test/server/server-decorations.ts", + "test/server/server-encoder.ts", + "test/server/server-events.ts", + "test/server/server-events-once.ts", + "test/server/server-expose.ts", + "test/server/server-info.ts", + "test/server/server-inject.ts", + "test/server/server-listener.ts", + "test/server/server-load.ts", + "test/server/server-lookup.ts", + "test/server/server-match.ts", + "test/server/server-method.ts", + "test/server/server-methods.ts", + "test/server/server-mime.ts", + "test/server/server-options.ts", + "test/server/server-path.ts", + "test/server/server-plugins.ts", + "test/server/server-settings.ts", + "test/server/server-start.ts", + "test/server/server-state.ts", + "test/server/server-stop.ts", + "test/server/server-table.ts", + "test/server/server-version.ts" ] } \ No newline at end of file diff --git a/types/hapi/v16/index.d.ts b/types/hapi/v16/index.d.ts new file mode 100644 index 0000000000..ee22f1dea7 --- /dev/null +++ b/types/hapi/v16/index.d.ts @@ -0,0 +1,2723 @@ +// Type definitions for hapi 16.1 +// Project: https://github.com/hapijs/hapi +// Definitions by: Jason Swearingen , AJP +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.4 + +/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WARNING: BACKWARDS INCOMPATIBLE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + * + * + * Removal of IPromise replaced with Promise + * Removal of IReplyStrict<> + * Removal of IReply replaced with different interfaces like: + * ReplyWithContinue + * ReplyNoContinue, etc. + * Renaming of all interfaces to remove preceding I in preparation of dtslint + */ + +/// + +import Events = require("events"); +import stream = require("stream"); +import http = require("http"); +import https = require("https"); +import url = require("url"); +import zlib = require("zlib"); +import domain = require("domain"); + +import * as Boom from 'boom'; +import { + ValidationOptions as JoiValidationOptions, + SchemaMap as JoiSchemaMap, + Schema as JoiSchema, +} from 'joi'; +// TODO check JoiValidationObject is correct for "a Joi validation object" +type JoiValidationObject = JoiSchema | JoiSchemaMap | (JoiSchema | JoiSchemaMap)[]; + +import * as Catbox from 'catbox'; +import { MimosOptions } from 'mimos'; +import Podium = require('podium'); +import * as Shot from 'shot'; + +export interface Dictionary { + [key: string]: T; +} + +/** + * Server + * The Server object is the main application container. The server manages all incoming connections along with all the facilities provided by the framework. A server can contain more than one connection (e.g. listen to port 80 and 8080). + * [See docs](https://hapijs.com/api/16.1.1#server) + * [See docs](https://hapijs.com/api/16.1.1#server-properties) + * [See docs](https://hapijs.com/api/16.1.1#server-events) + */ +export class Server extends Podium { + /** + * Creates a new Server object + */ + constructor(options?: ServerOptions); + + /** + * Provides a safe place to store server-specific run-time application data without potential conflicts with the framework internals. The data can be accessed whenever the server is accessible. Initialized with an empty object. + * [See docs](https://hapijs.com/api/16.1.1#serverapp) + */ + app?: any; + /** + * An array containing the server's connections. When the server object is returned from server.select(), the connections array only includes the connections matching the selection criteria. + * [See docs](https://hapijs.com/api/16.1.1#serverconnections) + */ + connections: ServerConnection[]; + /** + * When the server contains exactly one connection, info is an object containing information about the sole connection + * When the server contains more than one connection, each server.connections array member provides its own connection.info. + * [See docs](https://hapijs.com/api/16.1.1#serverinfo) + */ + info: ServerConnectionInfo | null; + /** + * An object containing the process load metrics (when load.sampleInterval is enabled): + * [See docs](https://hapijs.com/api/16.1.1#serverload) + */ + load: { + /** event loop delay milliseconds. */ + eventLoopDelay: number; + /** V8 heap usage. */ + heapUsed: number; + /** RSS memory usage. */ + rss: number; + }; + /** + * When the server contains exactly one connection, listener is the node HTTP server object of the sole connection. + * When the server contains more than one connection, each server.connections array member provides its own connection.listener. + * [See docs](https://hapijs.com/api/16.1.1#serverlistener) + */ + listener: ServerListener | null; + /** + * An object providing access to the server methods cs://hapijs.com/api/16.1.1#servermethodname-method-options} where each server method name is an object property. + * [See docs](https://hapijs.com/api/16.1.1#servermethods) + */ + methods: Dictionary; + /** + * Provides access to the server MIME database used for setting content-type information. The object must not be modified directly but only through the mime server setting. + * [See docs](https://hapijs.com/api/16.1.1#servermime) + */ + readonly mime: {path(path: string): {type: string}}; + /** + * An object containing the values exposed by each plugin registered where each key is a plugin name and the values are the exposed properties by each plugin using server.expose(). Plugins may set the value of the server.plugins[name] object directly or via the server.expose() method. + * [See docs](https://hapijs.com/api/16.1.1#serverplugins) + */ + plugins: PluginsStates; + /** + * The realm object contains server-wide or plugin-specific state that can be shared across various methods. For example, when calling server.bind(), the active realm settings.bind property is set which is then used by routes and extensions added at the same level (server root or plugin). Realms are a limited version of a sandbox where plugins can maintain state used by the framework when adding routes, extensions, and other properties. + * [See docs](https://hapijs.com/api/16.1.1#serverrealm) + */ + readonly realm: ServerRealm; + /** + * When the server contains exactly one connection, registrations is an object where each key is a registered plugin name + * When the server contains more than one connection, each server.connections array member provides its own connection.registrations. + * TODO check and offer PR to update Hapi docs: Assuming readonly. + * [See docs](https://hapijs.com/api/16.1.1#serverregistrations) + */ + readonly registrations: ServerRegisteredPlugins; + /** + * The root server object containing all the connections and the root server methods (e.g. start(), stop(), connection()). + * TODO, check and offer PR to update Hapi docs: Marked as optional as presumably root server does not reference itself. + * [See docs](https://hapijs.com/api/16.1.1#serverroot) + */ + root?: Server; + /** + * The server configuration object after defaults applied. + * [See docs](https://hapijs.com/api/16.1.1#serversettings) + */ + settings: ServerOptions; + /** + * The hapi module version number. + * [See docs](https://hapijs.com/api/16.1.1#serverversion) + */ + version: string; + + /** + * [See docs](https://hapijs.com/api/16.1.1#serverauthapi) + * [See docs](https://hapijs.com/api/16.1.1#serverauthdefaultoptions) + * [See docs](https://hapijs.com/api/16.1.1#serverauthschemename-scheme) + * [See docs](https://hapijs.com/api/16.1.1#serverauthstrategyname-scheme-mode-options) + * [See docs](https://hapijs.com/api/16.1.1#serverauthteststrategy-request-next) + */ + auth: ServerAuth; + + /** + * Sets a global context used as the default bind object when adding a route or an extension + * When setting context inside a plugin, the context is applied only to methods set up by the plugin. Note that the context applies only to routes and extensions added after it has been set. Ignored if the method being bound is an arrow function. + * @param context the object used to bind this in handler and extension methods. + * [See docs](https://hapijs.com/api/16.1.1#serverbindcontext) + */ + bind(context: any): void; + /** + * [See docs](https://hapijs.com/api/16.1.1#servercacheoptions) + * [See docs](https://hapijs.com/api/16.1.1#servercacheprovisionoptions-callback) + */ + cache: ServerCacheMethod; + /** + * Adds an incoming server connection + * Returns a server object with the new connections selected. + * Must be called before any other server method that modifies connections is called for it to apply to the new connection (e.g. server.state()) + * Note that the options object is deeply cloned (with the exception of listener which is shallowly copied) and cannot contain any values that are unsafe to perform deep copy on. + * + * [See docs](https://hapijs.com/api/16.1.1#serverconnectionoptions) for various advantage topics covering usage and caveats around use of the function in plugin register(), connectionless plugins calling connection(), etc. + * @param connection a connection configuration object or array of objects + */ + connection(options?: ServerConnectionOptions[]): Server; + connection(options?: ServerConnectionOptions): Server; + // connection: (options: ServerConnectionOptions[] | ServerConnectionOptions) => Server; + /** + * Registers a custom content decoding compressor to extend the built-in support for 'gzip' and 'deflate' + * [See docs](https://hapijs.com/api/16.1.1#serverdecoderencoding-decoder) + * @param encoding the decoder name string. + * @param decoder a function using the signature function(options) where options are the encoding specific options configured in the route payload.compression configuration option, and the return value is an object compatible with the output of node's zlib.createGunzip(). + */ + decoder(encoding: string, decoder: ((options: CompressionDecoderSettings) => zlib.Gunzip)): void; + /** + * Extends various framework interfaces with custom methods + * Note that decorations apply to the entire server and all its connections regardless of current selection. + * [See docs](https://hapijs.com/api/16.1.1#serverdecoratetype-property-method-options) + * + * NOTE: it's not possible to type the result of this action. + * It's advised that in a custom definition file, you extend the ReplyNoContinue + * and ReplyWithContinue functions. See Inert `.file` for an example. + * Or if it is not part of a library / plugin then you use a namespace within + * your code to type the request, server and or reply. See + * [tests/server/decorate.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hapi/tests/server/decorate.ts) + * for examples. + * @param type the interface being decorated. Supported types: + * * 'request' - adds methods to the Request object. + * * 'reply' - adds methods to the reply interface. + * * 'server' - adds methods to the Server object. + * @param property the object decoration key name. + * @param method the extension function or other value. + * @param options if the type is 'request', supports the following optional settings: + * * apply - if true, the method function is invoked using the signature function(request) where request is the current request object and the returned value is assigned as the decoration. + */ + decorate(type: 'request' | 'reply' | 'server', property: string, method: Function): void; + decorate(type: 'request', property: string, method: Function, options?: {apply: false}): void; + decorate(type: 'request', property: string, method: (request: Request) => Function, options: {apply: true}): void; + /** + * The server.decorate('server', ...) method can modify this prototype/interface. + * Have disabled these typings as there is a better alternative, see example in: tests/server/decorate.ts + * [And discussion here](https://github.com/DefinitelyTyped/DefinitelyTyped/issues/14517#issuecomment-298891630) + */ + // [index: string]: any; + /** + * Used within a plugin to declare a required dependency on other plugins + * The after method is identical to setting a server extension point on 'onPreStart'. Connectionless plugins (those with attributes.connections set to false) can only depend on other connectionless plugins (server initialization will fail even of the dependency is loaded but is not connectionless). + * Dependencies can also be set via the register attributes property (does not support setting after). + * [See docs](https://hapijs.com/api/16.1.1#serverdependencydependencies-after) + * @param dependencies a single string or array of plugin name strings which must be registered in order for this plugin to operate. Plugins listed must be registered before the server is initialized or started. Does not provide version dependency which should be implemented using npm peer dependencies. + * @param after an optional function called after all the specified dependencies have been registered and before the server starts. The function is only called if the server is initialized or started. If a circular dependency is detected, an exception is thrown (e.g. two plugins each has an after function to be called after the other). The function signature is function(server, next) + */ + dependency(dependencies: string | string[], after?: AfterDependencyLoadCallback): void; + /** + * Emits a custom application event update to all the subscribed listeners + * Note that events must be registered before they can be emitted or subscribed to by calling server.event(events). This is done to detect event name misspelling and invalid event activities. + * [See docs](https://hapijs.com/api/16.1.1#serveremitcriteria-data-callback) + * @param criteria the event update criteria which if an object can have the following optional keys (unless noted otherwise): + * * name - the event name string (required). + * * channel - the channel name string. + * * tags - a tag string or array of tag strings. + * @param data the value emitted to the subscribers. If data is a function, the function signature is function() and it called once to generate (return value) the actual data emitted to the listeners. If no listeners match the event, the data function is not invoked. + * @param callback an optional callback method invoked when all subscribers have been notified using the signature function(). The callback is called only after all the listeners have been notified, including any event updates emitted earlier (the order of event updates are guaranteed to be in the order they were emitted). + */ + emit(criteria: string | {name: string, channel?: string, tags?: string | string[]}, data: any, callback?: () => void): void; + /** + * Registers a custom content encoding compressor to extend the built-in support for 'gzip' and 'deflate' + * [See docs](https://hapijs.com/api/16.1.1#serverencoderencoding-encoder) + * @param encoding the encoder name string. + * @param encoder a function using the signature function(options) where options are the encoding specific options configured in the route compression configuration option, and the return value is an object compatible with the output of node's zlib.createGzip(). + */ + encoder(encoding: string, encoder: ((options: CompressionEncoderSettings) => zlib.Gzip)): void; + /** + * Register custom application events + * [See docs](https://hapijs.com/api/16.1.1#servereventevents) + * @param events see ApplicationEvent + */ + event(events: ApplicationEvent[]): void; + event(events: ApplicationEvent): void; + /** + * Used within a plugin to expose a property via server.plugins[name] + * [See docs](https://hapijs.com/api/16.1.1#serverexposekey-value) + * @param key the key assigned (server.plugins[name][key]). + * @param value the value assigned. + */ + expose(key: string, value: any): void; + /** + * Merges an object into to the existing content of server.plugins[name] + * Note that all properties of obj are deeply cloned into server.plugins[name], so you should avoid using this method for exposing large objects that may be expensive to clone or singleton objects such as database client objects. Instead favor the server.expose(key, value) form, which only copies a reference to value. + * [See docs](https://hapijs.com/api/16.1.1#serverexposeobj) + * @param obj the object merged into the exposed properties container. + */ + expose(obj: Object): void; + /** + * Registers an extension function in one of the available extension points + * [See docs](https://hapijs.com/api/16.1.1#serverextevents) + * @param events see @ServerExtConfigurationObject + */ + ext(events: ServerStartExtConfigurationObject): void; + ext(events: ServerStartExtConfigurationObject[]): void; + ext(events: ServerRequestExtConfigurationObjectWithRequest): void; + ext(events: ServerRequestExtConfigurationObjectWithRequest[]): void; + /** + * Registers a single extension event using the same properties as used in server.ext(events), but passed as arguments. + * [See docs](https://hapijs.com/api/16.1.1#serverextevent-method-options) + * @param event the extension point event name. + * @param method a function or an array of functions to be executed at a specified point during request processing. + * @param options + */ + ext(event: ServerStartExtPoints, method: ServerExtFunction[], options?: ServerExtOptions): void; + ext(event: ServerStartExtPoints, method: ServerExtFunction, options?: ServerExtOptions): void; + ext(event: ServerRequestExtPoints, method: ServerExtRequestHandler[], options?: ServerExtOptions): void; + ext(event: ServerRequestExtPoints, method: ServerExtRequestHandler, options?: ServerExtOptions): void; + /** + * Registers a new handler type to be used in routes + * The method function can have a defaults object or function property. If the property is set to an object, that object is used as the default route config for routes using this handler. If the property is set to a function, the function uses the signature function(method) and returns the route default configuration. + * [See docs](https://hapijs.com/api/16.1.1#serverhandlername-method) + * @param name string name for the handler being registered. Cannot override any previously registered type. + * @param method the function used to generate the route handler using the signature function(route, options) where: + * * route - the route public interface object. + * * options - the configuration object provided in the handler config. + */ + handler(name: string, method: MakeRouteHandler): void; + /** + * Initializes the server (starts the caches, finalizes plugin registration) but does not start listening on the connection ports + * Note that if the method fails and the callback includes an error, the server is considered to be in an undefined state and should be shut down. In most cases it would be impossible to fully recover as the various plugins, caches, and other event listeners will get confused by repeated attempts to start the server or make assumptions about the healthy state of the environment. It is recommended to assert that no error has been returned after calling initialize() to abort the process when the server fails to start properly. If you must try to resume after an error, call server.stop() first to reset the server state. + * [See docs](https://hapijs.com/api/16.1.1#serverinitializecallback) + * @param callback the callback method when server initialization is completed or failed with the signature function(err) + */ + initialize(callback: (err: Error) => void): void; + initialize(): Promise; + /** + * When the server contains exactly one connection, injects a request into the sole connection simulating an incoming HTTP request without making an actual socket connection. Injection is useful for testing purposes as well as for invoking routing logic internally without the overhead or limitations of the network stack. Utilizes the shot module for performing injections, with some additional options and response properties + * If no callback is provided, a Promise object is returned. + * When the server contains more than one connection, each server.connections array member provides its own connection.inject(). + * [See docs](https://hapijs.com/api/16.1.1#serverinjectoptions-callback) + * @param options can be assigned a string with the requested URI, or an object + * @param callback the callback function with signature function(res) + */ + inject(options: string | InjectedRequestOptions, callback: (res: InjectedResponseObject) => void): void; + inject(options: string | InjectedRequestOptions, ): Promise; + /** + * Logs server events that cannot be associated with a specific request. When called the server emits a 'log' event which can be used by other listeners or plugins to record the information or output to the console. + * [See docs](https://hapijs.com/api/16.1.1#serverlogtags-data-timestamp) + * @param tags a string or an array of strings (e.g. ['error', 'database', 'read']) used to identify the event. Tags are used instead of log levels and provide a much more expressive mechanism for describing and filtering events. Any logs generated by the server internally include the 'hapi' tag along with event-specific information. + * @param data an optional message string or object with the application data being logged. If data is a function, the function signature is function() and it called once to generate (return value) the actual data emitted to the listeners. If no listeners match the event, the data function is not invoked. + * @param timestamp an optional timestamp expressed in milliseconds. Defaults to Date.now() (now). + */ + log(tags: string | string[], data?: string | Object | Function, timestamp?: number): void; + /** + * When the server contains exactly one connection, looks up a route configuration. + * When the server contains more than one connection, each server.connections array member provides its own connection.lookup() method. + * [See docs](https://hapijs.com/api/16.1.1#serverlookupid) + * @param id the route identifier as set in the route options. + * @return the route public interface object if found, otherwise null. + */ + lookup(id: string): RoutePublicInterface | null; + /** + * When the server contains exactly one connection, looks up a route configuration + * When the server contains more than one connection, each server.connections array member provides its own connection.match() method. + * [See docs](https://hapijs.com/api/16.1.1#servermatchmethod-path-host) + * @param method the HTTP method (e.g. 'GET', 'POST'). TODO check if it allows HEAD + * @param path the requested path (must begin with '/'). + * @param host optional hostname (to match against routes with vhost). + * @return the route public interface object if found, otherwise null. + */ + match(method: HTTP_METHODS, path: string, host?: string): RoutePublicInterface | null; + /** + * Registers a server method. Server methods are functions registered with the server and used throughout the application as a common utility. Their advantage is in the ability to configure them to use the built-in cache and share across multiple request handlers without having to create a common module. + * [See docs](https://hapijs.com/api/16.1.1#servermethodname-method-options) + * @param name a unique method name used to invoke the method via server.methods[name]. Supports using nested names such as utils.users.get which will automatically create the missing path under server.methods and can be accessed for the previous example via server.methods.utils.users.get. When configured with caching enabled, server.methods[name].cache will be an object see ServerMethodNameCacheObject + * @param method the method function + * @param options optional configuration + */ + method(name: string, method: ServerMethod, options?: ServerMethodOptions): void; + /** + * Registers a server method function as described in server.method() using a configuration object + * [See docs](https://hapijs.com/api/16.1.1#servermethodmethods) + */ + method(methods: ServerMethodConfigurationObject[]): void; + method(methods: ServerMethodConfigurationObject): void; + /** + * Subscribe a handler to an event + * [See docs](https://hapijs.com/api/16.1.1#serveroncriteria-listener) + * @param criteria the subscription criteria which can be an event name string which can be any of the built-in server events or a custom application event registered with server.event(events). + * Or an see ServerEventCriteria. + * If 'start' - emitted when the server is started using server.start(). + * If 'stop' - emitted when the server is stopped using server.stop(). + * @param listener + */ + on(criteria: 'start' | 'stop' | string | ServerEventCriteria, listener: Function): void; + /** + * The 'log' event includes the event object and a tags object (where each tag is a key with the value true) + * [See docs](https://hapijs.com/api/16.1.1#server-events) + */ + on(criteria: 'log', listener: (event: ServerEventObject, tags: Podium.Tags) => void): void; + /** + * The 'request' and 'request-internal' events include the request object, the event object, and a tags object (where each tag is a key with the value true) + * [See docs](https://hapijs.com/api/16.1.1#server-events) + * TODO submit issue to TypeScript. Using 'request' | 'request-internal' removes the type + * interference when using code like: `server.on('request', (request, event, tags) => {...}` + * Same for 'response' | 'tail'. + */ + on(criteria: 'request', listener: (request: Request, event: ServerEventObject, tags: Podium.Tags) => void): void; + on(criteria: 'request-internal', listener: (request: Request, event: ServerEventObject, tags: Podium.Tags) => void): void; + /** + * The 'request-error' event includes the request object and the causing error err object + * [See docs](https://hapijs.com/api/16.1.1#server-events) + */ + on(criteria: 'request-error', listener: (request: Request, err: Error) => void): void; + /** + * The 'response' and 'tail' events include the request object + * [See docs](https://hapijs.com/api/16.1.1#server-events) + * See 'request' and 'request-internal' + */ + on(criteria: 'response', listener: (request: Request) => void): void; + on(criteria: 'tail', listener: (request: Request) => void): void; + /** + * The 'route' event includes the route public interface, the connection, and the server object used to add the route (e.g. the result of a plugin select operation) + * [See docs](https://hapijs.com/api/16.1.1#server-events) + */ + on(criteria: 'route', listener: (route: RoutePublicInterface, connection: ServerConnection, server: Server) => void): void; + /** + * Same as calling server.on() with the count option set to 1. + * TODO type this to copy the server.on specific types for 'route', 'tail', etc. + * [See docs](https://hapijs.com/api/16.1.1#serveroncecriteria-listener) + * @param criteria + * @param listener + */ + once(criteria: string | ServerEventCriteria, listener: Function): void; + /** + * Sets the path prefix used to locate static resources (files and view templates) when relative paths are used + * Note that setting a path within a plugin only applies to resources accessed by plugin methods. If no path is set, the connection files.relativeTo configuration is used. The path only applies to routes added after it has been set. + * [See docs](https://hapijs.com/api/16.1.1#serverpathrelativeto) + * @param relativeTo the path prefix added to any relative file path starting with '.'. + */ + path(relativeTo: string): void; + /** + * Registers a plugin + * If no callback is provided, a Promise object is returned. + * Note that plugin registration are recorded on each of the available connections. When plugins express a dependency on other plugins, both have to be loaded into the same connections for the dependency requirement to be fulfilled. It is recommended that plugin registration happen after all the server connections are created via server.connection(). + * [See docs](https://hapijs.com/api/16.1.1#serverregisterplugins-options-callback) + * @param plugins + * @param options + * @param callback with signature function(err) where err an error returned from the registration function. Note that exceptions thrown by the registration function are not handled by the framework. + * A note on typings. Common use case is: + * register(Plugin, (err) => {// do more stuff}) + * so these typings save passing empty `options` object or having to + * explicity type the Error in the Callback e.g.: + * register(Plugin, {}, (err) => {// do more stuff}) or + * register(Plugin, (err: Error) => {// do more stuff}) + */ + register(plugins: Array<(PluginFunction | PluginRegistrationObject)>, callback: (err: Error | null) => void): void; + register(plugins: Array<(PluginFunction | PluginRegistrationObject)>): Promise; + register(plugins: PluginFunction | PluginRegistrationObject, callback: (err: Error | null) => void): void; + register(plugins: PluginFunction | PluginRegistrationObject): Promise; + register(plugins: Array<(PluginFunction | PluginRegistrationObject)>, options: PluginRegistrationOptions, callback: (err: Error | null) => void): void; + register(plugins: Array<(PluginFunction | PluginRegistrationObject)>, options: PluginRegistrationOptions): Promise; + register(plugins: PluginFunction | PluginRegistrationObject, options: PluginRegistrationOptions, callback: (err: Error | null) => void): void; + register(plugins: PluginFunction | PluginRegistrationObject, options: PluginRegistrationOptions): Promise; + /** + * Adds a connection route + * [See docs](https://hapijs.com/api/16.1.1#serverrouteoptions) + * @param options a route configuration object [See docs](https://hapijs.com/api/16.1.1#route-configuration) or an array of configuration objects. + */ + route(options: RouteConfiguration[]): void; + route(options: RouteConfiguration): void; + /** + * Selects a subset of the server's connections + * Returns a server object with connections set to the requested subset. Selecting again on a selection operates as a logic AND statement between the individual selections. + * [See docs](https://hapijs.com/api/16.1.1#serverselectlabels) + * @param labels a single string or array of strings of labels used as a logical OR statement to select all the connections with matching labels in their configuration. + */ + select(labels: string | string[]): Server; + /** + * Starts the server connections by listening for incoming requests on the configured port of each listener (unless the connection was configured with autoListen set to false) + * If no callback is provided, a Promise object is returned. + * Note that if the method fails and the callback includes an error, the server is considered to be in an undefined state and should be shut down. In most cases it would be impossible to fully recover as the various plugins, caches, and other event listeners will get confused by repeated attempts to start the server or make assumptions about the healthy state of the environment. It is recommended to assert that no error has been returned after calling start() to abort the process when the server fails to start properly. If you must try to resume after a start error, call server.stop() first to reset the server state. + * If a started server is started again, the second call to start() will only start new connections added after the initial start() was called. No events will be emitted and no extension points invoked. + * [See docs](https://hapijs.com/api/16.1.1#serverstartcallback) + * @param callback the callback method when server startup is completed or failed with the signature function(err) where: + * * err - any startup error condition. + */ + start(callback: (err?: Error) => void): void; + start(): Promise; + /** + * HTTP state management [See docs](https://tools.ietf.org/html/rfc6265) uses client cookies to persist a state across multiple requests. Registers a cookie definitions + * [See docs](https://hapijs.com/api/16.1.1#serverstatename-options) + * @param name the cookie name string. + * @param options optional cookie settings + */ + state(name: string, options?: ServerStateCookieConfiguationObject): void; + /** + * Stops the server's connections by refusing to accept any new connections or requests (existing connections will continue until closed or timeout) + * If no callback is provided, a Promise object is returned. + * [See docs](https://hapijs.com/api/16.1.1#serverstopoptions-callback) + * @param options options object with: + * * timeout - overrides the timeout in millisecond before forcefully terminating a connection. Defaults to 5000 (5 seconds). + * @param callback optional callback method which is called once all the connections have ended and it is safe to exit the process with signature function(err) where: + * * err - any termination error condition. + */ + stop(options: {timeout: number} | null, callback: (err?: Error) => void): void; + stop(options?: {timeout: number}): Promise; + /** + * Returns a copy of the routing table + * Note that if the server has not been started and multiple connections use port 0, the table items will override each other and will produce an incomplete result. + * When calling connection.table() directly on each connection, the return value is the same as the array table item value of an individual connection + * [See docs](https://hapijs.com/api/16.1.1#servertablehost) + * @param host optional host to filter routes matching a specific virtual host. Defaults to all virtual hosts. + */ + table(host?: string): RoutingTableEntry[]; +} + +export interface PluginSpecificConfiguration {} + +/** + * Server Options + * Note that the options object is deeply cloned and cannot contain any values that are unsafe to perform deep copy on. + * [See docs](https://hapijs.com/api/16.1.1#new-serveroptions) + */ +export interface ServerOptions { + /** app - application-specific configuration which can later be accessed via server.settings.app. Note the difference between server.settings.app which is used to store static configuration values and server.app which is meant for storing run-time state. Defaults to {}. */ + app?: any; + /** + * cache - sets up server-side caching. Every server includes a default cache for storing application state. By default, a simple memory-based cache is created which has limited capacity and capabilities. hapi uses catbox for its cache which includes support for common storage solutions (e.g. Redis, MongoDB, Memcached, Riak, among others). Caching is only utilized if methods and plugins explicitly store their state in the cache. The server cache configuration only defines the storage container itself. cache can be assigned: + * * a prototype function (usually obtained by calling require() on a catbox strategy such as require('catbox-redis')). A new catbox client will be created internally using this function. + * * a CatboxServerOptionsCacheConfiguration configuration object + * * an array of the above object for configuring multiple cache instances, each with a unique name. When an array of objects is provided, multiple cache connections are established and each array item (except one) must include a name. + */ + cache?: Catbox.EnginePrototype | CatboxServerOptionsCacheConfiguration | CatboxServerOptionsCacheConfiguration[]; + /** sets the default connections configuration which can be overridden by each connection */ + connections?: ConnectionConfigurationServerDefaults; + /** determines which logged events are sent to the console (this should only be used for development and does not affect which events are actually logged internally and recorded). Set to false to disable all console logging, or to an object with: */ + debug?: false | { + /** a string array of server log tags to be displayed via console.error() when the events are logged via server.log() as well as internally generated server logs. For example, to display all errors, set the option to ['error']. To turn off all console debug messages set it to false. Defaults to uncaught errors thrown in external code (these errors are handled automatically and result in an Internal Server Error response) or runtime errors due to developer error. */ + log?: string[] | false; + /** a string array of request log tags to be displayed via console.error() when the events are logged via request.log() as well as internally generated request logs. For example, to display all errors, set the option to ['error']. To turn off all console debug messages set it to false. Defaults to uncaught errors thrown in external code (these errors are handled automatically and result in an Internal Server Error response) or runtime errors due to developer error. */ + request?: string[] | false; + }; + /** process load monitoring */ + load?: { + /** the frequency of sampling in milliseconds. Defaults to 0 (no sampling). */ + sampleInterval?: number; + }; + /** options passed to the mimos module (https://github.com/hapijs/mimos) when generating the mime database used by the server and accessed via server.mime. */ + mime?: MimosOptions; + /** plugin-specific configuration which can later be accessed via server.settings.plugins. plugins is an object where each key is a plugin name and the value is the configuration. Note the difference between server.settings.plugins which is used to store static configuration values and server.plugins which is meant for storing run-time state. Defaults to {}. */ + plugins?: PluginSpecificConfiguration; + /** if false, will not use node domains to protect against exceptions thrown in handlers and other external code. Defaults to true. */ + useDomains?: boolean; +} + +/** + * The server event object + * [See docs](https://hapijs.com/api/16.1.1#server-events) + */ +export interface ServerEventObject { + /** the event timestamp. */ + timestamp: number; + /** if the event relates to a request, the request id. */ + request: string; + /** if the event relates to a server, the server.info.uri. */ + server: string; + /** an array of tags (e.g. ['error', 'http']). */ + tags: string[]; + /** optional event-specific information. */ + data: any; + /** true if the event was generated internally by the framework. */ + internal: boolean; +} + +/** + * [See docs](https://hapijs.com/api/16.1.1#serveroncriteria-listener) + */ +export interface ServerEventCriteria { + /** the event name string (required). */ + name: string; + /** if true, the listener method receives an additional callback argument which must be called when the method completes. No other event will be emitted until the callback methods is called. The method signature is function(). If block is set to a positive integer, the value is used to set a timeout after which any pending events will be emitted, ignoring the eventual call to callback. Defaults to false (non blocking). */ + block?: boolean; + /** a string or array of strings specifying the event channels to subscribe to. If the event registration specified a list of allowed channels, the channels array must match the allowed channels. If channels are specified, event updates without any channel designation will not be included in the subscription. Defaults to no channels filter. */ + channels?: string | string[]; + /** if true, the data object passed to server.emit() is cloned before it is passed to the listener method. Defaults to the event registration option (which defaults to false). */ + clone?: boolean; + /** a positive integer indicating the number of times the listener can be called after which the subscription is automatically removed. A count of 1 is the same as calling server.once(). Defaults to no limit. */ + count?: number; + /** + * the event tags (if present) to subscribe to + * If the object is given: + * * tags - a tag string or array of tag strings. + * * all - if true, all tags must be present for the event update to match the subscription. Defaults to false (at least one matching tag). + */ + filter?: string | string[] | {tags: string | string[], all?: boolean}; + /** if true, and the data object passed to server.emit() is an array, the listener method is called with each array element passed as a separate argument. This should only be used when the emitted data structure is known and predictable. Defaults to the event registration option (which defaults to false). */ + spread?: boolean; + /** if true and the criteria object passed to server.emit() includes tags, the tags are mapped to an object (where each tag string is the key and the value is true) which is appended to the arguments list at the end (but before the callback argument if block is set). Defaults to the event registration option (which defaults to false). */ + tags?: boolean; +} + +/** + * Server methods, user configured + * Related to [See docs](https://hapijs.com/api/16.1.1#servermethods) + * Related to [See docs](https://hapijs.com/api/16.1.1#servermethodname-method-options) + */ +export interface ServerMethod { + /** the method must return a value (result, Error, or a promise) or throw an Error. */ + (...args: any[]): any | Error | Promise; + /** Not possible to improve this typing due to this unresolvable issue: https://github.com/Microsoft/TypeScript/issues/15190 */ + (...args: (any | ServerMethodNext)[]): void; + /** When configured with caching enabled, server.methods[name].cache will be an object see ServerMethodNameCacheObject */ + cache?: ServerMethodNameCacheObject; +} + +/** + * Related to [See docs](https://hapijs.com/api/16.1.1#servermethodname-method-options) + * @param err error response if the method failed. + * @param result the return value. + * @param ttl 0 if result is valid but cannot be cached. Defaults to cache policy. + */ +export interface ServerMethodNext { + (err: Error | null, result: any, ttl?: number): void; +} + +/** For context [See docs](https://hapijs.com/api/16.1.1#servermethodname-method-options) */ +export interface ServerMethodNameCacheObject { + /** + * function that can be used to clear the cache for a given key. + * @param ...args any number of string, number or boolean. If other types then generateKey function must be specified. + * @param callback last argument is a callback. + * Not possible to improve this typing due to this unresolvable issue: https://github.com/Microsoft/TypeScript/issues/15190 + */ + drop(...args: (any | Function)[]): void; + /** an object with cache statistics, see stats documentation for catbox. */ + stats: Catbox.CacheStatisticsObject; +} + +/** For context [See docs](https://hapijs.com/api/16.1.1#servermethodname-method-options) */ +export interface ServerMethodOptions { + /** a context object passed back to the method function (via this) when called. Defaults to active context (set via server.bind() when the method is registered. Ignored if the method is an arrow function. */ + bind?: any; + /** the same cache configuration used in server.cache(). The generateTimeout option is required. */ + cache?: CatboxServerCacheConfiguration; + /** + * if false, expects the method to be a synchronous function. Note that using a synchronous function with caching will convert the method interface to require a callback as an additional argument with the signature function(err, result, cached, report) since the cache interface cannot return values synchronously. Defaults to true. + * TODO: understand and type "an additional argument with the signature function(err, result, cached, report)" if appropriate. + */ + callback?: boolean; + /** a function used to generate a unique key (for caching) from the arguments passed to the method function (the callback argument is not passed as input). The server will automatically generate a unique key if the function's arguments are all of types 'string', 'number', or 'boolean'. However if the method uses other types of arguments, a key generation function must be provided which takes the same arguments as the function and returns a unique string (or null if no key can be generated). */ + generateKey?(args: any[]): string | null; +} + +/** For context [See docs](https://hapijs.com/api/16.1.1#servermethodmethods) */ +export interface ServerMethodConfigurationObject { + name: string; + method: ServerMethod; + options: ServerMethodOptions; +} + +/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Caching with Catbox + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ +// TODO: move to separate file http://stackoverflow.com/questions/43276921 + +/** + * TODO confirm this is the same as CatboxServerCacheConfiguration + * + * ** + * Server instantiation options configuration for Catbox cache + * TODO: check it extends Catbox.PolicyOptions and this is what "other options passed to the catbox strategy used." means. + * For context [See docs](https://hapijs.com/api/16.1.1#new-serveroptions) under: options > cache > a configuration object + * ** + * export interface CatboxServerOptionsCacheConfiguration extends Catbox.IPolicyOptions { + * // a prototype function or catbox engine object. + * engine: Catbox.EnginePrototypeOrObject; + * // an identifier used later when provisioning or configuring caching for server methods or plugins. Each cache name must be unique. A single item may omit the name option which defines the default cache. If every cache includes a name, a default memory cache is provisioned as well. + * name?: string; + * // if true, allows multiple cache users to share the same segment (e.g. multiple methods using the same cache storage container). Default to false. + * shared?: boolean; + * } + */ +export type CatboxServerOptionsCacheConfiguration = CatboxServerCacheConfiguration; + +/** + * Server cache method configuration for Catbox cache + * Used for "Provisions a cache segment within the server cache facility" + * For context [See docs](https://hapijs.com/api/16.1.1#servercacheoptions) + * Also used in [See docs](https://hapijs.com/api/16.1.1#servermethodname-method-options) > options.cache + */ +export interface CatboxServerCacheConfiguration extends Catbox.PolicyOptions { + /** the cache name configured in server.cache. Defaults to the default cache. */ + cache?: string; + /** string segment name, used to isolate cached items within the cache partition. When called within a plugin, defaults to '!name' where 'name' is the plugin name. When called within a server method, defaults to '#name' where 'name' is the server method name. Required when called outside of a plugin. */ + segment?: string; + /** if true, allows multiple cache provisions to share the same segment. Default to false. */ + shared?: boolean; + /** + * a prototype function or catbox engine object. + * [See docs](https://hapijs.com/api/16.1.1#servercacheprovisionoptions-callback) example code includes use of `engine` option. But server.cache.provision of `options` says "same as the server cache configuration options.". + * TODO confirm once PR to hapi docs accepted / rejected. + */ + engine?: Catbox.EnginePrototypeOrObject; + /** + * an identifier used later when provisioning or configuring caching for server methods or plugins. Each cache name must be unique. A single item may omit the name option which defines the default cache. If every cache includes a name, a default memory cache is provisioned as well. + * [See docs](https://hapijs.com/api/16.1.1#servercacheprovisionoptions-callback) example code includes use of `name` option. But server.cache.provision of `options` says "same as the server cache configuration options.". + */ + name?: string; + /** + * Additional options to be passed to the Catbox strategy + */ + [s: string]: any; +} + +/** + * Additional notes + * payload - In case of an object it will be converted to a string for you. Defaults to no payload. Note that payload processing defaults to 'application/json' if no 'Content-Type' header provided. + * [See docs](https://hapijs.com/api/16.1.1#serverinjectoptions-callback) + */ +export interface InjectedRequestOptions extends Shot.RequestOptions { + /** an optional credentials object containing authentication information. The credentials are used to bypass the default authentication strategies, and are validated directly as if they were received via an authentication scheme. Defaults to no credentials. */ + credentials?: any; + /** an optional artifacts object containing authentication artifact information. The artifacts are used to bypass the default authentication strategies, and are validated directly as if they were received via an authentication scheme. Ignored if set without credentials. Defaults to no artifacts. */ + artifacts?: any; + /** sets the initial value of request.app. */ + app?: any; + /** sets the initial value of request.plugins. */ + plugins?: PluginsStates; + /** allows access to routes with config.isInternal set to true. Defaults to false. */ + allowInternals?: boolean; +} + +/** + * the response object from server.inject + * [See docs](https://hapijs.com/api/16.1.1#serverinjectoptions-callback) + */ +export interface InjectedResponseObject extends Shot.ResponseObject { + /** the raw handler response (e.g. when not a stream or a view) before it is serialized for transmission. If not available, the value is set to payload. Useful for inspection and reuse of the internal objects returned (instead of parsing the response string). */ + result: Object | string; + /** the request object. */ + request: InjectedRequestOptions; +} + +/** + * For context [See docs](https://hapijs.com/api/16.1.1#new-serveroptions) under: options > connections + */ +export interface ConnectionConfigurationServerDefaults { + /** application-specific connection configuration which can be accessed via connection.settings.app. Provides a safe place to store application configuration without potential conflicts with the framework internals. Should not be used to configure plugins which should use plugins[name]. Note the difference between connection.settings.app which is used to store configuration values and connection.app which is meant for storing run-time state. */ + app?: any; + /** if false, response content encoding is disabled. Defaults to true */ + compression?: boolean; + /** connection load limits configuration where: */ + load?: { + /** maximum V8 heap size over which incoming requests are rejected with an HTTP Server Timeout (503) response. Defaults to 0 (no limit). */ + maxHeapUsedBytes?: number; + /** maximum process RSS size over which incoming requests are rejected with an HTTP Server Timeout (503) response. Defaults to 0 (no limit). */ + maxRssBytes?: number; + /** maximum event loop delay duration in milliseconds over which incoming requests are rejected with an HTTP Server Timeout (503) response. Defaults to 0 (no limit). */ + maxEventLoopDelay?: number; + }; + /** plugin-specific configuration which can later be accessed via connection.settings.plugins. Provides a place to store and pass connection-specific plugin configuration. plugins is an object where each key is a plugin name and the value is the configuration. Note the difference between connection.settings.plugins which is used to store configuration values and connection.plugins which is meant for storing run-time state. */ + plugins?: PluginSpecificConfiguration; + /** controls how incoming request URIs are matched against the routing table: */ + router?: { + /** determines whether the paths '/example' and '/EXAMPLE' are considered different resources. Defaults to true. */ + isCaseSensitive?: boolean; + /** removes trailing slashes on incoming paths. Defaults to false. */ + stripTrailingSlash?: boolean; + }; + /** a route options object used to set the default configuration for every route. */ + routes?: RouteAdditionalConfigurationOptions; + /** sets the default configuration for every state (cookie) set explicitly via server.state() or implicitly (without definition) using the [state configuration object](https://hapijs.com/api/16.1.1#serverstatename-options). */ + state?: ServerStateCookieConfiguationObject; +} + +/** + * a connection configuration object or array of objects with the following optional keys. + * Any connections configuration server defaults can be included to override and customize the individual connection. + * [See docs](https://hapijs.com/api/16.1.1#serverconnectionoptions) + */ +export interface ServerConnectionOptions extends ConnectionConfigurationServerDefaults { + /** host - the public hostname or IP address. Used only to set server.info.host and server.info.uri. If not configured, defaults to the operating system hostname and if not available, to 'localhost'. */ + host?: string; + /** address - sets the host name or IP address the connection will listen on. If not configured, defaults to host if present, otherwise to all available network interfaces (i.e. '0.0.0.0'). Set to 127.0.0.1 or localhost to restrict connection to only those coming from the same machine. */ + address?: string; + /** port - the TCP port the connection will listen to. Defaults to an ephemeral port (0) which uses an available port when the server is started (and assigned to server.info.port). If port is a string containing a '/' character, it is used as a UNIX domain socket path and if it starts with '\.\pipe' as a Windows named pipe. */ + port?: string | number; + /** uri - the full public URI without the path (e.g. 'http://example.com:8080'). If present, used as the connection info.uri otherwise constructed from the connection settings. */ + uri?: string; + /** listener - optional node.js HTTP (or HTTPS) http.Server object or any compatible object. If the listener needs to be manually started, set autoListen to false. If the listener uses TLS, set tls to true. */ + listener?: http.Server; + /** autoListen - indicates that the connection.listener will be started manually outside the framework. Cannot be specified with a port setting. Defaults to true. */ + autoListen?: boolean; + /** labels - a string or string array of labels used to server.select() specific connections matching the specified labels. Defaults to an empty array [] (no labels). */ + labels?: string | string[]; + /** tls - used to create an HTTPS connection. The tls object is passed unchanged as options to the node.js HTTPS server as described in the node.js HTTPS [documentation](https://nodejs.org/api/https.html#https_https_createserver_options_requestlistener}) . Set to true when passing a listener object that has been configured to use TLS directly. */ + tls?: true | https.RequestOptions; +} + +/** + * For context see RouteAdditionalConfigurationOptions > compression + * For context [See docs](https://hapijs.com/api/16.1.1#serverencoderencoding-encoder) + */ +export type CompressionEncoderSettings = any; + +/** + * For context see RouteAdditionalConfigurationOptions > payload > compression + * For context [See docs](https://hapijs.com/api/16.1.1#serverdecoderencoding-decoder) + */ +export type CompressionDecoderSettings = any; + +/** + * an optional function called after all the specified dependencies have been registered and before the server starts. The function is only called if the server is initialized or started. If a circular dependency is detected, an exception is thrown (e.g. two plugins each has an after function to be called after the other). The function signature is function(server, next) where: + * [See docs](https://hapijs.com/api/16.1.1#serverdependencydependencies-after) + * Also see Server.dependency + * @param server the server the dependency() method was called on. + * @param next the callback function the method must call to return control over to the application and complete the registration process. The function signature is function(err) where: + * * err - internal error condition, which is returned back via the server.initialize() or server.start() callback. + */ +export interface AfterDependencyLoadCallback { + (server: Server, next: (err?: Error) => void): void; +} + +/** For context see RouteAdditionalConfigurationOptions > auth */ +export interface AuthOptions { + /** + * the authentication mode. Defaults to 'required' if a server authentication strategy is configured, otherwise defaults to no authentication. Available values: + * * 'required' - authentication is required. + * * 'optional' - authentication is optional (must be valid if present). + * * 'try' - same as 'optional' but allows for invalid authentication. + */ + mode?: 'required' | 'optional' | 'try'; + /** a string array of strategy names in order they should be attempted. If only one strategy is used, strategy can be used instead with the single string value. Defaults to the default authentication strategy which is available only when a single strategy is configured. */ + strategies?: string[]; + strategy?: string; + /** + * if set, the payload (in requests other than 'GET' and 'HEAD') is authenticated after it is processed. Requires a strategy with payload authentication support (e.g. Hawk). Cannot be set to a value other than 'required' when the scheme sets the options.payload to true. Available values: + * * false - no payload authentication. This is the default value. + * * 'required' - payload authentication required. This is the default value when the scheme sets options.payload to true. + * * 'optional' - payload authentication performed only when the client includes payload authentication information (e.g. hash attribute in Hawk). + */ + payload?: false | 'required' | 'optional'; + /** specifying the route access rules. */ + access?: RouteAuthAccessConfiguationObject | RouteAuthAccessConfiguationObject[]; + /** (undocumented) Convenience way of setting access.scope, will over write all values in `access` */ + scope?: false | string | string[]; + /** (undocumented) Convenience way of setting access.entity, will over write all values in `access` */ + entity?: 'any' | 'user' | 'app'; +} + +/** + * Each rule is evaluated against an incoming request and access is granted if at least one rule matches. Each rule object must include at least one of: + * For context see RouteAdditionalConfigurationOptions > auth > an object > access + */ +export interface RouteAuthAccessConfiguationObject { + /** the application scope required to access the route. Value can be a scope string or an array of scope strings. The authenticated credentials object scope property must contain at least one of the scopes defined to access the route. If a scope string begins with a + character, that scope is required. If a scope string begins with a ! character, that scope is forbidden. For example, the scope ['!a', '+b', 'c', 'd'] means the incoming request credentials' scope must not include 'a', must include 'b', and must include one of 'c' or 'd'. You may also access properties on the request object (query and params) to populate a dynamic scope by using {} characters around the property name, such as 'user-{params.id}'. Defaults to false (no scope requirements). */ + scope?: false | string | string[]; + /** + * the required authenticated entity type. If set, must match the entity value of the authentication credentials. Available values: + * * any - the authentication can be on behalf of a user or application. This is the default value. + * * user - the authentication must be on behalf of a user which is identified by the presence of a user attribute in the credentials object returned by the authentication strategy. + * * app - the authentication must be on behalf of an application which is identified by the lack of presence of a user attribute in the credentials object returned by the authentication strategy. + */ + entity?: 'any' | 'user' | 'app'; +} + +/** + * For context see RouteAdditionalConfigurationOptions > cache + */ +export type RouteCacheOptions = { + /** + * determines the privacy flag included in client-side caching using the 'Cache-Control' header. Values are: + * * 'default' - no privacy flag. This is the default setting. + * * 'public' - mark the response as suitable for public caching. + * * 'private' - mark the response as suitable only for private caching. + */ + privacy?: 'default' | 'public' | 'private'; + /** an array of HTTP response status codes (e.g. 200) which are allowed to include a valid caching directive. Defaults to [200]. */ + statuses?: number[]; + /** a string with the value of the 'Cache-Control' header when caching is disabled. Defaults to 'no-cache'. */ + otherwise?: string; +} & ({ + /** relative expiration expressed in the number of milliseconds since the item was saved in the cache. Cannot be used together with expiresAt. */ + expiresIn?: number; + /** time of day expressed in 24h notation using the 'HH:MM' format, at which point all cache records for the route expire. Cannot be used together with expiresIn. */ + expiresAt?: undefined; +} | { + /** relative expiration expressed in the number of milliseconds since the item was saved in the cache. Cannot be used together with expiresAt. */ + expiresIn?: undefined; + /** time of day expressed in 24h notation using the 'HH:MM' format, at which point all cache records for the route expire. Cannot be used together with expiresIn. */ + expiresAt?: string; +} | { + /** relative expiration expressed in the number of milliseconds since the item was saved in the cache. Cannot be used together with expiresAt. */ + expiresIn?: undefined; + /** time of day expressed in 24h notation using the 'HH:MM' format, at which point all cache records for the route expire. Cannot be used together with expiresIn. */ + expiresAt?: undefined; +}); + +/** + * For context see RouteAdditionalConfigurationOptions > cors + */ +export interface CorsConfigurationObject { + /** a strings array of allowed origin servers ('Access-Control-Allow-Origin'). The array can contain any combination of fully qualified origins along with origin strings containing a wildcard '*' character, or a single '*' origin string. Defaults to any origin ['*']. */ + origin?: string[] | '*'; + /** number of seconds the browser should cache the CORS response ('Access-Control-Max-Age'). The greater the value, the longer it will take before the browser checks for changes in policy. Defaults to 86400 (one day). */ + maxAge?: number; + /** a strings array of allowed headers ('Access-Control-Allow-Headers'). Defaults to ['Accept', 'Authorization', 'Content-Type', 'If-None-Match'] */ + headers?: string[]; + /** a strings array of additional headers to headers. Use this to keep the default headers in place. */ + additionalHeaders?: string[]; + /** a strings array of exposed headers ('Access-Control-Expose-Headers'). Defaults to ['WWW-Authenticate', 'Server-Authorization']. */ + exposedHeaders?: string[]; + /** a strings array of additional headers to exposedHeaders. Use this to keep the default headers in place. */ + additionalExposedHeaders?: string[]; + /** if true, allows user credentials to be sent ('Access-Control-Allow-Credentials'). Defaults to false. */ + credentials?: boolean; +} + +/** + * An object describing the extension function used whilst registering the extension function in one of the available extension points + * [See docs](https://hapijs.com/api/16.1.1#serverextevents) + * For context see RouteAdditionalConfigurationOptions > ext + */ +export interface ServerStartExtConfigurationObject { + /** the extension point event name. */ + type: ServerStartExtPoints; + /** + * a function or an array of functions to be executed at a specified point during request processing. The required extension function signature is see ServerExtFunction or see ServerExtRequestHandler + */ + method: ServerExtFunction | ServerExtFunction[]; + options?: ServerExtOptions; +} + +/** + * An object describing the extension function used whilst registering the extension function in one of the available extension points + * [See docs](https://hapijs.com/api/16.1.1#serverextevents) + * For context see RouteAdditionalConfigurationOptions > ext + */ +export interface ServerRequestExtConfigurationObject { + /** the extension point event name. */ + type: ServerRequestExtPointsBase; + /** + * a function or an array of functions to be executed at a specified point during request processing. The required extension function signature is see ServerExtFunction or see ServerExtRequestHandler + */ + method: ServerExtRequestHandler | ServerExtRequestHandler[] + options?: ServerExtOptions; +} + +/** + * An object describing the extension function used whilst registering the extension function in one of the available extension points + * [See docs](https://hapijs.com/api/16.1.1#serverextevents) + * For context see RouteAdditionalConfigurationOptions > ext + */ +export interface ServerRequestExtConfigurationObjectWithRequest { + /** the extension point event name. */ + type: ServerRequestExtPoints; + /** + * a function or an array of functions to be executed at a specified point during request processing. The required extension function signature is see ServerExtFunction or see ServerExtRequestHandler + */ + method: ServerExtRequestHandler | ServerExtRequestHandler[]; + options?: ServerExtOptions; +} + +/** + * [See docs](https://hapijs.com/api/16.1.1#route-configuration) > ext + */ +export type RouteExtConfigurationObject = ServerStartExtConfigurationObject | ServerRequestExtConfigurationObject; + +/** + * [See docs](https://hapijs.com/api/16.1.1#serverextevents) > events > method + */ +export type ServerExtMethod = ServerExtFunction | ServerExtRequestHandler; + +/** + * [See docs](https://hapijs.com/api/16.1.1#serverextevents) > events > options + */ +export interface ServerExtOptions { + /** before - a string or array of strings of plugin names this method must execute before (on the same event). Otherwise, extension methods are executed in the order added. */ + before: string | string[]; + /** after - a string or array of strings of plugin names this method must execute after (on the same event). Otherwise, extension methods are executed in the order added. */ + after: string | string[]; + /** bind - a context object passed back to the provided method (via this) when called. Ignored if the method is an arrow function. */ + bind: any; + /** sandbox - if set to 'plugin' when adding a request extension points the extension is only added to routes defined by the current plugin. Not allowed when configuring route-level extensions, or when adding server extensions. Defaults to 'connection' which applies to any route added to the connection the extension is added to. */ + sandbox?: 'connection' | 'plugin'; +} + +/** + * [See docs](https://hapijs.com/api/16.1.1#serverextevents) > events > type + * * 'onPreStart' - called before the connection listeners are started. + * * 'onPostStart' - called after the connection listeners are started. + * * 'onPreStop' - called before the connection listeners are stopped. + * * 'onPostStop' - called after the connection listeners are stopped. + */ +export type ServerStartExtPoints = 'onPreStart' | 'onPostStart' | 'onPreStop' | 'onPostStop'; +/** + * [See docs](https://hapijs.com/api/16.1.1#request-lifecycle) + * * The available extension points include the request extension points as well as the following server extension points: + */ +export type ServerRequestExtPointsBase = 'onPreResponse' | 'onPreAuth' | 'onPostAuth' | 'onPreHandler' | 'onPostHandler' | 'onPreResponse'; + +export type ServerRequestExtPoints = ServerRequestExtPointsBase | 'onRequest'; + +/** + * Server extension function registered an one of the server extension points + * [See docs](https://hapijs.com/api/16.1.1#serverextevents) + * For context see ServerExtConfigurationObject + * @param server - the server object. + * @param next - the continuation method with signature function(err). + * @param this - the object provided via options.bind or the current active context set with server.bind(). + */ +export interface ServerExtFunction { + (server: Server, next: ContinuationFunction): void; +} + +/** + * For context see RouteAdditionalConfigurationOptions > payload + */ +export interface RoutePayloadConfigurationObject { + /** + * the type of payload representation requested. The value must be one of: + * * 'data' - the incoming payload is read fully into memory. If parse is true, the payload is parsed (JSON, form-decoded, multipart) based on the 'Content-Type' header. If parse is false, the raw Buffer is returned. This is the default value except when a proxy handler is used. + * * 'stream' - the incoming payload is made available via a Stream.Readable interface. If the payload is 'multipart/form-data' and parse is true, fields values are presented as text while files are provided as streams. File streams from a 'multipart/form-data' upload will also have a property hapi containing filename and headers properties. + * * 'file' - the incoming payload is written to temporary file in the directory specified by the server's payload.uploads settings. If the payload is 'multipart/form-data' and parse is true, fields values are presented as text while files are saved. Note that it is the sole responsibility of the application to clean up the files generated by the framework. This can be done by keeping track of which files are used (e.g. using the request.app object), and listening to the server 'response' event to perform any needed cleanup. + */ + output?: PayLoadOutputOption; + /** + * can be true, false, or gunzip; determines if the incoming payload is processed or presented raw. true and gunzip includes gunzipping when the appropriate 'Content-Encoding' is specified on the received request. If parsing is enabled and the 'Content-Type' is known (for the whole payload as well as parts), the payload is converted into an object when possible. If the format is unknown, a Bad Request (400) error response is sent. Defaults to true, except when a proxy handler is used. The supported mime types are: + * * 'application/json' + * * 'application/x-www-form-urlencoded' + * * 'application/octet-stream' + * * 'text/*' + * * 'multipart/form-data' + */ + parse?: 'gunzip' | boolean; + /** + * overrides payload processing for multipart requests. Value can be one of: + * * false - disables multipart processing. + * * object with the following required options: + * * output - same as the payload.output option with an additional value option: + * * annotated - wraps each multipart part in an object with the following keys: // TODO type this? + * * headers - the part headers. + * * filename - the part file name. + * * payload - the processed part payload. + */ + multipart?: false | { + output: PayLoadOutputOption | 'annotated'; + }; + /** a string or an array of strings with the allowed mime types for the endpoint. Defaults to any of the supported mime types listed above. Note that allowing other mime types not listed will not enable them to be parsed, and that if parsing mode is 'parse', the request will result in an error response. */ + allow?: string | string[]; + /** a mime type string overriding the 'Content-Type' header value received. Defaults to no override. */ + override?: string; + /** limits the size of incoming payloads to the specified byte count. Allowing very large payloads may cause the server to run out of memory. Defaults to 1048576 (1MB). */ + maxBytes?: number; + /** payload reception timeout in milliseconds. Sets the maximum time allowed for the client to transmit the request payload (body) before giving up and responding with a Request Timeout (408) error response. Set to false to disable. Defaults to 10000 (10 seconds). */ + timeout?: number | false; + /** the directory used for writing file uploads. Defaults to os.tmpdir(). */ + uploads?: string; + /** + * determines how to handle payload parsing errors. Allowed values are: + * * 'error' - return a Bad Request (400) error response. This is the default value. + * * 'log' - report the error but continue processing the request. + * * 'ignore' - take no action and continue processing the request. + */ + failAction?: 'error' | 'log' | 'ignore'; + /** the default 'Content-Type' HTTP header value is not present. Defaults to 'application/json'. */ + defaultContentType?: string; + /** an object where each key is a content-encoding name and each value is an object with the desired decoder settings. Note that encoder settings are set in the root option compression. */ + compression?: Dictionary; +} + +export type PayLoadOutputOption = 'data' | 'stream' | 'file'; + +/** + * events must be one of: + * * an event name string. + * * an event options object see ApplicationEventOptionsObject + * * a podium [See docs](https://github.com/hapijs/podium) emitter object. + * For context [See docs](https://hapijs.com/api/16.1.1#servereventevents) > events parameter + */ +export type ApplicationEvent = string | ApplicationEventOptionsObject | Podium; + +/** + * an event options object + * For context see ApplicationEvent + * For context [See docs](https://hapijs.com/api/16.1.1#servereventevents) > events parameter + */ +export interface ApplicationEventOptionsObject { + /** the event name string (required). */ + name: string; + /** a string or array of strings specifying the event channels available. Defaults to no channel restrictions (event updates can specify a channel or not). */ + channels?: string | string[]; + /** if true, the data object passed to server.emit() is cloned before it is passed to the listeners (unless an override specified by each listener). Defaults to false (data is passed as-is). */ + clone?: boolean; + /** if true, the data object passed to server.emit() must be an array and the listener method is called with each array element passed as a separate argument (unless an override specified by each listener). This should only be used when the emitted data structure is known and predictable. Defaults to false (data is emitted as a single argument regardless of its type). */ + spread?: boolean; + /** if true and the criteria object passed to server.emit() includes tags, the tags are mapped to an object (where each tag string is the key and the value is true) which is appended to the arguments list at the end (but before the callback argument if block is set). A configuration override can be set by each listener. Defaults to false. */ + tags?: boolean; + /** if true, the same event name can be registered multiple times where the second registration is ignored. Note that if the registration config is changed between registrations, only the first configuration is used. Defaults to false (a duplicate registration will throw an error). */ + shared?: boolean; +} + +/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Route + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ +// TODO: move to separate file http://stackoverflow.com/questions/43276921 + +/** + * Route configuration + * The route configuration object + * + * [See docs](https://hapijs.com/api/16.1.1#route-configuration) + * + * TODO typings check that the following refers to RouteAdditionalConfigurationOptions "Note that the options object is deeply cloned (with the exception of bind which is shallowly copied) and cannot contain any values that are unsafe to perform deep copy on." + */ +export interface RouteConfiguration { + /** the absolute path used to match incoming requests (must begin with '/'). Incoming requests are compared to the configured paths based on the connection router configuration option. The path can include named parameters enclosed in {} which will be matched against literal values in the request as described in Path parameters. */ + path: string; + /** the HTTP method. Typically one of 'GET', 'POST', 'PUT', 'PATCH', 'DELETE', or 'OPTIONS'. Any HTTP method is allowed, except for 'HEAD'. Use '*' to match against any HTTP method (only when an exact match was not found, and any match with a specific method will be given a higher priority over a wildcard match). Can be assigned an array of methods which has the same result as adding the same route with different methods manually. */ + method: HTTP_METHODS_PARTIAL | '*' | (HTTP_METHODS_PARTIAL | '*')[]; + /** an optional domain string or an array of domain strings for limiting the route to only requests with a matching host header field. Matching is done against the hostname part of the header only (excluding the port). Defaults to all hosts. */ + vhost?: string; + /** the function called to generate the response after successful authentication and validation. The handler function is described in Route handler. If set to a string, the value is parsed the same way a prerequisite server method string shortcut is processed. Alternatively, handler can be assigned an object with a single key using the name of a registered handler type and value with the options passed to the registered handler. */ + handler?: string | RouteHandler | RouteHandlerPlugins; + /** additional route options. The config value can be an object or a function that returns an object using the signature function(server) where server is the server the route is being added to and this is bound to the current realm's bind option. */ + config?: RouteAdditionalConfigurationOptions | ((server: Server) => RouteAdditionalConfigurationOptions); +} + +/** + * Route options + * Each route can be customize to change the default behavior of the request lifecycle using the following options: + * [See docs](https://hapijs.com/api/16.1.1#route-options) + */ +export interface RouteAdditionalConfigurationOptions { + /** application specific configuration.Should not be used by plugins which should use plugins[name] instead. */ + app?: any; + /** + * Authentication configuration. Value can be: + * * false to disable authentication if a default strategy is set. + * * a string with the name of an authentication strategy registered with server.auth.strategy(). + * * an object + */ + auth?: false | string | AuthOptions; + /** an object passed back to the provided handler (via this) when called. Ignored if the method is an arrow function. */ + bind?: any; + /** + * Route cache options + * if the route method is 'GET', the route can be configured to include caching directives in the response. The default Cache-Control: no-cache header can be disabled by setting cache to false. Caching can be customized using an object + * TODO check: the default is to have 'Cache-Control: no-cache', but on first reading is a contridiction as you can disabled cache and disabled no-cache by setting RouteCacheOptions to false? + */ + cache?: boolean | RouteCacheOptions; + /** an object where each key is a content-encoding name and each value is an object with the desired encoder settings. Note that decoder settings are set in payload.compression. */ + compression?: Dictionary; + /** the Cross-Origin Resource Sharing protocol allows browsers to make cross-origin API calls. CORS is required by web applications running inside a browser which are loaded from a different domain than the API server. CORS headers are disabled by default (false). To enable, set cors to true, or to an object */ + cors?: boolean | CorsConfigurationObject; + /** defined a route-level request extension points by setting the option to an object with a key for each of the desired extension points ('onRequest' is not allowed), and the value is the same as the [server.ext(events)](https://hapijs.com/api/16.1.1#serverextevents) event argument. */ + ext?: RouteExtConfigurationObject | RouteExtConfigurationObject[]; + /** defines the behavior for accessing files: */ + files?: { + /** determines the folder relative paths are resolved against. */ + relativeTo: string; + }; + /** an alternative location for the route.handler option. */ + handler?: string | RouteHandler; + /** an optional unique identifier used to look up the route using server.lookup(). Cannot be assigned to routes with an array of methods. */ + id?: string; + /** if true, the route cannot be accessed through the HTTP connection but only through the server.inject() interface with the allowInternals option set to true. Used for internal routes that should not be accessible to the outside world. Defaults to false. */ + isInternal?: boolean; + /** optional arguments passed to JSON.stringify() when converting an object or error response to a string payload. Supports the following: */ + json?: Json.StringifyArguments & { + /** string suffix added after conversion to JSON string. Defaults to no suffix. */ + suffix?: string; + }; + /** enables JSONP support by setting the value to the query parameter name containing the function name used to wrap the response payload. For example, if the value is 'callback', a request comes in with 'callback=me', and the JSON response is '{ "a":"b" }', the payload will be 'me({ "a":"b" });'. Does not work with stream responses. Headers content-type and x-content-type-options are set to text/javascript and nosniff respectively, and will override those headers even if explicitly set by response.type() */ + jsonp?: string; + /** if true, request level logging is enabled (accessible via request.getLog()). */ + log?: boolean; + /** + * determines how the request payload is processed + * [See docs](https://hapijs.com/api/16.1.1#route-options) + */ + payload?: RoutePayloadConfigurationObject; + /** plugin-specific configuration. plugins is an object where each key is a plugin name and the value is the plugin configuration. */ + plugins?: PluginSpecificConfiguration; + /** an array with [route prerequisites](https://hapijs.com/api/16.1.1#route-prerequisites) methods which are executed in serial or in parallel before the handler is called. */ + pre?: RoutePrerequisitesArray; + /** processing rules for the outgoing response */ + response?: RouteResponseConfigurationObject; + /** sets common security headers (disabled by default). To enable set security to true or to an object with the following options: See RouteSecurityConfigurationObject */ + security?: boolean | RouteSecurityConfigurationObject; + /** HTTP state management (cookies) allows the server to store information on the client which is sent back to the server with every request (as defined in RFC 6265). state supports the following options: */ + state?: { + /** determines if incoming 'Cookie' headers are parsed and stored in the request.state object. Defaults to true. */ + parse?: boolean; + /** + * determines how to handle cookie parsing errors. Allowed values are: + * * 'error' - return a Bad Request (400) error response. This is the default value. + * * 'log' - report the error but continue processing the request. + * * 'ignore' - take no action. + */ + failAction: 'error' | 'log' | 'ignore'; + }; + /** request input validation rules for various request components. When using a Joi validation object, the values of the other inputs (i.e. headers, query, params, payload, and auth) are made available under the validation context (accessible in rules as Joi.ref('$query.key')). Note that validation is performed in order (i.e. headers, params, query, payload) and if type casting is used (converting a string to number), the value of inputs not yet validated will reflect the raw, unvalidated and unmodified values. If the validation rules for headers, params, query, and payload are defined at both the routes defaults level and an individual route, the individual route settings override the routes defaults (the rules are not merged). The validate object supports: */ + validate?: RouteValidationConfigurationObject; + /** define timeouts for processing durations: */ + timeout?: { + /** response timeout in milliseconds. Sets the maximum time allowed for the server to respond to an incoming client request before giving up and responding with a Service Unavailable (503) error response. Disabled by default (false). */ + server?: boolean | number; + /** by default, node sockets automatically timeout after 2 minutes. Use this option to override this behavior. Defaults to undefined which leaves the node default unchanged. Set to false to disable socket timeouts. */ + socket?: boolean | number; + }; + + /** + * TODO decide on moving these to an extended interface of RouteAdditionalConfigurationOptions + */ + /** + * ONLY WHEN ADDING NEW ROUTES (not when setting defaults). + * route description used for generating documentation + */ + description?: string; + /** + * ONLY WHEN ADDING NEW ROUTES (not when setting defaults). + * route notes used for generating documentation + */ + notes?: string | string[]; + /** + * ONLY WHEN ADDING NEW ROUTES (not when setting defaults). + * route tags used for generating documentation + */ + tags?: string[]; +} + +/** + * Route public interface + * When route information is returned or made available as a property, it is an object with the following: + * [See docs](https://hapijs.com/api/16.1.1#route-public-interface) + */ +export interface RoutePublicInterface { + /** the route HTTP method. */ + method: string; + /** the route path. */ + path: string; + /** the route vhost option if configured. */ + vhost?: string | string[]; + /** the [active realm] [See docs](https://hapijs.com/api/16.1.1#serverrealm) associated with the route.*/ + realm: ServerRealm; + /** the [route options] [See docs](https://hapijs.com/api/16.1.1#route-options) object with all defaults applied. */ + settings: RouteAdditionalConfigurationOptions; + /** the route internal normalized string representing the normalized path. */ + fingerprint: string; + /** route authentication utilities: */ + auth: { + /** authenticates the passed request argument against the route's authentication access configuration. Returns true if the request would have passed the route's access requirements. Note that the route's authentication mode and strategies are ignored. The only match is made between the request.auth.credentials scope and entity information and the route access configuration. Also, if the route uses dynamic scopes, the scopes are constructed against the request.query and request.params which may or may not match between the route and the request's route. If this method is called using a request that has not been authenticated (yet or at all), it will return false if the route requires any authentication. */ + access(request: Request): boolean; + }; +} + +export type RouteHandlerConfig = any; + +/** + * For context [See docs](https://hapijs.com/api/16.1.1#serverhandlername-method) + * For source [See docs](https://github.com/hapijs/hapi/blob/v16.1.1/lib/handler.js#L103) + * For source [See docs](https://github.com/hapijs/hapi/blob/v16.1.1/lib/route.js#L56-L60) + * TODO check the type of `RouteHandlerConfig` is correct for `defaults`. + */ +export interface MakeRouteHandler { + (route: RoutePublicInterface, options: RouteHandlerConfig): RouteHandler; + defaults?: RouteHandlerConfig | ((method: HTTP_METHODS_PARTIAL_lowercase) => RouteHandlerConfig); +} + +/** + * [See docs](https://hapijs.com/api/16.1.1#servertablehost) > return value + */ +export interface RoutingTableEntry { + /** the connection.info the connection the table was generated for. */ + info: ServerConnectionInfo; + /** the connection labels. */ + labels: string[]; + /** an array of routes where each route contains: */ + table: Route[]; +} + +/** + * [See docs](https://hapijs.com/api/16.1.1#servertablehost) > return value + * For source [See source](https://github.com/hapijs/hapi/blob/v16.1.1/lib/route.js#L71) + */ +export interface Route { + /** + * the route config with defaults applied. + * TODO check type of RouteConfiguration here is correct + */ + settings: RouteAdditionalConfigurationOptions; + /** + * the HTTP method in lower case. + * TODO, check if it can contain 'head' or not. + */ + method: HTTP_METHODS_PARTIAL_lowercase; + /** the route path. */ + path: string; + + params: string[]; + + connection: ServerConnection; + + fingerprint: string; + + plugin?: any; + + public: RoutePublicInterface; + + server: Server; +} + +/** + * Route Prerequisites + * It is often necessary to perform prerequisite actions before the handler is called (e.g. load required reference data from a database). The route pre option allows defining such pre-handler methods. The methods are called in order. If the pre array contains another array, those methods are called in parallel. pre can be assigned a mixed array of: + * * arrays containing the elements listed below, which are executed in parallel. + * * objects see RoutePrerequisiteObjects + * * functions - same as including an object with a single method key. + * * strings - special short-hand notation for registered server methods using the format 'name(args)' (e.g. 'user(params.id)') where: + * * 'name' - the method name. The name is also used as the default value of assign. + * * 'args' - the method arguments (excluding next) where each argument is a property of the request object + * [See docs](https://hapijs.com/api/16.1.1#route-prerequisites) + * For context see RouteAdditionalConfigurationOptions > pre + * + * TODO follow up on "server methods" in "special short-hand notation for registered server methods" at https://hapijs.com/api/16.1.1#servermethodname-method-options + * TODO follow up on "request object" in "each argument is a property of the request object" at https://hapijs.com/api/16.1.1#request-object + */ +export type RoutePrerequisitesArray = RoutePrerequisitesPart[] | (RoutePrerequisitesPart[] | RoutePrerequisitesPart)[]; +export type RoutePrerequisitesPart = RoutePrerequisiteObjects | RoutePrerequisiteRequestHandler | string; + +/** + * see RoutePrerequisites > objects + */ +export interface RoutePrerequisiteObjects { + /** the function to call (or short-hand method string as described below [see RoutePrerequisitesArray]). the function signature is identical to a route handler as described in Route handler. */ + method: RoutePrerequisiteRequestHandler | string; + /** key name to assign the result of the function to within request.pre. */ + assign: string; + /* + * determines how to handle errors returned by the method. Allowed values are: + * * 'error' - returns the error response back to the client. This is the default value. + * * 'log' - logs the error but continues processing the request. If assign is used, the error will be assigned. + * * 'ignore' - takes no special action. If assign is used, the error will be assigned. + */ + failAction?: 'error' | 'log' | 'ignore'; +} + +/** + * For context see RouteAdditionalConfigurationOptions > response + */ +export interface RouteResponseConfigurationObject { + /** the default HTTP status code when the payload is empty. Value can be 200 or 204. Note that a 200 status code is converted to a 204 only at the time or response transmission (the response status code will remain 200 throughout the request lifecycle unless manually set). Defaults to 200. */ + emptyStatusCode?: number; + /** + * defines what to do when a response fails payload validation. Options are: + * * 'error' - return an Internal Server Error (500) error response. This is the default value. + * * 'log' - log the error but send the response. + * * a custom error handler function with the signature function(request, reply, source, error) where: + * * 'request' - the request object. + * * 'reply' - the continuation reply interface. + * * 'error' - the error returned from the validation schema. + * TODO update type of source once PR to hapi is concluded. + */ + failAction?: 'error' | 'log' | ((request: Request, reply: ReplyWithContinue, source: string, error: Boom.BoomError) => void); + /** if true, applies the validation rule changes to the response payload. Defaults to false. */ + modify?: boolean; + /** + * options to pass to Joi. Useful to set global options such as stripUnknown or abortEarly (the complete list is available [here](https://github.com/hapijs/joi/blob/master/API.md#validatevalue-schema-options-callback) ). + * If a custom validation function (see `schema` or `status` below) is defined then `options` can an arbitrary object that will be passed to this function as the second parameter. + * Defaults to no options. + */ + options?: ValidationOptions; + /** if false, payload range support is disabled. Defaults to true. */ + ranges?: boolean; + /** the percent of response payloads validated (0 - 100). Set to 0 to disable all validation. Defaults to 100 (all response payloads). */ + sample?: number; + /** the default response payload validation rules (for all non-error responses) */ + schema?: RouteResponseConfigurationScheme; + /** HTTP status-code-specific payload validation rules. The status key is set to an object where each key is a 3 digit HTTP status code and the value has the same definition as schema. If a response status code is not present in the status object, the schema definition is used, except for errors which are not validated by default. */ + status?: Dictionary>; +} + +/** + * the default response payload validation rules (for all non-error responses) expressed as one of: + * * true - any payload allowed (no validation performed). This is the default. + * * false - no payload allowed. + * * a Joi validation object. This will receive the request's headers, params, query, payload, and auth credentials and isAuthenticated flags as context. + * * a validation function + * + * TODO check JoiValidationObject is correct for "a Joi validation object" + * + * For context see RouteAdditionalConfigurationOptions > response > schema + * and + * For context see RouteAdditionalConfigurationOptions > response > status + */ +export type RouteResponseConfigurationScheme = boolean | JoiValidationObject | ValidationFunctionForRouteResponse; + +/** + * see RouteResponseConfigurationScheme + * + * a validation function using the signature function(value, options, next) where: + * * value - the value of the response passed to `reply(value)` in the handler. + * * options - the server validation options, merged with an object containing the request's headers, params, payload, and auth credentials object and `isAuthenticated` flag. + * * next([err, [value]]) - the callback function called when validation is completed. `value` will be used as the response value when `err` is falsy, when `value` is not `undefined`, and when `route.settings.response.modify` is `true`. If the response is already a `Boom` error it will be set as its `message` value. + */ +export interface ValidationFunctionForRouteResponse { + (value: any, options: RouteResponseValidationContext & ValidationOptions, next: ContinuationValueFunction): void; +} + +/** + * A context for route input validation via a Joi schema or validation function. + * + * This object is merged with the route response options and passed into the validation function. + * + * See https://github.com/hapijs/hapi/blob/v16.1.1/lib/validation.js#L217 + */ +export interface RouteResponseValidationContext { + context: { + /** The request headers */ + headers: Dictionary; + /** The request path parameters */ + params: any; + /** The request query parameters */ + query: any; + /** The request payload parameters */ + payload: any; + + /** Partial request authentication information */ + auth: { + /** true if the request has been successfully authenticated, otherwise false. */ + isAuthenticated: boolean; + /** the credential object received during the authentication process. The presence of an object does not mean successful authentication. */ + credentials: AuthenticatedCredentials; + }; + } +} + +/** + * For context see RouteAdditionalConfigurationOptions > security + */ +export interface RouteSecurityConfigurationObject { + /** controls the 'Strict-Transport-Security' header. If set to true the header will be set to max-age=15768000, if specified as a number the maxAge parameter will be set to that number. Defaults to true. You may also specify an object with the following fields: */ + hsts?: boolean | number | { + /** the max-age portion of the header, as a number. Default is 15768000. */ + maxAge?: number; + /** a boolean specifying whether to add the includeSubDomains flag to the header. */ + includeSubdomains?: boolean; + /** a boolean specifying whether to add the 'preload' flag (used to submit domains inclusion in Chrome's HTTP Strict Transport Security (HSTS) preload list) to the header. */ + preload?: boolean; + }; + /** controls the 'X-Frame-Options' header. When set to true the header will be set to DENY, you may also specify a string value of 'deny' or 'sameorigin'. Defaults to true. To use the 'allow-from' rule, you must set this to an object with the following fields: */ + xframe?: true | 'deny' | 'sameorigin' | { + /** may also be 'deny' or 'sameorigin' but set directly as a string for xframe */ + rule: 'allow-from'; + /** when rule is 'allow-from' this is used to form the rest of the header, otherwise this field is ignored. If rule is 'allow-from' but source is unset, the rule will be automatically changed to 'sameorigin'. */ + source: string; + }; + /** boolean that controls the 'X-XSS-PROTECTION' header for IE. Defaults to true which sets the header to equal '1; mode=block'. NOTE: This setting can create a security vulnerability in versions of IE below 8, as well as unpatched versions of IE8. See [here](https://hackademix.net/2009/11/21/ies-xss-filter-creates-xss-vulnerabilities/) and [here](https://technet.microsoft.com/library/security/ms10-002) for more information. If you actively support old versions of IE, it may be wise to explicitly set this flag to false. [Kept typing non optional to force this security related documentation to be read.] */ + xss: boolean; + /** boolean controlling the 'X-Download-Options' header for IE, preventing downloads from executing in your context. Defaults to true setting the header to 'noopen'. */ + noOpen?: boolean; + /** boolean controlling the 'X-Content-Type-Options' header. Defaults to true setting the header to its only and default option, 'nosniff' */ + noSniff?: boolean; +} + +/** + * request input validation rules for various request components. When using a Joi validation object, the values of the other inputs (i.e. headers, query, params, payload, and auth) are made available under the validation context (accessible in rules as Joi.ref('$query.key')). Note that validation is performed in order (i.e. headers, params, query, payload) and if type casting is used (converting a string to number), the value of inputs not yet validated will reflect the raw, unvalidated and unmodified values. If the validation rules for headers, params, query, and payload are defined at both the routes defaults level and an individual route, the individual route settings override the routes defaults (the rules are not merged). The validate object supports: + * For context see RouteAdditionalConfigurationOptions > validate + * TODO check JoiValidationObject is correct for "a Joi validation object" + */ +export interface RouteValidationConfigurationObject { + /** + * validation rules for incoming request headers (note that all header field names must be in lowercase to match the headers normalized by node). Values allowed: + * * true - any headers allowed (no validation performed). This is the default. + * * false - no headers allowed (this will cause all valid HTTP requests to fail). + * * a Joi validation object. + * * a validation function using the signature function(value, options, next) where: + * * value - the object containing the request headers. + * * options - the server validation options. + * * next(err, value) - the callback function called when validation is completed. `value` will be used as the `headers` value when `err` is falsy. If `next` is called with `undefined` or no arguments then the original value of `value` will be used. + */ + headers?: boolean | JoiValidationObject | ValidationFunctionForRouteInput; + /** + * validation rules for incoming request path parameters, after matching the path against the route and extracting any parameters then stored in request.params. Values allowed: + * Same as `headers`, see above. + */ + params?: boolean | JoiValidationObject | ValidationFunctionForRouteInput; + /** + * validation rules for an incoming request URI query component (the key-value part of the URI between '?' and '#'). The query is parsed into its individual key-value pairs and stored in request.query prior to validation. Values allowed: + * Same as `headers`, see above. + */ + query?: boolean | JoiValidationObject | ValidationFunctionForRouteInput; + /** + * validation rules for an incoming request payload (request body). Values allowed: + * Same as `headers`, see above, with the addition that: + * * a Joi validation object. Note that empty payloads are represented by a null value. If a validation schema is provided and empty payload are supported, it must be explicitly defined by setting the payload value to a joi schema with null allowed (e.g. Joi.object({ /* keys here * / }).allow(null)). + */ + payload?: boolean | JoiValidationObject | ValidationFunctionForRouteInput; + /** an optional object with error fields copied into every validation error response. */ + errorFields?: any; + /** + * determines how to handle invalid requests. Allowed values are: + * * 'error' - return a Bad Request (400) error response. This is the default value. + * * 'log' - log the error but continue processing the request. + * * 'ignore' - take no action. + * * a custom error handler function with the signature function(request, reply, source, error) see RouteFailFunction + */ + failAction?: 'error' | 'log' | 'ignore' | RouteFailFunction; + /** + * options to pass to Joi. Useful to set global options such as stripUnknown or abortEarly (the complete list is [available here](https://github.com/hapijs/joi/blob/master/API.md#validatevalue-schema-options-callback)). + * If a custom validation function (see `headers`, `params`, `query`, or `payload` above) is defined then `options` can an arbitrary object that will be passed to this function as the second parameter. + * Defaults to no options. + */ + options?: ValidationOptions; +} + +/** + * a validation function using the signature function(value, options, next) where: + * For context see RouteAdditionalConfigurationOptions > validate (RouteValidationConfigurationObject) + * + * Also see ValidationFunctionForRouteResponse + * @param value - the object containing the request headers, query, path params or payload. + * @param options - the server validation options. + * @param next([err, [value]]) - the callback function called when validation is completed. + */ +export interface ValidationFunctionForRouteInput { + (value: any, options: RouteInputValidationContext & ValidationOptions, next: ContinuationValueFunction): void; +} + +/** + * A context for route input validation via a Joi schema or validation function. + * + * This object is merged with the route validation options and passed into the validation function. + * + * See https://github.com/hapijs/hapi/blob/v16.1.1/lib/validation.js#L122 + */ +export interface RouteInputValidationContext { + context: { + // These are only set when *not* validating the respective source (e.g. params, query and payload are set when validating headers): + // See https://github.com/hapijs/hapi/blob/v16.1.1/lib/validation.js#L132 + headers?: Dictionary; + params?: any; + query?: any; + payload?: any; + + /** The request authentication information */ + auth: RequestAuthenticationInformation; + } +} + +/** + * a custom error handler function with the signature 'function(request, reply, source, error)` + * @param request - the request object. + * @param reply - the continuation reply interface. + * @param source - the source of the invalid field (e.g. 'headers', 'params', 'query', 'payload'). + * @param error - the error object prepared for the client response (including the validation function error under error.data). + */ +export interface RouteFailFunction { + (request: Request, reply: ReplyWithContinue, source: string, error: any): void; +} + +/** + * optional cookie settings + * [See docs](https://hapijs.com/api/16.1.1#serverstatename-options) + * Related to see ConnectionConfigurationServerDefaults + */ +export interface ServerStateCookieConfiguationObject { + /** time-to-live in milliseconds. Defaults to null (session time-life - cookies are deleted when the browser is closed). */ + ttl?: number | null; + /** sets the 'Secure' flag. Defaults to true. */ + isSecure?: boolean; + /** sets the 'HttpOnly' flag. Defaults to true. */ + isHttpOnly?: boolean; + /** + * sets the 'SameSite' flag where the value must be one of: + * * false - no flag. + * * 'Strict' - sets the value to 'Strict' (this is the default value). + * * 'Lax' - sets the value to 'Lax'. + */ + isSameSite?: false | 'Strict' | 'Lax'; + /** the path scope. Defaults to null (no path). */ + path?: string | null; + /** the domain scope. Defaults to null (no domain). */ + domain?: string | null; + /** + * if present and the cookie was not received from the client or explicitly set by the route handler, the cookie is automatically added to the response with the provided value. The value can be a function with signature function(request, next) where: + * * request - the request object. + * * next - the continuation function using the function(err, value) signature. + */ + autoValue?(request: Request, next: ContinuationValueFunction): void; + /** + * encoding performs on the provided value before serialization. Options are: + * * 'none' - no encoding. When used, the cookie value must be a string. This is the default value. + * * 'base64' - string value is encoded using Base64. + * * 'base64json' - object value is JSON-stringified then encoded using Base64. + * * 'form' - object value is encoded using the x-www-form-urlencoded method. + * * 'iron' - Encrypts and sign the value using iron. + */ + encoding?: 'none' | 'base64' | 'base64json' | 'form' | 'iron'; + /** + * an object used to calculate an HMAC for cookie integrity validation. This does not provide privacy, only a mean to verify that the cookie value was generated by the server. Redundant when 'iron' encoding is used. Options are: + * * integrity - algorithm options. Defaults to require('iron').defaults.integrity. + * * password - password used for HMAC key generation (must be at least 32 characters long). + */ + sign?: { + integrity?: any; // TODO make iron definitions and getting typing from iron + password: string; + }; + /** password used for 'iron' encoding (must be at least 32 characters long). */ + password?: string; + /** options for 'iron' encoding. Defaults to require('iron').defaults. */ + iron?: any; // TODO make iron definitions and getting typing from iron + /** if true, errors are ignored and treated as missing cookies. */ + ignoreErrors?: boolean; + /** if true, automatically instruct the client to remove invalid cookies. Defaults to false. */ + clearInvalid?: boolean; + /** if false, allows any cookie value including values in violation of RFC 6265. Defaults to true. */ + strictHeader?: boolean; + /** used by proxy plugins (e.g. h2o2). */ + passThrough?: any; +} + +/** + * [See docs](https://hapijs.com/api/16.1.1#serverconnections) + */ +export interface ServerConnection { + /** settings - the connection configuration object passed to server.connection() after applying the server defaults. */ + settings: ServerConnectionOptions; + /** server - the connection's Server object. */ + server: Server; + /** type - set to 'tcp' is the connection is listening on a TCP port, otherwise to 'socket'(a UNIX domain socket or a Windows named pipe). */ + type: 'tcp' | 'socket'; + /** + * registrations + * Described [See docs](https://hapijs.com/api/16.1.1#serverregistrations) "When the server contains more than one connection, each server.connections array member provides its own connection.registrations." + */ + registrations: ServerRegisteredPlugins; + /** states - TODO contribute docs to hapi if they want, and then update type here */ + states: any; + /** auth - TODO contribute docs to hapi if they want, and then update type here */ + auth: any; + /** + * plugins + * TODO contribute docs to hapi if they want. Assuming similar to `registrations`, `listener`, `info`, etc + */ + plugins: PluginsStates; + /** + * app + * TODO contribute docs to hapi if they want. Assuming similar to `registrations`, `listener`, `info`, etc + */ + app: any; + /** Described in server.listener [See docs](https://hapijs.com/api/16.1.1#serverlistener) */ + listener: ServerListener; + /** Described in server.info [See docs](https://hapijs.com/api/16.1.1#serverinfo) */ + info: ServerConnectionInfo; + /** Described in server.inject [See docs](https://hapijs.com/api/16.1.1#serverinjectoptions-callback) */ + inject(options: string | InjectedRequestOptions, callback: (res: InjectedResponseObject) => void): void; + inject(options: string | InjectedRequestOptions, ): Promise; + /** Mentioned but not documented under server.connections [See docs](https://hapijs.com/api/16.1.1#serverconnections) */ + table(host?: string): Route[]; + /** Described in server.table [See docs](https://hapijs.com/api/16.1.1#serverlookupid) */ + lookup(id: string): RoutePublicInterface | null; + /** Described in server.table [See docs](https://hapijs.com/api/16.1.1#servermatchmethod-path-host) */ + match(method: HTTP_METHODS, path: string, host?: string): RoutePublicInterface | null; +} + +/** + * [See docs](https://hapijs.com/api/16.1.1#serverinfo) + */ +export interface ServerConnectionInfo { + /** a unique connection identifier (using the format '{hostname}:{pid}:{now base36}'). */ + id: string; + /** the connection creation timestamp. */ + created: number; + /** the connection start timestamp (0 when stopped). */ + started: number; + /** + * the connection port based on the following rules: + * * the configured port value before the server has been started. + * * the actual port assigned when no port is configured or set to 0 after the server has been started. + * TODO check this type. What happens when socket is a UNIX domain socket or Windows named pipe? + */ + port: number | string; + /** the host name the connection was configured to. Defaults to the operating system hostname when available, otherwise 'localhost'. */ + host: string; + /** the active IP address the connection was bound to after starting. Set to undefined until the server has been started or when using a non TCP port (e.g. UNIX domain socket). */ + address: undefined | string; + /** the protocol used. 'socket' when UNIX domain socket or Windows named pipe. */ + protocol: 'http' | 'https' | 'socket'; + /** a string representing the connection (e.g. 'http://example.com:8080' or 'socket:/unix/domain/socket/path'). Contains the uri setting if provided, otherwise constructed from the available settings. If no port is available or set to 0, the uri will not include a port component. */ + uri: string; +} + +/** + * [See docs](https://hapijs.com/api/16.1.1#serverlistener) + */ +export type ServerListener = http.Server; + +/** + * server.realm + * The realm object contains server-wide or plugin-specific state that can be shared across various methods. For example, when calling server.bind(), the active realm settings.bind property is set which is then used by routes and extensions added at the same level (server root or plugin). Realms are a limited version of a sandbox where plugins can maintain state used by the framework when adding routes, extensions, and other properties. + * [See docs](https://hapijs.com/api/16.1.1#serverrealm) + */ +export interface ServerRealm { + /** when the server object is provided as an argument to the plugin register() method, modifiers provides the registration preferences passed the server.register() method and includes: */ + modifiers: { + /** routes preferences: */ + route: { + /** the route path prefix used by any calls to server.route() from the server. Note that if a prefix is used and the route path is set to '/', the resulting path will not include the trailing slash. */ + prefix: string; + /** the route virtual host settings used by any calls to server.route() from the server. */ + vhost: string; + } + }; + /** the active plugin name (empty string if at the server root). */ + plugin: string; + /** the plugin options object passed at registration. */ + pluginOptions: any; // OptionsPassedToPlugin; + /** plugin-specific state to be shared only among activities sharing the same active state. plugins is an object where each key is a plugin name and the value is the plugin state. */ + plugins: PluginsStates; + /** settings overrides (from RouteAdditionalConfigurationOptions) */ + settings: { + files: { + relativeTo: string; + }; + bind: any; + }; +} + +/** + * [See docs](https://hapijs.com/api/16.1.1#serverregistrations) + */ +export interface ServerRegisteredPlugins { + [pluginName: string]: ServerRegisteredPlugin; +} + +/** + * [See docs](https://hapijs.com/api/16.1.1#serverregistrations) + */ +export interface ServerRegisteredPlugin { + /** the plugin version. */ + version: string; + /** the plugin name. */ + name: string; + /** + * options used to register the plugin. + * TODO update with outcome of: https://github.com/hapijs/hapi/pull/3479 + */ + options: any; // OptionsPassedToPlugin; + /** plugin registration attributes. */ + attributes: PluginAttributes; +} + +export interface ServerAuth { + /** + * server.auth.api + * An object where each key is a strategy name and the value is the exposed strategy API. Available on when the authentication scheme exposes an API by returning an api key in the object returned from its implementation function. + * When the server contains more than one connection, each server.connections array member provides its own connection.auth.api object. + * [See docs](https://hapijs.com/api/16.1.1#serverauthapi) + */ + api: Dictionary; + /** + * server.auth.default + * Sets a default strategy which is applied to every route + * The default does not apply when the route config specifies auth as false, or has an authentication strategy configured (contains the strategy or strategies authentication settings). Otherwise, the route authentication config is applied to the defaults. + * Note that if the route has authentication config, the default only applies at the time of adding the route, not at runtime. This means that calling default() after adding a route with some authentication config will have no impact on the routes added prior. However, the default will apply to routes added before default() is called if those routes lack any authentication config. + * The default auth strategy configuration can be accessed via connection.auth.settings.default. To obtain the active authentication configuration of a route, use connection.auth.lookup(request.route). + * [See docs](https://hapijs.com/api/16.1.1#serverauthdefaultoptions) + */ + default(options: string | AuthOptions): void; + /** + * server.auth.scheme + * Registers an authentication scheme + * [See docs](https://hapijs.com/api/16.1.1#serverauthschemename-scheme) + * @param name the scheme name. + * @param scheme the method implementing the scheme with signature function(server, options) see ServerAuthScheme + */ + scheme(name: string, scheme: ServerAuthScheme): void; + /** + * Registers an authentication strategy + * [See docs](https://hapijs.com/api/16.1.1#serverauthstrategyname-scheme-mode-options) + * @param name the strategy name. + * @param scheme the scheme name (must be previously registered using server.auth.scheme()). + * @param mode if set to true (which is the same as 'required') or to a valid authentication mode ('required', 'optional', 'try'), the scheme is automatically assigned as the default strategy for any route without an auth config. Can only be assigned to a single server strategy. Defaults to false (no default settings). + * @param options scheme options based on the scheme requirements. + */ + strategy(name: string, scheme: string, options?: any): void; + strategy(name: string, scheme: string, mode: boolean | 'required' | 'optional' | 'try', options?: any): void; + /** + * Tests a request against an authentication strategy + * Note that the test() method does not take into account the route authentication configuration. It also does not perform payload authentication. It is limited to the basic strategy authentication execution. It does not include verifying scope, entity, or other route properties. + * [See docs](https://hapijs.com/api/16.1.1#serverauthteststrategy-request-next) + * @param strategy - the strategy name registered with server.auth.strategy(). + * @param request - the request object. + * @param next - the callback function with signature function(err, credentials) where: + * * err - the error if authentication failed. + * * credentials - the authentication credentials object if authentication was successful. + */ + test(strategy: string, request: Request, next: (err: Error | null, credentials: AuthenticatedCredentials) => void): void; +} + +export type Strategy = any; +export type SchemeSettings = any; + +/** + * the method implementing the scheme with signature function(server, options) where: + * [See docs](https://hapijs.com/api/16.1.1#serverauthschemename-scheme) + * @param server a reference to the server object the scheme is added to. + * @param options optional scheme settings used to instantiate a strategy. + */ +export interface ServerAuthScheme { + (server: Server, options: SchemeSettings): SchemeMethodResult; +} + +/** + * The scheme method must return an object with the following + * [See docs](https://hapijs.com/api/16.1.1#serverauthschemename-scheme) + */ +export interface SchemeMethodResult { + /** optional object which is exposed via the server.auth.api object. */ + api?: Strategy; + /** + * required function called on each incoming request configured with the authentication scheme + * When the scheme authenticate() method implementation calls reply() with an error condition, the specifics of the error affect whether additional authentication strategies will be attempted (if configured for the route). If the err passed to the reply() method includes a message, no additional strategies will be attempted. If the err does not include a message but does include the scheme name (e.g. Boom.unauthorized(null, 'Custom')), additional strategies will be attempted in the order of preference (defined in the route configuration). If authentication fails the scheme names will be present in the 'WWW-Authenticate' header. + * @param request the request object. + * @param reply the reply interface the authentication method must call when done authenticating the request + */ + authenticate(request: Request, reply: ReplySchemeAuth): void; + /** + * optional function called to authenticate the request payload + * When the scheme payload() method returns an error with a message, it means payload validation failed due to bad payload. If the error has no message but includes a scheme name (e.g. Boom.unauthorized(null, 'Custom')), authentication may still be successful if the route auth.payload configuration is set to 'optional'. + * @param request the request object. + * @param reply is called if authentication failed + */ + payload?(request: Request, reply: ReplySchemeAuthOfPayload): void; + /** + * optional function called to decorate the response with authentication headers before the response headers or payload is written where: + * @param request the request object. + * @param reply is called if an error occured + */ + response?(request: Request, reply: ReplySchemeAuthDecorateResponse): void; + /** an optional object with the following keys: */ + options?: { + /** if true, requires payload validation as part of the scheme and forbids routes from disabling payload auth validation. Defaults to false. */ + payload?: boolean; + }; +} + +export interface ServerCacheMethod { + /** + * Provisions a cache segment within the server cache facility + * [See docs](https://hapijs.com/api/16.1.1#servercacheoptions) + */ + (options: CatboxServerCacheConfiguration): Catbox.Policy; + /** + * Provisions a server cache as described in server.cache + * If no callback is provided, a Promise object is returned. + * Note that if the server has been initialized or started, the cache will be automatically started to match the state of any other provisioned server cache. + * [See docs](https://hapijs.com/api/16.1.1#servercacheprovisionoptions-callback) + * @param options same as the server cache configuration options. + * @param callback the callback method when cache provisioning is completed or failed with the signature function(err) where: + * * err - any cache startup error condition. + */ + provision(options: CatboxServerCacheConfiguration): Promise; + provision(options: CatboxServerCacheConfiguration, callback: (err?: Error) => void): void; +} + +/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Request + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ +// TODO: move to separate file http://stackoverflow.com/questions/43276921 + +/** + * Request object + * The request object is created internally for each incoming request. It is different from the node.js request object received from the HTTP server callback (which is available in request.raw.req). The request object methods and properties change throughout the request lifecycle. + * [See docs](https://hapijs.com/api/16.1.1#request-object) + * [See docs](https://hapijs.com/api/16.1.1#request-properties) + */ +export class Request extends Podium { + /** application-specific state. Provides a safe place to store application data without potential conflicts with the framework. Should not be used by plugins which should use plugins[name]. */ + app: any; + /** authentication information */ + auth: RequestAuthenticationInformation; + /** the connection the request was received by. */ + connection: ServerConnection; + /** the node domain object used to protect against exceptions thrown in extensions, handlers and route prerequisites. Can be used to manually bind callback functions otherwise bound to other domains. Set to null when the server useDomains options is false. */ + domain: domain.Domain | null; + /** the raw request headers (references request.raw.headers). */ + headers: Dictionary; + /** a unique request identifier (using the format '{now}:{connection.info.id}:{5 digits counter}').*/ + id: string; + /** request information */ + info: { + /** the request preferred encoding. */ + acceptEncoding: string; + /** if CORS is enabled for the route, contains the following: */ + cors: { + /** + * true if the request 'Origin' header matches the configured CORS restrictions. Set to false if no 'Origin' header is found or if it does not match. Note that this is only available after the 'onRequest' extension point as CORS is configured per-route and no routing decisions are made at that point in the request lifecycle. + * Note: marking as optional as "... this is only available after ..." + */ + isOriginMatch?: boolean; + }; + /** content of the HTTP 'Host' header (e.g. 'example.com:8080'). */ + host: string; + /** the hostname part of the 'Host' header (e.g. 'example.com'). */ + hostname: string; + /** request reception timestamp. */ + received: number; + /** content of the HTTP 'Referrer' (or 'Referer') header. */ + referrer: string; + /** remote client IP address. */ + remoteAddress: string; + /** + * remote client port. + * Set to string in casethey're requesting from a UNIX domain socket. + * TODO, what type does Hapi return, should this be number | string? + */ + remotePort: string; + /** request response timestamp (0 is not responded yet). */ + responded: number; + }; + /** the request method in lower case (e.g. 'get', 'post'). */ + method: string; + /** the parsed content-type header. Only available when payload parsing enabled and no payload error occurred. */ + mime: string; + /** an object containing the values of params, query, and payload before any validation modifications made. Only set when input validation is performed. */ + orig: { + params: any; + query: any; + payload: any; + }; + /** an object where each key is a path parameter name with matching value as described in Path parameters [See docs](https://hapijs.com/api/16.1.1#path-parameters). */ + params: Dictionary; + /** an array containing all the path params values in the order they appeared in the path. */ + paramsArray: string[]; + /** the request URI's pathname [See docs](https://nodejs.org/api/url.html#url_urlobject_pathname) component. */ + path: string; + /** + * the request payload based on the route payload.output and payload.parse settings. + * TODO check this typing and add references / links. + */ + payload: stream.Readable | Buffer | any; + /** plugin-specific state. Provides a place to store and pass request-level plugin data. The plugins is an object where each key is a plugin name and the value is the state. */ + plugins: PluginsStates; + /** an object where each key is the name assigned by a route prerequisites function. The values are the raw values provided to the continuation function as argument. For the wrapped response object, use responses. */ + pre: Object; + /** the response object when set. The object can be modified but must not be assigned another object. To replace the response with another from within an extension point, use reply(response) to override with a different response. Contains null when no response has been set (e.g. when a request terminates prematurely when the client disconnects). */ + response: Response | null; + /** same as pre but represented as the response object created by the pre method. */ + preResponses: Object; + /** + * by default the object outputted from [node's URL parse()](https://nodejs.org/docs/latest/api/url.html#url_urlobject_query) method. + * Might also be set indirectly via [request.setUrl](https://github.com/DefinitelyTyped/DefinitelyTyped/pull/17354#requestseturlurl-striptrailingslash) in which case it may be + * a string (if url is set to an object with the query attribute as an unparsed string). + */ + query: any; + /** an object containing the Node HTTP server objects. **Direct interaction with these raw objects is not recommended.** */ + raw: { + req: http.IncomingMessage; // Or http.ClientRequest http://www.apetuts.com/tutorial/node-js-http-client-request-class/ ? + res: http.ServerResponse; + }; + /** + * the route public interface. + * Optional due to "request.route is not yet populated at this point." [See docs](https://hapijs.com/api/16.1.1#request-lifecycle) + */ + route?: RoutePublicInterface; + /** the server object. */ + server: Server; + /** an object containing parsed HTTP state information (cookies) where each key is the cookie name and value is the matching cookie content after processing using any registered cookie definition. */ + state: Dictionary; + /** the parsed request URI */ + url: url.Url; + + /** + * request.setUrl(url, [stripTrailingSlash]) + * Available only in 'onRequest' extension methods. + * Changes the request URI before the router begins processing the request + * [See docs](https://hapijs.com/api/16.1.1#requestseturlurl-striptrailingslash) + * @param url the new request URI. If url is a string, it is parsed with node's URL parse() method. url can also be set to an object compatible with node's URL parse() method output. + * @param stripTrailingSlash if true, strip the trailing slash from the path. Defaults to false. + */ + setUrl(url: string | url.Url, stripTrailingSlash?: boolean): void; + /** + * request.setMethod(method) + * Available only in 'onRequest' extension methods. + * Changes the request method before the router begins processing the request + * [See docs](https://hapijs.com/api/16.1.1#requestsetmethodmethod) + * @param method is the request HTTP method (e.g. 'GET'). + */ + setMethod(method: HTTP_METHODS): void; + /** + * request.generateResponse(source, [options]) + * Always available. + * Returns a response which you can pass into the reply interface where: + * [See docs](https://hapijs.com/api/16.1.1#requestgenerateresponsesource-options) + * @param source the object to set as the source of the reply interface. TODO, submit a PR to clarify this doc, from the source code it's clear that "the object to set" refers to something of type `ReplyValue` i.e. that can be null, string, number, object, Stream, Promise, or Buffer. + * @param options options for the method, optional. Not documented yet, perhaps not very important. + */ + generateResponse(source?: ReplyValue, options?: {marshal?: any; prepare?: any; close?: any; variety?: any}): Response; + /** + * request.log(tags, [data, [timestamp]]) + * Always available. + * Logs request-specific events. When called, the server emits a 'request' event which can be used by other listeners or plugins. + * Any logs generated by the server internally will be emitted only on the 'request-internal' channel and will include the event.internal flag set to true. + * [See docs](https://hapijs.com/api/16.1.1#requestlogtags-data-timestamp) + * @param tags a string or an array of strings (e.g. ['error', 'database', 'read']) used to identify the event. Tags are used instead of log levels and provide a much more expressive mechanism for describing and filtering events. + * @param data an optional message string or object with the application data being logged. If data is a function, the function signature is function() and it called once to generate (return value) the actual data emitted to the listeners. + * @param timestamp an optional timestamp expressed in milliseconds. Defaults to Date.now() (now). + */ + log(tags: string | string[], data?: string | Object | (() => string | Object), timestamp?: number): void; + /** + * request.getLog([tags], [internal]) + * Always available. + * Returns an array containing the events matching any of the tags specified (logical OR) + * Note that this methods requires the route log configuration set to true. + * [See docs](https://hapijs.com/api/16.1.1#requestgetlogtags-internal) + * @param tags is a single tag string or array of tag strings. If no tags specified, returns all events. + * @param internal filters the events to only those with a matching event.internal value. If true, only internal logs are included. If false, only user event are included. Defaults to all events (undefined). + */ + getLog(tags?: string | string[], internal?: boolean): string[]; + getLog(internal?: boolean): string[]; + /** + * request.tail([name]) + * Available until immediately after the 'response' event is emitted. + * Adds a request tail which has to complete before the request lifecycle is complete. + * Returns a tail function which must be called when the tail activity is completed. + * Tails are actions performed throughout the request lifecycle, but which may end after a response is sent back to the client. For example, a request may trigger a database update which should not delay sending back a response. However, it is still desirable to associate the activity with the request when logging it (or an error associated with it). + * When all tails completed, the server emits a 'tail' event. + * [See docs](https://hapijs.com/api/16.1.1#requesttailname) + * @param name an optional tail name used for logging purposes. + */ + tail(name?: string): (() => void); + /** + * The server.decorate('request', ...) method can modify this prototype/interface. + * Have disabled these typings as there is a better alternative, see example in: tests/server/decorate.ts + * [And discussion here](https://github.com/DefinitelyTyped/DefinitelyTyped/issues/14517#issuecomment-298891630) + */ + // [index: string]: any; +} + +export interface RequestAuthenticationInformation { + /** true if the request has been successfully authenticated, otherwise false. */ + isAuthenticated: boolean; + /** the credential object received during the authentication process. The presence of an object does not mean successful authentication. */ + credentials: any; + /** an artifact object received from the authentication strategy and used in authentication-related actions. */ + artifacts: any; + /** the route authentication mode. */ + mode: string; + /** the authentication error is failed and mode set to 'try'. */ + error: Error; +} + +export type HTTP_METHODS_PARTIAL_lowercase = 'get' | 'post' | 'put' | 'patch' | 'delete' | 'options'; +export type HTTP_METHODS_PARTIAL = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | HTTP_METHODS_PARTIAL_lowercase; +export type HTTP_METHODS = 'HEAD' | 'head' | HTTP_METHODS_PARTIAL; + +/** + * Request events + * The request object supports the following events: + * * 'peek' - emitted for each chunk of payload data read from the client connection. The event method signature is function(chunk, encoding). + * * 'finish' - emitted when the request payload finished reading. The event method signature is function (). + * * 'disconnect' - emitted when a request errors or aborts unexpectedly. + * [See docs](https://hapijs.com/api/16.1.1#request-events) + */ +export type RequestEventTypes = 'peek' | 'finish' | 'disconnect'; + +/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Handler functions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ +// TODO: move to separate file http://stackoverflow.com/questions/43276921 + +/** + * Extending RouteConfiguration.handler + * + * The hapi documentation allows for the RouteConfiguration.handler type to have + * `{[pluginName: string]: pluginOptions}` + * "handler can be assigned an object with a single key using the name of a registered handler type and value with the options passed to the registered handler" + * This can be provided by extending the hapi module definition as follows, + * see h2o2 for example: + * + * declare module 'hapi' { + * interface RouteHandlerPlugins { + * proxy?: ... + */ +export interface RouteHandlerPlugins { +} +/** + * The route handler function uses the signature function(request, reply) (NOTE: do not use a fat arrow style function for route handlers as they do not allow context binding and will cause problems when used in conjunction with server.bind) where: + * * request - is the incoming request object (this is not the node.js request object). + * * reply - the reply interface the handler must call to set a response and return control back to the framework. + * [See docs](https://hapijs.com/api/16.1.1#route-handler) + * Same function signature used by request extension point used in server.ext(event), see ServerExtConfigurationObject.method + */ +export interface RouteHandler { + (request: Request, reply: ReplyNoContinue): void; + // (request: Request, reply: StrictReply): void; +} + +/** + * "the function to call, the function signature is identical to a route handler as described in Route handler." + * [See docs](https://hapijs.com/api/16.1.1#route-prerequisites) Route prerequisites + */ +export type RoutePrerequisiteRequestHandler = RouteHandler; + +/** + * request extension points: function(request, reply) where + * this - the object provided via options.bind or the current active context set with server.bind(). + * [See docs](https://hapijs.com/api/16.1.1#serverextevents) + * @param request the request object. + * @param reply the reply interface which is used to return control back to the framework. To continue normal execution of the request lifecycle, reply.continue() must be called. If the extension type is 'onPostHandler' or 'onPreResponse', a single argument passed to reply.continue() will override the current set response (including all headers) but will not stop the request lifecycle execution. To abort processing and return a response to the client, call reply(value) where value is an error or any other valid response. + */ +export interface ServerExtRequestHandler { + (request: Request, reply: ReplyWithContinue): void; +} + +/** + * Used by various extensions to handle a request and + * synchronously return a result of some form. + * + * Left in for backwards compatibility of typings but according to the + * [DefinitelyTyped Readme under common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped#common-mistakes) + * it talks about not using generic types unless the type was used in typing one + * or more of the function arguments. Using it to type the return was suggested + * to be the same as a type assertion. + */ +export interface RequestHandler { + (request: Request): T; +} + +/** + * Used by server extension points + * err can be `Boom` error or Error that will be wrapped as a `Boom` error + * For source [See code](https://github.com/hapijs/hapi/blob/v16.1.1/lib/reply.js#L109-L118) + * For source [See code](https://github.com/hapijs/hapi/blob/v16.1.1/lib/response.js#L60-L65) + */ +export interface ContinuationFunction { + (err?: Boom.BoomError): void; +} +/** + * For source [See docs](https://github.com/hapijs/hapi/blob/v16.1.1/lib/response.js#L60-L65) + * TODO Can value be typed with a useful generic? + */ +export interface ContinuationValueFunction { + (err: Boom.BoomError): void; + (err: null | undefined, value: any): void; + (): void; +} + +/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Reply functions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ +// TODO: move to separate file http://stackoverflow.com/questions/43276921 + +/** + * Typings listed explicitly here [See docs](https://hapijs.com/api/16.1.1#replyerr-result) + * Typings also described in part here [See docs](https://hapijs.com/api/16.1.1#response-object) + */ +export type ReplyValue = _ReplyValue | Promise<_ReplyValue>; +export type _ReplyValue = null | undefined | string | number | boolean | Buffer | Error | stream.Stream | Object; // | array; + +/** + * Reply interface + * reply([err], [result]) + * Concludes the handler activity by setting a response and returning control over to the framework + * When reply() is called with an error or result response, that value is used as the response sent to the client. When reply() is called within a prerequisite, the value is saved for future use and is not used as the response. In all other places except for the handler, calling reply() will be considered an error and will abort the request lifecycle, jumping directly to the 'onPreResponse' event. + * To return control to the framework within an extension or other places other than the handler, without setting a response, the method reply.continue() must be called. Except when used within an authentication strategy, or in an 'onPostHandler' or 'onPreResponse' extension, the reply.continue() must not be passed any argument or an exception is thrown. + * [See docs](https://hapijs.com/api/16.1.1#reply-interface) + * [See docs](https://hapijs.com/api/16.1.1#replyerr-result) + * + * NOTE: modules should extend this interface to expose reply.Nnn methods + */ +export interface Base_Reply { + (err?: ReplyValue): Response; + (err: null, result?: ReplyValue): Response; + /** the active realm associated with the route. */ + realm: ServerRealm; + /** the request object */ + request: Request; + + /** + * reply.entity(options) + * Sets the response 'ETag' and 'Last-Modified' headers and checks for any conditional request headers to decide if the response is going to qualify for an HTTP 304 (Not Modified). If the entity values match the request conditions, reply.entity() returns control back to the framework with a 304 response. Otherwise, it sets the provided entity headers and returns null. + * Returns a response object if the reply is unmodified or null if the response has changed. If null is returned, the developer must call reply() to continue execution. If the response is not null, the developer must not call reply(). + * [See docs](https://hapijs.com/api/16.1.1#replyentityoptions) + * @param options a required configuration object with: + * * etag - the ETag string. Required if modified is not present. Defaults to no header. + * * modified - the Last-Modified header value. Required if etag is not present. Defaults to no header. + * * vary - same as the response.etag() option. Defaults to true. + */ + entity(options: {etag?: string, modified?: string, vary?: boolean}): Response | null; + /** + * reply.close([options]) + * Concludes the handler activity by returning control over to the router and informing the router that a response has already been sent back directly via request.raw.res and that no further response action is needed. Supports the following optional options: + * The response flow control rules do not apply. + * [See docs](https://hapijs.com/api/16.1.1#replycloseoptions) + * @param options options object: + * * end - if false, the router will not call request.raw.res.end()) to ensure the response was ended. Defaults to true. + */ + close(options?: {end?: boolean}): void; + /** + * reply.redirect(uri) + * Redirects the client to the specified uri. Same as calling reply().redirect(uri). + * The response flow control rules apply. + * Sets an HTTP redirection response (302) and decorates the response with additional methods for + * changing to a permanent or non-rewritable redirect is also available see response object redirect for more information. + * [See docs](https://hapijs.com/api/16.1.1#replyredirecturi) + * @param uri an absolute or relative URI used to redirect the client to another resource. + */ + redirect(uri: string): ResponseRedirect; + /** + * reply.response(result) + * Shorthand for calling `reply(null, result)`, replies with the response set to `result`. + * [See docs](https://hapijs.com/api/16.1.1#replyresponseresult) + * TODO likely to change. Await approval of pull request to Hapi docs. + */ + response(result: ReplyValue): Response; + /** + * Sets a cookie on the response + * [See docs](https://hapijs.com/api/16.1.1#reply) + * TODO likely to change. Await approval of pull request to Hapi docs. + */ + state(name: string, value: any, options?: any): void; + /** + * Clears a cookie on the response + * [See docs](https://hapijs.com/api/16.1.1#reply) + * TODO likely to change. Await approval of pull request to Hapi docs. + */ + unstate(name: string, options?: any): void; + /** + * The server.decorate('reply', ...) method can modify this prototype/interface. + * Have disabled these typings as there is a better alternative, see example in: tests/server/decorate.ts + * [And discussion here](https://github.com/DefinitelyTyped/DefinitelyTyped/issues/14517#issuecomment-298891630) + */ + // [index: string]: any; +} +/** + * reply.continue([result]) + * Returns control back to the framework without ending the request lifecycle + * [See docs](https://hapijs.com/api/16.1.1#replycontinueresult) + * [See docs](https://hapijs.com/api/16.1.1#replyerr-result) "With the exception of the handler function, all other methods provide the reply.continue() method which instructs the framework to continue processing the request without setting a response." + * @param result if called in the handler, prerequisites, or extension points other than the 'onPreHandler' and 'onPreResponse', the result argument is not allowed and will throw an exception if present. If called within an authentication strategy, it sets the authenticated credentials. If called by the 'onPreHandler' or 'onPreResponse' extensions, the result argument overrides the current response including all headers, and returns control back to the framework to continue processing any remaining extensions. + */ +export interface Continue_Reply { + continue(result?: ReplyValue): Response | undefined; +} + +/** + * [See docs](https://hapijs.com/api/16.1.1#serverauthschemename-scheme) > authenticate. + * Also [See docs](https://hapijs.com/api/16.1.1#replyerr-result). + * TODO check it has Base_Reply methods and properties + */ +export interface ReplySchemeAuth extends Base_Reply { + /** + * This function is called if authentication failed. + * TODO, check type the `response` parameter. In https://hapijs.com/api/16.1.1#replyerr-result it is referred to as "null" but this seems to be for a third scenario where it is "used to return both an error and credentials in the authentication methods" then "reply() must be called with three arguments function(err, null, data)" + * @param err any authentication error. + * @param response any authentication response action such as redirection. Ignored if err is present, otherwise required. + * @param result an object containing: + * * credentials the authenticated credentials. + * * artifacts optional authentication artifacts. + */ + (err: Error | null, response: AnyAuthenticationResponseAction | null, result: AuthenticationResult): void; + /** + * is called if authentication succeeded + * @param result same object as result above. + */ + continue(result: AuthenticationResult): void; +} +/** + * Typing as any as it's not yet clear what type this argument takes. + * "any authentication response action such as redirection" is it equivalent to + * `ReplyValue` ? + * [See docs](https://hapijs.com/api/16.1.1#serverauthschemename-scheme) + * TODO research hapi source and type this. + */ +export type AnyAuthenticationResponseAction = any; +/** [See docs](https://hapijs.com/api/16.1.1#serverauthschemename-scheme) */ +export interface AuthenticationResult { + credentials?: AuthenticatedCredentials; + artifacts?: any; +} +export interface AuthenticatedCredentials { + // Disabled to allow typing within a project + // [index: string]: any; +} + +/** + * [See docs](https://hapijs.com/api/16.1.1#serverauthschemename-scheme) > payload + * TODO check it has Base_Reply methods and properties + */ +export interface ReplySchemeAuthOfPayload extends Base_Reply { + /** + * function called to authenticate the request payload where: + * @param err any authentication error. + * @param response any authentication response action such as redirection. Ignored if err is present, otherwise required. + */ + (err: Error | null, response: AnyAuthenticationResponseAction): void; + /** is called if payload authentication succeeded */ + continue(): void; +} + +/** + * [See docs](https://hapijs.com/api/16.1.1#serverauthschemename-scheme) > response + * TODO check it has Base_Reply methods and properties + */ +export interface ReplySchemeAuthDecorateResponse extends Base_Reply { + /** + * is called if an error occurred + * @param err any authentication error. + * @param response any authentication response to send instead of the current response. Ignored if err is present, otherwise required. + */ + (err?: Error, response?: ReplyValue): void; + /** is called if the operation succeeded. */ + continue(): void; +} + +export interface ReplyWithContinue extends Continue_Reply, Base_Reply {} + +export interface ReplyNoContinue extends Base_Reply {} + +// TODO assess use and usefulness of StrictReply + +// Concludes the handler activity by setting a response and returning control over to the framework where: +// erran optional error response. +// result an optional response payload. +// Since an request can only have one response regardless if it is an error or success, the reply() method can only result in a single response value. This means that passing both an err and result will only use the err. There is no requirement for either err or result to be (or not) an Error object. The framework will simply use the first argument if present, otherwise the second. The method supports two arguments to be compatible with the common callback pattern of error first. +// FLOW CONTROL: +// When calling reply(), the framework waits until process.nextTick() to continue processing the request and transmit the response. This enables making changes to the returned response object before the response is sent. This means the framework will resume as soon as the handler method exits. To suspend this behavior, the returned response object supports the following methods: hold(), send() +/** + * + */ +// export interface Reply { // extends ReplyMethods { +// (err: Error, +// result?: string | number | boolean | Buffer | stream.Stream | Promise | T, +// /** Note that when used to return both an error and credentials in the authentication methods, reply() must be called with three arguments function(err, null, data) where data is the additional authentication information. */ +// credentialData?: any): BoomError; +// /** Note that if result is a Stream with a statusCode property, that status code will be used as the default response code. */ +// (result: string | number | boolean | Buffer | stream.Stream | Promise | T): Response; +// } + +/** Concludes the handler activity by setting a response and returning control over to the framework where: + erran optional error response. + result an optional response payload. + Since an request can only have one response regardless if it is an error or success, the reply() method can only result in a single response value. This means that passing both an err and result will only use the err. There is no requirement for either err or result to be (or not) an Error object. The framework will simply use the first argument if present, otherwise the second. The method supports two arguments to be compatible with the common callback pattern of error first. + FLOW CONTROL: + When calling reply(), the framework waits until process.nextTick() to continue processing the request and transmit the response. This enables making changes to the returned response object before the response is sent. This means the framework will resume as soon as the handler method exits. To suspend this behavior, the returned response object supports the following methods: hold(), send() */ +// export interface StrictReply extends ReplyMethods { +// (err: Error, +// result?: Promise | T, +// /** Note that when used to return both an error and credentials in the authentication methods, reply() must be called with three arguments function(err, null, data) where data is the additional authentication information. */ +// credentialData?: any): BoomError; +// /** Note that if result is a Stream with a statusCode property, that status code will be used as the default response code. */ +// (result: Promise | T): Response; +// } + +/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Response + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ +// TODO: move to separate file http://stackoverflow.com/questions/43276921 + +/** + * Response object + * [See docs](https://hapijs.com/api/16.1.1#response-object) + * + * TODO, check extending from Podium is correct. Extending because of "The response object supports the following events" [See docs](https://hapijs.com/api/16.1.1#response-events) + * * 'peek' - emitted for each chunk of data written back to the client connection. The event method signature is function(chunk, encoding). + * * 'finish' - emitted when the response finished writing but before the client response connection is ended. The event method signature is function (). + */ +export interface Response extends Podium { + /** the HTTP response status code. Defaults to 200 (except for errors). */ + statusCode: number; + /** an object containing the response headers where each key is a header field name. Note that this is an incomplete list of headers to be included with the response. Additional headers will be added once the response is prepared for transmission. */ + headers: Dictionary; + /** the value provided using the reply interface. */ + source: ReplyValue; + /** + * a string indicating the type of source with available values: + * * 'plain' - a plain response such as string, number, null, or simple object (e.g. not a Stream, Buffer, or view). + * * 'buffer' - a Buffer. + * * 'stream' - a Stream. + * * 'promise' - a Promise object. + */ + variety: 'plain' | 'buffer' | 'stream' | 'promise'; + /** application-specific state. Provides a safe place to store application data without potential conflicts with the framework. Should not be used by plugins which should use plugins[name]. */ + app: any; + /** plugin-specific state. Provides a place to store and pass request-level plugin data. The plugins is an object where each key is a plugin name and the value is the state. */ + plugins: PluginsStates; + /** response handling flags: */ + settings: { + /** the 'Content-Type' HTTP header 'charset' property. Defaults to 'utf-8'. */ + charset: string; + /** the string encoding scheme used to serial data into the HTTP payload when source is a string or marshals into a string. Defaults to 'utf8'. */ + encoding: string; + /** if true and source is a Stream, copies the statusCode and headers of the stream to the outbound response. Defaults to true. */ + passThrough: boolean; + /** options used for source value requiring stringification. Defaults to no replacer and no space padding. */ + stringify: Json.StringifyArguments; + /** if set, overrides the route cache expiration milliseconds value set in the route config. Defaults to no override. */ + ttl: number | null; + /** if true, a suffix will be automatically added to the 'ETag' header at transmission time (separated by a '-' character) when the HTTP 'Vary' header is present. */ + varyEtag: boolean; + }; + + /** + * The following attribute is present in one or more of the examples + * TODO update once Hapi docs describes explicitly + */ + isBoom?: boolean; + /** + * The following attribute is present in one or more of the examples + * TODO update once Hapi docs describes explicitly + */ + isMissing?: boolean; + /** + * The following attribute is present in one or more of the examples + * TODO update once Hapi docs describes explicitly + */ + output?: Boom.Output; + + /** + * sets the HTTP 'Content-Length' header (to avoid chunked transfer encoding) + * @param length the header value. Must match the actual payload size. + */ + bytes(length: number): Response; + /** + * sets the 'Content-Type' HTTP header 'charset' property + * @param charset the charset property value. + */ + charset(charset: string): Response; + /** + * sets the HTTP status code + * @param statusCode the HTTP status code (e.g. 200). + */ + code(statusCode: number): Response; + /** + * sets the HTTP status message + * @param httpMessage the HTTP status message (e.g. 'Ok' for status code 200). + */ + message(httpMessage: string): Response; + /** + * sets the HTTP status code to Created (201) and the HTTP 'Location' header + * @param uri an absolute or relative URI used as the 'Location' header value. + */ + created(uri: string): Response; + /** + * sets the string encoding scheme used to serial data into the HTTP payload + * @param encoding the encoding property value (see node Buffer encoding [See docs](https://nodejs.org/api/buffer.html#buffer_buffers_and_character_encodings)). + * * 'ascii' - for 7-bit ASCII data only. This encoding is fast and will strip the high bit if set. + * * 'utf8' - Multibyte encoded Unicode characters. Many web pages and other document formats use UTF-8. + * * 'utf16le' - 2 or 4 bytes, little-endian encoded Unicode characters. Surrogate pairs (U+10000 to U+10FFFF) are supported. + * * 'ucs2' - Alias of 'utf16le'. + * * 'base64' - Base64 encoding. When creating a Buffer from a string, this encoding will also correctly accept "URL and Filename Safe Alphabet" as specified in RFC4648, Section 5. + * * 'latin1' - A way of encoding the Buffer into a one-byte encoded string (as defined by the IANA in RFC1345, page 63, to be the Latin-1 supplement block and C0/C1 control codes). + * * 'binary' - Alias for 'latin1'. + * * 'hex' - Encode each byte as two hexadecimal characters. + */ + encoding(encoding: 'ascii' | 'utf8' | 'utf16le' | 'ucs2' | 'base64' | 'latin1' | 'binary' | 'hex'): Response; + /** + * sets the representation entity tag + * @param tag the entity tag string without the double-quote. + * @param options options object + * * weak - if true, the tag will be prefixed with the 'W/' weak signifier. Weak tags will fail to match identical tags for the purpose of determining 304 response status. Defaults to false. + * * vary - if true and content encoding is set or applied to the response (e.g 'gzip' or 'deflate'), the encoding name will be automatically added to the tag at transmission time (separated by a '-' character). Ignored when weak is true. Defaults to true. + */ + etag(tag: string, options?: {weak: boolean, vary: boolean}): Response; + /** + * sets an HTTP header + * @param name the header name. + * @param value the header value. + */ + header(name: string, value: string, options?: ResponseHeaderOptionsObject): Response; + /** + * sets the HTTP 'Location' header + * @param uri an absolute or relative URI used as the 'Location' header value. + */ + location(uri: string): Response; + /** + * sets an HTTP redirection response (302) and decorates the response with additional methods listed below, + * @param uri an absolute or relative URI used to redirect the client to another resource. + */ + redirect(uri: string): Response; + /** + * sets the JSON.stringify() replacer argument + * @param method the replacer function or array. Defaults to none. + */ + replacer(method: Json.StringifyReplacer): Response; + /** + * sets the JSON.stringify() space argument + * @param count the number of spaces to indent nested object keys. Defaults to no indentation. + */ + spaces(count: Json.StringifySpace): Response; + /** + * sets an HTTP cookie + * @param name the cookie name. + * @param value the cookie value. If no encoding is defined, must be a string. + * @param options optional configuration. If the state was previously registered with the server using server.state(), the specified keys in options override those same keys in the server definition (but not others). + */ + state(name: string, value: string | Object | any[], options?: ServerStateCookieConfiguationObject): Response; + /** + * sets a string suffix when the response is process via JSON.stringify(). + */ + suffix(suffix: string): Response; + /** + * overrides the default route cache expiration rule for this response instance + * @param msec the time-to-live value in milliseconds. + */ + ttl(msec: number): Response; + /** + * sets the HTTP 'Content-Type' header + * @param mimeType is the mime type. Should only be used to override the built-in default for each response type. + */ + type(mimeType: string): Response; + /** + * clears the HTTP cookie by setting an expired value + * @param name the cookie name. + * @param options optional configuration for expiring cookie. If the state was previously registered with the server using server.state(), the specified keys in options override those same keys in the server definition (but not others). + */ + unstate(name: string, options?: ServerStateCookieConfiguationObject): Response; + /** + * adds the provided header to the list of inputs affected the response generation via the HTTP 'Vary' header + * @param header the HTTP request header name. + */ + vary(header: string): Response; + + /** + * Flow control - hold() + * When calling reply(), the framework waits until process.nextTick() to continue processing the request and transmit the response. This enables making changes to the returned response object before the response is sent. This means the framework will resume as soon as the handler method exits. To suspend this behavior, the returned response object supports the following methods: + * puts the response on hold until response.send() is called. Available only after reply() is called and until response.hold() is invoked once. + * [See docs](https://hapijs.com/api/16.1.1#flow-control) + */ + hold(): Response; + /** + * Flow control - send() + * When calling reply(), the framework waits until process.nextTick() to continue processing the request and transmit the response. This enables making changes to the returned response object before the response is sent. This means the framework will resume as soon as the handler method exits. To suspend this behavior, the returned response object supports the following methods: + * immediately resume the response. Available only after response.hold() is called and until response.send() is invoked once. + * [See docs](https://hapijs.com/api/16.1.1#flow-control) + */ + send(): Response; + + /** + * Mentioned here: "Note that prerequisites do not follow the same rules of the normal reply interface. In all other cases, calling reply() with or without a value will use the result as the response sent back to the client. In a prerequisite method, calling reply() will assign the returned value to the provided assign key. If the returned value is an error, the failAction setting determines the behavior. To force the return value as the response and skip any other prerequisites and the handler, use the reply().takeover() method." + * TODO prepare documentation PR and submit to hapi. + * [See docs](https://hapijs.com/api/16.1.1#route-prerequisites) + */ + takeover(): Response; +} + +/** + * Response Object Redirect Methods + * When using the redirect() method, the response object provides these additional methods: + * [See docs](https://hapijs.com/api/16.1.1#response-object-redirect-methods) + */ +export interface ResponseRedirect extends Response { + /** + * temporary + * sets the status code to 302 or 307 (based on the rewritable() setting) where: + * [See docs](https://hapijs.com/api/16.1.1#response-object-redirect-methods) + * @param isTemporary if false, sets status to permanent. Defaults to true. + */ + temporary(isTemporary: boolean): Response; + /** + * permanent + * sets the status code to 301 or 308 (based on the rewritable() setting) where: + * [See docs](https://hapijs.com/api/16.1.1#response-object-redirect-methods) + * @param isPermanent if false, sets status to temporary. Defaults to true. + */ + permanent(isPermanent: boolean): Response; + /** + * rewritable + * sets the status code to 301/302 for rewritable (allows changing the request method from 'POST' to 'GET') or 307/308 for non-rewritable (does not allow changing the request method from 'POST' to 'GET'). Exact code based on the temporary() or permanent() setting. Arguments: + * [See docs](https://hapijs.com/api/16.1.1#response-object-redirect-methods) + * @param isRewritable if false, sets to non-rewritable. Defaults to true. + */ + rewritable(isRewritable: boolean): Response; +} + +/** + * [See docs](https://hapijs.com/api/16.1.1#response-object) under "response object provides the following methods" > header > options + */ +export interface ResponseHeaderOptionsObject { + /** if true, the value is appended to any existing header value using separator. Defaults to false. */ + append?: boolean; + /** string used as separator when appending to an existing value. Defaults to ','. */ + separator?: string; + /** if false, the header value is not set if an existing value present. Defaults to true. */ + override?: boolean; + /** if false, the header value is not modified if the provided value is already included. Does not apply when append is false or if the name is 'set-cookie'. Defaults to true. */ + duplicate?: boolean; +} + +/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Plugins and register + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ +// TODO: move to separate file http://stackoverflow.com/questions/43276921 + +/** + * Plugins + * Plugins provide a way to organize the application code by splitting the server logic into smaller components. Each plugin can manipulate the server and its connections through the standard server interface, but with the added ability to sandbox certain properties. + * [See docs](https://hapijs.com/api/16.1.1#plugins) + * @param server the server object the plugin is being registered to. + * @param options an options object passed to the plugin during registration. + * @param next a callback method the function must call to return control back to the framework to complete the registration process with signature function(err) + */ +export interface PluginFunction { + (server: Server, options: OptionsPassedToPlugin, next: (err?: Error) => void): void; + /** + * Note attributes is NOT optional but this type is easier to use. + */ + attributes?: PluginAttributes; +} + +/** + * see Plugin + * [See docs](https://hapijs.com/api/16.1.1#plugins) + */ +export interface PluginAttributes { + /** + * required plugin name string. The name is used as a unique key. Published plugins should use the same name as the name field in the 'package.json' file. Names must be unique within each application. + * NOTE: marked as optional as `pkg` can be used instead. + */ + name?: string; + /** optional plugin version. The version is only used informatively to enable other plugins to find out the versions loaded. The version should be the same as the one specified in the plugin's 'package.json' file. */ + version?: string; + /** Alternatively, the name and version can be included via the pkg attribute containing the 'package.json' file for the module which already has the name and version included */ + pkg?: any; + /** if true, allows the plugin to be registered multiple times with the same server. Defaults to false. */ + multiple?: boolean; + /** optional string or array of string indicating a plugin dependency. Same as setting dependencies via server.dependency(). */ + dependencies?: string | string[]; + /** if false, does not allow the plugin to call server APIs that modify the connections such as adding a route or configuring state. This flag allows the plugin to be registered before connections are added and to pass dependency requirements. When set to 'conditional', the mode is based on the presence of selected connections (if the server has connections, it is the same as true, but if no connections are available, it is the same as false). Defaults to true. */ + connections?: boolean | 'conditional'; + /** if true, will only register the plugin once per connection (or once per server for a connectionless plugin). If set, overrides the once option passed to server.register(). Defaults to undefined (registration will be based on the server.register() option once). */ + once?: boolean; +} + +/** + * Plugins State + * Related [See docs](https://hapijs.com/api/16.1.1#serverplugins) + * Related [See docs](https://hapijs.com/api/16.1.1#serverrealm) + */ +export interface PluginsStates { + [pluginName: string]: any; +} + +/** + * once, select, routes - optional plugin-specific registration options as defined see PluginRegistrationOptions + * [See docs](https://hapijs.com/api/16.1.1#serverregisterplugins-options-callback) + */ +export interface PluginRegistrationObject extends PluginRegistrationOptions { + /** the plugin registration function. */ + register: PluginFunction; + /** optional options passed to the registration function when called. */ + options?: OptionsPassedToPlugin; +} + +/** + * registration options (different from the options passed to the registration function): + * * once - if true, the registration is skipped for any connection already registered with. Cannot be used with plugin options. If the plugin does not have a connections attribute set to false and the registration selection is empty, registration will be skipped as no connections are available to register once. Defaults to false. + * * routes - modifiers applied to each route added by the plugin: + * * prefix - string added as prefix to any route path (must begin with '/'). If a plugin registers a child plugin the prefix is passed on to the child or is added in front of the child-specific prefix. + * * vhost - virtual host string (or array of strings) applied to every route. The outer-most vhost overrides the any nested configuration. + * * select - a string or array of string labels used to pre-select connections for plugin registration. + * [See docs](https://hapijs.com/api/16.1.1#serverregisterplugins-options-callback) + */ +export interface PluginRegistrationOptions { + once?: boolean; + routes?: {prefix?: string, vhost?: string | string[]}; + select?: string | string[]; +} + +/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + JSON + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ +// This was in a seperate file and perhaps should move to some of the lib typings? +// https://github.com/DefinitelyTyped/DefinitelyTyped/pull/16065#issuecomment-299443673 +// +// json/json-tests.ts +// +// import * as JSON from './index'; +// +// var a: JSON.StringifyReplacer = function(key, value) { +// if (key === "do not include") { +// return undefined; +// } +// return value; +// }; +// + +export namespace Json { + /** + * @see {@link https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#The_replacer_parameter} + */ + export type StringifyReplacer = ((key: string, value: any) => any) | (string | number)[] | undefined; + + /** + * Any value greater than 10 is truncated. + */ + export type StringifySpace = number | string; + + export interface StringifyArguments { + /** the replacer function or array. Defaults to no action. */ + replacer?: StringifyReplacer; + /** number of spaces to indent nested object keys. Defaults to no indentation. */ + space?: StringifySpace; + } +} diff --git a/types/hapi/test/connection/table.ts b/types/hapi/v16/test/connection/table.ts similarity index 94% rename from types/hapi/test/connection/table.ts rename to types/hapi/v16/test/connection/table.ts index 24eaa28ddc..3ead170c90 100644 --- a/types/hapi/test/connection/table.ts +++ b/types/hapi/v16/test/connection/table.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#servertablehost -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80, host: 'example.com' }); server.route({ method: 'GET', path: '/example', handler: function (request, reply) { return reply(); } }); diff --git a/types/hapi/test/continuation/errors.ts b/types/hapi/v16/test/continuation/errors.ts similarity index 95% rename from types/hapi/test/continuation/errors.ts rename to types/hapi/v16/test/continuation/errors.ts index 165e5214df..6bce66c58e 100644 --- a/types/hapi/test/continuation/errors.ts +++ b/types/hapi/v16/test/continuation/errors.ts @@ -1,6 +1,6 @@ -import * as Hapi from 'hapi'; -import * as Boom from 'boom'; +import * as Hapi from '../../'; +import * as Boom from '../../../../boom'; // Assignment of a typical function to ContinuationValueFunction is possible const handleError: Hapi.ContinuationValueFunction = (err?: Boom.BoomError | null, value?: any) => { diff --git a/types/hapi/test/getting-started/01-creating-a-server.ts b/types/hapi/v16/test/getting-started/01-creating-a-server.ts similarity index 100% rename from types/hapi/test/getting-started/01-creating-a-server.ts rename to types/hapi/v16/test/getting-started/01-creating-a-server.ts diff --git a/types/hapi/test/getting-started/02-adding-routes.ts b/types/hapi/v16/test/getting-started/02-adding-routes.ts similarity index 100% rename from types/hapi/test/getting-started/02-adding-routes.ts rename to types/hapi/v16/test/getting-started/02-adding-routes.ts diff --git a/types/hapi/test/getting-started/03-serving-static-content.ts b/types/hapi/v16/test/getting-started/03-serving-static-content.ts similarity index 100% rename from types/hapi/test/getting-started/03-serving-static-content.ts rename to types/hapi/v16/test/getting-started/03-serving-static-content.ts diff --git a/types/hapi/test/getting-started/04-using-plugins.ts b/types/hapi/v16/test/getting-started/04-using-plugins.ts similarity index 100% rename from types/hapi/test/getting-started/04-using-plugins.ts rename to types/hapi/v16/test/getting-started/04-using-plugins.ts diff --git a/types/hapi/test/path/catch-all.ts b/types/hapi/v16/test/path/catch-all.ts similarity index 89% rename from types/hapi/test/path/catch-all.ts rename to types/hapi/v16/test/path/catch-all.ts index c9002392b1..e38a67ec96 100644 --- a/types/hapi/test/path/catch-all.ts +++ b/types/hapi/v16/test/path/catch-all.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#catch-all-route -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/path/parameters.ts b/types/hapi/v16/test/path/parameters.ts similarity index 95% rename from types/hapi/test/path/parameters.ts rename to types/hapi/v16/test/path/parameters.ts index 62bbfcc638..6bbba522db 100644 --- a/types/hapi/test/path/parameters.ts +++ b/types/hapi/v16/test/path/parameters.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#path-parameters -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/plugins/options.ts b/types/hapi/v16/test/plugins/options.ts similarity index 95% rename from types/hapi/test/plugins/options.ts rename to types/hapi/v16/test/plugins/options.ts index cd192f1996..7f6ad6c13c 100644 --- a/types/hapi/test/plugins/options.ts +++ b/types/hapi/v16/test/plugins/options.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverinfo -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; // added in addition to code from docs interface PluginOptions { diff --git a/types/hapi/test/reply/continue.ts b/types/hapi/v16/test/reply/continue.ts similarity index 91% rename from types/hapi/test/reply/continue.ts rename to types/hapi/v16/test/reply/continue.ts index de6994fbd0..5f23cb039a 100644 --- a/types/hapi/test/reply/continue.ts +++ b/types/hapi/v16/test/reply/continue.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#replycontinueresult -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/reply/entity.ts b/types/hapi/v16/test/reply/entity.ts similarity index 93% rename from types/hapi/test/reply/entity.ts rename to types/hapi/v16/test/reply/entity.ts index cfcce6de25..5cb187fa1e 100644 --- a/types/hapi/test/reply/entity.ts +++ b/types/hapi/v16/test/reply/entity.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#replyentityoptions -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/reply/redirect.ts b/types/hapi/v16/test/reply/redirect.ts similarity index 84% rename from types/hapi/test/reply/redirect.ts rename to types/hapi/v16/test/reply/redirect.ts index 5baf892ac1..934092868b 100644 --- a/types/hapi/test/reply/redirect.ts +++ b/types/hapi/v16/test/reply/redirect.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#replyredirecturi -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const handler: Hapi.RouteHandler = function (request, reply) { return reply.redirect('http://example.com'); diff --git a/types/hapi/test/reply/reply.ts b/types/hapi/v16/test/reply/reply.ts similarity index 92% rename from types/hapi/test/reply/reply.ts rename to types/hapi/v16/test/reply/reply.ts index 31f3bff9b4..bf92621986 100644 --- a/types/hapi/test/reply/reply.ts +++ b/types/hapi/v16/test/reply/reply.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#replyerr-result -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; // verbose notation @@ -19,4 +19,4 @@ const handler2: Hapi.RouteHandler = function (request, reply) { return reply('success') .type('text/plain') .header('X-Custom', 'some-value'); -}; \ No newline at end of file +}; diff --git a/types/hapi/test/reply/state_cookie.ts b/types/hapi/v16/test/reply/state_cookie.ts similarity index 95% rename from types/hapi/test/reply/state_cookie.ts rename to types/hapi/v16/test/reply/state_cookie.ts index bf94219311..8a0be7da34 100644 --- a/types/hapi/test/reply/state_cookie.ts +++ b/types/hapi/v16/test/reply/state_cookie.ts @@ -1,7 +1,7 @@ // from https://hapijs.com/tutorials/cookies?lang=en_US -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/v16/test/request/event-types.ts b/types/hapi/v16/test/request/event-types.ts new file mode 100644 index 0000000000..d9ee4dab33 --- /dev/null +++ b/types/hapi/v16/test/request/event-types.ts @@ -0,0 +1,30 @@ + +// From https://hapijs.com/api/16.1.1#requestsetmethodmethod + +import * as Hapi from '../../'; +const Crypto = require('crypto'); +const server = new Hapi.Server(); +server.connection({ port: 80 }); + +const onRequest: Hapi.ServerExtRequestHandler = function (request, reply) { + + const hash = Crypto.createHash('sha1'); + request.on('peek', (chunk) => { + + hash.update(chunk); + }); + + request.once('finish', () => { + + console.log(hash.digest('hex')); + }); + + request.once('disconnect', () => { + + console.error('request aborted'); + }); + + return reply.continue(); +}; + +server.ext('onRequest', onRequest); diff --git a/types/hapi/test/request/generate-response.ts b/types/hapi/v16/test/request/generate-response.ts similarity index 93% rename from types/hapi/test/request/generate-response.ts rename to types/hapi/v16/test/request/generate-response.ts index c30c3a7be5..f731961a68 100644 --- a/types/hapi/test/request/generate-response.ts +++ b/types/hapi/v16/test/request/generate-response.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#requestgenerateresponsesource-options -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; // Added in addition to code from docs function promiseMethod() { diff --git a/types/hapi/v16/test/request/get-log.ts b/types/hapi/v16/test/request/get-log.ts new file mode 100644 index 0000000000..53568ba734 --- /dev/null +++ b/types/hapi/v16/test/request/get-log.ts @@ -0,0 +1,12 @@ + +// From https://hapijs.com/api/16.1.1#requestgetlogtags-internal + +import * as Hapi from '../../'; + +var request: Hapi.Request = {}; + +request.getLog(); +request.getLog('error'); +request.getLog(['error', 'auth']); +request.getLog(['error'], true); +request.getLog(false); diff --git a/types/hapi/test/request/log.ts b/types/hapi/v16/test/request/log.ts similarity index 93% rename from types/hapi/test/request/log.ts rename to types/hapi/v16/test/request/log.ts index 1c2da1f3b0..f9b044eafc 100644 --- a/types/hapi/test/request/log.ts +++ b/types/hapi/v16/test/request/log.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#requestlogtags-data-timestamp -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80, routes: { log: true, security: false } }); diff --git a/types/hapi/v16/test/request/query.ts b/types/hapi/v16/test/request/query.ts new file mode 100644 index 0000000000..1aa801b69d --- /dev/null +++ b/types/hapi/v16/test/request/query.ts @@ -0,0 +1,14 @@ +// Added test in addition to docs, for request.query + +import * as Hapi from '../../'; + +interface GetThingQuery { + name: string; +} + +const handler: Hapi.RouteHandler = function (request, reply) { + + const query = request.query as GetThingQuery; + + return reply(`You asked for ${query.name}`); +}; diff --git a/types/hapi/test/request/set-method.ts b/types/hapi/v16/test/request/set-method.ts similarity index 91% rename from types/hapi/test/request/set-method.ts rename to types/hapi/v16/test/request/set-method.ts index 7269e6255f..aa78eeaecf 100644 --- a/types/hapi/test/request/set-method.ts +++ b/types/hapi/v16/test/request/set-method.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#requestsetmethodmethod -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/request/set-url.ts b/types/hapi/v16/test/request/set-url.ts similarity index 90% rename from types/hapi/test/request/set-url.ts rename to types/hapi/v16/test/request/set-url.ts index 4add3c5a17..1c3a0a047b 100644 --- a/types/hapi/test/request/set-url.ts +++ b/types/hapi/v16/test/request/set-url.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#requestseturlurl-striptrailingslash -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); @@ -17,7 +17,7 @@ server.ext('onRequest', onRequest); // Example 2 const Url = require('url'); -const Qs = require('qs'); +const Qs = require('../../../../qs'); onRequest = function (request, reply) { diff --git a/types/hapi/test/request/tail.ts b/types/hapi/v16/test/request/tail.ts similarity index 94% rename from types/hapi/test/request/tail.ts rename to types/hapi/v16/test/request/tail.ts index 9c68ccb8f2..426c0cd835 100644 --- a/types/hapi/test/request/tail.ts +++ b/types/hapi/v16/test/request/tail.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#requestsetmethodmethod -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/response/error-representation.ts b/types/hapi/v16/test/response/error-representation.ts similarity index 84% rename from types/hapi/test/response/error-representation.ts rename to types/hapi/v16/test/response/error-representation.ts index f0fb62eb30..7eacfdfaf3 100644 --- a/types/hapi/test/response/error-representation.ts +++ b/types/hapi/v16/test/response/error-representation.ts @@ -1,13 +1,13 @@ // From https://hapijs.com/api/16.1.1#error-transformation -import * as Hapi from 'hapi'; -import Vision from 'vision'; +import * as Hapi from '../../'; +import Vision from '../../../../vision'; const server = new Hapi.Server(); server.register(Vision, {}, (err) => { server.views({ engines: { - html: require('handlebars') + html: require('../../../../handlebars') } }); }); diff --git a/types/hapi/v16/test/response/error.ts b/types/hapi/v16/test/response/error.ts new file mode 100644 index 0000000000..f426de66e0 --- /dev/null +++ b/types/hapi/v16/test/response/error.ts @@ -0,0 +1,25 @@ + +// From https://hapijs.com/api/16.1.1#error-response + +import * as Hapi from '../../'; +const Boom = require('../../../../boom'); + +const server = new Hapi.Server(); + +server.route({ + method: 'GET', + path: '/badRequest', + handler: function (request, reply) { + + return reply(Boom.badRequest('Unsupported parameter')); + } +}); + +server.route({ + method: 'GET', + path: '/internal', + handler: function (request, reply) { + + return reply(new Error('unexpect error')); + } +}); diff --git a/types/hapi/test/response/events.ts b/types/hapi/v16/test/response/events.ts similarity index 95% rename from types/hapi/test/response/events.ts rename to types/hapi/v16/test/response/events.ts index 2d1658087b..07d4e0a65b 100644 --- a/types/hapi/test/response/events.ts +++ b/types/hapi/v16/test/response/events.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#response-events -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const Crypto = require('crypto'); const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/response/flow-control.ts b/types/hapi/v16/test/response/flow-control.ts similarity index 88% rename from types/hapi/test/response/flow-control.ts rename to types/hapi/v16/test/response/flow-control.ts index bc18a36aff..321d198825 100644 --- a/types/hapi/test/response/flow-control.ts +++ b/types/hapi/v16/test/response/flow-control.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#flow-control -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const handler = function (request: Hapi.Request, reply: Hapi.ReplyWithContinue) { diff --git a/types/hapi/test/route/additional-options.ts b/types/hapi/v16/test/route/additional-options.ts similarity index 98% rename from types/hapi/test/route/additional-options.ts rename to types/hapi/v16/test/route/additional-options.ts index 189dc488de..ccbb36af15 100644 --- a/types/hapi/test/route/additional-options.ts +++ b/types/hapi/v16/test/route/additional-options.ts @@ -1,6 +1,6 @@ 'use strict'; -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; var authConfig: Hapi.RouteAdditionalConfigurationOptions = { app: {}, diff --git a/types/hapi/test/route/auth.ts b/types/hapi/v16/test/route/auth.ts similarity index 94% rename from types/hapi/test/route/auth.ts rename to types/hapi/v16/test/route/auth.ts index e5239322da..e8d41cf47d 100644 --- a/types/hapi/test/route/auth.ts +++ b/types/hapi/v16/test/route/auth.ts @@ -1,6 +1,6 @@ 'use strict'; -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; var routeMoreConfig: Hapi.RouteAdditionalConfigurationOptions = { auth: false, diff --git a/types/hapi/v16/test/route/config.ts b/types/hapi/v16/test/route/config.ts new file mode 100644 index 0000000000..680ee4c043 --- /dev/null +++ b/types/hapi/v16/test/route/config.ts @@ -0,0 +1,46 @@ +'use strict'; + +import * as Hapi from '../../'; + +// different methods +var routeConfig: Hapi.RouteConfiguration = { + path: '/signin', + method: 'PUT', + vhost: 'site.coms', +}; +var routeConfig: Hapi.RouteConfiguration = { + path: '/signin', + method: '*' +}; +var routeConfig: Hapi.RouteConfiguration = { + path: '/signin', + method: ['OPTIONS', '*'] +}; + +// different handlers +var routeConfig: Hapi.RouteConfiguration = { + path: '/signin', + method: 'PUT', + handler: 'some registered handler' +}; +var routeConfig: Hapi.RouteConfiguration = { + path: '/signin', + method: 'PUT', + handler: function (request, reply) { + return reply('ok'); + } +}; + +const server = new Hapi.Server(); +server.route(routeConfig); + +// Handler in config +const user: Hapi.RouteAdditionalConfigurationOptions = { + cache: { expiresIn: 5000 }, + handler: function (request, reply) { + + return reply({ name: 'John' }); + } +}; + +server.route({method: 'GET', path: '/user', config: user }); diff --git a/types/hapi/v16/test/route/handler.ts b/types/hapi/v16/test/route/handler.ts new file mode 100644 index 0000000000..401bf35eab --- /dev/null +++ b/types/hapi/v16/test/route/handler.ts @@ -0,0 +1,10 @@ +'use strict'; + +import * as Hapi from '../../'; + +var handler: Hapi.RouteHandler = function(request, reply) { + reply('success'); +} +var strictHandler: Hapi.RouteHandler = function(request, reply) { + reply(123); +} diff --git a/types/hapi/test/route/plugins.ts b/types/hapi/v16/test/route/plugins.ts similarity index 92% rename from types/hapi/test/route/plugins.ts rename to types/hapi/v16/test/route/plugins.ts index 2449fc84c0..ba7abdb777 100644 --- a/types/hapi/test/route/plugins.ts +++ b/types/hapi/v16/test/route/plugins.ts @@ -1,9 +1,9 @@ // Added in addition to code from https://hapijs.com/api/16.1.1#route-options > plugins -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; // In the plugin code -declare module 'hapi' { +declare module '../../' { interface PluginSpecificConfiguration { coolPlugin: { optionA: string; diff --git a/types/hapi/test/route/prerequisites.ts b/types/hapi/v16/test/route/prerequisites.ts similarity index 97% rename from types/hapi/test/route/prerequisites.ts rename to types/hapi/v16/test/route/prerequisites.ts index c4ca7650fa..15a16af2c0 100644 --- a/types/hapi/test/route/prerequisites.ts +++ b/types/hapi/v16/test/route/prerequisites.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#route-prerequisites -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/route/public-interface.ts b/types/hapi/v16/test/route/public-interface.ts similarity index 93% rename from types/hapi/test/route/public-interface.ts rename to types/hapi/v16/test/route/public-interface.ts index e61fb8275f..f3878cea48 100644 --- a/types/hapi/test/route/public-interface.ts +++ b/types/hapi/v16/test/route/public-interface.ts @@ -1,6 +1,6 @@ 'use strict'; -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; var route = {}; diff --git a/types/hapi/test/route/validate.ts b/types/hapi/v16/test/route/validate.ts similarity index 96% rename from types/hapi/test/route/validate.ts rename to types/hapi/v16/test/route/validate.ts index cb5c5527ee..06fefcc62e 100644 --- a/types/hapi/test/route/validate.ts +++ b/types/hapi/v16/test/route/validate.ts @@ -1,8 +1,8 @@ // Added from: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/16065#issuecomment-302216131 -import * as Hapi from 'hapi'; -import * as Joi from 'joi'; +import * as Hapi from '../../'; +import * as Joi from '../../../../joi'; const validate: Hapi.RouteValidationConfigurationObject = { headers: true, diff --git a/types/hapi/test/server/app.ts b/types/hapi/v16/test/server/app.ts similarity index 87% rename from types/hapi/test/server/app.ts rename to types/hapi/v16/test/server/app.ts index dac8921c20..7ed57fe6e8 100644 --- a/types/hapi/test/server/app.ts +++ b/types/hapi/v16/test/server/app.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverapp -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; var server = new Hapi.Server(); server.app.key = 'value'; diff --git a/types/hapi/test/server/auth.ts b/types/hapi/v16/test/server/auth.ts similarity index 96% rename from types/hapi/test/server/auth.ts rename to types/hapi/v16/test/server/auth.ts index 3f28732d42..c699a63c1b 100644 --- a/types/hapi/test/server/auth.ts +++ b/types/hapi/v16/test/server/auth.ts @@ -1,8 +1,8 @@ // From https://hapijs.com/api/16.1.1#serverauthapi -import * as Hapi from 'hapi'; -import * as Boom from 'boom'; +import * as Hapi from '../../'; +import * as Boom from '../../../../boom'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/server/bind.ts b/types/hapi/v16/test/server/bind.ts similarity index 93% rename from types/hapi/test/server/bind.ts rename to types/hapi/v16/test/server/bind.ts index 2741e16c82..c8e0ba0016 100644 --- a/types/hapi/test/server/bind.ts +++ b/types/hapi/v16/test/server/bind.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverbindcontext -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; interface HandlerThis { message: string; diff --git a/types/hapi/test/server/cache.ts b/types/hapi/v16/test/server/cache.ts similarity index 96% rename from types/hapi/test/server/cache.ts rename to types/hapi/v16/test/server/cache.ts index 4cb9eaa4b7..18d7cbbd3a 100644 --- a/types/hapi/test/server/cache.ts +++ b/types/hapi/v16/test/server/cache.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#servercacheoptions -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/server/connection-options.ts b/types/hapi/v16/test/server/connection-options.ts similarity index 96% rename from types/hapi/test/server/connection-options.ts rename to types/hapi/v16/test/server/connection-options.ts index 3a526307db..e4b5582598 100644 --- a/types/hapi/test/server/connection-options.ts +++ b/types/hapi/v16/test/server/connection-options.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverconnectionoptions -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); const web = server.connection({ port: 8000, host: 'example.com', labels: ['web'] }); diff --git a/types/hapi/test/server/connections.ts b/types/hapi/v16/test/server/connections.ts similarity index 89% rename from types/hapi/test/server/connections.ts rename to types/hapi/v16/test/server/connections.ts index fb2f9f303e..0674c3b72f 100644 --- a/types/hapi/test/server/connections.ts +++ b/types/hapi/v16/test/server/connections.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverconnections -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; var server = new Hapi.Server(); server.connection({ port: 80, labels: 'a' }); server.connection({ port: 8080, labels: 'b' }); diff --git a/types/hapi/test/server/decoder.ts b/types/hapi/v16/test/server/decoder.ts similarity index 90% rename from types/hapi/test/server/decoder.ts rename to types/hapi/v16/test/server/decoder.ts index edd52485ea..7a9eadd1e6 100644 --- a/types/hapi/test/server/decoder.ts +++ b/types/hapi/v16/test/server/decoder.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverdecoderencoding-decoder -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; import * as Zlib from 'zlib'; const server = new Hapi.Server(); server.connection({ port: 80, routes: { payload: { compression: { special: { chunkSize: 16 * 1024 } } } } }); diff --git a/types/hapi/test/server/decorate.ts b/types/hapi/v16/test/server/decorate.ts similarity index 92% rename from types/hapi/test/server/decorate.ts rename to types/hapi/v16/test/server/decorate.ts index 540e29c951..d946f6132e 100644 --- a/types/hapi/test/server/decorate.ts +++ b/types/hapi/v16/test/server/decorate.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverdecoratetype-property-method-options -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); @@ -12,7 +12,7 @@ const success = function (this: Hapi.ReplyNoContinue) { server.decorate('reply', 'success', success); -declare module 'hapi' { +declare module '../../' { interface Base_Reply { success: () => Response; } @@ -36,7 +36,7 @@ server.decorate('request', 'some_request_method', (request) => { } }, {apply: true}); -declare module 'hapi' { +declare module '../../' { interface Request { some_request_method(): void; } @@ -59,7 +59,7 @@ server.decorate('server', 'some_server_method', (server: Hapi.Server) => { } }); -declare module 'hapi' { +declare module '../../' { interface Server { some_server_method(arg1: number): string; } diff --git a/types/hapi/test/server/dependency.ts b/types/hapi/v16/test/server/dependency.ts similarity index 93% rename from types/hapi/test/server/dependency.ts rename to types/hapi/v16/test/server/dependency.ts index 1d63397cf2..175b3242b9 100644 --- a/types/hapi/test/server/dependency.ts +++ b/types/hapi/v16/test/server/dependency.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverdependencydependencies-after -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const after: Hapi.AfterDependencyLoadCallback = function (server, next) { diff --git a/types/hapi/test/server/emit.ts b/types/hapi/v16/test/server/emit.ts similarity index 90% rename from types/hapi/test/server/emit.ts rename to types/hapi/v16/test/server/emit.ts index d248f7d4ab..0f1f37de2d 100644 --- a/types/hapi/test/server/emit.ts +++ b/types/hapi/v16/test/server/emit.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serveremitcriteria-data-callback -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/server/encoder.ts b/types/hapi/v16/test/server/encoder.ts similarity index 90% rename from types/hapi/test/server/encoder.ts rename to types/hapi/v16/test/server/encoder.ts index f35102b776..cacc5f2c8b 100644 --- a/types/hapi/test/server/encoder.ts +++ b/types/hapi/v16/test/server/encoder.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverencoderencoding-encoder -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; import * as Zlib from 'zlib'; const server = new Hapi.Server(); server.connection({ port: 80, routes: { compression: { special: { chunkSize: 16 * 1024 } } } }); diff --git a/types/hapi/test/server/event.ts b/types/hapi/v16/test/server/event.ts similarity index 90% rename from types/hapi/test/server/event.ts rename to types/hapi/v16/test/server/event.ts index f0c2215f12..cbe7128de3 100644 --- a/types/hapi/test/server/event.ts +++ b/types/hapi/v16/test/server/event.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#servereventevents -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/server/expose.ts b/types/hapi/v16/test/server/expose.ts similarity index 92% rename from types/hapi/test/server/expose.ts rename to types/hapi/v16/test/server/expose.ts index effbc1ae49..abaade677c 100644 --- a/types/hapi/test/server/expose.ts +++ b/types/hapi/v16/test/server/expose.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverexposekey-value -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; var register: Hapi.PluginFunction<{}> = function (server, options, next) { server.expose('util', function () { console.log('something'); }); diff --git a/types/hapi/test/server/ext.ts b/types/hapi/v16/test/server/ext.ts similarity index 96% rename from types/hapi/test/server/ext.ts rename to types/hapi/v16/test/server/ext.ts index 500ac1d4af..318fe3fe0b 100644 --- a/types/hapi/test/server/ext.ts +++ b/types/hapi/v16/test/server/ext.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverextevents -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/server/handler.ts b/types/hapi/v16/test/server/handler.ts similarity index 94% rename from types/hapi/test/server/handler.ts rename to types/hapi/v16/test/server/handler.ts index 713fe7f114..20fb003ce4 100644 --- a/types/hapi/test/server/handler.ts +++ b/types/hapi/v16/test/server/handler.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverhandlername-method -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ host: 'localhost', port: 8000 }); @@ -20,7 +20,7 @@ interface TestPluginConfig { msg: string; } -declare module 'hapi' { +declare module '../../' { interface RouteHandlerPlugins { test?: TestPluginConfig; } diff --git a/types/hapi/test/server/info.ts b/types/hapi/v16/test/server/info.ts similarity index 92% rename from types/hapi/test/server/info.ts rename to types/hapi/v16/test/server/info.ts index eaf1b39747..aa0bc7014d 100644 --- a/types/hapi/test/server/info.ts +++ b/types/hapi/v16/test/server/info.ts @@ -2,7 +2,7 @@ // From https://hapijs.com/api/16.1.1#serverinfo import assert = require('assert'); -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); var options: Hapi.ServerConnectionOptions = { port: 80 }; server.connection(options); diff --git a/types/hapi/test/server/initialize.ts b/types/hapi/v16/test/server/initialize.ts similarity index 72% rename from types/hapi/test/server/initialize.ts rename to types/hapi/v16/test/server/initialize.ts index 7ef4b51527..f7a1482fac 100644 --- a/types/hapi/test/server/initialize.ts +++ b/types/hapi/v16/test/server/initialize.ts @@ -1,8 +1,8 @@ // From https://hapijs.com/api/16.1.1#serverinitializecallback -import * as Hapi from 'hapi'; -const Hoek = require('hoek'); +import * as Hapi from '../../'; +const Hoek = require('../../../../hoek'); const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/server/inject.ts b/types/hapi/v16/test/server/inject.ts similarity index 93% rename from types/hapi/test/server/inject.ts rename to types/hapi/v16/test/server/inject.ts index 7010faa3dc..a9fc0bdf5e 100644 --- a/types/hapi/test/server/inject.ts +++ b/types/hapi/v16/test/server/inject.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverinjectoptions-callback -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/server/listener.ts b/types/hapi/v16/test/server/listener.ts similarity index 95% rename from types/hapi/test/server/listener.ts rename to types/hapi/v16/test/server/listener.ts index d7bb6fc5ea..85ddb18bc6 100644 --- a/types/hapi/test/server/listener.ts +++ b/types/hapi/v16/test/server/listener.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverlistener -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; import SocketIO = require('socket.io'); const server = new Hapi.Server(); diff --git a/types/hapi/test/server/load.ts b/types/hapi/v16/test/server/load.ts similarity index 82% rename from types/hapi/test/server/load.ts rename to types/hapi/v16/test/server/load.ts index ee204c864f..7ecb25fce7 100644 --- a/types/hapi/test/server/load.ts +++ b/types/hapi/v16/test/server/load.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverload -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server({ load: { sampleInterval: 1000 } }); var d: number = server.load.rss; diff --git a/types/hapi/test/server/log.ts b/types/hapi/v16/test/server/log.ts similarity index 89% rename from types/hapi/test/server/log.ts rename to types/hapi/v16/test/server/log.ts index 4507358d60..1a89b2149b 100644 --- a/types/hapi/test/server/log.ts +++ b/types/hapi/v16/test/server/log.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverlogtags-data-timestamp -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/server/lookup.ts b/types/hapi/v16/test/server/lookup.ts similarity index 91% rename from types/hapi/test/server/lookup.ts rename to types/hapi/v16/test/server/lookup.ts index 89ce852700..2d3729b210 100644 --- a/types/hapi/test/server/lookup.ts +++ b/types/hapi/v16/test/server/lookup.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverlookupid -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection(); server.route({ diff --git a/types/hapi/test/server/match.ts b/types/hapi/v16/test/server/match.ts similarity index 91% rename from types/hapi/test/server/match.ts rename to types/hapi/v16/test/server/match.ts index f322a31494..f446dd0e7e 100644 --- a/types/hapi/test/server/match.ts +++ b/types/hapi/v16/test/server/match.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#servermatchmethod-path-host -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection(); server.route({ diff --git a/types/hapi/test/server/method.ts b/types/hapi/v16/test/server/method.ts similarity index 98% rename from types/hapi/test/server/method.ts rename to types/hapi/v16/test/server/method.ts index e1cc2ce487..9e3efbf7c7 100644 --- a/types/hapi/test/server/method.ts +++ b/types/hapi/v16/test/server/method.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#servermethodname-method-options -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/server/methods.ts b/types/hapi/v16/test/server/methods.ts similarity index 91% rename from types/hapi/test/server/methods.ts rename to types/hapi/v16/test/server/methods.ts index 1e2060c3e8..0595d522de 100644 --- a/types/hapi/test/server/methods.ts +++ b/types/hapi/v16/test/server/methods.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#servermethods -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); const add = function (a: number, b: number, next: (err: Error | null, result: number) => void) { diff --git a/types/hapi/test/server/mime.ts b/types/hapi/v16/test/server/mime.ts similarity index 94% rename from types/hapi/test/server/mime.ts rename to types/hapi/v16/test/server/mime.ts index e2dd25529b..a97af5de7a 100644 --- a/types/hapi/test/server/mime.ts +++ b/types/hapi/v16/test/server/mime.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#servermime -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const options: Hapi.ServerOptions = { mime: { diff --git a/types/hapi/test/server/new.ts b/types/hapi/v16/test/server/new.ts similarity index 96% rename from types/hapi/test/server/new.ts rename to types/hapi/v16/test/server/new.ts index 95f1ce9006..59f0a8f189 100644 --- a/types/hapi/test/server/new.ts +++ b/types/hapi/v16/test/server/new.ts @@ -1,6 +1,6 @@ 'use strict'; -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; new Hapi.Server(); new Hapi.Server({ @@ -45,7 +45,7 @@ new Hapi.Server({ }); //+ Code added in addition to docs -declare module 'hapi' { +declare module '../../' { interface PluginSpecificConfiguration { // Set this to non optional if plugin config is non optional 'some-plugin-name'?: {options: string;}; diff --git a/types/hapi/test/server/on.ts b/types/hapi/v16/test/server/on.ts similarity index 96% rename from types/hapi/test/server/on.ts rename to types/hapi/v16/test/server/on.ts index 08802fda96..301cc0b423 100644 --- a/types/hapi/test/server/on.ts +++ b/types/hapi/v16/test/server/on.ts @@ -2,7 +2,7 @@ // From https://hapijs.com/api/16.1.1#serveroncriteria-listener // From https://hapijs.com/api/16.1.1#server-events -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/server/once.ts b/types/hapi/v16/test/server/once.ts similarity index 91% rename from types/hapi/test/server/once.ts rename to types/hapi/v16/test/server/once.ts index 55fdb08ec2..59465a41ec 100644 --- a/types/hapi/test/server/once.ts +++ b/types/hapi/v16/test/server/once.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serveroncecriteria-listener -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/server/path.ts b/types/hapi/v16/test/server/path.ts similarity index 91% rename from types/hapi/test/server/path.ts rename to types/hapi/v16/test/server/path.ts index 20479a795f..cdbf8a14a9 100644 --- a/types/hapi/test/server/path.ts +++ b/types/hapi/v16/test/server/path.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverpathrelativeto -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; var register: Hapi.PluginFunction<{}> = function (server, options, next) { diff --git a/types/hapi/test/server/plugins.ts b/types/hapi/v16/test/server/plugins.ts similarity index 90% rename from types/hapi/test/server/plugins.ts rename to types/hapi/v16/test/server/plugins.ts index 2ce13ffb2f..02488a1d5a 100644 --- a/types/hapi/test/server/plugins.ts +++ b/types/hapi/v16/test/server/plugins.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverplugins -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; var registerFunction: Hapi.PluginFunction<{}> = function(server, options, next) { diff --git a/types/hapi/test/server/realm.ts b/types/hapi/v16/test/server/realm.ts similarity index 86% rename from types/hapi/test/server/realm.ts rename to types/hapi/v16/test/server/realm.ts index 31f764b7ef..4a2eceffd0 100644 --- a/types/hapi/test/server/realm.ts +++ b/types/hapi/v16/test/server/realm.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverrealm -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; var registerFunction: Hapi.PluginFunction<{}> = function(server, options, next) { diff --git a/types/hapi/test/server/register.ts b/types/hapi/v16/test/server/register.ts similarity index 90% rename from types/hapi/test/server/register.ts rename to types/hapi/v16/test/server/register.ts index c04e0b16bc..1d0ab5a2e7 100644 --- a/types/hapi/test/server/register.ts +++ b/types/hapi/v16/test/server/register.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverregisterplugins-options-callback -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); diff --git a/types/hapi/test/server/route.ts b/types/hapi/v16/test/server/route.ts similarity index 93% rename from types/hapi/test/server/route.ts rename to types/hapi/v16/test/server/route.ts index 0402fd3e89..0fa9fd8cc8 100644 --- a/types/hapi/test/server/route.ts +++ b/types/hapi/v16/test/server/route.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverrouteoptions -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/server/select.ts b/types/hapi/v16/test/server/select.ts similarity index 91% rename from types/hapi/test/server/select.ts rename to types/hapi/v16/test/server/select.ts index 8a25f45abd..03af599fcc 100644 --- a/types/hapi/test/server/select.ts +++ b/types/hapi/v16/test/server/select.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverselectlabels -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80, labels: ['a', 'b'] }); server.connection({ port: 8080, labels: ['a', 'c'] }); diff --git a/types/hapi/test/server/settings.ts b/types/hapi/v16/test/server/settings.ts similarity index 84% rename from types/hapi/test/server/settings.ts rename to types/hapi/v16/test/server/settings.ts index c2ec9ce3ed..f250c8e8fd 100644 --- a/types/hapi/test/server/settings.ts +++ b/types/hapi/v16/test/server/settings.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serversettings -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server({ app: { key: 'value' diff --git a/types/hapi/test/server/start.ts b/types/hapi/v16/test/server/start.ts similarity index 76% rename from types/hapi/test/server/start.ts rename to types/hapi/v16/test/server/start.ts index a15bb79740..a9408a57aa 100644 --- a/types/hapi/test/server/start.ts +++ b/types/hapi/v16/test/server/start.ts @@ -1,8 +1,8 @@ // From https://hapijs.com/api/16.1.1#serverstartcallback -import * as Hapi from 'hapi'; -import * as Hoek from 'hoek'; +import * as Hapi from '../../'; +import * as Hoek from '../../../../hoek'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/server/state.ts b/types/hapi/v16/test/server/state.ts similarity index 95% rename from types/hapi/test/server/state.ts rename to types/hapi/v16/test/server/state.ts index 2035343a17..19c10cfae3 100644 --- a/types/hapi/test/server/state.ts +++ b/types/hapi/v16/test/server/state.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverstatename-options -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/server/stop.ts b/types/hapi/v16/test/server/stop.ts similarity index 87% rename from types/hapi/test/server/stop.ts rename to types/hapi/v16/test/server/stop.ts index ddfd07aa8f..ca14a70dfa 100644 --- a/types/hapi/test/server/stop.ts +++ b/types/hapi/v16/test/server/stop.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#serverstopoptions-callback -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80 }); diff --git a/types/hapi/test/server/table.ts b/types/hapi/v16/test/server/table.ts similarity index 89% rename from types/hapi/test/server/table.ts rename to types/hapi/v16/test/server/table.ts index abe0707c76..c1410f95db 100644 --- a/types/hapi/test/server/table.ts +++ b/types/hapi/v16/test/server/table.ts @@ -1,7 +1,7 @@ // From https://hapijs.com/api/16.1.1#servertablehost -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.connection({ port: 80, host: 'example.com' }); server.route({ method: 'GET', path: '/example', handler: function (request, reply) { return reply(); } }); diff --git a/types/hapi/test/server/version.ts b/types/hapi/v16/test/server/version.ts similarity index 77% rename from types/hapi/test/server/version.ts rename to types/hapi/v16/test/server/version.ts index 064e87e3cd..2ee1f57841 100644 --- a/types/hapi/test/server/version.ts +++ b/types/hapi/v16/test/server/version.ts @@ -1,6 +1,6 @@ // From http://hapijs.com/api#serversettings -import * as Hapi from 'hapi'; +import * as Hapi from '../../'; const server = new Hapi.Server(); server.version === '8.0.0' diff --git a/types/hapi/v16/tsconfig.json b/types/hapi/v16/tsconfig.json new file mode 100644 index 0000000000..f77f7d4abe --- /dev/null +++ b/types/hapi/v16/tsconfig.json @@ -0,0 +1,102 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": false, + "baseUrl": "../../", + "typeRoots": [ + "../../" + ], + "types": [], + "paths": { + "hapi": [ + "hapi/v16" + ] + }, + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "test/connection/table.ts", + "test/continuation/errors.ts", + "test/getting-started/01-creating-a-server.ts", + "test/getting-started/02-adding-routes.ts", + "test/getting-started/03-serving-static-content.ts", + "test/getting-started/04-using-plugins.ts", + "test/path/catch-all.ts", + "test/path/parameters.ts", + "test/plugins/options.ts", + "test/reply/continue.ts", + "test/reply/entity.ts", + "test/reply/redirect.ts", + "test/reply/reply.ts", + "test/reply/state_cookie.ts", + "test/request/event-types.ts", + "test/request/generate-response.ts", + "test/request/get-log.ts", + "test/request/log.ts", + "test/request/query.ts", + "test/request/set-method.ts", + "test/request/set-url.ts", + "test/request/tail.ts", + "test/response/error-representation.ts", + "test/response/error.ts", + "test/response/events.ts", + "test/response/flow-control.ts", + "test/route/additional-options.ts", + "test/route/auth.ts", + "test/route/config.ts", + "test/route/handler.ts", + "test/route/plugins.ts", + "test/route/prerequisites.ts", + "test/route/public-interface.ts", + "test/route/validate.ts", + "test/server/app.ts", + "test/server/auth.ts", + "test/server/bind.ts", + "test/server/cache.ts", + "test/server/connection-options.ts", + "test/server/connections.ts", + "test/server/decoder.ts", + "test/server/decorate.ts", + "test/server/dependency.ts", + "test/server/emit.ts", + "test/server/encoder.ts", + "test/server/event.ts", + "test/server/expose.ts", + "test/server/ext.ts", + "test/server/handler.ts", + "test/server/info.ts", + "test/server/initialize.ts", + "test/server/inject.ts", + "test/server/listener.ts", + "test/server/load.ts", + "test/server/log.ts", + "test/server/lookup.ts", + "test/server/match.ts", + "test/server/method.ts", + "test/server/methods.ts", + "test/server/mime.ts", + "test/server/new.ts", + "test/server/on.ts", + "test/server/once.ts", + "test/server/path.ts", + "test/server/plugins.ts", + "test/server/realm.ts", + "test/server/register.ts", + "test/server/route.ts", + "test/server/select.ts", + "test/server/settings.ts", + "test/server/start.ts", + "test/server/state.ts", + "test/server/stop.ts", + "test/server/table.ts", + "test/server/version.ts" + ] +} diff --git a/types/hapi/v16/tslint.json b/types/hapi/v16/tslint.json new file mode 100644 index 0000000000..a41bf5d19a --- /dev/null +++ b/types/hapi/v16/tslint.json @@ -0,0 +1,79 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "adjacent-overload-signatures": false, + "array-type": false, + "arrow-return-shorthand": false, + "ban-types": false, + "callable-types": false, + "comment-format": false, + "dt-header": false, + "eofline": false, + "export-just-namespace": false, + "import-spacing": false, + "interface-name": false, + "interface-over-type-literal": false, + "jsdoc-format": false, + "max-line-length": false, + "member-access": false, + "new-parens": false, + "no-any-union": false, + "no-boolean-literal-compare": false, + "no-conditional-assignment": false, + "no-consecutive-blank-lines": false, + "no-construct": false, + "no-declare-current-package": false, + "no-duplicate-imports": false, + "no-duplicate-variable": false, + "no-empty-interface": false, + "no-for-in-array": false, + "no-inferrable-types": false, + "no-internal-module": false, + "no-irregular-whitespace": false, + "no-mergeable-namespace": false, + "no-misused-new": false, + "no-namespace": false, + "no-object-literal-type-assertion": false, + "no-padding": false, + "no-redundant-jsdoc": false, + "no-redundant-jsdoc-2": false, + "no-redundant-undefined": false, + "no-reference-import": false, + "no-relative-import-in-test": false, + "no-self-import": false, + "no-single-declare-module": false, + "no-string-throw": false, + "no-unnecessary-callback-wrapper": false, + "no-unnecessary-class": false, + "no-unnecessary-generics": false, + "no-unnecessary-qualifier": false, + "no-unnecessary-type-assertion": false, + "no-useless-files": false, + "no-var-keyword": false, + "no-var-requires": false, + "no-void-expression": false, + "no-trailing-whitespace": false, + "object-literal-key-quotes": false, + "object-literal-shorthand": false, + "one-line": false, + "one-variable-per-declaration": false, + "only-arrow-functions": false, + "prefer-conditional-expression": false, + "prefer-const": false, + "prefer-declare-function": false, + "prefer-for-of": false, + "prefer-method-signature": false, + "prefer-template": false, + "radix": false, + "semicolon": false, + "space-before-function-paren": false, + "space-within-parens": false, + "strict-export-declare-modifiers": false, + "trim-file": false, + "triple-equals": false, + "typedef-whitespace": false, + "unified-signatures": false, + "void-return": false, + "whitespace": false + } +} From 3503fa651ae34aff446aa1473f2f4c8776585311 Mon Sep 17 00:00:00 2001 From: rafaelsouzaf Date: Fri, 29 Dec 2017 21:10:55 -0300 Subject: [PATCH 251/463] Remove all lint rules. --- types/hapi/tslint.json | 78 +----------------------------------------- 1 file changed, 1 insertion(+), 77 deletions(-) diff --git a/types/hapi/tslint.json b/types/hapi/tslint.json index a41bf5d19a..f93cf8562a 100644 --- a/types/hapi/tslint.json +++ b/types/hapi/tslint.json @@ -1,79 +1,3 @@ { - "extends": "dtslint/dt.json", - "rules": { - "adjacent-overload-signatures": false, - "array-type": false, - "arrow-return-shorthand": false, - "ban-types": false, - "callable-types": false, - "comment-format": false, - "dt-header": false, - "eofline": false, - "export-just-namespace": false, - "import-spacing": false, - "interface-name": false, - "interface-over-type-literal": false, - "jsdoc-format": false, - "max-line-length": false, - "member-access": false, - "new-parens": false, - "no-any-union": false, - "no-boolean-literal-compare": false, - "no-conditional-assignment": false, - "no-consecutive-blank-lines": false, - "no-construct": false, - "no-declare-current-package": false, - "no-duplicate-imports": false, - "no-duplicate-variable": false, - "no-empty-interface": false, - "no-for-in-array": false, - "no-inferrable-types": false, - "no-internal-module": false, - "no-irregular-whitespace": false, - "no-mergeable-namespace": false, - "no-misused-new": false, - "no-namespace": false, - "no-object-literal-type-assertion": false, - "no-padding": false, - "no-redundant-jsdoc": false, - "no-redundant-jsdoc-2": false, - "no-redundant-undefined": false, - "no-reference-import": false, - "no-relative-import-in-test": false, - "no-self-import": false, - "no-single-declare-module": false, - "no-string-throw": false, - "no-unnecessary-callback-wrapper": false, - "no-unnecessary-class": false, - "no-unnecessary-generics": false, - "no-unnecessary-qualifier": false, - "no-unnecessary-type-assertion": false, - "no-useless-files": false, - "no-var-keyword": false, - "no-var-requires": false, - "no-void-expression": false, - "no-trailing-whitespace": false, - "object-literal-key-quotes": false, - "object-literal-shorthand": false, - "one-line": false, - "one-variable-per-declaration": false, - "only-arrow-functions": false, - "prefer-conditional-expression": false, - "prefer-const": false, - "prefer-declare-function": false, - "prefer-for-of": false, - "prefer-method-signature": false, - "prefer-template": false, - "radix": false, - "semicolon": false, - "space-before-function-paren": false, - "space-within-parens": false, - "strict-export-declare-modifiers": false, - "trim-file": false, - "triple-equals": false, - "typedef-whitespace": false, - "unified-signatures": false, - "void-return": false, - "whitespace": false - } + "extends": "dtslint/dt.json" } From 80492c378eee187543290630031694ada5869431 Mon Sep 17 00:00:00 2001 From: "Rafael S. Fijalkowski" Date: Tue, 2 Jan 2018 22:10:48 -0300 Subject: [PATCH 252/463] Set "strictNullChecks" true. --- types/hapi/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/hapi/tsconfig.json b/types/hapi/tsconfig.json index 4a92e017cc..4e98b5d1a2 100644 --- a/types/hapi/tsconfig.json +++ b/types/hapi/tsconfig.json @@ -7,7 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, - "strictFunctionTypes": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" From c447ab3de31e684701e6f0e133f59825466e1df5 Mon Sep 17 00:00:00 2001 From: "Rafael S. Fijalkowski" Date: Tue, 2 Jan 2018 22:55:26 -0300 Subject: [PATCH 253/463] Revert "Set "strictNullChecks" true." This reverts commit 8d1ffa7 --- types/hapi/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/hapi/tsconfig.json b/types/hapi/tsconfig.json index 4e98b5d1a2..4a92e017cc 100644 --- a/types/hapi/tsconfig.json +++ b/types/hapi/tsconfig.json @@ -7,7 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, - "strictFunctionTypes": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" From ab7828195064add88c21f7b67ae3fe3998a88a99 Mon Sep 17 00:00:00 2001 From: "Rafael S. Fijalkowski" Date: Tue, 2 Jan 2018 22:56:00 -0300 Subject: [PATCH 254/463] Set "strictNullChecks" true. --- types/hapi/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/hapi/tsconfig.json b/types/hapi/tsconfig.json index 4a92e017cc..7d52ffb17c 100644 --- a/types/hapi/tsconfig.json +++ b/types/hapi/tsconfig.json @@ -6,7 +6,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ From b7757327fd0362bb5b52494ad74cfe7ee9a84d95 Mon Sep 17 00:00:00 2001 From: "Rafael S. Fijalkowski" Date: Wed, 3 Jan 2018 18:08:50 -0300 Subject: [PATCH 255/463] Add server route validation test file. --- types/hapi/test/route/validation.ts | 30 +++++++++++++++++++++++++++++ types/hapi/tsconfig.json | 1 + 2 files changed, 31 insertions(+) create mode 100644 types/hapi/test/route/validation.ts diff --git a/types/hapi/test/route/validation.ts b/types/hapi/test/route/validation.ts new file mode 100644 index 0000000000..574b2a07be --- /dev/null +++ b/types/hapi/test/route/validation.ts @@ -0,0 +1,30 @@ +// from https://hapijs.com/tutorials/validation?lang=en_US +import { ServerRouteConfig, Request, ResponseToolkit, Server, ServerOptions, ServerRoute } from "hapi"; +import * as Joi from "joi"; + +const options: ServerOptions = { + port: 8000, +}; + +const configObject: ServerRouteConfig = { + validate: { + params: { + name: Joi.string().min(3).max(10) + } + } +} + +const serverRoute: ServerRoute = { + path: '/', + method: 'GET', + handler: (request: Request, h: ResponseToolkit) => { + return 'ok: ' + request.path; + }, + config: configObject +}; + +const server = new Server(options); +server.route(serverRoute); + +server.start(); +console.log('Server started at: ' + server.info.uri); diff --git a/types/hapi/tsconfig.json b/types/hapi/tsconfig.json index 7d52ffb17c..fd19f07bf6 100644 --- a/types/hapi/tsconfig.json +++ b/types/hapi/tsconfig.json @@ -39,6 +39,7 @@ "test/route/handler.ts", "test/route/route-options.ts", "test/route/route-options-pre.ts", + "test/route/validation.ts", "test/server/server-app.ts", "test/server/server-auth-api.ts", "test/server/server-auth-default.ts", From b8029826051a3dd07a8cd35a00371cdc7bbf3d6c Mon Sep 17 00:00:00 2001 From: Tuan Anh Tran Date: Thu, 8 Feb 2018 11:02:09 +0700 Subject: [PATCH 256/463] fix: ts version 2.2 --- types/camaro/camaro-tests.ts | 2 +- types/camaro/index.d.ts | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/types/camaro/camaro-tests.ts b/types/camaro/camaro-tests.ts index 4644c13a17..b99b0201c3 100644 --- a/types/camaro/camaro-tests.ts +++ b/types/camaro/camaro-tests.ts @@ -1,3 +1,3 @@ import transform = require('camaro'); -const x: Object = transform('text', { text: 'root/child'}); +const x: object = transform('text', { text: 'root/child'}); diff --git a/types/camaro/index.d.ts b/types/camaro/index.d.ts index d220b3d285..5d8b8e5bae 100644 --- a/types/camaro/index.d.ts +++ b/types/camaro/index.d.ts @@ -1,12 +1,13 @@ -// Type definitions for camaro 2.2.4 +// Type definitions for camaro 2.2 // Project: https://github.com/tuananh/camaro // Definitions by: Tuan Anh Tran // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 /** - * Transform the input xml to json using the input template object + * Transform the input xml to json using the input template object. * @param input The input xml string * @param template The output template */ -declare function transform(input: string, template: Object): Object; +declare function transform(input: string, template: object): object; export = transform; From c423899d98797d221c481298df29f58da9b55278 Mon Sep 17 00:00:00 2001 From: Justin Simms <526791+jhsimms@users.noreply.github.com> Date: Sat, 3 Feb 2018 22:25:06 -0600 Subject: [PATCH 257/463] Fix the remaining failing tests and add promise return types for async functions. --- types/h2o2/tsconfig.json | 7 ++- types/hapi-auth-basic/tsconfig.json | 7 ++- types/hapi-auth-jwt2/tsconfig.json | 7 ++- types/hapi-decorators/tsconfig.json | 5 ++- types/hapi/definitions/plugin/plugin.d.ts | 44 ++++++++++++------- .../hapi/definitions/route/route-options.d.ts | 2 +- .../hapi/definitions/server/server-auth.d.ts | 2 +- .../hapi/definitions/server/server-cache.d.ts | 2 +- .../definitions/server/server-events.d.ts | 6 +-- .../definitions/server/server-register.d.ts | 2 +- types/hapi/definitions/server/server.d.ts | 12 ++--- types/hapi/index.d.ts | 1 + types/hapi/test/response/response-events.ts | 3 +- types/hapi/test/route/route-options.ts | 6 +-- types/hapi/test/route/validation.ts | 2 +- types/hapi/test/server/server-auth-test.ts | 4 +- types/hapi/test/server/server-bind.ts | 2 +- .../test/server/server-cache-provision.ts | 4 +- types/hapi/test/server/server-cache.ts | 4 +- types/hapi/test/server/server-expose.ts | 4 +- types/hapi/test/server/server-inject.ts | 3 +- types/hapi/test/server/server-lookup.ts | 2 +- types/hapi/test/server/server-match.ts | 7 ++- types/hapi/test/server/server-options.ts | 6 +-- types/hapi/test/server/server-path.ts | 2 +- types/hapi/test/server/server-plugins.ts | 2 +- types/hapi/v16/test/continuation/errors.ts | 4 +- types/hapi/v16/tsconfig.json | 4 +- types/inert/tsconfig.json | 5 ++- types/nes/tsconfig.json | 7 ++- types/swagger-express-mw/tsconfig.json | 7 ++- types/swagger-hapi/tsconfig.json | 7 ++- types/swagger-node-runner/tsconfig.json | 7 ++- types/swagger-restify-mw/tsconfig.json | 7 ++- types/swagger-sails-hook/tsconfig.json | 7 ++- types/vision/tsconfig.json | 7 ++- 36 files changed, 109 insertions(+), 101 deletions(-) diff --git a/types/h2o2/tsconfig.json b/types/h2o2/tsconfig.json index b0d5bbf160..4b4260bc21 100644 --- a/types/h2o2/tsconfig.json +++ b/types/h2o2/tsconfig.json @@ -14,9 +14,8 @@ ], "types": [], "paths": { - "boom": [ - "boom/v4" - ] + "boom": ["boom/v4"], + "hapi": ["hapi/v16"] }, "noEmit": true, "forceConsistentCasingInFileNames": true, @@ -26,4 +25,4 @@ "index.d.ts", "h2o2-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/hapi-auth-basic/tsconfig.json b/types/hapi-auth-basic/tsconfig.json index 7448e829c4..6d16801a90 100644 --- a/types/hapi-auth-basic/tsconfig.json +++ b/types/hapi-auth-basic/tsconfig.json @@ -14,9 +14,8 @@ ], "types": [], "paths": { - "boom": [ - "boom/v4" - ] + "boom": ["boom/v4"], + "hapi": ["hapi/v16"] }, "noEmit": true, "forceConsistentCasingInFileNames": true, @@ -26,4 +25,4 @@ "index.d.ts", "hapi-auth-basic-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/hapi-auth-jwt2/tsconfig.json b/types/hapi-auth-jwt2/tsconfig.json index 7d06e7c818..cca5383217 100644 --- a/types/hapi-auth-jwt2/tsconfig.json +++ b/types/hapi-auth-jwt2/tsconfig.json @@ -14,9 +14,8 @@ ], "types": [], "paths": { - "boom": [ - "boom/v4" - ] + "boom": ["boom/v4"], + "hapi": ["hapi/v16"] }, "noEmit": true, "forceConsistentCasingInFileNames": true, @@ -26,4 +25,4 @@ "index.d.ts", "hapi-auth-jwt2-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/hapi-decorators/tsconfig.json b/types/hapi-decorators/tsconfig.json index 645122114e..fa86375121 100644 --- a/types/hapi-decorators/tsconfig.json +++ b/types/hapi-decorators/tsconfig.json @@ -18,7 +18,8 @@ "paths": { "boom": [ "boom/v4" - ] + ], + "hapi": ["hapi/v16"] }, "noEmit": true, "forceConsistentCasingInFileNames": true, @@ -28,4 +29,4 @@ "index.d.ts", "hapi-decorators-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/hapi/definitions/plugin/plugin.d.ts b/types/hapi/definitions/plugin/plugin.d.ts index 4340f804e1..ebcf87e476 100644 --- a/types/hapi/definitions/plugin/plugin.d.ts +++ b/types/hapi/definitions/plugin/plugin.d.ts @@ -8,22 +8,7 @@ export interface PluginSpecificConfiguration { } -/** - * Plugins provide a way to organize application code by splitting the server logic into smaller components. Each - * plugin can manipulate the server through the standard server interface, but with the added ability to sandbox - * certain properties. For example, setting a file path in one plugin doesn't affect the file path set - * in another plugin. - * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#plugins) - */ -export interface Plugin { - - /** - * (required) the registration function with the signature async function(server, options) where: - * * server - the server object with a plugin-specific server.realm. - * * options - any options passed to the plugin during registration via server.register(). - */ - register: (server: Server, options: ServerRegisterOptions) => void; - +export interface PluginNameVersion { /** * (required) the plugin name string. The name is used as a unique key. Published plugins (e.g. published in the npm * registry) should use the same name as the name field in their 'package.json' file. Names must be @@ -33,6 +18,31 @@ export interface Plugin { /** optional plugin version. The version is only used informatively to enable other plugins to find out the versions loaded. The version should be the same as the one specified in the plugin's 'package.json' file. */ version?: string; +} + +export interface PluginPackage { + + /** + * Alternatively, the name and version can be included via the pkg property containing the 'package.json' file for the module which already has the name and version included + */ + pkg: any; +} + +/** + * Plugins provide a way to organize application code by splitting the server logic into smaller components. Each + * plugin can manipulate the server through the standard server interface, but with the added ability to sandbox + * certain properties. For example, setting a file path in one plugin doesn't affect the file path set + * in another plugin. + * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#plugins) + */ +export interface PluginBase { + + /** + * (required) the registration function with the signature async function(server, options) where: + * * server - the server object with a plugin-specific server.realm. + * * options - any options passed to the plugin during registration via server.register(). + */ + register: (server: Server, options: any) => Promise; /** (optional) if true, allows the plugin to be registered multiple times with the same server. Defaults to false. */ multiple?: boolean; @@ -42,6 +52,6 @@ export interface Plugin { /** once - (optional) if true, will only register the plugin once per server. If set, overrides the once option passed to server.register(). Defaults to no override. */ once?: boolean; - } +export type Plugin = PluginBase & (PluginNameVersion | PluginPackage); diff --git a/types/hapi/definitions/route/route-options.d.ts b/types/hapi/definitions/route/route-options.d.ts index 2bc2542f4a..e66668c75c 100644 --- a/types/hapi/definitions/route/route-options.d.ts +++ b/types/hapi/definitions/route/route-options.d.ts @@ -45,7 +45,7 @@ export interface RouteOptions { * An object passed back to the provided handler (via this) when called. Ignored if the method is an arrow function. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsbind) */ - bind?: object; + bind?: object | null; /** * Default value: { privacy: 'default', statuses: [200], otherwise: 'no-cache' }. diff --git a/types/hapi/definitions/server/server-auth.d.ts b/types/hapi/definitions/server/server-auth.d.ts index 0b082c2872..92cb0c4c98 100644 --- a/types/hapi/definitions/server/server-auth.d.ts +++ b/types/hapi/definitions/server/server-auth.d.ts @@ -76,7 +76,7 @@ export interface ServerAuth { * include verifying scope, entity, or other route properties. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-serverauthteststrategy-request) */ - test(strategy: string, request: Request): any; + test(strategy: string, request: Request): Promise; } diff --git a/types/hapi/definitions/server/server-cache.d.ts b/types/hapi/definitions/server/server-cache.d.ts index d21d3c2613..730f5e8675 100644 --- a/types/hapi/definitions/server/server-cache.d.ts +++ b/types/hapi/definitions/server/server-cache.d.ts @@ -37,6 +37,6 @@ export interface ServerCache { * Note that if the server has been initialized or started, the cache will be automatically started to match the state of any other provisioned server cache. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-servercacheprovisionoptions) */ - provision(options: ServerOptionsCache): void; + provision(options: ServerOptionsCache): Promise; } diff --git a/types/hapi/definitions/server/server-events.d.ts b/types/hapi/definitions/server/server-events.d.ts index 5eb7bdc283..b1e0c05405 100644 --- a/types/hapi/definitions/server/server-events.d.ts +++ b/types/hapi/definitions/server/server-events.d.ts @@ -81,8 +81,8 @@ export interface ServerEvents extends Podium { * Note that events must be registered before they can be emitted or subscribed to by calling server.event(events). This is done to detect event name misspelling and invalid event activities. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-servereventsemitcriteria-data) */ - emit(criteria: string, data: any | Function): void; - emit(criteria: {name: string, channel?: string, tags?: string | string[]}, data: any): void; + emit(criteria: string, data: any | Function): Promise; + emit(criteria: {name: string, channel?: string, tags?: string | string[]}, data: any): Promise; /** * Subscribe to an event where: @@ -123,7 +123,7 @@ export interface ServerEvents extends Podium { * @return Return value: a promise that resolves when the event is emitted. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-servereventsoncecriteria) */ - once(criteria: string | ServerEventsApplicationObject | ServerEventCriteria): any; + once(criteria: string | ServerEventsApplicationObject | ServerEventCriteria): Promise; /** * The follow method is only mentioned in Hapi API. The doc about that method can be found [here](https://github.com/hapijs/podium/blob/master/API.md#podiumremovelistenername-listener) diff --git a/types/hapi/definitions/server/server-register.d.ts b/types/hapi/definitions/server/server-register.d.ts index 2b01995f9a..b4ce0614d6 100644 --- a/types/hapi/definitions/server/server-register.d.ts +++ b/types/hapi/definitions/server/server-register.d.ts @@ -46,5 +46,5 @@ export interface ServerRegisterPluginObject extends ServerRegisterOptions { /** * options passed to the plugin during registration. */ - options?: object; + options?: any; } diff --git a/types/hapi/definitions/server/server.d.ts b/types/hapi/definitions/server/server.d.ts index a8f832c95b..0ddab2375a 100644 --- a/types/hapi/definitions/server/server.d.ts +++ b/types/hapi/definitions/server/server.d.ts @@ -364,7 +364,7 @@ export class Server extends Podium { * If you must try to resume after an error, call server.stop() first to reset the server state. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-serverinitialize) */ - initialize(): void; + initialize(): Promise; /** * Injects a request into the server simulating an incoming HTTP request without making an actual socket connection. Injection is useful for testing purposes as well as for invoking routing logic internally without the overhead and limitations of the network stack. @@ -398,7 +398,7 @@ export class Server extends Podium { * * request - the request object. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-serverinjectoptions) */ - inject(options: string | ServerInjectOptions): ServerInjectResponse; + inject(options: string | ServerInjectOptions): Promise; /** * Logs server events that cannot be associated with a specific request. When called the server emits a 'log' event which can be used by other listeners or plugins to record the information or output to the console. The arguments are: @@ -482,8 +482,8 @@ export class Server extends Podium { * @return Return value: none. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-serverregisterplugins-options) */ - register(plugins: Plugin | Plugin[], options?: ServerRegisterOptions): void; - register(plugins: ServerRegisterPluginObject | ServerRegisterPluginObject[], options?: ServerRegisterOptions): void; + register(plugins: Plugin | Plugin[], options?: ServerRegisterOptions): Promise; + register(plugins: ServerRegisterPluginObject | ServerRegisterPluginObject[], options?: ServerRegisterOptions): Promise; /** * Adds a route where: @@ -526,7 +526,7 @@ export class Server extends Podium { * If a started server is started again, the second call to server.start() is ignored. No events will be emitted and no extension points invoked. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-serverstart) */ - start(): void; + start(): Promise; /** * HTTP state management uses client cookies to persist a state across multiple requests. @@ -545,7 +545,7 @@ export class Server extends Podium { * @return Return value: none. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-serverstopoptions) */ - stop(options?: {timeout: number}): void; + stop(options?: {timeout: number}): Promise; /** * Returns a copy of the routing table where: diff --git a/types/hapi/index.d.ts b/types/hapi/index.d.ts index 7df3bf0d04..0c4aa7a1aa 100644 --- a/types/hapi/index.d.ts +++ b/types/hapi/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/hapijs/hapi // Definitions by: Marc Bornträger // Rafael Souza Fijalkowski +// Justin Simms // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.4 diff --git a/types/hapi/test/response/response-events.ts b/types/hapi/test/response/response-events.ts index 7eb46019e8..0680f7f7f8 100644 --- a/types/hapi/test/response/response-events.ts +++ b/types/hapi/test/response/response-events.ts @@ -3,7 +3,8 @@ import { Request, ResponseObject, ResponseToolkit, Server, ServerOptions, Server import * as Crypto from "crypto"; const preResponse = (request: Request, h: ResponseToolkit) => { - const response: ResponseObject = request.response; + // In onPreResponse, the response object will be defined. + const response: ResponseObject = request.response!; const hash = Crypto.createHash('sha1'); response.events.on('peek', (chunk: any) => { diff --git a/types/hapi/test/route/route-options.ts b/types/hapi/test/route/route-options.ts index f5501ab48e..7835b880d3 100644 --- a/types/hapi/test/route/route-options.ts +++ b/types/hapi/test/route/route-options.ts @@ -75,7 +75,7 @@ const routeOptionsResponse: RouteOptionsResponse = { return 'ok: ' + request.path; }, modify: false, - options: null, + options: undefined, ranges: true, sample: 100, schema: true, @@ -114,14 +114,14 @@ const routeOptions: RouteOptions = { }, cors: corsOption, description: 'description here', - ext: null, + ext: undefined, files: { relativeTo: '.' }, handler: (request: Request, h: ResponseToolkit) => { return 'ok: ' + request.path; }, id: 'test', isInternal: false, - json: null, + json: undefined, jsonp: 'callback', log: { collect: false }, notes: ['test', 'test', 'test'], diff --git a/types/hapi/test/route/validation.ts b/types/hapi/test/route/validation.ts index 574b2a07be..5296183e87 100644 --- a/types/hapi/test/route/validation.ts +++ b/types/hapi/test/route/validation.ts @@ -12,7 +12,7 @@ const configObject: ServerRouteConfig = { name: Joi.string().min(3).max(10) } } -} +}; const serverRoute: ServerRoute = { path: '/', diff --git a/types/hapi/test/server/server-auth-test.ts b/types/hapi/test/server/server-auth-test.ts index e65f1747a3..ae77089ddf 100644 --- a/types/hapi/test/server/server-auth-test.ts +++ b/types/hapi/test/server/server-auth-test.ts @@ -26,9 +26,9 @@ server.auth.strategy('default', 'custom'); server.route({ method: 'GET', path: '/', - handler: (request: Request, h: ResponseToolkit) => { + handler: async (request: Request, h: ResponseToolkit) => { try { - const credentials = request.server.auth.test('default', request); + const credentials = await request.server.auth.test('default', request); return { status: true, user: credentials.name }; } catch (err) { return { status: false }; diff --git a/types/hapi/test/server/server-bind.ts b/types/hapi/test/server/server-bind.ts index 316c7d846a..e68e248ad7 100644 --- a/types/hapi/test/server/server-bind.ts +++ b/types/hapi/test/server/server-bind.ts @@ -10,7 +10,7 @@ const handler = (request: Request, h: ResponseToolkit) => { const plugin: Plugin = { name: 'example', - register: (server: Server, options: ServerRegisterOptions) => { + register: async (server: Server, options: ServerRegisterOptions) => { const bind = { message: 'hello' }; diff --git a/types/hapi/test/server/server-cache-provision.ts b/types/hapi/test/server/server-cache-provision.ts index 7aac50ffbd..f30ce65cd6 100644 --- a/types/hapi/test/server/server-cache-provision.ts +++ b/types/hapi/test/server/server-cache-provision.ts @@ -9,8 +9,8 @@ server.initialize(); server.cache.provision({engine: require('catbox-memory'), name: 'countries' }); const cache: catbox.Policy = server.cache({segment: 'countries', cache: 'countries', expiresIn: 60 * 60 * 1000 }); -cache.set('norway', 'oslo', 10 * 1000, null); -const value = cache.get('norway', null); +cache.set('norway', 'oslo', 10 * 1000, () => {}); +const value = cache.get('norway', () => {}); server.start(); diff --git a/types/hapi/test/server/server-cache.ts b/types/hapi/test/server/server-cache.ts index 467ead25f5..64f8c85e80 100644 --- a/types/hapi/test/server/server-cache.ts +++ b/types/hapi/test/server/server-cache.ts @@ -11,9 +11,9 @@ const catboxOptions: ServerOptionsCache = { expiresIn: 60 * 60 * 1000 }; const cache: catbox.Policy = server.cache(catboxOptions); -cache.set('norway', 'oslo', 10 * 1000, null); +cache.set('norway', 'oslo', 10 * 1000, () => {}); -const value = cache.get('norway', null); +const value = cache.get('norway', () => {}); console.log("Value: " + value); server.start(); diff --git a/types/hapi/test/server/server-expose.ts b/types/hapi/test/server/server-expose.ts index 4303a62546..4b1a5802dd 100644 --- a/types/hapi/test/server/server-expose.ts +++ b/types/hapi/test/server/server-expose.ts @@ -3,14 +3,14 @@ import { Plugin, Server, ServerRegisterOptions } from "hapi"; const plugin1: Plugin = { name: 'example1', - register: (server: Server, options: ServerRegisterOptions) => { + register: async (server: Server, options: ServerRegisterOptions) => { server.expose('util', () => console.log('something')); } }; const plugin2: Plugin = { name: 'example2', - register: (server: Server, options: ServerRegisterOptions) => { + register: async (server: Server, options: ServerRegisterOptions) => { server.expose('util', () => console.log('something')); } }; diff --git a/types/hapi/test/server/server-inject.ts b/types/hapi/test/server/server-inject.ts index 85a4cbacae..477a3b2ec4 100644 --- a/types/hapi/test/server/server-inject.ts +++ b/types/hapi/test/server/server-inject.ts @@ -16,5 +16,4 @@ const serverRoute: ServerRoute = { server.route(serverRoute); server.start(); -const res = server.inject('/'); -console.log(res.result); +server.inject('/').then(res => console.log(res.result)); diff --git a/types/hapi/test/server/server-lookup.ts b/types/hapi/test/server/server-lookup.ts index 2a082f734a..651ba0cd8b 100644 --- a/types/hapi/test/server/server-lookup.ts +++ b/types/hapi/test/server/server-lookup.ts @@ -14,7 +14,7 @@ server.route({ } }); -const route: RequestRoute = server.lookup('root'); +const route: RequestRoute | null = server.lookup('root'); console.log(route); server.start(); diff --git a/types/hapi/test/server/server-match.ts b/types/hapi/test/server/server-match.ts index fe9aa2a10a..27f59991b5 100644 --- a/types/hapi/test/server/server-match.ts +++ b/types/hapi/test/server/server-match.ts @@ -14,7 +14,10 @@ server.route({ } }); -const route: RequestRoute = server.match('get', '/'); -console.log(route.path); +const route: RequestRoute | null = server.match('get', '/'); + +if (route !== null) { + console.log(route.path); +} server.start(); diff --git a/types/hapi/test/server/server-options.ts b/types/hapi/test/server/server-options.ts index 900f380875..bb8643d5f2 100644 --- a/types/hapi/test/server/server-options.ts +++ b/types/hapi/test/server/server-options.ts @@ -32,7 +32,7 @@ const mimeOptions: MimosOptions = { const plugin: Plugin = { name: 'example', - register: (server: Server, options: ServerRegisterOptions) => { + register: async (server: Server, options: ServerRegisterOptions) => { server.expose('key', 'value'); server.plugins.example.other = 'other'; console.log(server.plugins.example.key); // 'value' @@ -77,7 +77,7 @@ const options: ServerOptions = { request: ['implementation'] }, host: 'localhost', - listener: null, + listener: undefined, load: { sampleInterval: 0 }, mime: mimeOptions, plugins: plugin, @@ -95,7 +95,7 @@ const options: ServerOptions = { isSameSite: 'Strict', encoding: 'none' }, - tls: null + tls: undefined }; const server = new Server(options); diff --git a/types/hapi/test/server/server-path.ts b/types/hapi/test/server/server-path.ts index 0b125d61d0..86363c5636 100644 --- a/types/hapi/test/server/server-path.ts +++ b/types/hapi/test/server/server-path.ts @@ -15,7 +15,7 @@ const serverRouteOption: ServerRoute = { const plugin: Plugin = { name: 'example', - register: (server: Server, options: ServerRegisterOptions) => { + register: async (server: Server, options: ServerRegisterOptions) => { // Assuming the Inert plugin was registered previously server.path(__dirname + '../static'); server.route(serverRouteOption); diff --git a/types/hapi/test/server/server-plugins.ts b/types/hapi/test/server/server-plugins.ts index 498df49823..a4bd629600 100644 --- a/types/hapi/test/server/server-plugins.ts +++ b/types/hapi/test/server/server-plugins.ts @@ -3,7 +3,7 @@ import { Plugin, Server, ServerRegisterOptions } from "hapi"; const plugin: Plugin = { name: 'example', - register: (server: Server, options: ServerRegisterOptions) => { + register: async (server: Server, options: ServerRegisterOptions) => { server.expose('key', 'value'); server.plugins.example.other = 'other'; console.log(server.plugins.example.key); // 'value' diff --git a/types/hapi/v16/test/continuation/errors.ts b/types/hapi/v16/test/continuation/errors.ts index 6bce66c58e..165e5214df 100644 --- a/types/hapi/v16/test/continuation/errors.ts +++ b/types/hapi/v16/test/continuation/errors.ts @@ -1,6 +1,6 @@ -import * as Hapi from '../../'; -import * as Boom from '../../../../boom'; +import * as Hapi from 'hapi'; +import * as Boom from 'boom'; // Assignment of a typical function to ContinuationValueFunction is possible const handleError: Hapi.ContinuationValueFunction = (err?: Boom.BoomError | null, value?: any) => { diff --git a/types/hapi/v16/tsconfig.json b/types/hapi/v16/tsconfig.json index f77f7d4abe..e54c0e1e63 100644 --- a/types/hapi/v16/tsconfig.json +++ b/types/hapi/v16/tsconfig.json @@ -14,12 +14,14 @@ ], "types": [], "paths": { + "boom": ["boom/v4"], "hapi": [ "hapi/v16" ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", diff --git a/types/inert/tsconfig.json b/types/inert/tsconfig.json index feda976404..4aba3d080a 100644 --- a/types/inert/tsconfig.json +++ b/types/inert/tsconfig.json @@ -16,7 +16,8 @@ "paths": { "boom": [ "boom/v4" - ] + ], + "hapi": ["hapi/v16"] }, "noEmit": true, "forceConsistentCasingInFileNames": true, @@ -26,4 +27,4 @@ "index.d.ts", "inert-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/nes/tsconfig.json b/types/nes/tsconfig.json index f9e07170b3..5fe10888ae 100644 --- a/types/nes/tsconfig.json +++ b/types/nes/tsconfig.json @@ -14,9 +14,8 @@ ], "types": [], "paths": { - "boom": [ - "boom/v4" - ] + "boom": ["boom/v4"], + "hapi": ["hapi/v16"] }, "noEmit": true, "forceConsistentCasingInFileNames": true, @@ -39,4 +38,4 @@ "test/subscriptions-client.ts", "test/subscriptions-server.ts" ] -} \ No newline at end of file +} diff --git a/types/swagger-express-mw/tsconfig.json b/types/swagger-express-mw/tsconfig.json index 10ebc4ed97..49e10dbf21 100644 --- a/types/swagger-express-mw/tsconfig.json +++ b/types/swagger-express-mw/tsconfig.json @@ -14,9 +14,8 @@ ], "types": [], "paths": { - "boom": [ - "boom/v4" - ] + "boom": ["boom/v4"], + "hapi": ["hapi/v16"] }, "noEmit": true, "forceConsistentCasingInFileNames": true, @@ -26,4 +25,4 @@ "index.d.ts", "swagger-express-mw-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/swagger-hapi/tsconfig.json b/types/swagger-hapi/tsconfig.json index 5b917e2121..5fd0c591fb 100644 --- a/types/swagger-hapi/tsconfig.json +++ b/types/swagger-hapi/tsconfig.json @@ -14,9 +14,8 @@ ], "types": [], "paths": { - "boom": [ - "boom/v4" - ] + "boom": ["boom/v4"], + "hapi": ["hapi/v16"] }, "noEmit": true, "forceConsistentCasingInFileNames": true, @@ -26,4 +25,4 @@ "index.d.ts", "swagger-hapi-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/swagger-node-runner/tsconfig.json b/types/swagger-node-runner/tsconfig.json index 9aa6ec5364..e349e4cc6a 100644 --- a/types/swagger-node-runner/tsconfig.json +++ b/types/swagger-node-runner/tsconfig.json @@ -14,9 +14,8 @@ ], "types": [], "paths": { - "boom": [ - "boom/v4" - ] + "boom": ["boom/v4"], + "hapi": ["hapi/v16"] }, "noEmit": true, "forceConsistentCasingInFileNames": true, @@ -26,4 +25,4 @@ "index.d.ts", "swagger-node-runner-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/swagger-restify-mw/tsconfig.json b/types/swagger-restify-mw/tsconfig.json index d561204c42..e80378cda0 100644 --- a/types/swagger-restify-mw/tsconfig.json +++ b/types/swagger-restify-mw/tsconfig.json @@ -14,9 +14,8 @@ ], "types": [], "paths": { - "boom": [ - "boom/v4" - ] + "boom": ["boom/v4"], + "hapi": ["hapi/v16"] }, "noEmit": true, "forceConsistentCasingInFileNames": true, @@ -26,4 +25,4 @@ "index.d.ts", "swagger-restify-mw-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/swagger-sails-hook/tsconfig.json b/types/swagger-sails-hook/tsconfig.json index 17d598916d..4e48ad232d 100644 --- a/types/swagger-sails-hook/tsconfig.json +++ b/types/swagger-sails-hook/tsconfig.json @@ -14,9 +14,8 @@ ], "types": [], "paths": { - "boom": [ - "boom/v4" - ] + "boom": ["boom/v4"], + "hapi": ["hapi/v16"] }, "noEmit": true, "forceConsistentCasingInFileNames": true, @@ -26,4 +25,4 @@ "index.d.ts", "swagger-sails-hook-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/vision/tsconfig.json b/types/vision/tsconfig.json index 77092f0ff4..2457f046cf 100644 --- a/types/vision/tsconfig.json +++ b/types/vision/tsconfig.json @@ -14,9 +14,8 @@ ], "types": [], "paths": { - "boom": [ - "boom/v4" - ] + "boom": ["boom/v4"], + "hapi": ["hapi/v16"] }, "noEmit": true, "forceConsistentCasingInFileNames": true, @@ -26,4 +25,4 @@ "index.d.ts", "vision-tests.ts" ] -} \ No newline at end of file +} From ebd4258ba7cfdc2a2f8db70c8d05dacb06e87ccc Mon Sep 17 00:00:00 2001 From: yushulx Date: Thu, 8 Feb 2018 13:26:07 +0800 Subject: [PATCH 258/463] Add PDF addon definition --- types/dwt/index.d.ts | 69 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 68 insertions(+), 1 deletion(-) diff --git a/types/dwt/index.d.ts b/types/dwt/index.d.ts index d72fab058f..230cd63d19 100644 --- a/types/dwt/index.d.ts +++ b/types/dwt/index.d.ts @@ -12,9 +12,66 @@ * * Copyright 2017, Dynamsoft Corporation * Author: Dynamsoft Support Team -* Version: 13 +* Version: 13.3 */ +/** + * Dynamsoft WebTwain Addon PDF + */ +declare enum EnumDWT_ConverMode { + CM_DEFAULT = 0, + TWPT_CM_RENDERALLGRAY = 1 +} + +/** + * @class + */ +interface PDF { + /** + * Download and install pdf rasterizer add-on on the local system. + * @method Dynamsoft.WebTwain#Download + * @param {string} remoteFile specifies the value of which frame to get. + * @param {function} optionalAsyncSuccessFunc optional. The function to call when the download succeeds. Please refer to the function prototype OnSuccess. + * @param {function} optionalAsyncFailureFunc optional. The function to call when the download fails. Please refer to the function prototype OnFailure. + * @return {bool} + */ + Download(remoteFile: string, optionalAsyncSuccessFunc?: () => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; + + /** + * Input the password to decrypt PDF files using PDF Rasterizer add-on. + * @method Dynamsoft.WebTwain#SetPassword + * @param {string} password Specifies the PDF password. + * @return {bool} + */ + SetPassword(password: string): boolean; + + /** + * Set the image convert mode for PDF Rasterizer in Dynamic Web TWAIN. + * @method Dynamsoft.WebTwain#SetConvertMode + * @param {EnumDWT_ConverMode} convertMode Specifies the image convert mode. + * @return {bool} + */ + SetConvertMode(convertMode: EnumDWT_ConverMode): boolean; + + /** + * Set the output resolution for the PDF Rasterizer in Dynamic Web TWAIN. + * @method Dynamsoft.WebTwain#ReadRect + * @param {float} fResolution Specifies the resolution for convert image from PDF file. + * @return {bool} + */ + SetResolution(fResolution: number): boolean; + + /** + * Judges whether the local PDF is text-based or not. + * @method Dynamsoft.WebTwain#ReadRect + * @param {string} localFile specifies the local path of the target PDF. + * @return {bool} + */ + IsTextBasedPDF(localFile: string): boolean; +} + +///////////////////////////////////////////////////////////////////////////////////////////////////// + /** * @namespace Dynamsoft */ @@ -1261,11 +1318,21 @@ interface Container { Height: string | number; } +interface WebTwainAddon { + PDF: PDF; +} + /** * @class */ // properties (get/set) / sync functions interface WebTwain { + /** + * Returns addon. + * @type {WebTwainAddon} + */ + Addon: WebTwainAddon; + /** * Returns or sets whether multi-page selection is supported. * @type {bool} From a2c441bac51564f21150cd078c31021b70123e51 Mon Sep 17 00:00:00 2001 From: rmehra Date: Wed, 7 Feb 2018 22:34:45 -0800 Subject: [PATCH 259/463] Fix #23499. [@types/graphql-relay] Add nodes field to GraphQLNodeDefinitions --- types/graphql-relay/graphql-relay-tests.ts | 3 ++- types/graphql-relay/index.d.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/types/graphql-relay/graphql-relay-tests.ts b/types/graphql-relay/graphql-relay-tests.ts index a451f0faab..6cc1f0f5ce 100644 --- a/types/graphql-relay/graphql-relay-tests.ts +++ b/types/graphql-relay/graphql-relay-tests.ts @@ -122,7 +122,8 @@ const idFetcher = (id: string, context: number, info: GraphQLResolveInfo) => { info.fieldName = "f"; }; const nodeDef = nodeDefinitions(idFetcher, resolver); -const fieldConfig: GraphQLFieldConfig = nodeDef.nodeField; +const nodeFieldConfig: GraphQLFieldConfig = nodeDef.nodeField; +const nodesFieldConfig: GraphQLFieldConfig = nodeDef.nodesField; const interfaceType: GraphQLInterfaceType = nodeDef.nodeInterface; // toGlobalId takes a type name and an ID specific to that type name, and returns a "global ID" that is unique among all types. toGlobalId("t", "i").toLowerCase(); diff --git a/types/graphql-relay/index.d.ts b/types/graphql-relay/index.d.ts index 2318a527e4..50ed0c3b7d 100644 --- a/types/graphql-relay/index.d.ts +++ b/types/graphql-relay/index.d.ts @@ -245,6 +245,7 @@ export function mutationWithClientMutationId( export interface GraphQLNodeDefinitions { nodeInterface: GraphQLInterfaceType; nodeField: GraphQLFieldConfig; + nodesField: GraphQLFieldConfig; } export type typeResolverFn = ((any: any) => GraphQLObjectType) | From 10d7c896cc3100bb6b7c69d9d001dc3c427bce76 Mon Sep 17 00:00:00 2001 From: Sheng Chen Date: Thu, 8 Feb 2018 16:16:54 +0800 Subject: [PATCH 260/463] add test case --- types/websocket/websocket-tests.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/types/websocket/websocket-tests.ts b/types/websocket/websocket-tests.ts index 3044f9bf7d..94f8a11e16 100644 --- a/types/websocket/websocket-tests.ts +++ b/types/websocket/websocket-tests.ts @@ -180,8 +180,18 @@ function clientTest2() { } +function testClientAbortApi() { + var ipArray = getLocalIpArray(); + var client = new websocket.client(); + client.connect(`ws://${ipArray[0]}:8888`, undefined, undefined, undefined, { + localAddress: ipArray[0] + }); + client.abort(); +} + { console.log(`websocket test start.`); serverTest2(); clientTest2(); + testClientAbortApi(); } From dd7f22c76e15b2a080d65451f2e4858b2103cabf Mon Sep 17 00:00:00 2001 From: Thomas Thiebaud Date: Wed, 7 Feb 2018 21:50:38 +0100 Subject: [PATCH 261/463] Update type definitions for analytics-node --- types/analytics-node/analytics-node-tests.ts | 82 +++++++++++++++++++- types/analytics-node/index.d.ts | 44 +++++++---- 2 files changed, 112 insertions(+), 14 deletions(-) diff --git a/types/analytics-node/analytics-node-tests.ts b/types/analytics-node/analytics-node-tests.ts index 5207fe560b..5dfabb426c 100644 --- a/types/analytics-node/analytics-node-tests.ts +++ b/types/analytics-node/analytics-node-tests.ts @@ -18,6 +18,22 @@ function testIdentify(): void { friends: 42 } }); + + analytics.identify({ + userId: '019mr8mf4r', + traits: { + name: 'Michael Bolton', + email: 'mbolton@initech.com', + plan: 'Enterprise', + friends: 42 + } + }, (err, data) => { + if (err) { + console.error(err); + } else { + data.batch.forEach((message) => console.log(`${data.sentAt} : ${message}`)) + } + }); } function testTrack(): void { @@ -29,6 +45,21 @@ function testTrack(): void { shippingMethod: '2-day' } }); + + analytics.track({ + userId: '019mr8mf4r', + event: 'Purchased an Item', + properties: { + revenue: 39.95, + shippingMethod: '2-day' + } + }, (err, data) => { + if (err) { + console.error(err); + } else { + data.batch.forEach((message) => console.log(`${data.sentAt} : ${message}`)) + } + }); } function testPage(): void { @@ -43,6 +74,24 @@ function testPage(): void { referrer: 'https://github.com/segmentio/analytics-node' } }); + + analytics.page({ + userId: '019mr8mf4r', + category: 'Docs', + name: 'Node.js Library', + properties: { + url: 'https://segment.com/docs/libraries/node', + path: '/docs/libraries/node/', + title: 'Node.js Library - Segment', + referrer: 'https://github.com/segmentio/analytics-node' + } + }, (err, data) => { + if (err) { + console.error(err); + } else { + data.batch.forEach((message) => console.log(`${data.sentAt} : ${message}`)) + } + }); } function testAlias(): void { @@ -65,6 +114,21 @@ function testGroup(): void { description: 'Accounting Software' } }); + + analytics.group({ + userId: '019mr8mf4r', + groupId: '56', + traits: { + name: 'Initech', + description: 'Accounting Software' + } + }, (err, data) => { + if (err) { + console.error(err); + } else { + data.batch.forEach((message) => console.log(`${data.sentAt} : ${message}`)) + } + }); } function testIntegrations(): void { @@ -77,11 +141,27 @@ function testIntegrations(): void { 'Google Analytics': false } }); + + analytics.track({ + event: 'Upgraded Membershipt', + userId: '97234974', + integrations: { + 'All': false, + 'Vero': true, + 'Google Analytics': false + } + }, (err, data) => { + if (err) { + console.error(err); + } else { + data.batch.forEach((message) => console.log(`${data.sentAt} : ${message}`)) + } + }); } function testFlush(): void { analytics.flush(); - analytics.flush(function(err, batch) { + analytics.flush((err, batch) => { if (err) { alert("Oh nos!"); } else { console.log(batch.batch[0].type); } }); diff --git a/types/analytics-node/index.d.ts b/types/analytics-node/index.d.ts index fa0b8d6426..a1de134195 100644 --- a/types/analytics-node/index.d.ts +++ b/types/analytics-node/index.d.ts @@ -1,11 +1,36 @@ // Type definitions for Segment's analytics.js for Node.js // Project: https://segment.com/docs/libraries/node/ // Definitions by: Andrew Fong +// Thomas Thiebaud // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export = AnalyticsNode.Analytics; declare namespace AnalyticsNode { + interface Message { + type: string; + context: { + library: { + name: string; + version: string; + }, + [key: string]: any + }; + _metadata: { + nodeVersion: string; + [key: string]: any; + }, + timestamp?: Date; + messageId?: string; + anonymousId: string | number; + userId: string | number; + } + + interface Data { + batch: Message[], + timestamp: Date; + sentAt: Date; + } interface Integrations { [index: string]: boolean; @@ -25,7 +50,7 @@ declare namespace AnalyticsNode { timestamp?: Date; context?: Object; integrations?: Integrations; - }): Analytics; + }, callback?: (err: Error, data: Data) => void): Analytics; /* The track method lets you record the actions your users perform. */ track(message: { @@ -35,7 +60,7 @@ declare namespace AnalyticsNode { timestamp?: Date; context?: Object; integrations?: Integrations; - }): Analytics; + }, callback?: (err: Error, data: Data) => void): Analytics; /* The page method lets you record page views on your website, along with optional extra information about the page being viewed. */ @@ -47,14 +72,14 @@ declare namespace AnalyticsNode { timestamp?: Date; context?: Object; integrations?: Integrations; - }): Analytics; + }, callback?: (err: Error, data: Data) => void): Analytics; /* alias is how you associate one identity with another. */ alias(message: { previousId: string | number; userId: string | number; integrations?: Integrations; - }): Analytics; + }, callback?: (err: Error, data: Data) => void): Analytics; /* Group calls can be used to associate individual users with shared accounts or companies. */ @@ -66,16 +91,9 @@ declare namespace AnalyticsNode { timestamp?: Date; anonymous_id?: string | number; integrations?: Integrations; - }): Analytics; + }, callback?: (err: Error, data: Data) => void): Analytics; /* Flush batched calls to make sure nothing is left in the queue */ - flush(fn?: (err: Error, batch: { - batch: Array<{ - type: string; - }>; - messageId: string; - sentAt: Date; - timestamp: Date; - }) => void): Analytics; + flush(callback?: (err: Error, data: Data) => void): Analytics; } } From 03c4549e20bd5c317c06e2c0a1d1128b81016b4c Mon Sep 17 00:00:00 2001 From: Narain Sagar Date: Thu, 8 Feb 2018 13:50:44 +0500 Subject: [PATCH 262/463] [fuzzyset] - Make sure optional params remain optional. --- types/fuzzyset/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/fuzzyset/index.d.ts b/types/fuzzyset/index.d.ts index 4d923110d5..2e97e3b47a 100644 --- a/types/fuzzyset/index.d.ts +++ b/types/fuzzyset/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for fuzzset 1.0 // Project: https://github.com/washt/fuzzyset // Definitions by: Louis Grignon +// Narain Sagar // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped interface FuzzySet { @@ -11,7 +12,7 @@ interface FuzzySet { values(): string[]; } -declare function FuzzySet(source: string[], useLevenshtein?: boolean, gramSizeLower?: number, gramSizeUpper?: number): FuzzySet; +declare function FuzzySet(source?: string[], useLevenshtein?: boolean, gramSizeLower?: number, gramSizeUpper?: number): FuzzySet; export = FuzzySet; export as namespace FuzzySet; From a3e416a8789b2d8c504c2a630caee597abf3ad62 Mon Sep 17 00:00:00 2001 From: Narain Sagar Date: Thu, 8 Feb 2018 13:50:53 +0500 Subject: [PATCH 263/463] [fuzzyset.js] - Make sure optional params remain optional. --- types/fuzzyset.js/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/fuzzyset.js/index.d.ts b/types/fuzzyset.js/index.d.ts index 04914683bc..4e4bcfefb6 100644 --- a/types/fuzzyset.js/index.d.ts +++ b/types/fuzzyset.js/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for fuzzyset.js 0.0 // Project: https://github.com/Glench/fuzzyset.js // Definitions by: Louis Grignon +// Narain Sagar // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -13,7 +14,7 @@ interface FuzzySet { } declare function FuzzySet( - source: string[], + source?: string[], useLevenshtein?: boolean, gramSizeLower?: number, gramSizeUpper?: number, From e4d63bc501b789e2e6819a2eb028836cc7f7c3b6 Mon Sep 17 00:00:00 2001 From: Stefan Lange Date: Thu, 8 Feb 2018 10:29:43 +0100 Subject: [PATCH 264/463] added render option to ChartEvents --- types/highcharts/index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/types/highcharts/index.d.ts b/types/highcharts/index.d.ts index 48c0c614c2..55d575e127 100644 --- a/types/highcharts/index.d.ts +++ b/types/highcharts/index.d.ts @@ -1486,6 +1486,13 @@ declare namespace Highcharts { * @since 1.2.0 */ redraw?(event: Event): void; + /** + * Fires after initial load of the chart (directly after the `load` + * event), and after each redraw (directly after the `redraw` event). + * + * @since 5.0.7 + */ + render?(event: Event): void; /** * Fires when an area of the chart has been selected. Selection is enabled by setting the chart's zoomType. One * parameter, event, is passed to the function. This contains common event information based on jQuery or MooTools From 2757d317abff95e6640c04c1844911ce34a106b5 Mon Sep 17 00:00:00 2001 From: Anton Vasin Date: Tue, 6 Feb 2018 14:41:42 +0300 Subject: [PATCH 265/463] grid-styled types --- types/grid-styled/grid-styled-tests.tsx | 8 +++ types/grid-styled/index.d.ts | 76 +++++++++++++++++++++++++ types/grid-styled/package.json | 6 ++ types/grid-styled/tsconfig.json | 25 ++++++++ types/grid-styled/tslint.json | 1 + 5 files changed, 116 insertions(+) create mode 100644 types/grid-styled/grid-styled-tests.tsx create mode 100644 types/grid-styled/index.d.ts create mode 100644 types/grid-styled/package.json create mode 100644 types/grid-styled/tsconfig.json create mode 100644 types/grid-styled/tslint.json diff --git a/types/grid-styled/grid-styled-tests.tsx b/types/grid-styled/grid-styled-tests.tsx new file mode 100644 index 0000000000..750ecbf3eb --- /dev/null +++ b/types/grid-styled/grid-styled-tests.tsx @@ -0,0 +1,8 @@ +import * as React from "react"; +import { Flex, Box } from "grid-styled"; + +const Layout = () => ( + + + +); diff --git a/types/grid-styled/index.d.ts b/types/grid-styled/index.d.ts new file mode 100644 index 0000000000..248808734e --- /dev/null +++ b/types/grid-styled/index.d.ts @@ -0,0 +1,76 @@ +// Type definitions for grid-styled 3.0 +// Project: https://github.com/jxnblk/grid-styled +// Definitions by: Anton Vasin +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.4 + +export type Diff = ({ [P in T]: P } & + { [P in U]: never } & { [x: string]: never })[T]; + +export type Omit = Pick>; + +import { ComponentClass } from "react"; +import { StyledComponentClass } from "styled-components"; + +export type ResponsiveProp = number | string | Array; + +export interface CommonProps { + width: ResponsiveProp; + fontSize: ResponsiveProp; + color: ResponsiveProp; + bg: ResponsiveProp; + m: ResponsiveProp; + mt: ResponsiveProp; + mr: ResponsiveProp; + mb: ResponsiveProp; + ml: ResponsiveProp; + mx: ResponsiveProp; + my: ResponsiveProp; + p: ResponsiveProp; + pt: ResponsiveProp; + pr: ResponsiveProp; + pb: ResponsiveProp; + pl: ResponsiveProp; + px: ResponsiveProp; + py: ResponsiveProp; + theme: any; +} + +export interface BoxProps +extends Omit, "width" | "wrap" | "is"> { + flex: ResponsiveProp; + order: ResponsiveProp; + is: string | ComponentClass; +} + +export interface FlexProps extends BoxProps { + wrap: ResponsiveProp | boolean; + direction: ResponsiveProp | boolean; + align: ResponsiveProp | boolean; + justify: ResponsiveProp | boolean; + column: boolean; +} + +export type BoxComponent = StyledComponentClass< + Partial, + any + >; + +export type FlexComponent = StyledComponentClass< + Partial, + any + >; + +export interface Theme { + breakpoints: string[]; + space: number[]; + fontSizes: number[]; +} + +export const Box: BoxComponent; +export const Flex: FlexComponent; +export const theme: Theme; +export type DivProps = Omit, "ref"> & { + innerRef: (el: HTMLDivElement) => any; +}; +export const div: ComponentClass; diff --git a/types/grid-styled/package.json b/types/grid-styled/package.json new file mode 100644 index 0000000000..422c766b9a --- /dev/null +++ b/types/grid-styled/package.json @@ -0,0 +1,6 @@ +{ + "private": true, + "dependencies": { + "styled-components": "^3.1.6" + } +} diff --git a/types/grid-styled/tsconfig.json b/types/grid-styled/tsconfig.json new file mode 100644 index 0000000000..260e5ea359 --- /dev/null +++ b/types/grid-styled/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, + "jsx": "react" + }, + "files": [ + "index.d.ts", + "grid-styled-tests.tsx" + ] +} diff --git a/types/grid-styled/tslint.json b/types/grid-styled/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/grid-styled/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 3638491eaef0a240c4ded9e4a8e5ff02d92bcac8 Mon Sep 17 00:00:00 2001 From: Garth Kidd Date: Thu, 8 Feb 2018 22:43:16 +1100 Subject: [PATCH 266/463] Add typings for reject/rejects from code 5.0.0 Documentation: > * [`await reject([type], [message])`][artm] > > Asserts that the `Promise` reference value rejects with an exception > when called [artm]: https://github.com/hapijs/code/blob/v5.0.0/API.md#await-rejecttype-message --- types/code/code-tests.ts | 8 ++++++++ types/code/index.d.ts | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/types/code/code-tests.ts b/types/code/code-tests.ts index 1c2fa78fe5..9e5f12645f 100644 --- a/types/code/code-tests.ts +++ b/types/code/code-tests.ts @@ -159,3 +159,11 @@ expect(foo).to.equal([]); const bar = Object.create(null); settings.comparePrototypes = false; expect(bar).to.equal({}); + +const rejection = Promise.reject(new Error('Oh no!')); +/* await */ expect(rejection).to.reject('Oh no!'); +/* await */ expect(rejection).rejects('Oh no!'); + +const typedRejection = Promise.reject(new CustomError('Oh no!')); +/* await */ expect(typedRejection).to.reject(CustomError, 'Oh no!'); +/* await */ expect(typedRejection).rejects(CustomError, 'Oh no!'); diff --git a/types/code/index.d.ts b/types/code/index.d.ts index 7541831db2..3bdca4be9a 100644 --- a/types/code/index.d.ts +++ b/types/code/index.d.ts @@ -160,6 +160,10 @@ export interface Values { match(regex: RegExp): AssertionChain; /** Asserts that the reference value's toString() representation matches the provided regular expression. */ matches(regex: RegExp): AssertionChain; + /** Asserts that the Promise reference value rejects with an exception when called */ + reject(type?: any, message?: string | RegExp): AssertionChain; + /** Asserts that the Promise reference value rejects with an exception when called */ + rejects(type?: any, message?: string | RegExp): AssertionChain; /** Asserts that the reference value satisfies the provided validator function. */ satisfy(validator: (value: T) => boolean): AssertionChain; /** Asserts that the reference value satisfies the provided validator function. */ From de15475529b79c9f48b90ed994f462b590b4b654 Mon Sep 17 00:00:00 2001 From: Piotr Roszatycki Date: Thu, 8 Feb 2018 13:15:20 +0100 Subject: [PATCH 267/463] Typings with esModuleInterop enabled --- types/readline-transform/index.d.ts | 22 ++++++++----------- .../readline-transform-tests.ts | 2 +- types/readline-transform/tsconfig.json | 1 + types/readline-transform/tslint.json | 7 +----- 4 files changed, 12 insertions(+), 20 deletions(-) diff --git a/types/readline-transform/index.d.ts b/types/readline-transform/index.d.ts index d2593055a1..ec1ce8b56c 100644 --- a/types/readline-transform/index.d.ts +++ b/types/readline-transform/index.d.ts @@ -7,19 +7,15 @@ import { Transform, TransformOptions } from 'stream'; -declare namespace ReadlineTransform { - interface Options extends TransformOptions { - /** line break matcher for str.split() (default: /\r?\n/) */ - breakMatcher?: RegExp; - /** if content ends with line break, ignore last empty line (default: true) */ - ignoreEndOfBreak?: boolean; - /** if line is empty string, skip it (default: false) */ - skipEmpty?: boolean; - } +export interface ReadlineTransformOptions extends TransformOptions { + /** line break matcher for str.split() (default: /\r?\n/) */ + breakMatcher?: RegExp; + /** if content ends with line break, ignore last empty line (default: true) */ + ignoreEndOfBreak?: boolean; + /** if line is empty string, skip it (default: false) */ + skipEmpty?: boolean; } -declare class ReadlineTransform extends Transform { - constructor(options?: ReadlineTransform.Options); +export default class ReadlineTransform extends Transform { + constructor(options?: ReadlineTransformOptions); } - -export = ReadlineTransform; diff --git a/types/readline-transform/readline-transform-tests.ts b/types/readline-transform/readline-transform-tests.ts index fc2b3e0e3a..9c343bd352 100644 --- a/types/readline-transform/readline-transform-tests.ts +++ b/types/readline-transform/readline-transform-tests.ts @@ -1,5 +1,5 @@ import { PassThrough } from 'stream'; -import ReadlineTransform = require('readline-transform'); +import ReadlineTransform from 'readline-transform'; const readStream = new PassThrough(); const transform = new ReadlineTransform({ diff --git a/types/readline-transform/tsconfig.json b/types/readline-transform/tsconfig.json index 2e76497489..76521c5b6a 100644 --- a/types/readline-transform/tsconfig.json +++ b/types/readline-transform/tsconfig.json @@ -4,6 +4,7 @@ "lib": [ "es6" ], + "esModuleInterop": true, "noImplicitAny": true, "noImplicitThis": true, "strictFunctionTypes": true, diff --git a/types/readline-transform/tslint.json b/types/readline-transform/tslint.json index bc469d1af1..2750cc0197 100644 --- a/types/readline-transform/tslint.json +++ b/types/readline-transform/tslint.json @@ -1,6 +1 @@ -{ - "extends": "dtslint/dt.json", - "rules": { - "strict-export-declare-modifiers": false - } -} \ No newline at end of file +{ "extends": "dtslint/dt.json" } \ No newline at end of file From 5efc423dc1df7a71f5ab8b866c457e843585c9e9 Mon Sep 17 00:00:00 2001 From: Stefan Lange Date: Thu, 8 Feb 2018 13:44:02 +0100 Subject: [PATCH 268/463] updated docs --- types/highcharts/index.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/types/highcharts/index.d.ts b/types/highcharts/index.d.ts index 55d575e127..c63c99a3c5 100644 --- a/types/highcharts/index.d.ts +++ b/types/highcharts/index.d.ts @@ -1487,11 +1487,11 @@ declare namespace Highcharts { */ redraw?(event: Event): void; /** - * Fires after initial load of the chart (directly after the `load` - * event), and after each redraw (directly after the `redraw` event). - * - * @since 5.0.7 - */ + * Fires after initial load of the chart (directly after the load + * event), and after each redraw (directly after the redraw event). + * + * @since 5.0.7 + */ render?(event: Event): void; /** * Fires when an area of the chart has been selected. Selection is enabled by setting the chart's zoomType. One From 80c8b9cc63ad81e50381948ac661eed99d5000bb Mon Sep 17 00:00:00 2001 From: Marcin Biernat Date: Thu, 8 Feb 2018 15:34:51 +0100 Subject: [PATCH 269/463] Make ramda typings tests pass strict null checks --- types/ramda/index.d.ts | 4 ++-- types/ramda/ramda-tests.ts | 4 ++-- types/ramda/tsconfig.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/types/ramda/index.d.ts b/types/ramda/index.d.ts index 4ee63e0975..454d6c49fe 100644 --- a/types/ramda/index.d.ts +++ b/types/ramda/index.d.ts @@ -201,8 +201,8 @@ declare namespace R { * A function that returns the first argument if it's falsy otherwise the second argument. Note that this is * NOT short-circuited, meaning that if expressions are passed they are both evaluated. */ - and any); } | number | boolean | string>(fn1: T, val2: any): boolean; - and any); } | number | boolean | string>(fn1: T): (val2: any) => boolean; + and any); } | number | boolean | string | null>(fn1: T, val2: any): boolean; + and any); } | number | boolean | string | null>(fn1: T): (val2: any) => boolean; /** * Returns true if at least one of elements of the list match the predicate, false otherwise. diff --git a/types/ramda/ramda-tests.ts b/types/ramda/ramda-tests.ts index e6433df004..4a56aea788 100644 --- a/types/ramda/ramda-tests.ts +++ b/types/ramda/ramda-tests.ts @@ -415,7 +415,7 @@ R.times(i, 5); */ () => { function mergeThree(a: number, b: number, c: number): number[] { - return ([]).concat(a, b, c); + return (new Array()).concat(a, b, c); } mergeThree(1, 2, 3); // => [1, 2, 3] @@ -2314,7 +2314,7 @@ class Why { const x0: boolean = R.or(false, true); // => false const x1: number | any[] = R.or(0, []); // => [] const x2: number | any[] = R.or(0)([]); // => [] - const x3: string = R.or(null, ""); // => '' + const x3: string | null = R.or(null, ""); // => '' const why = new Why(true); why.or(true); diff --git a/types/ramda/tsconfig.json b/types/ramda/tsconfig.json index 6be72ef69a..b3781f3314 100644 --- a/types/ramda/tsconfig.json +++ b/types/ramda/tsconfig.json @@ -7,7 +7,7 @@ ], "noImplicitAny": true, "noImplicitThis": false, - "strictNullChecks": false, + "strictNullChecks": true, "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ @@ -22,4 +22,4 @@ "index.d.ts", "ramda-tests.ts" ] -} \ No newline at end of file +} From 40fbcc8c28e1a177aeea2eba65068ed71cd5e54e Mon Sep 17 00:00:00 2001 From: Stefan Erichsen Date: Thu, 8 Feb 2018 15:53:09 +0100 Subject: [PATCH 270/463] Frame now implements Message as it should --- types/stompjs/index.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/types/stompjs/index.d.ts b/types/stompjs/index.d.ts index 008b99b511..5cefa092a0 100644 --- a/types/stompjs/index.d.ts +++ b/types/stompjs/index.d.ts @@ -51,9 +51,14 @@ export interface Message { nack(headers?: {}): any; } -export class Frame { +export class Frame implements Message { + command: string; + headers: {}; + body: string; constructor(command: string, headers?: {}, body?: string); + ack(headers?: {}): any; + nack(headers?: {}): any; toString(): string; sizeOfUTF8(s: string): number; unmarshall(datas: any): any; From 81e9cfe692d45166f7349fcc0d550c0eea3e0441 Mon Sep 17 00:00:00 2001 From: Stefan Erichsen Date: Thu, 8 Feb 2018 16:00:55 +0100 Subject: [PATCH 271/463] added test and my name --- types/stompjs/index.d.ts | 3 +-- types/stompjs/stompjs-tests.ts | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/types/stompjs/index.d.ts b/types/stompjs/index.d.ts index 5cefa092a0..7d819f4352 100644 --- a/types/stompjs/index.d.ts +++ b/types/stompjs/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for stompjs 2.3 // Project: https://github.com/jmesnil/stomp-websocket -// Definitions by: Jimi Charalampidis +// Definitions by: Jimi Charalampidis , Stefan Erichsen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// @@ -13,7 +13,6 @@ export const VERSIONS: { }; export class Client { - connected: boolean; counter: number; heartbeat: { diff --git a/types/stompjs/stompjs-tests.ts b/types/stompjs/stompjs-tests.ts index 15331fc81f..5d6eb1d0a5 100644 --- a/types/stompjs/stompjs-tests.ts +++ b/types/stompjs/stompjs-tests.ts @@ -43,6 +43,11 @@ client.connect('user', 'pass', () => { }, (error) => { }); client.connect('user', 'pass', () => { }, (error) => { }, 'host'); client.connect('user', 'pass', (frame) => { }, (error) => { }); client.connect('user', 'pass', (frame) => { }, (error) => { }, 'host'); +client.connect('user', 'pass', (frame) => { + if (!!frame) { + frame.command; + } + }, (error) => { }, 'host'); client.disconnect(() => { }); client.disconnect(() => { }, {}); From 97e17866e8700cb4cbb6b5b8f36fd976937f9679 Mon Sep 17 00:00:00 2001 From: Flarna Date: Thu, 8 Feb 2018 16:33:55 +0100 Subject: [PATCH 272/463] [node] Improve return type of fs.readdir() and fs.readdirsync() (#23440) * [node] Improve return type of fs.readdir() and fs.readdirsync() * additionally update v6 --- types/node/index.d.ts | 6 +++--- types/node/node-tests.ts | 19 +++++++++++++++++++ types/node/v6/index.d.ts | 4 ++-- types/node/v6/node-tests.ts | 4 ++++ types/node/v8/index.d.ts | 6 +++--- types/node/v8/node-tests.ts | 19 +++++++++++++++++++ 6 files changed, 50 insertions(+), 8 deletions(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index e6d4797bbf..b4ad9812f1 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -3721,7 +3721,7 @@ declare module "fs" { * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. */ - export function readdir(path: PathLike, options: { encoding?: string | null } | string | undefined | null, callback: (err: NodeJS.ErrnoException, files: Array) => void): void; + export function readdir(path: PathLike, options: { encoding?: string | null } | string | undefined | null, callback: (err: NodeJS.ErrnoException, files: string[] | Buffer[]) => void): void; /** * Asynchronous readdir(3) - read a directory. @@ -3750,7 +3750,7 @@ declare module "fs" { * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. */ - export function __promisify__(path: PathLike, options?: { encoding?: string | null } | string | null): Promise>; + export function __promisify__(path: PathLike, options?: { encoding?: string | null } | string | null): Promise; } /** @@ -3772,7 +3772,7 @@ declare module "fs" { * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. */ - export function readdirSync(path: PathLike, options?: { encoding?: string | null } | string | null): Array; + export function readdirSync(path: PathLike, options?: { encoding?: string | null } | string | null): string[] | Buffer[]; /** * Asynchronous close(2) - close a file descriptor. diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index f70d21bd52..24fde87ddd 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -235,6 +235,25 @@ namespace fs_tests { }); } + { + let listS: string[]; + listS = fs.readdirSync('path'); + listS = fs.readdirSync('path', { encoding: 'utf8' }); + listS = fs.readdirSync('path', { encoding: null }); + listS = fs.readdirSync('path', { encoding: undefined }); + listS = fs.readdirSync('path', 'utf8'); + listS = fs.readdirSync('path', null); + listS = fs.readdirSync('path', undefined); + + let listB: Buffer[]; + listB = fs.readdirSync('path', { encoding: 'buffer' }); + listB = fs.readdirSync("path", 'buffer'); + + let enc = 'buffer'; + fs.readdirSync('path', { encoding: enc }); // $ExpectType string[] | Buffer[] + fs.readdirSync('path', { }); // $ExpectType string[] | Buffer[] + } + { fs.mkdtemp('/tmp/foo-', (err, folder) => { console.log(folder); diff --git a/types/node/v6/index.d.ts b/types/node/v6/index.d.ts index 236ae5630d..dd49ad6003 100644 --- a/types/node/v6/index.d.ts +++ b/types/node/v6/index.d.ts @@ -2614,7 +2614,7 @@ declare module "fs" { * @param path A path to a file. * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. */ - export function readdir(path: string | Buffer, options: { encoding?: string | null } | string | undefined | null, callback: (err: NodeJS.ErrnoException, files: Array) => void): void; + export function readdir(path: string | Buffer, options: { encoding?: string | null } | string | undefined | null, callback: (err: NodeJS.ErrnoException, files: string[] | Buffer[]) => void): void; /** * Asynchronous readdir(3) - read a directory. @@ -2640,7 +2640,7 @@ declare module "fs" { * @param path A path to a file. * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. */ - export function readdirSync(path: string | Buffer, options?: { encoding?: string | null } | string | null): Array; + export function readdirSync(path: string | Buffer, options?: { encoding?: string | null } | string | null): string[] | Buffer[]; 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; diff --git a/types/node/v6/node-tests.ts b/types/node/v6/node-tests.ts index 2520750a88..cd363c708c 100644 --- a/types/node/v6/node-tests.ts +++ b/types/node/v6/node-tests.ts @@ -231,6 +231,10 @@ namespace fs_tests { let fsBufferOut: Buffer[] = fs.readdirSync('utf8', 'buffer'); fsBufferOut = fs.readdirSync('foo', {encoding: 'buffer'}); + + let enc = 'buffer'; + fs.readdirSync('path', { encoding: enc }); // $ExpectType string[] | Buffer[] + fs.readdirSync('path', { }); // $ExpectType string[] | Buffer[] } { diff --git a/types/node/v8/index.d.ts b/types/node/v8/index.d.ts index 4832c01138..43b8f74ff5 100644 --- a/types/node/v8/index.d.ts +++ b/types/node/v8/index.d.ts @@ -3698,7 +3698,7 @@ declare module "fs" { * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. */ - export function readdir(path: PathLike, options: { encoding?: string | null } | string | undefined | null, callback: (err: NodeJS.ErrnoException, files: Array) => void): void; + export function readdir(path: PathLike, options: { encoding?: string | null } | string | undefined | null, callback: (err: NodeJS.ErrnoException, files: string[] | Buffer[]) => void): void; /** * Asynchronous readdir(3) - read a directory. @@ -3727,7 +3727,7 @@ declare module "fs" { * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. */ - export function __promisify__(path: PathLike, options?: { encoding?: string | null } | string | null): Promise>; + export function __promisify__(path: PathLike, options?: { encoding?: string | null } | string | null): Promise; } /** @@ -3749,7 +3749,7 @@ declare module "fs" { * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. */ - export function readdirSync(path: PathLike, options?: { encoding?: string | null } | string | null): Array; + export function readdirSync(path: PathLike, options?: { encoding?: string | null } | string | null): string[] | Buffer[]; /** * Asynchronous close(2) - close a file descriptor. diff --git a/types/node/v8/node-tests.ts b/types/node/v8/node-tests.ts index 043935320c..74d4c5c222 100644 --- a/types/node/v8/node-tests.ts +++ b/types/node/v8/node-tests.ts @@ -235,6 +235,25 @@ namespace fs_tests { }); } + { + let listS: string[]; + listS = fs.readdirSync('path'); + listS = fs.readdirSync('path', { encoding: 'utf8' }); + listS = fs.readdirSync('path', { encoding: null }); + listS = fs.readdirSync('path', { encoding: undefined }); + listS = fs.readdirSync('path', 'utf8'); + listS = fs.readdirSync('path', null); + listS = fs.readdirSync('path', undefined); + + let listB: Buffer[]; + listB = fs.readdirSync('path', { encoding: 'buffer' }); + listB = fs.readdirSync("path", 'buffer'); + + let enc = 'buffer'; + fs.readdirSync('path', { encoding: enc }); // $ExpectType string[] | Buffer[] + fs.readdirSync('path', { }); // $ExpectType string[] | Buffer[] + } + { fs.mkdtemp('/tmp/foo-', (err, folder) => { console.log(folder); From 4d8e8d1920c6adbb811ad8c77ac1d3d02e71b8d6 Mon Sep 17 00:00:00 2001 From: Chris Krycho Date: Thu, 8 Feb 2018 08:44:07 -0700 Subject: [PATCH 273/463] Ember, Ember Data: type registry improvements. --- types/ember-data/index.d.ts | 24 ++++---- types/ember-data/test/store.ts | 17 +++++- types/ember/index.d.ts | 106 +++++++++++++++++++++++++++++---- types/ember/test/inject.ts | 33 ++++++++-- 4 files changed, 149 insertions(+), 31 deletions(-) diff --git a/types/ember-data/index.d.ts b/types/ember-data/index.d.ts index 433e022a53..44542550de 100644 --- a/types/ember-data/index.d.ts +++ b/types/ember-data/index.d.ts @@ -10,17 +10,9 @@ declare module 'ember-data' { import Ember from 'ember'; import RSVP from 'rsvp'; - export interface ModelRegistry { - [key: string]: DS.Model; - } - - export interface AdapterRegistry { - [key: string]: DS.Adapter; - } - - export interface SerializerRegistry { - [key: string]: DS.Serializer; - } + export interface ModelRegistry {} + export interface AdapterRegistry {} + export interface SerializerRegistry {} namespace DS { /** @@ -2100,10 +2092,18 @@ declare module 'ember' { store: DS.Store; } } + + // It is also available to inject anywhere + module '@ember/service' { + interface Registry { + 'store': DS.Store; + } + } } declare module 'ember-data/adapter' { import DS from 'ember-data'; export default DS.Adapter; + export { AdapterRegistry } from 'ember-data'; } declare module 'ember-data/adapters/errors' { import DS from 'ember-data'; @@ -2134,6 +2134,7 @@ declare module 'ember-data/attr' { declare module 'ember-data/model' { import DS from 'ember-data'; export default DS.Model; + export { ModelRegistry } from 'ember-data'; } declare module 'ember-data/relationships' { import DS from 'ember-data'; @@ -2143,6 +2144,7 @@ declare module 'ember-data/relationships' { declare module 'ember-data/serializer' { import DS from 'ember-data'; export default DS.Serializer; + export { SerializerRegistry } from 'ember-data'; } declare module 'ember-data/serializers/embedded-records-mixin' { import DS from 'ember-data'; diff --git a/types/ember-data/test/store.ts b/types/ember-data/test/store.ts index ca63730224..0a9a615d27 100644 --- a/types/ember-data/test/store.ts +++ b/types/ember-data/test/store.ts @@ -34,9 +34,12 @@ class User extends DS.Model { username = DS.attr('string'); } +class Author extends User {} + declare module 'ember-data' { interface ModelRegistry { - user: User; + 'user': User; + 'author': Author; } } @@ -79,7 +82,7 @@ messages.forEach(function(message) { }); messages.save(); -const people = store.peekAll('person'); +const people = store.peekAll('user'); people.get('isUpdating'); // false people.update().then(function() { people.get('isUpdating'); // false @@ -94,6 +97,16 @@ const MyRoute = Ember.Route.extend({ }, }); +// Store is injectable via `inject` and resolves to `DS.Store`. +const SomeComponent = Ember.Component.extend({ + store: Ember.inject.service('store'), + + lookUpUsers() { + assertType(this.get('store').findRecord('user', 123)); + assertType>(this.get('store').findAll('user')); + } +}); + // GET to /users?filter[email]=tomster@example.com const tom = store .query('user', { diff --git a/types/ember/index.d.ts b/types/ember/index.d.ts index 32f4f7be05..140cf74976 100755 --- a/types/ember/index.d.ts +++ b/types/ember/index.d.ts @@ -18,17 +18,8 @@ declare module 'ember' { import Rsvp from 'rsvp'; import { TemplateFactory } from 'htmlbars-inline-precompile'; - // A type registry for Ember `Service`s. Meant to be declaration-merged so - // string lookups resolve to the correct type. - export interface ServiceRegistry { - [serviceName: string]: Ember.Service; - } - - // A type registry for Ember `Controller`s. Meant to be declaration-merged - // so string lookups resolve to the correct type. - export interface ControllerRegistry { - [controllerName: string]: Ember.Controller; - } + import { Registry as ServiceRegistry } from '@ember/service'; + import { Registry as ControllerRegistry } from '@ember/controller'; // Get an alias to the global Array type to use in inner scope below. type GlobalArray = T[]; @@ -2352,15 +2343,17 @@ declare module 'ember' { * Creates a property that lazily looks up another controller in the container. * Can only be used when defining another controller. */ + function controller(): ComputedProperty; function controller( - name?: K + name: K ): ComputedProperty; /** * Creates a property that lazily looks up a service in the container. There * are no restrictions as to what objects a service can be injected into. */ + function service(): ComputedProperty; function service( - name?: K + name: K ): ComputedProperty; } namespace ENV { @@ -3332,6 +3325,85 @@ declare module 'ember' { function expandProperties(pattern: string, callback: (expanded: string) => void): void; } + + type RouteModel = object | string | number; + // https://emberjs.com/api/ember/2.18/classes/RouterService + /** + * The Router service is the public API that provides component/view layer access to the router. + */ + class RouterService extends Ember.Service { + // + /** + * Determines whether a route is active. + * + * @param routeName the name of the route + * @param models the model(s) or identifier(s) to be used while + * transitioning to the route + * @param options optional hash with a queryParams property containing a + * mapping of query parameters + */ + isActive(routeName: string, models: RouteModel, options?: { queryParams: object }): boolean; + isActive(routeName: string, modelsA: RouteModel, modelsB: RouteModel, options?: { queryParams: object }): boolean; + isActive(routeName: string, modelsA: RouteModel, modelsB: RouteModel, modelsC: RouteModel, options?: { queryParams: object }): boolean; + isActive(routeName: string, modelsA: RouteModel, modelsB: RouteModel, modelsC: RouteModel, modelsD: RouteModel, options?: { queryParams: object }): boolean; + + // https://emberjs.com/api/ember/2.18/classes/RouterService/methods/isActive?anchor=replaceWith + /** + * Transition into another route while replacing the current URL, if + * possible. The route may be either a single route or route path. + * + * @param routeNameOrUrl the name of the route or a URL + * @param models the model(s) or identifier(s) to be used while + * transitioning to the route. + * @param options optional hash with a queryParams property + * containing a mapping of query parameters + * @returns the Transition object associated with this attempted transition + */ + replaceWith(routeNameOrUrl: string, models: RouteModel, options?: { queryParams: object }): Ember.Transition; + replaceWith(routeNameOrUrl: string, modelsA: RouteModel, modelsB: RouteModel, options?: { queryParams: object }): Ember.Transition; + replaceWith(routeNameOrUrl: string, modelsA: RouteModel, modelsB: RouteModel, modelsC: RouteModel, options?: { queryParams: object }): Ember.Transition; + replaceWith(routeNameOrUrl: string, modelsA: RouteModel, modelsB: RouteModel, modelsC: RouteModel, modelsD: RouteModel, options?: { queryParams: object }): Ember.Transition; + + // https://emberjs.com/api/ember/2.18/classes/RouterService/methods/isActive?anchor=transitionTo + /** + * Transition the application into another route. The route may be + * either a single route or route path + * + * @param routeNameOrUrl the name of the route or a URL + * @param models the model(s) or identifier(s) to be used while + * transitioning to the route. + * @param options optional hash with a queryParams property + * containing a mapping of query parameters + * @returns the Transition object associated with this attempted transition + */ + transitionTo(routeNameOrUrl: string, models: RouteModel, options?: { queryParams: object }): Ember.Transition; + transitionTo(routeNameOrUrl: string, modelsA: RouteModel, modelsB: RouteModel, options?: { queryParams: object }): Ember.Transition; + transitionTo(routeNameOrUrl: string, modelsA: RouteModel, modelsB: RouteModel, modelsC: RouteModel, options?: { queryParams: object }): Ember.Transition; + transitionTo(routeNameOrUrl: string, modelsA: RouteModel, modelsB: RouteModel, modelsC: RouteModel, modelsD: RouteModel, options?: { queryParams: object }): Ember.Transition; + + // https://emberjs.com/api/ember/2.18/classes/RouterService/methods/isActive?anchor=urlFor + /** + * Generate a URL based on the supplied route name. + * + * @param routeName the name of the route or a URL + * @param models the model(s) or identifier(s) to be used while + * transitioning to the route. + * @param options optional hash with a queryParams property containing + * a mapping of query parameters + * @returns the string representing the generated URL + */ + urlFor(routeName: string, models: RouteModel, options?: { queryParams: object }): string; + urlFor(routeName: string, modelsA: RouteModel, modelsB: RouteModel, options?: { queryParams: object }): string; + urlFor(routeName: string, modelsA: RouteModel, modelsB: RouteModel, modelsC: RouteModel, options?: { queryParams: object }): string; + urlFor(routeName: string, modelsA: RouteModel, modelsB: RouteModel, modelsC: RouteModel, modelsD: RouteModel, options?: { queryParams: object }): string; + } + + module '@ember/service' { + interface Registry { + 'router': RouterService; + } + } + export default Ember; } @@ -3413,6 +3485,10 @@ declare module '@ember/controller' { import Ember from 'ember'; export default Ember.Controller; export const inject: typeof Ember.inject.controller; + + // A type registry for Ember `Controller`s. Meant to be declaration-merged + // so string lookups resolve to the correct type. + export interface Registry {} } declare module '@ember/debug' { @@ -3644,6 +3720,10 @@ declare module '@ember/service' { import Ember from 'ember'; export default Ember.Service; export const inject: typeof Ember.inject.service; + + // A type registry for Ember `Service`s. Meant to be declaration-merged so + // string lookups resolve to the correct type. + interface Registry {} } declare module '@ember/string' { diff --git a/types/ember/test/inject.ts b/types/ember/test/inject.ts index 5afc159ec4..5a372a2c5a 100755 --- a/types/ember/test/inject.ts +++ b/types/ember/test/inject.ts @@ -8,13 +8,15 @@ class ApplicationController extends Ember.Controller { transitionToLogin() {} } -declare module 'ember' { - interface ServiceRegistry { - auth: AuthService; +declare module '@ember/service' { + interface Registry { + 'auth': AuthService; } +} - interface ControllerRegistry { - application: ApplicationController; +declare module '@ember/controller' { + interface Registry { + 'application': ApplicationController; } } @@ -28,3 +30,24 @@ class LoginRoute extends Ember.Route { } } } + +// New module injection style. +import Controller, { inject as controller } from '@ember/controller'; +import Service, { inject as service } from '@ember/service'; +import { assertType } from './lib/assert'; + +class ComponentInjection extends Ember.Component { + applicationController = controller('application'); + auth = service('auth'); + router = service('router'); + misc = service(); + + testem() { + assertType(this.get('misc')); + const url = this.get('router').urlFor('some-route', 1, 2, 3, { queryParams: { seriously: 'yes' } }); + assertType(url); + if (!this.get('auth').isAuthenticated) { + this.get('applicationController').transitionToLogin(); + } + } +} From 133d79faacae302d308d8b4c4d960e75e8cc6f5d Mon Sep 17 00:00:00 2001 From: Tom Wanzek Date: Thu, 8 Feb 2018 10:59:55 -0500 Subject: [PATCH 274/463] fix(d3-fetch): update signatures and expand JSDoc comments (#23378) * fix(d3-fetch): update signatures and expand JSDoc comments * fix(image): init object is not request init, but rather initializes image element properties * fix(json): add generic parameter to allow return type casting * fix(csv, dsv, tsv): overload signatures to be more specific about return type (with or without row parsing function). * fix(csv, dsv, tsv): update row parsing function signature to be in line with parser signature in d3-dsv, which is called under the hood. * chore(tslint): add tslint rules to allow signature overloading and single-use generic * doc(*) Expand JSDoc comments * chore(tests): update tests * chore(d3-fetch): add validation reference patch release version --- types/d3-fetch/d3-fetch-tests.ts | 31 +++-- types/d3-fetch/index.d.ts | 226 ++++++++++++++++++++++++++++--- types/d3-fetch/tslint.json | 8 +- 3 files changed, 239 insertions(+), 26 deletions(-) diff --git a/types/d3-fetch/d3-fetch-tests.ts b/types/d3-fetch/d3-fetch-tests.ts index 24c6783997..941955c996 100644 --- a/types/d3-fetch/d3-fetch-tests.ts +++ b/types/d3-fetch/d3-fetch-tests.ts @@ -11,28 +11,41 @@ const init: RequestInit = {}; let p1: Promise = d3Fetch.blob(url); p1 = d3Fetch.blob(url, init); + let p2: Promise = d3Fetch.buffer(url); p2 = d3Fetch.buffer(url, init); + let p3: Promise = d3Fetch.image(url); -p3 = d3Fetch.image(url, init); +const imageProperties = { + width: '300px', + height: '500px' +}; +p3 = d3Fetch.image(url, imageProperties); + let p4: Promise = d3Fetch.json(url); p4 = d3Fetch.json(url, init); +let p5: Promise = d3Fetch.json(url); +p5 = d3Fetch.json(url, init); let myString: Promise; myString = d3Fetch.text(url); myString = d3Fetch.text(url, init); -const parseRow = (d: {}) => { - const myType: MyType = { foo: 'foo' }; +const parseRow = (rawRow: DSVRowString, index: number, columns: string[]): (MyType | undefined | null) => { + const myType: MyType | null = rawRow['foo'] ? { foo: rawRow['foo'] + '+ bar' } : null; return myType; }; +let promise1: Promise>; let promise2: Promise>; -promise2 = d3Fetch.csv(url); -promise2 = d3Fetch.csv(url, init); +promise1 = d3Fetch.csv(url); +promise1 = d3Fetch.csv(url, init); +promise2 = d3Fetch.csv(url, parseRow); promise2 = d3Fetch.csv(url, init, parseRow); -promise2 = d3Fetch.dsv(';', url); -promise2 = d3Fetch.dsv(';', url, init); +promise1 = d3Fetch.dsv(';', url); +promise1 = d3Fetch.dsv(';', url, init); +promise2 = d3Fetch.dsv(';', url, parseRow); promise2 = d3Fetch.dsv(';', url, init, parseRow); -promise2 = d3Fetch.tsv(url); -promise2 = d3Fetch.tsv(url, init); +promise1 = d3Fetch.tsv(url); +promise1 = d3Fetch.tsv(url, init); +promise2 = d3Fetch.tsv(url, parseRow); promise2 = d3Fetch.tsv(url, init, parseRow); diff --git a/types/d3-fetch/index.d.ts b/types/d3-fetch/index.d.ts index 9fd19fe8ed..3eb11ce48a 100644 --- a/types/d3-fetch/index.d.ts +++ b/types/d3-fetch/index.d.ts @@ -3,40 +3,234 @@ // Definitions by: Hugues Stefanski // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 + +// Last module patch version validated against: 1.0.1 + import { DSVParsedArray, DSVRowString, DSVRowAny } from 'd3-dsv'; -/** Fetches the binary file at the specified input URL as a Blob. If init is specified, it is passed along to the underlying call to fetch. */ +/** + * Fetches the binary file at the specified input URL and returns it as a Promise of a Blob. + * If init is specified, it is passed along to the underlying call to fetch. + * + * @param url A valid URL string. + * @param init An optional request initialization object. + */ export function blob(url: string, init?: RequestInit): Promise; -/** Fetches the binary file at the specified input URL as an ArrayBuffer. If init is specified, it is passed along to the underlying call to fetch. */ + +/** + * Fetches the binary file at the specified input URL and returns it as a Promise of an ArrayBuffer. + * If init is specified, it is passed along to the underlying call to fetch. + * + * @param url A valid URL string. + * @param init An optional request initialization object. + */ export function buffer(url: string, init?: RequestInit): Promise; -/** Equivalent to d3.dsv with the comma character as the delimiter. */ -export function csv( +/** + * Fetches the CSV file at the specified input URL and returns + * a promise of an array of objects representing the parsed rows. The values of the properties of the parsed row + * objects are represented as strings. + * + * If init is specified, it is passed along to the underlying call to fetch. + * + * @param url A valid URL string. + * @param init An optional request initialization object. + */ +export function csv( url: string, init?: RequestInit, - row?: (d: DSVRowAny) => ParsedRow +): Promise>; +/** + * Fetches the CSV file at the specified input URL and returns + * a promise of an array of objects representing the parsed rows. + * + * The specified row conversion function is used to map and filter row objects to a more-specific representation; + * see dsv.csvParse for details. + * + * The generic parameter describes the type of the object representation of a parsed row. + * + * @param url A valid URL string. + * @param row A row conversion function which is invoked for each row, being passed an object representing the current row (d), + * the index (i) starting at zero for the first non-header row, and the array of column names. If the returned value is null or undefined, + * the row is skipped and will be ommitted from the array returned by dsv.csvParse; otherwise, the returned value defines the corresponding row object. + * In effect, row is similar to applying a map and filter operator to the returned rows. + */ +export function csv( + url: string, + row: (rawRow: DSVRowString, index: number, columns: string[]) => ParsedRow | undefined | null +): Promise>; +/** + * Fetches the CSV file at the specified input URL and returns + * a promise of an array of objects representing the parsed rows. + * + * The init object is passed along to the underlying call to fetch. + * + * The specified row conversion function is used to map and filter row objects to a more-specific representation; + * see dsv.csvParse for details. + * + * The generic parameter describes the type of the object representation of a parsed row. + * + * @param url A valid URL string. + * @param init An request initialization object. + * @param row A row conversion function which is invoked for each row, being passed an object representing the current row (d), + * the index (i) starting at zero for the first non-header row, and the array of column names. If the returned value is null or undefined, + * the row is skipped and will be ommitted from the array returned by dsv.csvParse; otherwise, the returned value defines the corresponding row object. + * In effect, row is similar to applying a map and filter operator to the returned rows. + */ +export function csv( + url: string, + init: RequestInit, + row: (rawRow: DSVRowString, index: number, columns: string[]) => ParsedRow | undefined | null ): Promise>; -/** Fetches the DSV file at the specified input URL. */ -export function dsv( +/** + * Fetches the DSV file with the specified delimiter character at the specified input URL and returns + * a promise of an array of objects representing the parsed rows. The values of the properties of the parsed row + * objects are represented as strings. + * + * If init is specified, it is passed along to the underlying call to fetch. + * + * @param delimiter The delimiter character used in the DSV file to be fetched. + * @param url A valid URL string. + * @param init An optional request initialization object. + */ +export function dsv( delimiter: string, url: string, init?: RequestInit, - row?: (d: DSVRowAny) => ParsedRow +): Promise>; +/** + * Fetches the DSV file with the specified delimiter character at the specified input URL and returns + * a promise of an array of objects representing the parsed rows. + * + * The specified row conversion function is used to map and filter row objects to a more-specific representation; + * see dsv.parse for details. + * + * The generic parameter describes the type of the object representation of a parsed row. + * + * @param delimiter The delimiter character used in the DSV file to be fetched. + * @param url A valid URL string. + * @param row A row conversion function which is invoked for each row, being passed an object representing the current row (d), + * the index (i) starting at zero for the first non-header row, and the array of column names. If the returned value is null or undefined, + * the row is skipped and will be ommitted from the array returned by dsv.parse; otherwise, the returned value defines the corresponding row object. + * In effect, row is similar to applying a map and filter operator to the returned rows. + */ +export function dsv( + delimiter: string, + url: string, + row: (rawRow: DSVRowString, index: number, columns: string[]) => ParsedRow | undefined | null +): Promise>; +/** + * Fetches the DSV file with the specified delimiter character at the specified input URL and returns + * a promise of an array of objects representing the parsed rows. + * + * The init object is passed along to the underlying call to fetch. + * + * The specified row conversion function is used to map and filter row objects to a more-specific representation; + * see dsv.parse for details. + * + * The generic parameter describes the type of the object representation of a parsed row. + * + * @param delimiter The delimiter character used in the DSV file to be fetched. + * @param url A valid URL string. + * @param init An request initialization object. + * @param row A row conversion function which is invoked for each row, being passed an object representing the current row (d), + * the index (i) starting at zero for the first non-header row, and the array of column names. If the returned value is null or undefined, + * the row is skipped and will be ommitted from the array returned by dsv.parse; otherwise, the returned value defines the corresponding row object. + * In effect, row is similar to applying a map and filter operator to the returned rows. + */ +export function dsv( + delimiter: string, + url: string, + init: RequestInit, + row: (rawRow: DSVRowString, index: number, columns: string[]) => ParsedRow | undefined | null ): Promise>; -/** Fetches the image at the specified input URL. If init is specified, it is passed along to the underlying call to fetch. */ -export function image(url: string, init?: RequestInit): Promise; +/** + * Fetches the image at the specified input URL and returns a promise of an HTML image element. + * + * If init is specified, sets any additional properties on the image before loading. + * + * @param url A valid URL string. + * @param init An optional object of image properties to set. + */ +export function image(url: string, init?: {[key: string]: any}): Promise; -/** Fetches the json file at the specified input URL. If init is specified, it is passed along to the underlying call to fetch. */ -export function json(url: string, init?: RequestInit): Promise<{}>; +/** + * Fetches the json file at the specified input URL and returns it as a Promise of a parsed JSON object. + * + * If init is specified, it is passed along to the underlying call to fetch. + * + * The generic parameter describes the type of the object parsed from the returned JSON. + * + * @param url A valid URL string. + * @param init An optional request initialization object. + */ +export function json(url: string, init?: RequestInit): Promise; -/** Fetches the text file at the specified input URL. If init is specified, it is passed along to the underlying call to fetch. */ +/** + * Fetches the text file at the specified input URL and returns it as a Promise of a string. + * + * If init is specified, it is passed along to the underlying call to fetch. + * + * @param url A valid URL string. + * @param init An optional request initialization object. + */ export function text(url: string, init?: RequestInit): Promise; -/** Equivalent to d3.dsv with the tab character as the delimiter. */ -export function tsv( +/** + * Fetches the TSV file at the specified input URL and returns + * a promise of an array of objects representing the parsed rows. + * + * If init is specified, it is passed along to the underlying call to fetch. + * + * @param url A valid URL string. + * @param init An optional request initialization object. + */ +export function tsv( url: string, init?: RequestInit, - row?: (d: DSVRowAny) => ParsedRow +): Promise>; +/** + * Fetches the TSV file at the specified input URL and returns + * a promise of an array of objects representing the parsed rows. The values of the properties of the parsed row + * objects are represented as strings. + * + * The specified row conversion function is used to map and filter row objects to a more-specific representation; + * see dsv.tsvParse for details. + * + * The generic parameter describes the type of the object representation of a parsed row. + * + * @param url A valid URL string. + * @param row A row conversion function which is invoked for each row, being passed an object representing the current row (d), + * the index (i) starting at zero for the first non-header row, and the array of column names. If the returned value is null or undefined, + * the row is skipped and will be ommitted from the array returned by dsv.tsvParse; otherwise, the returned value defines the corresponding row object. + * In effect, row is similar to applying a map and filter operator to the returned rows. + */ +export function tsv( + url: string, + row: (rawRow: DSVRowString, index: number, columns: string[]) => ParsedRow | undefined | null +): Promise>; +/** + * Fetches the TSV file at the specified input URL and returns + * a promise of an array of objects representing the parsed rows. + * + * The init object is passed along to the underlying call to fetch. + * + * The specified row conversion function is used to map and filter row objects to a more-specific representation; + * see dsv.tsvParse for details. + * + * The generic parameter describes the type of the object representation of a parsed row. + * + * @param url A valid URL string. + * @param init An request initialization object. + * @param row A row conversion function which is invoked for each row, being passed an object representing the current row (d), + * the index (i) starting at zero for the first non-header row, and the array of column names. If the returned value is null or undefined, + * the row is skipped and will be ommitted from the array returned by dsv.tsvParse; otherwise, the returned value defines the corresponding row object. + * In effect, row is similar to applying a map and filter operator to the returned rows. + */ +export function tsv( + url: string, + init: RequestInit, + row: (rawRow: DSVRowString, index: number, columns: string[]) => ParsedRow | undefined | null ): Promise>; diff --git a/types/d3-fetch/tslint.json b/types/d3-fetch/tslint.json index 3db14f85ea..54efb0b84e 100644 --- a/types/d3-fetch/tslint.json +++ b/types/d3-fetch/tslint.json @@ -1 +1,7 @@ -{ "extends": "dtslint/dt.json" } +{ + "extends": "dtslint/dt.json", + "rules": { + "unified-signatures": false, + "no-unnecessary-generics": false + } +} From ff2359e74ce1c539097e47dc586d49d348a94587 Mon Sep 17 00:00:00 2001 From: Tom Wanzek Date: Thu, 8 Feb 2018 11:00:30 -0500 Subject: [PATCH 275/463] feat(d3-selection): add minor version 1.3.0 features and strictFunctionTypes (#23323) * chore(d3-selection): enable strictFunctionTypes Enables `strictFunctionTypes` compiler options and updates affected tests. * @feat(d3-selection) add selection.clone and d3.create Add selection.clone(...) and d3.create(...) to the definitions and tests. Bump minor version number to 1.3 * chore(d3-selection) fix two tests Specify the selectAll<...> generics in a test for HTMLCollectionOf. Fix the `this` context of a selector function. --- types/d3-selection/d3-selection-tests.ts | 46 ++++++++++++++++-------- types/d3-selection/index.d.ts | 22 ++++++++++-- types/d3-selection/tsconfig.json | 4 +-- 3 files changed, 54 insertions(+), 18 deletions(-) diff --git a/types/d3-selection/d3-selection-tests.ts b/types/d3-selection/d3-selection-tests.ts index 6019084be2..e4f50c89e4 100644 --- a/types/d3-selection/d3-selection-tests.ts +++ b/types/d3-selection/d3-selection-tests.ts @@ -89,10 +89,11 @@ const body5: d3Selection.Selection // d3Selection.select(baseTypeEl.node()!); // fails as baseTypeEl.node() is not of type HTMLBodyElement // test, when it is not certain, whether an element of the type to be selected exists -let maybeSVG1: d3Selection.Selection = d3Selection.select('svg'); +let maybeSVG1: d3Selection.Selection; maybeSVG1 = d3Selection.select('svg'); let maybeSVG2: d3Selection.Selection; +// maybeSVG2 = d3Selection.select(maybeSVG1.node()); // fails with strict function types maybeSVG2 = d3Selection.select(maybeSVG1.node()); // fails, as node type mismatches selection type @@ -144,8 +145,7 @@ const xSVGCircleElementList: NodeListOf = document.querySelect const circleSelection: d3Selection.Selection = d3Selection.selectAll(xSVGCircleElementList); // selectAll(...) accepts HTMLCollection, HTMLCollectionOf<...> argument - -const documentLinks: d3Selection.Selection = d3Selection.selectAll(document.links); +const documentLinks: d3Selection.Selection = d3Selection.selectAll(document.links); // --------------------------------------------------------------------------------------- // Tests of Sub-Selection Functions @@ -166,12 +166,13 @@ let firstG: d3Selection.Selection = svg // firstG = svgEl.select('svg'); // fails, element type of SVGSVGElement provided, but SVGGElement expexted on left-hand side (silly test to begin with) // test, when it is not certain, whether an element of the type to be selected exists -let maybeG: d3Selection.Selection = svgEl.select('g'); +let maybeG: d3Selection.Selection; +// maybeG = svgEl.select('g'); // fails, with strictFunctionTypes maybeG = svgEl.select('g'); // Using select(...) sub-selection with a selector function argument. -function svgGroupSelector(this: SVGSVGElement, d: SVGDatum, i: number, groups: SVGSVGElement[]): SVGGElement { +function svgGroupSelector(this: SVGSVGElement, d: SVGDatum, i: number, groups: SVGSVGElement[] | ArrayLike): SVGGElement { return this.querySelector('g')!; // this-type compatible with group element-type to which the selector function will be appplied } @@ -215,13 +216,14 @@ emptySubSelection = svgEl.selectAll(undefined); // Using selectAll(...) sub-selection with a string argument. -let elementsUnknownData: d3Selection.Selection = svgEl.selectAll('g'); +let elementsUnknownData: d3Selection.Selection = svgEl.selectAll('g'); +// let elementsAndDataUnknown: d3Selection.Selection = svgEl.selectAll('g'); // fails with strictFunctionTypes let gElementsOldData: d3Selection.Selection = svgEl.selectAll('g'); // gElementsOldData = svgEl.selectAll('g'); // fails default type parameters of selectAll for group element type and datum type do not match // Using selectAll(...) sub-selection with a selector function argument. -function svgGroupSelectorAll(this: SVGSVGElement, d: SVGDatum, i: number, groups: SVGSVGElement[]): NodeListOf { +function svgGroupSelectorAll(this: SVGSVGElement, d: SVGDatum, i: number, groups: SVGSVGElement[] | d3Selection.ArrayLike): NodeListOf { return this.querySelectorAll('g'); // this-type compatible with group element-type to which the selector function will be appplied } @@ -774,7 +776,7 @@ nRow = td2.data(); // flattened matrix (Array[16] of number) // Tests of Alternative DOM Manipulation // --------------------------------------------------------------------------------------- -// append(...) and creator(...) ---------------------------------------------------------- +// append(...), creator(...) and create(...) --------------------------------------------- // without append<...> typing returned selection has group element of type BaseType let newDiv: d3Selection.Selection; @@ -805,6 +807,12 @@ newDiv2 = body.append(function(d, i, g) { // return this.ownerDocument.createElement('a'); // fails, HTMLDivElement expected by inference, HTMLAnchorElement returned // }); +// create a detached element + +let detachedDiv: d3Selection.Selection; + +detachedDiv = d3Selection.create('div'); + // insert(...) --------------------------------------------------------------------------- // without insert<...> typing returned selection has group element of type BaseType @@ -847,6 +855,18 @@ newParagraph2 = body.insert(typeValueFunction, 'p.second-paragraph'); newParagraph2 = body.insert(typeValueFunction, beforeValueFunction); newParagraph2 = body.insert(typeValueFunction); +// clone(...) ---------------------------------------------------------------------------- + +let clonedParagraph: d3Selection.Selection; + +// shallow clone +clonedParagraph = newParagraph2.clone(); + +// deep clone + +newParagraph.append('span'); +clonedParagraph = newParagraph2.clone(true); + // sort(...) ----------------------------------------------------------------------------- // NB: Return new selection of same type @@ -925,14 +945,14 @@ circles = circles.call(enforceMinRadius, 40); // check chaining return type by r // on(...) ------------------------------------------------------------------------------- -let listener: undefined | ((this: HTMLBodyElement, datum: BodyDatum, index: number, group: HTMLBodyElement[] | ArrayLike) => void); +let listener: undefined | ((this: HTMLBodyElement, datum: BodyDatum, index: number, group: HTMLBodyElement[] | d3Selection.ArrayLike) => void); body = body.on('click', function(d, i, g) { const that: HTMLBodyElement = this; // const that2: SVGElement = this; // fails, type mismatch const datum: BodyDatum = d; const index: number = i; - const group: HTMLBodyElement[] | ArrayLike = g; + const group: HTMLBodyElement[] | d3Selection.ArrayLike = g; console.log('onclick print body background color: ', this.bgColor); // HTMLBodyElement console.log('onclick print "foo" datum property: ', d.foo); // BodyDatum type }); @@ -988,13 +1008,11 @@ interface SuccessEvent { } const successEvent = { type: 'wonEuro2016', team: 'Island' }; -let customListener: (this: HTMLBodyElement, finalOpponent: string) => string; - -customListener = finalOpponent => { +function customListener(this: HTMLBodyElement | null, finalOpponent: string): string { const e = d3Selection.event; return `${e.team} defeated ${finalOpponent} in the EURO 2016 Cup. Who would have thought!!!`; -}; +} const resultText: string = d3Selection.customEvent(successEvent, customListener, body.node(), 'Wales'); diff --git a/types/d3-selection/index.d.ts b/types/d3-selection/index.d.ts index b5231f37c2..7e23c4aaeb 100644 --- a/types/d3-selection/index.d.ts +++ b/types/d3-selection/index.d.ts @@ -1,9 +1,9 @@ -// Type definitions for D3JS d3-selection module 1.2 +// Type definitions for D3JS d3-selection module 1.3 // Project: https://github.com/d3/d3-selection/ // Definitions by: Tom Wanzek , Alex Ford , Boris Yankov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// Last module patch version validated against: 1.2.0 +// Last module patch version validated against: 1.3.0 // -------------------------------------------------------------------------- // Shared Type Definitions and Interfaces @@ -532,6 +532,15 @@ export interface Selection; + /** * Returns a new selection merging this selection with the specified other selection. * The returned selection has the same number of groups and the same parents as this selection. @@ -1103,6 +1112,15 @@ export function window(DOMNode: Window | Document | Element): Window; // for explicit bound-context dependent use // --------------------------------------------------------------------------- +/** + * Given the specified element name, returns a single-element selection containing + * a detached element of the given name in the current document. + * + * @param name Tag name of the element to be added. See "namespace" for details on supported namespace prefixes, + * such as for SVG elements. + */ +export function create(name: string): Selection; + /** * Given the specified element name, returns a function which creates an element of the given name, * assuming that "this" is the parent element. diff --git a/types/d3-selection/tsconfig.json b/types/d3-selection/tsconfig.json index fa2d410466..9ee4a0eef4 100644 --- a/types/d3-selection/tsconfig.json +++ b/types/d3-selection/tsconfig.json @@ -8,7 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, - "strictFunctionTypes": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -22,4 +22,4 @@ "index.d.ts", "d3-selection-tests.ts" ] -} \ No newline at end of file +} From 81684a2762d19129f590499f478385f06074d2f8 Mon Sep 17 00:00:00 2001 From: Chris Krycho Date: Thu, 8 Feb 2018 09:09:43 -0700 Subject: [PATCH 276/463] Ember Data: fix tests for type registry; improve `Snapshot`. --- types/ember-data/index.d.ts | 12 ++++++------ types/ember-data/test/adapter.ts | 12 ++++++++++++ types/ember-data/test/has-many.ts | 7 +++++++ types/ember-data/test/injections.ts | 8 ++++++++ types/ember-data/test/serializer.ts | 3 ++- 5 files changed, 35 insertions(+), 7 deletions(-) diff --git a/types/ember-data/index.d.ts b/types/ember-data/index.d.ts index 44542550de..3a44b2905e 100644 --- a/types/ember-data/index.d.ts +++ b/types/ember-data/index.d.ts @@ -917,12 +917,12 @@ declare module 'ember-data' { */ snapshots(): any[]; } - class Snapshot { + class Snapshot { /** * The underlying record for this snapshot. Can be used to access methods and * properties defined on the record. */ - record: Model; + record: ModelRegistry[K]; /** * The id of the snapshot's underlying record */ @@ -942,7 +942,7 @@ declare module 'ember-data' { /** * Returns the value of an attribute. */ - attr(keyName: string): {}; + attr(keyName: L): {}; /** * Returns all attributes and their corresponding values. */ @@ -954,14 +954,14 @@ declare module 'ember-data' { /** * Returns the current value of a belongsTo relationship. */ - belongsTo( - keyName: string, + belongsTo( + keyName: L, options?: {} ): Snapshot | string | null | undefined; /** * Returns the current value of a hasMany relationship. */ - hasMany(keyName: string, options?: {}): any[] | undefined; + hasMany(keyName: L, options?: {}): any[] | undefined; /** * Iterates through all the attributes of the model, calling the passed * function on each attribute. diff --git a/types/ember-data/test/adapter.ts b/types/ember-data/test/adapter.ts index 17f69bcd9c..101ac3e42f 100644 --- a/types/ember-data/test/adapter.ts +++ b/types/ember-data/test/adapter.ts @@ -1,6 +1,11 @@ import Ember from 'ember'; import DS from 'ember-data'; +class Session extends Ember.Service {} +declare module '@ember/service' { + interface Registry { 'session': Session; } +} + const JsonApi = DS.JSONAPIAdapter.extend({ // Application specific overrides go here }); @@ -55,6 +60,13 @@ const UseAjaxOptionsWithOptionalThirdParams = DS.JSONAPIAdapter.extend({ } }); +declare module 'ember-data' { + interface ModelRegistry { + 'rootModel': any; + 'super-user': any; + } +} + // https://github.com/emberjs/data/blob/c9d8212c857ca78218ad98d11621819b38dba98f/tests/unit/adapters/build-url-mixin/build-url-test.js const BuildURLAdapter = DS.RESTAdapter.extend({ worksWithOnlyModelNameAndId() { diff --git a/types/ember-data/test/has-many.ts b/types/ember-data/test/has-many.ts index a369d166ea..e24fb1b814 100644 --- a/types/ember-data/test/has-many.ts +++ b/types/ember-data/test/has-many.ts @@ -44,6 +44,13 @@ blogPost.get('commentsAsync').then(comments => { assertType(comments.get('firstObject')!.get('text')); }); +class PaymentMethod extends DS.Model {} +declare module 'ember-data' { + interface ModelRegistry { + 'payment-method': PaymentMethod; + } +} + class Polymorphic extends DS.Model { paymentMethods = DS.hasMany('payment-method', { polymorphic: true }); } diff --git a/types/ember-data/test/injections.ts b/types/ember-data/test/injections.ts index 4c0a6e4e6b..3e32a2b805 100644 --- a/types/ember-data/test/injections.ts +++ b/types/ember-data/test/injections.ts @@ -1,6 +1,14 @@ import Ember from 'ember'; import DS from 'ember-data'; +class MyModel extends DS.Model {} + +declare module 'ember-data' { + interface ModelRegistry { + 'my-model': MyModel; + } +} + Ember.Route.extend({ model(): any { return this.store.findAll('my-model'); diff --git a/types/ember-data/test/serializer.ts b/types/ember-data/test/serializer.ts index 986020144f..baaa65ae9e 100644 --- a/types/ember-data/test/serializer.ts +++ b/types/ember-data/test/serializer.ts @@ -4,7 +4,8 @@ import DS from 'ember-data'; const JsonApi = DS.JSONAPISerializer.extend({}); const Customized = DS.JSONAPISerializer.extend({ - serialize(snapshot: DS.Snapshot, options: {}) { + serialize(snapshot: DS.Snapshot<'user'>, options: {}) { + const lookup = snapshot.belongsTo('username'); let json: any = this._super(...Array.from(arguments)); json.data.attributes.cost = { From c74015e25ee05bee1c2b42f18d688aa5509c61e3 Mon Sep 17 00:00:00 2001 From: Joel Hegg Date: Thu, 8 Feb 2018 11:09:40 -0500 Subject: [PATCH 277/463] [actions-on-google] Upgrade to 1.8 --- types/actions-on-google/index.d.ts | 2 +- types/actions-on-google/response-builder.d.ts | 4 +++- types/actions-on-google/transactions.d.ts | 7 ++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/types/actions-on-google/index.d.ts b/types/actions-on-google/index.d.ts index 23a2c1483d..937943e1f0 100644 --- a/types/actions-on-google/index.d.ts +++ b/types/actions-on-google/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for actions-on-google 1.7 +// Type definitions for actions-on-google 1.8 // Project: https://github.com/actions-on-google/actions-on-google-nodejs // Definitions by: Joel Hegg // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/types/actions-on-google/response-builder.d.ts b/types/actions-on-google/response-builder.d.ts index 4ebb9b3007..227d102958 100644 --- a/types/actions-on-google/response-builder.d.ts +++ b/types/actions-on-google/response-builder.d.ts @@ -20,7 +20,9 @@ export enum ImageDisplays { */ WHITE, /** - * Image is centered and resized so the image fits perfectly in the container. + * Image is scaled such that the image width matches the container width. This may crop the top + * and bottom of the image if the scaled image height is greater than the container height. This + * is similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video. */ CROPPED } diff --git a/types/actions-on-google/transactions.d.ts b/types/actions-on-google/transactions.d.ts index 59e6cd9b37..06e44b33dd 100644 --- a/types/actions-on-google/transactions.d.ts +++ b/types/actions-on-google/transactions.d.ts @@ -594,7 +594,12 @@ export namespace TransactionValues { /** * Use external payment gateway tokenization API to tokenize selected payment method. */ - PAYMENT_GATEWAY + PAYMENT_GATEWAY, + /** + * Allows payment service to pass public key for payment info encryption and receive encrypted + * response. + */ + DIRECT } } From e5b6d00e3a28ee4fb6c459db198e7757a16d48db Mon Sep 17 00:00:00 2001 From: Klaus Meinhardt Date: Thu, 8 Feb 2018 17:30:24 +0100 Subject: [PATCH 278/463] Use correct name in metadata --- types/get-caller-file/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/get-caller-file/index.d.ts b/types/get-caller-file/index.d.ts index 65cbd8b6f9..953f5f15e4 100644 --- a/types/get-caller-file/index.d.ts +++ b/types/get-caller-file/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for get-caller-file 1.0 // Project: https://github.com/stefanpenner/get-caller-file#readme -// Definitions by: My Self +// Definitions by: Klaus Meinhardt // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare function getCallerFile(position?: number): string; From 7523afa3b9017487143838470c499db14479b10c Mon Sep 17 00:00:00 2001 From: Chris Krycho Date: Thu, 8 Feb 2018 09:33:34 -0700 Subject: [PATCH 279/463] Fix 2-blank-line problem in Ember. --- types/ember/index.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/types/ember/index.d.ts b/types/ember/index.d.ts index 140cf74976..9f55942f9a 100755 --- a/types/ember/index.d.ts +++ b/types/ember/index.d.ts @@ -3325,7 +3325,6 @@ declare module 'ember' { function expandProperties(pattern: string, callback: (expanded: string) => void): void; } - type RouteModel = object | string | number; // https://emberjs.com/api/ember/2.18/classes/RouterService /** From a793660543199f0ae600d0fca1569f66674eeeea Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Thu, 8 Feb 2018 11:44:43 -0500 Subject: [PATCH 280/463] reservoir typings --- types/reservoir/index.d.ts | 35 ++++++++++++++++++++++++++++++ types/reservoir/reservoir-tests.ts | 13 +++++++++++ types/reservoir/tsconfig.json | 24 ++++++++++++++++++++ types/reservoir/tslint.json | 1 + 4 files changed, 73 insertions(+) create mode 100644 types/reservoir/index.d.ts create mode 100644 types/reservoir/reservoir-tests.ts create mode 100644 types/reservoir/tsconfig.json create mode 100644 types/reservoir/tslint.json diff --git a/types/reservoir/index.d.ts b/types/reservoir/index.d.ts new file mode 100644 index 0000000000..b08e8aebfa --- /dev/null +++ b/types/reservoir/index.d.ts @@ -0,0 +1,35 @@ +// Type definitions for reservoir 0.1 +// Project: https://github.com/imbcmdth/reservoir +// Definitions by: Dan Vanderkam +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +export as namespace Reservoir; +export = Reservoir; + +/** + * Create a new reservoir sampler. + * + * @param reservoirSize is the maximum size of the reservoir. This is the number of elements + * to be randomly chosen from the input provided to it using pushSome. Default is 1. + * @param randomNumberGenerator is an optional random number generating function to use in + * place of the default Math.random. + */ +declare function Reservoir( + reservoirSize?: number, + randomNumberGenerator?: () => number +): Reservoir.ReservoirArray; // tslint:disable-line:no-unnecessary-generics + +/*~ If you want to expose types from your module as well, you can + *~ place them in this block. Often you will want to describe the + *~ shape of the return type of the function; that type should + *~ be declared in here, as this example shows. + */ +declare namespace Reservoir { + interface ReservoirArray extends Array { + /** + * datum: one or more elements to consider for inclusion into the reservoir. + * Returns the current length of the reservoir. + */ + pushSome(...datum: T[]): number; + } +} diff --git a/types/reservoir/reservoir-tests.ts b/types/reservoir/reservoir-tests.ts new file mode 100644 index 0000000000..f7775bd1bb --- /dev/null +++ b/types/reservoir/reservoir-tests.ts @@ -0,0 +1,13 @@ +import Reservoir = require('reservoir'); + +// $ExpectType ReservoirArray +const x = Reservoir(1); + +// $ExpectType number +x.pushSome(10, 20, 30, 40); + +// $ExpectType number +x[0]; + +// $ExpectType number +x.length; diff --git a/types/reservoir/tsconfig.json b/types/reservoir/tsconfig.json new file mode 100644 index 0000000000..ff04e5c9d5 --- /dev/null +++ b/types/reservoir/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictFunctionTypes": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "reservoir-tests.ts" + ] +} diff --git a/types/reservoir/tslint.json b/types/reservoir/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/reservoir/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 605bdc66ca4ea6dd8183573cbc7274d7b54aa28c Mon Sep 17 00:00:00 2001 From: juwar Date: Thu, 8 Feb 2018 10:28:50 -0800 Subject: [PATCH 281/463] ReactSelectProps tabIndex can be a string or number --- types/react-select/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-select/index.d.ts b/types/react-select/index.d.ts index 4487ea4093..9f24ebe540 100644 --- a/types/react-select/index.d.ts +++ b/types/react-select/index.d.ts @@ -457,7 +457,7 @@ export interface ReactSelectProps extends React.Props Date: Thu, 8 Feb 2018 20:50:26 +0200 Subject: [PATCH 282/463] AngularJS: improve types for `foreach` (support for array-likes) --- types/angular/angular-tests.ts | 18 ++++++++++++++++++ types/angular/index.d.ts | 6 +++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/types/angular/angular-tests.ts b/types/angular/angular-tests.ts index 0b05400f6d..ca9d2c7568 100644 --- a/types/angular/angular-tests.ts +++ b/types/angular/angular-tests.ts @@ -710,6 +710,24 @@ function test_angular_forEach() { this.push(`${key}: ${value}`); }, log); // expect(log).toEqual(['name: misko', 'gender: male']); + // $ExpectType NodeListOf + angular.forEach(document.getElementsByTagName('img'), (value, key, obj) => { + value; // $ExpectType HTMLImageElement + key; // $ExpectType number + obj; // $ExpectType NodeListOf + }); + // $ExpectType number[] + angular.forEach([1, 2, 3], (value, key, obj) => { + value; // $ExpectType number + key; // $ExpectType number + obj; // $ExpectType number[] + }); + // $ExpectType string + angular.forEach('123', (value, key, obj) => { + value; // $ExpectType string + key; // $ExpectType number + obj; // $ExpectType string + }); } // angular.element() tests diff --git a/types/angular/index.d.ts b/types/angular/index.d.ts index 32a5c74b52..4c896eb430 100644 --- a/types/angular/index.d.ts +++ b/types/angular/index.d.ts @@ -100,7 +100,11 @@ declare namespace angular { * @param iterator Iterator function. * @param context Object to become context (this) for the iterator function. */ - forEach(obj: T[], iterator: (value: T, key: number, obj: T[]) => void, context?: any): T[]; + forEach = T[]>( + obj: U, + iterator: (value: U[number], key: number, obj: U) => void, + context?: any + ): U; /** * Invokes the iterator function once for each item in obj collection, which can be either an object or an array. The iterator function is invoked with iterator(value, key), where value is the value of an object property or an array element and key is the object property key or array element index. Specifying a context for the function is optional. * From 8d20b80540006fcb4169afa06eacf3780d03c76b Mon Sep 17 00:00:00 2001 From: Andrew Bishop Date: Thu, 8 Feb 2018 13:07:12 -0800 Subject: [PATCH 283/463] Move event types out to concrete definitions --- types/plotly.js/index.d.ts | 81 ++++++++++++++++++++++---------------- 1 file changed, 48 insertions(+), 33 deletions(-) diff --git a/types/plotly.js/index.d.ts b/types/plotly.js/index.d.ts index 81286fe0a4..6e7c9a67bc 100644 --- a/types/plotly.js/index.d.ts +++ b/types/plotly.js/index.d.ts @@ -4,6 +4,7 @@ // Martin Duparc // Frederik Aalund // taoqf +// Dadstart // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -22,40 +23,54 @@ export interface Point { z: number; } +export interface PlotScatterDataPoint { + pointNumber: number; + curveNumber: number; + data: ScatterData; +} + +export interface PlotMouseEvent { + points: PlotScatterDataPoint[]; + event: MouseEvent; +} + +export interface PlotCoordinate { + x: number; + y: number; + pointNumber: number; +} + +export interface PlotSelectionEvent { + points: PlotCoordinate[]; +} + +export type PlotRestyleEvent = [ + any, // update object -- attribute updated: new value + number[] // array of traces updated +]; + +export interface PlotAxis { + range: [number, number]; + autorange: boolean; +} + +export interface PlotScene { + center: Point; + eye: Point; + up: Point; +} + +export interface PlotRelayoutEvent { + xaxis: PlotAxis; + yaxis: PlotAxis; + scene: PlotScene; +} + export interface PlotlyHTMLElement extends HTMLElement { - on(event: 'plotly_click' | 'plotly_hover' | 'plotly_unhover', callback: (data: { - points: Array<{ - pointNumber: number; - curveNumber: number; - data: ScatterData; - }>; - }) => void): void; - on(event: 'plotly_selecting' | 'plotly_selected', callback: (data: { - points: Array<{ - x: number; - y: number; - pointNumber: number; - }>; - }) => void): void; - on(event: 'plotly_restyle', callback: (data: [ - any, // update object -- attribute updated: new value - number[] // array of traces updated - ]) => void): void; - on(event: 'plotly_relayout', callback: (data: { - xaxis: { - range: [number, number]; - autorange: boolean; - }; - yaxis: { - range: [number, number]; - autorange: boolean; - }; - scene: { - center: Point; - eye: Point; - up: Point; - }; - }) => void): void; + on(event: 'plotly_click' | 'plotly_hover' | 'plotly_unhover', callback: (event: PlotMouseEvent) => void): void; + on(event: 'plotly_selecting' | 'plotly_selected', callback: (event: PlotSelectionEvent) => void): void; + on(event: 'plotly_restyle', callback: (data: PlotRestyleEvent) => void): void; + on(event: 'plotly_relayout', callback: (event: PlotRelayoutEvent) => void): void; // on(event: 'plotly_event', callback: (data: any) => void): void; on(event: 'plotly_afterplot' | 'plotly_autosize' | 'plotly_deselect' | 'plotly_doubleclick' | 'plotly_redraw' | 'plotly_animated', callback: () => void): void; } From 9ecd90e9e8a715b8435315b540e0bde8eda6bb04 Mon Sep 17 00:00:00 2001 From: Tom Wanzek Date: Thu, 8 Feb 2018 16:50:46 -0500 Subject: [PATCH 284/463] refactor(*): refactor d3-scale and d3-scale-chromatic BREAKING CHANGE: * refactor(d3-scale) update to major version 2.0. As a breaking change all color related features are removed. schemeCategory20x features are removed without replacement. All other color features are moved to d3-scale-chromatic 1.2 * refactor(d3-scale-chromatic): update to minor version 1.2 by including refactored features dropped from d3-scale 2.0: schemeCategory10 and color interpolators. * fix(d3-scale) All input arguments for domain or range arrays now also permit ReadonlyArray as inputs. This change allows seamless integration with the color schemes defined in d3-scale-chromatic. This change has been applied to both d3-scale 1.x and 2.x. * chore(d3-scale-chromatic) activate strictNullChecks * chore(d3-scale) move d3-scale 1.x into legacy folder `v1` and update tsconfig.json including path mapping for d3-scale itself to pick up legacy version in its own legacy tests * test(d3-scale) update tests including integration test with d3-scale-chromatic * test(d3-scale-chromatic) update tests. Including generalized assignment tests for interplators and schemes. * chore(*) update version numbers for d3-scale and d3-scale-chromatic --- .../d3-scale-chromatic-tests.ts | 91 + types/d3-scale-chromatic/index.d.ts | 179 +- types/d3-scale-chromatic/tsconfig.json | 4 +- types/d3-scale/d3-scale-tests.ts | 51 +- types/d3-scale/index.d.ts | 118 +- types/d3-scale/v1/d3-scale-tests.ts | 970 +++++++++ types/d3-scale/v1/index.d.ts | 1840 +++++++++++++++++ types/d3-scale/v1/tsconfig.json | 28 + types/d3-scale/v1/tslint.json | 8 + 9 files changed, 3087 insertions(+), 202 deletions(-) create mode 100644 types/d3-scale/v1/d3-scale-tests.ts create mode 100644 types/d3-scale/v1/index.d.ts create mode 100644 types/d3-scale/v1/tsconfig.json create mode 100644 types/d3-scale/v1/tslint.json diff --git a/types/d3-scale-chromatic/d3-scale-chromatic-tests.ts b/types/d3-scale-chromatic/d3-scale-chromatic-tests.ts index ccf736d43b..c6ff839994 100644 --- a/types/d3-scale-chromatic/d3-scale-chromatic-tests.ts +++ b/types/d3-scale-chromatic/d3-scale-chromatic-tests.ts @@ -8,9 +8,29 @@ import * as d3ScaleChromatic from 'd3-scale-chromatic'; +// ----------------------------------------------------------------------- +// Preparatory Steps +// ----------------------------------------------------------------------- + +let colorInterpolator: ((t: number) => string); +let simpleScheme: ReadonlyArray; +let nestedScheme: ReadonlyArray>; + // ----------------------------------------------------------------------- // Categorical // ----------------------------------------------------------------------- + +simpleScheme = d3ScaleChromatic.schemeCategory10; +simpleScheme = d3ScaleChromatic.schemeAccent; +simpleScheme = d3ScaleChromatic.schemeDark2; +simpleScheme = d3ScaleChromatic.schemePaired; +simpleScheme = d3ScaleChromatic.schemePastel1; +simpleScheme = d3ScaleChromatic.schemePastel2; +simpleScheme = d3ScaleChromatic.schemeSet1; +simpleScheme = d3ScaleChromatic.schemeSet2; +simpleScheme = d3ScaleChromatic.schemeSet3; + +const category10: string = d3ScaleChromatic.schemeCategory10[0]; // #1f77b4 const accent: string = d3ScaleChromatic.schemeAccent[0]; // #7fc97f const dark: string = d3ScaleChromatic.schemeDark2[0]; // #1b9e77 const paired: string = d3ScaleChromatic.schemePaired[0]; // #a6cee3 @@ -23,6 +43,17 @@ const set3: string = d3ScaleChromatic.schemeSet3[0]; // #8dd3c7 // ----------------------------------------------------------------------- // Diverging // ----------------------------------------------------------------------- + +colorInterpolator = d3ScaleChromatic.interpolateBrBG; +colorInterpolator = d3ScaleChromatic.interpolatePRGn; +colorInterpolator = d3ScaleChromatic.interpolatePiYG; +colorInterpolator = d3ScaleChromatic.interpolatePuOr; +colorInterpolator = d3ScaleChromatic.interpolateRdBu; +colorInterpolator = d3ScaleChromatic.interpolateRdGy; +colorInterpolator = d3ScaleChromatic.interpolateRdYlBu; +colorInterpolator = d3ScaleChromatic.interpolateRdYlGn; +colorInterpolator = d3ScaleChromatic.interpolateSpectral; + const BrBG: string = d3ScaleChromatic.interpolateBrBG(0); // rgb(84, 48, 5) const PRGn: string = d3ScaleChromatic.interpolatePRGn(0); // rgb(64, 0, 75) const PiYG: string = d3ScaleChromatic.interpolatePiYG(0); // rgb(142, 1, 82) @@ -33,6 +64,16 @@ const RdYlBu: string = d3ScaleChromatic.interpolateRdYlBu(0); // rgb(103, 0, 31) const RdYlGn: string = d3ScaleChromatic.interpolateRdYlGn(0); // rgb(103, 0, 31) const Spectral: string = d3ScaleChromatic.interpolateSpectral(0); // rgb(158, 1, 66) +nestedScheme = d3ScaleChromatic.schemeBrBG; +nestedScheme = d3ScaleChromatic.schemePRGn; +nestedScheme = d3ScaleChromatic.schemePiYG; +nestedScheme = d3ScaleChromatic.schemePuOr; +nestedScheme = d3ScaleChromatic.schemeRdBu; +nestedScheme = d3ScaleChromatic.schemeRdGy; +nestedScheme = d3ScaleChromatic.schemeRdYlBu; +nestedScheme = d3ScaleChromatic.schemeRdYlGn; +nestedScheme = d3ScaleChromatic.schemeSpectral; + const schemeBrBG: string = d3ScaleChromatic.schemeBrBG[3][0]; // #d8b365 const schemePRGn: string = d3ScaleChromatic.schemePRGn[3][0]; // #af8dc3 const schemePiYG: string = d3ScaleChromatic.schemePiYG[3][0]; // #e9a3c9 @@ -46,6 +87,14 @@ const schemeSpectral: string = d3ScaleChromatic.schemeSpectral[3][0]; // #fc8d59 // ----------------------------------------------------------------------- // Sequential // ----------------------------------------------------------------------- + +colorInterpolator = d3ScaleChromatic.interpolateBlues; +colorInterpolator = d3ScaleChromatic.interpolateGreens; +colorInterpolator = d3ScaleChromatic.interpolateGreys; +colorInterpolator = d3ScaleChromatic.interpolateOranges; +colorInterpolator = d3ScaleChromatic.interpolatePurples; +colorInterpolator = d3ScaleChromatic.interpolateReds; + const Blue: string = d3ScaleChromatic.interpolateBlues(1); // rgb(8, 48, 107) const Green: string = d3ScaleChromatic.interpolateGreens(1); // rgb(0, 68, 27) const Grey: string = d3ScaleChromatic.interpolateGreys(1); // rgb(0, 0, 0) @@ -53,6 +102,13 @@ const Orange: string = d3ScaleChromatic.interpolateOranges(1); // rgb(127, 39, 4 const Purple: string = d3ScaleChromatic.interpolatePurples(1); // rgb(63, 0, 125) const Red: string = d3ScaleChromatic.interpolateReds(1); // rgb(103, 0, 13) +nestedScheme = d3ScaleChromatic.schemeBlues; +nestedScheme = d3ScaleChromatic.schemeGreens; +nestedScheme = d3ScaleChromatic.schemeGreys; +nestedScheme = d3ScaleChromatic.schemeOranges; +nestedScheme = d3ScaleChromatic.schemePurples; +nestedScheme = d3ScaleChromatic.schemeReds; + const schemeBlues: string = d3ScaleChromatic.schemeBlues[3][0]; // #deebf7 const schemeGreens: string = d3ScaleChromatic.schemeGreens[3][0]; // #e5f5e0 const schemeGreys: string = d3ScaleChromatic.schemeGreys[3][0]; // #f0f0f0 @@ -63,6 +119,28 @@ const schemeReds: string = d3ScaleChromatic.schemeReds[3][0]; // #fee0d2 // ----------------------------------------------------------------------- // Sequential(Multi-Hue) // ----------------------------------------------------------------------- + +colorInterpolator = d3ScaleChromatic.interpolateViridis; +colorInterpolator = d3ScaleChromatic.interpolateMagma; +colorInterpolator = d3ScaleChromatic.interpolateInferno; +colorInterpolator = d3ScaleChromatic.interpolatePlasma; +colorInterpolator = d3ScaleChromatic.interpolateRainbow; +colorInterpolator = d3ScaleChromatic.interpolateWarm; +colorInterpolator = d3ScaleChromatic.interpolateCool; +colorInterpolator = d3ScaleChromatic.interpolateCubehelixDefault; +colorInterpolator = d3ScaleChromatic.interpolateBuGn; +colorInterpolator = d3ScaleChromatic.interpolateBuPu; +colorInterpolator = d3ScaleChromatic.interpolateGnBu; +colorInterpolator = d3ScaleChromatic.interpolateOrRd; +colorInterpolator = d3ScaleChromatic.interpolatePuBuGn; +colorInterpolator = d3ScaleChromatic.interpolatePuBu; +colorInterpolator = d3ScaleChromatic.interpolatePuRd; +colorInterpolator = d3ScaleChromatic.interpolateRdPu; +colorInterpolator = d3ScaleChromatic.interpolateYlGnBu; +colorInterpolator = d3ScaleChromatic.interpolateYlGn; +colorInterpolator = d3ScaleChromatic.interpolateYlOrBr; +colorInterpolator = d3ScaleChromatic.interpolateYlOrRd; + const BuGn: string = d3ScaleChromatic.interpolateBuGn(1); // rgb(0, 68, 27) const BuPu: string = d3ScaleChromatic.interpolateBuPu(1); // rgb(77, 0, 75) const GnBu: string = d3ScaleChromatic.interpolateGnBu(1); // rgb(8, 64, 129) @@ -76,6 +154,19 @@ const YlGn: string = d3ScaleChromatic.interpolateYlGn(1); // rgb(0, 69, 41) const YlOrBr: string = d3ScaleChromatic.interpolateYlOrBr(1); // rgb(102, 37, 6) const YlOrRd: string = d3ScaleChromatic.interpolateYlOrRd(1); // rgb(128, 0, 38) +nestedScheme = d3ScaleChromatic.schemeBuGn; +nestedScheme = d3ScaleChromatic.schemeBuPu; +nestedScheme = d3ScaleChromatic.schemeGnBu; +nestedScheme = d3ScaleChromatic.schemeOrRd; +nestedScheme = d3ScaleChromatic.schemePuBuGn; +nestedScheme = d3ScaleChromatic.schemePuBu; +nestedScheme = d3ScaleChromatic.schemePuRd; +nestedScheme = d3ScaleChromatic.schemeRdPu; +nestedScheme = d3ScaleChromatic.schemeYlGnBu; +nestedScheme = d3ScaleChromatic.schemeYlGn; +nestedScheme = d3ScaleChromatic.schemeYlOrBr; +nestedScheme = d3ScaleChromatic.schemeYlOrRd; + const schemeBuGn: string = d3ScaleChromatic.schemeBuGn[3][0]; // #e5f5f9 const schemeBuPu: string = d3ScaleChromatic.schemeBuPu[3][0]; // #e0ecf4 const schemeGnBu: string = d3ScaleChromatic.schemeGnBu[3][0]; // #e0f3db diff --git a/types/d3-scale-chromatic/index.d.ts b/types/d3-scale-chromatic/index.d.ts index 1345371e2a..93c0285a17 100644 --- a/types/d3-scale-chromatic/index.d.ts +++ b/types/d3-scale-chromatic/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for D3JS d3-scale-chromatic module 1.1 +// Type definitions for D3JS d3-scale-chromatic module 1.2 // Project: https://github.com/d3/d3-scale-chromatic/ // Definitions by: Hugues Stefanski , // Alex Ford , @@ -6,11 +6,15 @@ // Henrique Machado // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// Last module patch version validated against: 1.0.2 +// Last module patch version validated against: 1.2.0 // ----------------------------------------------------------------------- // Categorical // ----------------------------------------------------------------------- +/** + * An array of ten categorical colors represented as RGB hexadecimal strings. + */ +export const schemeCategory10: ReadonlyArray; /** * An array of eight categorical colors represented as RGB hexadecimal strings. */ @@ -48,11 +52,11 @@ export const schemeSet3: ReadonlyArray; // Diverging // ----------------------------------------------------------------------- /** - * Given a number value in the range [0,1], returns the corresponding color from the “BrBG” diverging color scheme represented as an RGB string. + * Given a number t in the range [0,1], returns the corresponding color from the “BrBG” diverging color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateBrBG(value: number): string; +export function interpolateBrBG(t: number): string; /** * An array of arrays of hexadecimal color strings from the “BrBG” diverging color scheme. The kth element of this array contains @@ -64,9 +68,9 @@ export const schemeBrBG: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “PRGn” diverging color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolatePRGn(value: number): string; +export function interpolatePRGn(t: number): string; /** * An array of arrays of hexadecimal color strings from the “PRGn” diverging color scheme. The kth element of this array contains @@ -78,9 +82,9 @@ export const schemePRGn: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “PiYG” diverging color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolatePiYG(value: number): string; +export function interpolatePiYG(t: number): string; /** * An array of arrays of hexadecimal color strings from the “PiYG” diverging color scheme. The kth element of this array contains @@ -92,9 +96,9 @@ export const schemePiYG: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “PuOr” diverging color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolatePuOr(value: number): string; +export function interpolatePuOr(t: number): string; /** * An array of arrays of hexadecimal color strings from the “PuOr” diverging color scheme. The kth element of this array contains @@ -106,9 +110,9 @@ export const schemePuOr: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “RdBu” diverging color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateRdBu(value: number): string; +export function interpolateRdBu(t: number): string; /** * An array of arrays of hexadecimal color strings from the “RdBu” diverging color scheme. The kth element of this array contains @@ -120,9 +124,9 @@ export const schemeRdBu: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “RdGy” diverging color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateRdGy(value: number): string; +export function interpolateRdGy(t: number): string; /** * An array of arrays of hexadecimal color strings from the “RdGy” diverging color scheme. The kth element of this array contains @@ -134,9 +138,9 @@ export const schemeRdGy: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “RdYlBu” diverging color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateRdYlBu(value: number): string; +export function interpolateRdYlBu(t: number): string; /** * An array of arrays of hexadecimal color strings from the “RdYlBu” diverging color scheme. The kth element of this array contains @@ -148,9 +152,9 @@ export const schemeRdYlBu: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “RdYlGn” diverging color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateRdYlGn(value: number): string; +export function interpolateRdYlGn(t: number): string; /** * An array of arrays of hexadecimal color strings from the “RdYlGn” diverging color scheme. The kth element of this array contains @@ -162,9 +166,9 @@ export const schemeRdYlGn: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “Spectral” diverging color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateSpectral(value: number): string; +export function interpolateSpectral(t: number): string; /** * An array of arrays of hexadecimal color strings from the “Spectral” diverging color scheme. The kth element of this array contains @@ -179,9 +183,9 @@ export const schemeSpectral: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “Blues” sequential color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateBlues(value: number): string; +export function interpolateBlues(t: number): string; /** * An array of arrays of hexadecimal color strings from the “Blues” sequential color scheme. The kth element of this array contains @@ -193,9 +197,9 @@ export const schemeBlues: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “Greens” sequential color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateGreens(value: number): string; +export function interpolateGreens(t: number): string; /** * An array of arrays of hexadecimal color strings from the “Greens” sequential color scheme. The kth element of this array contains @@ -207,9 +211,9 @@ export const schemeGreens: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “Greys” sequential color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateGreys(value: number): string; +export function interpolateGreys(t: number): string; /** * An array of arrays of hexadecimal color strings from the “Greys” sequential color scheme. The kth element of this array contains @@ -221,9 +225,9 @@ export const schemeGreys: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “Oranges” sequential color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateOranges(value: number): string; +export function interpolateOranges(t: number): string; /** * An array of arrays of hexadecimal color strings from the “Oranges” sequential color scheme. The kth element of this array contains @@ -235,9 +239,9 @@ export const schemeOranges: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “Purples” sequential color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolatePurples(value: number): string; +export function interpolatePurples(t: number): string; /** * An array of arrays of hexadecimal color strings from the “Purples” sequential color scheme. The kth element of this array contains @@ -249,9 +253,9 @@ export const schemePurples: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “Reds” sequential color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateReds(value: number): string; +export function interpolateReds(t: number): string; /** * An array of arrays of hexadecimal color strings from the “Reds” sequential color scheme. The kth element of this array contains @@ -264,12 +268,73 @@ export const schemeReds: ReadonlyArray>; // Sequential(Multi-Hue) // ----------------------------------------------------------------------- +/** + * Given a number t in the range [0,1], returns the corresponding color from the “viridis” perceptually-uniform color scheme designed by van der Walt, Smith and Firing for matplotlib, + * represented as an RGB string. + * + * @param t A number in the interval [0, 1]. + */ +export function interpolateViridis(t: number): string; + +/** + * Given a number t in the range [0,1], returns the corresponding color from the “inferno” perceptually-uniform color scheme designed by van der Walt and Smith for matplotlib, + * represented as an RGB string. + * + * @param t A number in the interval [0, 1]. + */ +export function interpolateInferno(t: number): string; + +/** + * Given a number t in the range [0,1], returns the corresponding color from the “magma” perceptually-uniform color scheme designed by van der Walt and Smith for matplotlib, + * represented as an RGB string. + * + * @param t A number in the interval [0, 1]. + */ +export function interpolateMagma(t: number): string; + +/** + * Given a number t in the range [0,1], returns the corresponding color from the “plasma” perceptually-uniform color scheme designed by van der Walt and Smith for matplotlib, + * represented as an RGB string. + * + * @param t A number in the interval [0, 1]. + */ +export function interpolatePlasma(t: number): string; + +/** + * Given a number t in the range [0,1], returns the corresponding color from a 180° rotation of Niccoli’s perceptual rainbow, represented as an RGB string. + * + * @param t A number in the interval [0, 1]. + */ +export function interpolateWarm(t: number): string; + +/** + * Given a number t in the range [0,1], returns the corresponding color from Niccoli’s perceptual rainbow, represented as an RGB string. + * + * @param t A number in the interval [0, 1]. + */ +export function interpolateCool(t: number): string; + +/** + * Given a number t in the range [0,1], returns the corresponding color from d3.interpolateWarm scale from [0.0, 0.5] followed by the d3.interpolateCool scale from [0.5, 1.0], + * thus implementing the cyclical less-angry rainbow color scheme. + * + * @param t A number in the interval [0, 1]. + */ +export function interpolateRainbow(t: number): string; + +/** + * Given a number t in the range [0,1], returns the corresponding color from Green’s default Cubehelix represented as an RGB string. + * + * @param t A number in the interval [0, 1]. + */ +export function interpolateCubehelixDefault(t: number): string; + /** * Given a number t in the range [0,1], returns the corresponding color from the “BuGn” sequential color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateBuGn(value: number): string; +export function interpolateBuGn(t: number): string; /** * An array of arrays of hexadecimal color strings from the “BuGn” sequential color scheme. The kth element of this array contains @@ -281,9 +346,9 @@ export const schemeBuGn: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “BuPu” sequential color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateBuPu(value: number): string; +export function interpolateBuPu(t: number): string; /** * An array of arrays of hexadecimal color strings from the “BuPu” sequential color scheme. The kth element of this array contains @@ -295,9 +360,9 @@ export const schemeBuPu: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “GnBu” sequential color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateGnBu(value: number): string; +export function interpolateGnBu(t: number): string; /** * An array of arrays of hexadecimal color strings from the “GnBu” sequential color scheme. The kth element of this array contains @@ -309,9 +374,9 @@ export const schemeGnBu: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “OrRd” sequential color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateOrRd(value: number): string; +export function interpolateOrRd(t: number): string; /** * An array of arrays of hexadecimal color strings from the “OrRd” sequential color scheme. The kth element of this array contains @@ -323,9 +388,9 @@ export const schemeOrRd: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “PuBuGn” sequential color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolatePuBuGn(value: number): string; +export function interpolatePuBuGn(t: number): string; /** * An array of arrays of hexadecimal color strings from the “PuBuGn” sequential color scheme. The kth element of this array contains @@ -337,9 +402,9 @@ export const schemePuBuGn: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “PuBu” sequential color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolatePuBu(value: number): string; +export function interpolatePuBu(t: number): string; /** * An array of arrays of hexadecimal color strings from the “PuBu” sequential color scheme. The kth element of this array contains @@ -351,9 +416,9 @@ export const schemePuBu: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “PuRd” sequential color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolatePuRd(value: number): string; +export function interpolatePuRd(t: number): string; /** * An array of arrays of hexadecimal color strings from the “PuRd” sequential color scheme. The kth element of this array contains @@ -365,9 +430,9 @@ export const schemePuRd: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “RdPu” sequential color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateRdPu(value: number): string; +export function interpolateRdPu(t: number): string; /** * An array of arrays of hexadecimal color strings from the “RdPu” sequential color scheme. The kth element of this array contains @@ -379,9 +444,9 @@ export const schemeRdPu: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “YlGnBu” sequential color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateYlGnBu(value: number): string; +export function interpolateYlGnBu(t: number): string; /** * An array of arrays of hexadecimal color strings from the “YlGnBu” sequential color scheme. The kth element of this array contains @@ -393,9 +458,9 @@ export const schemeYlGnBu: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “YlGn” sequential color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateYlGn(value: number): string; +export function interpolateYlGn(t: number): string; /** * An array of arrays of hexadecimal color strings from the “YlGn” sequential color scheme. The kth element of this array contains @@ -407,9 +472,9 @@ export const schemeYlGn: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “YlOrBr” sequential color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateYlOrBr(value: number): string; +export function interpolateYlOrBr(t: number): string; /** * An array of arrays of hexadecimal color strings from the “YlOrBr” sequential color scheme. The kth element of this array contains @@ -421,9 +486,9 @@ export const schemeYlOrBr: ReadonlyArray>; /** * Given a number t in the range [0,1], returns the corresponding color from the “YlOrRd” sequential color scheme represented as an RGB string. * - * @param value Number in the range [0, 1]. + * @param t Number in the range [0, 1]. */ -export function interpolateYlOrRd(value: number): string; +export function interpolateYlOrRd(t: number): string; /** * An array of arrays of hexadecimal color strings from the “YlOrRd” sequential color scheme. The kth element of this array contains diff --git a/types/d3-scale-chromatic/tsconfig.json b/types/d3-scale-chromatic/tsconfig.json index 60c78baedc..404fba89ea 100644 --- a/types/d3-scale-chromatic/tsconfig.json +++ b/types/d3-scale-chromatic/tsconfig.json @@ -6,7 +6,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ @@ -21,4 +21,4 @@ "index.d.ts", "d3-scale-chromatic-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/d3-scale/d3-scale-tests.ts b/types/d3-scale/d3-scale-tests.ts index f317e342ec..8fa070d992 100644 --- a/types/d3-scale/d3-scale-tests.ts +++ b/types/d3-scale/d3-scale-tests.ts @@ -9,6 +9,12 @@ import * as d3Scale from 'd3-scale'; import { interpolateCubehelix } from 'd3-interpolate'; import { timeHour } from 'd3-time'; +import { + schemePuRd, + interpolateRainbow, + interpolateCool, + interpolateInferno +} from 'd3-scale-chromatic'; // ------------------------------------------------------------------------------- // Preparatory Steps @@ -549,8 +555,8 @@ const copiedTimeScale: d3Scale.ScaleTime = localTimeScaleNumStri let sequentialScaleColorString: d3Scale.ScaleSequential; -sequentialScaleColorString = d3Scale.scaleSequential(d3Scale.interpolateRainbow); -sequentialScaleColorString = d3Scale.scaleSequential(d3Scale.interpolateCool); // inferred Output type string +sequentialScaleColorString = d3Scale.scaleSequential(interpolateRainbow); +sequentialScaleColorString = d3Scale.scaleSequential(interpolateCool); // inferred Output type string // ScaleSequential Interface ======================================================== @@ -567,7 +573,7 @@ clampFlag = sequentialScaleColorString.clamp(); // interpolate(...) ----------------------------------------------------------------- -sequentialScaleColorString = sequentialScaleColorString.interpolator(d3Scale.interpolateInferno); +sequentialScaleColorString = sequentialScaleColorString.interpolator(interpolateInferno); let sequentialInterpolator: (t: number) => string; sequentialInterpolator = sequentialScaleColorString.interpolator(); @@ -580,28 +586,6 @@ outputString = sequentialScaleColorString(10); const copiedSequentialScale: d3Scale.ScaleSequential = sequentialScaleColorString.copy(); -// ------------------------------------------------------------------------------- -// Color Interpolators for Sequential Scale Factory -// ------------------------------------------------------------------------------- - -let colorInterpolator: ((t: number) => string); - -colorInterpolator = d3Scale.interpolateViridis; - -colorInterpolator = d3Scale.interpolateMagma; - -colorInterpolator = d3Scale.interpolateInferno; - -colorInterpolator = d3Scale.interpolatePlasma; - -colorInterpolator = d3Scale.interpolateRainbow; - -colorInterpolator = d3Scale.interpolateWarm; - -colorInterpolator = d3Scale.interpolateCool; - -colorInterpolator = d3Scale.interpolateCubehelixDefault; - // ------------------------------------------------------------------------------- // Quantize Scale Factory // ------------------------------------------------------------------------------- @@ -764,7 +748,9 @@ let ordinalScaleStringString: d3Scale.ScaleOrdinal; let ordinalScaleStringNumber: d3Scale.ScaleOrdinal; ordinalScaleStringString = d3Scale.scaleOrdinal(); +ordinalScaleStringString = d3Scale.scaleOrdinal(schemePuRd[3]); ordinalScaleStringNumber = d3Scale.scaleOrdinal(); +ordinalScaleStringString = d3Scale.scaleOrdinal(schemePuRd[3]); // ScaleOrdinal Interface ======================================================== @@ -778,6 +764,7 @@ ordinalScaleStringNumber = ordinalScaleStringNumber.domain(['negative', 'neutral // range(...) ----------------------------------------------------------------- ordinalScaleStringString = ordinalScaleStringString.range(['crimson', 'midnightblue', 'seagreen']); +ordinalScaleStringString = ordinalScaleStringString.range(schemePuRd[3]); rangeStrings = ordinalScaleStringString.range(); ordinalScaleStringNumber = ordinalScaleStringNumber.range([-1, 0, 1]); @@ -950,17 +937,3 @@ outputNumberMaybe = pointScaleCoercible(new StringCoercible('negative')); // copy(...) ----------------------------------------------------------------- const copiedPointScale: d3Scale.ScalePoint = pointScaleCoercible.copy(); - -// ------------------------------------------------------------------------------- -// Categorical Color Schemas for Ordinal Scales -// ------------------------------------------------------------------------------- - -let colorStrings: string[]; - -colorStrings = d3Scale.schemeCategory10; - -colorStrings = d3Scale.schemeCategory20; - -colorStrings = d3Scale.schemeCategory20b; - -colorStrings = d3Scale.schemeCategory20c; diff --git a/types/d3-scale/index.d.ts b/types/d3-scale/index.d.ts index d6cccdedfc..203590ce7e 100644 --- a/types/d3-scale/index.d.ts +++ b/types/d3-scale/index.d.ts @@ -1,9 +1,9 @@ -// Type definitions for D3JS d3-scale module 1.0 +// Type definitions for D3JS d3-scale module 2.0 // Project: https://github.com/d3/d3-scale/ // Definitions by: Tom Wanzek , Alex Ford , Boris Yankov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// Last module patch version validated against: 1.0.4 +// Last module patch version validated against: 2.0.0 import { CountableTimeInterval, TimeInterval } from 'd3-time'; @@ -87,7 +87,7 @@ export interface ScaleContinuousNumeric { * * @param range Array of range values. */ - range(range: Range[]): this; + range(range: Range[] | ReadonlyArray): this; /** * Sets the scale’s range to the specified array of values while also setting the scale’s interpolator to interpolateRound. @@ -756,7 +756,7 @@ export interface ScaleTime { * * @param range Array of range values. */ - range(range: Range[]): this; + range(range: Range[] | ReadonlyArray): this; /** * Sets the scale’s range to the specified array of values while also setting the scale’s interpolator to interpolateRound. @@ -1081,71 +1081,6 @@ export interface ScaleSequential { */ export function scaleSequential(interpolator: ((t: number) => Output)): ScaleSequential; -// ------------------------------------------------------------------------------- -// Color Interpolators for Sequential Scale Factory -// ------------------------------------------------------------------------------- - -/** - * Given a number t in the range [0,1], returns the corresponding color from the “viridis” perceptually-uniform color scheme designed by van der Walt, Smith and Firing for matplotlib, - * represented as an RGB string. - * - * @param t A number in the interval [0, 1]. - */ -export function interpolateViridis(t: number): string; - -/** - * Given a number t in the range [0,1], returns the corresponding color from the “inferno” perceptually-uniform color scheme designed by van der Walt and Smith for matplotlib, - * represented as an RGB string. - * - * @param t A number in the interval [0, 1]. - */ -export function interpolateInferno(t: number): string; - -/** - * Given a number t in the range [0,1], returns the corresponding color from the “magma” perceptually-uniform color scheme designed by van der Walt and Smith for matplotlib, - * represented as an RGB string. - * - * @param t A number in the interval [0, 1]. - */ -export function interpolateMagma(t: number): string; - -/** - * Given a number t in the range [0,1], returns the corresponding color from the “plasma” perceptually-uniform color scheme designed by van der Walt and Smith for matplotlib, - * represented as an RGB string. - * - * @param t A number in the interval [0, 1]. - */ -export function interpolatePlasma(t: number): string; - -/** - * Given a number t in the range [0,1], returns the corresponding color from a 180° rotation of Niccoli’s perceptual rainbow, represented as an RGB string. - * - * @param t A number in the interval [0, 1]. - */ -export function interpolateWarm(t: number): string; - -/** - * Given a number t in the range [0,1], returns the corresponding color from Niccoli’s perceptual rainbow, represented as an RGB string. - * - * @param t A number in the interval [0, 1]. - */ -export function interpolateCool(t: number): string; - -/** - * Given a number t in the range [0,1], returns the corresponding color from d3.interpolateWarm scale from [0.0, 0.5] followed by the d3.interpolateCool scale from [0.5, 1.0], - * thus implementing the cyclical less-angry rainbow color scheme. - * - * @param t A number in the interval [0, 1]. - */ -export function interpolateRainbow(t: number): string; - -/** - * Given a number t in the range [0,1], returns the corresponding color from Green’s default Cubehelix represented as an RGB string. - * - * @param t A number in the interval [0, 1]. - */ -export function interpolateCubehelixDefault(t: number): string; - // ------------------------------------------------------------------------------- // Quantize Scale Factory // ------------------------------------------------------------------------------- @@ -1195,7 +1130,7 @@ export interface ScaleQuantize { * * @param range Array of range values. */ - range(range: Range[]): this; + range(range: Range[] | ReadonlyArray): this; /** * Returns approximately count representative values from the scale’s domain. @@ -1311,7 +1246,7 @@ export interface ScaleQuantile { * * @param range Array of range values. */ - range(range: Range[]): this; + range(range: Range[] | ReadonlyArray): this; /** * Returns the quantile thresholds. If the range contains n discrete values, the returned array will contain n - 1 thresholds. @@ -1385,7 +1320,7 @@ export interface ScaleThreshold { * * @param domain Array of domain values. */ - domain(domain: Domain[]): this; + domain(domain: Domain[] | ReadonlyArray): this; /** * Returns the scale’s current range. @@ -1398,7 +1333,7 @@ export interface ScaleThreshold { * * @param range Array of range values. */ - range(range: Range[]): this; + range(range: Range[] | ReadonlyArray): this; /** * Returns an exact copy of this scale. Changes to this scale will not affect the returned scale, and vice versa. @@ -1463,7 +1398,7 @@ export interface ScaleOrdinal { * * @param domain Array of domain values. */ - domain(domain: Domain[]): this; + domain(domain: Domain[] | ReadonlyArray): this; /** * Returns the scale's current range. @@ -1478,7 +1413,7 @@ export interface ScaleOrdinal { * * @param range Array of range values. */ - range(range: Range[]): this; + range(range: Range[] | ReadonlyArray): this; /** * Returns the current unknown value, which defaults to "implicit". @@ -1509,7 +1444,7 @@ export interface ScaleOrdinal { * * @parm range An optional array of range values to initialize the scale with. */ -export function scaleOrdinal(range?: Range[]): ScaleOrdinal; +export function scaleOrdinal(range?: Range[] | ReadonlyArray): ScaleOrdinal; /** * Constructs a new ordinal scale with an empty domain and the specified range. * If a range is not specified, it defaults to the empty array; an ordinal scale always returns undefined until a non-empty range is defined. @@ -1522,7 +1457,7 @@ export function scaleOrdinal(range?: Range[]): ScaleOrdinal(range?: Range[]): ScaleOrdinal; +export function scaleOrdinal(range?: Range[] | ReadonlyArray): ScaleOrdinal; /** * A special value for ordinal.unknown that enables implicit domain construction: unknown values are implicitly added to the domain. @@ -1561,7 +1496,7 @@ export interface ScaleBand { * * @param domain Array of domain values. */ - domain(domain: Domain[]): this; + domain(domain: Domain[] | ReadonlyArray): this; /** * Returns the scale’s current range, which defaults to [0, 1]. @@ -1713,7 +1648,7 @@ export interface ScalePoint { * * @param domain Array of domain values. */ - domain(domain: Domain[]): this; + domain(domain: Domain[] | ReadonlyArray): this; /** * Returns the scale’s current range, which defaults to [0, 1]. @@ -1813,28 +1748,3 @@ export function scalePoint(): ScalePoint; * The generic corresponds to the data type of domain elements. */ export function scalePoint(): ScalePoint; - -// ------------------------------------------------------------------------------- -// Categorical Color Schemas for Ordinal Scales -// ------------------------------------------------------------------------------- - -/** - * An array of ten categorical colors represented as RGB hexadecimal strings. - */ -export const schemeCategory10: string[]; - -/** - * An array of twenty categorical colors represented as RGB hexadecimal strings. - */ -export const schemeCategory20: string[]; - -/** - * An array of twenty categorical colors represented as RGB hexadecimal strings. - */ -export const schemeCategory20b: string[]; - -/** - * An array of twenty categorical colors represented as RGB hexadecimal strings. - * This color scale includes color specifications and designs developed by Cynthia Brewer (colorbrewer2.org). - */ -export const schemeCategory20c: string[]; diff --git a/types/d3-scale/v1/d3-scale-tests.ts b/types/d3-scale/v1/d3-scale-tests.ts new file mode 100644 index 0000000000..749b45894b --- /dev/null +++ b/types/d3-scale/v1/d3-scale-tests.ts @@ -0,0 +1,970 @@ +/** + * Typescript definition tests for d3/d3-scale module + * + * Note: These tests are intended to test the definitions only + * in the sense of typing and call signature consistency. They + * are not intended as functional tests. + */ + +import * as d3Scale from 'd3-scale'; +import { interpolateCubehelix } from 'd3-interpolate'; +import { timeHour } from 'd3-time'; +import { schemePuRd } from 'd3-scale-chromatic'; + +// ------------------------------------------------------------------------------- +// Preparatory Steps +// ------------------------------------------------------------------------------- + +class NumCoercible { + a: number; + + constructor(a: number) { + this.a = a; + } + valueOf() { + return this.a; + } +} + +class StringCoercible { + txt: string; + + constructor(txt: string) { + this.txt = txt; + } + toString() { + return this.txt; + } +} + +let num: number; +let date: Date; + +let clampFlag: boolean; + +let outputNumber: number; +let outputString: string; + +let domainNumbers: number[] = [1, 100]; +const domainNumeric: NumCoercible[] = [new NumCoercible(0), new NumCoercible(100)]; +let domainStrings: string[]; +let domainDates: Date[] = [new Date(2016, 0, 15), new Date(2016, 5, 15)]; + +let ticksNumbers: number[]; +let ticksDates: Date[]; + +let tickFormatNumberFn: ((d: number | { valueOf(): number }) => string); +let tickFormatDateFn: ((d: Date) => string); + +let rangeNumbers: number[] = [2, 200]; +let rangeStrings: string[] = ['2px', '200px']; + +let numExtent: [number, number]; +let numOrUndefinedExtent: [number | undefined, number | undefined]; + +let outputNumberMaybe: number | undefined; +// ------------------------------------------------------------------------------- +// Linear Scale Factory +// ------------------------------------------------------------------------------- + +// scaleLinear() ----------------------------------------------------------------- + +let linearScaleNumber: d3Scale.ScaleLinear; +let linearScaleString: d3Scale.ScaleLinear; +let linearScaleNumString: d3Scale.ScaleLinear; + +linearScaleNumber = d3Scale.scaleLinear(); +linearScaleString = d3Scale.scaleLinear(); +linearScaleNumString = d3Scale.scaleLinear(); + +// ScaleLinear Interface ======================================================== + +// domain(...) ----------------------------------------------------------------- + +linearScaleNumber = linearScaleNumber.domain(domainNumeric); +linearScaleNumber = linearScaleNumber.domain(domainNumbers); +domainNumbers = linearScaleNumber.domain(); + +linearScaleString = linearScaleString.domain(domainNumeric); +linearScaleString = linearScaleString.domain([10, 100]); +domainNumbers = linearScaleString.domain(); + +linearScaleNumString = linearScaleNumString.domain(domainNumeric); +linearScaleNumString = linearScaleNumString.domain(domainNumbers); +domainNumbers = linearScaleNumString.domain(); + +// range(...) ----------------------------------------------------------------- + +linearScaleNumber = linearScaleNumber.range(rangeNumbers); +rangeNumbers = linearScaleNumber.range(); + +linearScaleString = linearScaleString.range(['steelblue', 'brown']); +rangeStrings = linearScaleString.range(); + +linearScaleNumString = linearScaleNumString.range(rangeNumbers); +rangeNumbers = linearScaleNumString.range(); + +// invert(...) ----------------------------------------------------------------- + +num = linearScaleNumber.invert(500); // has number range, so inversion is possible +num = linearScaleNumber.invert(new NumCoercible(500)); // has number range, so inversion is possible + +num = linearScaleNumString.invert(500); // has number range, so inversion is possible +num = linearScaleNumString.invert(new NumCoercible(500)); // has number range, so inversion is possible + +// rangeRound(...) ----------------------------------------------------------------- + +linearScaleNumber = linearScaleNumber.rangeRound(rangeNumbers); + +// clamp(...) ----------------------------------------------------------------- + +linearScaleNumber = linearScaleNumber.clamp(true); +clampFlag = linearScaleNumber.clamp(); + +// interpolate(...) ----------------------------------------------------------------- + +linearScaleString = linearScaleString.interpolate(interpolateCubehelix.gamma(3)); + +linearScaleNumString = linearScaleNumString.interpolate((a, b) => { + // take two numbers + return (t: number) => (a * (1 - t) + b * t) + 'px'; // a and b are numbers based on Range Type, return value of interpolator is string based on Output type +}); + +// Changes scale output type (inferred generic) +linearScaleNumString = linearScaleNumber.interpolate((a, b) => { + // take two numbers + return (t: number) => (a * (1 - t) + b * t) + 'px'; // a and b are numbers based on Range Type, return value of interpolator is string based on Output type +}); + +// nice(...) ----------------------------------------------------------------------- + +// chainable +linearScaleNumber = linearScaleNumber.nice(); +linearScaleNumber = linearScaleNumber.nice(5); + +// ticks(...) ----------------------------------------------------------------- + +ticksNumbers = linearScaleNumber.ticks(); +ticksNumbers = linearScaleNumber.ticks(5); + +// tickFormat(...) ----------------------------------------------------------------- + +tickFormatNumberFn = linearScaleNumber.tickFormat(); +tickFormatNumberFn = linearScaleNumber.tickFormat(5); +tickFormatNumberFn = linearScaleNumber.tickFormat(5, '+%'); + +// (...) value mapping from domain to output ----------------------------------- + +outputNumber = linearScaleNumber(10); + +outputString = linearScaleString(10); + +outputString = linearScaleNumString(10); + +// copy(...) ----------------------------------------------------------------- + +const copiedLinearScale: d3Scale.ScaleLinear = linearScaleNumString.copy(); + +// ------------------------------------------------------------------------------- +// Power Scale Factories +// ------------------------------------------------------------------------------- + +// scalePow() and scaleSqrt() ---------------------------------------------------- + +let powerScaleNumber: d3Scale.ScalePower; +let powerScaleString: d3Scale.ScalePower; +let powerScaleNumString: d3Scale.ScalePower; + +powerScaleNumber = d3Scale.scalePow(); +powerScaleString = d3Scale.scalePow(); +powerScaleNumString = d3Scale.scalePow(); + +let squarerootScaleNumber: d3Scale.ScalePower; +let squarerootScaleString: d3Scale.ScalePower; +let squarerootScaleNumString: d3Scale.ScalePower; + +squarerootScaleNumber = d3Scale.scaleSqrt(); +squarerootScaleString = d3Scale.scaleSqrt(); +squarerootScaleNumString = d3Scale.scaleSqrt(); + +// ScalePower Interface ======================================================== + +// exponent -------------------------------------------------------------------- + +const exponent: number = squarerootScaleNumber.exponent(); + +powerScaleNumber = powerScaleNumber.exponent(5); + +// domain(...) ----------------------------------------------------------------- + +powerScaleNumber = powerScaleNumber.domain(domainNumeric); +powerScaleNumber = powerScaleNumber.domain(domainNumbers); +domainNumbers = powerScaleNumber.domain(); + +powerScaleString = powerScaleString.domain(domainNumeric); +powerScaleString = powerScaleString.domain([10, 100]); +domainNumbers = powerScaleString.domain(); + +powerScaleNumString = powerScaleNumString.domain(domainNumeric); +powerScaleNumString = powerScaleNumString.domain(domainNumbers); +domainNumbers = powerScaleNumString.domain(); + +// range(...) ----------------------------------------------------------------- + +powerScaleNumber = powerScaleNumber.range(rangeNumbers); +rangeNumbers = powerScaleNumber.range(); + +powerScaleString = powerScaleString.range(['steelblue', 'brown']); +rangeStrings = powerScaleString.range(); + +powerScaleNumString = powerScaleNumString.range(rangeNumbers); +rangeNumbers = powerScaleNumString.range(); + +// invert(...) ----------------------------------------------------------------- + +num = powerScaleNumber.invert(500); // has number range, so inversion is possible +num = powerScaleNumber.invert(new NumCoercible(500)); // has number range, so inversion is possible + +num = powerScaleNumString.invert(500); // has number range, so inversion is possible +num = powerScaleNumString.invert(new NumCoercible(500)); // has number range, so inversion is possible + +// rangeRound(...) ----------------------------------------------------------------- + +powerScaleNumber = powerScaleNumber.rangeRound(rangeNumbers); + +// clamp(...) ----------------------------------------------------------------- + +powerScaleNumber = powerScaleNumber.clamp(true); +clampFlag = powerScaleNumber.clamp(); + +// interpolate(...) ----------------------------------------------------------------- + +powerScaleString = powerScaleString.interpolate(interpolateCubehelix.gamma(3)); + +powerScaleNumString = powerScaleNumString.interpolate((a, b) => { + // take two numbers + return (t: number) => (a * (1 - t) + b * t) + 'px'; // a and b are numbers based on Range Type, return value of interpolator is string based on Output type +}); + +// nice(...) ----------------------------------------------------------------------- + +// chainable +powerScaleNumber = powerScaleNumber.nice(); +powerScaleNumber = powerScaleNumber.nice(5); + +// ticks(...) ----------------------------------------------------------------- + +ticksNumbers = powerScaleNumber.ticks(); +ticksNumbers = powerScaleNumber.ticks(5); + +// tickFormat(...) ----------------------------------------------------------------- + +tickFormatNumberFn = powerScaleNumber.tickFormat(); +tickFormatNumberFn = powerScaleNumber.tickFormat(5); +tickFormatNumberFn = powerScaleNumber.tickFormat(5, '+%'); + +// (...) value mapping from domain to output ----------------------------------- + +outputNumber = powerScaleNumber(10); + +outputString = powerScaleString(10); + +outputString = powerScaleNumString(10); + +// copy(...) ----------------------------------------------------------------- + +const copiedPowerScale: d3Scale.ScalePower = powerScaleNumString.copy(); + +// ------------------------------------------------------------------------------- +// Logarithmic Scale Factory +// ------------------------------------------------------------------------------- + +// scaleLog() --------------------------------------------------------------------- + +let logScaleNumber: d3Scale.ScaleLogarithmic; +let logScaleString: d3Scale.ScaleLogarithmic; +let logScaleNumString: d3Scale.ScaleLogarithmic; + +logScaleNumber = d3Scale.scaleLog(); +logScaleString = d3Scale.scaleLog(); +logScaleNumString = d3Scale.scaleLog(); + +// ScaleLogarithmic Interface ======================================================== + +// base -------------------------------------------------------------------- + +const base: number = logScaleNumber.base(); + +logScaleNumber = logScaleNumber.base(42); + +// domain(...) ----------------------------------------------------------------- + +logScaleNumber = logScaleNumber.domain(domainNumeric); +logScaleNumber = logScaleNumber.domain(domainNumbers); +domainNumbers = logScaleNumber.domain(); + +logScaleString = logScaleString.domain(domainNumeric); +logScaleString = logScaleString.domain([10, 100]); +domainNumbers = logScaleString.domain(); + +logScaleNumString = logScaleNumString.domain(domainNumeric); +logScaleNumString = logScaleNumString.domain(domainNumbers); +domainNumbers = logScaleNumString.domain(); + +// range(...) ----------------------------------------------------------------- + +logScaleNumber = logScaleNumber.range(rangeNumbers); +rangeNumbers = logScaleNumber.range(); + +logScaleString = logScaleString.range(['steelblue', 'brown']); +rangeStrings = logScaleString.range(); + +logScaleNumString = logScaleNumString.range(rangeNumbers); +rangeNumbers = logScaleNumString.range(); + +// invert(...) ----------------------------------------------------------------- + +num = logScaleNumber.invert(500); // has number range, so inversion is possible +num = logScaleNumber.invert(new NumCoercible(500)); // has number range, so inversion is possible + +num = logScaleNumString.invert(500); // has number range, so inversion is possible +num = logScaleNumString.invert(new NumCoercible(500)); // has number range, so inversion is possible + +// rangeRound(...) ----------------------------------------------------------------- + +logScaleNumber = logScaleNumber.rangeRound(rangeNumbers); + +// clamp(...) ----------------------------------------------------------------- + +logScaleNumber = logScaleNumber.clamp(true); +clampFlag = logScaleNumber.clamp(); + +// interpolate(...) ----------------------------------------------------------------- + +logScaleString = logScaleString.interpolate(interpolateCubehelix.gamma(3)); + +logScaleNumString = logScaleNumString.interpolate((a, b) => { + // take two numbers + return (t: number) => (a * (1 - t) + b * t) + 'px'; // a and b are numbers based on Range Type, return value of interpolator is string based on Output type +}); + +// nice(...) ----------------------------------------------------------------------- + +// chainable +logScaleNumber = logScaleNumber.nice(); +// logScaleNumber = logScaleNumber.nice(5); // fails, logarithmic scale does not support count parameter. + +// ticks(...) ----------------------------------------------------------------- + +ticksNumbers = logScaleNumber.ticks(); +ticksNumbers = logScaleNumber.ticks(5); + +// tickFormat(...) ----------------------------------------------------------------- + +tickFormatNumberFn = logScaleNumber.tickFormat(); +tickFormatNumberFn = logScaleNumber.tickFormat(5); +tickFormatNumberFn = logScaleNumber.tickFormat(5, '+%'); + +// (...) value mapping from domain to output ----------------------------------- + +outputNumber = logScaleNumber(10); + +outputString = logScaleString(10); + +outputString = logScaleNumString(10); + +// copy(...) ----------------------------------------------------------------- + +const copiedLogScale: d3Scale.ScaleLogarithmic = logScaleNumString.copy(); + +// ------------------------------------------------------------------------------- +// Identity Scale Factory +// ------------------------------------------------------------------------------- + +// scaleIdentity ----------------------------------------------------------------- + +let identityScale: d3Scale.ScaleIdentity; + +identityScale = d3Scale.scaleIdentity(); + +// ScaleIdentity Interface ======================================================== + +// domain(...) ----------------------------------------------------------------- + +identityScale = identityScale.domain(domainNumeric); +identityScale = identityScale.domain(domainNumbers); +domainNumbers = identityScale.domain(); + +// range(...) ----------------------------------------------------------------- + +identityScale = identityScale.range(rangeNumbers); +rangeNumbers = identityScale.range(); + +// invert(...) ----------------------------------------------------------------- + +num = identityScale.invert(500); // has number range, so inversion is possible +num = identityScale.invert(new NumCoercible(500)); // has number range, so inversion is possible + +// nice(...) ----------------------------------------------------------------------- + +// chainable +identityScale = identityScale.nice(); +identityScale = identityScale.nice(5); + +// ticks(...) ----------------------------------------------------------------- + +ticksNumbers = identityScale.ticks(); +ticksNumbers = identityScale.ticks(5); + +// tickFormat(...) ----------------------------------------------------------------- + +tickFormatNumberFn = identityScale.tickFormat(); +tickFormatNumberFn = identityScale.tickFormat(5); +tickFormatNumberFn = identityScale.tickFormat(5, '+%'); + +// (...) value mapping from domain to output ----------------------------------- + +outputNumber = identityScale(10); + +// copy(...) ----------------------------------------------------------------- + +const copiedIdentityScale: d3Scale.ScaleIdentity = identityScale.copy(); + +// ------------------------------------------------------------------------------- +// Time Scale Factories +// ------------------------------------------------------------------------------- + +// scaleTime() and scaleUtc() ---------------------------------------------------- + +let localTimeScaleNumber: d3Scale.ScaleTime; +let localTimeScaleString: d3Scale.ScaleTime; +let localTimeScaleNumString: d3Scale.ScaleTime; + +localTimeScaleNumber = d3Scale.scaleTime(); +localTimeScaleString = d3Scale.scaleTime(); +localTimeScaleNumString = d3Scale.scaleTime(); + +let utcScaleNumber: d3Scale.ScaleTime; +let utcScaleString: d3Scale.ScaleTime; +let utcScaleNumString: d3Scale.ScaleTime; + +utcScaleNumber = d3Scale.scaleUtc(); +utcScaleString = d3Scale.scaleUtc(); +utcScaleNumString = d3Scale.scaleUtc(); + +// domain(...) ----------------------------------------------------------------- + +localTimeScaleNumber = localTimeScaleNumber.domain(domainDates); + +domainDates = localTimeScaleNumber.domain(); + +localTimeScaleString = localTimeScaleString.domain([new Date(2016, 6, 1), Date.now()]); +domainDates = localTimeScaleString.domain(); + +localTimeScaleNumString = localTimeScaleNumString.domain(domainDates); +domainDates = localTimeScaleNumString.domain(); + +// range(...) ----------------------------------------------------------------- + +localTimeScaleNumber = localTimeScaleNumber.range(rangeNumbers); +rangeNumbers = localTimeScaleNumber.range(); + +localTimeScaleString = localTimeScaleString.range(['steelblue', 'brown']); +rangeStrings = localTimeScaleString.range(); + +localTimeScaleNumString = localTimeScaleNumString.range(rangeNumbers); +rangeNumbers = localTimeScaleNumString.range(); + +// invert(...) ----------------------------------------------------------------- + +date = localTimeScaleNumber.invert(500); // has number range, so inversion is possible +date = localTimeScaleNumber.invert(new NumCoercible(500)); // has number range, so inversion is possible + +date = localTimeScaleNumString.invert(500); // has number range, so inversion is possible +date = localTimeScaleNumString.invert(new NumCoercible(500)); // has number range, so inversion is possible + +// rangeRound(...) ----------------------------------------------------------------- + +localTimeScaleNumber = localTimeScaleNumber.rangeRound(rangeNumbers); + +// clamp(...) ----------------------------------------------------------------- + +localTimeScaleNumber = localTimeScaleNumber.clamp(true); +clampFlag = localTimeScaleNumber.clamp(); + +// interpolate(...) ----------------------------------------------------------------- + +localTimeScaleString = localTimeScaleString.interpolate(interpolateCubehelix.gamma(3)); + +localTimeScaleNumString = localTimeScaleNumString.interpolate((a, b) => { + // take two numbers + return (t: number) => (a * (1 - t) + b * t) + 'px'; // a and b are numbers based on Range Type, return value of interpolator is string based on Output type +}); + +// nice(...) ----------------------------------------------------------------------- + +// chainable +localTimeScaleNumber = localTimeScaleNumber.nice(); +localTimeScaleNumber = localTimeScaleNumber.nice(5); +localTimeScaleNumber = localTimeScaleNumber.nice(timeHour); +localTimeScaleNumber = localTimeScaleNumber.nice(timeHour, 5); + +// localTimeScaleNumber = localTimeScaleNumber.nice(timeHour.every(5)); // fails, requires CountableTimeInterval + +// ticks(...) ----------------------------------------------------------------- + +const timeInterval = timeHour.every(5); + +ticksDates = localTimeScaleNumber.ticks(); +ticksDates = localTimeScaleNumber.ticks(50); + +if (timeInterval !== null) { + ticksDates = localTimeScaleNumString.ticks(timeInterval); +} + +// tickFormat(...) ----------------------------------------------------------------- + +tickFormatDateFn = localTimeScaleNumber.tickFormat(); +tickFormatDateFn = localTimeScaleNumber.tickFormat(50, '%I %p'); +if (timeInterval !== null) { + tickFormatDateFn = localTimeScaleNumber.tickFormat(timeInterval, '%I %p'); +} + +// (...) value mapping from domain to output ----------------------------------- + +outputNumber = localTimeScaleNumber(new Date(2016, 6, 4)); + +outputString = localTimeScaleString(new Date(2016, 6, 4)); + +outputString = localTimeScaleNumString(new Date(2016, 6, 4)); + +// copy(...) ----------------------------------------------------------------- + +const copiedTimeScale: d3Scale.ScaleTime = localTimeScaleNumString.copy(); + +// ------------------------------------------------------------------------------- +// Sequential Scale Factory +// ------------------------------------------------------------------------------- + +// scaleSequential() ----------------------------------------------------------------- + +let sequentialScaleColorString: d3Scale.ScaleSequential; + +sequentialScaleColorString = d3Scale.scaleSequential(d3Scale.interpolateRainbow); +sequentialScaleColorString = d3Scale.scaleSequential(d3Scale.interpolateCool); // inferred Output type string + +// ScaleSequential Interface ======================================================== + +// domain(...) ----------------------------------------------------------------- + +sequentialScaleColorString = sequentialScaleColorString.domain([0, 1]); +sequentialScaleColorString = sequentialScaleColorString.domain([new NumCoercible(0), new NumCoercible(100)]); +const domainSequential: [number, number] = sequentialScaleColorString.domain(); + +// clamp(...) ----------------------------------------------------------------- + +sequentialScaleColorString = sequentialScaleColorString.clamp(true); +clampFlag = sequentialScaleColorString.clamp(); + +// interpolate(...) ----------------------------------------------------------------- + +sequentialScaleColorString = sequentialScaleColorString.interpolator(d3Scale.interpolateInferno); + +let sequentialInterpolator: (t: number) => string; +sequentialInterpolator = sequentialScaleColorString.interpolator(); + +// (...) value mapping from domain to output ----------------------------------- + +outputString = sequentialScaleColorString(10); + +// copy(...) ----------------------------------------------------------------- + +const copiedSequentialScale: d3Scale.ScaleSequential = sequentialScaleColorString.copy(); + +// ------------------------------------------------------------------------------- +// Color Interpolators for Sequential Scale Factory +// ------------------------------------------------------------------------------- + +let colorInterpolator: ((t: number) => string); + +colorInterpolator = d3Scale.interpolateViridis; + +colorInterpolator = d3Scale.interpolateMagma; + +colorInterpolator = d3Scale.interpolateInferno; + +colorInterpolator = d3Scale.interpolatePlasma; + +colorInterpolator = d3Scale.interpolateRainbow; + +colorInterpolator = d3Scale.interpolateWarm; + +colorInterpolator = d3Scale.interpolateCool; + +colorInterpolator = d3Scale.interpolateCubehelixDefault; + +// ------------------------------------------------------------------------------- +// Quantize Scale Factory +// ------------------------------------------------------------------------------- + +// scaleQuantize() ----------------------------------------------------------------- + +let quantizeScaleNumber: d3Scale.ScaleQuantize; +let quantizeScaleString: d3Scale.ScaleQuantize; + +quantizeScaleNumber = d3Scale.scaleQuantize(); +quantizeScaleString = d3Scale.scaleQuantize(); + +// ScaleQuantize Interface ======================================================== + +// domain(...) ----------------------------------------------------------------- + +quantizeScaleNumber = quantizeScaleNumber.domain([0, 1]); +quantizeScaleNumber = quantizeScaleNumber.domain([new NumCoercible(0), new NumCoercible(100)]); +const domainQuantize: [number, number] = quantizeScaleNumber.domain(); + +// range(...) ----------------------------------------------------------------- + +quantizeScaleNumber = quantizeScaleNumber.range(rangeNumbers); +rangeNumbers = quantizeScaleNumber.range(); + +quantizeScaleString = quantizeScaleString.range(['steelblue', 'brown']); +rangeStrings = quantizeScaleString.range(); + +// invertExtent(...) ----------------------------------------------------------------- + +numExtent = quantizeScaleNumber.invertExtent(500); + +numExtent = quantizeScaleString.invertExtent('steelblue'); + +// nice(...) ----------------------------------------------------------------------- + +// chainable +quantizeScaleNumber = quantizeScaleNumber.nice(); +quantizeScaleNumber = quantizeScaleNumber.nice(5); + +// ticks(...) ----------------------------------------------------------------- + +ticksNumbers = quantizeScaleNumber.ticks(); +ticksNumbers = quantizeScaleNumber.ticks(5); + +// tickFormat(...) ----------------------------------------------------------------- + +tickFormatNumberFn = quantizeScaleNumber.tickFormat(); +tickFormatNumberFn = quantizeScaleNumber.tickFormat(5); +tickFormatNumberFn = quantizeScaleNumber.tickFormat(5, '+%'); + +// (...) value mapping from domain to output ----------------------------------- + +outputNumber = quantizeScaleNumber(0.51); + +// copy(...) ----------------------------------------------------------------- + +const copiedQuantizeScale: d3Scale.ScaleQuantize = quantizeScaleNumber.copy(); + +// ------------------------------------------------------------------------------- +// Quantile Scale Factory +// ------------------------------------------------------------------------------- + +// scaleQuantile() ----------------------------------------------------------------- + +let quantileScaleNumber: d3Scale.ScaleQuantile; +let quantileScaleString: d3Scale.ScaleQuantile; + +quantileScaleNumber = d3Scale.scaleQuantile(); +quantileScaleString = d3Scale.scaleQuantile(); + +// ScaleQuantile Interface ======================================================== + +// domain(...) ----------------------------------------------------------------- + +quantileScaleNumber = quantileScaleNumber.domain(domainNumbers); + +domainNumbers = quantileScaleNumber.domain(); + +quantileScaleString = quantileScaleString.domain(domainNumeric); + +// range(...) ----------------------------------------------------------------- + +quantileScaleNumber = quantileScaleNumber.range([1, 2, 3, 4]); +rangeNumbers = quantileScaleNumber.range(); + +quantileScaleString = quantileScaleString.range(['q25', 'q50', 'q75']); +rangeStrings = quantileScaleString.range(); + +// invertExtent(...) ----------------------------------------------------------------- + +numExtent = quantileScaleNumber.invertExtent(2); + +numExtent = quantileScaleString.invertExtent('q50'); + +// quantile() ----------------------------------------------------------------------- + +const quantiles: number[] = quantileScaleNumber.quantiles(); + +// (...) value mapping from domain to output ----------------------------------- + +outputNumber = quantileScaleNumber(0.51); + +// copy(...) ----------------------------------------------------------------- + +const copiedQuantileScale: d3Scale.ScaleQuantile = quantileScaleNumber.copy(); + +// ------------------------------------------------------------------------------- +// Threshold Scale Factory +// ------------------------------------------------------------------------------- + +// scaleThreshold() ----------------------------------------------------------------- + +let thresholdScaleNumberNumber: d3Scale.ScaleThreshold; +let thresholdScaleNumberString: d3Scale.ScaleThreshold; + +thresholdScaleNumberNumber = d3Scale.scaleThreshold(); +thresholdScaleNumberString = d3Scale.scaleThreshold(); + +// ScaleThreshold Interface ======================================================== + +// domain(...) ----------------------------------------------------------------- + +thresholdScaleNumberNumber = thresholdScaleNumberNumber.domain([0.5]); +domainNumbers = thresholdScaleNumberNumber.domain(); + +thresholdScaleNumberString = thresholdScaleNumberString.domain([0.2, 0.8]); + +// range(...) ----------------------------------------------------------------- + +thresholdScaleNumberNumber = thresholdScaleNumberNumber.range([100, 200]); +rangeNumbers = thresholdScaleNumberNumber.range(); + +thresholdScaleNumberString = thresholdScaleNumberString.range(['steelblue', 'seagreen', 'brown']); +rangeStrings = thresholdScaleNumberString.range(); + +// invertExtent(...) ----------------------------------------------------------------- + +numOrUndefinedExtent = thresholdScaleNumberNumber.invertExtent(100); + +numOrUndefinedExtent = thresholdScaleNumberString.invertExtent('seagreen'); + +// (...) value mapping from domain to output ----------------------------------- + +outputNumber = thresholdScaleNumberNumber(0.51); + +outputString = thresholdScaleNumberString(0.9); + +// copy(...) ----------------------------------------------------------------- + +const copiedThresholdScale: d3Scale.ScaleThreshold = thresholdScaleNumberString.copy(); + +// ------------------------------------------------------------------------------- +// Ordinal Scale Factory +// ------------------------------------------------------------------------------- + +// scaleOrdinal() ----------------------------------------------------------------- + +let ordinalScaleStringString: d3Scale.ScaleOrdinal; +let ordinalScaleStringNumber: d3Scale.ScaleOrdinal; + +ordinalScaleStringString = d3Scale.scaleOrdinal(); +ordinalScaleStringString = d3Scale.scaleOrdinal(schemePuRd[3]); +ordinalScaleStringNumber = d3Scale.scaleOrdinal(); +ordinalScaleStringString = d3Scale.scaleOrdinal(schemePuRd[3]); + +// ScaleOrdinal Interface ======================================================== + +// domain(...) ----------------------------------------------------------------- + +ordinalScaleStringString = ordinalScaleStringString.domain(['negative', 'neutral', 'positive']); +domainStrings = ordinalScaleStringString.domain(); + +ordinalScaleStringNumber = ordinalScaleStringNumber.domain(['negative', 'neutral', 'positive']); + +// range(...) ----------------------------------------------------------------- + +ordinalScaleStringString = ordinalScaleStringString.range(['crimson', 'midnightblue', 'seagreen']); +ordinalScaleStringString = ordinalScaleStringString.range(schemePuRd[3]); +rangeStrings = ordinalScaleStringString.range(); + +ordinalScaleStringNumber = ordinalScaleStringNumber.range([-1, 0, 1]); +rangeNumbers = ordinalScaleStringNumber.range(); + +// unknown(...) and d3Scale.scaleImplicit -------------------------------------- + +const implicit: { name: 'implicit' } = d3Scale.scaleImplicit; + +ordinalScaleStringString = ordinalScaleStringString.unknown(d3Scale.scaleImplicit); + +ordinalScaleStringNumber = ordinalScaleStringNumber.unknown(0); + +const unknownValue: string | { name: 'implicit' } = ordinalScaleStringString.unknown(); + +if (typeof unknownValue === 'string') { + console.log(unknownValue); +} else { + console.log(unknownValue.name); +} + +// (...) value mapping from domain to output ----------------------------------- + +outputString = ordinalScaleStringString('neutral'); + +outputNumber = ordinalScaleStringNumber('negative'); + +// copy(...) ----------------------------------------------------------------- + +const copiedOrdinalScale: d3Scale.ScaleOrdinal = ordinalScaleStringNumber.copy(); + +// ------------------------------------------------------------------------------- +// Band Scale Factory +// ------------------------------------------------------------------------------- + +// scaleBand() ----------------------------------------------------------------- + +let bandScaleString: d3Scale.ScaleBand; +let bandScaleCoercible: d3Scale.ScaleBand; + +bandScaleString = d3Scale.scaleBand(); +bandScaleCoercible = d3Scale.scaleBand(); + +// ScaleBand Interface ======================================================== + +// domain(...) ----------------------------------------------------------------- + +bandScaleString = bandScaleString.domain(['negative', 'neutral', 'positive']); +domainStrings = bandScaleString.domain(); + +bandScaleCoercible = bandScaleCoercible.domain([new StringCoercible('negative'), new StringCoercible('neutral'), new StringCoercible('positive')]); + +// range(...) ----------------------------------------------------------------- + +bandScaleString = bandScaleString.range([0, 300]); +let rangeExtent: [number, number] = bandScaleString.range(); + +bandScaleCoercible = bandScaleCoercible.range([0, 300]); +rangeExtent = bandScaleCoercible.range(); + +// rangeRound(...) ----------------------------------------------------------------- + +bandScaleString = bandScaleString.rangeRound([0, 300]); + +// round(...) ----------------------------------------------------------------- + +bandScaleCoercible = bandScaleCoercible.round(true); +let roundingFlag: boolean = bandScaleCoercible.round(); + +// paddingInner(...) ----------------------------------------------------------------- + +bandScaleString = bandScaleString.paddingInner(0.1); +num = bandScaleString.paddingInner(); + +// paddingOuter(...) ----------------------------------------------------------------- + +bandScaleString = bandScaleString.paddingOuter(0.1); +num = bandScaleString.paddingOuter(); + +// padding(...) ----------------------------------------------------------------- + +bandScaleString = bandScaleString.padding(0.1); +num = bandScaleString.padding(); + +// align(...) ----------------------------------------------------------------- + +bandScaleString = bandScaleString.align(0.5); +num = bandScaleString.align(); + +// bandwidth(...) ----------------------------------------------------------------- + +num = bandScaleString.bandwidth(); + +// step(...) ----------------------------------------------------------------- + +num = bandScaleString.step(); + +// (...) value mapping from domain to output ----------------------------------- + +outputNumberMaybe = bandScaleString('neutral'); + +outputNumberMaybe = bandScaleCoercible(new StringCoercible('negative')); + +// copy(...) ----------------------------------------------------------------- + +const copiedBandScale: d3Scale.ScaleBand = bandScaleCoercible.copy(); + +// ------------------------------------------------------------------------------- +// Point Scale Factory +// ------------------------------------------------------------------------------- + +// scalePoint() ----------------------------------------------------------------- + +let pointScaleString: d3Scale.ScalePoint; +let pointScaleCoercible: d3Scale.ScalePoint; + +pointScaleString = d3Scale.scalePoint(); +pointScaleCoercible = d3Scale.scalePoint(); + +// ScalePoint Interface ======================================================== + +// domain(...) ----------------------------------------------------------------- + +pointScaleString = pointScaleString.domain(['negative', 'neutral', 'positive']); +domainStrings = pointScaleString.domain(); + +pointScaleCoercible = pointScaleCoercible.domain([new StringCoercible('negative'), new StringCoercible('neutral'), new StringCoercible('positive')]); + +// range(...) ----------------------------------------------------------------- + +pointScaleString = pointScaleString.range([0, 300]); +rangeExtent = pointScaleString.range(); + +pointScaleCoercible = pointScaleCoercible.range([0, 300]); +rangeExtent = pointScaleCoercible.range(); + +// rangeRound(...) ----------------------------------------------------------------- + +pointScaleString = pointScaleString.rangeRound([0, 300]); + +// round(...) ----------------------------------------------------------------- + +pointScaleCoercible = pointScaleCoercible.round(true); +roundingFlag = pointScaleCoercible.round(); + +// padding(...) ----------------------------------------------------------------- + +pointScaleString = pointScaleString.padding(0.1); +num = pointScaleString.padding(); + +// align(...) ----------------------------------------------------------------- + +pointScaleString = pointScaleString.align(0.5); +num = pointScaleString.align(); + +// bandwidth(...) ----------------------------------------------------------------- + +num = pointScaleString.bandwidth(); + +// step(...) ----------------------------------------------------------------- + +num = pointScaleString.step(); + +// (...) value mapping from domain to output ----------------------------------- + +outputNumberMaybe = pointScaleString('neutral'); + +outputNumberMaybe = pointScaleCoercible(new StringCoercible('negative')); + +// copy(...) ----------------------------------------------------------------- + +const copiedPointScale: d3Scale.ScalePoint = pointScaleCoercible.copy(); + +// ------------------------------------------------------------------------------- +// Categorical Color Schemas for Ordinal Scales +// ------------------------------------------------------------------------------- + +let colorStrings: string[]; + +colorStrings = d3Scale.schemeCategory10; + +colorStrings = d3Scale.schemeCategory20; + +colorStrings = d3Scale.schemeCategory20b; + +colorStrings = d3Scale.schemeCategory20c; diff --git a/types/d3-scale/v1/index.d.ts b/types/d3-scale/v1/index.d.ts new file mode 100644 index 0000000000..4831974f16 --- /dev/null +++ b/types/d3-scale/v1/index.d.ts @@ -0,0 +1,1840 @@ +// Type definitions for D3JS d3-scale module 1.0 +// Project: https://github.com/d3/d3-scale/ +// Definitions by: Tom Wanzek , Alex Ford , Boris Yankov +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +// Last module patch version validated against: 1.0.7 + +import { CountableTimeInterval, TimeInterval } from 'd3-time'; + +// ------------------------------------------------------------------------------- +// Shared Types and Interfaces +// ------------------------------------------------------------------------------- + +/** + * An Interpolator factory returns an interpolator function. + * + * The first generic correponds to the data type of the interpolation boundaries. + * The second generic corresponds to the data type of the return type of the interpolator. + */ +export interface InterpolatorFactory { + /** + * Construct a new interpolator function, based on the provided interpolation boundaries. + * + * @param a Start boundary of the interpolation interval. + * @param b End boundary of the interpolation interval. + */ + (a: T, b: T): ((t: number) => U); +} + +/** + * A helper interface for a continuous scale defined over a numeric domain. + */ +export interface ScaleContinuousNumeric { + /** + * Given a value from the domain, returns the corresponding value from the range, subject to interpolation, if any. + * + * If the given value is outside the domain, and clamping is not enabled, the mapping may be extrapolated such that the returned value is outside the range. + * + * Note: The interpolation function applied by the scale may change the output type from the range type as part of the interpolation. + * + * @param value A numeric value from the domain. + */ + (value: number | { valueOf(): number }): Output; + + /** + * Given a value from the range, returns the corresponding value from the domain. Inversion is useful for interaction, + * say to determine the data value corresponding to the position of the mouse. + * + * If the given value is outside the range, and clamping is not enabled, the mapping may be extrapolated such that the returned value is outside the domain. + * + * IMPORTANT: This method is only supported if the range is numeric. If the range is not numeric, returns NaN. + * + * For a valid value y in the range, continuous(continuous.invert(y)) approximately equals y; + * similarly, for a valid value x in the domain, continuous.invert(continuous(x)) approximately equals x. + * The scale and its inverse may not be exact due to the limitations of floating point precision. + * + * @param value A numeric value from the range. + */ + invert(value: number | { valueOf(): number }): number; + + /** + * Returns a copy of the scale’s current domain. + */ + domain(): number[]; + /** + * Sets the scale’s domain to the specified array of numbers. The array must contain two or more elements. + * If the elements in the given array are not numbers, they will be coerced to numbers + * + * Although continuous scales typically have two values each in their domain and range, specifying more than two values produces a piecewise scale. + * + * Internally, a piecewise scale performs a binary search for the range interpolator corresponding to the given domain value. + * Thus, the domain must be in ascending or descending order. If the domain and range have different lengths N and M, only the first min(N,M) elements in each are observed. + * + * @param domain Array of numeric domain values. + */ + domain(domain: Array): this; + + /** + * Returns a copy of the scale’s current range. + */ + range(): Range[]; + /** + * Sets the scale’s range to the specified array of values. + * + * The array must contain two or more elements. Unlike the domain, elements in the given array need not be numbers; + * any value that is supported by the underlying interpolator will work, though note that numeric ranges are required for invert. + * + * @param range Array of range values. + */ + range(range: Range[] | ReadonlyArray): this; + + /** + * Sets the scale’s range to the specified array of values while also setting the scale’s interpolator to interpolateRound. + * + * The rounding interpolator is sometimes useful for avoiding antialiasing artifacts, + * though also consider the shape-rendering “crispEdges” styles. Note that this interpolator can only be used with numeric ranges. + * + * The array must contain two or more elements. Unlike the domain, elements in the given array need not be numbers; + * any value that is supported by the underlying interpolator will work, though note that numeric ranges are required for invert. + * + * @param range Array of range values. + */ + rangeRound(range: Array): this; + + /** + * Returns whether or not the scale currently clamps values to within the range. + */ + clamp(): boolean; + /** + * Enables or disables clamping, respectively. If clamping is disabled and the scale is passed a value outside the domain, + * the scale may return a value outside the range through extrapolation. + * + * If clamping is enabled, the return value of the scale is always within the scale’s range. Clamping similarly applies to the "invert" method. + * + * @param clamp A flag to enable (true) or disable (false) clamping. + */ + clamp(clamp: boolean): this; + + /** + * Returns approximately count representative values from the scale’s domain. + * + * If count is not specified, it defaults to 10. + * + * The returned tick values are uniformly spaced, have human-readable values (such as multiples of powers of 10), + * and are guaranteed to be within the extent of the domain. Ticks are often used to display reference lines, or tick marks, in conjunction with the visualized data. + * The specified count is only a hint; the scale may return more or fewer values depending on the domain. See also d3-array’s ticks. + * + * @param count Optional approximate number of ticks to be returned. If count is not specified, it defaults to 10. + */ + ticks(count?: number): number[]; + + /** + * Returns a number format function suitable for displaying a tick value, automatically computing the appropriate precision based on the fixed interval between tick values. + * The specified count should have the same value as the count that is used to generate the tick values. + * + * @param count Approximate number of ticks to be used when calculating precision for the number format function. + * @param specifier An optional valid format specifier string which allows a custom format where the precision of the format is automatically set by the scale as appropriate for the tick interval. + * If specifier uses the format type "s", the scale will return a SI-prefix format based on the largest value in the domain. + * If the specifier already specifies a precision, this method is equivalent to locale.format. + */ + tickFormat(count?: number, specifier?: string): ((d: number | { valueOf(): number }) => string); + + /** + * Extends the domain so that it starts and ends on nice round values. + * This method typically modifies the scale’s domain, and may only extend the bounds to the nearest round value. + * An optional tick count argument allows greater control over the step size used to extend the bounds, + * guaranteeing that the returned ticks will exactly cover the domain. + * Nicing is useful if the domain is computed from data, say using extent, and may be irregular. + * For example, for a domain of [0.201479…, 0.996679…], a nice domain might be [0.2, 1.0]. + * If the domain has more than two values, nicing the domain only affects the first and last value. + * + * Nicing a scale only modifies the current domain; it does not automatically nice domains that are subsequently set using continuous.domain. + * You must re-nice the scale after setting the new domain, if desired. + * + * @param count An optional number of ticks expected to be used. + */ + nice(count?: number): this; + + /** + * Returns an exact copy of this scale. Changes to this scale will not affect the returned scale, and vice versa. + */ + copy(): this; +} + +// ------------------------------------------------------------------------------- +// Linear Scale Factory +// ------------------------------------------------------------------------------- + +/** + * A linear continuous scale defined over a numeric domain. + * + * Continuous scales map a continuous, quantitative input domain to a continuous output range. + * Each range value y can be expressed as a function of the domain value x: y = mx + b. + * + * If the range is also numeric, the mapping may be inverted. + * + * Note that the data types of the range and output of the scale must be compatible with the interpolator applied by the scale. + * + * The first generic corresponds to the data type of the range elements. + * + * The second generic corresponds to the data type of the output elements generated by the scale. + * + * If range element and output element type differ, the interpolator factory used with the scale must match this behaviour and + * convert the interpolated range element to a corresponding output element. + */ +export interface ScaleLinear extends ScaleContinuousNumeric { + /** + * Returns the scale’s current interpolator factory, which defaults to interpolate. + */ + interpolate(): InterpolatorFactory; + + /** + * Sets the scale’s range interpolator factory. This interpolator factory is used to create interpolators for each adjacent pair of values from the range; + * these interpolators then map a normalized domain parameter t in [0, 1] to the corresponding value in the range. + * + * Note: the default interpolator may reuse return values. For example, if the range values are objects, then the value interpolator always returns the same object, modifying it in-place. + * If the scale is used to set an attribute or style, this is typically acceptable (and desirable for performance); + * however, if you need to store the scale’s return value, you must specify your own interpolator or make a copy as appropriate. + * + * As part of the interpolation process the interpotaled value from the range may be converted to a corresponding output value. + * + * @param interpolate An interpolation factory. The generics for Range and Output of the scale must correpond to the interpolation factory applied to the scale. + */ + interpolate(interpolate: InterpolatorFactory): this; + /** + * Sets the scale’s range interpolator factory. This interpolator factory is used to create interpolators for each adjacent pair of values from the range; + * these interpolators then map a normalized domain parameter t in [0, 1] to the corresponding value in the range. + * + * Note: the default interpolator may reuse return values. For example, if the range values are objects, then the value interpolator always returns the same object, modifying it in-place. + * If the scale is used to set an attribute or style, this is typically acceptable (and desirable for performance); + * however, if you need to store the scale’s return value, you must specify your own interpolator or make a copy as appropriate. + * + * As part of the interpolation process the interpotaled value from the range may be converted to a corresponding output value. + * + * The generic "NewOutput" can be used to change the scale to have a different output element type corresponding to the new interpolation factory. + * + * @param interpolate An interpolation factory. The generics for Range and Output of the scale must correpond to the interpolation factory applied to the scale. + */ + interpolate(interpolate: InterpolatorFactory): ScaleLinear; +} + +/** + * Constructs a new continuous linear scale with the unit domain [0, 1], the unit range [0, 1], the default interpolator and clamping disabled. + * + * The scale will have range and output of data type number. + */ +export function scaleLinear(): ScaleLinear; +/** + * Constructs a new continuous linear scale with the unit domain [0, 1], the default interpolator and clamping disabled. + * + * The generic correponds to the data type of the range and output elements to be used. + * + * As range type and output type are the same, the interpolator factory used with the scale must match this behaviour. + * The range must be set in accordance with the range element type. + * + * The interpolator factory may be set using the interpolate(...) method of the scale. + */ +export function scaleLinear(): ScaleLinear; +/** + * Constructs a new continuous linear scale with the unit domain [0, 1], the default interpolator and clamping disabled. + * + * The first generic corresponds to the data type of the range elements. + * The second generic corresponds to the data type of the output elements generated by the scale. + * + * If range element and output element type differ, the interpolator factory used with the scale must match this behaviour and + * convert the interpolated range element to a corresponding output element. + * + * The range must be set in accordance with the range element type. + * + * The interpolator factory may be set using the interpolate(...) method of the scale. + */ +export function scaleLinear(): ScaleLinear; + +// ------------------------------------------------------------------------------- +// Power Scale Factories +// ------------------------------------------------------------------------------- + +/** + * A continuous power scale defined over a numeric domain. + * + * Continuous scales map a continuous, quantitative input domain to a continuous output range. + * + * Each range value y can be expressed as a function of the domain value x: y = mx^k + b, where k is the exponent value. + * Power scales also support negative domain values, in which case the input value and the resulting output value are multiplied by -1. + * + * If the range is also numeric, the mapping may be inverted. + * + * Note that the data types of the range and output of the scale must be compatible with the interpolator applied by the scale. + * + * The first generic corresponds to the data type of the range elements. + * + * The second generic corresponds to the data type of the output elements generated by the scale. + * + * If range element and output element type differ, the interpolator factory used with the scale must match this behaviour and + * convert the interpolated range element to a corresponding output element. + */ +export interface ScalePower extends ScaleContinuousNumeric { + /** + * Returns the scale’s current interpolator factory, which defaults to interpolate. + */ + interpolate(): InterpolatorFactory; + + /** + * Sets the scale’s range interpolator factory. This interpolator factory is used to create interpolators for each adjacent pair of values from the range; + * these interpolators then map a normalized domain parameter t in [0, 1] to the corresponding value in the range. + * + * Note: the default interpolator may reuse return values. For example, if the range values are objects, then the value interpolator always returns the same object, modifying it in-place. + * If the scale is used to set an attribute or style, this is typically acceptable (and desirable for performance); + * however, if you need to store the scale’s return value, you must specify your own interpolator or make a copy as appropriate. + * + * As part of the interpolation process the interpotaled value from the range may be converted to a corresponding output value. + * + * @param interpolate An interpolation factory. The generics for Range and Output of the scale must correpond to the interpolation factory applied to the scale. + */ + interpolate(interpolate: InterpolatorFactory): this; + /** + * Sets the scale’s range interpolator factory. This interpolator factory is used to create interpolators for each adjacent pair of values from the range; + * these interpolators then map a normalized domain parameter t in [0, 1] to the corresponding value in the range. + * + * Note: the default interpolator may reuse return values. For example, if the range values are objects, then the value interpolator always returns the same object, modifying it in-place. + * If the scale is used to set an attribute or style, this is typically acceptable (and desirable for performance); + * however, if you need to store the scale’s return value, you must specify your own interpolator or make a copy as appropriate. + * + * As part of the interpolation process the interpotaled value from the range may be converted to a corresponding output value. + * + * The generic "NewOutput" can be used to change the scale to have a different output element type corresponding to the new interpolation factory. + * + * @param interpolate An interpolation factory. The generics for Range and Output of the scale must correpond to the interpolation factory applied to the scale. + */ + interpolate(interpolate: InterpolatorFactory): ScalePower; + + /** + * If exponent is not specified, returns the current exponent, which defaults to 1. + * (Note that this is effectively a linear scale until you set a different exponent.) + */ + exponent(): number; + /** + * Sets the current exponent to the given numeric value. + * (Note that this is effectively a linear scale until you set a different exponent.) + */ + exponent(exponent: number): this; +} + +/** + * Constructs a new continuous power scale with the unit domain [0, 1], the unit range [0, 1], the exponent 1, the default interpolator and clamping disabled. + * (Note that this is effectively a linear scale until you set a different exponent.) + * + * The scale will have range and output of data type number. + */ +export function scalePow(): ScalePower; +/** + * Constructs a new continuous power scale with the unit domain [0, 1], the exponent 1, the default interpolator and clamping disabled. + * (Note that this is effectively a linear scale until you set a different exponent.) + * + * The generic correponds to the data type of the range and output elements to be used. + * + * As range type and output type are the same, the interpolator factory used with the scale must match this behaviour. + * + * The range must be set in accordance with the range element type. + * + * The interpolator factory may be set using the interpolate(...) method of the scale. + */ +export function scalePow(): ScalePower; +/** + * Constructs a new continuous power scale with the unit domain [0, 1], the exponent 1, the default interpolator and clamping disabled. + * (Note that this is effectively a linear scale until you set a different exponent.) + * + * The first generic corresponds to the data type of the range elements. + * The second generic corresponds to the data type of the output elements generated by the scale. + * + * If range element and output element type differ, the interpolator factory used with the scale must match this behaviour and + * convert the interpolated range element to a corresponding output element. + * + * The range must be set in accordance with the range element type. + * + * The interpolator factory may be set using the interpolate(...) method of the scale. + */ +export function scalePow(): ScalePower; + +/** + * Constructs a new continuous power scale with the unit domain [0, 1], the unit range [0, 1], the exponent 0.5, the default interpolator and clamping disabled. + * This is a convenience method equivalent to d3.scalePow().exponent(0.5). + * + * The scale will have range and output of data type number. + */ +export function scaleSqrt(): ScalePower; +/** + * Constructs a new continuous power scale with the unit domain [0, 1], the exponent 0.5, the default interpolator and clamping disabled. + * This is a convenience method equivalent to d3.scalePow().exponent(0.5). + * + * The generic correponds to the data type of the range and output elements to be used. + * + * As range type and output type are the same, the interpolator factory used with the scale must match this behaviour. + * + * The range must be set in accordance with the range element type. + * + * The interpolator factory may be set using the interpolate(...) method of the scale. + */ +export function scaleSqrt(): ScalePower; +/** + * Constructs a new continuous power scale with the unit domain [0, 1], the exponent 0.5, the default interpolator and clamping disabled. + * This is a convenience method equivalent to d3.scalePow().exponent(0.5). + * + * The first generic corresponds to the data type of the range elements. + * The second generic corresponds to the data type of the output elements generated by the scale. + * + * If range element and output element type differ, the interpolator factory used with the scale must match this behaviour and + * convert the interpolated range element to a corresponding output element. + * + * The range must be set in accordance with the range element type. + * + * The interpolator factory may be set using the interpolate(...) method of the scale. + */ +export function scaleSqrt(): ScalePower; + +// ------------------------------------------------------------------------------- +// Logarithmic Scale Factory +// ------------------------------------------------------------------------------- + +/** + * A continuous logarithmic scale defined over a numeric domain. + * + * Continuous scales map a continuous, quantitative input domain to a continuous output range. + * + * The mapping to the range value y can be expressed as a function of the domain value x: y = m log(x) + b. + * + * As log(0) = -∞, a log scale domain must be strictly-positive or strictly-negative; the domain must not include or cross zero. + * A log scale with a positive domain has a well-defined behavior for positive values, and a log scale with a negative domain has a well-defined behavior for negative values. + * (For a negative domain, input and output values are implicitly multiplied by -1.) + * The behavior of the scale is undefined if you pass a negative value to a log scale with a positive domain or vice versa. + * + * If the range is also numeric, the mapping may be inverted. + * + * Note that the data types of the range and output of the scale must be compatible with the interpolator applied by the scale. + * + * The first generic corresponds to the data type of the range elements. + * + * The second generic corresponds to the data type of the output elements generated by the scale. + * + * If range element and output element type differ, the interpolator factory used with the scale must match this behaviour and + * convert the interpolated range element to a corresponding output element. + */ +export interface ScaleLogarithmic extends ScaleContinuousNumeric { + /** + * Returns a copy of the scale’s current domain. + */ + domain(): number[]; + /** + * Sets the scale’s domain to the specified array of numbers. The array must contain two or more elements. + * If the elements in the given array are not numbers, they will be coerced to numbers + * + * As log(0) = -∞, a log scale domain must be strictly-positive or strictly-negative; the domain must not include or cross zero. + * A log scale with a positive domain has a well-defined behavior for positive values, and a log scale with a negative domain has a well-defined behavior for negative values. + * (For a negative domain, input and output values are implicitly multiplied by -1.) + * The behavior of the scale is undefined if you pass a negative value to a log scale with a positive domain or vice versa. + * + * Although continuous scales typically have two values each in their domain and range, specifying more than two values produces a piecewise scale. + * + * Internally, a piecewise scale performs a binary search for the range interpolator corresponding to the given domain value. + * Thus, the domain must be in ascending or descending order. If the domain and range have different lengths N and M, only the first min(N,M) elements in each are observed. + * + * @param domain Array of numeric domain values. + */ + domain(domain: Array): this; + + /** + * Returns the scale’s current interpolator factory, which defaults to interpolate. + */ + interpolate(): InterpolatorFactory; + + /** + * Sets the scale’s range interpolator factory. This interpolator factory is used to create interpolators for each adjacent pair of values from the range; + * these interpolators then map a normalized domain parameter t in [0, 1] to the corresponding value in the range. + * + * Note: the default interpolator may reuse return values. For example, if the range values are objects, then the value interpolator always returns the same object, modifying it in-place. + * If the scale is used to set an attribute or style, this is typically acceptable (and desirable for performance); + * however, if you need to store the scale’s return value, you must specify your own interpolator or make a copy as appropriate. + * + * As part of the interpolation process the interpotaled value from the range may be converted to a corresponding output value. + * + * @param interpolate An interpolation factory. The generics for Range and Output of the scale must correpond to the interpolation factory applied to the scale. + */ + interpolate(interpolate: InterpolatorFactory): this; + /** + * Sets the scale’s range interpolator factory. This interpolator factory is used to create interpolators for each adjacent pair of values from the range; + * these interpolators then map a normalized domain parameter t in [0, 1] to the corresponding value in the range. + * + * Note: the default interpolator may reuse return values. For example, if the range values are objects, then the value interpolator always returns the same object, modifying it in-place. + * If the scale is used to set an attribute or style, this is typically acceptable (and desirable for performance); + * however, if you need to store the scale’s return value, you must specify your own interpolator or make a copy as appropriate. + * + * As part of the interpolation process the interpotaled value from the range may be converted to a corresponding output value. + * + * The generic "NewOutput" can be used to change the scale to have a different output element type corresponding to the new interpolation factory. + * + * @param interpolate An interpolation factory. The generics for Range and Output of the scale must correpond to the interpolation factory applied to the scale. + */ + interpolate(interpolate: InterpolatorFactory): ScaleLogarithmic; + + /** + * Returns approximately count representative values from the scale’s domain. + * + * If count is not specified, it defaults to 10. + * + * If the base is an integer, the returned ticks are uniformly spaced within each integer power of base; otherwise, one tick per power of base is returned. + * The returned ticks are guaranteed to be within the extent of the domain. If the orders of magnitude in the domain is greater than count, then at most one tick per power is returned. + * Otherwise, the tick values are unfiltered, but note that you can use log.tickFormat to filter the display of tick labels. + * + * @param count Optional approximate number of ticks to be returned. If count is not specified, it defaults to 10. + */ + ticks(count?: number): number[]; + + /** + * Returns a number format function suitable for displaying a tick value, automatically computing the appropriate precision based on the fixed interval between tick values. + * + * The specified count typically has the same value as the count that is used to generate the tick values. + * If there are too many ticks, the formatter may return the empty string for some of the tick labels; + * however, note that the ticks are still shown. + * To disable filtering, specify a count of Infinity. When specifying a count, you may also provide a format specifier or format function. + * For example, to get a tick formatter that will display 20 ticks of a currency, say log.tickFormat(20, "$,f"). + * If the specifier does not have a defined precision, the precision will be set automatically by the scale, returning the appropriate format. + * This provides a convenient way of specifying a format whose precision will be automatically set by the scale. + * + * @param count Approximate number of ticks to be used when calculating precision for the number format function. + * @param specifier An optional valid format specifier string which allows a custom format where the precision of the format is automatically set by the scale as appropriate for the tick interval. + * For example, to get a tick formatter that will display 20 ticks of a currency, say log.tickFormat(20, "$,f"). + * If the specifier does not have a defined precision, the precision will be set automatically by the scale, returning the appropriate format. + * This provides a convenient way of specifying a format whose precision will be automatically set by the scale. + */ + tickFormat(count?: number, specifier?: string): ((d: number | { valueOf(): number }) => string); + + /** + * Extends the domain to integer powers of base. For example, for a domain of [0.201479…, 0.996679…], and base 10, the nice domain is [0.1, 1]. + * If the domain has more than two values, nicing the domain only affects the first and last value. + * + * Nicing a scale only modifies the current domain; it does not automatically nice domains that are subsequently set using continuous.domain. + * You must re-nice the scale after setting the new domain, if desired. + */ + nice(): this; + + /** + * Returns the current base, which defaults to 10. + */ + base(): number; + /** + * Sets the base for this logarithmic scale to the specified value. + */ + base(base: number): this; +} + +/** + * Constructs a new continuous logarithmic scale with the domain [1, 10], the unit range [0, 1], the base 10, the default interpolator and clamping disabled. + * + * The scale will have range and output of data type number. + */ +export function scaleLog(): ScaleLogarithmic; +/** + * Constructs a new continuous logarithmic scale with the domain [1, 10], the base 10, the default interpolator and clamping disabled. + * + * The generic correponds to the data type of the range and output elements to be used. + * + * As range type and output type are the same, the interpolator factory used with the scale must match this behaviour. + * + * The range must be set in accordance with the range element type. + * + * The interpolator factory may be set using the interpolate(...) method of the scale. + */ +export function scaleLog(): ScaleLogarithmic; +/** + * Constructs a new continuous logarithmic scale with the domain [1, 10], the base 10, the default interpolator and clamping disabled. + * + * The first generic corresponds to the data type of the range elements. + * The second generic corresponds to the data type of the output elements generated by the scale. + * + * If range element and output element type differ, the interpolator factory used with the scale must match this behaviour and + * convert the interpolated range element to a corresponding output element. + * + * The range must be set in accordance with the range element type. + * + * The interpolator factory may be set using the interpolate(...) method of the scale. + */ +export function scaleLog(): ScaleLogarithmic; + +// ------------------------------------------------------------------------------- +// Identity Scale Factory +// ------------------------------------------------------------------------------- + +/** + * Identity scales are a special case of linear scales where the domain and range are identical; the scale and its invert method are thus the identity function. + * These scales are occasionally useful when working with pixel coordinates, say in conjunction with an axis or brush. + */ +export interface ScaleIdentity { + /** + * Given a value from the domain, returns the corresponding value from the range, subject to interpolation, if any. + * + * If the given value is outside the domain, and clamping is not enabled, the mapping may be extrapolated such that the returned value is outside the range. + * + * Note: The interpolation function applied by the scale may change the output type from the range type as part of the interpolation. + * + * @param value A numeric value from the domain. + */ + (value: number | { valueOf(): number }): number; + + /** + * Given a value from the range, returns the corresponding value from the domain. Inversion is useful for interaction, + * say to determine the data value corresponding to the position of the mouse. + * + * If the given value is outside the range, and clamping is not enabled, the mapping may be extrapolated such that the returned value is outside the domain. + * + * IMPORTANT: This method is only supported if the range is numeric. If the range is not numeric, returns NaN. + * + * For a valid value y in the range, continuous(continuous.invert(y)) approximately equals y; + * similarly, for a valid value x in the domain, continuous.invert(continuous(x)) approximately equals x. + * The scale and its inverse may not be exact due to the limitations of floating point precision. + * + * @param value A numeric value from the range. + */ + invert(value: number | { valueOf(): number }): number; + + /** + * Returns a copy of the scale’s current domain. + */ + domain(): number[]; + /** + * Sets the scale’s domain to the specified array of numbers. The array must contain two or more elements. + * If the elements in the given array are not numbers, they will be coerced to numbers + * + * Although continuous scales typically have two values each in their domain and range, specifying more than two values produces a piecewise scale. + * + * Internally, a piecewise scale performs a binary search for the range interpolator corresponding to the given domain value. + * Thus, the domain must be in ascending or descending order. If the domain and range have different lengths N and M, only the first min(N,M) elements in each are observed. + * + * @param domain Array of numeric domain values. + */ + domain(domain: Array): this; + + /** + * Returns a copy of the scale’s current range. + */ + range(): number[]; + /** + * Sets the scale’s range to the specified array of values. + * + * The array must contain two or more elements. Unlike the domain, elements in the given array need not be numbers; + * any value that is supported by the underlying interpolator will work, though note that numeric ranges are required for invert. + * + * @param range Array of range values. + */ + range(range: Array): this; + + /** + * Returns approximately count representative values from the scale’s domain. + * + * If count is not specified, it defaults to 10. + * + * The returned tick values are uniformly spaced, have human-readable values (such as multiples of powers of 10), + * and are guaranteed to be within the extent of the domain. Ticks are often used to display reference lines, or tick marks, in conjunction with the visualized data. + * The specified count is only a hint; the scale may return more or fewer values depending on the domain. See also d3-array’s ticks. + * + * @param count Optional approximate number of ticks to be returned. If count is not specified, it defaults to 10. + */ + ticks(count?: number): number[]; + + /** + * Returns a number format function suitable for displaying a tick value, automatically computing the appropriate precision based on the fixed interval between tick values. + * The specified count should have the same value as the count that is used to generate the tick values. + * + * @param count Approximate number of ticks to be used when calculating precision for the number format function. + * @param specifier An optional valid format specifier string which allows a custom format where the precision of the format is automatically set by the scale as appropriate for the tick interval. + * If specifier uses the format type "s", the scale will return a SI-prefix format based on the largest value in the domain. + * If the specifier already specifies a precision, this method is equivalent to locale.format. + */ + tickFormat(count?: number, specifier?: string): ((d: number | { valueOf(): number }) => string); + + /** + * Extends the domain so that it starts and ends on nice round values. + * This method typically modifies the scale’s domain, and may only extend the bounds to the nearest round value. + * An optional tick count argument allows greater control over the step size used to extend the bounds, + * guaranteeing that the returned ticks will exactly cover the domain. + * Nicing is useful if the domain is computed from data, say using extent, and may be irregular. + * For example, for a domain of [0.201479…, 0.996679…], a nice domain might be [0.2, 1.0]. + * If the domain has more than two values, nicing the domain only affects the first and last value. + * + * Nicing a scale only modifies the current domain; it does not automatically nice domains that are subsequently set using continuous.domain. + * You must re-nice the scale after setting the new domain, if desired. + * + * @param count An optional number of ticks expected to be used. + */ + nice(count?: number): this; + + /** + * Returns an exact copy of this scale. Changes to this scale will not affect the returned scale, and vice versa. + */ + copy(): ScaleIdentity; +} + +/** + * Constructs a new identity scale with the unit domain [0, 1] and the unit range [0, 1]. + */ +export function scaleIdentity(): ScaleIdentity; + +// ------------------------------------------------------------------------------- +// Time Scale Factories +// ------------------------------------------------------------------------------- + +/** + * A linear scale defined over a temporal domain. + * + * Time scales implement ticks based on calendar intervals, taking the pain out of generating axes for temporal domains. + * + * If the range is numeric, the mapping may be inverted to return a date. + * + * Note that the data types of the range and output of the scale must be compatible with the interpolator applied by the scale. + * + * The first generic corresponds to the data type of the range elements. + * + * The second generic corresponds to the data type of the output elements generated by the scale. + * + * If range element and output element type differ, the interpolator factory used with the scale must match this behaviour and + * convert the interpolated range element to a corresponding output element. + */ +export interface ScaleTime { + /** + * Given a value from the domain, returns the corresponding value from the range, subject to interpolation, if any. + * + * If the given value is outside the domain, and clamping is not enabled, the mapping may be extrapolated such that the returned value is outside the range. + * + * Note: The interpolation function applied by the scale may change the output type from the range type as part of the interpolation. + * + * @param value A temporal value from the domain. If the value is not a Date, it will be coerced to Date. + */ + (value: Date | number | { valueOf(): number }): Output; + + /** + * Given a value from the range, returns the corresponding value from the domain. Inversion is useful for interaction, + * say to determine the data value corresponding to the position of the mouse. + * + * If the given value is outside the range, and clamping is not enabled, the mapping may be extrapolated such that the returned value is outside the domain. + * + * IMPORTANT: This method is only supported if the range is numeric. If the range is not numeric, returns Invalid Date. + * + * For a valid value y in the range, time(time.invert(y)) equals y; similarly, for a valid value x in the domain, time.invert(time(x)) equals x. + * The invert method is useful for interaction, say to determine the value in the domain that corresponds to the pixel location under the mouse. + * + * @param value A numeric value from the range. + */ + invert(value: number | { valueOf(): number }): Date; + + /** + * Returns a copy of the scale’s current domain. + */ + domain(): Date[]; + + /** + * Sets the scale’s domain to the specified array of temporal domain values. The array must contain two or more elements. + * If the elements in the given array are not dates, they will be coerced to dates. + * + * Although continuous scales typically have two values each in their domain and range, specifying more than two values produces a piecewise scale. + * + * Internally, a piecewise scale performs a binary search for the range interpolator corresponding to the given domain value. + * Thus, the domain must be in ascending or descending order. If the domain and range have different lengths N and M, only the first min(N,M) elements in each are observed. + * + * @param domain Array of temporal domain values. Numeric values will be coerced to dates. + */ + domain(domain: Array): this; + + /** + * Returns a copy of the scale’s current range. + */ + range(): Range[]; + /** + * Sets the scale’s range to the specified array of values. + * + * The array must contain two or more elements. Unlike the domain, elements in the given array need not be temporal domain values; + * any value that is supported by the underlying interpolator will work, though note that numeric ranges are required for invert. + * + * @param range Array of range values. + */ + range(range: Range[] | ReadonlyArray): this; + + /** + * Sets the scale’s range to the specified array of values while also setting the scale’s interpolator to interpolateRound. + * + * The rounding interpolator is sometimes useful for avoiding antialiasing artifacts, + * though also consider the shape-rendering “crispEdges” styles. Note that this interpolator can only be used with numeric ranges. + * + * The array must contain two or more elements. Unlike the domain, elements in the given array need not be temporal domain values; + * any value that is supported by the underlying interpolator will work, though note that numeric ranges are required for invert. + * + * @param range Array of range values. + */ + rangeRound(range: Array): this; + + /** + * Returns whether or not the scale currently clamps values to within the range. + */ + clamp(): boolean; + /** + * Enables or disables clamping, respectively. If clamping is disabled and the scale is passed a value outside the domain, + * the scale may return a value outside the range through extrapolation. + * + * If clamping is enabled, the return value of the scale is always within the scale’s range. Clamping similarly applies to the "invert" method. + * + * @param clamp A flag to enable (true) or disable (false) clamping. + */ + clamp(clamp: boolean): this; + + /** + * Returns the scale’s current interpolator factory, which defaults to interpolate. + */ + interpolate(): InterpolatorFactory; + + /** + * Sets the scale’s range interpolator factory. This interpolator factory is used to create interpolators for each adjacent pair of values from the range; + * these interpolators then map a normalized domain parameter t in [0, 1] to the corresponding value in the range. + * + * Note: the default interpolator may reuse return values. For example, if the range values are objects, then the value interpolator always returns the same object, modifying it in-place. + * If the scale is used to set an attribute or style, this is typically acceptable (and desirable for performance); + * however, if you need to store the scale’s return value, you must specify your own interpolator or make a copy as appropriate. + * + * As part of the interpolation process the interpotaled value from the range may be converted to a corresponding output value. + * + * @param interpolate An interpolation factory. The generics for Range and Output of the scale must correpond to the interpolation factory applied to the scale. + */ + interpolate(interpolate: InterpolatorFactory): this; + /** + * Sets the scale’s range interpolator factory. This interpolator factory is used to create interpolators for each adjacent pair of values from the range; + * these interpolators then map a normalized domain parameter t in [0, 1] to the corresponding value in the range. + * + * Note: the default interpolator may reuse return values. For example, if the range values are objects, then the value interpolator always returns the same object, modifying it in-place. + * If the scale is used to set an attribute or style, this is typically acceptable (and desirable for performance); + * however, if you need to store the scale’s return value, you must specify your own interpolator or make a copy as appropriate. + * + * As part of the interpolation process the interpotaled value from the range may be converted to a corresponding output value. + * + * The generic "NewOutput" can be used to change the scale to have a different output element type corresponding to the new interpolation factory. + * + * @param interpolate An interpolation factory. The generics for Range and Output of the scale must correpond to the interpolation factory applied to the scale. + */ + interpolate(interpolate: InterpolatorFactory): ScaleTime; + + /** + * Returns representative dates from the scale’s domain. The returned tick values are uniformly-spaced (mostly), + * have sensible values (such as every day at midnight), and are guaranteed to be within the extent of the domain. + * Ticks are often used to display reference lines, or tick marks, in conjunction with the visualized data. + * + * Without specifying a count or time interval to control the number of ticks returned, a default count of 10 is used. + * The specified count is only a hint; the scale may return more or fewer values depending on the domain. + */ + ticks(): Date[]; + /** + * Returns representative dates from the scale’s domain. The returned tick values are uniformly-spaced (mostly), + * have sensible values (such as every day at midnight), and are guaranteed to be within the extent of the domain. + * Ticks are often used to display reference lines, or tick marks, in conjunction with the visualized data. + * + * The specified count controls the number of ticks to be returned. The specified count is only a hint; + * the scale may return more or fewer values depending on the domain. + * + * @param count Expected number of ticks. + */ + ticks(count: number): Date[]; + /** + * Returns representative dates from the scale’s domain. The returned tick values are uniformly-spaced (mostly), + * have sensible values (such as every day at midnight), and are guaranteed to be within the extent of the domain. + * Ticks are often used to display reference lines, or tick marks, in conjunction with the visualized data. + * + * The specified time interval controls the ticks generated and returned. To prune the generated ticks for a given time interval, + * use interval.every(...) or interval.filter(...). + * + * @param interval A time interval to specify the expected ticks. + */ + ticks(interval: TimeInterval): Date[]; + + /** + * Returns a time format function suitable for displaying tick values. + * + * The default multi-scale time format chooses a human-readable representation based on the specified date as follows: + * + * - %Y - for year boundaries, such as 2011. + * - %B - for month boundaries, such as February. + * - %b %d - for week boundaries, such as Feb 06. + * - %a %d - for day boundaries, such as Mon 07. + * - %I %p - for hour boundaries, such as 01 AM. + * - %I:%M - for minute boundaries, such as 01:23. + * - :%S - for second boundaries, such as :45. + * - .%L - milliseconds for all other times, such as .012. + * + * Although somewhat unusual, this default behavior has the benefit of providing both local and global context: + * for example, formatting a sequence of ticks as [11 PM, Mon 07, 01 AM] reveals information about hours, dates, and day simultaneously, + * rather than just the hours [11 PM, 12 AM, 01 AM]. + */ + tickFormat(): ((d: Date) => string); + /** + * Returns a time format function suitable for displaying tick values. + * + * The specified count is currently ignored, but is accepted for consistency with other scales such as continuous.tickFormat. + * + * @param count Expected number of ticks. (Currently ignored) + * @param specifier An optional valid date format specifier string (see d3-time-format). + */ + tickFormat(count: number, specifier?: string): ((d: Date) => string); + /** + * Returns a time format function suitable for displaying tick values. + * + * The specified time interval is currently ignored, but is accepted for consistency with other scales such as continuous.tickFormat. + * + * @param interval A time interval to specify the expected ticks. (Currently ignored) + * @param specifier An optional valid date format specifier string (see d3-time-format). + */ + tickFormat(interval: TimeInterval, specifier?: string): ((d: Date) => string); + + /** + * Extends the domain so that it starts and ends on nice round values. + * This method typically modifies the scale’s domain, and may only extend the bounds to the nearest round value. + * + * Nicing is useful if the domain is computed from data, say using extent, and may be irregular. + * For example, for a domain of [2009-07-13T00:02, 2009-07-13T23:48], the nice domain is [2009-07-13, 2009-07-14]. + * If the domain has more than two values, nicing the domain only affects the first and last value. + */ + nice(): this; + /** + * Extends the domain so that it starts and ends on nice round values. + * This method typically modifies the scale’s domain, and may only extend the bounds to the nearest round value. + * + * A tick count argument allows greater control over the step size used to extend the bounds, guaranteeing that the returned ticks will exactly cover the domain. + * + * Nicing is useful if the domain is computed from data, say using extent, and may be irregular. + * For example, for a domain of [2009-07-13T00:02, 2009-07-13T23:48], the nice domain is [2009-07-13, 2009-07-14]. + * If the domain has more than two values, nicing the domain only affects the first and last value. + * + * @param count Expected number of ticks. + */ + nice(count: number): this; + /** + * Extends the domain so that it starts and ends on nice round values. + * This method typically modifies the scale’s domain, and may only extend the bounds to the nearest round value. + * + * a time interval may be specified to explicitly set the ticks. If an interval is specified, an optional step may also be specified to skip some ticks. + * For example, time.nice(d3.timeSecond, 10) will extend the domain to an even ten seconds (0, 10, 20, etc.). + * + * Nicing is useful if the domain is computed from data, say using extent, and may be irregular. + * For example, for a domain of [2009-07-13T00:02, 2009-07-13T23:48], the nice domain is [2009-07-13, 2009-07-14]. + * If the domain has more than two values, nicing the domain only affects the first and last value. + * + * @param interval A time interval to specify the expected ticks. + * @param step An optional step number to be applied to the time interval when considering ticks. + */ + nice(interval: CountableTimeInterval, step?: number): this; + + /** + * Returns an exact copy of this scale. Changes to this scale will not affect the returned scale, and vice versa. + */ + copy(): this; +} + +/** + * Constructs a new time scale using local time with the domain [2000-01-01, 2000-01-02], the unit range [0, 1], the default interpolator and clamping disabled. + * + * The scale will have range and output of data type number. + */ +export function scaleTime(): ScaleTime; +/** + * Constructs a new time scale using local time with the domain [2000-01-01, 2000-01-02], the default interpolator and clamping disabled. + * + * The generic correponds to the data type of the range and output elements to be used. + * + * As range type and output type are the same, the interpolator factory used with the scale must match this behaviour. + * + * The range must be set in accordance with the range element type. + * + * The interpolator factory may be set using the interpolate(...) method of the scale. + */ +export function scaleTime(): ScaleTime; +/** + * Constructs a new time scale using local time with the domain [2000-01-01, 2000-01-02], the default interpolator and clamping disabled. + * + * The first generic corresponds to the data type of the range elements. + * The second generic corresponds to the data type of the output elements generated by the scale. + * + * If range element and output element type differ, the interpolator factory used with the scale must match this behaviour and + * convert the interpolated range element to a corresponding output element. + * + * The range must be set in accordance with the range element type. + * + * The interpolator factory may be set using the interpolate(...) method of the scale. + */ +export function scaleTime(): ScaleTime; + +/** + * Constructs a new time scale using Coordinated Universal Time (UTC) with the domain [2000-01-01, 2000-01-02], the unit range [0, 1], the default interpolator and clamping disabled. + * + * The scale will have range and output of data type number. + */ +export function scaleUtc(): ScaleTime; +/** + * Constructs a new time scale using Coordinated Universal Time (UTC) with the domain [2000-01-01, 2000-01-02], the default interpolator and clamping disabled. + * + * The generic correponds to the data type of the range and output elements to be used. + * + * As range type and output type are the same, the interpolator factory used with the scale must match this behaviour. + * + * The range must be set in accordance with the range element type. + * + * The interpolator factory may be set using the interpolate(...) method of the scale. + */ +export function scaleUtc(): ScaleTime; +/** + * Constructs a new time scale using Coordinated Universal Time (UTC) with the domain [2000-01-01, 2000-01-02], the default interpolator and clamping disabled. + * + * The first generic corresponds to the data type of the range elements. + * The second generic corresponds to the data type of the output elements generated by the scale. + * + * If range element and output element type differ, the interpolator factory used with the scale must match this behaviour and + * convert the interpolated range element to a corresponding output element. + * + * The range must be set in accordance with the range element type. + * + * The interpolator factory may be set using the interpolate(...) method of the scale. + */ +export function scaleUtc(): ScaleTime; + +// ------------------------------------------------------------------------------- +// Sequential Scale Factory +// ------------------------------------------------------------------------------- + +/** + * Sequential scales are similar to continuous scales in that they map a continuous, + * numeric input domain to a continuous output range. However, unlike continuous scales, + * the output range of a sequential scale is fixed by its interpolator and not configurable. + * + * The generic corresponds to the data type of the output of the interpolator underlying the scale. + */ +export interface ScaleSequential { + /** + * Given a value from the domain, returns the corresponding value from the output range, subject to interpolation. + * + * If the given value is outside the domain, and clamping is not enabled, the mapping may be extrapolated such that the returned value is outside the range. + * + * @param value A numeric value from the domain. + */ + (value: number | { valueOf(): number }): Output; + + /** + * Returns a copy of the scale’s current domain. + */ + domain(): [number, number]; + /** + * Sets the scale’s domain to the specified array of numbers. The array must contain exactly two elements. + * If the elements in the given array are not numbers, they will be coerced to numbers + * + * @param domain A two-element array of numeric domain values. + */ + domain(domain: [number | { valueOf(): number }, number | { valueOf(): number }]): this; + + /** + * Returns whether or not the scale currently clamps values to within the range. + */ + clamp(): boolean; + /** + * Enables or disables clamping, respectively. If clamping is disabled and the scale is passed a value outside the domain, + * the scale may return a value outside the range through extrapolation. + * + * If clamping is enabled, the return value of the scale is always within the scale’s range. Clamping similarly applies to the "invert" method. + * + * @param clamp A flag to enable (true) or disable (false) clamping. + */ + clamp(clamp: boolean): this; + + /** + * Returns the current interpolator underlying the scale. + */ + interpolator(): ((t: number) => Output); + /** + * Sets the scale’s interpolator to the specified function. + * + * @param interpolator An interpolator function mapping a value from the [0, 1] interval to an output value. + */ + interpolator(interpolator: ((t: number) => Output)): this; + /** + * Sets the scale’s interpolator to the specified function. + * + * The generic corresponds to a the new output type of the scale. The output type of the scale is determined by the output type of the interpolator function. + * + * @param interpolator An interpolator function mapping a value from the [0, 1] interval to an output value. + */ + interpolator(interpolator: ((t: number) => NewOutput)): ScaleSequential; + + /** + * Returns an exact copy of this scale. Changes to this scale will not affect the returned scale, and vice versa. + */ + copy(): ScaleSequential; +} + +/** + * Constructs a new sequential scale with the given interpolator function. When the scale is applied, the interpolator will be invoked with a value typically in the range [0, 1], + * where 0 represents the start of the domain, and 1 represents the end of the domain. + * + * The generic corresponds to the data type of the output of the interpolator underlying the scale. + * + * @param interpolator The interpolator function to be used with the scale. + */ +export function scaleSequential(interpolator: ((t: number) => Output)): ScaleSequential; + +// ------------------------------------------------------------------------------- +// Color Interpolators for Sequential Scale Factory +// ------------------------------------------------------------------------------- + +/** + * Given a number t in the range [0,1], returns the corresponding color from the “viridis” perceptually-uniform color scheme designed by van der Walt, Smith and Firing for matplotlib, + * represented as an RGB string. + * + * @param t A number in the interval [0, 1]. + */ +export function interpolateViridis(t: number): string; + +/** + * Given a number t in the range [0,1], returns the corresponding color from the “inferno” perceptually-uniform color scheme designed by van der Walt and Smith for matplotlib, + * represented as an RGB string. + * + * @param t A number in the interval [0, 1]. + */ +export function interpolateInferno(t: number): string; + +/** + * Given a number t in the range [0,1], returns the corresponding color from the “magma” perceptually-uniform color scheme designed by van der Walt and Smith for matplotlib, + * represented as an RGB string. + * + * @param t A number in the interval [0, 1]. + */ +export function interpolateMagma(t: number): string; + +/** + * Given a number t in the range [0,1], returns the corresponding color from the “plasma” perceptually-uniform color scheme designed by van der Walt and Smith for matplotlib, + * represented as an RGB string. + * + * @param t A number in the interval [0, 1]. + */ +export function interpolatePlasma(t: number): string; + +/** + * Given a number t in the range [0,1], returns the corresponding color from a 180° rotation of Niccoli’s perceptual rainbow, represented as an RGB string. + * + * @param t A number in the interval [0, 1]. + */ +export function interpolateWarm(t: number): string; + +/** + * Given a number t in the range [0,1], returns the corresponding color from Niccoli’s perceptual rainbow, represented as an RGB string. + * + * @param t A number in the interval [0, 1]. + */ +export function interpolateCool(t: number): string; + +/** + * Given a number t in the range [0,1], returns the corresponding color from d3.interpolateWarm scale from [0.0, 0.5] followed by the d3.interpolateCool scale from [0.5, 1.0], + * thus implementing the cyclical less-angry rainbow color scheme. + * + * @param t A number in the interval [0, 1]. + */ +export function interpolateRainbow(t: number): string; + +/** + * Given a number t in the range [0,1], returns the corresponding color from Green’s default Cubehelix represented as an RGB string. + * + * @param t A number in the interval [0, 1]. + */ +export function interpolateCubehelixDefault(t: number): string; + +// ------------------------------------------------------------------------------- +// Quantize Scale Factory +// ------------------------------------------------------------------------------- + +/** + * Quantize scales are similar to linear scales, except they use a discrete rather than continuous range. + * The continuous input domain is divided into uniform segments based on the number of values in (i.e., the cardinality of) the output range. + * + * Each range value y can be expressed as a quantized linear function of the domain value x: y = m round(x) + b. + * + * The generic corresponds to the data type of the range elements. + */ +export interface ScaleQuantize { + /** + * Given a value in the input domain, returns the corresponding value in the output range. + */ + (value: number | { valueOf(): number }): Range; + /** + * Returns the extent of values in the domain [x0, x1] for the corresponding value in the range: the inverse of quantize. + * This method is useful for interaction, say to determine the value in the domain that corresponds to the pixel location under the mouse. + * + * If an invalid range value is entered, returns [NaN, NaN]. + * + * @param value A value from the range. + */ + invertExtent(value: Range): [number, number]; + + /** + * Returns the scale’s current domain. + */ + domain(): [number, number]; + + /** + * Sets the scale’s domain to the specified two-element array of numbers. + * If the elements in the given array are not numbers, they will be coerced to numbers. + * + * @param domain A two-element array of numeric values defining the domain. + */ + domain(domain: [number | { valueOf(): number }, number | { valueOf(): number }]): this; + + /** + * Returns the scale’s current range. + */ + range(): Range[]; + /** + * Sets the scale’s range to the specified array of values. The array may contain any number of discrete values. + * + * @param range Array of range values. + */ + range(range: Range[] | ReadonlyArray): this; + + /** + * Returns approximately count representative values from the scale’s domain. + * + * If count is not specified, it defaults to 10. + * + * The returned tick values are uniformly spaced, have human-readable values (such as multiples of powers of 10), + * and are guaranteed to be within the extent of the domain. Ticks are often used to display reference lines, or tick marks, in conjunction with the visualized data. + * The specified count is only a hint; the scale may return more or fewer values depending on the domain. See also d3-array’s ticks. + * + * @param count Optional approximate number of ticks to be returned. If count is not specified, it defaults to 10. + */ + ticks(count?: number): number[]; + + /** + * Returns a number format function suitable for displaying a tick value, automatically computing the appropriate precision based on the fixed interval between tick values. + * The specified count should have the same value as the count that is used to generate the tick values. + * + * @param count Approximate number of ticks to be used when calculating precision for the number format function. + * @param specifier An optional valid format specifier string which allows a custom format where the precision of the format is automatically set by the scale as appropriate for the tick interval. + * If specifier uses the format type "s", the scale will return a SI-prefix format based on the largest value in the domain. + * If the specifier already specifies a precision, this method is equivalent to locale.format. + */ + tickFormat(count?: number, specifier?: string): ((d: number | { valueOf(): number }) => string); + + /** + * Extends the domain so that it starts and ends on nice round values. + * This method typically modifies the scale’s domain, and may only extend the bounds to the nearest round value. + * + * Nicing is useful if the domain is computed from data, say using extent, and may be irregular. + * For example, for a domain of [0.201479…, 0.996679…], a nice domain might be [0.2, 1.0]. + * + * Nicing a scale only modifies the current domain; it does not automatically nice domains that are subsequently set using continuous.domain. + * You must re-nice the scale after setting the new domain, if desired. + * + * @param count An optional number of ticks expected to be used. + */ + nice(count?: number): this; + + /** + * Returns an exact copy of this scale. Changes to this scale will not affect the returned scale, and vice versa. + */ + copy(): this; +} + +/** + * Constructs a new quantize scale with the unit domain [0, 1] and the unit range [0, 1]. + * Thus, the default quantize scale is equivalent to the Math.round function. + */ +export function scaleQuantize(): ScaleQuantize; + +/** + * Constructs a new quantize scale with the unit domain [0, 1]. + * + * The range must be set corresponding to the type of the range elements. + * + * The generic corresponds to the data type of the range elements. + */ +export function scaleQuantize(): ScaleQuantize; + +// ------------------------------------------------------------------------------- +// Quantile Scale Factory +// ------------------------------------------------------------------------------- + +/** + * Quantile scales map a sampled input domain to a discrete range. + * The domain is considered continuous and thus the scale will accept any reasonable input value; + * however, the domain is specified as a discrete set of sample values. + * The number of values in (the cardinality of) the output range determines the number of quantiles that will be computed from the domain. + * To compute the quantiles, the domain is sorted, and treated as a population of discrete values; see d3-array’s quantile. + * + * The generic correponds to the data type of range elements. + */ +export interface ScaleQuantile { + /** + * Given a value in the input domain, returns the corresponding value in the output range. + * + * @param value A numeric value in the input domain. + */ + (value: number | { valueOf(): number }): Range; + + /** + * Returns the extent of values in the domain [x0, x1] for the corresponding value in the range: the inverse of quantile. + * This method is useful for interaction, say to determine the value in the domain that corresponds to the pixel location under the mouse. + * + * @param value A value from the range. + */ + invertExtent(value: Range): [number, number]; + + /** + * Returns the scale’s current domain. + */ + domain(): number[]; + /** + * Sets the domain of the quantile scale to the specified set of discrete numeric values. + * The array must not be empty, and must contain at least one numeric value; NaN, null and undefined values are ignored and not considered part of the sample population. + * + * If the elements in the given array are not numbers, they will be coerced to numbers. A copy of the input array is sorted and stored internally. + * + * @param domain Array of domain values. + */ + domain(domain: Array): this; + + /** + * Returns the current range. + */ + range(): Range[]; + /** + * Sets the discrete values in the range. The array must not be empty. + * The number of values in (the cardinality, or length, of) the range array determines the number of quantiles that are computed. + * + * For example, to compute quartiles, range must be an array of four elements such as [0, 1, 2, 3]. + * + * @param range Array of range values. + */ + range(range: Range[] | ReadonlyArray): this; + + /** + * Returns the quantile thresholds. If the range contains n discrete values, the returned array will contain n - 1 thresholds. + * Values less than the first threshold are considered in the first quantile; + * values greater than or equal to the first threshold but less than the second threshold are in the second quantile, and so on. + * Internally, the thresholds array is used with bisect to find the output quantile associated with the given input value. + */ + quantiles(): number[]; + + /** + * Returns an exact copy of this scale. Changes to this scale will not affect the returned scale, and vice versa. + */ + copy(): this; +} + +/** + * Constructs a new quantile scale with an empty domain and an empty range. + * The quantile scale is invalid until both a domain and range are specified. + */ +export function scaleQuantile(): ScaleQuantile; + +/** + * Constructs a new quantile scale with an empty domain and an empty range. + * The quantile scale is invalid until both a domain and range are specified. + * + * The generic correponds to the data type of range elements. + */ +export function scaleQuantile(): ScaleQuantile; + +// ------------------------------------------------------------------------------- +// Threshold Scale Factory +// ------------------------------------------------------------------------------- + +/** + * Threshold scales are similar to quantize scales, except they allow you to map arbitrary subsets of the domain to discrete values in the range. + * The input domain is still continuous, and divided into slices based on a set of threshold values. + * + * If the number of values in the scale’s range is N+1, the number of values in the scale’s domain must be N. + * If there are fewer than N elements in the domain, the additional values in the range are ignored. + * If there are more than N elements in the domain, the scale may return undefined for some inputs. + * + * The first generic corresponds to the data type of domain values. + * The second generic corresponds to the data type of range values. + */ +export interface ScaleThreshold { + /** + * Given a value in the input domain, returns the corresponding value in the output range. + * + * @param value A domain value. + */ + (value: Domain): Range; + + /** + * Returns the extent of values in the domain [x0, x1] for the corresponding value in the range, representing the inverse mapping from range to domain. + * This method is useful for interaction, say to determine the value in the domain that corresponds to the pixel location under the mouse. + * + * @param value A range value. + */ + invertExtent(value: Range): [Domain | undefined, Domain | undefined]; + + /** + * Returns the scale’s current domain. + */ + domain(): Domain[]; + /** + * Sets the scale’s domain to the specified array of values. The values must be in sorted ascending order, or the behavior of the scale is undefined. + * The values are typically numbers, but any naturally ordered values (such as strings) will work; a threshold scale can be used to encode any type that is ordered. + * If the number of values in the scale’s range is N+1, the number of values in the scale’s domain must be N. + * If there are fewer than N elements in the domain, the additional values in the range are ignored. + * If there are more than N elements in the domain, the scale may return undefined for some inputs. + * + * @param domain Array of domain values. + */ + domain(domain: Domain[] | ReadonlyArray): this; + + /** + * Returns the scale’s current range. + */ + range(): Range[]; + /** + * Sets the scale’s range to the specified array of values. If the number of values in the scale’s domain is N, the number of values in the scale’s range must be N+1. + * If there are fewer than N+1 elements in the range, the scale may return undefined for some inputs. + * If there are more than N+1 elements in the range, the additional values are ignored. + * + * @param range Array of range values. + */ + range(range: Range[] | ReadonlyArray): this; + + /** + * Returns an exact copy of this scale. Changes to this scale will not affect the returned scale, and vice versa. + */ + copy(): this; +} + +/** + * Constructs a new threshold scale with the default domain [0.5] and the default range [0, 1]. + * Thus, the default threshold scale is equivalent to the Math.round function for numbers; for example threshold(0.49) returns 0, and threshold(0.51) returns 1. + */ +export function scaleThreshold(): ScaleThreshold; +/** + * Constructs a new threshold scale. The domain and range must be set corresponding to the type of the corresponding generic. + * + * The first generic corresponds to the data type of domain values. + * The second generic corresponds to the data type of range values. + */ +export function scaleThreshold(): ScaleThreshold; + +// ------------------------------------------------------------------------------- +// Ordinal Scale Factory +// ------------------------------------------------------------------------------- + +/** + * Unlike continuous scales, ordinal scales have a discrete domain and range. For example, an ordinal scale might map a set of named categories to a set of colors, + * or determine the horizontal positions of columns in a column chart. + * + * The first element in the domain will be mapped to the first element in range, the second domain value to the second range value, and so on. + * If there are fewer elements in the range than in the domain, the scale will reuse values from the start of the range. + * + * The first generic corresponds to the data type of domain values. + * The second generic corresponds to the data type of range values. + */ +export interface ScaleOrdinal { + /** + * Given a value in the input domain, returns the corresponding value in the output range. + * If the given value is not in the scale’s domain, returns the unknown; or, if the unknown value is implicit (the default), + * then the value is implicitly added to the domain and the next-available value in the range is assigned to value, + * such that this and subsequent invocations of the scale given the same input value return the same output value. + * + * @param x A value from the domain. + */ + (x: Domain): Range; + + /** + * Returns the scale's current domain. + */ + domain(): Domain[]; + /** + * Sets the domain to the specified array of values. + * + * The first element in domain will be mapped to the first element in the range, + * the second domain value to the second range value, and so on. + * + * Domain values are stored internally in a map from stringified value to index; the resulting index is then used to retrieve a value from the range. + * Thus, an ordinal scale’s values must be coercible to a string, and the stringified version of the domain value uniquely identifies the corresponding range value. + * + * Setting the domain on an ordinal scale is optional if the unknown value is implicit (the default). + * In this case, the domain will be inferred implicitly from usage by assigning each unique value passed to the scale a new value from the range. + * Note that an explicit domain is recommended to ensure deterministic behavior, as inferring the domain from usage will be dependent on ordering. + * + * @param domain Array of domain values. + */ + domain(domain: Domain[] | ReadonlyArray): this; + + /** + * Returns the scale's current range. + */ + range(): Range[]; + /** + * Sets the range of the ordinal scale to the specified array of values. + * + * The first element in the domain will be mapped to the first element in range, the second domain value to the second range value, and so on. + * + * If there are fewer elements in the range than in the domain, the scale will reuse values from the start of the range. + * + * @param range Array of range values. + */ + range(range: Range[] | ReadonlyArray): this; + + /** + * Returns the current unknown value, which defaults to "implicit". + */ + unknown(): Range | { name: 'implicit' }; + /** + * Sets the output value of the scale for unknown input values and returns this scale. + * The implicit value enables implicit domain construction. scaleImplicit can be used as a convenience to set the implicit value. + * + * @param value Unknown value to be used or scaleImplicit to set implicit scale generation. + */ + unknown(value: Range | { name: 'implicit' }): this; + + /** + * Returns an exact copy of this ordinal scale. Changes to this scale will not affect the returned scale, and vice versa. + */ + copy(): this; +} + +/** + * Constructs a new ordinal scale with an empty domain and the specified range. + * If a range is not specified, it defaults to the empty array; an ordinal scale always returns undefined until a non-empty range is defined. + * + * By default, the domain is configured to generate implicitly, if the scale is invoked with an unknown value. + * See the "unknown(...)" method of the scale to change this behavior. + * + * The generic corresponds to the data type of range elements. + * + * @parm range An optional array of range values to initialize the scale with. + */ +export function scaleOrdinal(range?: Range[] | ReadonlyArray): ScaleOrdinal; +/** + * Constructs a new ordinal scale with an empty domain and the specified range. + * If a range is not specified, it defaults to the empty array; an ordinal scale always returns undefined until a non-empty range is defined. + * + * By default, the domain is configured to generate implicitly, if the scale is invoked with an unknown value. + * See the "unknown(...)" method of the scale to change this behavior. + * + * The first generic corresponds to the data type of domain elements. + * The second generic corresponds to the data type of range elements. + * + * @parm range An optional array of range values to initialize the scale with. + */ +export function scaleOrdinal(range?: Range[] | ReadonlyArray): ScaleOrdinal; + +/** + * A special value for ordinal.unknown that enables implicit domain construction: unknown values are implicitly added to the domain. + */ +export const scaleImplicit: { name: 'implicit' }; + +// ------------------------------------------------------------------------------- +// Band Scale Factory +// ------------------------------------------------------------------------------- + +/** + * Band scales are like ordinal scales except the output range is continuous and numeric. + * Discrete output values are automatically computed by the scale by dividing the continuous range into uniform bands. + * Band scales are typically used for bar charts with an ordinal or categorical dimension. + * The unknown value of a band scale is effectively undefined: they do not allow implicit domain construction. + * + * The generic corresponds to the data type of domain elements. + */ +export interface ScaleBand { + /** + * Given a value in the input domain, returns the start of the corresponding band derived from the output range. + * If the given value is not in the scale’s domain, returns undefined. + * + * @param x A value from the domain. + */ + (x: Domain): number | undefined; + + /** + * Returns to scale's current domain + */ + domain(): Domain[]; + /** + * Sets the domain to the specified array of values. The first element in domain will be mapped to the first band, the second domain value to the second band, and so on. + * Domain values are stored internally in a map from stringified value to index; the resulting index is then used to determine the band. + * Thus, a band scale’s values must be coercible to a string, and the stringified version of the domain value uniquely identifies the corresponding band. + * + * @param domain Array of domain values. + */ + domain(domain: Domain[] | ReadonlyArray): this; + + /** + * Returns the scale’s current range, which defaults to [0, 1]. + */ + range(): [number, number]; + /** + * Sets the scale’s range to the specified two-element array of numbers. If the elements in the given array are not numbers, they will be coerced to numbers. + * The default range is [0, 1]. + * + * @param range A two-element array of numeric values. + */ + range(range: [number | { valueOf(): number }, number | { valueOf(): number }]): this; + + /** + * Sets the scale’s range to the specified two-element array of numbers while also enabling rounding. + * If the elements in the given array are not numbers, they will be coerced to numbers. + * + * Rounding is sometimes useful for avoiding antialiasing artifacts, though also consider the shape-rendering “crispEdges” styles. + * + * @param range A two-element array of numeric values. + */ + rangeRound(range: [number | { valueOf(): number }, number | { valueOf(): number }]): this; + + /** + * Returns the current rounding status for the scale: enabled (= true) or disabled (= false). + */ + round(): boolean; + /** + * Enables or disables rounding accordingly. If rounding is enabled, the start and stop of each band will be integers. + * Rounding is sometimes useful for avoiding antialiasing artifacts, though also consider the shape-rendering “crispEdges” styles. + * Note that if the width of the domain is not a multiple of the cardinality of the range, there may be leftover unused space, even without padding! + * Use band.align to specify how the leftover space is distributed. + * + * @param round Enable rounding (= true), disable rounding (= false). + */ + round(round: boolean): this; + + /** + * Returns the current inner padding which defaults to 0. + */ + paddingInner(): number; + /** + * Sets the inner padding to the specified value which must be in the range [0, 1]. + * The inner padding determines the ratio of the range that is reserved for blank space between bands. + * + * The default setting is 0. + * + * @param padding Value for inner padding in [0, 1] interval. + */ + paddingInner(padding: number): this; + + /** + * Returns the current outer padding which defaults to 0. + */ + paddingOuter(): number; + /** + * Sets the outer padding to the specified value which must be in the range [0, 1]. + * The outer padding determines the ratio of the range that is reserved for blank space before the first band and after the last band. + * + * The default setting is 0. + * + * @param padding Value for outer padding in [0, 1] interval. + */ + paddingOuter(padding: number): this; + + /** + * Returns the inner padding. + */ + padding(): number; + /** + * A convenience method for setting the inner and outer padding to the same padding value. + * + * @param padding Value for inner and outer padding in [0, 1] interval. + */ + padding(padding: number): this; + + /** + * Returns the current alignment which defaults to 0.5. + */ + align(): number; + /** + * Sets the alignment to the specified value which must be in the range [0, 1]. + * + * The default is 0.5. + * + * The alignment determines how any leftover unused space in the range is distributed. + * A value of 0.5 indicates that the leftover space should be equally distributed before the first band and after the last band; + * i.e., the bands should be centered within the range. A value of 0 or 1 may be used to shift the bands to one side, say to position them adjacent to an axis. + * + * @param align Value for alignment setting in [0, 1] interval. + */ + align(align: number): this; + + /** + * Returns the width of each band. + */ + bandwidth(): number; + + /** + * Returns the distance between the starts of adjacent bands. + */ + step(): number; + + /** + * Returns an exact copy of this scale. Changes to this scale will not affect the returned scale, and vice versa. + */ + copy(): this; +} + +/** + * Constructs a new band scale with the empty domain, the unit range [0, 1], no padding, no rounding and center alignment. + */ +export function scaleBand(): ScaleBand; +/** + * Constructs a new band scale with the empty domain, the unit range [0, 1], no padding, no rounding and center alignment. + * + * The generic correponds to the data type of domain elements. + */ +export function scaleBand(): ScaleBand; + +// ------------------------------------------------------------------------------- +// Point Scale Factory +// ------------------------------------------------------------------------------- + +/** + * Point scales are a variant of band scales with the bandwidth fixed to zero. + * Point scales are typically used for scatterplots with an ordinal or categorical dimension. + * The unknown value of a point scale is always undefined: they do not allow implicit domain construction. + * + * The generic corresponds to the data type of domain elements. + */ +export interface ScalePoint { + /** + * Given a value in the input domain, returns the corresponding point derived from the output range. + * If the given value is not in the scale’s domain, returns undefined. + * + * @param x A value from the domain. + */ + (x: Domain): number | undefined; + + /** + * Returns the scale's current domain. + */ + domain(): Domain[]; + /** + * Sets the domain to the specified array of values. The first element in domain will be mapped to the first point, the second domain value to the second point, and so on. + * Domain values are stored internally in a map from stringified value to index; the resulting index is then used to determine the point. + * Thus, a point scale’s values must be coercible to a string, and the stringified version of the domain value uniquely identifies the corresponding point. + * + * @param domain Array of domain values. + */ + domain(domain: Domain[] | ReadonlyArray): this; + + /** + * Returns the scale’s current range, which defaults to [0, 1]. + */ + range(): [number, number]; + /** + * Sets the scale’s range to the specified two-element array of numbers. + * If the elements in the given array are not numbers, they will be coerced to numbers. + * The default range is [0, 1]. + * + * @param range A two-element array of numeric values. + */ + range(range: [number | { valueOf(): number }, number | { valueOf(): number }]): this; + + /** + * Sets the scale’s range to the specified two-element array of numbers while also enabling rounding. + * If the elements in the given array are not numbers, they will be coerced to numbers. + * + * Rounding is sometimes useful for avoiding antialiasing artifacts, though also consider the shape-rendering “crispEdges” styles. + * + * @param range A two-element array of numeric values. + */ + rangeRound(range: [number | { valueOf(): number }, number | { valueOf(): number }]): this; + + /** + * Returns the current rounding status for the scale: enabled (= true) or disabled (= false). + */ + round(): boolean; + /** + * Enables or disables rounding accordingly. If rounding is enabled, the position of each point will be integers. + * Rounding is sometimes useful for avoiding antialiasing artifacts, though also consider the shape-rendering “crispEdges” styles. + * Note that if the width of the domain is not a multiple of the cardinality of the range, there may be leftover unused space, even without padding! + * Use point.align to specify how the leftover space is distributed. + * + * @param round Enable rounding (= true), disable rounding (= false). + */ + round(round: boolean): this; + + /** + * Returns the current outer padding which defaults to 0. + * The outer padding determines the ratio of the range that is reserved for blank space + * before the first point and after the last point. + * + */ + padding(): number; + /** + * Sets the outer padding to the specified value which must be in the range [0, 1]. + * The outer padding determines the ratio of the range that is reserved for blank space + * before the first point and after the last point. + * + * The default is 0. + * + * @param padding Value for outer padding in [0, 1] interval. + */ + padding(padding: number): this; + + /** + * Returns the current alignment which defaults to 0.5. + */ + align(): number; + /** + * Sets the alignment to the specified value which must be in the range [0, 1]. + * + * The alignment determines how any leftover unused space in the range is distributed. + * A value of 0.5 indicates that the leftover space should be equally distributed before the first point and after the last point; + * i.e., the points should be centered within the range. A value of 0 or 1 may be used to shift the points to one side, say to position them adjacent to an axis. + * + * The default value is 0.5. + * + * @param align Value for alignment setting in [0, 1] interval. + */ + align(align: number): this; + + /** + * Return 0. + */ + bandwidth(): number; + + /** + * Returns the distance between the starts of adjacent points. + */ + step(): number; + + /** + * Returns an exact copy of this scale. Changes to this scale will not affect the returned scale, and vice versa. + */ + copy(): this; +} + +/** + * Constructs a new point scale with the empty domain, the unit range [0, 1], no padding, no rounding and center alignment. + */ +export function scalePoint(): ScalePoint; +/** + * Constructs a new point scale with the empty domain, the unit range [0, 1], no padding, no rounding and center alignment. + * + * The generic corresponds to the data type of domain elements. + */ +export function scalePoint(): ScalePoint; + +// ------------------------------------------------------------------------------- +// Categorical Color Schemas for Ordinal Scales +// ------------------------------------------------------------------------------- + +/** + * An array of ten categorical colors represented as RGB hexadecimal strings. + */ +export const schemeCategory10: string[]; + +/** + * An array of twenty categorical colors represented as RGB hexadecimal strings. + */ +export const schemeCategory20: string[]; + +/** + * An array of twenty categorical colors represented as RGB hexadecimal strings. + */ +export const schemeCategory20b: string[]; + +/** + * An array of twenty categorical colors represented as RGB hexadecimal strings. + * This color scale includes color specifications and designs developed by Cynthia Brewer (colorbrewer2.org). + */ +export const schemeCategory20c: string[]; diff --git a/types/d3-scale/v1/tsconfig.json b/types/d3-scale/v1/tsconfig.json new file mode 100644 index 0000000000..d0a2eef03f --- /dev/null +++ b/types/d3-scale/v1/tsconfig.json @@ -0,0 +1,28 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../../", + "typeRoots": [ + "../../" + ], + "paths": { + "d3-scale": ["d3-scale/v1"] + }, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "d3-scale-tests.ts" + ] +} diff --git a/types/d3-scale/v1/tslint.json b/types/d3-scale/v1/tslint.json new file mode 100644 index 0000000000..9846c79a4d --- /dev/null +++ b/types/d3-scale/v1/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "unified-signatures": false, + "callable-types": false, + "no-unnecessary-generics": false + } +} From 8a502167432f5ff26b51451cacff9978cd1241e9 Mon Sep 17 00:00:00 2001 From: Tom Wanzek Date: Thu, 8 Feb 2018 17:09:07 -0500 Subject: [PATCH 285/463] feat(d3): update d3 to major version 5 BREAKING CHANGE: * feat(d3) :add d3-contour, d3-fetch, and d3-scale-chromatic * refactor(d3): remove d3-request and d3-queue in favour of d3-fetch * chore(d3): update major version number to 5.0 * chore(d3): move legacy 4.x definitions with old dependencies into `v4` folder. Apply path-mapping to d3-scale v1 and d3 v4. Update minor version number to 4.13 --- types/d3/index.d.ts | 12 +++++++++--- types/d3/v4/d3-tests.ts | 7 +++++++ types/d3/v4/index.d.ts | 41 +++++++++++++++++++++++++++++++++++++++ types/d3/v4/tsconfig.json | 29 +++++++++++++++++++++++++++ types/d3/v4/tslint.json | 1 + 5 files changed, 87 insertions(+), 3 deletions(-) create mode 100644 types/d3/v4/d3-tests.ts create mode 100644 types/d3/v4/index.d.ts create mode 100644 types/d3/v4/tsconfig.json create mode 100644 types/d3/v4/tslint.json diff --git a/types/d3/index.d.ts b/types/d3/index.d.ts index de522828ff..8b44deac1a 100644 --- a/types/d3/index.d.ts +++ b/types/d3/index.d.ts @@ -1,9 +1,14 @@ -// Type definitions for D3JS d3 standard bundle 4.12 +// Type definitions for D3JS d3 standard bundle 5.0 // Project: https://github.com/d3/d3 // Definitions by: Tom Wanzek , Alex Ford , Boris Yankov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 +// Last module patch version validated against: 5.0.0 RC3 + +// NOTE TO MAINTAINERS: Review D3 v4.x module dependencies (see v4 sub-folder) and update its path-mappings in tsconfig (v4 folder), +// if new MAJOR version of D3 v4 modules are released!!! + export as namespace d3; export const version: string; @@ -13,10 +18,12 @@ export * from 'd3-brush'; export * from 'd3-chord'; export * from 'd3-collection'; export * from 'd3-color'; +export * from 'd3-contour'; export * from 'd3-dispatch'; export * from 'd3-drag'; export * from 'd3-dsv'; export * from 'd3-ease'; +export * from 'd3-fetch'; export * from 'd3-force'; export * from 'd3-format'; export * from 'd3-geo'; @@ -25,10 +32,9 @@ export * from 'd3-interpolate'; export * from 'd3-path'; export * from 'd3-polygon'; export * from 'd3-quadtree'; -export * from 'd3-queue'; export * from 'd3-random'; -export * from 'd3-request'; export * from 'd3-scale'; +export * from 'd3-scale-chromatic'; export * from 'd3-selection'; export * from 'd3-shape'; export * from 'd3-time'; diff --git a/types/d3/v4/d3-tests.ts b/types/d3/v4/d3-tests.ts new file mode 100644 index 0000000000..3942256a76 --- /dev/null +++ b/types/d3/v4/d3-tests.ts @@ -0,0 +1,7 @@ +import * as d3 from 'd3'; + +const version: string = d3.version; + +// NOTE: Tests for all re-exports of consituent D3 modules are omitted as excessive. +// The standard bundle definition is a straightforward pass-through with the exception of the +// above tested "version" property. diff --git a/types/d3/v4/index.d.ts b/types/d3/v4/index.d.ts new file mode 100644 index 0000000000..b4b784884b --- /dev/null +++ b/types/d3/v4/index.d.ts @@ -0,0 +1,41 @@ +// Type definitions for D3JS d3 standard bundle 4.13 +// Project: https://github.com/d3/d3 +// Definitions by: Tom Wanzek , Alex Ford , Boris Yankov +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// NOTE TO MAINTAINERS: Review and update path-mappings in tsconfig, if new major version of D3 v4 modules are released!!! + +export as namespace d3; + +export const version: string; +export * from 'd3-array'; +export * from 'd3-axis'; +export * from 'd3-brush'; +export * from 'd3-chord'; +export * from 'd3-collection'; +export * from 'd3-color'; +export * from 'd3-dispatch'; +export * from 'd3-drag'; +export * from 'd3-dsv'; +export * from 'd3-ease'; +export * from 'd3-force'; +export * from 'd3-format'; +export * from 'd3-geo'; +export * from 'd3-hierarchy'; +export * from 'd3-interpolate'; +export * from 'd3-path'; +export * from 'd3-polygon'; +export * from 'd3-quadtree'; +export * from 'd3-queue'; +export * from 'd3-random'; +export * from 'd3-request'; +export * from 'd3-scale'; +export * from 'd3-selection'; +export * from 'd3-shape'; +export * from 'd3-time'; +export * from 'd3-time-format'; +export * from 'd3-timer'; +export * from 'd3-transition'; +export * from 'd3-voronoi'; +export * from 'd3-zoom'; diff --git a/types/d3/v4/tsconfig.json b/types/d3/v4/tsconfig.json new file mode 100644 index 0000000000..f454459222 --- /dev/null +++ b/types/d3/v4/tsconfig.json @@ -0,0 +1,29 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../../", + "typeRoots": [ + "../../" + ], + "paths": { + "d3-scale": ["d3-scale/v1"], + "d3": ["d3/v4"] + }, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "d3-tests.ts" + ] +} diff --git a/types/d3/v4/tslint.json b/types/d3/v4/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/d3/v4/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From cb107eb9f75c55860dd3b73a2ce849177083d463 Mon Sep 17 00:00:00 2001 From: s0m3on3 Date: Fri, 9 Feb 2018 02:54:20 +0200 Subject: [PATCH 286/463] [adone] fixes, additions * fix std imports * [crypto] add asn1, secp256k1, ed25519 * add text, templating, regex, semver, system --- types/adone/glosses/crypto/asn1.d.ts | 597 ++++ types/adone/glosses/crypto/ed25519.d.ts | 20 + types/adone/glosses/crypto/index.d.ts | 9 + types/adone/glosses/crypto/secp256k1.d.ts | 127 + types/adone/glosses/regex.d.ts | 25 + types/adone/glosses/semver.d.ts | 237 ++ types/adone/glosses/std.d.ts | 60 +- types/adone/glosses/system/env.d.ts | 19 + types/adone/glosses/system/index.d.ts | 9 + types/adone/glosses/system/process.d.ts | 241 ++ types/adone/glosses/system/user.d.ts | 31 + types/adone/glosses/templating/dot.d.ts | 41 + types/adone/glosses/templating/index.d.ts | 8 + types/adone/glosses/templating/nunjucks.d.ts | 121 + types/adone/glosses/text/index.d.ts | 77 + types/adone/glosses/text/pretties.d.ts | 55 + types/adone/glosses/text/spinners.d.ts | 468 +++ types/adone/glosses/text/table.d.ts | 73 + types/adone/glosses/text/unicode.d.ts | 137 + types/adone/index.d.ts | 8 +- types/adone/test/glosses/crypto/asn1.ts | 3183 +++++++++++++++++ types/adone/test/glosses/crypto/ed25519.ts | 28 + types/adone/test/glosses/crypto/secp256k1.ts | 97 + types/adone/test/glosses/regex.ts | 17 + types/adone/test/glosses/semver.ts | 131 + types/adone/test/glosses/system/env.ts | 25 + types/adone/test/glosses/system/process.ts | 1200 +++++++ types/adone/test/glosses/system/user.ts | 22 + types/adone/test/glosses/templating/dot.ts | 70 + .../adone/test/glosses/templating/nunjucks.ts | 139 + types/adone/test/glosses/text/index.ts | 58 + types/adone/test/glosses/text/pretties.ts | 203 ++ types/adone/test/glosses/text/spinners.ts | 41 + types/adone/test/glosses/text/table.ts | 65 + types/adone/test/glosses/text/unicode.ts | 135 + types/adone/tsconfig.json | 107 +- 36 files changed, 7816 insertions(+), 68 deletions(-) create mode 100644 types/adone/glosses/crypto/asn1.d.ts create mode 100644 types/adone/glosses/crypto/ed25519.d.ts create mode 100644 types/adone/glosses/crypto/index.d.ts create mode 100644 types/adone/glosses/crypto/secp256k1.d.ts create mode 100644 types/adone/glosses/regex.d.ts create mode 100644 types/adone/glosses/semver.d.ts create mode 100644 types/adone/glosses/system/env.d.ts create mode 100644 types/adone/glosses/system/index.d.ts create mode 100644 types/adone/glosses/system/process.d.ts create mode 100644 types/adone/glosses/system/user.d.ts create mode 100644 types/adone/glosses/templating/dot.d.ts create mode 100644 types/adone/glosses/templating/index.d.ts create mode 100644 types/adone/glosses/templating/nunjucks.d.ts create mode 100644 types/adone/glosses/text/index.d.ts create mode 100644 types/adone/glosses/text/pretties.d.ts create mode 100644 types/adone/glosses/text/spinners.d.ts create mode 100644 types/adone/glosses/text/table.d.ts create mode 100644 types/adone/glosses/text/unicode.d.ts create mode 100644 types/adone/test/glosses/crypto/asn1.ts create mode 100644 types/adone/test/glosses/crypto/ed25519.ts create mode 100644 types/adone/test/glosses/crypto/secp256k1.ts create mode 100644 types/adone/test/glosses/regex.ts create mode 100644 types/adone/test/glosses/semver.ts create mode 100644 types/adone/test/glosses/system/env.ts create mode 100644 types/adone/test/glosses/system/process.ts create mode 100644 types/adone/test/glosses/system/user.ts create mode 100644 types/adone/test/glosses/templating/dot.ts create mode 100644 types/adone/test/glosses/templating/nunjucks.ts create mode 100644 types/adone/test/glosses/text/index.ts create mode 100644 types/adone/test/glosses/text/pretties.ts create mode 100644 types/adone/test/glosses/text/spinners.ts create mode 100644 types/adone/test/glosses/text/table.ts create mode 100644 types/adone/test/glosses/text/unicode.ts diff --git a/types/adone/glosses/crypto/asn1.d.ts b/types/adone/glosses/crypto/asn1.d.ts new file mode 100644 index 0000000000..2c4f2134a0 --- /dev/null +++ b/types/adone/glosses/crypto/asn1.d.ts @@ -0,0 +1,597 @@ +declare namespace adone.crypto { + namespace asn1 { + namespace I { + interface LocalBaseBlockParams { + blockLength?: number; + error?: string; + warnings?: string[]; + valueBeforeDecode?: ArrayBuffer; + } + + interface JsonLocalBaseBlock { + blockName: string; + blockLength: number; + error: string; + warnings: string[]; + valueBeforeDecode: ArrayBuffer; + } + + class LocalBaseBlock { + blockLength: number; + error: string; + warnings: string[]; + valueBeforeDecode: ArrayBuffer; + + constructor(params?: LocalBaseBlockParams); + /** + * Aux function, need to get a block name. Need to have it here for inhiritence + */ + static blockName(): string; + /** + * Convertion for the block to JSON object + */ + toJSON(): JsonLocalBaseBlock; + } + + interface LocalHexBlockParams extends LocalBaseBlockParams { + isHexOnly?: boolean; + valueHex?: ArrayBuffer; + } + + class LocalHexBlock { + isHexOnly: boolean; + + valueHex: ArrayBuffer; + + constructor(params: any); + + /** + * Aux function, need to get a block name. Need to have it here for inhiritence + */ + static blockName(): string; + + /** + * Base function for converting block from BER encoded array of bytes + * + * @param inputBuffer ASN.1 BER encoded array + * @param inputOffset Offset in ASN.1 BER encoded array where decoding should be started + * @param inputLength Maximum length of array of bytes which can be using in this function + */ + fromBER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number): number; + + /** + * Encoding of current ASN.1 block into ASN.1 encoded array (BER rules) + * + * @param sizeOnly Flag that we need only a size of encoding, not a real array of bytes + */ + toBER(sizeOnly?: boolean): ArrayBuffer; + + /** + * Convertion for the block to JSON object + */ + toJSON(): any; + } + + interface LocalIdentificationBlockParams { + idBlock?: LocalHexBlockParams & { + isConstructed?: boolean; + tagClass?: number; + tagNumber?: number; + }; + } + + class LocalIdentificationBlock extends LocalBaseBlock { + isConstructed: boolean; + + tagClass: number; + + tagNumber: number; + + constructor(params?: LocalIdentificationBlockParams); + + // ILocalHexBlock implementation + isHexOnly: boolean; + valueHex: ArrayBuffer; + fromBER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number): number; + toBER(sizeOnly?: boolean): ArrayBuffer; + } + + interface LocalLengthBlockParams { + lenBlock?: { + isIndefiniteForm?: boolean; + longFormUsed?: boolean; + length: number; + }; + } + + class LocalLengthBlock extends LocalBaseBlock { + isIndefiniteForm: boolean; + longFormUsed: boolean; + length: number; + constructor(params?: LocalLengthBlockParams); + fromBER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number): void; + toBER(sizeOnly?: boolean): ArrayBuffer; + } + + class LocalValueBlock extends LocalBaseBlock { + fromBER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number): void; + toBER(sizeOnly?: boolean): ArrayBuffer; + } + + interface BaseBlockParams extends LocalBaseBlockParams { + name?: string; + optional?: boolean; + primitiveSchema?: object; + } + + interface LocalPrimitiveValueBlockParams extends LocalBaseBlockParams { + valueHex?: ArrayBuffer; + isHexOnly?: boolean; + } + + class LocalPrimitiveValueBlock extends LocalValueBlock { + valueHex: ArrayBuffer; + isHexOnly: boolean; + fromBER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number): number; + toBER(sizeOnly?: boolean): ArrayBuffer; + } + + interface LocalConstructedValueBlockParams extends LocalBaseBlockParams { + value?: LocalValueBlock; + isIndefiniteForm?: boolean; + } + + class LocalConstructedValueBlock extends LocalValueBlock { + value: LocalValueBlock[]; + isIndefiniteForm: boolean; + fromBER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number): number; + toBER(sizeOnly?: boolean): ArrayBuffer; + } + + class LocalEndOfContentValueBlock extends LocalValueBlock { + constructor(params?: LocalBaseBlockParams); + fromBER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number): number; + toBER(sizeOnly?: boolean): ArrayBuffer; + } + + interface LocalBooleanValueBlockParams extends LocalBaseBlockParams { + value?: boolean; + isHexOnly?: boolean; + valueHex?: ArrayBuffer; + } + + class LocalBooleanValueBlock extends LocalValueBlock { + value: boolean; + isHexOnly: boolean; + valueHex: ArrayBuffer; + fromBER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number): number; + toBER(sizeOnly?: boolean): ArrayBuffer; + } + + interface LocalOctetStringValueBlockParams extends LocalConstructedValueBlockParams, LocalHexBlockParams { + isConstructed?: boolean; + } + + class LocalOctetStringValueBlock extends LocalConstructedValueBlock { + isConstructed: boolean; + isHexOnly: boolean; + valueHex: ArrayBuffer; + + constructor(params?: LocalOctetStringValueBlockParams); + } + + interface LocalBitStringValueBlockParams extends LocalConstructedValueBlockParams, LocalHexBlockParams { + unusedBits?: number; + isConstructed?: boolean; + blockLength?: number; + } + + class LocalBitStringValueBlock extends LocalConstructedValueBlock implements LocalHexBlock { + unusedBits: number; + isConstructed: boolean; + blockLength: number; + isHexOnly: boolean; + valueHex: ArrayBuffer; + constructor(params?: LocalBitStringValueBlockParams); + } + + interface LocalIntegerValueBlockParams extends LocalBaseBlockParams, LocalHexBlockParams { + } + + class LocalIntegerValueBlock extends LocalValueBlock implements LocalHexBlock { + valueDec: number; + isHexOnly: boolean; + valueHex: ArrayBuffer; + constructor(params?: LocalIntegerValueBlockParams); + fromBER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number): number; + toBER(sizeOnly?: boolean): ArrayBuffer; + /** + * Base function for converting block from DER encoded array of bytes + * + * @param inputBuffer ASN.1 DER encoded array + * @param inputOffset Offset in ASN.1 DER encoded array where decoding should be started + * @param inputLength Maximum length of array of bytes which can be using in this function + * @param expectedLength Expected length of converted "valueHex" buffer + */ + fromDER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number, expectedLength?: number): number; + /** + * Encoding of current ASN.1 block into ASN.1 encoded array (DER rules) + * + * @param sizeOnly Flag that we need only a size of encoding, not a real array of bytes + */ + toDER(sizeOnly?: boolean): ArrayBuffer; + } + + interface IntegerParams { + value?: number; + } + + interface LocalSidValueBlockParams extends LocalBaseBlockParams, LocalHexBlockParams { + valueDec?: number; + isFirstSid?: boolean; + } + + class LocalSidValueBlock extends LocalBaseBlock implements LocalHexBlock { + valueDec: number; + isFirstSid: boolean; + isHexOnly: boolean; + valueHex: ArrayBuffer; + constructor(params?: LocalSidValueBlockParams); + fromBER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number): number; + toBER(sizeOnly?: boolean): ArrayBuffer; + toString(): string; + } + + interface LocalObjectIdentifierValueBlockParams extends LocalBaseBlockParams { + value?: string; + } + + class LocalObjectIdentifierValueBlock extends LocalValueBlock { + constructor(params?: LocalObjectIdentifierValueBlockParams); + + /** + * Create "LocalObjectIdentifierValueBlock" class from string + * + * @param string Input string to convert from + */ + fromString(data: string): boolean; + /** + * Converts "LocalObjectIdentifierValueBlock" class to string + */ + toString(): string; + } + + interface LocalUtf8StringValueBlockParams extends LocalBaseBlockParams, LocalHexBlock { + } + + class LocalUtf8StringValueBlock extends LocalBaseBlock implements LocalHexBlock { + isHexOnly: boolean; + valueHex: ArrayBuffer; + constructor(params?: LocalSidValueBlockParams); + fromBER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number): number; + toBER(sizeOnly?: boolean): ArrayBuffer; + toString(): string; + } + + interface Utf8StringParams { + value?: string; + } + + interface LocalBmpStringValueBlockParams extends LocalHexBlockParams, LocalBaseBlockParams { + } + + class LocalBmpStringValueBlock extends LocalBaseBlock implements LocalHexBlock { + value: string; + isHexOnly: boolean; + valueHex: ArrayBuffer; + + constructor(params?: LocalBmpStringValueBlockParams); + + fromBER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number): number; + toBER(sizeOnly?: boolean): ArrayBuffer; + } + + interface LocalUniversalStringValueParams extends LocalHexBlockParams, LocalBaseBlockParams { + } + + class LocalUniversalStringValueBlock extends LocalBaseBlock implements LocalHexBlock { + value: string; + isHexOnly: boolean; + valueHex: ArrayBuffer; + + constructor(params?: LocalUniversalStringValueParams); + + fromBER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number): number; + toBER(sizeOnly?: boolean): ArrayBuffer; + } + + interface LocalSimpleLocalSimpleStringValueBlockParams extends LocalHexBlockParams, LocalBaseBlockParams { + } + + class LocalSimpleLocalSimpleStringValueBlock extends LocalBaseBlock implements LocalHexBlock { + value: string; + isHexOnly: boolean; + valueHex: ArrayBuffer; + + constructor(params?: LocalSimpleLocalSimpleStringValueBlockParams); + + fromBER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number): number; + toBER(sizeOnly?: boolean): ArrayBuffer; + } + + interface LocalSimpleStringBlockParams { + value?: string; + } + + class LocalSimpleStringBlock extends BaseBlock { + constructor(params?: LocalSimpleStringBlockParams); + /** + * Function converting ArrayBuffer into ASN.1 internal string + * + * @param inputBuffer ASN.1 BER encoded array + */ + fromBuffer(inputBuffer: ArrayBuffer): void; + /** + * Function converting JavaScript string into ASN.1 internal class + * + * @param inputString ASN.1 BER encoded array + */ + fromString(inputString: string): void; + } + + interface BmpStringParams { + value?: string; + } + + interface UniversalStringParams { + value?: string; + } + + interface UTCTimeParams extends LocalSimpleLocalSimpleStringValueBlockParams { + value?: string; + valueDate?: Date; + } + + interface ChoiceParams { + value?: LocalValueBlock[]; + optional?: boolean; + } + + interface AnyParams { + name?: string; + optional?: boolean; + } + + interface RepeatedParams { + name?: string; + optional?: boolean; + value?: Any; + local?: boolean; + } + + interface RawDataParams { + data?: ArrayBuffer; + } + } + + class BaseBlock extends I.LocalBaseBlock { + constructor(parameters?: I.BaseBlockParams, valueBlockType?: typeof I.LocalValueBlock); + idBlock: I.LocalIdentificationBlock; + lenBlock: I.LocalLengthBlock; + valueBlock: T; + fromBER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number): number; + toBER(sizeOnly?: boolean): ArrayBuffer; + } + + class Primitive extends BaseBlock { + } + + class Constructed extends BaseBlock { } + + class EndOfContent extends BaseBlock { } + + class Boolean extends BaseBlock { } + + class Sequence extends Constructed { } + + class Set extends Constructed { } + + class Null extends BaseBlock { } + + class OctetString extends BaseBlock { + constructor(params?: I.LocalOctetStringValueBlockParams); + /** + * Checking that two OCTETSTRINGs are equal + */ + isEqual(octetString: OctetString): boolean; + } + + class BitString extends BaseBlock { + constructor(params?: I.LocalBitStringValueBlockParams); + /** + * Checking that two BITSTRINGs are equal + * @param bitString + */ + isEqual(bitString: BitString): boolean; + } + + class Integer extends BaseBlock { + constructor(params?: I.IntegerParams) + /** + * Compare two Integer object, or Integer and ArrayBuffer objects + */ + isEqual(otherValue: Integer | ArrayBuffer): boolean; + /** + * Convert current Integer value from BER into DER format + */ + convertToDER(): Integer; + /** + * Convert current Integer value from DER to BER format + */ + convertFromDER(): Integer; + } + + class Enumerated extends Integer { } + + class ObjectIdentifier extends BaseBlock { + constructor(params?: I.LocalObjectIdentifierValueBlockParams); + } + + class Utf8String extends BaseBlock { + constructor(params?: I.Utf8StringParams); + /** + * Function converting ArrayBuffer into ASN.1 internal string + * + * @param inputBuffer ASN.1 BER encoded array + */ + fromBuffer(inputBuffer: ArrayBuffer): void; + /** + * Function converting JavaScript string into ASN.1 internal class + * + * @param inputString ASN.1 BER encoded array + */ + fromString(inputString: string): void; + } + + class BmpString extends BaseBlock { + constructor(params?: I.BmpStringParams); + /** + * Function converting ArrayBuffer into ASN.1 internal string + * + * @param inputBuffer ASN.1 BER encoded array + */ + fromBuffer(inputBuffer: ArrayBuffer): void; + /** + * Function converting JavaScript string into ASN.1 internal class + * + * @param inputString ASN.1 BER encoded array + */ + fromString(inputString: string): void; + } + + class UniversalString extends BaseBlock { + constructor(params?: I.UniversalStringParams); + /** + * Function converting ArrayBuffer into ASN.1 internal string + * + * @param inputBuffer ASN.1 BER encoded array + */ + fromBuffer(inputBuffer: ArrayBuffer): void; + /** + * Function converting JavaScript string into ASN.1 internal class + * + * @param inputString ASN.1 BER encoded array + */ + fromString(inputString: string): void; + } + + class NumericString extends I.LocalSimpleStringBlock { } + + class PrintableString extends I.LocalSimpleStringBlock { } + + class TeletexString extends I.LocalSimpleStringBlock { } + + class VideotexString extends I.LocalSimpleStringBlock { } + + class IA5String extends I.LocalSimpleStringBlock { } + + class GraphicString extends I.LocalSimpleStringBlock { } + + class VisibleString extends I.LocalSimpleStringBlock { } + + class GeneralString extends I.LocalSimpleStringBlock { } + + class CharacterString extends I.LocalSimpleStringBlock { } + + class UTCTime extends VisibleString { + year: number; + month: number; + day: number; + hour: number; + minute: number; + second: number; + constructor(params?: I.UTCTimeParams); + /** + * Function converting ASN.1 internal string into ArrayBuffer + */ + toBuffer(): ArrayBuffer; + /** + * Function converting "Date" object into ASN.1 internal string + * + * @param inputDate JavaScript "Date" object + */ + fromDate(inputDate: Date): void; + /** + * Function converting ASN.1 internal string into "Date" object + */ + toDate(): Date; + } + + class GeneralizedTime extends UTCTime { + millisecond: number; + } + + class DATE extends Utf8String { } + + class TimeOfDay extends Utf8String { } + + class DateTime extends Utf8String { } + + class Duration extends Utf8String { } + + class TIME extends Utf8String { } + + class Choice { + value: I.LocalValueBlock[]; + optional: boolean; + constructor(params?: I.ChoiceParams); + } + + class Any { + name: string; + optional: boolean; + constructor(params?: I.AnyParams); + } + + class Repeated { + name: string; + optional: boolean; + value: Any; + local: boolean; + constructor(params?: I.RepeatedParams); + } + + class RawData { + data: ArrayBuffer; + + constructor(params?: I.RawDataParams); + + fromBER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number): number; + toBER(sizeOnly?: boolean): ArrayBuffer; + } + + /** + * Major function for decoding ASN.1 BER array into internal library structuries + * + * @param inputBuffer ASN.1 BER encoded array of bytes + */ + function fromBER(inputBuffer: ArrayBuffer): { offset: number; result: I.LocalBaseBlock }; + + /** + * Compare of two ASN.1 object trees + * + * @param root Root of input ASN.1 object tree + * @param inputData Input ASN.1 object tree + * @param inputSchema Input ASN.1 schema to compare with + */ + function compareSchema(root: any, inputData: any, inputSchema: any): { verified: boolean, result?: any }; + + /** + * ASN.1 schema verification for ArrayBuffer data + * + * @param inputBuffer Input BER-encoded ASN.1 data + * @param inputSchema Input ASN.1 schema to verify against to + */ + function verifySchema(inputBuffer: ArrayBuffer, inputSchema: any): { verified: boolean, result?: any }; + } +} diff --git a/types/adone/glosses/crypto/ed25519.d.ts b/types/adone/glosses/crypto/ed25519.d.ts new file mode 100644 index 0000000000..7e4f6e2f33 --- /dev/null +++ b/types/adone/glosses/crypto/ed25519.d.ts @@ -0,0 +1,20 @@ +declare namespace adone.crypto { + namespace ed25519 { + const publicKeyLength: number; + + const privateKeyLength: number; + + namespace I { + interface KeyPair { + publicKey: Buffer; + privateKey: Buffer; + } + } + + function generateKeyPair(seed: Buffer): I.KeyPair; + + function sign(message: Buffer, seed: Buffer | I.KeyPair): Buffer; + + function verify(message: Buffer, signature: Buffer, publicKey: Buffer): boolean; + } +} diff --git a/types/adone/glosses/crypto/index.d.ts b/types/adone/glosses/crypto/index.d.ts new file mode 100644 index 0000000000..ea4b76967f --- /dev/null +++ b/types/adone/glosses/crypto/index.d.ts @@ -0,0 +1,9 @@ +/// +/// +/// + +declare namespace adone { + namespace crypto { + // + } +} diff --git a/types/adone/glosses/crypto/secp256k1.d.ts b/types/adone/glosses/crypto/secp256k1.d.ts new file mode 100644 index 0000000000..87167cc441 --- /dev/null +++ b/types/adone/glosses/crypto/secp256k1.d.ts @@ -0,0 +1,127 @@ +declare namespace adone.crypto { + namespace secp256k1 { + /** + * Verifies an ECDSA privateKey + */ + function privateKeyVerify(privateKey: Buffer): boolean; + + /** + * Exports a privateKey in DER format + */ + function privateKeyExport(privateKey: Buffer, compressed?: boolean): Buffer; + + /** + * Imports a privateKey in DER format + */ + function privateKeyImport(privateKey: Buffer): Buffer; + + /** + * Negates a privateKey by subtracting it from the order of the curve's base point + */ + function privateKeyNegate(privateKey: Buffer): Buffer; + + /** + * Computes the inverse of a privateKey (modulo the order of the curve's base point) + */ + function privateKeyModInverse(privateKey: Buffer): Buffer; + + /** + * Tweaks a privateKey by adding tweak to it + */ + function privateKeyTweakAdd(privateKey: Buffer, tweak: Buffer): Buffer; + + /** + * Tweaks a privateKey by multiplying it by a tweak + */ + function privateKeyTweakMul(privateKey: Buffer, tweak: Buffer): Buffer; + + /** + * Computes the public key for a privateKey + */ + function publicKeyCreate(privateKey: Buffer, compressed?: boolean): Buffer; + + /** + * Converts a publicKey to compressed or uncompressed form + */ + function publicKeyConvert(publicKey: Buffer, compressed?: boolean): Buffer; + + /** + * Verifies an ECDSA publicKey + */ + function publicKeyVerify(publicKey: Buffer): boolean; + + /** + * Tweaks a publicKey by adding tweak times the generator to it + */ + function publicKeyTweakAdd(publicKey: Buffer, tweak: Buffer, compressed?: boolean): Buffer; + + /** + * Tweaks a publicKey by multiplying it by a tweak value + */ + function publicKeyTweakMul(publicKey: Buffer, tweak: Buffer, compressed?: boolean): Buffer; + + /** + * Adds a given publicKeys together + */ + function publicKeyCombine(publicKeys: Buffer[], compressed?: boolean): Buffer; + + /** + * Converts a signature to a normalized lower-S form + */ + function signatureNormalize(signature: Buffer): Buffer; + + /** + * Serializes an ECDSA signature in DER format + */ + function signatureExport(signature: Buffer): Buffer; + + /** + * Parse a DER ECDSA signature (follow by BIP66) + */ + function signatureImport(signature: Buffer): Buffer; + + /** + * Same as signatureImport but not follow by BIP66 + */ + function signatureImportLax(signature: Buffer): Buffer; + + namespace I { + interface SignOptions { + noncefn?: (message: Buffer, privateKey: Buffer, algo: Buffer, data: Buffer, attempt: number) => Buffer; + data?: Buffer | null; + } + + interface SignResult { + signature: Buffer; + recovery: number; + } + } + + /** + * Creates an ECDSA signature. Always return low-S signature. + */ + function sign(message: Buffer, privateKey: Buffer, options?: I.SignOptions): I.SignResult; + + /** + * Verifies an ECDSA signature + * + * Note: return false for high signatures! + */ + function verify(message: Buffer, signature: Buffer, publicKey: Buffer): boolean; + + /** + * Recovers an ECDSA public key from a signature + */ + function recover(message: Buffer, signature: Buffer, recovery: number, compressed?: boolean): Buffer; + + /** + * Computes an EC Diffie-Hellman secret and applied sha256 to compressed public key + */ + function ecdh(publicKey: Buffer, privateKey: Buffer): Buffer; + + /** + * Computes an EC Diffie-Hellman secret and return public key as result + */ + function ecdhUnsafe(publicKey: Buffer, privateKey: Buffer, compressed?: boolean): Buffer; + } +} diff --git a/types/adone/glosses/regex.d.ts b/types/adone/glosses/regex.d.ts new file mode 100644 index 0000000000..e5c3be642a --- /dev/null +++ b/types/adone/glosses/regex.d.ts @@ -0,0 +1,25 @@ +declare namespace adone { + namespace regex { + function filename(): RegExp; + + function ip4(): RegExp; + + function ip6(): RegExp; + + function protocol(): RegExp; + + function idn(): RegExp; + + function punycode(): RegExp; + + function uri(): RegExp; + + function uuid4(): RegExp; + + function uuid5(): RegExp; + + function ansi(): RegExp; + + function shebang(): RegExp; + } +} diff --git a/types/adone/glosses/semver.d.ts b/types/adone/glosses/semver.d.ts new file mode 100644 index 0000000000..6c78695600 --- /dev/null +++ b/types/adone/glosses/semver.d.ts @@ -0,0 +1,237 @@ +declare namespace adone { + namespace semver { + const SEMVER_SPEC_VERSION: "2.0.0"; + + namespace I { + type ReleaseType = "major" + | "premajor" + | "minor" + | "preminor" + | "patch" + | "prepatch" + | "prerelease"; + + type Operator = '===' + | "!==" + | "" + | "=" + | "==" + | "!=" + | ">" + | ">=" + | "<" + | "<="; + } + + /** + * Returns the parsed version as a SemVer object, or null if it's not valid. + */ + function parse(v: string | SemVer, loose?: boolean): SemVer | null; + + /** + * Returns the parsed version, or null if it's not valid. + */ + function valid(v: string | SemVer, loose?: boolean): string | null; + + /** + * Returns cleaned (removed leading/trailing whitespace, remove '=v' prefix) and parsed version, or null if version is invalid. + */ + function clean(version: string, loose?: boolean): string | null; + + /** + * Returns the version incremented by the release type (major, minor, patch, or prerelease), or null if it's not valid. + */ + function inc(v: string | SemVer, release: I.ReleaseType, loose?: boolean, identifier?: string): string | null; + + /** + * Returns the major version number. + */ + function major(v: string | SemVer, loose?: boolean): number; + + /** + * Returns the minor version number. + */ + function minor(v: string | SemVer, loose?: boolean): number; + + /** + * Returns the patch version number. + */ + function patch(v: string | SemVer, loose?: boolean): number; + + /** + * Returns an array of prerelease components, or null if none exist. + */ + function prerelease(v: string | SemVer, loose?: boolean): string[] | null; + + // Comparison + + /** + * v1 > v2 + */ + function gt(v1: string | SemVer, v2: string | SemVer, loose?: boolean): boolean; + + /** + * v1 >= v2 + */ + function gte(v1: string | SemVer, v2: string | SemVer, loose?: boolean): boolean; + + /** + * v1 < v2 + */ + function lt(v1: string | SemVer, v2: string | SemVer, loose?: boolean): boolean; + + /** + * v1 <= v2 + */ + function lte(v1: string | SemVer, v2: string | SemVer, loose?: boolean): boolean; + + /** + * v1 == v2 This is true if they're logically equivalent, even if they're not the exact same string. You already know how to compare strings. + */ + function eq(v1: string | SemVer, v2: string | SemVer, loose?: boolean): boolean; + + /** + * v1 != v2 The opposite of eq. + */ + function neq(v1: string | SemVer, v2: string | SemVer, loose?: boolean): boolean; + + /** + * Pass in a comparison string, and it'll call the corresponding semver comparison function. + * "===" and "!==" do simple string comparison, but are included for completeness. + * Throws if an invalid comparison string is provided. + */ + function cmp(v1: string | SemVer, operator: I.Operator, v2: string | SemVer, loose?: boolean): boolean; + + /** + * Returns 0 if v1 == v2, or 1 if v1 is greater, or -1 if v2 is greater. Sorts in ascending order if passed to Array.sort(). + */ + function compare(v1: string | SemVer, v2: string | SemVer, loose?: boolean): 1 | 0 | -1; + + /** + * The reverse of compare. Sorts an array of versions in descending order when passed to Array.sort(). + */ + function rcompare(v1: string | SemVer, v2: string | SemVer, loose?: boolean): 1 | 0 | -1; + + /** + * Compares two identifiers, must be numeric strings or truthy/falsy values. Sorts in ascending order if passed to Array.sort(). + */ + function compareIdentifiers(a: string | null, b: string | null): 1 | 0 | -1; + + /** + * The reverse of compareIdentifiers. Sorts in descending order when passed to Array.sort(). + */ + function rcompareIdentifiers(a: string | null, b: string | null): 1 | 0 | -1; + + /** + * Sorts an array of semver entries in ascending order. + */ + function sort(list: Array, loose?: boolean): Array; + + /** + * Sorts an array of semver entries in descending order. + */ + function rsort(list: Array, loose?: boolean): Array; + + /** + * Returns difference between two versions by the release type (major, premajor, minor, preminor, patch, prepatch, or prerelease), or null if the versions are the same. + */ + function diff(v1: string, v2: string, loose?: boolean): I.ReleaseType | null; + + // Ranges + + /** + * Returns the valid range or null if it's not valid + */ + function validRange(range: string | Range, loose?: boolean): string; + + /** + * Returns true if the version satisfies the range. + */ + function satisfies(version: string | SemVer, range: string | Range, loose?: boolean): boolean; + + /** + * Returns the highest version in the list that satisfies the range, or null if none of them do. + */ + function maxSatisfying(versions: Array, range: string | Range, loose?: boolean): string; + + /** + * Returns the lowest version in the list that satisfies the range, or null if none of them do. + */ + function minSatisfying(versions: Array, range: string, loose?: boolean): string; + + /** + * Returns true if version is greater than all the versions possible in the range. + */ + function gtr(version: string | SemVer, range: string | Range, loose?: boolean): boolean; + + /** + * Returns true if version is less than all the versions possible in the range. + */ + function ltr(version: string | SemVer, range: string | Range, loose?: boolean): boolean; + + /** + * Returns true if the version is outside the bounds of the range in either the high or low direction. + * The hilo argument must be either the string '>' or '<'. (This is the function called by gtr and ltr.) + */ + function outside(version: string | SemVer, range: string | Range, hilo: '>' | '<', loose?: boolean): boolean; + + /** + * Returns true if any of the ranges comparators intersect + */ + function intersects(range1: string | Range, range2: string | Range, loose?: boolean): boolean; + + // Coercion + + /** + * Coerces a string to semver if possible + */ + function coerce(version: string | SemVer): SemVer | null; + + class SemVer { + constructor(version: string | SemVer, loose?: boolean); + + raw: string; + loose: boolean; + format(): string; + inspect(): string; + + major: number; + minor: number; + patch: number; + version: string; + build: string[]; + prerelease: string[]; + + compare(other: string | SemVer): 1 | 0 | -1; + compareMain(other: string | SemVer): 1 | 0 | -1; + comparePre(other: string | SemVer): 1 | 0 | -1; + inc(release: I.ReleaseType, identifier?: string): SemVer; + } + + class Comparator { + constructor(comp: string | Comparator, loose?: boolean); + + semver: SemVer; + operator: string; + value: boolean; + parse(comp: string): void; + test(version: string | SemVer): boolean; + intersects(comp: Comparator, loose?: boolean): boolean; + } + + class Range { + constructor(range: string | Range, loose?: boolean); + + range: string; + raw: string; + loose: boolean; + format(): string; + inspect(): string; + + set: Comparator[][]; + parseRange(range: string): Comparator[]; + test(version: string | SemVer): boolean; + intersects(range: Range, loose?: boolean): boolean; + } + } +} diff --git a/types/adone/glosses/std.d.ts b/types/adone/glosses/std.d.ts index 58be35f3b5..dc2bb697c2 100644 --- a/types/adone/glosses/std.d.ts +++ b/types/adone/glosses/std.d.ts @@ -1,34 +1,34 @@ import assert = require("assert"); -import * as fs from "fs"; -import * as path from "path"; -import * as util from "util"; -import * as events from "events"; -import * as stream from "stream"; -import * as url from "url"; -import * as net from "net"; -import * as http from "http"; -import * as https from "https"; -import * as child_process from "child_process"; -import * as os from "os"; -import * as cluster from "cluster"; -import * as repl from "repl"; -import * as punycode from "punycode"; -import * as readline from "readline"; -import * as string_decoder from "string_decoder"; -import * as querystring from "querystring"; -import * as crypto from "crypto"; -import * as vm from "vm"; -import * as v8 from "v8"; -import * as domain from "domain"; -import * as tty from "tty"; -import * as buffer from "buffer"; -import * as constants from "constants"; -import * as zlib from "zlib"; -import * as tls from "tls"; -import * as console from "console"; -import * as dns from "dns"; -import * as timers from "timers"; -import * as dgram from "dgram"; +import fs = require("fs"); +import path = require("path"); +import util = require("util"); +import events = require("events"); +import stream = require("stream"); +import url = require("url"); +import net = require("net"); +import http = require("http"); +import https = require("https"); +import child_process = require("child_process"); +import os = require("os"); +import cluster = require("cluster"); +import repl = require("repl"); +import punycode = require("punycode"); +import readline = require("readline"); +import string_decoder = require("string_decoder"); +import querystring = require("querystring"); +import crypto = require("crypto"); +import vm = require("vm"); +import v8 = require("v8"); +import domain = require("domain"); +import tty = require("tty"); +import buffer = require("buffer"); +import constants = require("constants"); +import zlib = require("zlib"); +import tls = require("tls"); +import console = require("console"); +import dns = require("dns"); +import timers = require("timers"); +import dgram = require("dgram"); export { assert, diff --git a/types/adone/glosses/system/env.d.ts b/types/adone/glosses/system/env.d.ts new file mode 100644 index 0000000000..3ad18ab041 --- /dev/null +++ b/types/adone/glosses/system/env.d.ts @@ -0,0 +1,19 @@ +declare namespace adone.system { + namespace env { + function user(): string; + + function prompt(): string; + + function hostname(): string; + + function tmpdir(): string; + + function home(): string; + + function path(): string; + + function editor(): string; + + function shell(): string; + } +} diff --git a/types/adone/glosses/system/index.d.ts b/types/adone/glosses/system/index.d.ts new file mode 100644 index 0000000000..7a3ceced9d --- /dev/null +++ b/types/adone/glosses/system/index.d.ts @@ -0,0 +1,9 @@ +/// +/// +/// + +declare namespace adone { + namespace system { + // + } +} diff --git a/types/adone/glosses/system/process.d.ts b/types/adone/glosses/system/process.d.ts new file mode 100644 index 0000000000..51d0c45ddc --- /dev/null +++ b/types/adone/glosses/system/process.d.ts @@ -0,0 +1,241 @@ +declare namespace adone.system.process { + function errname(code: number): string; + + function errnameFallback(uv: object, code: number): string; + + function stdio(opts: object): any[]; + + namespace I { + type StdIOOption = "pipe" | "ipc" | "ignore" | nodestd.stream.Stream | number | null | undefined; + + interface ExecCommonOptions { + /** + * Current working directory of the child process. + * @default `process.cwd()` + */ + cwd?: string; + + /** + * Environment key-value pairs. + * Extends automatically from `process.env`. + * Set `extendEnv` to `false` if you don"t want this. + * @default `process.env` + */ + env?: NodeJS.ProcessEnv; + + /** + * Set to `false` if you don't want to extend the environment variables when providing the `env` property. + * @default `true` + */ + extendEnv?: boolean; + + /** + * Explicitly set the value of `argv[0]` sent to the child process. + * This will be set to `command` or `file` if not specified. + */ + argv0?: string; + + /** + * The `stdio` option is used to configure the pipes that are established between the parent and child process. + * By default, the child's stdin, stdout, and stderr are redirected to corresponding `subprocess.stdin`, `subprocess.stdout`, and `subprocess.stderr` streams on the `ChildProcess` object. + * @default `'pipe'` + * + * @see https://nodejs.org/api/child_process.html#child_process_options_stdio + */ + stdio?: "pipe" | "ignore" | "inherit" | StdIOOption[]; + + /** + * Prepare child to run independently of its parent process. + * Specific behavior depends on the platform. + * @see https://nodejs.org/api/child_process.html#child_process_options_detached + */ + detached?: boolean; + + /** + * Sets the user identity of the process. + */ + uid?: number; + + /** + * Sets the group identity of the process. + */ + gid?: number; + + /** + * If `true`, runs `command` inside of a shell. + * Uses `/bin/sh` on UNIX and `cmd.exe` on Windows. + * A different shell can be specified as a string. + * The shell should understand the `-c` switch on UNIX or `/d /s /c` on Windows. + * @default `false` + */ + shell?: boolean | string; + + /** + * If `true`, no quoting or escaping of arguments is done on Windows. + * Ignored on other platforms. + * This is set to `true` automatically when `shell` is specified. + * @default `false` + */ + windowsVerbatimArguments?: boolean; + + /** + * Strip EOF (last newline) from the output. + * @default `true` + * @see https://github.com/sindresorhus/strip-eof + */ + stripEof?: boolean; + + /** + * Prefer locally installed binaries when looking for a binary to execute. + * If you `$ npm install foo`, you can then `execa('foo')`. + * @default `true` + */ + preferLocal?: boolean; + + /** + * Preferred path to find locally installed binaries in (use with `preferLocal`). + * @default `process.cwd()` + */ + localDir?: string; + + /** + * Setting this to `false` resolves the promise with the error instead of rejecting it. + * @default `true` + */ + reject?: boolean; + + /** + * Keep track of the spawned process and `kill` it when the parent process exits. + * @default `true` + */ + cleanup?: boolean; + + /** + * Specify the character encoding used to decode the `stdout` and `stderr` output. + * @default `utf8` + */ + encoding?: string; + + /** + * If `timeout` is greater than `0`, the parent will send the signal identified by the `killSignal` property + * (the default is `SIGTERM`) if the child runs longer than `timeout` milliseconds. + * + * @default `0` + */ + timeout?: number; + + /** + * Largest amount of data in bytes allowed on `stdout` or `stderr`. + * @default `10000000` (10MB) + */ + maxBuffer?: number; + + /** + * Signal value to be used when the spawned process will be killed. + * @default `SIGTERM` + */ + killSignal?: string | number; + + /** + * Used to configure the stdin pipe that is established between the parent and child process. + * @default `'pipe'` + * @see https://nodejs.org/api/child_process.html#child_process_options_stdio + */ + stdin?: StdIOOption; + + /** + * Used to configure the stdout pipe that is established between the parent and child process. + * @default `'pipe'` + * @see https://nodejs.org/api/child_process.html#child_process_options_stdio + */ + stdout?: StdIOOption; + + /** + * Used to configure the stderr pipe that is established between the parent and child process. + * @default `'pipe'` + * @see https://nodejs.org/api/child_process.html#child_process_options_stdio + */ + stderr?: StdIOOption; + } + + interface ExecOptions extends ExecCommonOptions { + /** + * Write some input to the `stdin` of your binary. + */ + input?: string | Buffer | nodestd.stream.Stream; + } + + interface ExecSyncOptions extends ExecCommonOptions { + /** + * Write some input to the `stdin` of your binary. + * Streams are not allowed when using the synchronous methods. + */ + input?: string | Buffer; + } + + interface ExecReturns { + /** + * The command that was run. + */ + cmd: string; + + /** + * The exit code of the process that was run. + */ + code: number; + + /** + * Whether the process failed to run. + */ + failed: boolean; + + /** + * Whether the process was killed. + */ + killed: boolean; + + /** + * The signal that was used to terminate the process. + */ + signal: string | null; + + /** + * The output of the process on stderr. + */ + stderr: string; + + /** + * The output of the process on stdout. + */ + stdout: string; + + /** + * Whether the process timed out. + */ + timedOut: boolean; + } + + type ExecError = Error & ExecReturns; + + interface ExecChildPromise { + catch(onrejected?: ((reason: ExecError) => TResult | PromiseLike) | null): Promise; + } + + type ExecChildProcess = nodestd.child_process.ChildProcess & ExecChildPromise & Promise; + } + + function exec(cmd: string, args?: string[], opts?: I.ExecOptions): I.ExecChildProcess; + function exec(cmd: string, opts?: I.ExecOptions): I.ExecChildProcess; + + function execStdout(cmd: string, args?: string[], opts?: I.ExecOptions): Promise; + function execStdout(cmd: string, opts?: I.ExecOptions): Promise; + + function execStderr(cmd: string, args?: string[], opts?: I.ExecOptions): Promise; + function execStderr(cmd: string, opts?: I.ExecOptions): Promise; + + function shell(cmd: string, opts?: I.ExecOptions): I.ExecChildProcess; + + function execSync(cmd: string, args?: string[], opts?: I.ExecSyncOptions): I.ExecReturns; + + function shellSync(cmd: string, opts?: I.ExecSyncOptions): I.ExecReturns; +} diff --git a/types/adone/glosses/system/user.d.ts b/types/adone/glosses/system/user.d.ts new file mode 100644 index 0000000000..508f67e894 --- /dev/null +++ b/types/adone/glosses/system/user.d.ts @@ -0,0 +1,31 @@ +declare namespace adone.system { + /** + * Utils for uid/gid + */ + namespace user { + /** + * Returns uid by the given username + */ + function uid(username: string): { uid: number, gid: number }; + + /** + * Returns gid by the given groupname + */ + function gid(groupname: string): number; + + /** + * Returns gids the given user belongs + */ + function gids(username: string): number[]; + + /** + * Returns username by the given uid + */ + function username(uid: number): string; + + /** + * Returns groupname by the given gid + */ + function groupname(gid: number): string; + } +} diff --git a/types/adone/glosses/templating/dot.d.ts b/types/adone/glosses/templating/dot.d.ts new file mode 100644 index 0000000000..500efe8d35 --- /dev/null +++ b/types/adone/glosses/templating/dot.d.ts @@ -0,0 +1,41 @@ +declare namespace adone.templating { + namespace dot { + namespace I { + type RenderFunction = (...args: any[]) => string; + + interface TemplateSettings { + evaluate: RegExp; + interpolate: RegExp; + encode: RegExp; + use: RegExp; + useParams: RegExp; + define: RegExp; + defineParams: RegExp; + conditional: RegExp; + iterate: RegExp; + varname: string; + strip: boolean; + append: boolean; + selfcontained: boolean; + } + } + const version: string; + + let templateSettings: I.TemplateSettings; + + function template(tmpl: string, c?: I.TemplateSettings, def?: {}): I.RenderFunction; + + function compile(tmpl: string, def?: object): I.RenderFunction; + + namespace I { + interface ProcessOptions { + path?: string; + destination?: string; + global?: string; + templateSettings?: Partial; + } + } + + function process(options?: I.ProcessOptions): { [path: string]: I.RenderFunction }; + } +} diff --git a/types/adone/glosses/templating/index.d.ts b/types/adone/glosses/templating/index.d.ts new file mode 100644 index 0000000000..81f9964335 --- /dev/null +++ b/types/adone/glosses/templating/index.d.ts @@ -0,0 +1,8 @@ +/// +/// + +declare namespace adone { + namespace templating { + // + } +} diff --git a/types/adone/glosses/templating/nunjucks.d.ts b/types/adone/glosses/templating/nunjucks.d.ts new file mode 100644 index 0000000000..d0aed211cc --- /dev/null +++ b/types/adone/glosses/templating/nunjucks.d.ts @@ -0,0 +1,121 @@ +declare namespace adone.templating { + namespace nunjucks { + namespace I { + interface EnvironmentOptions { + dev?: boolean; + autoescape?: boolean; + throOnUndefined?: boolean; + trimBlocks?: boolean; + lstripBlocks?: boolean; + } + + interface FileSystemLoaderOptions { + watch?: boolean; + noCache?: boolean; + } + + type ConfigureOptions = EnvironmentOptions & FileSystemLoaderOptions & { + tags?: { + blockStart?: string, + blockEnd?: string, + variableStart?: string, + variableEnd?: string, + commentStart?: string, + commentEnd?: string + }; + }; + + interface PrecompileOptions { + name?: string; + asFunction?: boolean; + force?: boolean; + env?: Environment; + include?: string[]; + exclude?: string[]; + wrapper?(templates: { name: string, template: string }, opts: PrecompileOptions): string; + } + + interface Extension { + tags: string[]; + parse(parser: any, nodes: any, lexer: any): any; + } + + interface LoaderSource { + src: string; + path: string; + noCache: boolean; + } + + interface Loader { + async?: boolean; + getSource(name: string): LoaderSource; + extend?(extender: Loader): Loader; + } + } + + class Environment { + options: { + autoescape: boolean; + }; + + constructor(loader?: I.Loader | I.Loader[] | null, opts?: I.EnvironmentOptions); + render(name: string, context?: object): string; + render(name: string, context?: object, callback?: (err: any, res: string) => any): void; + + renderString(name: string, context?: object): string; + renderString(name: string, context?: object, callback?: (err: any, res: string) => any): void; + + addFilter(name: string, func: (...args: any[]) => any, async?: boolean): void; + getFilter(name: string): (...args: any[]) => any; + + addExtension(name: string, ext: I.Extension): void; + removeExtension(name: string): void; + getExtension(name: string): I.Extension; + hasExtension(name: string): boolean; + + addGlobal(name: string, value: any): this; + + getTemplate(name: string, eagerCompile?: boolean): Template; + getTemplate(name: string, eagerCompile?: boolean, callback?: (err: any, templ: Template) => Template): void; + + express(app: object): void; + } + + class Template { + constructor(src: string, env?: Environment, eagerCompile?: boolean); + render(context?: object): string; + render(context?: object, callback?: (err: any, res: string) => any): void; + } + + class Loader { + on(name: string, func: (...args: any[]) => any): void; + emit(name: string, ...args: any[]): void; + resolve(from: string, to: string): string; + isRelative(filename: string): boolean; + extend(toExtend: I.Loader): I.Loader; + } + + class FileSystemLoader extends Loader implements I.Loader { + constructor(searchPaths?: string | string[], opts?: I.FileSystemLoaderOptions); + + getSource(name: string): I.LoaderSource; + } + + class PrecompiledLoader extends Loader implements I.Loader { + getSource(name: string): I.LoaderSource; + } + + function renderSync(name: string, context?: object): string; + function render(name: string, context?: object): Promise; + + function renderString(src: string, context?: object): Promise; + function renderStringSync(src: string, context?: object): string; + + function compile(src: string, env?: Environment, path?: string, eagerCompile?: boolean): Template; + + function configure(options?: I.ConfigureOptions): Environment; + function configure(path: string | string[], options?: I.ConfigureOptions): Environment; + + function installJinjaCompat(): void; + } +} diff --git a/types/adone/glosses/text/index.d.ts b/types/adone/glosses/text/index.d.ts new file mode 100644 index 0000000000..a640789765 --- /dev/null +++ b/types/adone/glosses/text/index.d.ts @@ -0,0 +1,77 @@ +/// +/// +/// +/// + +declare namespace adone { + namespace text { + namespace escape { + function regExpPattern(str: string): string; + + function regExpReplacement(str: string): string; + + function format(str: string): string; + + function shellArg(str: string): string; + + function control(str: string): string; + + function htmlSpecialChars(str: string): string; + } + + namespace regexp { + function array2alternatives(array: string[]): string; + } + + function escapeStringRegexp(str: string): string; + + function toCamelCase(str: string): string; + + function camelCaseToDashed(str: string): string; + + const endLineRegExp: RegExp; + + function splitLines(str: string): string[]; + + function regExpIndexOf(str: string, regex: RegExp, index?: number): string; + + function stripAnsi(str: string): string; + + function hasAnsi(str: string): boolean; + + function random(len: number): string; + + function detectNewLine(str: string): "\r\n" | "\n"; + + namespace I { + interface WordWrapOptions { + join?: boolean; + mode?: "soft" | "hard"; + countAnsiEscapeCodes?: boolean; + } + } + + function wordwrap(str: string, stop: number, options: I.WordWrapOptions & { join: false}): string[]; + function wordwrap(str: string, stop: number, options?: I.WordWrapOptions): string; + + function stringDistance(strA: string, strB: string, memo?: number[][]): number; + + function stringDistanceCapped(strA: string, strB: string, cap: number): number; + + function capitalize(str: string): string; + + function capitalizeWords(str: string): string; + + function width(str: string): number; + + function indent(string: string, spaces: number): string; + + function stripEof(str: string): string; + + function stripLastCRLF(str: string): string; + + function stripBOM(str: string): string; + + function toUTF8Array(str: string): number[]; + } +} diff --git a/types/adone/glosses/text/pretties.d.ts b/types/adone/glosses/text/pretties.d.ts new file mode 100644 index 0000000000..886901b268 --- /dev/null +++ b/types/adone/glosses/text/pretties.d.ts @@ -0,0 +1,55 @@ +declare namespace adone.text { + namespace pretty { + namespace I { + interface JSONOptions { + emptyArrayMsg?: string; + keysColor?: string; + dashColor?: string; + numberColor?: string; + stringColor?: string; + defaultIndentation?: number; + noColor?: boolean; + noAlign?: boolean; + } + } + + function json(data: any, options?: I.JSONOptions, indentation?: number): string; + + namespace I { + interface TableColumn { + id: string; + header?: string; + align?: "right" | "center" | "left"; + width?: string | number; + maxWidth?: number | string; + wordwrap?: "soft" | "hard" | adone.text.I.WordWrapOptions; + handle?: (item: object) => string; + format?: string | ((val: any, item: object) => string); + style?: string | ((val: any, str: string) => string); + } + + type TableModel = TableColumn[]; + + interface TableStyle { + "padding-left"?: number; + "padding-right"?: number; + head?: string[]; + broder?: string[]; + compact?: boolean; + } + + interface TableOptions { + model: TableModel; + noHeader?: boolean; + borderless?: boolean; + style?: TableStyle; + width?: number | string; + countAnsiEscapeCodes?: boolean; + } + + type TableData = Array<{ [id: string]: any }>; + } + + function table(data: I.TableData, options: I.TableOptions): string; + } +} diff --git a/types/adone/glosses/text/spinners.d.ts b/types/adone/glosses/text/spinners.d.ts new file mode 100644 index 0000000000..962a6aebab --- /dev/null +++ b/types/adone/glosses/text/spinners.d.ts @@ -0,0 +1,468 @@ +declare namespace adone.text { + namespace spinner { + const dots: { + interval: 80, + frames: [ + "⠋", + "⠙", + "⠹", + "⠸", + "⠼", + "⠴", + "⠦", + "⠧", + "⠇", + "⠏" + ] + }; + const dots2: { + interval: 80, + frames: [ + "⣾", + "⣽", + "⣻", + "⢿", + "⡿", + "⣟", + "⣯", + "⣷" + ] + }; + const dots3: { + interval: 80, + frames: [ + "⠋", + "⠙", + "⠚", + "⠞", + "⠖", + "⠦", + "⠴", + "⠲", + "⠳", + "⠓" + ] + }; + const dots4: { + interval: 80, + frames: [ + "⠄", + "⠆", + "⠇", + "⠋", + "⠙", + "⠸", + "⠰", + "⠠", + "⠰", + "⠸", + "⠙", + "⠋", + "⠇", + "⠆" + ] + }; + const dots5: { + interval: 80, + frames: [ + "⠋", + "⠙", + "⠚", + "⠒", + "⠂", + "⠂", + "⠒", + "⠲", + "⠴", + "⠦", + "⠖", + "⠒", + "⠐", + "⠐", + "⠒", + "⠓", + "⠋" + ] + }; + const dots6: { + interval: 80, + frames: [ + "⠁", + "⠉", + "⠙", + "⠚", + "⠒", + "⠂", + "⠂", + "⠒", + "⠲", + "⠴", + "⠤", + "⠄", + "⠄", + "⠤", + "⠴", + "⠲", + "⠒", + "⠂", + "⠂", + "⠒", + "⠚", + "⠙", + "⠉", + "⠁" + ] + }; + const dots7: { + interval: 80, + frames: [ + "⠈", + "⠉", + "⠋", + "⠓", + "⠒", + "⠐", + "⠐", + "⠒", + "⠖", + "⠦", + "⠤", + "⠠", + "⠠", + "⠤", + "⠦", + "⠖", + "⠒", + "⠐", + "⠐", + "⠒", + "⠓", + "⠋", + "⠉", + "⠈" + ] + }; + const dots8: { + interval: 80, + frames: [ + "⠁", + "⠁", + "⠉", + "⠙", + "⠚", + "⠒", + "⠂", + "⠂", + "⠒", + "⠲", + "⠴", + "⠤", + "⠄", + "⠄", + "⠤", + "⠠", + "⠠", + "⠤", + "⠦", + "⠖", + "⠒", + "⠐", + "⠐", + "⠒", + "⠓", + "⠋", + "⠉", + "⠈", + "⠈" + ] + }; + const dots9: { + interval: 80, + frames: [ + "⢹", + "⢺", + "⢼", + "⣸", + "⣇", + "⡧", + "⡗", + "⡏" + ] + }; + const dots10: { + interval: 80, + frames: [ + "⢄", + "⢂", + "⢁", + "⡁", + "⡈", + "⡐", + "⡠" + ] + }; + const dots11: { + interval: 100, + frames: [ + "⠁", + "⠂", + "⠄", + "⡀", + "⢀", + "⠠", + "⠐", + "⠈" + ] + }; + const dots12: { + interval: 80, + frames: [ + "⢀⠀", + "⡀⠀", + "⠄⠀", + "⢂⠀", + "⡂⠀", + "⠅⠀", + "⢃⠀", + "⡃⠀", + "⠍⠀", + "⢋⠀", + "⡋⠀", + "⠍⠁", + "⢋⠁", + "⡋⠁", + "⠍⠉", + "⠋⠉", + "⠋⠉", + "⠉⠙", + "⠉⠙", + "⠉⠩", + "⠈⢙", + "⠈⡙", + "⢈⠩", + "⡀⢙", + "⠄⡙", + "⢂⠩", + "⡂⢘", + "⠅⡘", + "⢃⠨", + "⡃⢐", + "⠍⡐", + "⢋⠠", + "⡋⢀", + "⠍⡁", + "⢋⠁", + "⡋⠁", + "⠍⠉", + "⠋⠉", + "⠋⠉", + "⠉⠙", + "⠉⠙", + "⠉⠩", + "⠈⢙", + "⠈⡙", + "⠈⠩", + "⠀⢙", + "⠀⡙", + "⠀⠩", + "⠀⢘", + "⠀⡘", + "⠀⠨", + "⠀⢐", + "⠀⡐", + "⠀⠠", + "⠀⢀", + "⠀⡀" + ] + }; + const line: { + interval: 130, + frames: [ + "-", + "\\", + "|", + "/" + ] + }; + const pipe: { + interval: 100, + frames: [ + "┤", + "┘", + "┴", + "└", + "├", + "┌", + "┬", + "┐" + ] + }; + const simpleDots: { + interval: 200, + frames: [ + ". ", + ".. ", + "...", + " ..", + " .", + " " + ] + }; + const flip: { + interval: 70, + frames: [ + "_", + "_", + "_", + "-", + "`", + "`", + "'", + "´", + "-", + "_", + "_", + "_" + ] + }; + const growVertical: { + interval: 120, + frames: [ + "▁", + "▃", + "▄", + "▅", + "▆", + "▇", + "▆", + "▅", + "▄", + "▃" + ] + }; + const growHorizontal: { + interval: 120, + frames: [ + "▏", + "▎", + "▍", + "▌", + "▋", + "▊", + "▉", + "▊", + "▋", + "▌", + "▍", + "▎" + ] + }; + const boxBounce: { + interval: 120, + frames: [ + "▖", + "▘", + "▝", + "▗" + ] + }; + const boxBounce2: { + interval: 100, + frames: [ + "▌", + "▀", + "▐", + "▄" + ] + }; + const triangle: { + interval: 50, + frames: [ + "◢", + "◣", + "◤", + "◥" + ] + }; + const squareCorners: { + interval: 180, + frames: [ + "◰", + "◳", + "◲", + "◱" + ] + }; + const circleQuarters: { + interval: 120, + frames: [ + "◴", + "◷", + "◶", + "◵" + ] + }; + const circleHalves: { + interval: 80, + frames: [ + "◐", + "◓", + "◑", + "◒" + ] + }; + const arrow: { + interval: 80, + frames: [ + "⬆️ ", + "↗️ ", + "➡️ ", + "↘️ ", + "⬇️ ", + "↙️ ", + "⬅️ ", + "↖️ " + ] + }; + const arrow3: { + interval: 120, + frames: [ + "▹▹▹▹▹", + "▸▹▹▹▹", + "▹▸▹▹▹", + "▹▹▸▹▹", + "▹▹▹▸▹", + "▹▹▹▹▸" + ] + }; + const bouncingBar: { + interval: 80, + frames: [ + "[ ]", + "[ =]", + "[ ==]", + "[ ===]", + "[====]", + "[=== ]", + "[== ]", + "[= ]" + ] + }; + const clock: { + interval: 100, + frames: [ + "🕐 ", + "🕑 ", + "🕒 ", + "🕓 ", + "🕔 ", + "🕕 ", + "🕖 ", + "🕗 ", + "🕘 ", + "🕙 ", + "🕚 " + ] + }; + } +} diff --git a/types/adone/glosses/text/table.d.ts b/types/adone/glosses/text/table.d.ts new file mode 100644 index 0000000000..2bfaaa07fd --- /dev/null +++ b/types/adone/glosses/text/table.d.ts @@ -0,0 +1,73 @@ +declare namespace adone.text { + namespace table { + namespace I { + interface CharsOptions { + top: string; + "top-mid": string; + "top-left": string; + "top-right": string; + bottom: string; + "bottom-mid": string; + "bottom-left": string; + "bottom-right": string; + left: string; + "left-mid": string; + mid: string; + "mid-mid": string; + right: string; + "right-mid": string; + middle: string; + } + + interface StyleOptions { + "padding-left": number; + "padding-right": number; + head: string[]; + border: string[]; + compact: boolean; + } + + interface CommonOptions { + truncate: string; + colWidths: number[]; + rowHeights: number[]; + colAligns: Array<"left" | "center" | "right">; + rowAligns: Array<"top" | "center" | "bottom">; + head: string[]; + } + + interface Options extends CommonOptions { + style: StyleOptions; + chars: CharsOptions; + } + + interface ConstructorOptions extends Partial { + style?: Partial; + chars?: Partial; + } + } + + class Table extends Array { + constructor(options?: I.ConstructorOptions); + + toString(): string; + + readonly width: number; + + static readonly defaultOptions: I.Options; + } + + namespace I { + interface BorderlessConstructorOptions { + colWidths?: number[]; + head?: string[]; + colAligns?: Array<"left" | "center" | "right">; + style?: Partial; + } + } + + class BorderlessTable extends Table { + constructor(options?: I.BorderlessConstructorOptions); + } + } +} diff --git a/types/adone/glosses/text/unicode.d.ts b/types/adone/glosses/text/unicode.d.ts new file mode 100644 index 0000000000..98b449b9a3 --- /dev/null +++ b/types/adone/glosses/text/unicode.d.ts @@ -0,0 +1,137 @@ +declare namespace adone.text { + namespace unicode { + const symbol: { + tick: "✔", + cross: "✖", + star: "★", + square: "▇", + squareSmall: "◻", + squareSmallFilled: "◼", + play: "▶", + circle: "◯", + circleFilled: "◉", + circleDotted: "◌", + circleDouble: "◎", + circleCircle: "ⓞ", + circleCross: "ⓧ", + circlePipe: "Ⓘ", + circleQuestionMark: "?⃝", + bullet: "●", + dot: "․", + line: "─", + ellipsis: "…", + pointer: "❯", + pointerSmall: "›", + info: "ℹ", + warning: "⚠", + hamburger: "☰", + smiley: "㋡", + mustache: "෴", + heart: "♥", + arrowUp: "↑", + arrowDown: "↓", + arrowLeft: "←", + arrowRight: "→", + radioOn: "◉", + radioOff: "◯", + checkboxOn: "☒", + checkboxOff: "☐", + checkboxCircleOn: "ⓧ", + checkboxCircleOff: "Ⓘ", + questionMarkPrefix: "?" | "?⃝", + oneHalf: "½", + oneThird: "⅓", + oneQuarter: "¼", + oneFifth: "⅕", + oneSixth: "⅙", + oneSeventh: "⅐", + oneEighth: "⅛", + oneNinth: "⅑", + oneTenth: "⅒", + twoThirds: "⅔", + twoFifths: "⅖", + threeQuarters: "¾", + threeFifths: "⅗", + threeEighths: "⅜", + fourFifths: "⅘", + fiveSixths: "⅚", + fiveEighths: "⅝", + sevenEighths: "⅞", + minus: "−" + }; + + const symbolFallback: { + tick: "√", + cross: "×", + star: "*", + square: "█", + squareSmall: "[ ]", + squareSmallFilled: "[█]", + play: "►", + circle: "( )", + circleFilled: "(*)", + circleDotted: "( )", + circleDouble: "( )", + circleCircle: "(○)", + circleCross: "(×)", + circlePipe: "(│)", + circleQuestionMark: "(?)", + bullet: "*", + dot: ".", + line: "─", + ellipsis: "...", + pointer: ">", + pointerSmall: "»", + info: "i", + warning: "‼", + hamburger: "≡", + smiley: "☺", + mustache: "┌─┐", + heart: "♥", + arrowUp: "↑", + arrowDown: "↓", + arrowLeft: "←", + arrowRight: "→", + radioOn: "(*)", + radioOff: "( )", + checkboxOn: "[×]", + checkboxOff: "[ ]", + checkboxCircleOn: "(×)", + checkboxCircleOff: "( )", + questionMarkPrefix: "?", + oneHalf: "1/2", + oneThird: "1/3", + oneQuarter: "1/4", + oneFifth: "1/5", + oneSixth: "1/6", + oneSeventh: "1/7", + oneEighth: "1/8", + oneNinth: "1/9", + oneTenth: "1/10", + twoThirds: "2/3", + twoFifths: "2/5", + threeQuarters: "3/4", + threeFifths: "3/5", + threeEighths: "3/8", + fourFifths: "4/5", + fiveSixths: "5/6", + fiveEighths: "5/8", + sevenEighths: "7/8", + minus: "-" + }; + + function approx(str: string): string; + + function length(str: string): number; + + function toArray(str: string): string[]; + + function surrogatePair(char: string): number; + + function isFullWidthCodePoint(code: number): boolean; + + function isFullWidth(char: string): boolean; + + function toFullWidth(str: string): string; + } +} diff --git a/types/adone/index.d.ts b/types/adone/index.d.ts index 5d22ac1bfd..4b1620cc15 100644 --- a/types/adone/index.d.ts +++ b/types/adone/index.d.ts @@ -10,6 +10,7 @@ /// /// /// +/// /// /// /// @@ -21,10 +22,15 @@ /// /// /// -/// +/// +/// /// +/// /// /// +/// +/// +/// /// declare const _adone: typeof adone; diff --git a/types/adone/test/glosses/crypto/asn1.ts b/types/adone/test/glosses/crypto/asn1.ts new file mode 100644 index 0000000000..447c71c34e --- /dev/null +++ b/types/adone/test/glosses/crypto/asn1.ts @@ -0,0 +1,3183 @@ +namespace adoneTests.crypto.asn1 { + const { + crypto: { + asn1 + } + } = adone; + + let arrBuf: ArrayBuffer; + let num: number; + let bool: boolean; + let str: string; + let date: Date; + + namespace BaseBlock { + const { + BaseBlock + } = asn1; + + new BaseBlock({ + blockLength: 10 + }); + new BaseBlock({ + error: "a" + }); + new BaseBlock({ + name: "a" + }); + new BaseBlock({ + optional: true + }); + new BaseBlock({ + primitiveSchema: {} + }); + new BaseBlock({ + valueBeforeDecode: new ArrayBuffer(10) + }); + new BaseBlock({ + warnings: ["a"] + }); + + const b = new BaseBlock(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + } + + str = b.warnings[0]; + } + + namespace Primitive { + const { + Primitive + } = asn1; + + new Primitive({ + blockLength: 10 + }); + new Primitive({ + error: "a" + }); + new Primitive({ + name: "a" + }); + new Primitive({ + optional: true + }); + new Primitive({ + primitiveSchema: {} + }); + new Primitive({ + valueBeforeDecode: new ArrayBuffer(10) + }); + new Primitive({ + warnings: ["a"] + }); + + const b = new Primitive(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + bool = b.valueBlock.isHexOnly; + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + } + + str = b.warnings[0]; + } + + namespace Constructed { + const { + Constructed + } = asn1; + + new Constructed({ + blockLength: 10 + }); + new Constructed({ + error: "a" + }); + new Constructed({ + name: "a" + }); + new Constructed({ + optional: true + }); + new Constructed({ + primitiveSchema: {} + }); + new Constructed({ + valueBeforeDecode: new ArrayBuffer(10) + }); + new Constructed({ + warnings: ["a"] + }); + + const b = new Constructed(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + bool = b.valueBlock.isIndefiniteForm; + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + } + + str = b.warnings[0]; + } + + namespace EndOfContent { + const { + EndOfContent + } = asn1; + + new EndOfContent({ + blockLength: 10 + }); + new EndOfContent({ + error: "a" + }); + new EndOfContent({ + name: "a" + }); + new EndOfContent({ + optional: true + }); + new EndOfContent({ + primitiveSchema: {} + }); + new EndOfContent({ + valueBeforeDecode: new ArrayBuffer(10) + }); + new EndOfContent({ + warnings: ["a"] + }); + + const b = new EndOfContent(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + } + + str = b.warnings[0]; + } + + namespace Boolean { + const { + Boolean: _Boolean + } = asn1; + + new _Boolean({ + blockLength: 10 + }); + new _Boolean({ + error: "a" + }); + new _Boolean({ + name: "a" + }); + new _Boolean({ + optional: true + }); + new _Boolean({ + primitiveSchema: {} + }); + new _Boolean({ + valueBeforeDecode: new ArrayBuffer(10) + }); + new _Boolean({ + warnings: ["a"] + }); + + const b = new _Boolean(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + bool = b.valueBlock.isHexOnly; + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + } + + str = b.warnings[0]; + } + + namespace Sequence { + const { + Sequence + } = asn1; + + new Sequence({ + blockLength: 10 + }); + new Sequence({ + error: "a" + }); + new Sequence({ + name: "a" + }); + new Sequence({ + optional: true + }); + new Sequence({ + primitiveSchema: {} + }); + new Sequence({ + valueBeforeDecode: new ArrayBuffer(10) + }); + new Sequence({ + warnings: ["a"] + }); + + const b = new Sequence(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + bool = b.valueBlock.isIndefiniteForm; + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + } + + str = b.warnings[0]; + } + + namespace Set { + const { + Set + } = asn1; + + new Set({ + blockLength: 10 + }); + new Set({ + error: "a" + }); + new Set({ + name: "a" + }); + new Set({ + optional: true + }); + new Set({ + primitiveSchema: {} + }); + new Set({ + valueBeforeDecode: new ArrayBuffer(10) + }); + new Set({ + warnings: ["a"] + }); + + const b = new Set(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + bool = b.valueBlock.isIndefiniteForm; + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + } + + str = b.warnings[0]; + } + + namespace Null { + const { + Null: Null + } = asn1; + + new Null({ + blockLength: 10 + }); + new Null({ + error: "a" + }); + new Null({ + name: "a" + }); + new Null({ + optional: true + }); + new Null({ + primitiveSchema: {} + }); + new Null({ + valueBeforeDecode: new ArrayBuffer(10) + }); + new Null({ + warnings: ["a"] + }); + + const b = new Null(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + } + + str = b.warnings[0]; + } + + namespace OctetString { + const { + OctetString + } = asn1; + + new OctetString({ + blockLength: 10 + }); + new OctetString({ + error: "a" + }); + new OctetString({ + valueBeforeDecode: new ArrayBuffer(10) + }); + new OctetString({ + warnings: ["a"] + }); + + const b = new OctetString(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + bool = b.valueBlock.isConstructed; + bool = b.valueBlock.isHexOnly; + bool = b.valueBlock.isIndefiniteForm; + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + const [v] = b.valueBlock.value; + num = v.blockLength; + str = v.error; + v.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = v.toBER(); + { + const j = v.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = v.valueBeforeDecode; + str = v.warnings[0]; + } + + str = b.warnings[0]; + } + + namespace BitString { + const { + BitString + } = asn1; + + new BitString({ + blockLength: 10 + }); + new BitString({ + error: "a" + }); + new BitString({ + valueBeforeDecode: new ArrayBuffer(10) + }); + new BitString({ + warnings: ["a"] + }); + + const b = new BitString(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + bool = b.valueBlock.isConstructed; + bool = b.valueBlock.isHexOnly; + bool = b.valueBlock.isIndefiniteForm; + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + const [v] = b.valueBlock.value; + num = v.blockLength; + str = v.error; + v.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = v.toBER(); + { + const j = v.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = v.valueBeforeDecode; + str = v.warnings[0]; + } + + str = b.warnings[0]; + } + + namespace Integer { + const { + Integer + } = asn1; + + new Integer({ + value: 10 + }); + + const b = new Integer(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + bool = b.valueBlock.isHexOnly; + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + num = b.valueBlock.valueDec; + } + + str = b.warnings[0]; + } + + namespace Enumerated { + const { + Enumerated + } = asn1; + + new Enumerated({ + value: 10 + }); + + const b = new Enumerated(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + bool = b.valueBlock.isHexOnly; + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + num = b.valueBlock.valueDec; + } + + str = b.warnings[0]; + } + + namespace ObjectIdentifier { + const { + ObjectIdentifier + } = asn1; + + new ObjectIdentifier({ + blockLength: 10 + }); + new ObjectIdentifier({ + error: "a" + }); + new ObjectIdentifier({ + value: "ha" + }); + new ObjectIdentifier({ + valueBeforeDecode: new ArrayBuffer(10) + }); + new ObjectIdentifier({ + warnings: ["a"] + }); + + const b = new ObjectIdentifier(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + str = b.valueBlock.toString(); + arrBuf = b.valueBlock.valueBeforeDecode; + str = b.valueBlock.warnings[0]; + } + + str = b.warnings[0]; + } + + namespace Utf8String { + const { + Utf8String + } = asn1; + + new Utf8String({ + value: "ha" + }); + + const b = new Utf8String({ + value: "a" + }); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + str = b.valueBlock.toString(); + arrBuf = b.valueBlock.valueBeforeDecode; + str = b.valueBlock.warnings[0]; + bool = b.valueBlock.isHexOnly; + arrBuf = b.valueBlock.valueHex; + } + + str = b.warnings[0]; + } + + namespace BmpString { + const { + BmpString + } = asn1; + + new BmpString({ + value: "ha" + }); + + const b = new BmpString(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + str = b.valueBlock.toString(); + arrBuf = b.valueBlock.valueBeforeDecode; + str = b.valueBlock.warnings[0]; + bool = b.valueBlock.isHexOnly; + arrBuf = b.valueBlock.valueHex; + str = b.valueBlock.value; + } + + str = b.warnings[0]; + } + + namespace UniversalString { + const { + UniversalString + } = asn1; + + new UniversalString({ + value: "ha" + }); + + const b = new UniversalString(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + str = b.valueBlock.toString(); + arrBuf = b.valueBlock.valueBeforeDecode; + str = b.valueBlock.warnings[0]; + bool = b.valueBlock.isHexOnly; + arrBuf = b.valueBlock.valueHex; + str = b.valueBlock.value; + } + + str = b.warnings[0]; + } + + namespace NumericString { + const { + NumericString + } = asn1; + + new NumericString({ + value: "123" + }); + + const b = new NumericString(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + bool = b.valueBlock.isHexOnly; + str = b.valueBlock.value; + arrBuf = b.valueBlock.valueBeforeDecode; + arrBuf = b.valueBlock.valueHex; + str = b.valueBlock.warnings[0]; + } + + str = b.warnings[0]; + } + + namespace PrintableString { + const { + PrintableString + } = asn1; + + new PrintableString({ + value: "123" + }); + + const b = new PrintableString(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + bool = b.valueBlock.isHexOnly; + str = b.valueBlock.value; + arrBuf = b.valueBlock.valueBeforeDecode; + arrBuf = b.valueBlock.valueHex; + str = b.valueBlock.warnings[0]; + } + + str = b.warnings[0]; + } + + namespace TeletexString { + const { + TeletexString + } = asn1; + + new TeletexString({ + value: "123" + }); + + const b = new TeletexString(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + bool = b.valueBlock.isHexOnly; + str = b.valueBlock.value; + arrBuf = b.valueBlock.valueBeforeDecode; + arrBuf = b.valueBlock.valueHex; + str = b.valueBlock.warnings[0]; + } + + str = b.warnings[0]; + } + + namespace VideotexString { + const { + VideotexString + } = asn1; + + new VideotexString({ + value: "123" + }); + + const b = new VideotexString(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + bool = b.valueBlock.isHexOnly; + str = b.valueBlock.value; + arrBuf = b.valueBlock.valueBeforeDecode; + arrBuf = b.valueBlock.valueHex; + str = b.valueBlock.warnings[0]; + } + + str = b.warnings[0]; + } + + namespace IA5String { + const { + IA5String + } = asn1; + + new IA5String({ + value: "123" + }); + + const b = new IA5String(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + bool = b.valueBlock.isHexOnly; + str = b.valueBlock.value; + arrBuf = b.valueBlock.valueBeforeDecode; + arrBuf = b.valueBlock.valueHex; + str = b.valueBlock.warnings[0]; + } + + str = b.warnings[0]; + } + + namespace GraphicString { + const { + GraphicString + } = asn1; + + new GraphicString({ + value: "123" + }); + + const b = new GraphicString(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + bool = b.valueBlock.isHexOnly; + str = b.valueBlock.value; + arrBuf = b.valueBlock.valueBeforeDecode; + arrBuf = b.valueBlock.valueHex; + str = b.valueBlock.warnings[0]; + } + + str = b.warnings[0]; + } + + namespace VisibleString { + const { + VisibleString + } = asn1; + + new VisibleString({ + value: "123" + }); + + const b = new VisibleString(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + bool = b.valueBlock.isHexOnly; + str = b.valueBlock.value; + arrBuf = b.valueBlock.valueBeforeDecode; + arrBuf = b.valueBlock.valueHex; + str = b.valueBlock.warnings[0]; + } + + str = b.warnings[0]; + } + + namespace GeneralString { + const { + GeneralString + } = asn1; + + new GeneralString({ + value: "123" + }); + + const b = new GeneralString(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + bool = b.valueBlock.isHexOnly; + str = b.valueBlock.value; + arrBuf = b.valueBlock.valueBeforeDecode; + arrBuf = b.valueBlock.valueHex; + str = b.valueBlock.warnings[0]; + } + + str = b.warnings[0]; + } + + namespace CharacterString { + const { + CharacterString + } = asn1; + + new CharacterString({ + value: "123" + }); + + const b = new CharacterString(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + bool = b.valueBlock.isHexOnly; + str = b.valueBlock.value; + arrBuf = b.valueBlock.valueBeforeDecode; + arrBuf = b.valueBlock.valueHex; + str = b.valueBlock.warnings[0]; + } + + str = b.warnings[0]; + } + + namespace UTCTime { + const { + UTCTime + } = asn1; + + new UTCTime({ + value: "123" + }); + + new UTCTime({ + blockLength: 10 + }); + + new UTCTime({ + error: "a" + }); + + new UTCTime({ + isHexOnly: true + }); + + new UTCTime({ + valueBeforeDecode: new ArrayBuffer(10) + }); + + new UTCTime({ + valueDate: new Date() + }); + + new UTCTime({ + valueHex: new ArrayBuffer(10) + }); + + new UTCTime({ + warnings: ["a"] + }); + + const b = new UTCTime(); + + num = b.year; + num = b.month; + num = b.day; + num = b.hour; + num = b.minute; + num = b.second; + + arrBuf = b.toBuffer(); + + b.fromDate(new Date()); + + date = b.toDate(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + bool = b.valueBlock.isHexOnly; + str = b.valueBlock.value; + arrBuf = b.valueBlock.valueBeforeDecode; + arrBuf = b.valueBlock.valueHex; + str = b.valueBlock.warnings[0]; + } + + str = b.warnings[0]; + } + + namespace GeneralizedTime { + const { + GeneralizedTime + } = asn1; + + new GeneralizedTime({ + value: "123" + }); + + new GeneralizedTime({ + blockLength: 10 + }); + + new GeneralizedTime({ + error: "a" + }); + + new GeneralizedTime({ + isHexOnly: true + }); + + new GeneralizedTime({ + valueBeforeDecode: new ArrayBuffer(10) + }); + + new GeneralizedTime({ + valueDate: new Date() + }); + + new GeneralizedTime({ + valueHex: new ArrayBuffer(10) + }); + + new GeneralizedTime({ + warnings: ["a"] + }); + + const b = new GeneralizedTime(); + + num = b.year; + num = b.month; + num = b.day; + num = b.hour; + num = b.minute; + num = b.second; + num = b.millisecond; + + arrBuf = b.toBuffer(); + + b.fromDate(new Date()); + + date = b.toDate(); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + bool = b.valueBlock.isHexOnly; + str = b.valueBlock.value; + arrBuf = b.valueBlock.valueBeforeDecode; + arrBuf = b.valueBlock.valueHex; + str = b.valueBlock.warnings[0]; + } + + str = b.warnings[0]; + } + + namespace DATE { + const { + DATE + } = asn1; + + new DATE({ + value: "ha" + }); + + const b = new DATE({ + value: "a" + }); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + str = b.valueBlock.toString(); + arrBuf = b.valueBlock.valueBeforeDecode; + str = b.valueBlock.warnings[0]; + bool = b.valueBlock.isHexOnly; + arrBuf = b.valueBlock.valueHex; + } + + str = b.warnings[0]; + } + + namespace TimeOfDay { + const { + TimeOfDay + } = asn1; + + new TimeOfDay({ + value: "ha" + }); + + const b = new TimeOfDay({ + value: "a" + }); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + str = b.valueBlock.toString(); + arrBuf = b.valueBlock.valueBeforeDecode; + str = b.valueBlock.warnings[0]; + bool = b.valueBlock.isHexOnly; + arrBuf = b.valueBlock.valueHex; + } + + str = b.warnings[0]; + } + + namespace DateTime { + const { + DateTime + } = asn1; + + new DateTime({ + value: "ha" + }); + + const b = new DateTime({ + value: "a" + }); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + str = b.valueBlock.toString(); + arrBuf = b.valueBlock.valueBeforeDecode; + str = b.valueBlock.warnings[0]; + bool = b.valueBlock.isHexOnly; + arrBuf = b.valueBlock.valueHex; + } + + str = b.warnings[0]; + } + + namespace Duration { + const { + Duration + } = asn1; + + new Duration({ + value: "ha" + }); + + const b = new Duration({ + value: "a" + }); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + str = b.valueBlock.toString(); + arrBuf = b.valueBlock.valueBeforeDecode; + str = b.valueBlock.warnings[0]; + bool = b.valueBlock.isHexOnly; + arrBuf = b.valueBlock.valueHex; + } + + str = b.warnings[0]; + } + + namespace TIME { + const { + TIME + } = asn1; + + new TIME({ + value: "ha" + }); + + const b = new TIME({ + value: "a" + }); + + namespace idblock { + num = b.idBlock.blockLength; + str = b.idBlock.error; + bool = b.idBlock.isConstructed; + bool = b.idBlock.isHexOnly; + num = b.idBlock.tagClass; + num = b.idBlock.tagNumber; + arrBuf = b.idBlock.toBER(); + { + const j = b.idBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.idBlock.valueBeforeDecode; + arrBuf = b.idBlock.valueHex; + str = b.idBlock.warnings[0]; + } + + namespace lenblock { + num = b.lenBlock.blockLength; + str = b.lenBlock.error; + b.lenBlock.fromBER(new ArrayBuffer(10), 1, 1); + bool = b.lenBlock.isIndefiniteForm; + num = b.lenBlock.length; + bool = b.lenBlock.longFormUsed; + arrBuf = b.lenBlock.toBER(); + { + const j = b.lenBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.lenBlock.valueBeforeDecode; + str = b.lenBlock.warnings[0]; + } + + arrBuf = b.toBER(); + arrBuf = b.toBER(true); + + { + const j = b.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = b.valueBeforeDecode; + + namespace valueBlock { + num = b.valueBlock.blockLength; + str = b.valueBlock.error; + b.valueBlock.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = b.valueBlock.toBER(); + { + const j = b.valueBlock.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + str = b.valueBlock.toString(); + arrBuf = b.valueBlock.valueBeforeDecode; + str = b.valueBlock.warnings[0]; + bool = b.valueBlock.isHexOnly; + arrBuf = b.valueBlock.valueHex; + } + + str = b.warnings[0]; + } + + namespace Choice { + const { + Choice + } = asn1; + + new Choice({ + optional: true + }); + + const c = new Choice({ + value: [new asn1.Integer({ value: 10 })] + }); + + c.value[0].toBER(); + bool = c.optional; + } + + namespace Any { + const { + Any + } = asn1; + + const a = new Any({ + name: "A", + optional: true + }); + + str = a.name; + bool = a.optional; + } + + namespace Repeated { + const { + Repeated + } = asn1; + + new Repeated(); + new Repeated({ + local: true + }); + new Repeated({ + name: "a" + }); + new Repeated({ + optional: true + }); + const r = new Repeated({ + value: new asn1.Any() + }); + + str = r.name; + bool = r.optional; + str = r.value.name; + bool = r.value.optional; + bool = r.local; + } + + namespace RawData { + const { + RawData + } = asn1; + + const r = new RawData({ + data: new ArrayBuffer(10) + }); + arrBuf = r.data; + num = r.fromBER(new ArrayBuffer(10), 0, 0); + arrBuf = r.toBER(); + } + + namespace fromBER { + const r = asn1.fromBER(new ArrayBuffer(10)); + num = r.offset; + const { result } = r; + num = result.blockLength; + str = result.error; + { + const j = result.toJSON(); + num = j.blockLength; + str = j.blockName; + str = j.error; + arrBuf = j.valueBeforeDecode; + str = j.warnings[0]; + } + arrBuf = result.valueBeforeDecode; + str = result.warnings[0]; + } + + namespace compareSchema { + const res = asn1.compareSchema({}, {}, {}); + bool = res.verified; + res.result; + } + + namespace verifySchema { + const res = asn1.verifySchema(new ArrayBuffer(10), {}); + bool = res.verified; + res.result; + } +} diff --git a/types/adone/test/glosses/crypto/ed25519.ts b/types/adone/test/glosses/crypto/ed25519.ts new file mode 100644 index 0000000000..8c0326abf9 --- /dev/null +++ b/types/adone/test/glosses/crypto/ed25519.ts @@ -0,0 +1,28 @@ +namespace adoneTests.crypto.ed25519 { + const { + crypto: { + ed25519 + } + } = adone; + + let buf: Buffer; + let num: number; + let bool: boolean; + + num = ed25519.privateKeyLength; + num = ed25519.publicKeyLength; + + const pair = ed25519.generateKeyPair(Buffer.from("123")); + buf = pair.publicKey; + buf = pair.privateKey; + + buf = ed25519.sign(Buffer.from("hello"), Buffer.from("seed")); + buf = ed25519.sign(Buffer.from("hello"), { + publicKey: Buffer.from("hello"), + privateKey: Buffer.from("hello") + }); + + buf = ed25519.sign(Buffer.from("hello"), ed25519.generateKeyPair(Buffer.from("hello"))); + + bool = ed25519.verify(Buffer.from("hello"), Buffer.from("world"), Buffer.from("key")); +} diff --git a/types/adone/test/glosses/crypto/secp256k1.ts b/types/adone/test/glosses/crypto/secp256k1.ts new file mode 100644 index 0000000000..5f80b61537 --- /dev/null +++ b/types/adone/test/glosses/crypto/secp256k1.ts @@ -0,0 +1,97 @@ +namespace adoneTests.crypto.secp256k1 { + const { + crypto: { + secp256k1 + } + } = adone; + + let bool: boolean; + let buf: Buffer; + let num: number; + + const privateKey = Buffer.from("hello"); + const tweak = Buffer.from("world"); + const publicKey = Buffer.from("olleh"); + const signature = Buffer.from("dlrow"); + + bool = secp256k1.privateKeyVerify(privateKey); + + buf = secp256k1.privateKeyExport(privateKey); + buf = secp256k1.privateKeyExport(privateKey, true); + + buf = secp256k1.privateKeyImport(privateKey); + + buf = secp256k1.privateKeyNegate(privateKey); + + buf = secp256k1.privateKeyTweakAdd(privateKey, tweak); + + buf = secp256k1.privateKeyTweakMul(privateKey, tweak); + + buf = secp256k1.publicKeyConvert(publicKey); + buf = secp256k1.publicKeyConvert(publicKey, true); + + bool = secp256k1.publicKeyVerify(publicKey); + + buf = secp256k1.publicKeyTweakAdd(publicKey, tweak); + buf = secp256k1.publicKeyTweakAdd(publicKey, tweak, true); + + buf = secp256k1.publicKeyTweakMul(publicKey, tweak); + buf = secp256k1.publicKeyTweakMul(publicKey, tweak, true); + + buf = secp256k1.publicKeyCombine([publicKey, publicKey]); + buf = secp256k1.publicKeyCombine([publicKey, publicKey], true); + + buf = secp256k1.signatureNormalize(signature); + + buf = secp256k1.signatureExport(signature); + + buf = secp256k1.signatureImport(signature); + + buf = secp256k1.signatureImportLax(signature); + + const message = Buffer.from("msg"); + + { + const res = secp256k1.sign(message, privateKey); + buf = res.signature; + num = res.recovery; + } + { + const res = secp256k1.sign(message, privateKey, {}); + buf = res.signature; + num = res.recovery; + } + { + const res = secp256k1.sign(message, privateKey, { + data: null + }); + buf = res.signature; + num = res.recovery; + } + { + const res = secp256k1.sign(message, privateKey, { + data: Buffer.from("123") + }); + buf = res.signature; + num = res.recovery; + } + { + const res = secp256k1.sign(message, privateKey, { + noncefn(msg: Buffer, privateKey: Buffer, algo: Buffer, data: Buffer, attempt: number) { + return Buffer.from("hehe"); + } + }); + buf = res.signature; + num = res.recovery; + } + + bool = secp256k1.verify(message, signature, publicKey); + + buf = secp256k1.recover(message, signature, 1); + buf = secp256k1.recover(message, signature, 1, true); + + buf = secp256k1.ecdh(publicKey, privateKey); + + buf = secp256k1.ecdhUnsafe(publicKey, privateKey); + buf = secp256k1.ecdhUnsafe(publicKey, privateKey, true); +} diff --git a/types/adone/test/glosses/regex.ts b/types/adone/test/glosses/regex.ts new file mode 100644 index 0000000000..7aab1e0d8d --- /dev/null +++ b/types/adone/test/glosses/regex.ts @@ -0,0 +1,17 @@ +namespace adoneTests.regex { + const { + regex + } = adone; + + regex.ansi().test("a"); + regex.filename().test("a"); + regex.idn().test("a"); + regex.ip4().test("a"); + regex.ip6().test("a"); + regex.protocol().test("a"); + regex.punycode().test("a"); + regex.shebang().test("a"); + regex.uri().test("a"); + regex.uuid4().test("a"); + regex.uuid5().test("a"); +} diff --git a/types/adone/test/glosses/semver.ts b/types/adone/test/glosses/semver.ts new file mode 100644 index 0000000000..e6ac7a50b0 --- /dev/null +++ b/types/adone/test/glosses/semver.ts @@ -0,0 +1,131 @@ +namespace adoneTests.semver { + const { + semver + } = adone; + + type ReleaseType = adone.semver.I.ReleaseType; + type Operator = adone.semver.I.Operator; + type SemVer = adone.semver.SemVer; + type Comparator = adone.semver.Comparator; + + let bool: boolean; + let num: number; + let str = ''; + let strn: string | null = ''; + let diff: ReleaseType | null; + const op: Operator = ''; + declare const arr: any[]; + declare const exp: RegExp; + let strArr: string[] | null; + declare const numArr: string[]; + let comparatorResult: -1 | 0 | 1; + let versionsArr: Array; + + const v1 = ''; + const v2 = ''; + const version = ''; + const versions: string[] = []; + const loose = true; + let sem: SemVer | null; + + sem = semver.parse(str); + strn = semver.valid(str); + strn = semver.clean(str); + + strn = semver.valid(str, loose); + strn = semver.clean(str, loose); + strn = semver.inc(str, "major", loose); + strn = semver.inc(str, "premajor", loose); + strn = semver.inc(str, "minor", loose); + strn = semver.inc(str, "preminor", loose); + strn = semver.inc(str, "patch", loose); + strn = semver.inc(str, "prepatch", loose); + strn = semver.inc(str, "prerelease", loose); + strn = semver.inc(str, "prerelease", loose, "alpha"); + num = semver.major(str, loose); + num = semver.minor(str, loose); + num = semver.patch(str, loose); + strArr = semver.prerelease(str, loose); + + // Comparison + bool = semver.gt(v1, v2, loose); + bool = semver.gte(v1, v2, loose); + bool = semver.lt(v1, v2, loose); + bool = semver.lte(v1, v2, loose); + bool = semver.eq(v1, v2, loose); + bool = semver.neq(v1, v2, loose); + bool = semver.cmp(v1, op, v2, loose); + comparatorResult = semver.compare(v1, v2, loose); + comparatorResult = semver.rcompare(v1, v2, loose); + comparatorResult = semver.compareIdentifiers(str, str); + comparatorResult = semver.rcompareIdentifiers(str, str); + versionsArr = semver.sort(['', new semver.SemVer('')]); + versionsArr = semver.rsort(['', new semver.SemVer('')]); + diff = semver.diff(v1, v2, loose); + + // Ranges + str = semver.validRange(str, loose); + bool = semver.satisfies(version, str, loose); + str = semver.maxSatisfying(versions, str, loose); + str = semver.minSatisfying(versions, str, loose); + bool = semver.gtr(version, str, loose); + bool = semver.ltr(version, str, loose); + bool = semver.outside(version, str, '<', loose); + bool = semver.intersects(str, str, loose); + + // Coercion + sem = semver.coerce(str); + + let ver = new semver.SemVer(str, bool); + str = ver.raw; + bool = ver.loose; + str = ver.format(); + str = ver.inspect(); + str = ver.toString(); + + num = ver.major; + num = ver.minor; + num = ver.patch; + str = ver.version; + strArr = ver.build; + strArr = ver.prerelease; + + comparatorResult = ver.compare(ver); + comparatorResult = ver.compareMain(ver); + comparatorResult = ver.comparePre(ver); + ver = ver.inc("major"); + ver = ver.inc("premajor"); + ver = ver.inc("minor"); + ver = ver.inc("preminor"); + ver = ver.inc("patch"); + ver = ver.inc("prepatch"); + ver = ver.inc("prerelease"); + ver = ver.inc("prerelease", "alpha"); + + const comp = new semver.Comparator(str, bool); + str = comp.toString(); + + ver = comp.semver; + str = comp.operator; + bool = comp.value; + comp.parse(str); + bool = comp.test(ver); + bool = comp.intersects(new semver.Comparator(str)); + bool = comp.intersects(new semver.Comparator(str), bool); + + const range = new semver.Range(str, bool); + str = range.raw; + bool = range.loose; + str = range.format(); + str = range.inspect(); + str = range.toString(); + bool = range.test(ver); + bool = range.intersects(new semver.Range('')); + bool = range.intersects(new semver.Range(''), bool); + + let sets: Comparator[][]; + sets = range.set; + + let lims: Comparator[]; + lims = range.parseRange(str); +} diff --git a/types/adone/test/glosses/system/env.ts b/types/adone/test/glosses/system/env.ts new file mode 100644 index 0000000000..6f77ede2fa --- /dev/null +++ b/types/adone/test/glosses/system/env.ts @@ -0,0 +1,25 @@ +namespace adoneTests.system.env { + const { + system: { + env + } + } = adone; + + let str: string; + + str = env.user(); + + str = env.prompt(); + + str = env.hostname(); + + str = env.tmpdir(); + + str = env.home(); + + str = env.path(); + + str = env.editor(); + + str = env.shell(); +} diff --git a/types/adone/test/glosses/system/process.ts b/types/adone/test/glosses/system/process.ts new file mode 100644 index 0000000000..9ffd3c33a5 --- /dev/null +++ b/types/adone/test/glosses/system/process.ts @@ -0,0 +1,1200 @@ +namespace adoneTests.system.process { + const { + system: { + process + } + } = adone; + + let str: string; + let num: number; + let bool: boolean; + let anyArr: any[]; + + str = process.errname(1); + + str = process.errnameFallback({}, 1); + + anyArr = process.stdio({}); + + namespace exec { + process.exec("node"); + process.exec("node", ["1.js"]); + process.exec("node", ["1.js"], {}); + process.exec("node", ["1.js"], { + cwd: "hello" + }); + process.exec("node", ["1.js"], { + env: { + a: "a" + } + }); + process.exec("node", ["1.js"], { + extendEnv: true + }); + process.exec("node", ["1.js"], { + argv0: "a" + }); + { + process.exec("node", ["1.js"], { + stdio: "pipe" + }); + process.exec("node", ["1.js"], { + stdio: "ignore" + }); + process.exec("node", ["1.js"], { + stdio: "inherit" + }); + process.exec("node", ["1.js"], { + stdio: ["pipe"] + }); + process.exec("node", ["1.js"], { + stdio: ["ipc"] + }); + process.exec("node", ["1.js"], { + stdio: ["ignore"] + }); + process.exec("node", ["1.js"], { + stdio: [new adone.std.stream.Stream()] + }); + process.exec("node", ["1.js"], { + stdio: [0] + }); + process.exec("node", ["1.js"], { + stdio: [null] + }); + process.exec("node", ["1.js"], { + stdio: [undefined] + }); + } + process.exec("node", ["1.js"], { + detached: true + }); + process.exec("node", ["1.js"], { + uid: 1000 + }); + process.exec("node", ["1.js"], { + gid: 1000 + }); + process.exec("node", ["1.js"], { + shell: true + }); + process.exec("node", ["1.js"], { + windowsVerbatimArguments: true + }); + process.exec("node", ["1.js"], { + stripEof: true + }); + process.exec("node", ["1.js"], { + preferLocal: true + }); + process.exec("node", ["1.js"], { + localDir: "a" + }); + process.exec("node", ["1.js"], { + reject: false + }); + process.exec("node", ["1.js"], { + cleanup: true + }); + process.exec("node", ["1.js"], { + encoding: "utf8" + }); + process.exec("node", ["1.js"], { + timeout: 100 + }); + process.exec("node", ["1.js"], { + maxBuffer: 1010101 + }); + process.exec("node", ["1.js"], { + killSignal: "SIGINT" + }); + { + process.exec("node", ["1.js"], { + stdin: "pipe" + }); + process.exec("node", ["1.js"], { + stdin: "ignore" + }); + process.exec("node", ["1.js"], { + stdin: "ipc" + }); + process.exec("node", ["1.js"], { + stdin: "ignore" + }); + process.exec("node", ["1.js"], { + stdin: new adone.std.stream.Stream() + }); + process.exec("node", ["1.js"], { + stdin: 0 + }); + process.exec("node", ["1.js"], { + stdin: null + }); + process.exec("node", ["1.js"], { + stdin: undefined + }); + } + { + process.exec("node", ["1.js"], { + stdout: "pipe" + }); + process.exec("node", ["1.js"], { + stdout: "ignore" + }); + process.exec("node", ["1.js"], { + stdout: "ipc" + }); + process.exec("node", ["1.js"], { + stdout: "ignore" + }); + process.exec("node", ["1.js"], { + stdout: new adone.std.stream.Stream() + }); + process.exec("node", ["1.js"], { + stdout: 0 + }); + process.exec("node", ["1.js"], { + stdout: null + }); + process.exec("node", ["1.js"], { + stdout: undefined + }); + } + { + process.exec("node", ["1.js"], { + stderr: "pipe" + }); + process.exec("node", ["1.js"], { + stderr: "ignore" + }); + process.exec("node", ["1.js"], { + stderr: "ipc" + }); + process.exec("node", ["1.js"], { + stderr: "ignore" + }); + process.exec("node", ["1.js"], { + stderr: new adone.std.stream.Stream() + }); + process.exec("node", ["1.js"], { + stderr: 0 + }); + process.exec("node", ["1.js"], { + stderr: null + }); + process.exec("node", ["1.js"], { + stderr: undefined + }); + } + { + process.exec("node", ["1.js"], { + input: "a" + }); + process.exec("node", ["1.js"], { + input: Buffer.from("a") + }); + process.exec("node", ["1.js"], { + input: adone.fs.createReadStream(__filename) + }); + } + { + const ret = process.exec("node", ["1.js"]); + ret.then((x) => { + str = x.cmd; + num = x.code; + bool = x.killed; + if (!adone.is.null(x.signal)) { + str = x.signal; + } + str = x.stderr; + str = x.stdout; + bool = x.timedOut; + }); + ret.catch((x) => { + str = x.cmd; + num = x.code; + bool = x.killed; + if (!adone.is.null(x.signal)) { + str = x.signal; + } + str = x.stderr; + str = x.stdout; + bool = x.timedOut; + }); + + ret.on("message", () => {}); + ret.stdout.pipe(adone.fs.createWriteStream(__filename)); + } + } + + namespace execStdout { + process.execStdout("node"); + process.execStdout("node", ["1.js"]); + process.execStdout("node", ["1.js"], {}); + process.execStdout("node", ["1.js"], { + cwd: "hello" + }); + process.execStdout("node", ["1.js"], { + env: { + a: "a" + } + }); + process.execStdout("node", ["1.js"], { + extendEnv: true + }); + process.execStdout("node", ["1.js"], { + argv0: "a" + }); + { + process.execStdout("node", ["1.js"], { + stdio: "pipe" + }); + process.execStdout("node", ["1.js"], { + stdio: "ignore" + }); + process.execStdout("node", ["1.js"], { + stdio: "inherit" + }); + process.execStdout("node", ["1.js"], { + stdio: ["pipe"] + }); + process.execStdout("node", ["1.js"], { + stdio: ["ipc"] + }); + process.execStdout("node", ["1.js"], { + stdio: ["ignore"] + }); + process.execStdout("node", ["1.js"], { + stdio: [new adone.std.stream.Stream()] + }); + process.execStdout("node", ["1.js"], { + stdio: [0] + }); + process.execStdout("node", ["1.js"], { + stdio: [null] + }); + process.execStdout("node", ["1.js"], { + stdio: [undefined] + }); + } + process.execStdout("node", ["1.js"], { + detached: true + }); + process.execStdout("node", ["1.js"], { + uid: 1000 + }); + process.execStdout("node", ["1.js"], { + gid: 1000 + }); + process.execStdout("node", ["1.js"], { + shell: true + }); + process.execStdout("node", ["1.js"], { + windowsVerbatimArguments: true + }); + process.execStdout("node", ["1.js"], { + stripEof: true + }); + process.execStdout("node", ["1.js"], { + preferLocal: true + }); + process.execStdout("node", ["1.js"], { + localDir: "a" + }); + process.execStdout("node", ["1.js"], { + reject: false + }); + process.execStdout("node", ["1.js"], { + cleanup: true + }); + process.execStdout("node", ["1.js"], { + encoding: "utf8" + }); + process.execStdout("node", ["1.js"], { + timeout: 100 + }); + process.execStdout("node", ["1.js"], { + maxBuffer: 1010101 + }); + process.execStdout("node", ["1.js"], { + killSignal: "SIGINT" + }); + { + process.execStdout("node", ["1.js"], { + stdin: "pipe" + }); + process.execStdout("node", ["1.js"], { + stdin: "ignore" + }); + process.execStdout("node", ["1.js"], { + stdin: "ipc" + }); + process.execStdout("node", ["1.js"], { + stdin: "ignore" + }); + process.execStdout("node", ["1.js"], { + stdin: new adone.std.stream.Stream() + }); + process.execStdout("node", ["1.js"], { + stdin: 0 + }); + process.execStdout("node", ["1.js"], { + stdin: null + }); + process.execStdout("node", ["1.js"], { + stdin: undefined + }); + } + { + process.execStdout("node", ["1.js"], { + stdout: "pipe" + }); + process.execStdout("node", ["1.js"], { + stdout: "ignore" + }); + process.execStdout("node", ["1.js"], { + stdout: "ipc" + }); + process.execStdout("node", ["1.js"], { + stdout: "ignore" + }); + process.execStdout("node", ["1.js"], { + stdout: new adone.std.stream.Stream() + }); + process.execStdout("node", ["1.js"], { + stdout: 0 + }); + process.execStdout("node", ["1.js"], { + stdout: null + }); + process.execStdout("node", ["1.js"], { + stdout: undefined + }); + } + { + process.execStdout("node", ["1.js"], { + stderr: "pipe" + }); + process.execStdout("node", ["1.js"], { + stderr: "ignore" + }); + process.execStdout("node", ["1.js"], { + stderr: "ipc" + }); + process.execStdout("node", ["1.js"], { + stderr: "ignore" + }); + process.execStdout("node", ["1.js"], { + stderr: new adone.std.stream.Stream() + }); + process.execStdout("node", ["1.js"], { + stderr: 0 + }); + process.execStdout("node", ["1.js"], { + stderr: null + }); + process.execStdout("node", ["1.js"], { + stderr: undefined + }); + } + { + process.execStdout("node", ["1.js"], { + input: "a" + }); + process.execStdout("node", ["1.js"], { + input: Buffer.from("a") + }); + process.execStdout("node", ["1.js"], { + input: adone.fs.createReadStream(__filename) + }); + } + { + const ret = process.execStdout("node", ["1.js"]); + ret.then((x) => { + str = x; + }); + } + } + + namespace execStderr { + process.execStderr("node"); + process.execStderr("node", ["1.js"]); + process.execStderr("node", ["1.js"], {}); + process.execStderr("node", ["1.js"], { + cwd: "hello" + }); + process.execStderr("node", ["1.js"], { + env: { + a: "a" + } + }); + process.execStderr("node", ["1.js"], { + extendEnv: true + }); + process.execStderr("node", ["1.js"], { + argv0: "a" + }); + { + process.execStderr("node", ["1.js"], { + stdio: "pipe" + }); + process.execStderr("node", ["1.js"], { + stdio: "ignore" + }); + process.execStderr("node", ["1.js"], { + stdio: "inherit" + }); + process.execStderr("node", ["1.js"], { + stdio: ["pipe"] + }); + process.execStderr("node", ["1.js"], { + stdio: ["ipc"] + }); + process.execStderr("node", ["1.js"], { + stdio: ["ignore"] + }); + process.execStderr("node", ["1.js"], { + stdio: [new adone.std.stream.Stream()] + }); + process.execStderr("node", ["1.js"], { + stdio: [0] + }); + process.execStderr("node", ["1.js"], { + stdio: [null] + }); + process.execStderr("node", ["1.js"], { + stdio: [undefined] + }); + } + process.execStderr("node", ["1.js"], { + detached: true + }); + process.execStderr("node", ["1.js"], { + uid: 1000 + }); + process.execStderr("node", ["1.js"], { + gid: 1000 + }); + process.execStderr("node", ["1.js"], { + shell: true + }); + process.execStderr("node", ["1.js"], { + windowsVerbatimArguments: true + }); + process.execStderr("node", ["1.js"], { + stripEof: true + }); + process.execStderr("node", ["1.js"], { + preferLocal: true + }); + process.execStderr("node", ["1.js"], { + localDir: "a" + }); + process.execStderr("node", ["1.js"], { + reject: false + }); + process.execStderr("node", ["1.js"], { + cleanup: true + }); + process.execStderr("node", ["1.js"], { + encoding: "utf8" + }); + process.execStderr("node", ["1.js"], { + timeout: 100 + }); + process.execStderr("node", ["1.js"], { + maxBuffer: 1010101 + }); + process.execStderr("node", ["1.js"], { + killSignal: "SIGINT" + }); + { + process.execStderr("node", ["1.js"], { + stdin: "pipe" + }); + process.execStderr("node", ["1.js"], { + stdin: "ignore" + }); + process.execStderr("node", ["1.js"], { + stdin: "ipc" + }); + process.execStderr("node", ["1.js"], { + stdin: "ignore" + }); + process.execStderr("node", ["1.js"], { + stdin: new adone.std.stream.Stream() + }); + process.execStderr("node", ["1.js"], { + stdin: 0 + }); + process.execStderr("node", ["1.js"], { + stdin: null + }); + process.execStderr("node", ["1.js"], { + stdin: undefined + }); + } + { + process.execStderr("node", ["1.js"], { + stdout: "pipe" + }); + process.execStderr("node", ["1.js"], { + stdout: "ignore" + }); + process.execStderr("node", ["1.js"], { + stdout: "ipc" + }); + process.execStderr("node", ["1.js"], { + stdout: "ignore" + }); + process.execStderr("node", ["1.js"], { + stdout: new adone.std.stream.Stream() + }); + process.execStderr("node", ["1.js"], { + stdout: 0 + }); + process.execStderr("node", ["1.js"], { + stdout: null + }); + process.execStderr("node", ["1.js"], { + stdout: undefined + }); + } + { + process.execStderr("node", ["1.js"], { + stderr: "pipe" + }); + process.execStderr("node", ["1.js"], { + stderr: "ignore" + }); + process.execStderr("node", ["1.js"], { + stderr: "ipc" + }); + process.execStderr("node", ["1.js"], { + stderr: "ignore" + }); + process.execStderr("node", ["1.js"], { + stderr: new adone.std.stream.Stream() + }); + process.execStderr("node", ["1.js"], { + stderr: 0 + }); + process.execStderr("node", ["1.js"], { + stderr: null + }); + process.execStderr("node", ["1.js"], { + stderr: undefined + }); + } + { + process.execStderr("node", ["1.js"], { + input: "a" + }); + process.execStderr("node", ["1.js"], { + input: Buffer.from("a") + }); + process.execStderr("node", ["1.js"], { + input: adone.fs.createReadStream(__filename) + }); + } + { + const ret = process.execStderr("node", ["1.js"]); + ret.then((x) => { + str = x; + }); + } + } + + namespace shell { + process.shell("node 1.js"); + process.shell("node 1.js", {}); + process.shell("node 1.js", { + cwd: "hello" + }); + process.shell("node 1.js", { + env: { + a: "a" + } + }); + process.shell("node 1.js", { + extendEnv: true + }); + process.shell("node 1.js", { + argv0: "a" + }); + { + process.shell("node 1.js", { + stdio: "pipe" + }); + process.shell("node 1.js", { + stdio: "ignore" + }); + process.shell("node 1.js", { + stdio: "inherit" + }); + process.shell("node 1.js", { + stdio: ["pipe"] + }); + process.shell("node 1.js", { + stdio: ["ipc"] + }); + process.shell("node 1.js", { + stdio: ["ignore"] + }); + process.shell("node 1.js", { + stdio: [new adone.std.stream.Stream()] + }); + process.shell("node 1.js", { + stdio: [0] + }); + process.shell("node 1.js", { + stdio: [null] + }); + process.shell("node 1.js", { + stdio: [undefined] + }); + } + process.shell("node 1.js", { + detached: true + }); + process.shell("node 1.js", { + uid: 1000 + }); + process.shell("node 1.js", { + gid: 1000 + }); + process.shell("node 1.js", { + shell: true + }); + process.shell("node 1.js", { + windowsVerbatimArguments: true + }); + process.shell("node 1.js", { + stripEof: true + }); + process.shell("node 1.js", { + preferLocal: true + }); + process.shell("node 1.js", { + localDir: "a" + }); + process.shell("node 1.js", { + reject: false + }); + process.shell("node 1.js", { + cleanup: true + }); + process.shell("node 1.js", { + encoding: "utf8" + }); + process.shell("node 1.js", { + timeout: 100 + }); + process.shell("node 1.js", { + maxBuffer: 1010101 + }); + process.shell("node 1.js", { + killSignal: "SIGINT" + }); + { + process.shell("node 1.js", { + stdin: "pipe" + }); + process.shell("node 1.js", { + stdin: "ignore" + }); + process.shell("node 1.js", { + stdin: "ipc" + }); + process.shell("node 1.js", { + stdin: "ignore" + }); + process.shell("node 1.js", { + stdin: new adone.std.stream.Stream() + }); + process.shell("node 1.js", { + stdin: 0 + }); + process.shell("node 1.js", { + stdin: null + }); + process.shell("node 1.js", { + stdin: undefined + }); + } + { + process.shell("node 1.js", { + stdout: "pipe" + }); + process.shell("node 1.js", { + stdout: "ignore" + }); + process.shell("node 1.js", { + stdout: "ipc" + }); + process.shell("node 1.js", { + stdout: "ignore" + }); + process.shell("node 1.js", { + stdout: new adone.std.stream.Stream() + }); + process.shell("node 1.js", { + stdout: 0 + }); + process.shell("node 1.js", { + stdout: null + }); + process.shell("node 1.js", { + stdout: undefined + }); + } + { + process.shell("node 1.js", { + stderr: "pipe" + }); + process.shell("node 1.js", { + stderr: "ignore" + }); + process.shell("node 1.js", { + stderr: "ipc" + }); + process.shell("node 1.js", { + stderr: "ignore" + }); + process.shell("node 1.js", { + stderr: new adone.std.stream.Stream() + }); + process.shell("node 1.js", { + stderr: 0 + }); + process.shell("node 1.js", { + stderr: null + }); + process.shell("node 1.js", { + stderr: undefined + }); + } + { + process.shell("node 1.js", { + input: "a" + }); + process.shell("node 1.js", { + input: Buffer.from("a") + }); + process.shell("node 1.js", { + input: adone.fs.createReadStream(__filename) + }); + } + { + const ret = process.shell("node 1.js"); + ret.then((x) => { + str = x.cmd; + num = x.code; + bool = x.killed; + if (!adone.is.null(x.signal)) { + str = x.signal; + } + str = x.stderr; + str = x.stdout; + bool = x.timedOut; + }); + ret.catch((x) => { + str = x.cmd; + num = x.code; + bool = x.killed; + if (!adone.is.null(x.signal)) { + str = x.signal; + } + str = x.stderr; + str = x.stdout; + bool = x.timedOut; + }); + + ret.on("message", () => {}); + ret.stdout.pipe(adone.fs.createWriteStream(__filename)); + } + } + + namespace execSync { + process.execSync("node"); + process.execSync("node", ["1.js"]); + process.execSync("node", ["1.js"], {}); + process.execSync("node", ["1.js"], { + cwd: "hello" + }); + process.execSync("node", ["1.js"], { + env: { + a: "a" + } + }); + process.execSync("node", ["1.js"], { + extendEnv: true + }); + process.execSync("node", ["1.js"], { + argv0: "a" + }); + { + process.execSync("node", ["1.js"], { + stdio: "pipe" + }); + process.execSync("node", ["1.js"], { + stdio: "ignore" + }); + process.execSync("node", ["1.js"], { + stdio: "inherit" + }); + process.execSync("node", ["1.js"], { + stdio: ["pipe"] + }); + process.execSync("node", ["1.js"], { + stdio: ["ipc"] + }); + process.execSync("node", ["1.js"], { + stdio: ["ignore"] + }); + process.execSync("node", ["1.js"], { + stdio: [new adone.std.stream.Stream()] + }); + process.execSync("node", ["1.js"], { + stdio: [0] + }); + process.execSync("node", ["1.js"], { + stdio: [null] + }); + process.execSync("node", ["1.js"], { + stdio: [undefined] + }); + } + process.execSync("node", ["1.js"], { + detached: true + }); + process.execSync("node", ["1.js"], { + uid: 1000 + }); + process.execSync("node", ["1.js"], { + gid: 1000 + }); + process.execSync("node", ["1.js"], { + shell: true + }); + process.execSync("node", ["1.js"], { + windowsVerbatimArguments: true + }); + process.execSync("node", ["1.js"], { + stripEof: true + }); + process.execSync("node", ["1.js"], { + preferLocal: true + }); + process.execSync("node", ["1.js"], { + localDir: "a" + }); + process.execSync("node", ["1.js"], { + reject: false + }); + process.execSync("node", ["1.js"], { + cleanup: true + }); + process.execSync("node", ["1.js"], { + encoding: "utf8" + }); + process.execSync("node", ["1.js"], { + timeout: 100 + }); + process.execSync("node", ["1.js"], { + maxBuffer: 1010101 + }); + process.execSync("node", ["1.js"], { + killSignal: "SIGINT" + }); + { + process.execSync("node", ["1.js"], { + stdin: "pipe" + }); + process.execSync("node", ["1.js"], { + stdin: "ignore" + }); + process.execSync("node", ["1.js"], { + stdin: "ipc" + }); + process.execSync("node", ["1.js"], { + stdin: "ignore" + }); + process.execSync("node", ["1.js"], { + stdin: new adone.std.stream.Stream() + }); + process.execSync("node", ["1.js"], { + stdin: 0 + }); + process.execSync("node", ["1.js"], { + stdin: null + }); + process.execSync("node", ["1.js"], { + stdin: undefined + }); + } + { + process.execSync("node", ["1.js"], { + stdout: "pipe" + }); + process.execSync("node", ["1.js"], { + stdout: "ignore" + }); + process.execSync("node", ["1.js"], { + stdout: "ipc" + }); + process.execSync("node", ["1.js"], { + stdout: "ignore" + }); + process.execSync("node", ["1.js"], { + stdout: new adone.std.stream.Stream() + }); + process.execSync("node", ["1.js"], { + stdout: 0 + }); + process.execSync("node", ["1.js"], { + stdout: null + }); + process.execSync("node", ["1.js"], { + stdout: undefined + }); + } + { + process.execSync("node", ["1.js"], { + stderr: "pipe" + }); + process.execSync("node", ["1.js"], { + stderr: "ignore" + }); + process.execSync("node", ["1.js"], { + stderr: "ipc" + }); + process.execSync("node", ["1.js"], { + stderr: "ignore" + }); + process.execSync("node", ["1.js"], { + stderr: new adone.std.stream.Stream() + }); + process.execSync("node", ["1.js"], { + stderr: 0 + }); + process.execSync("node", ["1.js"], { + stderr: null + }); + process.execSync("node", ["1.js"], { + stderr: undefined + }); + } + { + process.execSync("node", ["1.js"], { + input: "a" + }); + process.execSync("node", ["1.js"], { + input: Buffer.from("a") + }); + } + { + const x = process.execSync("node", ["1.js"]); + str = x.cmd; + num = x.code; + bool = x.killed; + if (!adone.is.null(x.signal)) { + str = x.signal; + } + str = x.stderr; + str = x.stdout; + bool = x.timedOut; + } + } + + namespace shell { + process.shellSync("node 1.js"); + process.shellSync("node 1.js", {}); + process.shellSync("node 1.js", { + cwd: "hello" + }); + process.shellSync("node 1.js", { + env: { + a: "a" + } + }); + process.shellSync("node 1.js", { + extendEnv: true + }); + process.shellSync("node 1.js", { + argv0: "a" + }); + { + process.shellSync("node 1.js", { + stdio: "pipe" + }); + process.shellSync("node 1.js", { + stdio: "ignore" + }); + process.shellSync("node 1.js", { + stdio: "inherit" + }); + process.shellSync("node 1.js", { + stdio: ["pipe"] + }); + process.shellSync("node 1.js", { + stdio: ["ipc"] + }); + process.shellSync("node 1.js", { + stdio: ["ignore"] + }); + process.shellSync("node 1.js", { + stdio: [new adone.std.stream.Stream()] + }); + process.shellSync("node 1.js", { + stdio: [0] + }); + process.shellSync("node 1.js", { + stdio: [null] + }); + process.shellSync("node 1.js", { + stdio: [undefined] + }); + } + process.shellSync("node 1.js", { + detached: true + }); + process.shellSync("node 1.js", { + uid: 1000 + }); + process.shellSync("node 1.js", { + gid: 1000 + }); + process.shellSync("node 1.js", { + shell: true + }); + process.shellSync("node 1.js", { + windowsVerbatimArguments: true + }); + process.shellSync("node 1.js", { + stripEof: true + }); + process.shellSync("node 1.js", { + preferLocal: true + }); + process.shellSync("node 1.js", { + localDir: "a" + }); + process.shellSync("node 1.js", { + reject: false + }); + process.shellSync("node 1.js", { + cleanup: true + }); + process.shellSync("node 1.js", { + encoding: "utf8" + }); + process.shellSync("node 1.js", { + timeout: 100 + }); + process.shellSync("node 1.js", { + maxBuffer: 1010101 + }); + process.shellSync("node 1.js", { + killSignal: "SIGINT" + }); + { + process.shellSync("node 1.js", { + stdin: "pipe" + }); + process.shellSync("node 1.js", { + stdin: "ignore" + }); + process.shellSync("node 1.js", { + stdin: "ipc" + }); + process.shellSync("node 1.js", { + stdin: "ignore" + }); + process.shellSync("node 1.js", { + stdin: new adone.std.stream.Stream() + }); + process.shellSync("node 1.js", { + stdin: 0 + }); + process.shellSync("node 1.js", { + stdin: null + }); + process.shellSync("node 1.js", { + stdin: undefined + }); + } + { + process.shellSync("node 1.js", { + stdout: "pipe" + }); + process.shellSync("node 1.js", { + stdout: "ignore" + }); + process.shellSync("node 1.js", { + stdout: "ipc" + }); + process.shellSync("node 1.js", { + stdout: "ignore" + }); + process.shellSync("node 1.js", { + stdout: new adone.std.stream.Stream() + }); + process.shellSync("node 1.js", { + stdout: 0 + }); + process.shellSync("node 1.js", { + stdout: null + }); + process.shellSync("node 1.js", { + stdout: undefined + }); + } + { + process.shellSync("node 1.js", { + stderr: "pipe" + }); + process.shellSync("node 1.js", { + stderr: "ignore" + }); + process.shellSync("node 1.js", { + stderr: "ipc" + }); + process.shellSync("node 1.js", { + stderr: "ignore" + }); + process.shellSync("node 1.js", { + stderr: new adone.std.stream.Stream() + }); + process.shellSync("node 1.js", { + stderr: 0 + }); + process.shellSync("node 1.js", { + stderr: null + }); + process.shellSync("node 1.js", { + stderr: undefined + }); + } + { + process.shellSync("node 1.js", { + input: "a" + }); + process.shellSync("node 1.js", { + input: Buffer.from("a") + }); + } + { + const x = process.shellSync("node 1.js"); + str = x.cmd; + num = x.code; + bool = x.killed; + if (!adone.is.null(x.signal)) { + str = x.signal; + } + str = x.stderr; + str = x.stdout; + bool = x.timedOut; + } + } +} diff --git a/types/adone/test/glosses/system/user.ts b/types/adone/test/glosses/system/user.ts new file mode 100644 index 0000000000..3e1b643d7d --- /dev/null +++ b/types/adone/test/glosses/system/user.ts @@ -0,0 +1,22 @@ +namespace adoneTests.system.process.user { + const { + system: { + user + } + } = adone; + + let str: string; + let num: number; + + const a = user.uid("hello"); + num = a.uid; + num = a.gid; + + num = user.gid("hello"); + + num = user.gids("hello")[0]; + + str = user.username(1000); + + str = user.groupname(1000); +} diff --git a/types/adone/test/glosses/templating/dot.ts b/types/adone/test/glosses/templating/dot.ts new file mode 100644 index 0000000000..69cd15d500 --- /dev/null +++ b/types/adone/test/glosses/templating/dot.ts @@ -0,0 +1,70 @@ +namespace adoneTests.templating.dot { + const { + templating: { + dot + } + } = adone; + + let str: string; + let bool; + let regexp: RegExp; + + str = dot.version; + + bool = dot.templateSettings.append; + regexp = dot.templateSettings.conditional; + regexp = dot.templateSettings.define; + regexp = dot.templateSettings.defineParams; + regexp = dot.templateSettings.encode; + regexp = dot.templateSettings.evaluate; + regexp = dot.templateSettings.interpolate; + regexp = dot.templateSettings.iterate; + bool = dot.templateSettings.selfcontained; + bool = dot.templateSettings.strip; + regexp = dot.templateSettings.use; + regexp = dot.templateSettings.useParams; + str = dot.templateSettings.varname; + + const r = dot.template("asd", { + append: true, + define: /a/, + encode: /a/, + evaluate: /a/, + conditional: /a/, + defineParams: /a/, + interpolate: /a/, + iterate: /a/, + selfcontained: true, + strip: false, + use: /a/, + useParams: /a/, + varname: "a" + }); + str = r("a"); + + str = dot.compile("asd")(); + str = dot.compile("asd", {})(); + + const a = dot.process(); + str = a["hello"](); + + dot.process({ + destination: "a" + }); + dot.process({ + global: "a" + }); + dot.process({ + path: "a" + }); + dot.process({ + templateSettings: { + append: true + } + }); + dot.process({ + templateSettings: { + useParams: /a/ + } + }); +} diff --git a/types/adone/test/glosses/templating/nunjucks.ts b/types/adone/test/glosses/templating/nunjucks.ts new file mode 100644 index 0000000000..85bd2e49e5 --- /dev/null +++ b/types/adone/test/glosses/templating/nunjucks.ts @@ -0,0 +1,139 @@ +namespace adoneTests.templating.nunjucks { + const { + templating: { + nunjucks + } + } = adone; + + let str: string; + let bool: boolean; + let pstr: Promise; + + namespace Environment { + const { + Environment + } = nunjucks; + + new Environment(); + new Environment(new nunjucks.FileSystemLoader()); + new Environment(new nunjucks.FileSystemLoader(), { autoescape: true }); + new Environment(new nunjucks.FileSystemLoader(), { dev: true }); + new Environment(new nunjucks.FileSystemLoader(), { lstripBlocks: true }); + new Environment(new nunjucks.FileSystemLoader(), { throOnUndefined: true }); + new Environment(new nunjucks.FileSystemLoader(), { trimBlocks: true }); + + const e = new Environment(); + str = e.render("a"); + e.render("a", {}, (e, r: string) => {}); + str = e.renderString("a"); + str = e.renderString("a", {}); + e.renderString("a", {}, (e, r: string) => {}); + + e.addFilter("name", () => 2); + e.addFilter("name", () => 2, true); + e.getFilter("name")(); + + e.addExtension("name", { parse() { return "a"; }, tags: ["a"] }); + e.removeExtension("name"); + e.getExtension("name").parse({}, {}, {}); + str = e.getExtension("name").tags[0]; + bool = e.hasExtension("name"); + e.addGlobal("a", "b"); + str = e.getTemplate("name", true).render(); + str = e.getTemplate("name").render(); + } + + namespace Template { + const { + Template + } = nunjucks; + + new Template("asd"); + new Template("asd", new nunjucks.Environment()); + new Template("asd", new nunjucks.Environment(), true); + str = new Template("asd").render(); + new Template("asd").render({}, (e: any, res: string) => {}); + } + + namespace Loader { + const { + Loader + } = nunjucks; + + new Loader(); + new Loader().on("asd", () => {}); + new Loader().emit("asd", 1, 2, 3); + str = new Loader().resolve("asd", "asd"); + bool = new Loader().isRelative("asd"); + new Loader().extend({ + async: true, + getSource(name: string) { + return { src: "a", path: "b", noCache: true }; + }, + extend(extender) { + extender.async; + extender.extend; + extender.getSource("a"); + return extender; + } + }); + } + + namespace FileSystemLoader { + const { + FileSystemLoader + } = nunjucks; + + new FileSystemLoader(); + new FileSystemLoader(["a"]); + new FileSystemLoader(["a"], { noCache: true }); + new FileSystemLoader(["a"], { watch: true }); + bool = new FileSystemLoader(["a"], { watch: true }).getSource("name").noCache; + str = new FileSystemLoader(["a"], { watch: true }).getSource("name").path; + str = new FileSystemLoader(["a"], { watch: true }).getSource("name").src; + } + + namespace PrecompiledLoader { + const { + PrecompiledLoader + } = nunjucks; + + new PrecompiledLoader(); + bool = new PrecompiledLoader().getSource("name").noCache; + str = new PrecompiledLoader().getSource("name").path; + str = new PrecompiledLoader().getSource("name").src; + } + + pstr = nunjucks.render("he"); + pstr = nunjucks.render("he", {}); + + str = nunjucks.renderSync("he"); + str = nunjucks.renderSync("he", {}); + + pstr = nunjucks.renderString("he"); + pstr = nunjucks.renderString("he", {}); + + str = nunjucks.renderStringSync("he"); + str = nunjucks.renderStringSync("he", {}); + + let t = nunjucks.compile("he"); + t = nunjucks.compile("he", new nunjucks.Environment()); + t = nunjucks.compile("he", new nunjucks.Environment(), "asd"); + t = nunjucks.compile("he", new nunjucks.Environment(), "asd", true); + str = t.render(); + + let e = nunjucks.configure(); + e = nunjucks.configure({}); + e = nunjucks.configure({ autoescape: true }); + e = nunjucks.configure({ dev: true }); + e = nunjucks.configure({ lstripBlocks: true }); + e = nunjucks.configure({ noCache: true }); + e = nunjucks.configure({ tags: { blockEnd: "{" } }); + e = nunjucks.configure({ throOnUndefined: true }); + e = nunjucks.configure({ trimBlocks: true }); + e = nunjucks.configure({ watch: true }); + e = nunjucks.configure("a", { watch: true }); + e.addFilter("name", () => true); + + nunjucks.installJinjaCompat(); +} diff --git a/types/adone/test/glosses/text/index.ts b/types/adone/test/glosses/text/index.ts new file mode 100644 index 0000000000..7f5fc88692 --- /dev/null +++ b/types/adone/test/glosses/text/index.ts @@ -0,0 +1,58 @@ +namespace adoneTests.text { + const { + text + } = adone; + + let str: string; + let regExp: RegExp; + let bool: boolean; + let num: number; + + namespace escape { + const { + escape + } = text; + + str = escape.regExpPattern("asd"); + str = escape.regExpReplacement("asd"); + str = escape.format("asd"); + str = escape.shellArg("asd"); + str = escape.control("sad"); + str = escape.htmlSpecialChars("asd"); + } + + namespace regexp { + const { + regexp + } = text; + + str = regexp.array2alternatives(["a"]); + } + + str = text.escapeStringRegexp("asd"); + str = text.toCamelCase("asd"); + str = text.camelCaseToDashed("asd"); + regExp = text.endLineRegExp; + str = text.splitLines("a")[0]; + str = text.regExpIndexOf("a", /ads/); + str = text.regExpIndexOf("a", /ads/, 1); + str = text.stripAnsi("ad"); + bool = text.hasAnsi("asd"); + str = text.random(100); + str = text.detectNewLine("asd"); + str = text.wordwrap("ads", 10)[0]; + str = text.wordwrap("ads", 10, { join: true }); + str = text.wordwrap("ads", 10, { countAnsiEscapeCodes: true }); + str = text.wordwrap("ads", 10, { mode: "hard" }); + num = text.stringDistance("as", "ds"); + num = text.stringDistance("as", "ds", [[1]]); + num = text.stringDistanceCapped("a", "b", 10); + str = text.capitalize("asd"); + str = text.capitalizeWords("asd"); + num = text.width("asd"); + str = text.indent("asd", 10); + str = text.stripEof("asd"); + str = text.stripLastCRLF("asd"); + str = text.stripBOM("ads"); + num = text.toUTF8Array("asd")[0]; +} diff --git a/types/adone/test/glosses/text/pretties.ts b/types/adone/test/glosses/text/pretties.ts new file mode 100644 index 0000000000..3061275cdd --- /dev/null +++ b/types/adone/test/glosses/text/pretties.ts @@ -0,0 +1,203 @@ +namespace adoneTests.text.pretty { + const { + text: { + pretty + } + } = adone; + + let str: string; + + namespace json { + const { + json + } = pretty; + + str = json({}); + str = json({}, {}); + str = json({}, {}, 1); + str = json({}, { dashColor: "green" }); + str = json({}, { defaultIndentation: 10 }); + str = json({}, { emptyArrayMsg: "asdas" }); + str = json({}, { keysColor: "green" }); + str = json({}, { noAlign: true }); + str = json({}, { noColor: true }); + str = json({}, { numberColor: "green" }); + str = json({}, { stringColor: "green" }); + } + + namespace table { + const { + table + } = pretty; + + str = table([], { + model: [] + }); + str = table([], { + borderless: true, + model: [] + }); + str = table([], { + countAnsiEscapeCodes: true, + model: [] + }); + str = table([], { + noHeader: true, + model: [] + }); + str = table([], { + style: { + "padding-left": 1 + }, + model: [] + }); + str = table([], { + style: { + "padding-right": 1 + }, + model: [] + }); + str = table([], { + style: { + broder: ["a"] + }, + model: [] + }); + str = table([], { + style: { + compact: true + }, + model: [] + }); + str = table([], { + style: { + head: ["a"] + }, + model: [] + }); + str = table([], { + width: 100, + model: [] + }); + str = table([], { + width: "100%", + model: [] + }); + str = table([], { + model: [{ + id: "ads", + align: "center" + }] + }); + str = table([], { + model: [{ + id: "ads", + format: "%s" + }] + }); + str = table([], { + model: [{ + id: "ads", + format(val: any, item: object) { + return "2"; + } + }] + }); + str = table([], { + model: [{ + id: "ads", + handle(item: object) { + return "a"; + } + }] + }); + str = table([], { + model: [{ + id: "ads", + header: "he" + }] + }); + str = table([], { + model: [{ + id: "ads", + maxWidth: "100%" + }] + }); + str = table([], { + model: [{ + id: "ads", + maxWidth: 100 + }] + }); + str = table([], { + model: [{ + id: "ads", + style: "asd" + }] + }); + str = table([], { + model: [{ + id: "ads", + style(val: any, str: string) { + return "1"; + } + }] + }); + str = table([], { + model: [{ + id: "ads", + width: 100 + }] + }); + str = table([], { + model: [{ + id: "ads", + width: "100%" + }] + }); + str = table([], { + model: [{ + id: "ads", + wordwrap: "soft" + }] + }); + str = table([], { + model: [{ + id: "ads", + wordwrap: "hard" + }] + }); + str = table([], { + model: [{ + id: "ads", + wordwrap: { + countAnsiEscapeCodes: true + } + }] + }); + str = table([], { + model: [{ + id: "ads", + wordwrap: { + join: true + } + }] + }); + str = table([], { + model: [{ + id: "ads", + wordwrap: { + mode: "soft" + } + }] + }); + str = table([], { + model: [{ + id: "ads", + wordwrap: { + mode: "hard" + } + }] + }); + } +} diff --git a/types/adone/test/glosses/text/spinners.ts b/types/adone/test/glosses/text/spinners.ts new file mode 100644 index 0000000000..abd3627151 --- /dev/null +++ b/types/adone/test/glosses/text/spinners.ts @@ -0,0 +1,41 @@ +namespace adoneTests.text.spinners { + const { + text: { + spinner + } + } = adone; + + let sp: { + interval: number; + frames: string[] + }; + + sp = spinner.dots; + sp = spinner.dots2; + sp = spinner.dots3; + sp = spinner.dots4; + sp = spinner.dots5; + sp = spinner.dots6; + sp = spinner.dots7; + sp = spinner.dots8; + sp = spinner.dots9; + sp = spinner.dots10; + sp = spinner.dots11; + sp = spinner.dots12; + sp = spinner.line; + sp = spinner.pipe; + sp = spinner.simpleDots; + sp = spinner.flip; + sp = spinner.growVertical; + sp = spinner.growHorizontal; + sp = spinner.boxBounce; + sp = spinner.boxBounce2; + sp = spinner.triangle; + sp = spinner.squareCorners; + sp = spinner.circleQuarters; + sp = spinner.circleHalves; + sp = spinner.arrow; + sp = spinner.arrow3; + sp = spinner.bouncingBar; + sp = spinner.clock; +} diff --git a/types/adone/test/glosses/text/table.ts b/types/adone/test/glosses/text/table.ts new file mode 100644 index 0000000000..7670f6b1de --- /dev/null +++ b/types/adone/test/glosses/text/table.ts @@ -0,0 +1,65 @@ +namespace adoneTests.text.table { + const { + text: { + table + } + } = adone; + + let num: number; + let str: string; + + namespace Table { + const { + Table + } = table; + + new Table(); + new Table({ chars: {} }); + new Table({ chars: { "bottom-left": "a" } }); + new Table({ chars: { "bottom-mid": "a" } }); + new Table({ chars: { "bottom-right": "a" } }); + new Table({ chars: { "left-mid": "a" } }); + new Table({ chars: { "mid-mid": "a" } }); + new Table({ chars: { "right-mid": "a" } }); + new Table({ chars: { "top-left": "a" } }); + new Table({ chars: { "top-mid": "a" } }); + new Table({ chars: { "top-right": "a" } }); + new Table({ chars: { bottom: "a" } }); + new Table({ chars: { left: "a" } }); + new Table({ chars: { mid: "a" } }); + new Table({ chars: { middle: "a" } }); + new Table({ chars: { right: "a" } }); + new Table({ chars: { top: "a" } }); + new Table({ colAligns: ["left"] }); + new Table({ rowAligns: ["top"] }); + new Table({ head: ["a"] }); + new Table({ rowHeights: [10] }); + new Table({ style: { "padding-left": 1 } }); + new Table({ style: { "padding-right": 1 } }); + new Table({ style: { border: ["a"] } }); + new Table({ style: { compact: true } }); + new Table({ style: { head: ["a"] } }); + new Table({ truncate: "a" }); + new Table({ colWidths: [10] }); + + num = new Table().width; + str = new Table().toString(); + + const def = Table.defaultOptions; + str = def.chars["bottom-mid"]; + num = def.style["padding-right"]; + } + + namespace BorderlessTable { + const { + BorderlessTable + } = table; + + new BorderlessTable(); + new BorderlessTable({}); + new BorderlessTable({ colAligns: ["center"] }); + new BorderlessTable({ colWidths: [10] }); + new BorderlessTable({ head: ["a"] }); + new BorderlessTable({ style: { "padding-right": 1 } }); + } +} diff --git a/types/adone/test/glosses/text/unicode.ts b/types/adone/test/glosses/text/unicode.ts new file mode 100644 index 0000000000..9b331afa60 --- /dev/null +++ b/types/adone/test/glosses/text/unicode.ts @@ -0,0 +1,135 @@ +namespace adoneTests.text.unicode { + const { + text: { + unicode + } + } = adone; + + let str: string; + let num: number; + let bool: boolean; + + str = unicode.symbol.tick; + str = unicode.symbol.cross; + str = unicode.symbol.star; + str = unicode.symbol.square; + str = unicode.symbol.squareSmall; + str = unicode.symbol.squareSmallFilled; + str = unicode.symbol.play; + str = unicode.symbol.circle; + str = unicode.symbol.circleFilled; + str = unicode.symbol.circleDotted; + str = unicode.symbol.circleDouble; + str = unicode.symbol.circleCircle; + str = unicode.symbol.circleCross; + str = unicode.symbol.circlePipe; + str = unicode.symbol.circleQuestionMark; + str = unicode.symbol.bullet; + str = unicode.symbol.dot; + str = unicode.symbol.line; + str = unicode.symbol.ellipsis; + str = unicode.symbol.pointer; + str = unicode.symbol.pointerSmall; + str = unicode.symbol.info; + str = unicode.symbol.warning; + str = unicode.symbol.hamburger; + str = unicode.symbol.smiley; + str = unicode.symbol.mustache; + str = unicode.symbol.heart; + str = unicode.symbol.arrowUp; + str = unicode.symbol.arrowDown; + str = unicode.symbol.arrowLeft; + str = unicode.symbol.arrowRight; + str = unicode.symbol.radioOn; + str = unicode.symbol.radioOff; + str = unicode.symbol.checkboxOn; + str = unicode.symbol.checkboxOff; + str = unicode.symbol.checkboxCircleOn; + str = unicode.symbol.checkboxCircleOff; + str = unicode.symbol.questionMarkPrefix; + str = unicode.symbol.oneHalf; + str = unicode.symbol.oneThird; + str = unicode.symbol.oneQuarter; + str = unicode.symbol.oneFifth; + str = unicode.symbol.oneSixth; + str = unicode.symbol.oneSeventh; + str = unicode.symbol.oneEighth; + str = unicode.symbol.oneNinth; + str = unicode.symbol.oneTenth; + str = unicode.symbol.twoThirds; + str = unicode.symbol.twoFifths; + str = unicode.symbol.threeQuarters; + str = unicode.symbol.threeFifths; + str = unicode.symbol.threeEighths; + str = unicode.symbol.fourFifths; + str = unicode.symbol.fiveSixths; + str = unicode.symbol.fiveEighths; + str = unicode.symbol.sevenEighths; + str = unicode.symbol.minus; + + str = unicode.symbolFallback.tick; + str = unicode.symbolFallback.cross; + str = unicode.symbolFallback.star; + str = unicode.symbolFallback.square; + str = unicode.symbolFallback.squareSmall; + str = unicode.symbolFallback.squareSmallFilled; + str = unicode.symbolFallback.play; + str = unicode.symbolFallback.circle; + str = unicode.symbolFallback.circleFilled; + str = unicode.symbolFallback.circleDotted; + str = unicode.symbolFallback.circleDouble; + str = unicode.symbolFallback.circleCircle; + str = unicode.symbolFallback.circleCross; + str = unicode.symbolFallback.circlePipe; + str = unicode.symbolFallback.circleQuestionMark; + str = unicode.symbolFallback.bullet; + str = unicode.symbolFallback.dot; + str = unicode.symbolFallback.line; + str = unicode.symbolFallback.ellipsis; + str = unicode.symbolFallback.pointer; + str = unicode.symbolFallback.pointerSmall; + str = unicode.symbolFallback.info; + str = unicode.symbolFallback.warning; + str = unicode.symbolFallback.hamburger; + str = unicode.symbolFallback.smiley; + str = unicode.symbolFallback.mustache; + str = unicode.symbolFallback.heart; + str = unicode.symbolFallback.arrowUp; + str = unicode.symbolFallback.arrowDown; + str = unicode.symbolFallback.arrowLeft; + str = unicode.symbolFallback.arrowRight; + str = unicode.symbolFallback.radioOn; + str = unicode.symbolFallback.radioOff; + str = unicode.symbolFallback.checkboxOn; + str = unicode.symbolFallback.checkboxOff; + str = unicode.symbolFallback.checkboxCircleOn; + str = unicode.symbolFallback.checkboxCircleOff; + str = unicode.symbolFallback.questionMarkPrefix; + str = unicode.symbolFallback.oneHalf; + str = unicode.symbolFallback.oneThird; + str = unicode.symbolFallback.oneQuarter; + str = unicode.symbolFallback.oneFifth; + str = unicode.symbolFallback.oneSixth; + str = unicode.symbolFallback.oneSeventh; + str = unicode.symbolFallback.oneEighth; + str = unicode.symbolFallback.oneNinth; + str = unicode.symbolFallback.oneTenth; + str = unicode.symbolFallback.twoThirds; + str = unicode.symbolFallback.twoFifths; + str = unicode.symbolFallback.threeQuarters; + str = unicode.symbolFallback.threeFifths; + str = unicode.symbolFallback.threeEighths; + str = unicode.symbolFallback.fourFifths; + str = unicode.symbolFallback.fiveSixths; + str = unicode.symbolFallback.fiveEighths; + str = unicode.symbolFallback.sevenEighths; + str = unicode.symbolFallback.minus; + + str = unicode.approx("asd"); + num = unicode.length("ad"); + str = unicode.toArray("asd")[0]; + num = unicode.surrogatePair("a"); + bool = unicode.isFullWidthCodePoint(100); + bool = unicode.isFullWidth("a"); + str = unicode.toFullWidth("asd"); +} diff --git a/types/adone/tsconfig.json b/types/adone/tsconfig.json index e77e755b85..63a1c88ea8 100644 --- a/types/adone/tsconfig.json +++ b/types/adone/tsconfig.json @@ -20,20 +20,10 @@ "experimentalDecorators": true }, "files": [ - "index.d.ts", + "adone-tests.ts", "adone.d.ts", - "glosses/fake.d.ts", - "glosses/math/index.d.ts", - "glosses/math/matrix.d.ts", - "glosses/math/simd.d.ts", - "glosses/meta.d.ts", - "glosses/std.d.ts", - "glosses/utils.d.ts", + "glosses/archives.d.ts", "glosses/assertion.d.ts", - "glosses/promise.d.ts", - "glosses/shani.d.ts", - "glosses/shani-global.d.ts", - "glosses/collections/index.d.ts", "glosses/collections/array_set.d.ts", "glosses/collections/async_queue.d.ts", "glosses/collections/avl_tree.d.ts", @@ -42,6 +32,7 @@ "glosses/collections/byte_array.d.ts", "glosses/collections/default_map.d.ts", "glosses/collections/fast_lru.d.ts", + "glosses/collections/index.d.ts", "glosses/collections/linked_list.d.ts", "glosses/collections/lru.d.ts", "glosses/collections/map_cache.d.ts", @@ -53,21 +44,47 @@ "glosses/collections/set.d.ts", "glosses/collections/stack.d.ts", "glosses/collections/timedout_map.d.ts", - "glosses/events.d.ts", - "glosses/fs.d.ts", - "glosses/is.d.ts", - "glosses/exceptions.d.ts", - "glosses/streams.d.ts", - "glosses/fast.d.ts", + "glosses/compressors.d.ts", + "glosses/crypto/asn1.d.ts", + "glosses/crypto/ed25519.d.ts", + "glosses/crypto/index.d.ts", + "glosses/crypto/secp256k1.d.ts", "glosses/data.d.ts", "glosses/datetime.d.ts", - "glosses/compressors.d.ts", - "glosses/archives.d.ts", - "adone-tests.ts", - "test/index.ts", - "test/index-import.ts", - "test/glosses/fake.ts", + "glosses/events.d.ts", + "glosses/exceptions.d.ts", + "glosses/fake.d.ts", + "glosses/fast.d.ts", + "glosses/fs.d.ts", + "glosses/is.d.ts", + "glosses/math/index.d.ts", + "glosses/math/matrix.d.ts", + "glosses/math/simd.d.ts", + "glosses/meta.d.ts", + "glosses/promise.d.ts", + "glosses/regex.d.ts", + "glosses/semver.d.ts", + "glosses/shani-global.d.ts", + "glosses/shani.d.ts", + "glosses/std.d.ts", + "glosses/streams.d.ts", + "glosses/system/env.d.ts", + "glosses/system/index.d.ts", + "glosses/system/process.d.ts", + "glosses/system/user.d.ts", + "glosses/templating/dot.d.ts", + "glosses/templating/index.d.ts", + "glosses/templating/nunjucks.d.ts", + "glosses/text/index.d.ts", + "glosses/text/pretties.d.ts", + "glosses/text/spinners.d.ts", + "glosses/text/table.d.ts", + "glosses/text/unicode.d.ts", + "glosses/utils.d.ts", + "index.d.ts", "test/glosses/application.ts", + "test/glosses/archives.ts", + "test/glosses/assertion.ts", "test/glosses/collections/array_set.ts", "test/glosses/collections/async_queue.ts", "test/glosses/collections/avl_tree.ts", @@ -87,25 +104,41 @@ "test/glosses/collections/set.ts", "test/glosses/collections/stack.ts", "test/glosses/collections/timedout_map.ts", + "test/glosses/compressors.ts", + "test/glosses/crypto/asn1.ts", + "test/glosses/crypto/ed25519.ts", + "test/glosses/crypto/secp256k1.ts", + "test/glosses/data.ts", + "test/glosses/datetime.ts", + "test/glosses/events.ts", + "test/glosses/exceptions.ts", + "test/glosses/fake.ts", + "test/glosses/fast.ts", + "test/glosses/fs.ts", + "test/glosses/is.ts", "test/glosses/math/index.ts", "test/glosses/math/matrix.ts", "test/glosses/math/simd.ts", "test/glosses/meta.ts", - "test/glosses/std.ts", - "test/glosses/utils.ts", - "test/glosses/assertion.ts", "test/glosses/promise.ts", - "test/glosses/shani.ts", + "test/glosses/regex.ts", + "test/glosses/semver.ts", "test/glosses/shani-global.ts", - "test/glosses/events.ts", - "test/glosses/fs.ts", - "test/glosses/is.ts", - "test/glosses/exceptions.ts", + "test/glosses/shani.ts", + "test/glosses/std.ts", "test/glosses/streams.ts", - "test/glosses/fast.ts", - "test/glosses/data.ts", - "test/glosses/datetime.ts", - "test/glosses/compressors.ts", - "test/glosses/archives.ts" + "test/glosses/system/env.ts", + "test/glosses/system/process.ts", + "test/glosses/system/user.ts", + "test/glosses/templating/dot.ts", + "test/glosses/templating/nunjucks.ts", + "test/glosses/text/index.ts", + "test/glosses/text/pretties.ts", + "test/glosses/text/spinners.ts", + "test/glosses/text/table.ts", + "test/glosses/text/unicode.ts", + "test/glosses/utils.ts", + "test/index-import.ts", + "test/index.ts" ] } \ No newline at end of file From be8330e0b80e10f7a8fd9dd533120513fe258dd5 Mon Sep 17 00:00:00 2001 From: Justin Simms Date: Thu, 8 Feb 2018 19:12:17 -0600 Subject: [PATCH 287/463] Apply fixes suggested in code review --- .../definitions/plugin/plugin-registered.d.ts | 1 - types/hapi/definitions/plugin/plugin.d.ts | 1 - types/hapi/definitions/request/request-auth.d.ts | 9 ++++++++- .../hapi/definitions/request/request-events.d.ts | 5 +++++ types/hapi/definitions/request/request.d.ts | 16 ++++++++++++---- .../definitions/response/response-events.d.ts | 5 +++++ .../definitions/response/response-object.d.ts | 4 ++-- .../definitions/response/response-toolkit.d.ts | 16 +++++++++++----- .../definitions/route/route-options-access.d.ts | 6 +++--- .../definitions/route/route-options-cache.d.ts | 8 +++++++- .../definitions/route/route-options-pre.d.ts | 2 -- .../route/route-options-response.d.ts | 12 ++---------- types/hapi/definitions/util/common.d.ts | 8 ++++++++ types/hapi/index.d.ts | 1 + types/hapi/test/route/route-options.ts | 6 +++--- 15 files changed, 67 insertions(+), 33 deletions(-) create mode 100644 types/hapi/definitions/util/common.d.ts diff --git a/types/hapi/definitions/plugin/plugin-registered.d.ts b/types/hapi/definitions/plugin/plugin-registered.d.ts index e83eb81a63..6ce68e5e85 100644 --- a/types/hapi/definitions/plugin/plugin-registered.d.ts +++ b/types/hapi/definitions/plugin/plugin-registered.d.ts @@ -2,7 +2,6 @@ * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverregistrations) */ export interface PluginsListRegistered { - [pluginName: string]: PluginRegistered; } /** diff --git a/types/hapi/definitions/plugin/plugin.d.ts b/types/hapi/definitions/plugin/plugin.d.ts index ebcf87e476..4582bb152f 100644 --- a/types/hapi/definitions/plugin/plugin.d.ts +++ b/types/hapi/definitions/plugin/plugin.d.ts @@ -1,7 +1,6 @@ import {Server, ServerRegisterOptions} from "hapi"; export interface PluginsStates { - [pluginName: string]: any; } export interface PluginSpecificConfiguration { diff --git a/types/hapi/definitions/request/request-auth.d.ts b/types/hapi/definitions/request/request-auth.d.ts index 72dd69a4b4..d2f22e81cd 100644 --- a/types/hapi/definitions/request/request-auth.d.ts +++ b/types/hapi/definitions/request/request-auth.d.ts @@ -1,3 +1,10 @@ +/** + * User-extensible type for request.auth credentials. + */ +export interface AuthCredentials { + user?: string; +} + /** * Authentication information: * * artifacts - an artifact object received from the authentication strategy and used in authentication-related actions. @@ -13,7 +20,7 @@ export interface RequestAuth { /** an artifact object received from the authentication strategy and used in authentication-related actions. */ artifacts: object; /** the credential object received during the authentication process. The presence of an object does not mean successful authentication. */ - credentials: any; + credentials: AuthCredentials; /** the authentication error is failed and mode set to 'try'. */ error: Error; /** true if the request has been successfully authenticated, otherwise false. */ diff --git a/types/hapi/definitions/request/request-events.d.ts b/types/hapi/definitions/request/request-events.d.ts index c61b3ed65c..dad1c0dde7 100644 --- a/types/hapi/definitions/request/request-events.d.ts +++ b/types/hapi/definitions/request/request-events.d.ts @@ -1,4 +1,5 @@ import * as Podium from "podium"; +import {PeekListener} from "hapi"; /** * 'peek' - emitted for each chunk of payload data read from the client connection. The event method signature is function(chunk, encoding). @@ -26,6 +27,8 @@ export interface RequestEvents extends Podium { * * 'disconnect' - emitted when a request errors or aborts unexpectedly. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestevents) */ + on(criteria: "peek", listener: PeekListener): void; + on(criteria: "finish" | "disconnect", listener: () => {}): void; on(criteria: RequestEventType, listener: Function): void; /** @@ -36,6 +39,8 @@ export interface RequestEvents extends Podium { * * 'disconnect' - emitted when a request errors or aborts unexpectedly. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestevents) */ + once(criteria: "peek", listener: PeekListener): void; + once(criteria: "finish" | "disconnect", listener: () => {}): void; once(criteria: RequestEventType, listener: Function): void; diff --git a/types/hapi/definitions/request/request.d.ts b/types/hapi/definitions/request/request.d.ts index a0605254a8..cd0e7c0cd3 100644 --- a/types/hapi/definitions/request/request.d.ts +++ b/types/hapi/definitions/request/request.d.ts @@ -2,7 +2,7 @@ import * as stream from "stream"; import * as url from "url"; import * as http from "http"; import * as Podium from "podium"; -import {PluginsStates, RequestAuth, RequestEvents, RequestInfo, RequestRoute, ResponseObject, Server, Util} from "hapi"; +import {ApplicationState, PluginsStates, RequestAuth, RequestEvents, RequestInfo, RequestRoute, ResponseObject, ResponseValue, Server, Util} from "hapi"; /** * An object containing the values of params, query, and payload before any validation modifications made. Only set when input validation is performed. @@ -14,6 +14,14 @@ export interface RequestOrig { payload: object; } +export interface RequestLog { + request: string; + timestamp: number; + tags: string[]; + data: string | object; + channel: string; +} + /** * The request object is created internally for each incoming request. It is not the same object received from the node * HTTP server callback (which is available via [request.raw.req](https://github.com/hapijs/hapi/blob/master/API.md#request.raw)). The request properties change throughout @@ -25,7 +33,7 @@ export interface Request extends Podium { * Application-specific state. Provides a safe place to store application data without potential conflicts with the framework. Should not be used by plugins which should use plugins[name]. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestapp) */ - app: object; + app: ApplicationState; /** * Authentication information: @@ -78,7 +86,7 @@ export interface Request extends Podium { * An array containing the logged request events. * Note that this array will be empty if route log.collect is set to false. */ - readonly logs: object[]; + readonly logs: RequestLog[]; /** * The request method in lower case (e.g. 'get', 'post'). @@ -182,7 +190,7 @@ export interface Request extends Podium { * @return ResponseObject * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestgenerateresponsesource-options) */ - generateResponse(source: string | object | null, options?: {variety?: string; prepare?: Function; marshal?: Function; close?: Function; }): ResponseObject; + generateResponse(source: string | object | null, options?: {variety?: string; prepare?: (response: ResponseObject) => Promise; marshal?: (response: ResponseObject) => Promise; close?: (response: ResponseObject) => {}; }): ResponseObject; /** * Logs request-specific events. When called, the server emits a 'request' event which can be used by other listeners or plugins. The arguments are: diff --git a/types/hapi/definitions/response/response-events.d.ts b/types/hapi/definitions/response/response-events.d.ts index 087b92cf37..b31fe0c21e 100644 --- a/types/hapi/definitions/response/response-events.d.ts +++ b/types/hapi/definitions/response/response-events.d.ts @@ -1,4 +1,5 @@ import * as Podium from "podium"; +import {PeekListener} from "hapi"; /** * Access: read only and the public podium interface. @@ -13,12 +14,16 @@ export interface ResponseEvents extends Podium { * 'peek' - emitted for each chunk of data written back to the client connection. The event method signature is function(chunk, encoding). * 'finish' - emitted when the response finished writing but before the client response connection is ended. The event method signature is function (). */ + on(criteria: 'peek', listener: PeekListener): void; + on(criteria: 'finish', listener: () => void): void; on(criteria: 'peek' | 'finish', listener: Function): void; /** * 'peek' - emitted for each chunk of data written back to the client connection. The event method signature is function(chunk, encoding). * 'finish' - emitted when the response finished writing but before the client response connection is ended. The event method signature is function (). */ + once(criteria: 'peek', listener: PeekListener): void; + once(criteria: 'finish', listener: () => void): void; once(criteria: 'peek' | 'finish', listener: Function): void; } diff --git a/types/hapi/definitions/response/response-object.d.ts b/types/hapi/definitions/response/response-object.d.ts index b9887c4ae6..c270371a5e 100644 --- a/types/hapi/definitions/response/response-object.d.ts +++ b/types/hapi/definitions/response/response-object.d.ts @@ -1,5 +1,5 @@ import * as Podium from "podium"; -import {Json, Lifecycle, PluginsStates, ResponseEvents, ResponseSettings, ServerStateCookieOptions, Util} from "hapi"; +import {ApplicationState, Json, Lifecycle, PluginsStates, ResponseEvents, ResponseSettings, ServerStateCookieOptions, Util} from "hapi"; /** * Object where: @@ -31,7 +31,7 @@ export interface ResponseObject extends Podium { * Application-specific state. Provides a safe place to store application data without potential conflicts with the framework. Should not be used by plugins which should use plugins[name]. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responseapp) */ - app: object; + app: ApplicationState; /** * Access: read only and the public podium interface. diff --git a/types/hapi/definitions/response/response-toolkit.d.ts b/types/hapi/definitions/response/response-toolkit.d.ts index 7496b4cee2..c4d7609d37 100644 --- a/types/hapi/definitions/response/response-toolkit.d.ts +++ b/types/hapi/definitions/response/response-toolkit.d.ts @@ -1,4 +1,4 @@ -import {ResponseObject, ServerRealm, ServerStateCookieOptions} from "hapi"; +import {Request, ResponseObject, ServerRealm, ServerStateCookieOptions} from "hapi"; /** * See more about Lifecycle @@ -6,6 +6,12 @@ import {ResponseObject, ServerRealm, ServerStateCookieOptions} from "hapi"; * */ +export type ResponseValue = string | object; + +export interface AuthenticationData { + credentials: object; + artifacts?: object; +} /** * The response toolkit is a collection of properties and utilities passed to every [lifecycle method](https://github.com/hapijs/hapi/blob/master/API.md#lifecycle-methods) @@ -51,7 +57,7 @@ export interface ResponseToolkit { * The [request] object. This is a duplication of the request lifecycle method argument used by * [toolkit decorations](https://github.com/hapijs/hapi/blob/master/API.md#server.decorate()) to access the current request. */ - request: object; // TODO needs review + request: Readonly /** * Used by the [authentication] method to pass back valid credentials where: @@ -60,7 +66,7 @@ export interface ResponseToolkit { * * artifacts - (optional) authentication artifacts object specific to the authentication scheme. * @return Return value: an internal authentication object. */ - authenticated(data: {credentials: object, artifacts?: object}): object; + authenticated(data: AuthenticationData): object; /** * Sets the response 'ETag' and 'Last-Modified' headers and checks for any conditional request headers to decide if @@ -94,7 +100,7 @@ export interface ResponseToolkit { * @return Returns a response object. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-hresponsevalue) */ - response(value?: string | object): ResponseObject; + response(value?: ResponseValue): ResponseObject; /** * Sets a response cookie using the same arguments as response.state(). @@ -119,7 +125,7 @@ export interface ResponseToolkit { * There is no difference between throwing the error or passing it with the h.unauthenticated() method is no credentials are passed, but it might still be helpful for code clarity. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-hunauthenticatederror-data) */ - unauthenticated(error: Error, data?: {credentials: object, artifacts?: object}): void; + unauthenticated(error: Error, data?: AuthenticationData): void; /** * Clears a response cookie using the same arguments as diff --git a/types/hapi/definitions/route/route-options-access.d.ts b/types/hapi/definitions/route/route-options-access.d.ts index 57cd13e405..6cdc703cf4 100644 --- a/types/hapi/definitions/route/route-options-access.d.ts +++ b/types/hapi/definitions/route/route-options-access.d.ts @@ -5,7 +5,7 @@ * * 'app' - the authentication must be on behalf of an application which is identified by the lack of presence of a user attribute in the credentials object returned by the authentication strategy. * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthaccessentity) */ -export enum RouteOptionsAccessEntity { +export const enum RouteOptionsAccessEntity { Any = 'any', User = 'user', App = 'app' @@ -18,7 +18,7 @@ export enum RouteOptionsAccessEntity { * * 'try' - similar to 'optional', any request credentials are attempted authentication, but if the credentials are invalid, the request proceeds regardless of the authentication error. * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthmode) */ -export enum RouteOptionsAccessMode { +export const enum RouteOptionsAccessMode { Required = 'required', Optional = 'optional', Try = 'try', @@ -31,7 +31,7 @@ export enum RouteOptionsAccessMode { * * 'optional' - payload authentication performed only when the client includes payload authentication information (e.g. hash attribute in Hawk). * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthpayload) */ -export enum RouteOptionsAccessPayload { +export const enum RouteOptionsAccessPayload { Required = 'required', Optional = 'optional', } diff --git a/types/hapi/definitions/route/route-options-cache.d.ts b/types/hapi/definitions/route/route-options-cache.d.ts index 91df550ad4..2120bcbba9 100644 --- a/types/hapi/definitions/route/route-options-cache.d.ts +++ b/types/hapi/definitions/route/route-options-cache.d.ts @@ -1,3 +1,9 @@ +export const enum RouteOptionsPrivacy { + Default = 'default', + Public = 'public', + Private = 'private' +} + /** * Values are: * * * 'default' - no privacy flag. @@ -10,7 +16,7 @@ * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionscache) */ export type RouteOptionsCache = { - privacy?: 'default' | 'public' | 'private'; + privacy?: RouteOptionsPrivacy; statuses?: number[]; otherwise?: string; } & ( diff --git a/types/hapi/definitions/route/route-options-pre.d.ts b/types/hapi/definitions/route/route-options-pre.d.ts index 56d41210da..8745bf5a00 100644 --- a/types/hapi/definitions/route/route-options-pre.d.ts +++ b/types/hapi/definitions/route/route-options-pre.d.ts @@ -31,5 +31,3 @@ export interface RouteOptionsPreObject { */ failAction?: Lifecycle.FailAction; } - - diff --git a/types/hapi/definitions/route/route-options-response.d.ts b/types/hapi/definitions/route/route-options-response.d.ts index fa3c8f8560..b0c3925bfe 100644 --- a/types/hapi/definitions/route/route-options-response.d.ts +++ b/types/hapi/definitions/route/route-options-response.d.ts @@ -1,15 +1,7 @@ import {Lifecycle, Util} from "hapi"; import {ValidationOptions} from "joi"; -/** - * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsresponseemptystatuscode) - */ -export enum EmptyStatusCode { - HTTP_200 = 200, - HTTP_204 = 204, -} - -export type RouteOptionsResponseSchema = boolean | ValidationOptions | ((value: object, options: object) => any); +export type RouteOptionsResponseSchema = boolean | ValidationOptions | ((value: object | Buffer | string, options: ValidationOptions) => Promise); /** * Processing rules for the outgoing response. @@ -22,7 +14,7 @@ export interface RouteOptionsResponse { * The default HTTP status code when the payload is considered empty. Value can be 200 or 204. Note that a 200 status code is converted to a 204 only at the time of response transmission (the response status code will remain 200 throughout the request lifecycle unless manually set). * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsresponseemptystatuscode) */ - emptyStatusCode?: EmptyStatusCode; + emptyStatusCode?: 200 | 204; /** * Default value: 'error' (return an Internal Server Error (500) error response). diff --git a/types/hapi/definitions/util/common.d.ts b/types/hapi/definitions/util/common.d.ts new file mode 100644 index 0000000000..3873cc6900 --- /dev/null +++ b/types/hapi/definitions/util/common.d.ts @@ -0,0 +1,8 @@ + +/** + * User-extensible type for application specific state. + */ +export interface ApplicationState { +} + +export type PeekListener = (chunk: string, encoding: string) => void; \ No newline at end of file diff --git a/types/hapi/index.d.ts b/types/hapi/index.d.ts index 0c4aa7a1aa..f84f1b00f6 100644 --- a/types/hapi/index.d.ts +++ b/types/hapi/index.d.ts @@ -66,6 +66,7 @@ export * from './definitions/server/server-state'; export * from './definitions/server/server-state-options'; /** UTIL */ +export * from './definitions/util/common'; export * from './definitions/util/json'; export * from './definitions/util/lifecycle'; export * from './definitions/util/util'; diff --git a/types/hapi/test/route/route-options.ts b/types/hapi/test/route/route-options.ts index 7835b880d3..60c2810e73 100644 --- a/types/hapi/test/route/route-options.ts +++ b/types/hapi/test/route/route-options.ts @@ -1,6 +1,5 @@ // https://github.com/hapijs/hapi/blob/master/API.md#route-options import { - EmptyStatusCode, Request, ResponseToolkit, RouteOptions, @@ -10,6 +9,7 @@ import { RouteOptionsAccessPayload, RouteOptionsCors, RouteOptionsPayload, + RouteOptionsPrivacy, RouteOptionsResponse, RouteOptionsValidate, Server @@ -70,7 +70,7 @@ const pre3 = (request: Request, h: ResponseToolkit) => { }; const routeOptionsResponse: RouteOptionsResponse = { - emptyStatusCode: EmptyStatusCode.HTTP_200, + emptyStatusCode: 200, failAction: (request: Request, h: ResponseToolkit) => { return 'ok: ' + request.path; }, @@ -103,7 +103,7 @@ const routeOptions: RouteOptions = { auth: routeOptionsAccess, bind: null, cache: { - privacy: 'default', + privacy: RouteOptionsPrivacy.Default, statuses: [200], otherwise: 'no-cache' }, From 4bfb2047ed338d04c9fcdb8e09b26f19e911548a Mon Sep 17 00:00:00 2001 From: Justin Simms Date: Thu, 8 Feb 2018 20:03:21 -0600 Subject: [PATCH 288/463] fix --- types/hapi/definitions/request/request-events.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/hapi/definitions/request/request-events.d.ts b/types/hapi/definitions/request/request-events.d.ts index dad1c0dde7..7b750d360b 100644 --- a/types/hapi/definitions/request/request-events.d.ts +++ b/types/hapi/definitions/request/request-events.d.ts @@ -28,7 +28,7 @@ export interface RequestEvents extends Podium { * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestevents) */ on(criteria: "peek", listener: PeekListener): void; - on(criteria: "finish" | "disconnect", listener: () => {}): void; + on(criteria: "finish" | "disconnect", listener: () => void): void; on(criteria: RequestEventType, listener: Function): void; /** @@ -40,7 +40,7 @@ export interface RequestEvents extends Podium { * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestevents) */ once(criteria: "peek", listener: PeekListener): void; - once(criteria: "finish" | "disconnect", listener: () => {}): void; + once(criteria: "finish" | "disconnect", listener: () => void): void; once(criteria: RequestEventType, listener: Function): void; From 1d964920cff0c3fb688c313ede736fd5dafdc884 Mon Sep 17 00:00:00 2001 From: Justin Simms Date: Thu, 8 Feb 2018 20:15:33 -0600 Subject: [PATCH 289/463] Remove the enums --- .../definitions/request/request-events.d.ts | 5 --- .../route/route-options-access.d.ts | 43 ++----------------- .../route/route-options-cache.d.ts | 8 +--- types/hapi/test/route/route-options.ts | 12 ++---- 4 files changed, 8 insertions(+), 60 deletions(-) diff --git a/types/hapi/definitions/request/request-events.d.ts b/types/hapi/definitions/request/request-events.d.ts index 7b750d360b..dfcb004d24 100644 --- a/types/hapi/definitions/request/request-events.d.ts +++ b/types/hapi/definitions/request/request-events.d.ts @@ -42,9 +42,4 @@ export interface RequestEvents extends Podium { once(criteria: "peek", listener: PeekListener): void; once(criteria: "finish" | "disconnect", listener: () => void): void; once(criteria: RequestEventType, listener: Function): void; - - - - // TODO is it necessary to implement "emmit" event here? - } diff --git a/types/hapi/definitions/route/route-options-access.d.ts b/types/hapi/definitions/route/route-options-access.d.ts index 6cdc703cf4..de815c44c0 100644 --- a/types/hapi/definitions/route/route-options-access.d.ts +++ b/types/hapi/definitions/route/route-options-access.d.ts @@ -1,40 +1,3 @@ -/** - * The required authenticated entity type. If set, must match the entity value of the request authenticated credentials. Available values: - * * 'any' - the authentication can be on behalf of a user or application. - * * 'user' - the authentication must be on behalf of a user which is identified by the presence of a 'user' attribute in the credentials object returned by the authentication strategy. - * * 'app' - the authentication must be on behalf of an application which is identified by the lack of presence of a user attribute in the credentials object returned by the authentication strategy. - * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthaccessentity) - */ -export const enum RouteOptionsAccessEntity { - Any = 'any', - User = 'user', - App = 'app' -} - -/** - * The authentication mode. Available values: - * * 'required' - authentication is required. - * * 'optional' - authentication is optional - the request must include valid credentials or no credentials at all. - * * 'try' - similar to 'optional', any request credentials are attempted authentication, but if the credentials are invalid, the request proceeds regardless of the authentication error. - * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthmode) - */ -export const enum RouteOptionsAccessMode { - Required = 'required', - Optional = 'optional', - Try = 'try', -} - -/** - * Available values: - * * false - no payload authentication. - * * 'required' - payload authentication required. - * * 'optional' - payload authentication performed only when the client includes payload authentication information (e.g. hash attribute in Hawk). - * For context [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthpayload) - */ -export const enum RouteOptionsAccessPayload { - Required = 'required', - Optional = 'optional', -} /** * Route Authentication Options @@ -65,7 +28,7 @@ export interface RouteOptionsAccess { * * 'app' - the authentication must be on behalf of an application which is identified by the lack of presence of a user attribute in the credentials object returned by the authentication strategy. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthaccessentity) */ - entity?: RouteOptionsAccessEntity; + entity?: 'any' | 'user' | 'app'; /** * Default value: 'required'. @@ -75,7 +38,7 @@ export interface RouteOptionsAccess { * * 'try' - similar to 'optional', any request credentials are attempted authentication, but if the credentials are invalid, the request proceeds regardless of the authentication error. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthmode) */ - mode?: RouteOptionsAccessMode; + mode?: 'required' | 'optional' | 'try'; /** * Default value: false, unless the scheme requires payload authentication. @@ -86,7 +49,7 @@ export interface RouteOptionsAccess { * * 'optional' - payload authentication performed only when the client includes payload authentication information (e.g. hash attribute in Hawk). * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthpayload) */ - payload?: false | RouteOptionsAccessPayload; + payload?: false | 'required' | 'optional'; /** * Default value: the default strategy set via server.auth.default(). diff --git a/types/hapi/definitions/route/route-options-cache.d.ts b/types/hapi/definitions/route/route-options-cache.d.ts index 2120bcbba9..1b17ee4e96 100644 --- a/types/hapi/definitions/route/route-options-cache.d.ts +++ b/types/hapi/definitions/route/route-options-cache.d.ts @@ -1,9 +1,3 @@ -export const enum RouteOptionsPrivacy { - Default = 'default', - Public = 'public', - Private = 'private' -} - /** * Values are: * * * 'default' - no privacy flag. @@ -16,7 +10,7 @@ export const enum RouteOptionsPrivacy { * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionscache) */ export type RouteOptionsCache = { - privacy?: RouteOptionsPrivacy; + privacy?: 'default' | 'public' | 'privacy'; statuses?: number[]; otherwise?: string; } & ( diff --git a/types/hapi/test/route/route-options.ts b/types/hapi/test/route/route-options.ts index 60c2810e73..333fd9cbf6 100644 --- a/types/hapi/test/route/route-options.ts +++ b/types/hapi/test/route/route-options.ts @@ -4,12 +4,8 @@ import { ResponseToolkit, RouteOptions, RouteOptionsAccess, - RouteOptionsAccessEntity, - RouteOptionsAccessMode, - RouteOptionsAccessPayload, RouteOptionsCors, RouteOptionsPayload, - RouteOptionsPrivacy, RouteOptionsResponse, RouteOptionsValidate, Server @@ -18,9 +14,9 @@ import { const routeOptionsAccess: RouteOptionsAccess = { access: {}, scope: false, - entity: RouteOptionsAccessEntity.User, - mode: RouteOptionsAccessMode.Optional, - payload: RouteOptionsAccessPayload.Optional, + entity: 'user', + mode: 'optional', + payload: 'optional', strategies: ['', ''], strategy: '' }; @@ -103,7 +99,7 @@ const routeOptions: RouteOptions = { auth: routeOptionsAccess, bind: null, cache: { - privacy: RouteOptionsPrivacy.Default, + privacy: 'default', statuses: [200], otherwise: 'no-cache' }, From a7e5d54b8198e3b4eb5273d98d3a37a4bcda2bbc Mon Sep 17 00:00:00 2001 From: "Matt R. Wilson" Date: Thu, 8 Feb 2018 20:44:14 -0700 Subject: [PATCH 290/463] Add types for NewRelic API. https://www.npmjs.com/package/newrelic https://github.com/newrelic/node-newrelic/blob/master/api.js https://docs.newrelic.com/docs/agents/nodejs-agent/api-guides/nodejs-agent-api --- types/newrelic/index.d.ts | 331 +++++++++++++++++++++++++++++++ types/newrelic/newrelic-tests.ts | 98 +++++++++ types/newrelic/tsconfig.json | 23 +++ types/newrelic/tslint.json | 1 + 4 files changed, 453 insertions(+) create mode 100644 types/newrelic/index.d.ts create mode 100644 types/newrelic/newrelic-tests.ts create mode 100644 types/newrelic/tsconfig.json create mode 100644 types/newrelic/tslint.json diff --git a/types/newrelic/index.d.ts b/types/newrelic/index.d.ts new file mode 100644 index 0000000000..83b6e409dc --- /dev/null +++ b/types/newrelic/index.d.ts @@ -0,0 +1,331 @@ +// Type definitions for newrelic 2.7 +// Project: http://github.com/newrelic/node-newrelic +// Definitions by: Matt R. Wilson +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +// https://docs.newrelic.com/docs/agents/nodejs-agent/api-guides/nodejs-agent-api +declare namespace newrelic { + interface NewRelicAPI { + /** + * Give the current transaction a custom name. + * + * Overrides any New Relic naming rules set in configuration or from New Relic's servers. + * + * IMPORTANT: this function must be called when a transaction is active. New + * Relic transactions are tied to web requests, so this method may be called + * from within HTTP or HTTPS listener functions, Express routes, or other + * contexts where a web request or response object are in scope. + * + * The `name` will be prefixed with 'Custom/' when sent. + */ + setTransactionName(name: string): void; + + /** + * Returns a handle on the currently executing transaction. + * + * This handle can then be used to end or ignore a given transaction safely from any context. + * It is best used with newrelic.startWebTransaction() and newrelic.startBackgroundTransaction(). + */ + getTransaction(): TransactionHandle; + + /** + * Specify the `Dispatcher` and `Dispatcher Version` environment values. + * + * A dispatcher is typically the service responsible for brokering + * the request with the process responsible for responding to the + * request. For example Node's `http` module would be the dispatcher + * for incoming HTTP requests. + */ + setDispatcher(name: string, version?: string): void; + + /** + * Give the current transaction a name based on your own idea of what + * constitutes a controller in your Node application. Also allows you to + * optionally specify the action being invoked on the controller. If the action + * is omitted, then the API will default to using the HTTP method used in the + * request (e.g. GET, POST, DELETE). Overrides any New Relic naming rules set + * in configuration or from New Relic's servers. + * + * IMPORTANT: this function must be called when a transaction is active. New + * Relic transactions are tied to web requests, so this method may be called + * from within HTTP or HTTPS listener functions, Express routes, or other + * contexts where a web request or response object are in scope. + * + * The `name` will be prefixed with 'Controller/' when sent. + * The `action` defaults to the HTTP method used for the request. + */ + setControllerName(name: string, action: string): void; + + /** + * Add a custom attribute to the current transaction. + * + * Some attributes are reserved (see CUSTOM_BLACKLIST in the docs for the current, very short list), and + * as with most API methods, this must be called in the context of an + * active transaction. + * + * Most recently set value wins. + */ + addCustomAttribute(key: string, value: string): void; + + /** + * Adds all custom attributes in an object to the current transaction. + * + * See documentation for `addCustomAttribute` for more information on setting custom attributes. + */ + addCustomAttributes(atts: { [key: string]: string }): void; + + /** + * Tell the tracer whether to ignore the current transaction. + * + * The most common use for this will be to mark a transaction as ignored (maybe it's handling + * a websocket polling channel, or maybe it's an external call you don't care + * is slow), but it's also useful when you want a transaction that would + * otherwise be ignored due to URL or transaction name normalization rules + * to *not* be ignored. + */ + setIgnoreTransaction(ignored: boolean): void; + + /** + * Send errors to New Relic that you've already handled yourself. + * + * NOTE: Errors that are recorded using this method do _not_ obey the `ignore_status_codes` configuration. + * + * Optional. Any custom attributes to be displayed in the New Relic UI. + */ + noticeError(error: Error, customAttributes?: { [key: string]: string }): void; + + /** + * If the URL for a transaction matches the provided pattern, name the + * transaction with the provided name. + * + * If there are capture groups in the pattern (which is a standard JavaScript regular expression, + * and can be passed as either a RegExp or a string), then the substring matches ($1, $2, + * etc.) are replaced in the name string. BE CAREFUL WHEN USING SUBSTITUTION. + * If the replacement substrings are highly variable (i.e. are identifiers, + * GUIDs, or timestamps), the rule will generate too many metrics and + * potentially get your application blacklisted by New Relic. + * + * An example of a good rule with replacements: + * + * newrelic.addNamingRule('^/storefront/(v[1-5])/(item|category|tag)', 'CommerceAPI/$1/$2') + * + * An example of a bad rule with replacements: + * + * newrelic.addNamingRule('^/item/([0-9a-f]+)', 'Item/$1') + * + * Keep in mind that the original URL and any query parameters will be sent + * along with the request, so slow transactions will still be identifiable. + * + * Naming rules can not be removed once added. They can also be added via the + * agent's configuration. See configuration documentation for details. + */ + addNamingRule(pattern: RegExp | string, name: string): void; + + /** + * If the URL for a transaction matches the provided pattern, ignore the transaction attached to that URL. + * + * Useful for filtering socket.io connections and other long-polling requests out of your agents to keep + * them from distorting an app's apdex or mean response time. + * + * Example: + * + * newrelic.addIgnoringRule('^/socket\\.io/') + */ + addIgnoringRule(pattern: RegExp | string): void; + + /** + * Get the header necessary for Browser Monitoring. + * + * This script must be manually injected into your templates, as high as possible + * in the header, but _after_ any X-UA-COMPATIBLE HTTP-EQUIV meta tags. + * Otherwise you may hurt IE! + * + * This method must be called _during_ a transaction, and must be called every + * time you want to generate the headers. + * + * Do *not* reuse the headers between users, or even between requests. + */ + getBrowserTimingHeader(): string; + + /** + * Instrument a particular callback to improve visibility into a transaction. + * + * Use this API call to improve instrumentation of a particular method, or to track work across asynchronous + * boundaries by calling createTracer() in both the target function and its parent asynchronous function. + * + * The name will be visible in transaction traces and as a new metric in the New Relic UI. + * + * The agent begins timing the segment when createTracer is called, and ends the segment when the callback + * defined by the callback argument finishes executing. + */ + createTracer any>(name: string, handle: T): T; + + /** + * Creates and starts a web transaction to record work done in the handle supplied. + * + * This transaction will run until the handle + * synchronously returns UNLESS: + * 1. The handle function returns a promise, where the end of the + * transaction will be tied to the end of the promise returned. + * 2. `getTransaction` is called in the handle, flagging the + * transaction as externally handled. In this case the transaction + * will be ended when `TransactionHandle#end` is called in the user's code. + * + * @example + * var newrelic = require('newrelic') + * newrelic.startWebTransaction('/some/url/path', function() { + * var transaction = newrelic.getTransaction() + * setTimeout(function() { + * // do some work + * transaction.end() + * }, 100) + * }) + * + * The `url` is used to name and group related transactions in APM, + * so it should be a generic name and not include any variable parameters. + */ + startWebTransaction(url: string, handle: (...args: any[]) => any): any; + + /** + * Creates and starts a background transaction to record work done in the handle supplied. + * + * This transaction will run until the handle + * synchronously returns UNLESS: + * 1. The handle function returns a promise, where the end of the + * transaction will be tied to the end of the promise returned. + * 2. `API#getTransaction` is called in the handle, flagging the + * transaction as externally handled. In this case the transaction + * will be ended when `TransactionHandle#end` is called in the user's code. + * + * @example + * var newrelic = require('newrelic') + * newrelic.startBackgroundTransaction('Red October', 'Subs', function() { + * var transaction = newrelic.getTransaction() + * setTimeout(function() { + * // do some work + * transaction.end() + * }, 100) + * }) + * + * The `url` is used to name and group related transactions in APM, + * so it should be a generic name and not include any variable parameters. + * + * The optional `group can be used for grouping background transactions in APM. + * For more information see: + * https://docs.newrelic.com/docs/apm/applications-menu/monitoring/transactions-page#txn-type-dropdown + */ + startBackgroundTransaction(name: string, handle: (...args: any[]) => any): any; + startBackgroundTransaction(name: string, group: string, handle: (...args: any[]) => any): any; + + /** + * End the current web or background custom transaction. + * + * This method requires being in the correct transaction context when called. + */ + endTransaction(): void; + + /** + * Record an event-based metric, usually associated with a particular duration. + * + * The `name` must be a string following standard metric naming rules. The `value` will + * usually be a number, but it can also be an object. + * * When `value` is a numeric value, it should represent the magnitude of a measurement + * associated with an event; for example, the duration for a particular method call. + * * When `value` is an object, it must contain count, total, min, max, and sumOfSquares + * keys, all with number values. This form is useful to aggregate metrics on your own + * and report them periodically; for example, from a setInterval. These values will + * be aggregated with any previously collected values for the same metric. The names + * of these keys match the names of the keys used by the platform API. + */ + recordMetric(name: string, value: number | Metric): void; + + /** + * Update a metric that acts as a simple counter. + * + * The count of the selected metric will be incremented by the specified amount, defaulting to 1. + */ + incrementMetric(name: string, value?: number): void; + + /** + * Record an event-based metric, usually associated with a particular duration. + * + * `eventType` must be an alphanumeric string less than 255 characters. + * The keys of `attributes` must be shorter than 255 characters. + */ + recordCustomEvent(eventType: string, attributes: { [keys: string]: boolean | number | string }): void; + + /** + * Registers an instrumentation function. + * + * The provided onRequire callback will be fired when the given module is loaded with require. + * The moduleName parameter should be the string that will be passed to require; + * for example, 'express' or 'amqplib/callback_api'. + * + * The optional onError callback is called if the onRequire parameters throws an error. + * This is useful for debugging your instrumentation. + * + * Use this method to: + * - Add instrumentation for modules not currently instrumented by New Relic. + * - Instrument your own code. + * - Replace the Node.js agent's built-in instrumentation with your own. + */ + instrument: Instrument; + + /** + * Sets an instrumentation callback for a datastore module. + * + * This method is just like `instrument`, except it provides a datastore-service-specialized shim. + */ + instrumentDatastore: Instrument; + + /** + * Sets an instrumentation callback for a web framework module. + * + * This method is just like `instrument`, except it provides a web-framework-specialized shim. + */ + instrumentWebframework: Instrument; + + /** + * Sets an instrumentation callback for a message service client module. + * + * This method is just like `instrument`, except it provides a message-service-specialized shim. + */ + instrumentMessages: Instrument; + + /** + * Gracefully shuts down the agent. + * + * If `collectPendingData` is true, the agent will send any pending data to the collector + * before shutting down. Defaults to `false`. + */ + shutdown(cb?: (error?: Error) => void): void; + shutdown(options?: { collectPendingData?: boolean, timeout?: number }, cb?: (error?: Error) => void): void; + } + + interface Instrument { + (opts: { moduleName: string, onRequire: () => void, onError?: (err: Error) => void }): void; + (moduleName: string, onRequire: () => void, onError?: (err: Error) => void): void; + } + + interface Metric { + count: number; + total: number; + min: number; + max: number; + sumOfSquares: number; + } + + interface TransactionHandle { + /** + * End the transaction. + */ + end(callback?: () => any): void; + + /** + * Mark the transaction to be ignored. + */ + ignore(): void; + } +} +declare const api: newrelic.NewRelicAPI; +export = api; diff --git a/types/newrelic/newrelic-tests.ts b/types/newrelic/newrelic-tests.ts new file mode 100644 index 0000000000..73cd53cc78 --- /dev/null +++ b/types/newrelic/newrelic-tests.ts @@ -0,0 +1,98 @@ +/// +import * as newrelic from "newrelic"; + +newrelic.setTransactionName("foo"); // $ExpectType void + +const trans = newrelic.getTransaction(); +trans.ignore(); // $ExpectType void +trans.end(); // $ExpectType void +trans.end(() => { }); // $ExpectType void + +newrelic.setDispatcher("foo"); // $ExpectType void +newrelic.setDispatcher("foo", "42"); // $ExpectType void + +newrelic.setControllerName("foo", "GET"); // $ExpectType void + +newrelic.addCustomAttribute("foo", "bar"); // $ExpectType void +newrelic.addCustomAttributes({ foo: "bar", baz: "bang" }); // $ExpectType void + +newrelic.setIgnoreTransaction(true); // $ExpectType void + +newrelic.noticeError(Error("Oh no!")); // $ExpectType void +newrelic.noticeError(Error("Oh no!"), { foo: "bar" }); // $ExpectType void + +newrelic.addNamingRule("/user/customers/all/.*", "/user/customers/all"); // $ExpectType void +newrelic.addNamingRule(/\/user\/customers\/.*/, "/user/customers/:customer"); // $ExpectType void + +newrelic.addIgnoringRule("^/items/[0-9]+$"); // $ExpectType void +newrelic.addIgnoringRule(/^[0-9]+$/); // $ExpectType void + +newrelic.getBrowserTimingHeader(); // $ExpectType string + +const wrappedFn = newrelic.createTracer("foo", (x: number) => { + return x * x; +}); +const wrappedResult: number = wrappedFn(42); + +newrelic.startWebTransaction('/some/url/path', () => { + const transaction = newrelic.getTransaction(); + Promise.all([]); + setTimeout(() => { + // do some work + transaction.end(); + }, 100); +}); + +newrelic.startBackgroundTransaction('Red October', (foo) => foo); // $ExpectType any +newrelic.startBackgroundTransaction('Red October', 'Subs', () => { + const transaction = newrelic.getTransaction(); + setTimeout(() => { + // do some work + transaction.end(); + }, 100); +}); + +newrelic.endTransaction(); // $ExpectType void + +newrelic.recordMetric("foo", 42); // $ExpectType void +newrelic.recordMetric("foo", { + count: 10, + total: 42, + min: 1, + max: 17, + sumOfSquares: 60, +}); + +newrelic.incrementMetric("foo"); // $ExpectType void +newrelic.incrementMetric("foo", 42); // $ExpectType void + +newrelic.recordCustomEvent("my_event", { + foo: true, + bar: 42, + baz: "don't panic", +}); + +newrelic.instrument("foo", () => { }); // $ExpectType void +newrelic.instrumentDatastore("foo", () => { }, (err: Error) => { }); +newrelic.instrumentWebframework({ + moduleName: "foo", + onRequire: () => { }, +}); +newrelic.instrumentMessages({ + moduleName: "foo", + onRequire: () => { }, + onError: (err) => { + const error: Error = err; + }, +}); + +newrelic.shutdown(); // $ExpectType void +newrelic.shutdown({ collectPendingData: true }); +newrelic.shutdown({ timeout: 3000 }); +newrelic.shutdown({ collectPendingData: true, timeout: 3000 }); +newrelic.shutdown({ collectPendingData: true, timeout: 3000 }, (err) => { + const error: Error | undefined = err; +}); +newrelic.shutdown((err) => { + const error: Error | undefined = err; +}); diff --git a/types/newrelic/tsconfig.json b/types/newrelic/tsconfig.json new file mode 100644 index 0000000000..c255488fde --- /dev/null +++ b/types/newrelic/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "newrelic-tests.ts" + ] +} diff --git a/types/newrelic/tslint.json b/types/newrelic/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/newrelic/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 5d17399bd34568e093ad0ac84bcacac096a5cce4 Mon Sep 17 00:00:00 2001 From: "Matt R. Wilson" Date: Thu, 8 Feb 2018 20:58:00 -0700 Subject: [PATCH 291/463] newrelic - Set esModuleInterop flag to true. --- types/newrelic/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/types/newrelic/tsconfig.json b/types/newrelic/tsconfig.json index c255488fde..a8551b63bb 100644 --- a/types/newrelic/tsconfig.json +++ b/types/newrelic/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, + "esModuleInterop": true, "baseUrl": "../", "typeRoots": [ "../" From d6324664f5430ac108b058acaa85b88f437ab818 Mon Sep 17 00:00:00 2001 From: Justin Simms Date: Thu, 8 Feb 2018 20:23:42 -0600 Subject: [PATCH 292/463] Making some of the typings more specific. --- types/hapi/definitions/request/request.d.ts | 2 +- .../definitions/response/response-object.d.ts | 2 +- .../response/response-toolkit.d.ts | 6 ++-- .../route/route-options-access-scope.d.ts | 28 ------------------- .../route/route-options-access.d.ts | 20 +++++++++++-- .../server/server-auth-scheme.d.ts | 5 +++- .../definitions/server/server-inject.d.ts | 4 +-- .../definitions/server/server-method.d.ts | 2 +- .../definitions/server/server-options.d.ts | 14 ++++------ .../hapi/definitions/server/server-realm.d.ts | 4 ++- types/hapi/definitions/server/server.d.ts | 9 +++--- types/hapi/index.d.ts | 1 - types/hapi/test/route/route-options.ts | 9 +++++- types/hapi/test/server/server-app.ts | 11 ++++++-- types/hapi/test/server/server-table.ts | 2 +- 15 files changed, 61 insertions(+), 58 deletions(-) delete mode 100644 types/hapi/definitions/route/route-options-access-scope.d.ts diff --git a/types/hapi/definitions/request/request.d.ts b/types/hapi/definitions/request/request.d.ts index cd0e7c0cd3..f04a57be96 100644 --- a/types/hapi/definitions/request/request.d.ts +++ b/types/hapi/definitions/request/request.d.ts @@ -190,7 +190,7 @@ export interface Request extends Podium { * @return ResponseObject * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-requestgenerateresponsesource-options) */ - generateResponse(source: string | object | null, options?: {variety?: string; prepare?: (response: ResponseObject) => Promise; marshal?: (response: ResponseObject) => Promise; close?: (response: ResponseObject) => {}; }): ResponseObject; + generateResponse(source: string | object | null, options?: {variety?: string; prepare?: (response: ResponseObject) => Promise; marshal?: (response: ResponseObject) => Promise; close?: (response: ResponseObject) => void; }): ResponseObject; /** * Logs request-specific events. When called, the server emits a 'request' event which can be used by other listeners or plugins. The arguments are: diff --git a/types/hapi/definitions/response/response-object.d.ts b/types/hapi/definitions/response/response-object.d.ts index c270371a5e..4382338551 100644 --- a/types/hapi/definitions/response/response-object.d.ts +++ b/types/hapi/definitions/response/response-object.d.ts @@ -207,7 +207,7 @@ export interface ResponseObject extends Podium { * @return Return value: the current response object. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsestatename-value-options) */ - state(name: string, value: object, options?: ServerStateCookieOptions): ResponseObject; + state(name: string, value: object | string, options?: ServerStateCookieOptions): ResponseObject; /** * Sets a string suffix when the response is process via JSON.stringify() where: diff --git a/types/hapi/definitions/response/response-toolkit.d.ts b/types/hapi/definitions/response/response-toolkit.d.ts index c4d7609d37..876f00b7bc 100644 --- a/types/hapi/definitions/response/response-toolkit.d.ts +++ b/types/hapi/definitions/response/response-toolkit.d.ts @@ -27,13 +27,13 @@ export interface ResponseToolkit { * without further interaction with the node response stream. It is the developer's responsibility to write * and end the response directly via [request.raw.res](https://github.com/hapijs/hapi/blob/master/API.md#request.raw). */ - readonly abandon: Object; + readonly abandon: symbol; /** * A response symbol. When returned by a lifecycle method, the request lifecycle skips to the finalizing step after * calling request.raw.res.end()) to close the the node response stream. */ - readonly close: Object; + readonly close: symbol; /** * A response symbol. Provides access to the route or server context set via the route [bind](https://github.com/hapijs/hapi/blob/master/API.md#route.options.bind) @@ -44,7 +44,7 @@ export interface ResponseToolkit { /** * A response symbol. When returned by a lifecycle method, the request lifecycle continues without changing the response. */ - readonly continue: Object; + readonly continue: symbol; /** * The [server realm](https://github.com/hapijs/hapi/blob/master/API.md#server.realm) associated with the matching diff --git a/types/hapi/definitions/route/route-options-access-scope.d.ts b/types/hapi/definitions/route/route-options-access-scope.d.ts deleted file mode 100644 index 4ed76fe9c6..0000000000 --- a/types/hapi/definitions/route/route-options-access-scope.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import {RouteOptionsAccessEntity} from "hapi"; - -/** - * Each rule is evaluated against an incoming request and access is granted if at least one of the rules matches. - * Each rule object must include at least one of [scope](https://github.com/hapijs/hapi/blob/master/API.md#route.options.auth.access.scope) or [entity](https://github.com/hapijs/hapi/blob/master/API.md#route.options.auth.access.entity). - */ -export interface RouteOptionsAccessObject { - - /** - * Default value: false (no scope requirements). - * The application scope required to access the route. Value can be a scope string or an array of scope strings. When authenticated, the credentials object scope property must contain at least one of the scopes defined to access the route. - * If a scope string begins with a + character, that scope is required. If a scope string begins with a ! character, that scope is forbidden. For example, the scope ['!a', '+b', 'c', 'd'] means the incoming request credentials' scope must not include 'a', must include 'b', and must include one of 'c' or 'd'. - * You may also access properties on the request object (query, params, payload, and credentials) to populate a dynamic scope by using the '{' and '}' characters around the property name, such as 'user-{params.id}'. - * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthaccessscope) - */ - scope?: false | string | string[]; - - /** - * Default value: 'any'. - * The required authenticated entity type. If set, must match the entity value of the request authenticated credentials. Available values: - * * 'any' - the authentication can be on behalf of a user or application. - * * 'user' - the authentication must be on behalf of a user which is identified by the presence of a 'user' attribute in the credentials object returned by the authentication strategy. - * * 'app' - the authentication must be on behalf of an application which is identified by the lack of presence of a user attribute in the credentials object returned by the authentication strategy. - * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthaccessentity) - */ - entity?: RouteOptionsAccessEntity; - -} diff --git a/types/hapi/definitions/route/route-options-access.d.ts b/types/hapi/definitions/route/route-options-access.d.ts index de815c44c0..2446d7b1c4 100644 --- a/types/hapi/definitions/route/route-options-access.d.ts +++ b/types/hapi/definitions/route/route-options-access.d.ts @@ -1,4 +1,18 @@ +export type RouteOptionsAccessScope = false | string | string[]; + +export type RouteOptionsAccessEntity = 'any' | 'user' | 'app'; + +export interface RouteOptionsAccessScopeObject { + scope: RouteOptionsAccessScope; +} + +export interface RouteOptionsAccessEntityObject { + entity: RouteOptionsAccessEntity; +} + +export type RouteOptionsAccessObject = RouteOptionsAccessScopeObject | RouteOptionsAccessEntityObject | (RouteOptionsAccessScopeObject & RouteOptionsAccessEntityObject); + /** * Route Authentication Options */ @@ -9,7 +23,7 @@ export interface RouteOptionsAccess { * An object or array of objects specifying the route access rules. Each rule is evaluated against an incoming request and access is granted if at least one of the rules matches. Each rule object must include at least one of scope or entity. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthaccess) */ - access?: object | object[]; + access?: RouteOptionsAccessObject | RouteOptionsAccessObject[]; /** * Default value: false (no scope requirements). @@ -18,7 +32,7 @@ export interface RouteOptionsAccess { * You may also access properties on the request object (query, params, payload, and credentials) to populate a dynamic scope by using the '{' and '}' characters around the property name, such as 'user-{params.id}'. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthaccessscope) */ - scope?: false | string | string[]; + scope?: RouteOptionsAccessScope; /** * Default value: 'any'. @@ -28,7 +42,7 @@ export interface RouteOptionsAccess { * * 'app' - the authentication must be on behalf of an application which is identified by the lack of presence of a user attribute in the credentials object returned by the authentication strategy. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-routeoptionsauthaccessentity) */ - entity?: 'any' | 'user' | 'app'; + entity?: RouteOptionsAccessEntity; /** * Default value: 'required'. diff --git a/types/hapi/definitions/server/server-auth-scheme.d.ts b/types/hapi/definitions/server/server-auth-scheme.d.ts index 835a0791ce..5eed01f0a0 100644 --- a/types/hapi/definitions/server/server-auth-scheme.d.ts +++ b/types/hapi/definitions/server/server-auth-scheme.d.ts @@ -16,6 +16,9 @@ export interface ServerAuthScheme { (server: Server, options?: ServerAuthSchemeOptions): ServerAuthSchemeObject; } +export interface ServerAuthSchemeObjectApi { +} + /** * The scheme method must return an object with the following * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#authentication-scheme) @@ -25,7 +28,7 @@ export interface ServerAuthSchemeObject { /** * optional object which is exposed via the [server.auth.api](https://github.com/hapijs/hapi/blob/master/API.md#server.auth.api) object. */ - api?: object; + api?: ServerAuthSchemeObjectApi; /** * A lifecycle method function called for each incoming request configured with the authentication scheme. The diff --git a/types/hapi/definitions/server/server-inject.d.ts b/types/hapi/definitions/server/server-inject.d.ts index 19a3a1de1e..99789febfe 100644 --- a/types/hapi/definitions/server/server-inject.d.ts +++ b/types/hapi/definitions/server/server-inject.d.ts @@ -1,4 +1,4 @@ -import {PluginsStates, Request} from "hapi"; +import {AuthCredentials, PluginsStates, Request} from "hapi"; import * as Shot from "shot"; /** @@ -26,7 +26,7 @@ export interface ServerInjectOptions extends Shot.RequestOptions { /** * an credentials object containing authentication information. The credentials are used to bypass the default authentication strategies, and are validated directly as if they were received via an authentication scheme. Defaults to no credentials. */ - credentials?: any; + credentials?: AuthCredentials; /** * (an artifacts object containing authentication artifact information. The artifacts are used to bypass the default authentication strategies, and are validated directly as if they were received via an authentication scheme. Ignored if set without credentials. Defaults to no artifacts. */ diff --git a/types/hapi/definitions/server/server-method.d.ts b/types/hapi/definitions/server/server-method.d.ts index c3c26565e8..920560086a 100644 --- a/types/hapi/definitions/server/server-method.d.ts +++ b/types/hapi/definitions/server/server-method.d.ts @@ -7,7 +7,7 @@ import * as catbox from "catbox"; * * * ttl - 0 if result is valid but cannot be cached. Defaults to cache policy. * For reference [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servermethodname-method-options) */ -export type ServerMethod = (...args: any[]) => any; +export type ServerMethod = (...args: any[]) => Promise; /** * The same cache configuration used in server.cache(). diff --git a/types/hapi/definitions/server/server-options.d.ts b/types/hapi/definitions/server/server-options.d.ts index 606dd701ba..2f74c17bb4 100644 --- a/types/hapi/definitions/server/server-options.d.ts +++ b/types/hapi/definitions/server/server-options.d.ts @@ -4,8 +4,12 @@ import * as catbox from "catbox"; import {MimosOptions} from "mimos"; import {PluginSpecificConfiguration, RouteOptions, ServerOptionsCache} from "hapi"; +export interface ServerOptionsCompression { + minBytes: number; +} + /** - * he server options control the behavior of the server object. Note that the options object is deeply cloned + * The server options control the behavior of the server object. Note that the options object is deeply cloned * (with the exception of listener which is shallowly copied) and should not contain any values that are unsafe to perform deep copy on. * All options are optionals. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-server-options) @@ -55,13 +59,7 @@ export interface ServerOptions { * Default value: { minBytes: 1024 }. * Defines server handling of content encoding requests. If false, response content encoding is disabled and no compression is performed by the server. */ - compression?: boolean | object; - - /** - * Default value: '1024'. - * Sets the minimum response payload size in bytes that is required for content encoding compression. If the payload size is under the limit, no compression is performed. - */ - minBytes?: number; + compression?: boolean | ServerOptionsCompression; /** * Default value: { request: ['implementation'] }. diff --git a/types/hapi/definitions/server/server-realm.d.ts b/types/hapi/definitions/server/server-realm.d.ts index cfab9b75b7..eb921a1699 100644 --- a/types/hapi/definitions/server/server-realm.d.ts +++ b/types/hapi/definitions/server/server-realm.d.ts @@ -3,6 +3,8 @@ import {PluginsStates} from "hapi"; /** * The realm object contains sandboxed server settings specific to each plugin or authentication strategy. When registering a plugin or an authentication scheme, a server object reference is provided with a new server.realm container specific to that registration. It allows each plugin to maintain its own settings without leaking and affecting other plugins. * For example, a plugin can set a default file path for local resources without breaking other plugins' configured paths. When calling server.bind(), the active realm's settings.bind property is set which is then used by routes and extensions added at the same level (server root or plugin). + * + * https://github.com/hapijs/hapi/blob/master/API.md#server.realm */ export interface ServerRealm { /** when the server object is provided as an argument to the plugin register() method, modifiers provides the registration preferences passed the server.register() method and includes: */ @@ -16,7 +18,7 @@ export interface ServerRealm { } }; /** the realm of the parent server object, or null for the root server. */ - parent: object | null; + parent: ServerRealm | null; /** the active plugin name (empty string if at the server root). */ plugin: string; /** the plugin options object passed at registration. */ diff --git a/types/hapi/definitions/server/server.d.ts b/types/hapi/definitions/server/server.d.ts index 0ddab2375a..4753f96165 100644 --- a/types/hapi/definitions/server/server.d.ts +++ b/types/hapi/definitions/server/server.d.ts @@ -2,6 +2,7 @@ import * as http from "http"; import * as zlib from "zlib"; import * as Podium from "podium"; import { + ApplicationState, Lifecycle, PayloadCompressionDecoderSettings, Plugin, @@ -62,7 +63,7 @@ export class Server extends Podium { * Initialized with an empty object. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverapp) */ - app?: any; + app?: ApplicationState; /** * Server Auth: properties and methods @@ -78,15 +79,15 @@ export class Server extends Podium { /** * decorations on the request object. */ - request: Request, + request: string[], /** * decorations on the response toolkit. */ - toolkit: ResponseToolkit, + toolkit: string[], /** * decorations on the server object. */ - server: Server + server: string[] }; /** diff --git a/types/hapi/index.d.ts b/types/hapi/index.d.ts index f84f1b00f6..46d4d07ca3 100644 --- a/types/hapi/index.d.ts +++ b/types/hapi/index.d.ts @@ -38,7 +38,6 @@ export * from './definitions/response/response-toolkit'; /** ROUTE */ export * from './definitions/route/route-options'; export * from './definitions/route/route-options-access'; -export * from './definitions/route/route-options-access-scope'; export * from './definitions/route/route-options-cache'; export * from './definitions/route/route-options-cors'; export * from './definitions/route/route-options-payload'; diff --git a/types/hapi/test/route/route-options.ts b/types/hapi/test/route/route-options.ts index 333fd9cbf6..b5a9f87ce1 100644 --- a/types/hapi/test/route/route-options.ts +++ b/types/hapi/test/route/route-options.ts @@ -12,7 +12,14 @@ import { } from "hapi"; const routeOptionsAccess: RouteOptionsAccess = { - access: {}, + access: [ + { + scope: false + }, + { + entity: 'user' + } + ], scope: false, entity: 'user', mode: 'optional', diff --git a/types/hapi/test/server/server-app.ts b/types/hapi/test/server/server-app.ts index 4cf3ac74c0..57298a4672 100644 --- a/types/hapi/test/server/server-app.ts +++ b/types/hapi/test/server/server-app.ts @@ -5,14 +5,21 @@ const options: ServerOptions = { port: 8000, }; +declare module "hapi" { + // Demonstrate augmenting the application state. + interface ApplicationState { + key: string; + } +} + const server = new Server(options); -server.app.key = 'value2'; +server.app!.key = 'value2'; const serverRoute: ServerRoute = { path: '/', method: 'GET', handler: (request: Request, h: ResponseToolkit) => { - return 'key: ' + request.server.app.key; + return 'key: ' + request.server.app!.key; } }; diff --git a/types/hapi/test/server/server-table.ts b/types/hapi/test/server/server-table.ts index 4172430116..02f83e90fd 100644 --- a/types/hapi/test/server/server-table.ts +++ b/types/hapi/test/server/server-table.ts @@ -6,7 +6,7 @@ const options: ServerOptions = { }; const server = new Server(options); -server.app.key = 'value2'; +server.app!.key = 'value2'; server.route({ path: '/', From b7edd5c1db16c924636e7bfeeb3727de6bfe2eb9 Mon Sep 17 00:00:00 2001 From: Justin Simms Date: Thu, 8 Feb 2018 23:41:49 -0600 Subject: [PATCH 293/463] Add generic types for plugins --- types/hapi/definitions/plugin/plugin.d.ts | 8 +- .../definitions/server/server-register.d.ts | 21 +++++- types/hapi/definitions/server/server.d.ts | 5 +- types/hapi/test/server/server-bind.ts | 2 +- types/hapi/test/server/server-expose.ts | 4 +- types/hapi/test/server/server-options.ts | 2 +- types/hapi/test/server/server-path.ts | 2 +- types/hapi/test/server/server-plugins.ts | 74 ++++++++++++++++++- 8 files changed, 101 insertions(+), 17 deletions(-) diff --git a/types/hapi/definitions/plugin/plugin.d.ts b/types/hapi/definitions/plugin/plugin.d.ts index 4582bb152f..925ac02205 100644 --- a/types/hapi/definitions/plugin/plugin.d.ts +++ b/types/hapi/definitions/plugin/plugin.d.ts @@ -33,15 +33,17 @@ export interface PluginPackage { * certain properties. For example, setting a file path in one plugin doesn't affect the file path set * in another plugin. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#plugins) + * + * The type T is the type of the plugin options. */ -export interface PluginBase { +export interface PluginBase { /** * (required) the registration function with the signature async function(server, options) where: * * server - the server object with a plugin-specific server.realm. * * options - any options passed to the plugin during registration via server.register(). */ - register: (server: Server, options: any) => Promise; + register: (server: Server, options: T) => Promise; /** (optional) if true, allows the plugin to be registered multiple times with the same server. Defaults to false. */ multiple?: boolean; @@ -53,4 +55,4 @@ export interface PluginBase { once?: boolean; } -export type Plugin = PluginBase & (PluginNameVersion | PluginPackage); +export type Plugin = PluginBase & (PluginNameVersion | PluginPackage); diff --git a/types/hapi/definitions/server/server-register.d.ts b/types/hapi/definitions/server/server-register.d.ts index b4ce0614d6..7e7680edfb 100644 --- a/types/hapi/definitions/server/server-register.d.ts +++ b/types/hapi/definitions/server/server-register.d.ts @@ -37,14 +37,29 @@ export interface ServerRegisterOptions { * * * prefix - string added as prefix to any route path (must begin with '/'). If a plugin registers a child plugin the prefix is passed on to the child or is added in front of the child-specific prefix. * * * vhost - virtual host string (or array of strings) applied to every route. The outer-most vhost overrides the any nested configuration. * For reference [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-serverregisterplugins-options) + * + * The type parameter T is the type of the plugin configuration options. */ -export interface ServerRegisterPluginObject extends ServerRegisterOptions { +export interface ServerRegisterPluginObject extends ServerRegisterOptions { /** * a plugin object. */ - plugin: Plugin; + plugin: Plugin; /** * options passed to the plugin during registration. */ - options?: any; + options?: T; } + +export interface ServerRegisterPluginObjectArray extends Array | undefined> { + 0: ServerRegisterPluginObject; + 1?: ServerRegisterPluginObject; + 2?: ServerRegisterPluginObject; + 3?: ServerRegisterPluginObject; + 4?: ServerRegisterPluginObject; + 5?: ServerRegisterPluginObject; + 6?: ServerRegisterPluginObject; +} + + + diff --git a/types/hapi/definitions/server/server.d.ts b/types/hapi/definitions/server/server.d.ts index 4753f96165..0133a35775 100644 --- a/types/hapi/definitions/server/server.d.ts +++ b/types/hapi/definitions/server/server.d.ts @@ -30,6 +30,7 @@ import { ServerRealm, ServerRegisterOptions, ServerRegisterPluginObject, + ServerRegisterPluginObjectArray, ServerRoute, ServerState, ServerStateCookieOptions, @@ -483,8 +484,8 @@ export class Server extends Podium { * @return Return value: none. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-await-serverregisterplugins-options) */ - register(plugins: Plugin | Plugin[], options?: ServerRegisterOptions): Promise; - register(plugins: ServerRegisterPluginObject | ServerRegisterPluginObject[], options?: ServerRegisterOptions): Promise; + register(plugins: Plugin | Plugin[], options?: ServerRegisterOptions): Promise; + register(plugins: ServerRegisterPluginObject | ServerRegisterPluginObjectArray, options?: ServerRegisterOptions): Promise; /** * Adds a route where: diff --git a/types/hapi/test/server/server-bind.ts b/types/hapi/test/server/server-bind.ts index e68e248ad7..9bec0ec5f9 100644 --- a/types/hapi/test/server/server-bind.ts +++ b/types/hapi/test/server/server-bind.ts @@ -8,7 +8,7 @@ const handler = (request: Request, h: ResponseToolkit) => { return h.context.message; // Or h.context.message }; -const plugin: Plugin = { +const plugin: Plugin = { name: 'example', register: async (server: Server, options: ServerRegisterOptions) => { const bind = { diff --git a/types/hapi/test/server/server-expose.ts b/types/hapi/test/server/server-expose.ts index 4b1a5802dd..2f1424b2ba 100644 --- a/types/hapi/test/server/server-expose.ts +++ b/types/hapi/test/server/server-expose.ts @@ -1,14 +1,14 @@ // https://github.com/hapijs/hapi/blob/master/API.md#-serverplugins import { Plugin, Server, ServerRegisterOptions } from "hapi"; -const plugin1: Plugin = { +const plugin1: Plugin = { name: 'example1', register: async (server: Server, options: ServerRegisterOptions) => { server.expose('util', () => console.log('something')); } }; -const plugin2: Plugin = { +const plugin2: Plugin = { name: 'example2', register: async (server: Server, options: ServerRegisterOptions) => { server.expose('util', () => console.log('something')); diff --git a/types/hapi/test/server/server-options.ts b/types/hapi/test/server/server-options.ts index bb8643d5f2..ce487bbb20 100644 --- a/types/hapi/test/server/server-options.ts +++ b/types/hapi/test/server/server-options.ts @@ -30,7 +30,7 @@ const mimeOptions: MimosOptions = { } }; -const plugin: Plugin = { +const plugin: Plugin = { name: 'example', register: async (server: Server, options: ServerRegisterOptions) => { server.expose('key', 'value'); diff --git a/types/hapi/test/server/server-path.ts b/types/hapi/test/server/server-path.ts index 86363c5636..36f346cb10 100644 --- a/types/hapi/test/server/server-path.ts +++ b/types/hapi/test/server/server-path.ts @@ -13,7 +13,7 @@ const serverRouteOption: ServerRoute = { } }; -const plugin: Plugin = { +const plugin: Plugin = { name: 'example', register: async (server: Server, options: ServerRegisterOptions) => { // Assuming the Inert plugin was registered previously diff --git a/types/hapi/test/server/server-plugins.ts b/types/hapi/test/server/server-plugins.ts index a4bd629600..970b53fb6d 100644 --- a/types/hapi/test/server/server-plugins.ts +++ b/types/hapi/test/server/server-plugins.ts @@ -1,9 +1,21 @@ // https://github.com/hapijs/hapi/blob/master/API.md#-serverplugins import { Plugin, Server, ServerRegisterOptions } from "hapi"; -const plugin: Plugin = { - name: 'example', - register: async (server: Server, options: ServerRegisterOptions) => { +interface Plugin1 { + one: 1; +} + +interface Plugin2 { + two: 2; +} + +interface Plugin3 { + three: 3; +} + +const plugin1: Plugin = { + name: 'plugin1', + register: async (server: Server, options: Plugin1) => { server.expose('key', 'value'); server.plugins.example.other = 'other'; console.log(server.plugins.example.key); // 'value' @@ -11,9 +23,63 @@ const plugin: Plugin = { } }; +const plugin2: Plugin = { + name: 'plugin2', + register: async (server: Server, options: Plugin2) => {} +}; + +const plugin3: Plugin = { + name: 'plugin3', + register: async (server: Server, options: Plugin3) => {} +}; + const server = new Server({ port: 8000, }); server.start(); -server.register(plugin); +server.register(plugin1); + +server.register({ + plugin: plugin1, + options: {one: 1} +}); + +server.register([ + { + plugin: plugin2, + options: {two: 2} + }, + { + plugin: plugin3, + options: {three: 3} + }, + { + plugin: plugin1, + options: {one: 1} + }, + { + plugin: plugin2, + options: {two: 2} + }, + { + plugin: plugin3, + options: {three: 3} + }, + { + plugin: plugin1, + options: {one: 1} + }, + { + plugin: plugin2, + options: {two: 2} + }, + { + plugin: plugin3, + options: {three: 3} + }, + { + plugin: plugin1, + options: {one: 1} + } +]); From 5763bd635372e8dae057e957f97fc21e1b720ae1 Mon Sep 17 00:00:00 2001 From: Justin Simms Date: Thu, 8 Feb 2018 23:56:29 -0600 Subject: [PATCH 294/463] Fix for server route options type --- types/hapi/definitions/response/response-toolkit.d.ts | 2 +- types/hapi/definitions/server/server-route.d.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/types/hapi/definitions/response/response-toolkit.d.ts b/types/hapi/definitions/response/response-toolkit.d.ts index 876f00b7bc..8fb64a6ea3 100644 --- a/types/hapi/definitions/response/response-toolkit.d.ts +++ b/types/hapi/definitions/response/response-toolkit.d.ts @@ -57,7 +57,7 @@ export interface ResponseToolkit { * The [request] object. This is a duplication of the request lifecycle method argument used by * [toolkit decorations](https://github.com/hapijs/hapi/blob/master/API.md#server.decorate()) to access the current request. */ - request: Readonly + readonly request: Readonly /** * Used by the [authentication] method to pass back valid credentials where: diff --git a/types/hapi/definitions/server/server-route.d.ts b/types/hapi/definitions/server/server-route.d.ts index 763f70ccf2..7c9087bddd 100644 --- a/types/hapi/definitions/server/server-route.d.ts +++ b/types/hapi/definitions/server/server-route.d.ts @@ -1,4 +1,4 @@ -import {Lifecycle, Server, Util} from "hapi"; +import {Lifecycle, RouteOptions, Server, Util} from "hapi"; export interface ServerRouteConfig { } @@ -40,7 +40,7 @@ export interface ServerRoute { /** * additional route options. The options value can be an object or a function that returns an object using the signature function(server) where server is the server the route is being added to and this is bound to the current realm's bind option. */ - options?: object | ((server: Server) => object); + options?: RouteOptions | ((server: Server) => RouteOptions); /** * route custom rules object. The object is passed to each rules processor registered with server.rules(). Cannot be used if route.options.rules is defined. From 76292312804a75f8cd2e5b855feebcd559473c77 Mon Sep 17 00:00:00 2001 From: Klaus Meinhardt Date: Fri, 9 Feb 2018 08:25:45 +0100 Subject: [PATCH 295/463] enable esModuleInterop --- types/get-caller-file/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/types/get-caller-file/tsconfig.json b/types/get-caller-file/tsconfig.json index 1f87ecddd2..f54443c20d 100644 --- a/types/get-caller-file/tsconfig.json +++ b/types/get-caller-file/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, + "esModuleInterop": true, "baseUrl": "../", "typeRoots": [ "../" From 4c3140799f04233b04dba5893f54011fc121953f Mon Sep 17 00:00:00 2001 From: Marcel Batista Date: Fri, 9 Feb 2018 00:57:01 -0800 Subject: [PATCH 296/463] adding fab property to NavigatorButtons --- types/react-native-navigation/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/react-native-navigation/index.d.ts b/types/react-native-navigation/index.d.ts index 893a904f73..18abafb2d3 100644 --- a/types/react-native-navigation/index.d.ts +++ b/types/react-native-navigation/index.d.ts @@ -224,6 +224,7 @@ export interface NavigatorStyle { export interface NavigatorButtons { leftButtons?: NavigatorButton[]; rightButtons?: NavigatorButton[]; + fab?: FABAndroid; } export type IdAndroid = 'back' | 'cancel' | 'accept' | 'sideMenu'; From c6f0355c0734d16e02fa0a9c42a434940a9cc929 Mon Sep 17 00:00:00 2001 From: Dona278 Date: Fri, 9 Feb 2018 11:07:49 +0100 Subject: [PATCH 297/463] Added IStickyService Docs: https://material.angularjs.org/latest/api/service/$mdSticky --- types/angular-material/angular-material-tests.ts | 11 +++++++++-- types/angular-material/index.d.ts | 5 +++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/types/angular-material/angular-material-tests.ts b/types/angular-material/angular-material-tests.ts index 8d6955c697..06d98505ed 100644 --- a/types/angular-material/angular-material-tests.ts +++ b/types/angular-material/angular-material-tests.ts @@ -164,8 +164,7 @@ myApp.controller('DialogController', ($scope: TestScope, $mdDialog: ng.material. .controller(function TestController(param) { }) .controller(class { }) .controller(['fakeService', function TestController(fake) { }]) - .controller(['fakeService', class { }]) - ; + .controller(['fakeService', class { }]); const dialogOptions: ng.material.IDialogOptions = {}; @@ -389,3 +388,11 @@ myApp.controller('PanelController', ($scope: TestScope, $mdPanel: ng.material.IP $mdPanel.newPanelAnimation().openFrom({ top: 0, left: 0 }); }; }); + +myApp.controller('StickyController', ($scope: TestScope, $mdSticky: ng.material.IStickyService) => { + const stickyElement = angular.element(new Element()); + const cloneStickyElement = stickyElement.clone(); + + $mdSticky($scope, stickyElement); + $mdSticky($scope, stickyElement, cloneStickyElement); +}); \ No newline at end of file diff --git a/types/angular-material/index.d.ts b/types/angular-material/index.d.ts index 92f6d46751..e9263459f1 100644 --- a/types/angular-material/index.d.ts +++ b/types/angular-material/index.d.ts @@ -494,5 +494,10 @@ declare module 'angular' { interface IProgressCircularProvider { configure(options: IProgressCircularConfig): void; } + + interface IStickyService { + (scope: IScope, element: JQuery): void; + (scope: IScope, element: JQuery, elementClone: JQuery): void; + } } } From d559e87ca2f93274df6165f388c03d95c0360678 Mon Sep 17 00:00:00 2001 From: Dona278 Date: Fri, 9 Feb 2018 11:28:32 +0100 Subject: [PATCH 298/463] Fixed lint errors --- types/angular-material/angular-material-tests.ts | 6 +++--- types/angular-material/index.d.ts | 5 +---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/types/angular-material/angular-material-tests.ts b/types/angular-material/angular-material-tests.ts index 06d98505ed..ad79cff2db 100644 --- a/types/angular-material/angular-material-tests.ts +++ b/types/angular-material/angular-material-tests.ts @@ -393,6 +393,6 @@ myApp.controller('StickyController', ($scope: TestScope, $mdSticky: ng.material. const stickyElement = angular.element(new Element()); const cloneStickyElement = stickyElement.clone(); - $mdSticky($scope, stickyElement); - $mdSticky($scope, stickyElement, cloneStickyElement); -}); \ No newline at end of file + $mdSticky($scope, stickyElement); + $mdSticky($scope, stickyElement, cloneStickyElement); +}); diff --git a/types/angular-material/index.d.ts b/types/angular-material/index.d.ts index e9263459f1..d77f5ae7ce 100644 --- a/types/angular-material/index.d.ts +++ b/types/angular-material/index.d.ts @@ -495,9 +495,6 @@ declare module 'angular' { configure(options: IProgressCircularConfig): void; } - interface IStickyService { - (scope: IScope, element: JQuery): void; - (scope: IScope, element: JQuery, elementClone: JQuery): void; - } + type IStickyService = (scope: IScope, element: JQuery, elementClone?: JQuery) => void; } } From b234c5e54a55563e63f0d2eae02e39c6c6baf746 Mon Sep 17 00:00:00 2001 From: Klaus Meinhardt Date: Fri, 9 Feb 2018 15:01:58 +0100 Subject: [PATCH 299/463] Add types for void-elements --- types/void-elements/index.d.ts | 10 +++++++++ types/void-elements/tsconfig.json | 24 ++++++++++++++++++++++ types/void-elements/tslint.json | 1 + types/void-elements/void-elements-tests.ts | 4 ++++ 4 files changed, 39 insertions(+) create mode 100644 types/void-elements/index.d.ts create mode 100644 types/void-elements/tsconfig.json create mode 100644 types/void-elements/tslint.json create mode 100644 types/void-elements/void-elements-tests.ts diff --git a/types/void-elements/index.d.ts b/types/void-elements/index.d.ts new file mode 100644 index 0000000000..297accd615 --- /dev/null +++ b/types/void-elements/index.d.ts @@ -0,0 +1,10 @@ +// Type definitions for void-elements 3.1 +// Project: https://github.com/jadejs/void-elements +// Definitions by: Klaus Meinhardt +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +declare interface VoidElements { + readonly [tagname: string]: true; +} +declare const voidElements: Partial; +export = voidElements; diff --git a/types/void-elements/tsconfig.json b/types/void-elements/tsconfig.json new file mode 100644 index 0000000000..1df313454e --- /dev/null +++ b/types/void-elements/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "esModuleInterop": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "void-elements-tests.ts" + ] +} diff --git a/types/void-elements/tslint.json b/types/void-elements/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/void-elements/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } diff --git a/types/void-elements/void-elements-tests.ts b/types/void-elements/void-elements-tests.ts new file mode 100644 index 0000000000..74a462ada5 --- /dev/null +++ b/types/void-elements/void-elements-tests.ts @@ -0,0 +1,4 @@ +import * as voidElements from 'void-elements'; + +let isVoid: boolean | undefined = voidElements.span; +isVoid = voidElements.input; From 82ae9c103d7a6ccbc1a9d67f29dd268754067429 Mon Sep 17 00:00:00 2001 From: Klaus Meinhardt Date: Fri, 9 Feb 2018 15:09:16 +0100 Subject: [PATCH 300/463] fix lint --- types/void-elements/index.d.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/types/void-elements/index.d.ts b/types/void-elements/index.d.ts index 297accd615..855ac9d093 100644 --- a/types/void-elements/index.d.ts +++ b/types/void-elements/index.d.ts @@ -2,9 +2,7 @@ // Project: https://github.com/jadejs/void-elements // Definitions by: Klaus Meinhardt // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 -declare interface VoidElements { - readonly [tagname: string]: true; -} -declare const voidElements: Partial; +declare const voidElements: Partial>; export = voidElements; From e1b08d63781f745a4446c0f6de76f984e4f4e735 Mon Sep 17 00:00:00 2001 From: Klaus Meinhardt Date: Fri, 9 Feb 2018 15:25:55 +0100 Subject: [PATCH 301/463] Add types for 'builtin-modules' --- .../builtin-modules/builtin-modules-tests.ts | 8 +++++++ types/builtin-modules/index.d.ts | 7 ++++++ types/builtin-modules/static.d.ts | 7 ++++++ types/builtin-modules/tsconfig.json | 24 +++++++++++++++++++ types/builtin-modules/tslint.json | 1 + 5 files changed, 47 insertions(+) create mode 100644 types/builtin-modules/builtin-modules-tests.ts create mode 100644 types/builtin-modules/index.d.ts create mode 100644 types/builtin-modules/static.d.ts create mode 100644 types/builtin-modules/tsconfig.json create mode 100644 types/builtin-modules/tslint.json diff --git a/types/builtin-modules/builtin-modules-tests.ts b/types/builtin-modules/builtin-modules-tests.ts new file mode 100644 index 0000000000..dadcb6ea72 --- /dev/null +++ b/types/builtin-modules/builtin-modules-tests.ts @@ -0,0 +1,8 @@ +import * as builtins from 'builtin-modules'; +import * as builtinsStatic from 'builtin-modules/static'; + +let builtin: string = builtins[0]; +builtin = builtinsStatic[0]; + +builtins.push('foo'); // $ExpectError +builtinsStatic.pop('foo'); // $ExpectError diff --git a/types/builtin-modules/index.d.ts b/types/builtin-modules/index.d.ts new file mode 100644 index 0000000000..c65d38d1be --- /dev/null +++ b/types/builtin-modules/index.d.ts @@ -0,0 +1,7 @@ +// Type definitions for builtin-modules 2.0 +// Project: https://github.com/sindresorhus/builtin-modules#readme +// Definitions by: My Self +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +declare const builtinModules: ReadonlyArray; +export = builtinModules; diff --git a/types/builtin-modules/static.d.ts b/types/builtin-modules/static.d.ts new file mode 100644 index 0000000000..a800bfd4f2 --- /dev/null +++ b/types/builtin-modules/static.d.ts @@ -0,0 +1,7 @@ +// Type definitions for builtin-modules 2.0 +// Project: https://github.com/sindresorhus/builtin-modules#readme +// Definitions by: Klaus Meinhardt +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +declare const builtinModules: ReadonlyArray; +export = builtinModules; diff --git a/types/builtin-modules/tsconfig.json b/types/builtin-modules/tsconfig.json new file mode 100644 index 0000000000..caf8ee2451 --- /dev/null +++ b/types/builtin-modules/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "esModuleInterop": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "builtin-modules-tests.ts" + ] +} diff --git a/types/builtin-modules/tslint.json b/types/builtin-modules/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/builtin-modules/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 8189f663b909460fd2fd2562dae6befefa7476c0 Mon Sep 17 00:00:00 2001 From: Joel Shepherd Date: Sat, 10 Feb 2018 00:56:54 +1000 Subject: [PATCH 302/463] Fixing incorrect property name --- types/luxon/index.d.ts | 2 +- types/luxon/luxon-tests.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/types/luxon/index.d.ts b/types/luxon/index.d.ts index 7229e45dc4..fac0b90fe6 100644 --- a/types/luxon/index.d.ts +++ b/types/luxon/index.d.ts @@ -287,7 +287,7 @@ declare module 'luxon' { type Features = { intl: boolean; intlTokens: boolean; - timezones: boolean; + zones: boolean; }; namespace Info { diff --git a/types/luxon/luxon-tests.ts b/types/luxon/luxon-tests.ts index 6310342899..11ef254ae9 100644 --- a/types/luxon/luxon-tests.ts +++ b/types/luxon/luxon-tests.ts @@ -78,6 +78,9 @@ i.toString(); /* Info */ Info.months(); Info.weekdays('long'); +Info.features().intl; +Info.features().intlTokens; +Info.features().zones; /* Settings */ Settings.defaultLocale; From dad84e32719dd8c508e2674c8c6c9b19256da30f Mon Sep 17 00:00:00 2001 From: Chris Barth Date: Fri, 9 Feb 2018 10:13:33 -0500 Subject: [PATCH 303/463] Fix type for passport-http passReqToCallback --- types/passport-http/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/passport-http/index.d.ts b/types/passport-http/index.d.ts index 458e5f2076..8d941f3bc8 100644 --- a/types/passport-http/index.d.ts +++ b/types/passport-http/index.d.ts @@ -10,7 +10,7 @@ import express = require("express"); export interface BasicStrategyOptions { realm?: string; - passReqToCallback?: req; + passReqToCallback?: boolean; } export interface DigestStrategyOptions { From 75d6eb9895e94c56fe6312f30d00a3912143839f Mon Sep 17 00:00:00 2001 From: Victor Moukhortov Date: Fri, 9 Feb 2018 10:16:30 -0500 Subject: [PATCH 304/463] Update stompjs types Fix to correctly reflect actual library. --- types/stompjs/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/stompjs/index.d.ts b/types/stompjs/index.d.ts index 008b99b511..d1c6696e56 100644 --- a/types/stompjs/index.d.ts +++ b/types/stompjs/index.d.ts @@ -26,7 +26,7 @@ export class Client { debug(...args: string[]): any; - connect(headers: { login: string, passcode: string, host?: string }, connectCallback: (frame?: Frame) => any, errorCallback?: (error: string) => any): any; + connect(headers: { login?: string, passcode?: string, host?: string }, connectCallback: (frame?: Frame) => any, errorCallback?: (error: string) => any): any; connect(login: string, passcode: string, connectCallback: (frame?: Frame) => any, errorCallback?: (error: string) => any, host?: string): any; disconnect(disconnectCallback: () => any, headers?: {}): any; @@ -56,8 +56,8 @@ export class Frame { toString(): string; sizeOfUTF8(s: string): number; - unmarshall(datas: any): any; - marshall(command: string, headers?: {}, body?: string): any; + static unmarshall(datas: any): any; + static marshall(command: string, headers?: {}, body?: string): any; } export function client(url: string, protocols?: string | Array): Client; From 84b40e9b51dc4303298760e5b6a1af424e953215 Mon Sep 17 00:00:00 2001 From: Chris Barth Date: Fri, 9 Feb 2018 10:35:12 -0500 Subject: [PATCH 305/463] Cleanup tests --- types/passport-http/index.d.ts | 1 + types/passport-http/passport-http-tests.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/types/passport-http/index.d.ts b/types/passport-http/index.d.ts index 8d941f3bc8..5689ae195b 100644 --- a/types/passport-http/index.d.ts +++ b/types/passport-http/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/jaredhanson/passport-http // Definitions by: Christophe Vidal // Tomek Łaziuk +// Chris Barth // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 diff --git a/types/passport-http/passport-http-tests.ts b/types/passport-http/passport-http-tests.ts index 396138b466..ee728b2d47 100644 --- a/types/passport-http/passport-http-tests.ts +++ b/types/passport-http/passport-http-tests.ts @@ -4,6 +4,7 @@ import passport = require("passport"); import http = require("passport-http"); +import express = require("express"); interface UserInterface { username: string; @@ -46,7 +47,7 @@ passport.use(new http.BasicStrategy((username, password, done) => { passport.use(new http.BasicStrategy({ realm: "User", passReqToCallback: true, -}, (req, username, password, done) => { +}, (req: express.Request, username: string, password: string, done: (error: any, user?: any) => void) => { // with req when needed })); From 9eb4235446bc483748f351f1af743eed494677fb Mon Sep 17 00:00:00 2001 From: Chris Barth Date: Fri, 9 Feb 2018 10:47:25 -0500 Subject: [PATCH 306/463] Fix typo --- types/passport-http/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/passport-http/index.d.ts b/types/passport-http/index.d.ts index 5689ae195b..fa3f968e7e 100644 --- a/types/passport-http/index.d.ts +++ b/types/passport-http/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/jaredhanson/passport-http // Definitions by: Christophe Vidal // Tomek Łaziuk -// Chris Barth +// Chris Barth // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 From 0f0c24c3dbf49471aecbcdfc520929d08c8a8ccc Mon Sep 17 00:00:00 2001 From: Victor Moukhortov Date: Fri, 9 Feb 2018 11:01:36 -0500 Subject: [PATCH 307/463] fix: stompjs tests --- types/stompjs/stompjs-tests.ts | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/types/stompjs/stompjs-tests.ts b/types/stompjs/stompjs-tests.ts index 15331fc81f..b9fb15cc7e 100644 --- a/types/stompjs/stompjs-tests.ts +++ b/types/stompjs/stompjs-tests.ts @@ -44,6 +44,11 @@ client.connect('user', 'pass', () => { }, (error) => { }, 'host'); client.connect('user', 'pass', (frame) => { }, (error) => { }); client.connect('user', 'pass', (frame) => { }, (error) => { }, 'host'); +client.connect({}, () => { }); +client.connect({}, () => { }, () => { }); +client.connect({}, () => { }, (error) => { }); +client.connect({}, (frame) => { }, (error) => { }); + client.disconnect(() => { }); client.disconnect(() => { }, {}); @@ -90,11 +95,11 @@ frame.toString(); frame.sizeOfUTF8('abc'); -frame.unmarshall(0); -frame.unmarshall('data'); -frame.unmarshall({}); -frame.unmarshall([{}, {}]); +Stomp.Frame.unmarshall(0); +Stomp.Frame.unmarshall('data'); +Stomp.Frame.unmarshall({}); +Stomp.Frame.unmarshall([{}, {}]); -frame.marshall('command'); -frame.marshall('command', {}); -frame.marshall('command', {}, 'body'); +Stomp.Frame.marshall('command'); +Stomp.Frame.marshall('command', {}); +Stomp.Frame.marshall('command', {}, 'body'); From bcc5bc34cb4d18fedb2e68ae3585c512b2fcffd6 Mon Sep 17 00:00:00 2001 From: Victor Moukhortov Date: Fri, 9 Feb 2018 11:05:39 -0500 Subject: [PATCH 308/463] fix: stompjs static Frame.sizeOfUTF8 --- types/stompjs/index.d.ts | 2 +- types/stompjs/stompjs-tests.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/stompjs/index.d.ts b/types/stompjs/index.d.ts index d1c6696e56..b1e48dab53 100644 --- a/types/stompjs/index.d.ts +++ b/types/stompjs/index.d.ts @@ -55,7 +55,7 @@ export class Frame { constructor(command: string, headers?: {}, body?: string); toString(): string; - sizeOfUTF8(s: string): number; + static sizeOfUTF8(s: string): number; static unmarshall(datas: any): any; static marshall(command: string, headers?: {}, body?: string): any; } diff --git a/types/stompjs/stompjs-tests.ts b/types/stompjs/stompjs-tests.ts index b9fb15cc7e..d745b09a4d 100644 --- a/types/stompjs/stompjs-tests.ts +++ b/types/stompjs/stompjs-tests.ts @@ -93,7 +93,7 @@ frame = new Stomp.Frame('command', {}, 'body'); frame.toString(); -frame.sizeOfUTF8('abc'); +Stomp.Frame.sizeOfUTF8('abc'); Stomp.Frame.unmarshall(0); Stomp.Frame.unmarshall('data'); From afc00789f83e1e4c327af8179048ac7a445bbc81 Mon Sep 17 00:00:00 2001 From: Klaus Meinhardt Date: Fri, 9 Feb 2018 18:22:54 +0100 Subject: [PATCH 309/463] fix CI? --- types/builtin-modules/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/types/builtin-modules/tsconfig.json b/types/builtin-modules/tsconfig.json index caf8ee2451..46a9992dab 100644 --- a/types/builtin-modules/tsconfig.json +++ b/types/builtin-modules/tsconfig.json @@ -19,6 +19,7 @@ }, "files": [ "index.d.ts", + "static.d.ts", "builtin-modules-tests.ts" ] } From 6596c616c8fb22bba0386f5d62a04165150caa9c Mon Sep 17 00:00:00 2001 From: Klaus Meinhardt Date: Fri, 9 Feb 2018 18:29:00 +0100 Subject: [PATCH 310/463] fix CI --- types/builtin-modules/static.d.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/types/builtin-modules/static.d.ts b/types/builtin-modules/static.d.ts index a800bfd4f2..1b9dbb78cd 100644 --- a/types/builtin-modules/static.d.ts +++ b/types/builtin-modules/static.d.ts @@ -1,7 +1,2 @@ -// Type definitions for builtin-modules 2.0 -// Project: https://github.com/sindresorhus/builtin-modules#readme -// Definitions by: Klaus Meinhardt -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - declare const builtinModules: ReadonlyArray; export = builtinModules; From be22b2cfceea0b2fb09fd9b840653a12f513a975 Mon Sep 17 00:00:00 2001 From: Tom Wanzek Date: Fri, 9 Feb 2018 12:55:11 -0500 Subject: [PATCH 311/463] style(d3-scale): drop Array in union type with ReadonlyArray --- types/d3-scale/index.d.ts | 24 ++++++++++++------------ types/d3-scale/v1/index.d.ts | 24 ++++++++++++------------ 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/types/d3-scale/index.d.ts b/types/d3-scale/index.d.ts index 203590ce7e..b3ca4114e2 100644 --- a/types/d3-scale/index.d.ts +++ b/types/d3-scale/index.d.ts @@ -87,7 +87,7 @@ export interface ScaleContinuousNumeric { * * @param range Array of range values. */ - range(range: Range[] | ReadonlyArray): this; + range(range: ReadonlyArray): this; /** * Sets the scale’s range to the specified array of values while also setting the scale’s interpolator to interpolateRound. @@ -756,7 +756,7 @@ export interface ScaleTime { * * @param range Array of range values. */ - range(range: Range[] | ReadonlyArray): this; + range(range: ReadonlyArray): this; /** * Sets the scale’s range to the specified array of values while also setting the scale’s interpolator to interpolateRound. @@ -1130,7 +1130,7 @@ export interface ScaleQuantize { * * @param range Array of range values. */ - range(range: Range[] | ReadonlyArray): this; + range(range: ReadonlyArray): this; /** * Returns approximately count representative values from the scale’s domain. @@ -1246,7 +1246,7 @@ export interface ScaleQuantile { * * @param range Array of range values. */ - range(range: Range[] | ReadonlyArray): this; + range(range: ReadonlyArray): this; /** * Returns the quantile thresholds. If the range contains n discrete values, the returned array will contain n - 1 thresholds. @@ -1320,7 +1320,7 @@ export interface ScaleThreshold { * * @param domain Array of domain values. */ - domain(domain: Domain[] | ReadonlyArray): this; + domain(domain: ReadonlyArray): this; /** * Returns the scale’s current range. @@ -1333,7 +1333,7 @@ export interface ScaleThreshold { * * @param range Array of range values. */ - range(range: Range[] | ReadonlyArray): this; + range(range: ReadonlyArray): this; /** * Returns an exact copy of this scale. Changes to this scale will not affect the returned scale, and vice versa. @@ -1398,7 +1398,7 @@ export interface ScaleOrdinal { * * @param domain Array of domain values. */ - domain(domain: Domain[] | ReadonlyArray): this; + domain(domain: ReadonlyArray): this; /** * Returns the scale's current range. @@ -1413,7 +1413,7 @@ export interface ScaleOrdinal { * * @param range Array of range values. */ - range(range: Range[] | ReadonlyArray): this; + range(range: ReadonlyArray): this; /** * Returns the current unknown value, which defaults to "implicit". @@ -1444,7 +1444,7 @@ export interface ScaleOrdinal { * * @parm range An optional array of range values to initialize the scale with. */ -export function scaleOrdinal(range?: Range[] | ReadonlyArray): ScaleOrdinal; +export function scaleOrdinal(range?: ReadonlyArray): ScaleOrdinal; /** * Constructs a new ordinal scale with an empty domain and the specified range. * If a range is not specified, it defaults to the empty array; an ordinal scale always returns undefined until a non-empty range is defined. @@ -1457,7 +1457,7 @@ export function scaleOrdinal(range?: Range[] | ReadonlyArray): Sca * * @parm range An optional array of range values to initialize the scale with. */ -export function scaleOrdinal(range?: Range[] | ReadonlyArray): ScaleOrdinal; +export function scaleOrdinal(range?: ReadonlyArray): ScaleOrdinal; /** * A special value for ordinal.unknown that enables implicit domain construction: unknown values are implicitly added to the domain. @@ -1496,7 +1496,7 @@ export interface ScaleBand { * * @param domain Array of domain values. */ - domain(domain: Domain[] | ReadonlyArray): this; + domain(domain: ReadonlyArray): this; /** * Returns the scale’s current range, which defaults to [0, 1]. @@ -1648,7 +1648,7 @@ export interface ScalePoint { * * @param domain Array of domain values. */ - domain(domain: Domain[] | ReadonlyArray): this; + domain(domain: ReadonlyArray): this; /** * Returns the scale’s current range, which defaults to [0, 1]. diff --git a/types/d3-scale/v1/index.d.ts b/types/d3-scale/v1/index.d.ts index 4831974f16..a9843d9547 100644 --- a/types/d3-scale/v1/index.d.ts +++ b/types/d3-scale/v1/index.d.ts @@ -87,7 +87,7 @@ export interface ScaleContinuousNumeric { * * @param range Array of range values. */ - range(range: Range[] | ReadonlyArray): this; + range(range: ReadonlyArray): this; /** * Sets the scale’s range to the specified array of values while also setting the scale’s interpolator to interpolateRound. @@ -756,7 +756,7 @@ export interface ScaleTime { * * @param range Array of range values. */ - range(range: Range[] | ReadonlyArray): this; + range(range: ReadonlyArray): this; /** * Sets the scale’s range to the specified array of values while also setting the scale’s interpolator to interpolateRound. @@ -1195,7 +1195,7 @@ export interface ScaleQuantize { * * @param range Array of range values. */ - range(range: Range[] | ReadonlyArray): this; + range(range: ReadonlyArray): this; /** * Returns approximately count representative values from the scale’s domain. @@ -1311,7 +1311,7 @@ export interface ScaleQuantile { * * @param range Array of range values. */ - range(range: Range[] | ReadonlyArray): this; + range(range: ReadonlyArray): this; /** * Returns the quantile thresholds. If the range contains n discrete values, the returned array will contain n - 1 thresholds. @@ -1385,7 +1385,7 @@ export interface ScaleThreshold { * * @param domain Array of domain values. */ - domain(domain: Domain[] | ReadonlyArray): this; + domain(domain: ReadonlyArray): this; /** * Returns the scale’s current range. @@ -1398,7 +1398,7 @@ export interface ScaleThreshold { * * @param range Array of range values. */ - range(range: Range[] | ReadonlyArray): this; + range(range: ReadonlyArray): this; /** * Returns an exact copy of this scale. Changes to this scale will not affect the returned scale, and vice versa. @@ -1463,7 +1463,7 @@ export interface ScaleOrdinal { * * @param domain Array of domain values. */ - domain(domain: Domain[] | ReadonlyArray): this; + domain(domain: ReadonlyArray): this; /** * Returns the scale's current range. @@ -1478,7 +1478,7 @@ export interface ScaleOrdinal { * * @param range Array of range values. */ - range(range: Range[] | ReadonlyArray): this; + range(range: ReadonlyArray): this; /** * Returns the current unknown value, which defaults to "implicit". @@ -1509,7 +1509,7 @@ export interface ScaleOrdinal { * * @parm range An optional array of range values to initialize the scale with. */ -export function scaleOrdinal(range?: Range[] | ReadonlyArray): ScaleOrdinal; +export function scaleOrdinal(range?: ReadonlyArray): ScaleOrdinal; /** * Constructs a new ordinal scale with an empty domain and the specified range. * If a range is not specified, it defaults to the empty array; an ordinal scale always returns undefined until a non-empty range is defined. @@ -1522,7 +1522,7 @@ export function scaleOrdinal(range?: Range[] | ReadonlyArray): Sca * * @parm range An optional array of range values to initialize the scale with. */ -export function scaleOrdinal(range?: Range[] | ReadonlyArray): ScaleOrdinal; +export function scaleOrdinal(range?: ReadonlyArray): ScaleOrdinal; /** * A special value for ordinal.unknown that enables implicit domain construction: unknown values are implicitly added to the domain. @@ -1561,7 +1561,7 @@ export interface ScaleBand { * * @param domain Array of domain values. */ - domain(domain: Domain[] | ReadonlyArray): this; + domain(domain: ReadonlyArray): this; /** * Returns the scale’s current range, which defaults to [0, 1]. @@ -1713,7 +1713,7 @@ export interface ScalePoint { * * @param domain Array of domain values. */ - domain(domain: Domain[] | ReadonlyArray): this; + domain(domain: ReadonlyArray): this; /** * Returns the scale’s current range, which defaults to [0, 1]. From 4a856368ece10e15654c8bcf2b839ba844d33f78 Mon Sep 17 00:00:00 2001 From: Jason Cheatham Date: Fri, 9 Feb 2018 13:11:52 -0500 Subject: [PATCH 312/463] Fix Loader type in webpack The sourcemap parameter passed to loaders, and that loaders pass to the callback, is a `RawSourceMap`, not a `string | Buffer`. --- types/webpack/index.d.ts | 6 ++++-- types/webpack/package.json | 6 ++++++ types/webpack/webpack-tests.ts | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 types/webpack/package.json diff --git a/types/webpack/index.d.ts b/types/webpack/index.d.ts index f8aa375210..e8b59f2994 100644 --- a/types/webpack/index.d.ts +++ b/types/webpack/index.d.ts @@ -9,12 +9,14 @@ // Ahmed T. Ali // Alan Agius // Spencer Elliott +// Jason Cheatham // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// import Tapable = require('tapable'); import * as UglifyJS from 'uglify-js'; +import { RawSourceMap } from 'source-map'; export = webpack; @@ -1020,7 +1022,7 @@ declare namespace webpack { namespace loader { interface Loader extends Function { - (this: LoaderContext, source: string | Buffer, sourceMap: string | Buffer): string | Buffer | void | undefined; + (this: LoaderContext, source: string | Buffer, sourceMap?: RawSourceMap): string | Buffer | void | undefined; /** * The order of chained loaders are always called from right to left. @@ -1040,7 +1042,7 @@ declare namespace webpack { raw?: boolean; } - type loaderCallback = (err: Error | undefined | null, content?: string | Buffer, sourceMap?: string | Buffer) => void; + type loaderCallback = (err: Error | undefined | null, content?: string | Buffer, sourceMap?: RawSourceMap) => void; interface LoaderContext { /** diff --git a/types/webpack/package.json b/types/webpack/package.json new file mode 100644 index 0000000000..96c1491edd --- /dev/null +++ b/types/webpack/package.json @@ -0,0 +1,6 @@ +{ + "private": true, + "dependencies": { + "source-map": "^0.7.0" + } +} diff --git a/types/webpack/webpack-tests.ts b/types/webpack/webpack-tests.ts index d74960e4db..6bf8fb443b 100644 --- a/types/webpack/webpack-tests.ts +++ b/types/webpack/webpack-tests.ts @@ -637,7 +637,7 @@ configuration = { performance, }; -function loader(this: webpack.loader.LoaderContext, source: string | Buffer, sourcemap: string | Buffer): void { +function loader(this: webpack.loader.LoaderContext, source: string | Buffer, sourcemap?: object): void { this.cacheable(); this.async(); From 94abbb8f332a07ba34b1a3161b705accb6190079 Mon Sep 17 00:00:00 2001 From: Jordan Date: Fri, 9 Feb 2018 11:08:00 -0800 Subject: [PATCH 313/463] fix(GraphQL): update parseType signature --- types/graphql/language/parser.d.ts | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/types/graphql/language/parser.d.ts b/types/graphql/language/parser.d.ts index a0b8a0c7a4..bdfc508957 100644 --- a/types/graphql/language/parser.d.ts +++ b/types/graphql/language/parser.d.ts @@ -35,15 +35,22 @@ export function parseValue( options?: ParseOptions, ): ValueNode; -export function parseConstValue(lexer: Lexer): ValueNode; - /** - * Type : - * - NamedType - * - ListType - * - NonNullType + * Given a string containing a GraphQL Type (ex. `[Int!]`), parse the AST for + * that type. + * Throws GraphQLError if a syntax error is encountered. + * + * This is useful within tools that operate upon GraphQL Types directly and + * in isolation of complete GraphQL documents. + * + * Consider providing the results to the utility function: typeFromAST(). */ -export function parseType(lexer: Lexer): TypeNode; +export function parseType( + source: Source | string, + options?: ParseOptions, +): TypeNode; + +export function parseConstValue(lexer: Lexer): ValueNode; /** * Type : From 9288744583488dd9cf84b34d91487e5cdbd3b19c Mon Sep 17 00:00:00 2001 From: David Paz Date: Fri, 9 Feb 2018 21:20:38 +0100 Subject: [PATCH 314/463] Fix configuration files --- types/chessboardjs/tsconfig.json | 4 +- types/chessboardjs/tslint.json | 78 +------------------------------- 2 files changed, 3 insertions(+), 79 deletions(-) diff --git a/types/chessboardjs/tsconfig.json b/types/chessboardjs/tsconfig.json index 30bcf0849a..bc6246b6e9 100644 --- a/types/chessboardjs/tsconfig.json +++ b/types/chessboardjs/tsconfig.json @@ -7,7 +7,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ @@ -22,4 +22,4 @@ "index.d.ts", "chessboardjs-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/chessboardjs/tslint.json b/types/chessboardjs/tslint.json index a41bf5d19a..f93cf8562a 100644 --- a/types/chessboardjs/tslint.json +++ b/types/chessboardjs/tslint.json @@ -1,79 +1,3 @@ { - "extends": "dtslint/dt.json", - "rules": { - "adjacent-overload-signatures": false, - "array-type": false, - "arrow-return-shorthand": false, - "ban-types": false, - "callable-types": false, - "comment-format": false, - "dt-header": false, - "eofline": false, - "export-just-namespace": false, - "import-spacing": false, - "interface-name": false, - "interface-over-type-literal": false, - "jsdoc-format": false, - "max-line-length": false, - "member-access": false, - "new-parens": false, - "no-any-union": false, - "no-boolean-literal-compare": false, - "no-conditional-assignment": false, - "no-consecutive-blank-lines": false, - "no-construct": false, - "no-declare-current-package": false, - "no-duplicate-imports": false, - "no-duplicate-variable": false, - "no-empty-interface": false, - "no-for-in-array": false, - "no-inferrable-types": false, - "no-internal-module": false, - "no-irregular-whitespace": false, - "no-mergeable-namespace": false, - "no-misused-new": false, - "no-namespace": false, - "no-object-literal-type-assertion": false, - "no-padding": false, - "no-redundant-jsdoc": false, - "no-redundant-jsdoc-2": false, - "no-redundant-undefined": false, - "no-reference-import": false, - "no-relative-import-in-test": false, - "no-self-import": false, - "no-single-declare-module": false, - "no-string-throw": false, - "no-unnecessary-callback-wrapper": false, - "no-unnecessary-class": false, - "no-unnecessary-generics": false, - "no-unnecessary-qualifier": false, - "no-unnecessary-type-assertion": false, - "no-useless-files": false, - "no-var-keyword": false, - "no-var-requires": false, - "no-void-expression": false, - "no-trailing-whitespace": false, - "object-literal-key-quotes": false, - "object-literal-shorthand": false, - "one-line": false, - "one-variable-per-declaration": false, - "only-arrow-functions": false, - "prefer-conditional-expression": false, - "prefer-const": false, - "prefer-declare-function": false, - "prefer-for-of": false, - "prefer-method-signature": false, - "prefer-template": false, - "radix": false, - "semicolon": false, - "space-before-function-paren": false, - "space-within-parens": false, - "strict-export-declare-modifiers": false, - "trim-file": false, - "triple-equals": false, - "typedef-whitespace": false, - "unified-signatures": false, - "void-return": false, - "whitespace": false - } + "extends": "dtslint/dt.json" } From 352d74076ae4b1b93bd6320244790763d4efd16d Mon Sep 17 00:00:00 2001 From: Victor Moukhortov Date: Fri, 9 Feb 2018 15:39:49 -0500 Subject: [PATCH 315/463] fix: provide extra signature to connect --- types/stompjs/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/stompjs/index.d.ts b/types/stompjs/index.d.ts index b1e48dab53..852119d814 100644 --- a/types/stompjs/index.d.ts +++ b/types/stompjs/index.d.ts @@ -26,7 +26,8 @@ export class Client { debug(...args: string[]): any; - connect(headers: { login?: string, passcode?: string, host?: string }, connectCallback: (frame?: Frame) => any, errorCallback?: (error: string) => any): any; + connect(headers: { login: string, passcode: string, host?: string }, connectCallback: (frame?: Frame) => any, errorCallback?: (error: string) => any): any; + connect(headers: { }, connectCallback: (frame?: Frame) => any, errorCallback?: (error: string) => any): any; connect(login: string, passcode: string, connectCallback: (frame?: Frame) => any, errorCallback?: (error: string) => any, host?: string): any; disconnect(disconnectCallback: () => any, headers?: {}): any; From 90cc97cd3d6587d24ba9b68dd944b47ff4ea952f Mon Sep 17 00:00:00 2001 From: David Paz Date: Fri, 9 Feb 2018 21:55:09 +0100 Subject: [PATCH 316/463] Fix errors in source code --- types/chessboardjs/chessboardjs-tests.ts | 34 ++--- types/chessboardjs/index.d.ts | 153 +++++++++++------------ 2 files changed, 90 insertions(+), 97 deletions(-) diff --git a/types/chessboardjs/chessboardjs-tests.ts b/types/chessboardjs/chessboardjs-tests.ts index b2750b0473..37c797037c 100644 --- a/types/chessboardjs/chessboardjs-tests.ts +++ b/types/chessboardjs/chessboardjs-tests.ts @@ -5,36 +5,36 @@ import chessboardjs = require('chessboardjs'); */ // empty position -var board = chessboardjs.ChessBoard('board'); +let board = chessboardjs.ChessBoard('board'); // Start position -var board = chessboardjs.ChessBoard('board', 'start'); +board = chessboardjs.ChessBoard('board', 'start'); // FEN string -var ruyLopez = 'r1bqkbnr/pppp1ppp/2n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R'; -var board = chessboardjs.ChessBoard('board', ruyLopez); +const ruyLopez = 'r1bqkbnr/pppp1ppp/2n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R'; +board = chessboardjs.ChessBoard('board', ruyLopez); // Position Object -var position: chessboardjs.BoardPositionType = { +let position: chessboardjs.BoardPositionType = { d6: chessboardjs.Piece.bK, d4: chessboardjs.Piece.wP, e4: chessboardjs.Piece.wK }; -var board = chessboardjs.ChessBoard('board', position); +board = chessboardjs.ChessBoard('board', position); // Multiple boards -var config1: chessboardjs.BoardConfig = { +const config1: chessboardjs.BoardConfig = { position: 'start', showNotation: false }; -var board1 = chessboardjs.ChessBoard('board1', config1); +const board1 = chessboardjs.ChessBoard('board1', config1); -var board2 = chessboardjs.ChessBoard('board2', { +const board2 = chessboardjs.ChessBoard('board2', { position: 'r1bqkbnr/pppp1ppp/2n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R', showNotation: false }); -var board3 = chessboardjs.ChessBoard('board3', { +const board3 = chessboardjs.ChessBoard('board3', { position: 'r1k4r/p2nb1p1/2b4p/1p1n1p2/2PP4/3Q1NB1/1P3PPP/R5K1', showNotation: false }); @@ -44,14 +44,14 @@ var board3 = chessboardjs.ChessBoard('board3', { */ // Get Position -var cfg: chessboardjs.BoardConfig = { +const cfg: chessboardjs.BoardConfig = { draggable: true, position: 'start' }; -var board = chessboardjs.ChessBoard('board', cfg); -var pos: chessboardjs.BoardPositionType = board.position(); +board = chessboardjs.ChessBoard('board', cfg); +const pos: chessboardjs.BoardPositionType = board.position(); -var posFEN: string = board.position('fen'); +const posFEN: string = board.position('fen'); // Set position @@ -64,7 +64,7 @@ board.position(ruyLopez, true); // instantly board.position(ruyLopez, false); -var position: chessboardjs.BoardPositionType = { +position = { a4: chessboardjs.Piece.bK, c4: chessboardjs.Piece.wK, a7: chessboardjs.Piece.wR @@ -79,7 +79,7 @@ board.start(); board.move('e2-e4'); // Orientation -var oritentation = board.orientation(); +const oritentation = board.orientation(); // change orientation board.orientation('black'); @@ -89,4 +89,4 @@ board.orientation('black'); board.resize(); // Destroy -board.destroy(); \ No newline at end of file +board.destroy(); diff --git a/types/chessboardjs/index.d.ts b/types/chessboardjs/index.d.ts index 4f63d6f471..f6228f748e 100644 --- a/types/chessboardjs/index.d.ts +++ b/types/chessboardjs/index.d.ts @@ -5,85 +5,78 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.4 -declare namespace chessboardjs { - - enum Square { - a8 = 'a8', b8 = 'b8', c8 = 'c8', d8 = 'd8', e8 = 'e8', f8 = 'f8', g8 = 'g7', h8 = 'h8', - a7 = 'a7', b7 = 'b7', c7 = 'c7', d7 = 'd7', e7 = 'e7', f7 = 'f7', g7 = 'g7', h7 = 'h7', - a6 = 'a6', b6 = 'b6', c6 = 'c6', d6 = 'd6', e6 = 'e6', f6 = 'f6', g6 = 'g7', h6 = 'h6', - a5 = 'a5', b5 = 'b5', c5 = 'c5', d5 = 'd5', e5 = 'e5', f5 = 'f5', g5 = 'g7', h5 = 'h5', - a4 = 'a4', b4 = 'b4', c4 = 'c4', d4 = 'd4', e4 = 'e4', f4 = 'f4', g4 = 'g7', h4 = 'h4', - a3 = 'a3', b3 = 'b3', c3 = 'c3', d3 = 'd3', e3 = 'e3', f3 = 'f3', g3 = 'g7', h3 = 'h3', - a2 = 'a2', b2 = 'b2', c2 = 'c2', d2 = 'd2', e2 = 'e2', f2 = 'f2', g2 = 'g7', h2 = 'h2', - a1 = 'a1', b1 = 'b1', c1 = 'c1', d1 = 'd1', e1 = 'e1', f1 = 'f1', g1 = 'g7', h1 = 'h1', - } - - enum Piece { - bK = 'bK', bQ = 'bQ', bR = 'bR', bN = 'bN', bB = 'bB', bP = 'bP', - wK = 'wK', wQ = 'wQ', wR = 'wR', wN = 'wN', wB = 'wB', wP = 'wP' - } - - type BoardPositionType = { - [P in Square]?: Piece; - } - - type PositionType = 'start' | string | BoardPositionType; - type PositionFenType = 'fen'; - type SpeedType = 'slow' | 'fast'; - type OrientationFlipType = 'flip'; - type OrientationType = 'white' | 'black'; - type DropOffBoardType = 'snapback' | 'trash'; - - export interface BoardConfig { - onDrop?: Function; - draggable?: boolean; - onChange?: Function; - onMoveEnd?: Function; - onSnapEnd?: Function; - sparePieces?: boolean; - onDragMove?: Function; - showNotation?: boolean; - onDragStart?: Function; - onSnapbackEnd?: Function; - onMouseoutSquare?: Function; - onMouseoverSquare?: Function; - pieceTheme?: string | Function; - orientation?: OrientationType; - showErrors?: boolean | string | Function; - moveSpeed?: number | SpeedType; - snapSpeed?: number | SpeedType; - trashSpeed?: number | SpeedType; - dropOffBoard?: DropOffBoardType; - appearSpeed?: number | SpeedType; - snapbackSpeed?: number | SpeedType; - position?: PositionType; - } - - interface ChessBoardInstance { - clear(useAnimation?: boolean): void; - destroy(): void; - fen(): string; - flip(): void; - move(...args: string[]): BoardPositionType; - position(): BoardPositionType; - position(fen: PositionFenType): string; - position(newPosition: PositionType, useAnimation?: boolean): void - orientation(side?: OrientationType | OrientationFlipType): string; - resize(): void; - start(useAnimation?: boolean): void; - } - - interface ChessBoardFactory { - (containerElOrId: any, config?: BoardConfig): ChessBoardInstance - (containerElOrId: any, position: string): ChessBoardInstance - (containerElOrId: any, position: BoardPositionType): ChessBoardInstance - (containerElOrId: any): ChessBoardInstance - fenToObj(fen: string): boolean | BoardPositionType; - objToFen(obj: BoardPositionType): boolean | string; - } - - export var ChessBoard: ChessBoardFactory; +export enum Square { + a8 = 'a8', b8 = 'b8', c8 = 'c8', d8 = 'd8', e8 = 'e8', f8 = 'f8', g8 = 'g7', h8 = 'h8', + a7 = 'a7', b7 = 'b7', c7 = 'c7', d7 = 'd7', e7 = 'e7', f7 = 'f7', g7 = 'g7', h7 = 'h7', + a6 = 'a6', b6 = 'b6', c6 = 'c6', d6 = 'd6', e6 = 'e6', f6 = 'f6', g6 = 'g7', h6 = 'h6', + a5 = 'a5', b5 = 'b5', c5 = 'c5', d5 = 'd5', e5 = 'e5', f5 = 'f5', g5 = 'g7', h5 = 'h5', + a4 = 'a4', b4 = 'b4', c4 = 'c4', d4 = 'd4', e4 = 'e4', f4 = 'f4', g4 = 'g7', h4 = 'h4', + a3 = 'a3', b3 = 'b3', c3 = 'c3', d3 = 'd3', e3 = 'e3', f3 = 'f3', g3 = 'g7', h3 = 'h3', + a2 = 'a2', b2 = 'b2', c2 = 'c2', d2 = 'd2', e2 = 'e2', f2 = 'f2', g2 = 'g7', h2 = 'h2', + a1 = 'a1', b1 = 'b1', c1 = 'c1', d1 = 'd1', e1 = 'e1', f1 = 'f1', g1 = 'g7', h1 = 'h1', } -export = chessboardjs; -export as namespace chessboardjs; +export enum Piece { + bK = 'bK', bQ = 'bQ', bR = 'bR', bN = 'bN', bB = 'bB', bP = 'bP', + wK = 'wK', wQ = 'wQ', wR = 'wR', wN = 'wN', wB = 'wB', wP = 'wP' +} + +export type BoardPositionType = { + [P in Square]?: Piece; +}; + +export type PositionType = 'start' | string | BoardPositionType; +export type PositionFenType = 'fen'; +export type SpeedType = 'slow' | 'fast'; +export type OrientationFlipType = 'flip'; +export type OrientationType = 'white' | 'black'; +export type DropOffBoardType = 'snapback' | 'trash'; +export type Callback = () => void; + +export interface BoardConfig { + onDrop?: Callback; + draggable?: boolean; + onChange?: Callback; + onMoveEnd?: Callback; + onSnapEnd?: Callback; + sparePieces?: boolean; + onDragMove?: Callback; + showNotation?: boolean; + onDragStart?: Callback; + onSnapbackEnd?: Callback; + onMouseoutSquare?: Callback; + onMouseoverSquare?: Callback; + pieceTheme?: string | Callback; + orientation?: OrientationType; + showErrors?: boolean | string | Callback; + moveSpeed?: number | SpeedType; + snapSpeed?: number | SpeedType; + trashSpeed?: number | SpeedType; + dropOffBoard?: DropOffBoardType; + appearSpeed?: number | SpeedType; + snapbackSpeed?: number | SpeedType; + position?: PositionType; +} + +export interface ChessBoardInstance { + clear(useAnimation?: boolean): void; + destroy(): void; + fen(): string; + flip(): void; + move(...args: string[]): BoardPositionType; + position(): BoardPositionType; + position(fen: PositionFenType): string; + position(newPosition: PositionType, useAnimation?: boolean): void; + orientation(side?: OrientationType | OrientationFlipType): string; + resize(): void; + start(useAnimation?: boolean): void; +} + +export interface ChessBoardFactory { + (containerElOrId: any, config?: BoardConfig): ChessBoardInstance; + (containerElOrId: any, position: string | BoardPositionType): ChessBoardInstance; + fenToObj(fen: string): boolean | BoardPositionType; + objToFen(obj: BoardPositionType): boolean | string; +} + +export const ChessBoard: ChessBoardFactory; From b38c81550b104cea4c0d5af558cf16e06f66ae96 Mon Sep 17 00:00:00 2001 From: David Paz Date: Fri, 9 Feb 2018 21:57:42 +0100 Subject: [PATCH 317/463] Fix errors in configuration --- types/jquery.stickem/tsconfig.json | 2 +- types/jquery.stickem/tslint.json | 78 +----------------------------- 2 files changed, 2 insertions(+), 78 deletions(-) diff --git a/types/jquery.stickem/tsconfig.json b/types/jquery.stickem/tsconfig.json index 7e87cb9015..120d2c1526 100644 --- a/types/jquery.stickem/tsconfig.json +++ b/types/jquery.stickem/tsconfig.json @@ -7,7 +7,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ diff --git a/types/jquery.stickem/tslint.json b/types/jquery.stickem/tslint.json index a41bf5d19a..f93cf8562a 100644 --- a/types/jquery.stickem/tslint.json +++ b/types/jquery.stickem/tslint.json @@ -1,79 +1,3 @@ { - "extends": "dtslint/dt.json", - "rules": { - "adjacent-overload-signatures": false, - "array-type": false, - "arrow-return-shorthand": false, - "ban-types": false, - "callable-types": false, - "comment-format": false, - "dt-header": false, - "eofline": false, - "export-just-namespace": false, - "import-spacing": false, - "interface-name": false, - "interface-over-type-literal": false, - "jsdoc-format": false, - "max-line-length": false, - "member-access": false, - "new-parens": false, - "no-any-union": false, - "no-boolean-literal-compare": false, - "no-conditional-assignment": false, - "no-consecutive-blank-lines": false, - "no-construct": false, - "no-declare-current-package": false, - "no-duplicate-imports": false, - "no-duplicate-variable": false, - "no-empty-interface": false, - "no-for-in-array": false, - "no-inferrable-types": false, - "no-internal-module": false, - "no-irregular-whitespace": false, - "no-mergeable-namespace": false, - "no-misused-new": false, - "no-namespace": false, - "no-object-literal-type-assertion": false, - "no-padding": false, - "no-redundant-jsdoc": false, - "no-redundant-jsdoc-2": false, - "no-redundant-undefined": false, - "no-reference-import": false, - "no-relative-import-in-test": false, - "no-self-import": false, - "no-single-declare-module": false, - "no-string-throw": false, - "no-unnecessary-callback-wrapper": false, - "no-unnecessary-class": false, - "no-unnecessary-generics": false, - "no-unnecessary-qualifier": false, - "no-unnecessary-type-assertion": false, - "no-useless-files": false, - "no-var-keyword": false, - "no-var-requires": false, - "no-void-expression": false, - "no-trailing-whitespace": false, - "object-literal-key-quotes": false, - "object-literal-shorthand": false, - "one-line": false, - "one-variable-per-declaration": false, - "only-arrow-functions": false, - "prefer-conditional-expression": false, - "prefer-const": false, - "prefer-declare-function": false, - "prefer-for-of": false, - "prefer-method-signature": false, - "prefer-template": false, - "radix": false, - "semicolon": false, - "space-before-function-paren": false, - "space-within-parens": false, - "strict-export-declare-modifiers": false, - "trim-file": false, - "triple-equals": false, - "typedef-whitespace": false, - "unified-signatures": false, - "void-return": false, - "whitespace": false - } + "extends": "dtslint/dt.json" } From 53db5de738330b2bbea30d0f5fac1fd88a786afa Mon Sep 17 00:00:00 2001 From: David Paz Date: Fri, 9 Feb 2018 22:05:00 +0100 Subject: [PATCH 318/463] Fix errors in source code for stcikem --- types/jquery.stickem/index.d.ts | 4 ++-- types/jquery.stickem/jquery.stickem-tests.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/types/jquery.stickem/index.d.ts b/types/jquery.stickem/index.d.ts index 6b223805ec..50e759635e 100644 --- a/types/jquery.stickem/index.d.ts +++ b/types/jquery.stickem/index.d.ts @@ -40,12 +40,12 @@ interface StickemSettings { /** * Callback to execute when in stick state */ - onStick?: Function, + onStick?: () => void; /** * Callback to execute when getting out of stick state */ - onUnstick?: Function + onUnstick?: () => void; } interface JQuery { diff --git a/types/jquery.stickem/jquery.stickem-tests.ts b/types/jquery.stickem/jquery.stickem-tests.ts index 37fb586280..572bdf7773 100644 --- a/types/jquery.stickem/jquery.stickem-tests.ts +++ b/types/jquery.stickem/jquery.stickem-tests.ts @@ -16,4 +16,4 @@ jQuery('div').stickem({ container: '.stickem-container', stickClass: 'stickit', endStickClass: 'stickit-end' -}); \ No newline at end of file +}); From 8f12632c467d4166384164985d637fe252e42c15 Mon Sep 17 00:00:00 2001 From: Clark Stevenson Date: Fri, 9 Feb 2018 22:09:55 +0000 Subject: [PATCH 319/463] Minor updates to pixi.js --- types/pixi.js/index.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/types/pixi.js/index.d.ts b/types/pixi.js/index.d.ts index 6d7dfaf351..f75bb4a1ca 100644 --- a/types/pixi.js/index.d.ts +++ b/types/pixi.js/index.d.ts @@ -329,7 +329,7 @@ declare namespace PIXI { renderable: boolean; parent: Container; worldAlpha: number; - filterArea: Rectangle; + filterArea: Rectangle | null; protected _filters: Array> | null; protected _enabledFilters: Array> | null; protected _bounds: Bounds; @@ -337,7 +337,7 @@ declare namespace PIXI { protected _lastBoundsID: number; protected _boundsRect: Rectangle; protected _localBoundsRect: Rectangle; - protected _mask: PIXI.Graphics | PIXI.Sprite; + protected _mask: PIXI.Graphics | PIXI.Sprite | null; protected readonly _destroyed: boolean; x: number; y: number; @@ -349,7 +349,7 @@ declare namespace PIXI { skew: ObservablePoint; rotation: number; worldVisible: boolean; - mask: PIXI.Graphics | PIXI.Sprite; + mask: PIXI.Graphics | PIXI.Sprite | null; filters: Array> | null; updateTransform(): void; @@ -509,8 +509,8 @@ declare namespace PIXI { updateLocalBounds(): void; drawShape(shape: Circle | Rectangle | Ellipse | Polygon | RoundedRectangle | any): GraphicsData; generateCanvasTexture(scaleMode?: number, resolution?: number): Texture; - protected closePath(): Graphics; - protected addHole(): Graphics; + closePath(): Graphics; + addHole(): Graphics; destroy(options?: DestroyOptions | boolean): void; } class CanvasGraphicsRenderer { From dcdf2d7eeee474720d68a7c33e25827f1ebc44f7 Mon Sep 17 00:00:00 2001 From: Andrew Crites Date: Fri, 9 Feb 2018 17:45:58 -0500 Subject: [PATCH 320/463] fix(vanilla-tilt): adding glare options --- types/vanilla-tilt/index.d.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/types/vanilla-tilt/index.d.ts b/types/vanilla-tilt/index.d.ts index e24208f563..04fb2459d5 100644 --- a/types/vanilla-tilt/index.d.ts +++ b/types/vanilla-tilt/index.d.ts @@ -47,6 +47,19 @@ export namespace VanillaTilt { * Easing on enter/exit. */ easing?: string; + /** + * if it should have a "glare" effect + */ + glare?: boolean; + /** + * the maximum "glare" opacity + */ + "max-glare"?: number; + /** + * false = VanillaTilt creates the glare elements for you, otherwise + * you need to add .js-tilt-glare>.js-tilt-glare-inner by yourself + */ + "glare-prerender"?: boolean; } interface TiltValues { From c2350767ff22b99124e91ca71dde35f6ce3cbedb Mon Sep 17 00:00:00 2001 From: Andrew Crites Date: Fri, 9 Feb 2018 17:50:46 -0500 Subject: [PATCH 321/463] fix(vanilla-tilt): adding new types for tests --- types/vanilla-tilt/vanilla-tilt-tests.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/types/vanilla-tilt/vanilla-tilt-tests.ts b/types/vanilla-tilt/vanilla-tilt-tests.ts index c40bd56f75..52520dcfcc 100644 --- a/types/vanilla-tilt/vanilla-tilt-tests.ts +++ b/types/vanilla-tilt/vanilla-tilt-tests.ts @@ -8,7 +8,10 @@ const element: VanillaTilt = new VanillaTilt(document.createElement('a'), { reset: true, reverse: true, scale: 2, - speed: 200 + speed: 200, + glare: true, + "max-glare": 1, + "glare-prerender": true, }); VanillaTilt.init(document.createElement('a'), { From 6d15de32c3eb29eacc27ae4babc512124f1cab8e Mon Sep 17 00:00:00 2001 From: Andrew Crites Date: Fri, 9 Feb 2018 17:53:36 -0500 Subject: [PATCH 322/463] fix(vanilla-tilt): bumping version --- types/vanilla-tilt/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/vanilla-tilt/index.d.ts b/types/vanilla-tilt/index.d.ts index 04fb2459d5..5f4c80a783 100644 --- a/types/vanilla-tilt/index.d.ts +++ b/types/vanilla-tilt/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for vanilla-tilt 1.3 +// Type definitions for vanilla-tilt 1.4 // Project: https://github.com/micku7zu/vanilla-tilt.js // Definitions by: Livio Brunner // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From cac8ed01e6b1d83cb2d303227fed4d31763eb441 Mon Sep 17 00:00:00 2001 From: Justin Simms Date: Fri, 9 Feb 2018 17:51:52 -0600 Subject: [PATCH 323/463] Fix for the plugin array type. --- types/hapi/definitions/server/server-register.d.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/types/hapi/definitions/server/server-register.d.ts b/types/hapi/definitions/server/server-register.d.ts index 7e7680edfb..313a3c164e 100644 --- a/types/hapi/definitions/server/server-register.d.ts +++ b/types/hapi/definitions/server/server-register.d.ts @@ -51,7 +51,7 @@ export interface ServerRegisterPluginObject extends ServerRegisterOptions { options?: T; } -export interface ServerRegisterPluginObjectArray extends Array | undefined> { +export interface ServerRegisterPluginObjectArray extends Array | ServerRegisterPluginObject | ServerRegisterPluginObject | ServerRegisterPluginObject | ServerRegisterPluginObject | ServerRegisterPluginObject | ServerRegisterPluginObject | undefined> { 0: ServerRegisterPluginObject; 1?: ServerRegisterPluginObject; 2?: ServerRegisterPluginObject; @@ -60,6 +60,3 @@ export interface ServerRegisterPluginObjectArray extends Ar 5?: ServerRegisterPluginObject; 6?: ServerRegisterPluginObject; } - - - From 4a944979e2954cafb902241b40b50973a5e91333 Mon Sep 17 00:00:00 2001 From: Klaus Meinhardt Date: Sat, 10 Feb 2018 02:10:11 +0100 Subject: [PATCH 324/463] update header --- types/builtin-modules/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/builtin-modules/index.d.ts b/types/builtin-modules/index.d.ts index c65d38d1be..a800bfd4f2 100644 --- a/types/builtin-modules/index.d.ts +++ b/types/builtin-modules/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for builtin-modules 2.0 // Project: https://github.com/sindresorhus/builtin-modules#readme -// Definitions by: My Self +// Definitions by: Klaus Meinhardt // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare const builtinModules: ReadonlyArray; From 2099e9275809bd788afd8fa6e3d5ab48a60e3709 Mon Sep 17 00:00:00 2001 From: lautarodragan Date: Sat, 10 Feb 2018 04:39:52 -0300 Subject: [PATCH 325/463] bitcore-lib --- types/bitcore-lib/bitcore-lib-tests.ts | 27 +++++ types/bitcore-lib/index.d.ts | 142 +++++++++++++++++++++++++ types/bitcore-lib/tsconfig.json | 22 ++++ types/bitcore-lib/tslint.json | 4 + 4 files changed, 195 insertions(+) create mode 100644 types/bitcore-lib/bitcore-lib-tests.ts create mode 100644 types/bitcore-lib/index.d.ts create mode 100644 types/bitcore-lib/tsconfig.json create mode 100644 types/bitcore-lib/tslint.json diff --git a/types/bitcore-lib/bitcore-lib-tests.ts b/types/bitcore-lib/bitcore-lib-tests.ts new file mode 100644 index 0000000000..a277700d84 --- /dev/null +++ b/types/bitcore-lib/bitcore-lib-tests.ts @@ -0,0 +1,27 @@ +import * as bitcore from 'bitcore-lib'; + +const transaction = new bitcore.Transaction({}); + +const output: bitcore.Output = transaction.outputs[0]; + +const privateKey: bitcore.PrivateKey = new bitcore.PrivateKey('privateKey'); +const publicKey: bitcore.PublicKey = privateKey.publicKey; +const publicKeyAsString: string = publicKey.toString(); + +const signature = bitcore.crypto.ECDSA.sign(Buffer.from('sign this message', 'hex'), bitcore.PrivateKey('privateKey')); + +bitcore.crypto.ECDSA.verify( + Buffer.from('buffer', 'hex'), + bitcore.crypto.Signature.fromString('signature'), + new bitcore.PublicKey('publicKey') +); + +const utxo: bitcore.Transaction.UnspentOutput[] = [new bitcore.Transaction.UnspentOutput({})]; + +new bitcore.Block(Buffer.from('123', 'hex')); + +const tx = new bitcore.Transaction() + .from(utxo) + .change('bitcoinAddress') + .addData(Buffer.from('')) + .sign('bitcoinAddressPrivateKey'); diff --git a/types/bitcore-lib/index.d.ts b/types/bitcore-lib/index.d.ts new file mode 100644 index 0000000000..e0c86e53f2 --- /dev/null +++ b/types/bitcore-lib/index.d.ts @@ -0,0 +1,142 @@ +// Type definitions for bitcore-lib 0.15.0 +// Project: https://github.com/bitpay/bitcore-lib +// Definitions by: Lautaro Dragan +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// + +declare namespace bitcoreLib { + export const Block: Block + export const util: Util + export const Script: Script + export const PrivateKey: PrivateKey + + export namespace crypto { + class BN { } + namespace ECDSA { + function sign(message: Buffer, key: PrivateKey): Signature + function verify(hashbuf: Buffer, sig: Signature, pubkey: PublicKey, endian?: 'little'): boolean + } + export namespace Hash { + function sha256(buffer: Buffer): Uint8Array + } + export const Random: RandomInterface + export const Point: PointInterface + + class Signature { + static fromDER(sig: Buffer): Signature + static fromString(data: string): Signature + SIGHASH_ALL: number + toString(): string + } + } + + class Transaction { + inputs: Input[] + outputs: Output[] + readonly id: string + readonly hash: string + nid: string + + constructor(serialized?: any) + + from(utxos: Transaction.UnspentOutput[]): Transaction + to(address: Address | string, amount: number): Transaction + change(address: Address | string): Transaction + sign(privateKey: PrivateKey | string): Transaction + applySignature(sig: crypto.Signature): Transaction + addData(data: Buffer): this + serialize(): string + } + + export namespace Transaction { + class UnspentOutput { + static fromObject(o: object): UnspentOutput + + readonly address: Address + readonly txId: string + readonly outputIndex: number + readonly script: Script + readonly satoshis: number + + constructor(data: object) + + inspect(): string + toObject(): this + toString(): string + } + } + + interface Block { + hash: string + height: number + transactions: Transaction[] + header: { + time: number + prevHash: string + } + + new(data: Buffer | object): Block + (data: Buffer | object): Block + } + + interface PrivateKey { + readonly publicKey: PublicKey + + new(key: string): this + (source: string): this + } + + class PublicKey { + constructor(source: string) + } + + interface Output { + readonly script: any + } + + interface Script { + types: { + DATA_OUT: string + } + buildPublicKeyHashOut(address: Address): Script + } + + interface Util { + readonly buffer: { + reverse(a: any): any + } + } + + export namespace Networks { + + interface Network { + readonly name: string + readonly alias: string + } + + export const livenet: Network + export const mainnet: Network + export const testnet: Network + + export function add(data: any): Network + export function remove(network: Network): void + export function get(args: string | number | Network, keys: string | string[]): Network + } + +} + +interface Address { + +} + +interface Input { + +} + +interface RandomInterface { +} +interface PointInterface { +} + +export = bitcoreLib \ No newline at end of file diff --git a/types/bitcore-lib/tsconfig.json b/types/bitcore-lib/tsconfig.json new file mode 100644 index 0000000000..f9664facca --- /dev/null +++ b/types/bitcore-lib/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "bitcore-lib-tests.ts" + ] +} \ No newline at end of file diff --git a/types/bitcore-lib/tslint.json b/types/bitcore-lib/tslint.json new file mode 100644 index 0000000000..dae7fb7540 --- /dev/null +++ b/types/bitcore-lib/tslint.json @@ -0,0 +1,4 @@ +{ + "extends": "dtslint/dt.json", + "rules": {} +} \ No newline at end of file From ee77e39b8644b02093b852aa4f39c91186547879 Mon Sep 17 00:00:00 2001 From: lautarodragan Date: Sat, 10 Feb 2018 05:58:56 -0300 Subject: [PATCH 326/463] bitcore-lib: add lib to tsconfig --- types/bitcore-lib/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/types/bitcore-lib/tsconfig.json b/types/bitcore-lib/tsconfig.json index f9664facca..9730553f79 100644 --- a/types/bitcore-lib/tsconfig.json +++ b/types/bitcore-lib/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "commonjs", + "lib": ["es6"], "target": "es6", "noImplicitAny": true, "noImplicitThis": true, From a649eea8cd41d579fc852b1879babd6c30e71920 Mon Sep 17 00:00:00 2001 From: lautarodragan Date: Sat, 10 Feb 2018 06:34:38 -0300 Subject: [PATCH 327/463] bitcore-lib: several styling fixes --- types/bitcore-lib/index.d.ts | 184 ++++++++++++++++------------------- 1 file changed, 85 insertions(+), 99 deletions(-) diff --git a/types/bitcore-lib/index.d.ts b/types/bitcore-lib/index.d.ts index e0c86e53f2..9b0a925bbf 100644 --- a/types/bitcore-lib/index.d.ts +++ b/types/bitcore-lib/index.d.ts @@ -1,142 +1,128 @@ -// Type definitions for bitcore-lib 0.15.0 +// Type definitions for bitcore-lib 0.15 // Project: https://github.com/bitpay/bitcore-lib // Definitions by: Lautaro Dragan // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 + /// -declare namespace bitcoreLib { - export const Block: Block - export const util: Util - export const Script: Script - export const PrivateKey: PrivateKey - - export namespace crypto { +export namespace crypto { class BN { } namespace ECDSA { - function sign(message: Buffer, key: PrivateKey): Signature - function verify(hashbuf: Buffer, sig: Signature, pubkey: PublicKey, endian?: 'little'): boolean + function sign(message: Buffer, key: PrivateKey): Signature; + function verify(hashbuf: Buffer, sig: Signature, pubkey: PublicKey, endian?: 'little'): boolean; } - export namespace Hash { - function sha256(buffer: Buffer): Uint8Array + namespace Hash { + function sha256(buffer: Buffer): Uint8Array; } - export const Random: RandomInterface - export const Point: PointInterface + const Random: RandomInterface; + const Point: PointInterface; class Signature { - static fromDER(sig: Buffer): Signature - static fromString(data: string): Signature - SIGHASH_ALL: number - toString(): string + static fromDER(sig: Buffer): Signature; + static fromString(data: string): Signature; + SIGHASH_ALL: number; + toString(): string; } - } +} - class Transaction { - inputs: Input[] - outputs: Output[] - readonly id: string - readonly hash: string - nid: string +export class Transaction { + inputs: Input[]; + outputs: Output[]; + readonly id: string; + readonly hash: string; + nid: string; - constructor(serialized?: any) + constructor(serialized?: any); - from(utxos: Transaction.UnspentOutput[]): Transaction - to(address: Address | string, amount: number): Transaction - change(address: Address | string): Transaction - sign(privateKey: PrivateKey | string): Transaction - applySignature(sig: crypto.Signature): Transaction - addData(data: Buffer): this - serialize(): string - } + from(utxos: Transaction.UnspentOutput[]): Transaction; + to(address: Address | string, amount: number): Transaction; + change(address: Address | string): Transaction; + sign(privateKey: PrivateKey | string): Transaction; + applySignature(sig: crypto.Signature): Transaction; + addData(data: Buffer): this; + serialize(): string; +} - export namespace Transaction { +export namespace Transaction { class UnspentOutput { - static fromObject(o: object): UnspentOutput + static fromObject(o: object): UnspentOutput; - readonly address: Address - readonly txId: string - readonly outputIndex: number - readonly script: Script - readonly satoshis: number + readonly address: Address; + readonly txId: string; + readonly outputIndex: number; + readonly script: Script; + readonly satoshis: number; - constructor(data: object) + constructor(data: object); - inspect(): string - toObject(): this - toString(): string + inspect(): string; + toObject(): this; + toString(): string; } - } +} - interface Block { - hash: string - height: number - transactions: Transaction[] +export class Block { + hash: string; + height: number; + transactions: Transaction[]; header: { - time: number - prevHash: string - } + time: number; + prevHash: string; + }; - new(data: Buffer | object): Block - (data: Buffer | object): Block - } + constructor(data: Buffer | object); +} - interface PrivateKey { - readonly publicKey: PublicKey +export class PrivateKey { + readonly publicKey: PublicKey; - new(key: string): this - (source: string): this - } + constructor(key: string); +} - class PublicKey { - constructor(source: string) - } +export class PublicKey { + constructor(source: string); +} - interface Output { - readonly script: any - } +export interface Output { + readonly script: any; +} - interface Script { - types: { - DATA_OUT: string - } - buildPublicKeyHashOut(address: Address): Script - } +export namespace Script { + const types: { + DATA_OUT: string; + }; + function buildPublicKeyHashOut(address: Address): Script; +} - interface Util { +export class Script { } + +export interface Util { readonly buffer: { - reverse(a: any): any + reverse(a: any): any; } - } - - export namespace Networks { +} +export namespace Networks { interface Network { - readonly name: string - readonly alias: string + readonly name: string; + readonly alias: string; } - export const livenet: Network - export const mainnet: Network - export const testnet: Network - - export function add(data: any): Network - export function remove(network: Network): void - export function get(args: string | number | Network, keys: string | string[]): Network - } + const livenet: Network; + const mainnet: Network; + const testnet: Network; + function add(data: any): Network; + function remove(network: Network): void; + function get(args: string | number | Network, keys: string | string[]): Network; } -interface Address { +interface Address {} -} +interface Input {} -interface Input { +interface RandomInterface {} -} - -interface RandomInterface { -} -interface PointInterface { -} - -export = bitcoreLib \ No newline at end of file +interface PointInterface {} From 9216e74e502cb51527fff9a53edeee42c515e6da Mon Sep 17 00:00:00 2001 From: lautarodragan Date: Sat, 10 Feb 2018 06:38:49 -0300 Subject: [PATCH 328/463] bitcore-lib: fix tests --- types/bitcore-lib/bitcore-lib-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/bitcore-lib/bitcore-lib-tests.ts b/types/bitcore-lib/bitcore-lib-tests.ts index a277700d84..fb39c85fc1 100644 --- a/types/bitcore-lib/bitcore-lib-tests.ts +++ b/types/bitcore-lib/bitcore-lib-tests.ts @@ -8,7 +8,7 @@ const privateKey: bitcore.PrivateKey = new bitcore.PrivateKey('privateKey'); const publicKey: bitcore.PublicKey = privateKey.publicKey; const publicKeyAsString: string = publicKey.toString(); -const signature = bitcore.crypto.ECDSA.sign(Buffer.from('sign this message', 'hex'), bitcore.PrivateKey('privateKey')); +const signature = bitcore.crypto.ECDSA.sign(Buffer.from('sign this message', 'hex'), new bitcore.PrivateKey('privateKey')); bitcore.crypto.ECDSA.verify( Buffer.from('buffer', 'hex'), From 11d9df472b5a019e572690eb930b3d5a39f528ff Mon Sep 17 00:00:00 2001 From: lautarodragan Date: Sat, 10 Feb 2018 06:46:33 -0300 Subject: [PATCH 329/463] bitcore-lib: more fixes --- types/bitcore-lib/index.d.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/types/bitcore-lib/index.d.ts b/types/bitcore-lib/index.d.ts index 9b0a925bbf..bc8874f590 100644 --- a/types/bitcore-lib/index.d.ts +++ b/types/bitcore-lib/index.d.ts @@ -16,8 +16,12 @@ export namespace crypto { namespace Hash { function sha256(buffer: Buffer): Uint8Array; } - const Random: RandomInterface; - const Point: PointInterface; + namespace Random { + function getRandomBuffer(size: number): Buffer + } + namespace Point { + + } class Signature { static fromDER(sig: Buffer): Signature; @@ -101,7 +105,7 @@ export class Script { } export interface Util { readonly buffer: { reverse(a: any): any; - } + }; } export namespace Networks { @@ -119,10 +123,6 @@ export namespace Networks { function get(args: string | number | Network, keys: string | string[]): Network; } -interface Address {} +export class Address {} -interface Input {} - -interface RandomInterface {} - -interface PointInterface {} +export class Input {} From fa3829b0655e1fd6217d6048a2b8699aa88bc464 Mon Sep 17 00:00:00 2001 From: lautarodragan Date: Sat, 10 Feb 2018 06:53:40 -0300 Subject: [PATCH 330/463] bitcore-lib: still more fixes --- types/bitcore-lib/index.d.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/types/bitcore-lib/index.d.ts b/types/bitcore-lib/index.d.ts index bc8874f590..0846b85c0d 100644 --- a/types/bitcore-lib/index.d.ts +++ b/types/bitcore-lib/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for bitcore-lib 0.15 // Project: https://github.com/bitpay/bitcore-lib -// Definitions by: Lautaro Dragan +// Definitions by: Lautaro Dragan // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 @@ -17,12 +17,9 @@ export namespace crypto { function sha256(buffer: Buffer): Uint8Array; } namespace Random { - function getRandomBuffer(size: number): Buffer + function getRandomBuffer(size: number): Buffer; } - namespace Point { - - } - + namespace Point {} class Signature { static fromDER(sig: Buffer): Signature; static fromString(data: string): Signature; @@ -87,6 +84,11 @@ export class PrivateKey { export class PublicKey { constructor(source: string); + + static fromPrivateKey(privateKey: PrivateKey): PublicKey; + + toBuffer(): Buffer; + toDER(): Buffer; } export interface Output { From 43e63b5b0e7000869fc511687c80236a8d8270a2 Mon Sep 17 00:00:00 2001 From: Rajab Shakirov Date: Sat, 10 Feb 2018 17:05:32 +0300 Subject: [PATCH 331/463] [react-bootstrap-typeahead] update to version 2.2 --- types/react-bootstrap-typeahead/index.d.ts | 109 ++++++++++++++++++++- 1 file changed, 108 insertions(+), 1 deletion(-) diff --git a/types/react-bootstrap-typeahead/index.d.ts b/types/react-bootstrap-typeahead/index.d.ts index c31ddd63b5..98eded2136 100644 --- a/types/react-bootstrap-typeahead/index.d.ts +++ b/types/react-bootstrap-typeahead/index.d.ts @@ -1,63 +1,170 @@ -// Type definitions for react-bootstrap-typeahead 2.0 +// Type definitions for react-bootstrap-typeahead 2.3 // Project: https://github.com/ericgio/react-bootstrap-typeahead // Definitions by: Guymestef +// Rajab Shakirov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 +// TODO: , , , components import * as React from 'react'; export interface TypeaheadProps { + /* For localized accessibility: Should return a string indicating the number of results for screen readers. Receives the current results. */ a11yNumResults?: () => void; + + /* For localized accessibility: Should return a string indicating the number of selections for screen readers. Receives the current selections. */ a11yNumSelected?: () => void; + + /* Specify menu alignment. The default value is justify, which makes the menu as wide as the input and truncates long values. + Specifying left or right will align the menu to that side and the width will be determined by the length of menu item values. */ align?: 'justify' | 'left' | 'right'; + + /* Allows the creation of new selections on the fly. Any new items will be added to the list of selections, + but not the list of original options unless handled as such by Typeahead's parent. + The newly added item will always be returned as an object even if the other options are simply strings, + so be sure your onChange callback can handle this. */ allowNew?: boolean; + + /* Autofocus the input when the component initially mounts. */ autoFocus?: boolean; + + /* Whether to render the menu inline or attach to document.body. */ bodyContainer?: boolean; + + /* Specify the size of the input. */ bsSize?: 'large' | 'lg' | 'small' | 'sm'; + + /* Whether or not filtering should be case-sensitive. */ caseSensitive?: boolean; + + /* Displays a button to clear the input when there are selections. */ clearButton?: boolean; + + /* The initial value displayed in the text input. */ + defaultInputValue?: string; + + /* Specify any pre-selected options. Use only if you want the component to be uncontrolled. */ defaultSelected?: T[]; + + /* Whether to disable the input. Will also disable selections when multiple={true}. */ disabled?: boolean; + + /* Specify whether the menu should appear above the input. */ dropup?: boolean; + + /* Message displayed in the menu when there are no valid results. + Passing a falsy value will hide the menu if no matches are found. */ emptyLabel?: string; + + /* Either an array of fields in option to search, or a custom filtering callback. */ filterBy?: (string[] | ((option: T | string, text: string) => boolean)); + + /* Highlights the menu item if there is only one result and allows selecting that item by hitting enter. + Does not work with allowNew. */ highlightOnlyResult?: boolean; + + /* Whether the filter should ignore accents and other diacritical marks. */ ignoreDiacritics?: boolean; + + /* Props to be applied directly to the input. onBlur, onChange, onFocus, and onKeyDown are ignored. */ inputProps?: object; + + /* Indicate whether an asynchronous data fetch is happening. */ + isLoading?: boolean; + + /* Specify which option key to use for display or a render function. By default, the selector will use the label key. */ labelKey?: string | ((option: T | string) => string); + + /* Maximum height of the dropdown menu, in px. */ maxHeight?: number; + + /* Maximum number of results to display by default. Mostly done for performance reasons + so as not to render too many DOM nodes in the case of large data sets. */ maxResults?: number; + + /* Number of input characters that must be entered before showing results. */ minLength?: number; + + /* Whether or not multiple selections are allowed. */ multiple?: boolean; + + /* Provides the ability to specify a prefix before the user-entered text to indicate that the selection will be new. No-op unless allowNew={true}. */ newSelectionPrefix?: string; + + /* Invoked when the input is blurred. Receives an event. */ onBlur?: (e: Event) => any; + + /* Invoked whenever items are added or removed. Receives an array of the selected options. */ onChange?: (selected: T[]) => any; + + /* Invoked when the input is focused. Receives an event. */ onFocus?: (e: Event) => any; + + /* Invoked when the input value changes. Receives the string value of the input. */ onInputChange?: (input: string) => any; + + /* Invoked when a key is pressed. Receives an event. */ onKeyDown?: (e: Event) => any; + + /* Invoked when the menu is hidden. */ onMenuHide?: (e: Event) => any; + + /* Invoked when the menu is shown. */ onMenuShow?: (e: Event) => any; + + /* Invoked when the pagination menu item is clicked. */ onPaginate?: (e: Event) => any; + + /* Full set of options, including any pre-selected options. */ options: T[]; + + /* Give user the ability to display additional results if the number of results exceeds maxResults. */ paginate?: boolean; + + /* Prompt displayed when large data sets are paginated. */ paginationText?: string; + + /* Placeholder text for the input. */ placeholder?: string; + + /* Callback for custom menu rendering. */ renderMenu?: (results: Array, menuProps: any) => any; + + /* Provides a hook for customized rendering of menu item contents. */ renderMenuItemChildren?: (option: T, props: TypeaheadProps, index: number) => any; + + /* Provides a hook for customized rendering of tokens when multiple selections are enabled. */ renderToken?: (selectedItem: T | string, onRemove: () => void) => any; + + /* The selected option(s) displayed in the input. Use this prop if you want to control the component via its parent. */ selected?: T[]; + + /* Allows selecting the hinted result by pressing enter. */ selectHintOnEnter?: boolean; + + /* Propagate event to parent form. */ submitFormOnEnter?: boolean; } export const Typeahead: React.ClassicComponentClass>; export interface AsyncTypeaheadProps extends TypeaheadProps { + /* Delay, in milliseconds, before performing search. */ delay?: number; + + /* Whether or not a request is currently pending. Necessary for the component to know when new results are available. */ isLoading: boolean; + + /* Callback to perform when the search is executed. */ onSearch: (query: string) => void; + + /* Message displayed in the menu when there is no user input. */ promptText?: string; + + /* Message to display in the menu while the request is pending. */ searchText?: string; + + /* Whether or not the component should cache query results. */ useCache?: boolean; } From b840641d910725cb962e943833214337a38b5b33 Mon Sep 17 00:00:00 2001 From: Niklas Higi Date: Sat, 10 Feb 2018 15:31:29 +0100 Subject: [PATCH 332/463] Rename AxisHelper to AxesHelper --- types/three/test/webgl/webgl_geometries.ts | 4 ++-- types/three/three-core.d.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/types/three/test/webgl/webgl_geometries.ts b/types/three/test/webgl/webgl_geometries.ts index 32ab4270b4..d09b865c6d 100644 --- a/types/three/test/webgl/webgl_geometries.ts +++ b/types/three/test/webgl/webgl_geometries.ts @@ -20,7 +20,7 @@ scene = new THREE.Scene(); - var light: THREE.DirectionalLight, object: THREE.Mesh | THREE.AxisHelper | THREE.ArrowHelper; + var light: THREE.DirectionalLight, object: THREE.Mesh | THREE.AxesHelper | THREE.ArrowHelper; scene.add(new THREE.AmbientLight(0x404040)); @@ -96,7 +96,7 @@ object.position.set(0, 0, -200); scene.add(object); - object = new THREE.AxisHelper(50); + object = new THREE.AxesHelper(50); object.position.set(200, 0, -200); scene.add(object); diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index 40a9d4daa0..c6f405f8b5 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -6951,7 +6951,7 @@ export class ArrowHelper extends Object3D { setColor(hex: number): void; } -export class AxisHelper extends LineSegments { +export class AxesHelper extends LineSegments { constructor(size?: number); } From ceb2141c170cb4344ecac5995b27dd46948f7f70 Mon Sep 17 00:00:00 2001 From: Rajab Shakirov Date: Sat, 10 Feb 2018 18:36:01 +0300 Subject: [PATCH 333/463] [react-burger-menu] update typings to 2.2 --- types/react-burger-menu/index.d.ts | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/types/react-burger-menu/index.d.ts b/types/react-burger-menu/index.d.ts index 585026eeee..7588d9dd78 100644 --- a/types/react-burger-menu/index.d.ts +++ b/types/react-burger-menu/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for react-burger-menu 2.1 +// Type definitions for react-burger-menu 2.2 // Project: https://github.com/negomi/react-burger-menu // Definitions by: Rajab Shakirov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -7,23 +7,35 @@ import * as React from "react"; export interface State { - isOpen: boolean; + isOpen: boolean; +} + +export interface Styles { + bmBurgerBars: Partial; + bmBurgerButton: Partial; + bmCross: Partial; + bmCrossButton: Partial; + bmItemList: Partial; + bmMenu: Partial; + bmMorphShape: Partial; + bmOverlay: Partial; } export interface Props { + bodyClassName?: string; burgerBarClassName?: string; burgerButtonClassName?: string; crossButtonClassName?: string; crossClassName?: string; customBurgerIcon?: JSX.Element | false; customCrossIcon?: JSX.Element | false; + disableOverlayClick?: boolean; id?: string; isOpen?: boolean; itemListClassName?: string; menuClassName?: string; morphShapeClassName?: string; noOverlay?: boolean; - disableOverlayClick?: boolean; onStateChange?(state: State): void; // TODO (Rajab) This can be improved, though I do not know how. From PropTypes: // styles && styles.outerContainer ? PropTypes.string.isRequired : PropTypes.string @@ -33,16 +45,7 @@ export interface Props { // styles && styles.pageWrap ? PropTypes.string.isRequired : PropTypes.string, pageWrapId?: string; right?: boolean; - styles?: { - bmBurgerButton: CSSStyleDeclaration; - bmBurgerBars: CSSStyleDeclaration; - bmCrossButton: CSSStyleDeclaration; - bmCross: CSSStyleDeclaration; - bmMenu: CSSStyleDeclaration; - bmMorphShape: CSSStyleDeclaration; - bmItemList: CSSStyleDeclaration; - bmOverlay: CSSStyleDeclaration; - }; + styles?: Styles; width?: number | string; } @@ -57,3 +60,4 @@ export class pushRotate extends ReactBurgerMenu { } export class scaleDown extends ReactBurgerMenu { } export class scaleRotate extends ReactBurgerMenu { } export class fallDown extends ReactBurgerMenu { } +export class reveal extends ReactBurgerMenu { } From fe7e66e3ae7ac443a134a322d27c69a956cfeaab Mon Sep 17 00:00:00 2001 From: Jason Cheatham Date: Sat, 10 Feb 2018 11:30:14 -0500 Subject: [PATCH 334/463] Update webpack typings to fix build issues * Add TypeScript version line * Remove some non-functional linter rules --- types/webpack/index.d.ts | 1 + types/webpack/package.json | 1 - types/webpack/tslint.json | 5 +---- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/types/webpack/index.d.ts b/types/webpack/index.d.ts index e8b59f2994..e5124323fd 100644 --- a/types/webpack/index.d.ts +++ b/types/webpack/index.d.ts @@ -11,6 +11,7 @@ // Spencer Elliott // Jason Cheatham // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 /// diff --git a/types/webpack/package.json b/types/webpack/package.json index 96c1491edd..3d76ab4528 100644 --- a/types/webpack/package.json +++ b/types/webpack/package.json @@ -1,5 +1,4 @@ { - "private": true, "dependencies": { "source-map": "^0.7.0" } diff --git a/types/webpack/tslint.json b/types/webpack/tslint.json index 590af11d7e..ef5b615685 100644 --- a/types/webpack/tslint.json +++ b/types/webpack/tslint.json @@ -1,10 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { - // TODO - "no-any-union": false, "no-unnecessary-qualifier": false, - "no-void-expression": false, - "space-within-parens": false + "no-void-expression": false } } From 63af4393ec5603a947e2a21976c6785446666809 Mon Sep 17 00:00:00 2001 From: Jason Cheatham Date: Sat, 10 Feb 2018 11:52:31 -0500 Subject: [PATCH 335/463] Use RawSourceMap rather than object in tests, remove TS version line The default TS 2.1 compat doesn't understand `object`, but specifying version 2.2 breaks other types that depend on this one. --- types/webpack/index.d.ts | 1 - types/webpack/webpack-tests.ts | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/webpack/index.d.ts b/types/webpack/index.d.ts index e5124323fd..e8b59f2994 100644 --- a/types/webpack/index.d.ts +++ b/types/webpack/index.d.ts @@ -11,7 +11,6 @@ // Spencer Elliott // Jason Cheatham // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 /// diff --git a/types/webpack/webpack-tests.ts b/types/webpack/webpack-tests.ts index 6bf8fb443b..2cde2ee48c 100644 --- a/types/webpack/webpack-tests.ts +++ b/types/webpack/webpack-tests.ts @@ -1,4 +1,5 @@ import webpack = require('webpack'); +import { RawSourceMap } from 'source-map'; const { optimize, @@ -637,7 +638,7 @@ configuration = { performance, }; -function loader(this: webpack.loader.LoaderContext, source: string | Buffer, sourcemap?: object): void { +function loader(this: webpack.loader.LoaderContext, source: string | Buffer, sourcemap?: RawSourceMap): void { this.cacheable(); this.async(); From 0c415565f31e9cb38ff7df0fe1f475fc65179154 Mon Sep 17 00:00:00 2001 From: Jason Cheatham Date: Sat, 10 Feb 2018 12:07:42 -0500 Subject: [PATCH 336/463] Make webpack package private. --- types/webpack/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/types/webpack/package.json b/types/webpack/package.json index 3d76ab4528..96c1491edd 100644 --- a/types/webpack/package.json +++ b/types/webpack/package.json @@ -1,4 +1,5 @@ { + "private": true, "dependencies": { "source-map": "^0.7.0" } From 147e526e7d0a8394ceebf0f43a1382b764dd51f5 Mon Sep 17 00:00:00 2001 From: Jason Cheatham Date: Sat, 10 Feb 2018 12:14:49 -0500 Subject: [PATCH 337/463] Restore tslint rules to webpack plugin --- types/webpack/tslint.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/types/webpack/tslint.json b/types/webpack/tslint.json index ef5b615685..590af11d7e 100644 --- a/types/webpack/tslint.json +++ b/types/webpack/tslint.json @@ -1,7 +1,10 @@ { "extends": "dtslint/dt.json", "rules": { + // TODO + "no-any-union": false, "no-unnecessary-qualifier": false, - "no-void-expression": false + "no-void-expression": false, + "space-within-parens": false } } From fb4adda46f35dac66760505c209f10d4308ab255 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Sat, 10 Feb 2018 09:46:07 -0800 Subject: [PATCH 338/463] Revert "Add Ranged interface" This reverts commit c84b2631309e1421913fc24666e6a32758b36d19. --- types/eslint/eslint-tests.ts | 3 +- types/eslint/index.d.ts | 66 +++++++++++++++++++++--------------- 2 files changed, 41 insertions(+), 28 deletions(-) diff --git a/types/eslint/eslint-tests.ts b/types/eslint/eslint-tests.ts index 425f14580b..376cdf0a92 100644 --- a/types/eslint/eslint-tests.ts +++ b/types/eslint/eslint-tests.ts @@ -1,3 +1,4 @@ +import { Comment } from 'estree'; import { AST, SourceCode, Rule, Linter, CLIEngine, RuleTester, Scope } from 'eslint'; const SOURCE = `var foo = bar;`; @@ -25,7 +26,7 @@ const TOKEN: AST.Token = { range: [0, 3] }; -const COMMENT: AST.Comment = { +const COMMENT: Comment = { type: 'Block', value: 'foo', loc: { diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index 81f3c875c8..9e0e68af0b 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -35,20 +35,12 @@ export namespace AST { type Range = [number, number]; - interface Ranged { - range: Range; - } - interface Program extends ESTree.Program { comments: ESTree.Comment[]; tokens: Token[]; loc: SourceLocation; range: Range; } - - interface Comment extends ESTree.Comment { - range: Range; - } } export namespace Scope { @@ -152,42 +144,62 @@ export class SourceCode { getTokenByRangeStart(offset: number, options?: { includeComments?: boolean }): AST.Token | null; - getFirstToken(node: AST.Ranged, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; + getFirstToken(node: ESTree.Node, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; - getFirstTokens(node: AST.Ranged, options?: SourceCode.CursorWithCountOptions): AST.Token[]; + getFirstTokens(node: ESTree.Node, options?: SourceCode.CursorWithCountOptions): AST.Token[]; - getLastToken(node: AST.Ranged, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; + getLastToken(node: ESTree.Node, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; - getLastTokens(node: AST.Ranged, options?: SourceCode.CursorWithCountOptions): AST.Token[]; + getLastTokens(node: ESTree.Node, options?: SourceCode.CursorWithCountOptions): AST.Token[]; - getTokenBefore(node: AST.Ranged, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; + getTokenBefore(node: ESTree.Node | AST.Token | ESTree.Comment, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; - getTokensBefore(node: AST.Ranged, options?: SourceCode.CursorWithCountOptions): AST.Token[]; + getTokensBefore(node: ESTree.Node | AST.Token | ESTree.Comment, options?: SourceCode.CursorWithCountOptions): AST.Token[]; - getTokenAfter(node: AST.Ranged, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; + getTokenAfter(node: ESTree.Node | AST.Token | ESTree.Comment, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; - getTokensAfter(node: AST.Ranged, options?: SourceCode.CursorWithCountOptions): AST.Token[]; + getTokensAfter(node: ESTree.Node | AST.Token | ESTree.Comment, options?: SourceCode.CursorWithCountOptions): AST.Token[]; - getFirstTokenBetween(left: AST.Ranged, right: AST.Ranged, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; + getFirstTokenBetween( + left: ESTree.Node | AST.Token | ESTree.Comment, + right: ESTree.Node | AST.Token | ESTree.Comment, + options?: SourceCode.CursorWithSkipOptions + ): AST.Token | null; - getFirstTokensBetween(left: AST.Ranged, right: AST.Ranged, options?: SourceCode.CursorWithCountOptions): AST.Token[]; + getFirstTokensBetween( + left: ESTree.Node | AST.Token | ESTree.Comment, + right: ESTree.Node | AST.Token | ESTree.Comment, + options?: SourceCode.CursorWithCountOptions + ): AST.Token[]; - getLastTokenBetween(left: AST.Ranged, right: AST.Ranged, options?: SourceCode.CursorWithSkipOptions): AST.Token | null; + getLastTokenBetween( + left: ESTree.Node | AST.Token | ESTree.Comment, + right: ESTree.Node | AST.Token | ESTree.Comment, + options?: SourceCode.CursorWithSkipOptions + ): AST.Token | null; - getLastTokensBetween(left: AST.Ranged, right: AST.Ranged, options?: SourceCode.CursorWithCountOptions): AST.Token[]; + getLastTokensBetween( + left: ESTree.Node | AST.Token | ESTree.Comment, + right: ESTree.Node | AST.Token | ESTree.Comment, + options?: SourceCode.CursorWithCountOptions + ): AST.Token[]; - getTokensBetween(left: AST.Ranged, right: AST.Ranged, padding?: number | SourceCode.FilterPredicate | SourceCode.CursorWithCountOptions): AST.Token[]; + getTokensBetween( + left: ESTree.Node | AST.Token | ESTree.Comment, + right: ESTree.Node | AST.Token | ESTree.Comment, + padding?: number | SourceCode.FilterPredicate | SourceCode.CursorWithCountOptions + ): AST.Token[]; - getTokens(node: AST.Ranged, beforeCount?: number, afterCount?: number): AST.Token[]; - getTokens(node: AST.Ranged, options: SourceCode.FilterPredicate | SourceCode.CursorWithCountOptions): AST.Token[]; + getTokens(node: ESTree.Node, beforeCount?: number, afterCount?: number): AST.Token[]; + getTokens(node: ESTree.Node, options: SourceCode.FilterPredicate | SourceCode.CursorWithCountOptions): AST.Token[]; - commentsExistBetween(left: AST.Ranged, right: AST.Ranged): boolean; + commentsExistBetween(left: ESTree.Node | AST.Token, right: ESTree.Node | AST.Token): boolean; - getCommentsBefore(nodeOrToken: AST.Ranged): ESTree.Comment[]; + getCommentsBefore(nodeOrToken: ESTree.Node | AST.Token): ESTree.Comment[]; - getCommentsAfter(nodeOrToken: AST.Ranged): ESTree.Comment[]; + getCommentsAfter(nodeOrToken: ESTree.Node | AST.Token): ESTree.Comment[]; - getCommentsInside(node: AST.Ranged): ESTree.Comment[]; + getCommentsInside(node: ESTree.Node): ESTree.Comment[]; } export namespace SourceCode { From 679cd54b9af601ec149d4ccb1b28bf631ba12d38 Mon Sep 17 00:00:00 2001 From: Sherif Elmetainy Date: Sat, 10 Feb 2018 19:57:00 +0200 Subject: [PATCH 339/463] globalize - Add timeZone property to DateFormatterOptions interface and loadTimeZone method to GlobalizeStatic interface. --- types/globalize/index.d.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/types/globalize/index.d.ts b/types/globalize/index.d.ts index c0fbbd3d0d..6ec31883aa 100644 --- a/types/globalize/index.d.ts +++ b/types/globalize/index.d.ts @@ -30,6 +30,12 @@ interface DateFormatterOptions { * Note this is NOT recommended for i18n in general. Use skeleton instead. */ raw?: string; + + /** + * String based on the time zone names of the IANA time zone database, + * such as "Asia/Shanghai", "Asia/Kolkata", "America/New_York". + */ + timeZone?: string; } interface CommonNumberFormatterOptions { @@ -126,6 +132,13 @@ interface GlobalizeStatic { cldr: Cldr.CldrStatic; + /** + * Globalize.loadTimeZone ( ianaTzData, ... ) + * This method allows you to load IANA time zone data to enable options.timeZone feature on date formatters and parsers. + * @param {Object} ianaTzData A JSON object with zdumped IANA timezone data. Get the data via https://github.com/rxaviers/iana-tz-data + */ + loadTimeZone(ianaTzData: Object): void; + /** * Globalize.load( json, ... ) * @param {Object} [JSON] From 7ed9c988abf562c033e62a29dc8cbce84da4132f Mon Sep 17 00:00:00 2001 From: Pierre-Marie Date: Sat, 10 Feb 2018 10:10:53 -0800 Subject: [PATCH 340/463] Set esModuleInterop to true to fix new test requirements --- types/eslint/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/eslint/tsconfig.json b/types/eslint/tsconfig.json index 2e820d4971..4f53b4a06b 100644 --- a/types/eslint/tsconfig.json +++ b/types/eslint/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", From 4de64b895a5e3698b8b7f65f0cdb189a4135d4ff Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sun, 11 Feb 2018 13:04:12 +1300 Subject: [PATCH 341/463] added `@deprecated` to all deprecated methods and parameters. Also added missing manhattan math method signatures to Vector classes, and `setFromPoints` method to `Path` class. --- types/three/three-core.d.ts | 283 +++++++++++++++++++++++++++++++++++- 1 file changed, 277 insertions(+), 6 deletions(-) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index 40a9d4daa0..7a845bc298 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -457,6 +457,9 @@ export class CubeCamera extends Object3D { renderTarget: WebGLRenderTargetCube; + /** + * @deprecated + */ updateCubeMap(renderer: Renderer, scene: Scene): void; update(renderer: Renderer, scene: Scene): void; @@ -911,11 +914,27 @@ export class BufferGeometry extends EventDispatcher { * @deprecated */ drawcalls: any; + + /** + * @deprecated + */ offsets: any; + /** + * @deprecated + */ addIndex(index: any): void; + + /** + * @deprecated + */ addDrawCall(start: any, count: any, indexOffset?: any): void; + + /** + * @deprecated + */ clearDrawCalls(): void; + addAttribute(name: any, array: any, itemSize: any): any; } @@ -2101,6 +2120,9 @@ export class Loader { */ crossOrigin: string; + /** + * @deprecated + */ extractUrlBase(url: string): string; initMaterials(materials: Material[], texturePath: string): Material[]; createMaterial(m: Material, texturePath: string, crossOrigin?: string): boolean; @@ -2934,6 +2956,9 @@ export class MeshPhysicalMaterial extends MeshStandardMaterial { // MultiMaterial does not inherit the Material class in the original code. However, it should treat as Material class. // See tests/canvas/canvas_materials.ts. +/** + * @deprecated Use an Array instead. + */ export class MultiMaterial extends Material { constructor(materials?: Material[]); @@ -3547,8 +3572,14 @@ export namespace Math { export function isPowerOfTwo(value: number): boolean; + /** + * @deprecated + */ export function nearestPowerOfTwo(value: number): number; + /** + * @deprecated + */ export function nextPowerOfTwo(value: number): number; } @@ -3613,6 +3644,10 @@ export class Matrix3 implements Matrix { clone(): this; copy(m: this): this; setFromMatrix4(m: Matrix4): Matrix3; + + /** + * @deprecated + */ applyToBuffer(buffer: BufferAttribute, offset?: number, length?: number): BufferAttribute; multiplyScalar(s: number): Matrix3; determinant(): number; @@ -3647,8 +3682,16 @@ export class Matrix3 implements Matrix { * @deprecated */ multiplyVector3(vector: Vector3): any; + + /** + * @deprecated + */ multiplyVector3Array(a: any): any; getInverse(matrix: Matrix4, throwOnDegenerate?: boolean): Matrix3; + + /** + * @deprecated + */ flattenToArrayOffset(array: number[], offset: number): number[]; } @@ -3719,6 +3762,8 @@ export class Matrix4 implements Matrix { /** * Sets this matrix to a x b and stores the result into the flat array r. * r can be either a regular Array or a TypedArray. + * + * @deprecated */ multiplyToArray(a: Matrix4, b: Matrix4, r: number[]): Matrix4; @@ -3726,6 +3771,10 @@ export class Matrix4 implements Matrix { * Multiplies this matrix by s. */ multiplyScalar(s: number): Matrix4; + + /** + * @deprecated + */ applyToBuffer( buffer: BufferAttribute, offset?: number, length?: number): BufferAttribute; /** * Computes determinant of this matrix. @@ -3831,12 +3880,40 @@ export class Matrix4 implements Matrix { * @deprecated */ extractPosition(m: Matrix4): Matrix4; + + /** + * @deprecated + */ setRotationFromQuaternion(q: Quaternion): Matrix4; + + /** + * @deprecated + */ multiplyVector3(v: any): any; + + /** + * @deprecated + */ multiplyVector4(v: any): any; + + /** + * @deprecated + */ multiplyVector3Array(array: number[]): number[]; + + /** + * @deprecated + */ rotateAxis(v: any): void; + + /** + * @deprecated + */ crossVector(v: any): void; + + /** + * @deprecated + */ flattenToArrayOffset(array: number[], offset: number): number[]; } @@ -4041,7 +4118,15 @@ export class Ray { * @deprecated */ isIntersectionBox(b: any): any; + + /** + * @deprecated + */ isIntersectionPlane(p: any): any; + + /** + * @deprecated + */ isIntersectionSphere(s: any): any; } @@ -4322,6 +4407,10 @@ export class Vector2 implements Vector { * Computes length of this vector. */ length(): number; + + /** + * @deprecated + */ lengthManhattan(): number; /** @@ -4343,6 +4432,10 @@ export class Vector2 implements Vector { * Computes squared distance of this vector to v. */ distanceToSquared(v: Vector2): number; + + /** + * @deprecated + */ distanceToManhattan(v: Vector2): number; /** @@ -4366,6 +4459,26 @@ export class Vector2 implements Vector { fromBufferAttribute( attribute: BufferAttribute, index: number, offset?: number): Vector2; rotateAround( center: Vector2, angle: number ): Vector2; + + /** + * Computes the Manhattan length of this vector. + * + * @return {number} + * + * @see {@link http://en.wikipedia.org/wiki/Taxicab_geometry|Wikipedia: Taxicab Geometry} + */ + manhattanLength(): number; + + /** + * Computes the Manhattan length (distance) from this vector to the given vector v + * + * @param {Vector2} v + * + * @return {number} + * + * @see {@link http://en.wikipedia.org/wiki/Taxicab_geometry|Wikipedia: Taxicab Geometry} + */ + manhattanDistanceTo(v: Vector2): number; } /** @@ -4502,9 +4615,30 @@ export class Vector3 implements Vector { /** * Computes Manhattan length of this vector. * http://en.wikipedia.org/wiki/Taxicab_geometry + * + * @deprecated */ lengthManhattan(): number; - manhattanDistanceTo(v:Vector3):number; + + /** + * Computes the Manhattan length of this vector. + * + * @return {number} + * + * @see {@link http://en.wikipedia.org/wiki/Taxicab_geometry|Wikipedia: Taxicab Geometry} + */ + manhattanLength(): number; + + /** + * Computes the Manhattan length (distance) from this vector to the given vector v + * + * @param {Vector3} v + * + * @return {number} + * + * @see {@link http://en.wikipedia.org/wiki/Taxicab_geometry|Wikipedia: Taxicab Geometry} + */ + manhattanDistanceTo(v: Vector3): number; /** * Normalizes this vector. @@ -4542,6 +4676,10 @@ export class Vector3 implements Vector { * Computes squared distance of this vector to v. */ distanceToSquared(v: Vector3): number; + + /** + * @deprecated + */ distanceToManhattan(v: Vector3): number; setFromSpherical(s: Spherical): Vector3; @@ -4562,7 +4700,15 @@ export class Vector3 implements Vector { * @deprecated */ getPositionFromMatrix(m: Matrix4): Vector3; + + /** + * @deprecated + */ getScaleFromMatrix(m: Matrix4): Vector3; + + /** + * @deprecated + */ getColumnFromMatrix(index: number, matrix: Matrix4): Vector3; } @@ -4700,8 +4846,21 @@ export class Vector4 implements Vector { * Computes length of this vector. */ length(): number; + + /** + * @deprecated + */ lengthManhattan(): number; + /** + * Computes the Manhattan length of this vector. + * + * @return {number} + * + * @see {@link http://en.wikipedia.org/wiki/Taxicab_geometry|Wikipedia: Taxicab Geometry} + */ + manhattanLength(): number; + /** * Normalizes this vector. */ @@ -4904,8 +5063,11 @@ export class PointCloud extends Points {} export class ParticleSystem extends Points {} export class Skeleton { - constructor(bones: Bone[], boneInverses?: Matrix4[], useVertexTexture?: boolean); + constructor(bones: Bone[], boneInverses?: Matrix4[]); + /** + * @deprecated + */ useVertexTexture: boolean; identityMatrix: Matrix4; bones: Bone[]; @@ -5139,8 +5301,16 @@ export class WebGLRenderer implements Renderer { getContextAttributes(): any; forceContextLoss(): void; + /** + * @deprecated + */ getMaxAnisotropy(): number; + + /** + * @deprecated + */ getPrecision(): string; + getPixelRatio(): number; setPixelRatio(value: number): void; @@ -5195,6 +5365,10 @@ export class WebGLRenderer implements Renderer { clearDepth(): void; clearStencil(): void; clearTarget(renderTarget: WebGLRenderTarget, color: boolean, depth: boolean, stencil: boolean): void; + + /** + * @deprecated + */ resetGLState(): void; dispose(): void; @@ -5240,18 +5414,65 @@ export class WebGLRenderer implements Renderer { * @deprecated */ gammaFactor: number; + + /** + * @deprecated + */ shadowMapEnabled: boolean; + + /** + * @deprecated + */ shadowMapType: ShadowMapType; + + /** + * @deprecated + */ shadowMapCullFace: CullFace; + /** + * @deprecated + */ supportsFloatTextures(): any; + + /** + * @deprecated + */ supportsHalfFloatTextures(): any; + + /** + * @deprecated + */ supportsStandardDerivatives(): any; + + /** + * @deprecated + */ supportsCompressedTextureS3TC(): any; + + /** + * @deprecated + */ supportsCompressedTexturePVRTC(): any; + + /** + * @deprecated + */ supportsBlendMinMax(): any; + + /** + * @deprecated + */ supportsVertexTextures(): any; + + /** + * @deprecated + */ supportsInstancedArrays(): any; + + /** + * @deprecated + */ enableScissorTest(boolean: any): any; } @@ -5625,17 +5846,23 @@ export namespace UniformsUtils { export class Uniform { constructor(value: any); /** - * @deprecated + * @deprecated */ constructor(type: string, value: any); /** - * @deprecated + * @deprecated */ type: string; value: any; + /** + * @deprecated + */ dynamic: boolean; onUpdateCallback: Function; + /** + * @deprecated + */ onUpdate(callback: Function): Uniform; } @@ -5729,11 +5956,11 @@ export class WebGLProgram { vertexShader: WebGLShader; fragmentShader: WebGLShader; /** - * @deprecated Use getUniforms() instead. + * @deprecated Use getUniforms() instead. */ uniforms: any; /** - * @deprecated Use getAttributes() instead. + * @deprecated Use getAttributes() instead. */ attributes: any; @@ -6132,9 +6359,19 @@ export class VideoTexture extends Texture { * @deprecated Use TextureLoader instead. */ export namespace ImageUtils { + /** + * @deprecated + */ export let crossOrigin: string; + /** + * @deprecated + */ export function loadTexture(url: string, mapping?: Mapping, onLoad?: (texture: Texture) => void, onError?: (message: string) => void): Texture; + + /** + * @deprecated + */ export function loadTextureCube(array: string[], mapping?: Mapping, onLoad?: (texture: Texture) => void , onError?: (message: string) => void ): Texture; } @@ -6335,8 +6572,18 @@ export class CurvePath extends Curve { getCurveLengths(): number[]; getSpacedPoints(divisions?: number): T[]; getPoints(divisions?: number): T[]; + + /** + * @deprecated + */ createPointsGeometry(divisions: number): Geometry; + /** + * @deprecated + */ createSpacedPointsGeometry(divisions: number): Geometry; + /** + * @deprecated + */ createGeometry(points: T[]): Geometry; } @@ -6363,7 +6610,11 @@ export class Path extends CurvePath { currentPoint: Vector2; + /** + * @deprecated + */ fromPoints(vectors: Vector2[]): void; + setFromPoints(vectors: Vector2[]): void; moveTo(x: number, y: number): void; lineTo(x: number, y: number): void; quadraticCurveTo(aCPx: number, aCPy: number, aX: number, aY: number): void; @@ -6397,9 +6648,20 @@ export class Shape extends Path { holes: Path[]; + /** + * @deprecated + */ extrude(options?: any): ExtrudeGeometry; + + /** + * @deprecated + */ makeGeometry(options?: any): ShapeGeometry; getPointsHoles(divisions: number): Vector2[][]; + + /** + * @deprecated + */ extractAllPoints(divisions: number): { shape: Vector2[]; holes: Vector2[][]; @@ -6955,6 +7217,9 @@ export class AxisHelper extends LineSegments { constructor(size?: number); } +/** + * @deprecated + */ export class BoundingBoxHelper extends Mesh { constructor(object?: Object3D, hex?: number); @@ -6989,6 +7254,9 @@ export class DirectionalLightHelper extends Object3D { update(): void; } +/** + * @deprecated + */ export class EdgesHelper extends LineSegments { constructor(object: Object3D, hex?: number, thresholdAngle?: number); } @@ -7058,6 +7326,9 @@ export class VertexNormalsHelper extends LineSegments { update(object?: Object3D): void; } +/** + * @deprecated + */ export class WireframeHelper extends LineSegments { constructor(object: Object3D, hex?: number); } From fa96818c30b612063c64413e32ee1d4adf0432f9 Mon Sep 17 00:00:00 2001 From: s0m3on3 Date: Sun, 11 Feb 2018 02:10:30 +0200 Subject: [PATCH 342/463] [adone] add basic util.iconv --- types/adone/glosses/utils.d.ts | 220 +++++++++++++++++++++++++++++- types/adone/test/glosses/utils.ts | 18 +++ 2 files changed, 237 insertions(+), 1 deletion(-) diff --git a/types/adone/glosses/utils.d.ts b/types/adone/glosses/utils.d.ts index 480c2354ce..de2ec12c29 100644 --- a/types/adone/glosses/utils.d.ts +++ b/types/adone/glosses/utils.d.ts @@ -252,7 +252,225 @@ declare namespace adone { function delegate(object: object, property: string): I.Delegator; namespace iconv { - // TODO: need to normalize source code + namespace I { + namespace encoding { + type Native = "UTF-8" + | "UCS-2" + | "UTF-16LE" + | "ASCII" + | "Binary" + | "Base64" + | "Hex"; + + type Unicode = "UTF-16BE" | "UTF-16"; + + type Windows = "874" + | "1250" + | "1251" + | "1252" + | "1253" + | "1254" + | "1255" + | "1256" + | "1257" + | "1258" + | "CP874" + | "CP1251" + | "CP1252" + | "CP1253" + | "CP1254" + | "CP1255" + | "CP1256" + | "CP1257" + | "CP1258" + | "Win-1251" + | "Win-1252" + | "Win-1253" + | "Win-1254" + | "Win-1255" + | "Win-1256" + | "Win-1257" + | "Win-1258" + | "Windows-1251" + | "Windows-1252" + | "Windows-1253" + | "Windows-1254" + | "Windows-1255" + | "Windows-1256" + | "Windows-1257" + | "Windows-1258"; + + type ISO = "ISO-8829-1" + | "ISO-8859-2" + | "ISO-8859-3" + | "ISO-8859-4" + | "ISO-8859-5" + | "ISO-8859-6" + | "ISO-8859-7" + | "ISO-8859-8" + | "ISO-8859-9" + | "ISO-8859-10" + | "ISO-8859-11" + | "ISO-8859-12" + | "ISO-8859-13" + | "ISO-8859-14" + | "ISO-8859-15" + | "ISO-8859-16"; + + type IBM = "437" + | "737" + | "775" + | "808" + | "850" + | "852" + | "855" + | "856" + | "857" + | "858" + | "860" + | "861" + | "862" + | "863" + | "864" + | "865" + | "866" + | "869" + | "922" + | "1046" + | "1124" + | "1125" + | "1129" + | "1133" + | "1161" + | "1163" + | "CP437" + | "CP737" + | "CP775" + | "CP808" + | "CP850" + | "CP852" + | "CP855" + | "CP856" + | "CP857" + | "CP858" + | "CP860" + | "CP861" + | "CP862" + | "CP863" + | "CP864" + | "CP865" + | "CP866" + | "CP869" + | "CP922" + | "CP1046" + | "CP1124" + | "CP1125" + | "CP1129" + | "CP1133" + | "CP1161" + | "CP1163" + | "IBM437" + | "IBM737" + | "IBM775" + | "IBM808" + | "IBM850" + | "IBM852" + | "IBM855" + | "IBM856" + | "IBM857" + | "IBM858" + | "IBM860" + | "IBM861" + | "IBM862" + | "IBM863" + | "IBM864" + | "IBM865" + | "IBM866" + | "IBM869" + | "IBM922" + | "IBM1046" + | "IBM1124" + | "IBM1125" + | "IBM1129" + | "IBM1133" + | "IBM1161" + | "IBM1163"; + + type Mac = "MacCroatian" + | "MacCyrillic" + | "MacGreek" + | "MacIceland" + | "MacRoman" + | "MacThai" + | "MacTurkish" + | "MacUkraine" + | "MacCentEuro" + | "Macintosh"; + + type KOI8 = "KOI8-R" + | "KOI8-U" + | "KOI8-RU" + | "KOI8-T"; + + type Misc = "ArmSCII8" + | "RK1048" + | "TCVN" + | "GEORGIAN-ACADEMY" + | "GEORGIAN-PS" + | "PT154" + | "VISCII" + | "ISO-646-CN" + | "ISO-646-JP" + | "HP Roman-8" + | "TIS-620"; + + type Singlebyte = Windows + | ISO + | IBM + | Mac + | KOI8 + | Misc; + + type Japanese = "Shift_JIS" + | "Windows-31J" + | "windows-932" + | "EUC-JP"; + + type Chinese = "GB2312" + | "GBK" + | "GB18030" + | "Windows-936" + | "EUC-CN"; + + type Korean = "KS_C_5601" + | "Windows-949" + | "EUC-KR"; + + type TaiwanHongKong = "Big5" + | "Big5-HKSCS" + | "Windows-950"; + + type Multibyte = Japanese + | Chinese + | Korean + | TaiwanHongKong; + } + + type SupportedEncoding = encoding.Native + | encoding.Unicode + | encoding.Singlebyte + | encoding.Multibyte; + } + + const defaultCharUnicode: "�"; + + const defaultCharSingleByte: "?"; + + function encodingExists(encoding: string): boolean; + + function encode(buffer: string, encoding: I.SupportedEncoding, options?: object): Buffer; + + function decode(buffer: Buffer, encoding: I.SupportedEncoding, options?: object): string; } namespace sqlstring { diff --git a/types/adone/test/glosses/utils.ts b/types/adone/test/glosses/utils.ts index 1ffabbd59b..bd171d5629 100644 --- a/types/adone/test/glosses/utils.ts +++ b/types/adone/test/glosses/utils.ts @@ -1354,4 +1354,22 @@ namespace utilTests { match.resizeCache(10050); { const a: object = match.getCache(); } } + + namespace iconv { + const { + iconv + } = util; + + let str: string; + let buf: Buffer; + let bool: boolean; + + str = iconv.decode(Buffer.from("hello"), "CP1251"); + str = iconv.decode(Buffer.from("hello"), "CP1251", {}); + + buf = iconv.encode("привет", "CP1251"); + buf = iconv.encode("привет", "CP1251", {}); + + bool = iconv.encodingExists("cp1251"); + } } From 0c3bf5085559bceee344853ff86a48c1dac496de Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sun, 11 Feb 2018 14:09:51 +1300 Subject: [PATCH 343/463] Filled out most deprecation messages. --- types/three/three-core.d.ts | 235 +++++++++++++++++++----------------- 1 file changed, 122 insertions(+), 113 deletions(-) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index 7a845bc298..274fc6dff7 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -458,7 +458,7 @@ export class CubeCamera extends Object3D { renderTarget: WebGLRenderTargetCube; /** - * @deprecated + * @deprecated Use {@link CubeCamera#update .update()} instead */ updateCubeMap(renderer: Renderer, scene: Scene): void; @@ -638,7 +638,7 @@ export class PerspectiveCamera extends Camera { toJSON(meta?: any): any; /** - * @deprecated + * @deprecated Use {@link PerspectiveCamera#setFocalLength .setFocalLength()} and {@link PerspectiveCamera#filmGauge .filmGauge} instead. */ setLens(focalLength: number, frameHeight?: number): void; } @@ -704,7 +704,7 @@ export class BufferAttribute { setXYZ(index: number, x: number, y: number, z: number): BufferAttribute; setXYZW(index: number, x: number, y: number, z: number, w: number): BufferAttribute; /** - * @deprecated Use count instead. + * @deprecated Use {@link BufferAttribute#count .count} instead. */ length: number; } @@ -809,7 +809,7 @@ export class Float64BufferAttribute extends BufferAttribute { } /** - * @deprecated, use new THREE.BufferAttribute().setDynamic( true ). + * @deprecated Use {@link BufferAttribute#setDynamic THREE.BufferAttribute().setDynamic( true )} instead. */ export class DynamicBufferAttribute extends BufferAttribute {} @@ -911,27 +911,27 @@ export class BufferGeometry extends EventDispatcher { dispose(): void; /** - * @deprecated + * @deprecated Use {@link BufferGeometry#groups .groups} instead. */ drawcalls: any; /** - * @deprecated + * @deprecated Use {@link BufferGeometry#groups .groups} instead. */ offsets: any; /** - * @deprecated + * @deprecated Use {@link BufferGeometry#setIndex .setIndex()} instead. */ addIndex(index: any): void; /** - * @deprecated + * @deprecated Use {@link BufferGeometry#addGroup .addGroup()} instead. */ addDrawCall(start: any, count: any, indexOffset?: any): void; /** - * @deprecated + * @deprecated Use {@link BufferGeometry#clearGroups .clearGroups()} instead. */ clearDrawCalls(): void; @@ -1173,7 +1173,7 @@ export class Face3 { } /** - * @deprecated Use Face3 instead. + * @deprecated Use {@link Face3} instead. */ export class Face4 extends Face3 {} @@ -1428,11 +1428,11 @@ export class Geometry extends EventDispatcher { */ export namespace GeometryUtils { /** - * @deprecated Use geometry.merge( geometry2, matrix, materialIndexOffset ). + * @deprecated Use {@link Geometry#merge geometry.merge( geometry2, matrix, materialIndexOffset )} instead. */ export function merge(geometry1: any, geometry2: any, materialIndexOffset?: any): any; /** - * @deprecated Use geometry.center(). + * @deprecated Use {@link Geometry#center geometry.center()} instead. */ export function center(geometry: any): any; } @@ -1517,7 +1517,7 @@ export class InterleavedBufferAttribute { setXYZ(index: number, x: number, y: number, z: number): InterleavedBufferAttribute; setXYZW(index: number, x: number, y: number, z: number, w: number): InterleavedBufferAttribute; /** - * @deprecated Use count instead. + * @deprecated Use {@link InterleavedBufferAttribute#count .count} instead. */ length: number; } @@ -2121,7 +2121,7 @@ export class Loader { crossOrigin: string; /** - * @deprecated + * @deprecated Use THREE.LoaderUtils.extractUrlBase() instead. */ extractUrlBase(url: string): string; initMaterials(materials: Material[], texturePath: string): Material[]; @@ -2323,7 +2323,7 @@ export class DataTextureLoader { } /** - * @deprecated since 0.84.0. Use DataTextureLoader (renamed) + * @deprecated since 0.84.0. Use {@link DataTextureLoader} (renamed) */ export class BinaryTextureLoader extends DataTextureLoader {} @@ -2932,7 +2932,7 @@ export class MeshPhongMaterial extends Material { morphTargets: boolean; morphNormals: boolean; /** - * @deprecated + * @deprecated Use {@link MeshStandardMaterial THREE.MeshStandardMaterial} instead. */ metal: boolean; @@ -2971,7 +2971,7 @@ export class MultiMaterial extends Material { } /** - * @deprecated Use MultiMaterial instead. + * @deprecated Use {@link MultiMaterial} instead. */ export class MeshFaceMaterial extends MultiMaterial {} @@ -2994,15 +2994,15 @@ export class PointsMaterial extends Material { } /** - * @deprecated + * @deprecated Use {@link PointsMaterial THREE.PointsMaterial} instead */ export class PointCloudMaterial extends PointsMaterial {} /** - * @deprecated + * @deprecated Use {@link PointsMaterial THREE.PointsMaterial} instead */ export class ParticleBasicMaterial extends PointsMaterial {} /** - * @deprecated + * @deprecated Use {@link PointsMaterial THREE.PointsMaterial} instead */ export class ParticleSystemMaterial extends PointsMaterial {} @@ -3037,7 +3037,7 @@ export class ShaderMaterial extends Material { morphTargets: boolean; morphNormals: boolean; /** - * @deprecated Use extensions.derivatives instead. + * @deprecated Use {@link ShaderMaterial#extensions.derivatives extensions.derivatives} instead. */ derivatives: any; extensions: { derivatives: boolean; fragDepth: boolean; drawBuffers: boolean; shaderTextureLOD: boolean }; @@ -3103,11 +3103,11 @@ export class Box2 { translate(offset: Vector2): Box2; equals(box: Box2): boolean; /** - * @deprecated Use isEmpty() instead. + * @deprecated Use {@link Box2#isEmpty .isEmpty()} instead. */ empty(): any; /** - * @deprecated Use intersectsBox() instead. + * @deprecated Use {@link Box2#intersectsBox .intersectsBox()} instead. */ isIntersectionBox(b: any): any; } @@ -3148,15 +3148,15 @@ export class Box3 { translate(offset: Vector3): Box3; equals(box: Box3): boolean; /** - * @deprecated Use isEmpty() instead. + * @deprecated Use {@link Box3#isEmpty .isEmpty()} instead. */ empty(): any; /** - * @deprecated Use intersectsBox() instead. + * @deprecated Use {@link Box3#intersectsBox .intersectsBox()} instead. */ isIntersectionBox(b: any): any; /** - * @deprecated Use intersectsSphere() instead. + * @deprecated Use {@link Box3#intersectsSphere .intersectsSphere()} instead. */ isIntersectionSphere(s: any): any; } @@ -3547,7 +3547,8 @@ export namespace Math { /** * Random float from 0 to 1 with 16 bits of randomness. * Standard Math.random() creates repetitive patterns when applied over larger space. - * @deprecated Use Math.random() + * + * @deprecated Use {@link Math#random Math.random()} */ export function random16(): number; @@ -3573,14 +3574,19 @@ export namespace Math { export function isPowerOfTwo(value: number): boolean; /** - * @deprecated + * @deprecated Use {@link Math#floorPowerOfTwo .floorPowerOfTwo()} */ export function nearestPowerOfTwo(value: number): number; /** - * @deprecated + * @deprecated Use {@link Math#ceilPowerOfTwo .ceilPowerOfTwo()} */ export function nextPowerOfTwo(value: number): number; + + export function floorPowerOfTwo(value: number): number; + + export function ceilPowerOfTwo(value: number): number; + } /** @@ -3646,9 +3652,12 @@ export class Matrix3 implements Matrix { setFromMatrix4(m: Matrix4): Matrix3; /** - * @deprecated + * @deprecated Use {@link Matrix3#applyToBufferAttribute matrix3.applyToBufferAttribute( attribute )} instead. */ applyToBuffer(buffer: BufferAttribute, offset?: number, length?: number): BufferAttribute; + + applyToBufferAttribute(attribute: BufferAttribute): BufferAttribute; + multiplyScalar(s: number): Matrix3; determinant(): number; getInverse(matrix: Matrix3, throwOnDegenerate?: boolean): Matrix3; @@ -3679,18 +3688,18 @@ export class Matrix3 implements Matrix { multiplyMatrices(a: Matrix3, b: Matrix3): Matrix3; /** - * @deprecated + * @deprecated Use {@link Vector3.applyMatrix3 vector.applyMatrix3( matrix )} instead. */ multiplyVector3(vector: Vector3): any; /** - * @deprecated + * @deprecated This method has been removed completely. */ multiplyVector3Array(a: any): any; getInverse(matrix: Matrix4, throwOnDegenerate?: boolean): Matrix3; /** - * @deprecated + * @deprecated Use {@link Matrix3#toArray .toArray()} instead. */ flattenToArrayOffset(array: number[], offset: number): number[]; } @@ -3763,7 +3772,7 @@ export class Matrix4 implements Matrix { * Sets this matrix to a x b and stores the result into the flat array r. * r can be either a regular Array or a TypedArray. * - * @deprecated + * @deprecated This method has been removed completely. */ multiplyToArray(a: Matrix4, b: Matrix4, r: number[]): Matrix4; @@ -3773,9 +3782,12 @@ export class Matrix4 implements Matrix { multiplyScalar(s: number): Matrix4; /** - * @deprecated + * @deprecated Use {@link Matrix4#applyToBufferAttribute matrix4.applyToBufferAttribute( attribute )} instead. */ applyToBuffer( buffer: BufferAttribute, offset?: number, length?: number): BufferAttribute; + + applyToBufferAttribute(attribute: BufferAttribute): BufferAttribute; + /** * Computes determinant of this matrix. * Based on http://www.euclideanspace.com/maths/algebra/matrix/functions/inverse/fourD/index.htm @@ -3787,14 +3799,11 @@ export class Matrix4 implements Matrix { */ transpose(): Matrix4; - - /** * Sets the position component for this matrix from vector v. */ setPosition(v: Vector3): Matrix4; - /** * Sets this matrix to the inverse of matrix m. * Based on http://www.euclideanspace.com/maths/algebra/matrix/functions/inverse/fourD/index.htm. @@ -3877,42 +3886,42 @@ export class Matrix4 implements Matrix { toArray(): number[]; /** - * @deprecated + * @deprecated Use {@link Matrix4#copyPosition .copyPosition()} instead. */ extractPosition(m: Matrix4): Matrix4; /** - * @deprecated + * @deprecated Use {@link Matrix4#makeRotationFromQuaternion .makeRotationFromQuaternion()} instead. */ setRotationFromQuaternion(q: Quaternion): Matrix4; /** - * @deprecated + * @deprecated Use {@link Vector3#applyMatrix4 vector.applyMatrix4( matrix )} instead. */ multiplyVector3(v: any): any; /** - * @deprecated + * @deprecated Use {@link Vector4#applyMatrix4 vector.applyMatrix4( matrix )} instead. */ multiplyVector4(v: any): any; /** - * @deprecated + * @deprecated This method has been removed completely. */ multiplyVector3Array(array: number[]): number[]; /** - * @deprecated + * @deprecated Use {@link Vector3#transformDirection Vector3.transformDirection( matrix )} instead. */ rotateAxis(v: any): void; /** - * @deprecated + * @deprecated Use {@link Vector3#applyMatrix4 vector.applyMatrix4( matrix )} instead. */ crossVector(v: any): void; /** - * @deprecated + * @deprecated Use {@link Matrix4#toArray .toArray()} instead. */ flattenToArrayOffset(array: number[], offset: number): number[]; } @@ -3944,7 +3953,7 @@ export class Plane { equals(plane: Plane): boolean; /** - * @deprecated + * @deprecated Use {@link Plane#intersectsLine .intersectsLine()} instead. */ isIntersectionLine(l: any): any; } @@ -4082,7 +4091,7 @@ export class Quaternion { static slerpFlat(dst: number[], dstOffset: number, src0: number[], srcOffset: number, src1: number[], stcOffset1: number, t: number): Quaternion; /** - * @deprecated + * @deprecated Use {@link Vector#applyQuaternion vector.applyQuaternion( quaternion )} instead. */ multiplyVector3(v: any): any; } @@ -4115,17 +4124,17 @@ export class Ray { equals(ray: Ray): boolean; /** - * @deprecated + * @deprecated Use {@link Ray#intersectsBox .intersectsBox()} instead. */ isIntersectionBox(b: any): any; /** - * @deprecated + * @deprecated Use {@link Ray#intersectsPlane .intersectsPlane()} instead. */ isIntersectionPlane(p: any): any; /** - * @deprecated + * @deprecated Use {@link Ray#intersectsSphere .intersectsSphere()} instead. */ isIntersectionSphere(s: any): any; } @@ -4409,7 +4418,7 @@ export class Vector2 implements Vector { length(): number; /** - * @deprecated + * @deprecated Use {@link Vector2#manhattanLength .manhattanLength()} instead. */ lengthManhattan(): number; @@ -4434,7 +4443,7 @@ export class Vector2 implements Vector { distanceToSquared(v: Vector2): number; /** - * @deprecated + * @deprecated Use {@link Vector2#manhattanDistanceTo .manhattanDistanceTo()} instead. */ distanceToManhattan(v: Vector2): number; @@ -4616,7 +4625,7 @@ export class Vector3 implements Vector { * Computes Manhattan length of this vector. * http://en.wikipedia.org/wiki/Taxicab_geometry * - * @deprecated + * @deprecated Use {@link Vector3#manhattanLength .manhattanLength()} instead. */ lengthManhattan(): number; @@ -4678,7 +4687,7 @@ export class Vector3 implements Vector { distanceToSquared(v: Vector3): number; /** - * @deprecated + * @deprecated Use {@link Vector3#manhattanDistanceTo .manhattanDistanceTo()} instead. */ distanceToManhattan(v: Vector3): number; @@ -4697,23 +4706,23 @@ export class Vector3 implements Vector { fromBufferAttribute( attribute: BufferAttribute, index: number, offset?: number): Vector3; /** - * @deprecated + * @deprecated Use {@link Vector3#setFromMatrixPosition .setFromMatrixPosition()} instead. */ getPositionFromMatrix(m: Matrix4): Vector3; /** - * @deprecated + * @deprecated Use {@link Vector3#setFromMatrixScale .setFromMatrixScale()} instead. */ getScaleFromMatrix(m: Matrix4): Vector3; /** - * @deprecated + * @deprecated Use {@link Vector3#setFromMatrixColumn .setFromMatrixColumn()} instead. */ getColumnFromMatrix(index: number, matrix: Matrix4): Vector3; } /** - * @deprecated use THREE.Vector3 instead. + * @deprecated use {@link Vector3 THREE.Vector3} instead. */ export class Vertex extends Vector3 {} @@ -4848,7 +4857,7 @@ export class Vector4 implements Vector { length(): number; /** - * @deprecated + * @deprecated Use {@link Vector4#manhattanLength .manhattanLength()} instead. */ lengthManhattan(): number; @@ -4948,7 +4957,7 @@ export class LOD extends Object3D { toJSON(meta: any): any; /** - * @deprecated + * @deprecated Use {@link LOD#levels .levels} instead. */ objects: any[]; } @@ -5054,11 +5063,11 @@ export class Points extends Object3D { } /** - * @deprecated + * @deprecated Use {@link Points THREE.Points} instead. */ export class PointCloud extends Points {} /** - * @deprecated + * @deprecated Use {@link Points THREE.Points} instead. */ export class ParticleSystem extends Points {} @@ -5066,7 +5075,7 @@ export class Skeleton { constructor(bones: Bone[], boneInverses?: Matrix4[]); /** - * @deprecated + * @deprecated This property has been removed completely. */ useVertexTexture: boolean; identityMatrix: Matrix4; @@ -5113,7 +5122,7 @@ export class Sprite extends Object3D { } /** - * @deprecated Use Sprite instead. + * @deprecated Use {@link Sprite Sprite} instead. */ export class Particle extends Sprite {} @@ -5302,12 +5311,12 @@ export class WebGLRenderer implements Renderer { forceContextLoss(): void; /** - * @deprecated + * @deprecated Use {@link WebGLCapabilities#getMaxAnisotropy .capabilities.getMaxAnisotropy()} instead. */ getMaxAnisotropy(): number; /** - * @deprecated + * @deprecated Use {@link WebGLCapabilities#precision .capabilities.precision} instead. */ getPrecision(): string; @@ -5367,7 +5376,7 @@ export class WebGLRenderer implements Renderer { clearTarget(renderTarget: WebGLRenderTarget, color: boolean, depth: boolean, stencil: boolean): void; /** - * @deprecated + * @deprecated Use {@link WebGLState#reset .state.reset()} instead. */ resetGLState(): void; dispose(): void; @@ -5404,7 +5413,7 @@ export class WebGLRenderer implements Renderer { setTextureCube(texture: Texture, slot: number): void; getRenderTarget(): RenderTarget; /** - * @deprecated Use getRenderTarget instead. + * @deprecated Use {@link WebGLRenderer#getRenderTarget .getRenderTarget()} instead. */ getCurrentRenderTarget(): RenderTarget; setRenderTarget(renderTarget: RenderTarget): void; @@ -5416,62 +5425,62 @@ export class WebGLRenderer implements Renderer { gammaFactor: number; /** - * @deprecated + * @deprecated Use {@link WebGLShadowMap#enabled .shadowMap.enabled} instead. */ shadowMapEnabled: boolean; /** - * @deprecated + * @deprecated Use {@link WebGLShadowMap#type .shadowMap.type} instead. */ shadowMapType: ShadowMapType; /** - * @deprecated + * @deprecated Use {@link WebGLShadowMap#cullFace .shadowMap.cullFace} instead. */ shadowMapCullFace: CullFace; /** - * @deprecated + * @deprecated Use {@link WebGLExtensions#get .extensions.get( 'OES_texture_float' )} instead. */ supportsFloatTextures(): any; /** - * @deprecated + * @deprecated Use {@link WebGLExtensions#get .extensions.get( 'OES_texture_half_float' )} instead. */ supportsHalfFloatTextures(): any; /** - * @deprecated + * @deprecated Use {@link WebGLExtensions#get .extensions.get( 'OES_standard_derivatives' )} instead. */ supportsStandardDerivatives(): any; /** - * @deprecated + * @deprecated Use {@link WebGLExtensions#get .extensions.get( 'WEBGL_compressed_texture_s3tc' )} instead. */ supportsCompressedTextureS3TC(): any; /** - * @deprecated + * @deprecated Use {@link WebGLExtensions#get .extensions.get( 'WEBGL_compressed_texture_pvrtc' )} instead. */ supportsCompressedTexturePVRTC(): any; /** - * @deprecated + * @deprecated Use {@link WebGLExtensions#get .extensions.get( 'EXT_blend_minmax' )} instead. */ supportsBlendMinMax(): any; /** - * @deprecated + * @deprecated Use {@link WebGLCapabilities#vertexTextures .capabilities.vertexTextures} instead. */ supportsVertexTextures(): any; /** - * @deprecated + * @deprecated Use {@link WebGLExtensions#get .extensions.get( 'ANGLE_instanced_arrays' )} instead. */ supportsInstancedArrays(): any; /** - * @deprecated + * @deprecated Use {@link WebGLRenderer#setScissorTest .setScissorTest()} instead. */ enableScissorTest(boolean: any): any; } @@ -5536,43 +5545,43 @@ export class WebGLRenderTarget extends EventDispatcher { stencilBuffer: boolean; depthTexture: Texture; /** - * @deprecated Use texture.wrapS instead. + * @deprecated Use {@link Texture#wrapS texture.wrapS} instead. */ wrapS: any; /** - * @deprecated Use texture.wrapT instead. + * @deprecated Use {@link Texture#wrapT texture.wrapT} instead. */ wrapT: any; /** - * @deprecated Use texture.magFilter instead. + * @deprecated Use {@link Texture#magFilter texture.magFilter} instead. */ magFilter: any; /** - * @deprecated Use texture.minFilter instead. + * @deprecated Use {@link Texture#minFilter texture.minFilter} instead. */ minFilter: any; /** - * @deprecated Use texture.anisotropy instead. + * @deprecated Use {@link Texture#anisotropy texture.anisotropy} instead. */ anisotropy: any; /** - * @deprecated Use texture.offset instead. + * @deprecated Use {@link Texture#offset texture.offset} instead. */ offset: any; /** - * @deprecated Use texture.repeat instead. + * @deprecated Use {@link Texture#repeat texture.repeat} instead. */ repeat: any; /** - * @deprecated Use texture.format instead. + * @deprecated Use {@link Texture#format texture.format} instead. */ format: any; /** - * @deprecated Use texture.type instead. + * @deprecated Use {@link Texture#type texture.type} instead. */ type: any; /** - * @deprecated Use texture.generateMipmaps instead. + * @deprecated Use {@link Texture#generateMipmaps texture.generateMipmaps} instead. */ generateMipmaps: any; @@ -5855,13 +5864,13 @@ export class Uniform { type: string; value: any; /** - * @deprecated + * @deprecated Use {@link Object3D#onBeforeRender object.onBeforeRender()} instead. */ dynamic: boolean; onUpdateCallback: Function; /** - * @deprecated + * @deprecated Use {@link Object3D#onBeforeRender object.onBeforeRender()} instead. */ onUpdate(callback: Function): Uniform; } @@ -5956,11 +5965,11 @@ export class WebGLProgram { vertexShader: WebGLShader; fragmentShader: WebGLShader; /** - * @deprecated Use getUniforms() instead. + * @deprecated Use {@link WebGLProgram#getUniforms getUniforms()} instead. */ uniforms: any; /** - * @deprecated Use getAttributes() instead. + * @deprecated Use {@link WebGLProgram#getAttributes getAttributes()} instead. */ attributes: any; @@ -6030,7 +6039,7 @@ export class WebGLShadowMap { render(scene: Scene, camera: Camera): void; /** - * @deprecated + * @deprecated Use {@link WebGLShadowMap#renderReverseSided .shadowMap.renderReverseSided} instead. */ cullFace: any; } @@ -6356,7 +6365,7 @@ export class VideoTexture extends Texture { // Extras ///////////////////////////////////////////////////////////////////// /** - * @deprecated Use TextureLoader instead. + * @deprecated Use {@link TextureLoader} instead. */ export namespace ImageUtils { /** @@ -6365,12 +6374,12 @@ export namespace ImageUtils { export let crossOrigin: string; /** - * @deprecated + * @deprecated Use {@link TextureLoader THREE.TextureLoader()} instead. */ export function loadTexture(url: string, mapping?: Mapping, onLoad?: (texture: Texture) => void, onError?: (message: string) => void): Texture; /** - * @deprecated + * @deprecated Use {@link CubeTextureLoader THREE.CubeTextureLoader()} instead. */ export function loadTextureCube(array: string[], mapping?: Mapping, onLoad?: (texture: Texture) => void , onError?: (message: string) => void ): Texture; } @@ -6425,7 +6434,7 @@ export class Audio extends Object3D { getVolume(): number; setVolume(value: number): Audio; /** - * @deprecated Use AudioLoader instead. + * @deprecated Use {@link AudioLoader} instead. */ load(file: string): Audio; } @@ -6440,7 +6449,7 @@ export class AudioAnalyser { getAverageFrequency(): number; /** - * @deprecated + * @deprecated Use {@link AudioAnalyser#getFrequencyData .getFrequencyData()} instead. */ getData(file: any): any; } @@ -6574,15 +6583,15 @@ export class CurvePath extends Curve { getPoints(divisions?: number): T[]; /** - * @deprecated + * @deprecated Use {@link Geometry#setFromPoints new THREE.Geometry().setFromPoints( points )} instead. */ createPointsGeometry(divisions: number): Geometry; /** - * @deprecated + * @deprecated Use {@link Geometry#setFromPoints new THREE.Geometry().setFromPoints( points )} instead. */ createSpacedPointsGeometry(divisions: number): Geometry; /** - * @deprecated + * @deprecated Use {@link Geometry#setFromPoints new THREE.Geometry().setFromPoints( points )} instead. */ createGeometry(points: T[]): Geometry; } @@ -6611,7 +6620,7 @@ export class Path extends CurvePath { currentPoint: Vector2; /** - * @deprecated + * @deprecated Use {@link Path#setFromPoints .setFromPoints()} instead. */ fromPoints(vectors: Vector2[]): void; setFromPoints(vectors: Vector2[]): void; @@ -6649,18 +6658,18 @@ export class Shape extends Path { holes: Path[]; /** - * @deprecated + * @deprecated Use {@link ExtrudeGeometry ExtrudeGeometry()} instead. */ extrude(options?: any): ExtrudeGeometry; /** - * @deprecated + * @deprecated Use {@link ShapeGeometry ShapeGeometry()} instead. */ makeGeometry(options?: any): ShapeGeometry; getPointsHoles(divisions: number): Vector2[][]; /** - * @deprecated + * @deprecated Use {@link Shape#extractPoints .extractPoints()} instead. */ extractAllPoints(divisions: number): { shape: Vector2[]; @@ -6801,7 +6810,7 @@ export class BoxGeometry extends Geometry { } /** - * @deprecated Use BoxGeometry instead. + * @deprecated Use {@link BoxGeometry} instead. */ export class CubeGeometry extends BoxGeometry {} @@ -7218,7 +7227,7 @@ export class AxisHelper extends LineSegments { } /** - * @deprecated + * @deprecated Use {@link BoxHelper THREE.BoxHelper} instead. */ export class BoundingBoxHelper extends Mesh { constructor(object?: Object3D, hex?: number); @@ -7255,7 +7264,7 @@ export class DirectionalLightHelper extends Object3D { } /** - * @deprecated + * @deprecated Use {@link EdgesGeometry THREE.EdgesGeometry} */ export class EdgesHelper extends LineSegments { constructor(object: Object3D, hex?: number, thresholdAngle?: number); @@ -7273,7 +7282,7 @@ export class FaceNormalsHelper extends LineSegments { export class GridHelper extends LineSegments { constructor(size: number, divisions: number, color1?: Color|number, color2?: Color|number); /** - * @deprecated + * @deprecated Colors should be specified in the constructor. */ setColors(color1?: Color|number, color2?: Color|number): void; } @@ -7327,7 +7336,7 @@ export class VertexNormalsHelper extends LineSegments { } /** - * @deprecated + * @deprecated Use {@link WireframeGeometry THREE.WireframeGeometry} instead. */ export class WireframeHelper extends LineSegments { constructor(object: Object3D, hex?: number); From a877f07a500dd002874ca17b9784ab2c5b869eb7 Mon Sep 17 00:00:00 2001 From: AndersonFriaca Date: Sun, 11 Feb 2018 00:38:13 -0300 Subject: [PATCH 344/463] Types for jQuery maskMoney --- types/jquery-maskmoney/index.d.ts | 68 +++++++++++++++++++ .../jquery-maskmoney-tests.ts | 21 ++++++ types/jquery-maskmoney/tsconfig.json | 25 +++++++ types/jquery-maskmoney/tslint.json | 1 + 4 files changed, 115 insertions(+) create mode 100644 types/jquery-maskmoney/index.d.ts create mode 100644 types/jquery-maskmoney/jquery-maskmoney-tests.ts create mode 100644 types/jquery-maskmoney/tsconfig.json create mode 100644 types/jquery-maskmoney/tslint.json diff --git a/types/jquery-maskmoney/index.d.ts b/types/jquery-maskmoney/index.d.ts new file mode 100644 index 0000000000..dc5795dc90 --- /dev/null +++ b/types/jquery-maskmoney/index.d.ts @@ -0,0 +1,68 @@ +// Type definitions for jQuery maskMoney 3.0 +// Project: https://github.com/plentz/jquery-maskmoney +// Definitions by: Anderson Friaça +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +/// + +declare namespace jQueryMaskMoney { + interface Options { + /** + * The prefix to be displayed before the value entered + */ + prefix?: string; + + /** + * The prefix to be displayed after the value entered + */ + suffix?: string; + + /** + * Set if the prefix and suffix will stay in the field's value after the user exits the field + */ + affixesStay?: boolean; + + /** + * The thousands separator + */ + thousands?: string; + + /** + * The decimal separator + */ + decimal?: string; + + /** + * How many decimal places are allowed + */ + precision?: number; + + /** + * Setting to prevent users from inputing zero + */ + allowZero?: boolean; + + /** + * Setting to prevent negative values + */ + allowNegative?: boolean; + } +} +interface JQuery { + /** + * Apply mask to input, can be pass default value to it + */ + maskMoney(methodName: 'mask', defaultValue?: number): JQuery; + + /** + * Returns a float value from input field masked + */ + maskMoney(method?: 'unmasked'): number[]; + + /** + * Apply mask to input when the argument are options + * Remove maskMoney from an element when the argument is "destroy" + */ + maskMoney(methodOrOption?: 'destroy' | jQueryMaskMoney.Options): JQuery; +} diff --git a/types/jquery-maskmoney/jquery-maskmoney-tests.ts b/types/jquery-maskmoney/jquery-maskmoney-tests.ts new file mode 100644 index 0000000000..77da50e7bd --- /dev/null +++ b/types/jquery-maskmoney/jquery-maskmoney-tests.ts @@ -0,0 +1,21 @@ +// basic usage +$(document).ready(() => { + $('#input').maskMoney(); + $('#input').maskMoney('mask'); + $('#input').maskMoney('mask', 1999.99); + $('#input').maskMoney('unmasked'); + $('#input').maskMoney('destroy'); + + // with options + const options: jQueryMaskMoney.Options = { + prefix: 'R$ ', + suffix: ' R$', + affixesStay: false, + thousands: '.', + decimal: ',', + precision: 3, + allowZero: true, + allowNegative: true + }; + $('#input').maskMoney(options); +}); diff --git a/types/jquery-maskmoney/tsconfig.json b/types/jquery-maskmoney/tsconfig.json new file mode 100644 index 0000000000..7491e18491 --- /dev/null +++ b/types/jquery-maskmoney/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "jquery-maskmoney-tests.ts" + ] +} \ No newline at end of file diff --git a/types/jquery-maskmoney/tslint.json b/types/jquery-maskmoney/tslint.json new file mode 100644 index 0000000000..d04fe2e1fa --- /dev/null +++ b/types/jquery-maskmoney/tslint.json @@ -0,0 +1 @@ +{"extends": "dtslint/dt.json"} \ No newline at end of file From bfd3533b4fb1e3abd5b5f71cf5dde1dcb94fbb66 Mon Sep 17 00:00:00 2001 From: smhxx Date: Sat, 10 Feb 2018 21:40:28 -0600 Subject: [PATCH 345/463] atom: fix callback signature for Directory.getEntries() --- types/atom/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/atom/index.d.ts b/types/atom/index.d.ts index f83f751657..d1b1d42d6d 100644 --- a/types/atom/index.d.ts +++ b/types/atom/index.d.ts @@ -3341,7 +3341,7 @@ export class Directory { getEntriesSync(): Array; /** Reads file entries in this directory from disk asynchronously. */ - getEntries(callback: (error: Error, entries: Array) => void): void; + getEntries(callback: (error: Error|null, entries: Array) => void): void; /** * Determines if the given path (real or symbolic) is inside this directory. This From 6f797b3721b76e883bc86aa3f5fee56d505a7d56 Mon Sep 17 00:00:00 2001 From: s0m3on3 Date: Sun, 11 Feb 2018 17:47:51 +0200 Subject: [PATCH 346/463] [adone] is, net * [net] add basic http.client * [is] improve type guards --- types/adone/glosses/is.d.ts | 24 +- types/adone/glosses/net/http/client.d.ts | 275 +++++++++++ types/adone/glosses/net/http/index.d.ts | 7 + types/adone/glosses/net/index.d.ts | 7 + types/adone/index.d.ts | 1 + types/adone/test/glosses/is.ts | 92 +++- types/adone/test/glosses/net/http/client.ts | 499 ++++++++++++++++++++ types/adone/tsconfig.json | 4 + 8 files changed, 886 insertions(+), 23 deletions(-) create mode 100644 types/adone/glosses/net/http/client.d.ts create mode 100644 types/adone/glosses/net/http/index.d.ts create mode 100644 types/adone/glosses/net/index.d.ts create mode 100644 types/adone/test/glosses/net/http/client.ts diff --git a/types/adone/glosses/is.d.ts b/types/adone/glosses/is.d.ts index 9065da138b..20d898ca7b 100644 --- a/types/adone/glosses/is.d.ts +++ b/types/adone/glosses/is.d.ts @@ -99,12 +99,12 @@ declare namespace adone { /** * Checks whether the given object is not a primitive, i.e. neither `undefined` nor `null` nor number nor string nor boolean nor symbol) */ - export function object(obj: any): boolean; + export function object(obj: any): obj is object; /** * Checks whether the given object is a plain object, i.e. created by Object */ - export function plainObject(obj: any): boolean; + export function plainObject(obj: any): obj is object; /** * Checks whether the given object is an adone namespace @@ -120,7 +120,7 @@ declare namespace adone { /** * Checks whether the given object is empty, i.e. it is an object(not a primitive), and Object.keys returns an empty array */ - export function emptyObject(obj: any): boolean; + export function emptyObject(obj: any): obj is object; /** * Checks whether the given object has the given owned property @@ -140,7 +140,7 @@ declare namespace adone { /** * Checks whether the given object is like an array, i.e. it is not a primitive, not a function and has length */ - export function arrayLikeObject(obj: any): boolean; + export function arrayLikeObject(obj: any): obj is ArrayLike; /** * Checks whether the given array has the given value @@ -258,7 +258,7 @@ declare namespace adone { /** * Checks whether the given object is a generator function */ - export function generator(obj: any): boolean; + export function generator(obj: any): obj is GeneratorFunction; /** * Checks whether the given object is NaN @@ -320,12 +320,12 @@ declare namespace adone { /** * Checks whether the given object is an adone subsystem */ - export function subsystem(obj: any): boolean; + export function subsystem(obj: any): obj is adone.application.Subsystem; /** * Checks whether the given object is an adone application */ - export function application(obj: any): boolean; + export function application(obj: any): obj is adone.application.Application; /** * Checks whether the given object is an adone logger @@ -335,22 +335,22 @@ declare namespace adone { /** * Checks whether the given object is a core stream */ - export function coreStream(obj: any): boolean; + export function coreStream(obj: any): obj is adone.stream.core.Stream; /** * Checks whether the given object is a fast local map stream */ - export function fastLocalMapStream(obj: any): boolean; + export function fastLocalMapStream(obj: any): obj is adone.fast.I.LocalMapStream; /** * Checks whether the given object is a fast local stream */ - export function fastLocalStream(obj: any): boolean; + export function fastLocalStream(obj: any): obj is adone.fast.I.LocalStream; /** * Checks whether the given object is a fast stream */ - export function fastStream(obj: any): boolean; + export function fastStream(obj: any): obj is adone.fast.I.Stream; /** * Checks whether the given object is a genesis netron @@ -430,7 +430,7 @@ declare namespace adone { /** * Checks whether the given object is iterable, has defined Symbol.iterator property */ - export function iterable(obj: any): boolean; + export function iterable(obj: any): obj is Iterable; /** * true if the OS is Windows diff --git a/types/adone/glosses/net/http/client.d.ts b/types/adone/glosses/net/http/client.d.ts new file mode 100644 index 0000000000..33bccc95ac --- /dev/null +++ b/types/adone/glosses/net/http/client.d.ts @@ -0,0 +1,275 @@ +declare namespace adone.net.http { + namespace client { + namespace I { + interface RequestHeaders { + "Accept"?: string; + "Accept-Charset"?: string; + "Accept-Encoding"?: string; + "Accept-Language"?: string; + "Accept-Datetime"?: string; + "Access-Control-Request-Method"?: string; + "Access-Control-Request-Headers"?: string; + "Authorization"?: string; + "Cache-Control"?: string; + "Connection"?: string; + "Cookie"?: string; + "Content-Length"?: string; + "Content-MD5"?: string; + "Content-Type"?: string; + "Date"?: string; + "Expect"?: string; + "Forwarded"?: string; + "From"?: string; + "Host"?: string; + "If-Match"?: string; + "If-Modified-Since"?: string; + "If-None-Match"?: string; + "If-Range"?: string; + "If-Unmodified-Since"?: string; + "Max-Forwards"?: string; + "Origin"?: string; + "Pragma"?: string; + "Proxy-Authorization"?: string; + "Range"?: string; + "Referer"?: string; + "TE"?: string; + "User-Agent"?: string; + "Upgrade"?: string; + "Via"?: string; + "Warning"?: string; + "X-Requested-With"?: string; + "DNT"?: string; + "X-Forwarded-For"?: string; + "X-Forwarded-Host"?: string; + "X-Forwarded-Proto"?: string; + "Front-End-Https"?: string; + "X-Http-Method-Override"?: string; + "X-ATT-DeviceId"?: string; + "X-Wap-Profile"?: string; + "Proxy-Connection"?: string; + "X-UIDH"?: string; + "X-Csrf-Token"?: string; + "X-Request-ID"?: string; + "X-Correlation-ID"?: string; + + [name: string]: string | undefined; + } + + interface ResponseHeaders { + "accept-patch": string | undefined; + "accept-ranges": string | undefined; + "access-control-allow-credentials": string | undefined; + "access-control-allow-headers": string | undefined; + "access-control-allow-methods": string | undefined; + "access-control-allow-origin": string | undefined; + "access-control-expose-headers": string | undefined; + "access-control-max-age": string | undefined; + "age": string | undefined; + "allow": string | undefined; + "alt-svc": string | undefined; + "cache-control": string | undefined; + "connection": string| undefined; + "content-disposition": string | undefined; + "content-encoding": string| undefined; + "content-language": string | undefined; + "content-length": string| undefined; + "content-location": string| undefined; + "content-md5": string| undefined; + "content-range": string| undefined; + "content-security-policy": string | undefined; + "content-type": string| undefined; + "date": string| undefined; + "etag": string| undefined; + "expires": string| undefined; + "keep-alive": string | undefined; + "last-modified": string | undefined; + "link": string| undefined; + "location": string| undefined; + "p3p": string| undefined; + "pragma": string| undefined; + "proxy-authenticate": string | undefined; + "public-key-pins": string| undefined; + "referer-policy": string | undefined; + "refresh": string | undefined; + "retry-after": string | undefined; + "server": string | undefined; + "set-cookie": string | undefined; + "status": string | undefined; + "strict-transport-security": string| undefined; + "timing-allow-origin": string | undefined; + "tk": string| undefined; + "transfer-encoding": string | undefined; + "upgrade-insecure-requests": string | undefined; + "upgrade": string| undefined; + "vary": string | undefined; + "via": string| undefined; + "warning": string| undefined; + "www-authenticate": string | undefined; + "x-content-duration": string | undefined; + "x-content-security-policy": string | undefined; + "x-content-type-options": string | undefined; + "x-correlation-id": string | undefined; + "x-frame-options": string| undefined; + "x-powered-by": string | undefined; + "x-request-id": string | undefined; + "x-ua-compatible": string | undefined; + "x-webkit-csp": string | undefined; + "x-xss-protection": string | undefined; + + [header: string]: string | undefined; + } + + interface Response { + status: number; + statusText: string; + headers: ResponseHeaders; + data: T; + } + + type Transformer = (data: Data, headers: object, config: I.Options) => Data; + + interface FormValueOptions { + header?: string | { [key: string]: string }; + knownLength?: number; + filename?: string; + filepath?: string; + contentType?: string; + } + + type FormValue = string | Buffer | nodestd.stream.Readable | { + value: string | Buffer | nodestd.stream.Readable; + options: FormValueOptions + }; + + interface UploadProgressEvent { + lengthComputable: boolean; + loaded: number; + total: number; + } + + interface ProxyObject { + protocol?: string; + host?: string; + port?: number; + auth?: { + username?: string; + password?: string; + }; + } + + interface Config { + adapter(config: I.Config): Promise>; + transformRequest: Transformer[]; + transformResponse: Transformer[]; + timeout: number; + xsrfCookieName: string; + xsrfHeaderName: string; + maxContentLength: number; + validateStatus: (status: number) => boolean; + responseType: "buffer" | "string" | "stream" | "json"; + responseEncoding: adone.util.iconv.I.SupportedEncoding; + method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS"; + headers: RequestHeaders; + data: Data; + formData: { + [formKey: string]: FormValue | FormValue[]; + }; + auth: { + username?: string; + password?: string; + }; + httpsAgent: object; + httpAgent: object; + params: object; + rejectUnauthorized: boolean; + proxy: string | ProxyObject | false; + transport: object; + maxRedirects: number; + cancelToken: CancelToken; + onUploadProgress(event: UploadProgressEvent): void; + baseURL: string; + paramsSerializer(params: object): string; + } + + type Options = Partial; + + type Data = string | Buffer | ArrayBuffer | nodestd.stream.Readable | ArrayBufferView | object | undefined; + + interface Request extends Client { + (config: I.Options, ...args: any[]): Promise; + } + } + + class Client { + constructor(options?: I.Options); + + request(config: I.Options & { responseType: "json" }, ...args: any[]): Promise>; + request(config: I.Options & { responseType: "string" }, ...args: any[]): Promise>; + request(config: I.Options & { responseType: "buffer" }, ...args: any[]): Promise>; + request(config: I.Options & { responseType: "stream" }, ...args: any[]): Promise>; + request(config: I.Options, ...args: any[]): Promise>; + + get(url: string, options: I.Options & { responseType: "string" }): Promise>; + get(url: string, options: I.Options & { responseType: "buffer" }): Promise>; + get(url: string, options: I.Options & { responseType: "stream" }): Promise>; + get(url: string, options?: I.Options): Promise>; + + post(url: string, data: I.Data, options: I.Options & { responseType: "string" }): Promise>; + post(url: string, data: I.Data, options: I.Options & { responseType: "buffer" }): Promise>; + post(url: string, data: I.Data, options: I.Options & { responseType: "stream" }): Promise>; + post(url: string, data?: I.Data, options?: I.Options): Promise>; + + put(url: string, data: I.Data, options: I.Options & { responseType: "string" }): Promise>; + put(url: string, data: I.Data, options: I.Options & { responseType: "buffer" }): Promise>; + put(url: string, data: I.Data, options: I.Options & { responseType: "stream" }): Promise>; + put(url: string, data?: I.Data, options?: I.Options): Promise>; + + patch(url: string, data: I.Data, options: I.Options & { responseType: "string" }): Promise>; + patch(url: string, data: I.Data, options: I.Options & { responseType: "buffer" }): Promise>; + patch(url: string, data: I.Data, options: I.Options & { responseType: "stream" }): Promise>; + patch(url: string, data?: I.Data, options?: I.Options): Promise>; + + delete(url: string, options: I.Options & { responseType: "string" }): Promise>; + delete(url: string, options: I.Options & { responseType: "buffer" }): Promise>; + delete(url: string, options: I.Options & { responseType: "stream" }): Promise>; + delete(url: string, options?: I.Options): Promise>; + + options(url: string, options: I.Options & { responseType: "string" }): Promise>; + options(url: string, options: I.Options & { responseType: "buffer" }): Promise>; + options(url: string, options: I.Options & { responseType: "stream" }): Promise>; + options(url: string, options?: I.Options): Promise>; + } + + class Cancel { + message: string; + + constructor(message: string); + } + + namespace I { + type Canceller = (message?: string) => void; + + interface CancelTokenSource { + token: CancelToken; + cancel: Canceller; + } + } + + class CancelToken { + promise: Promise; + reason?: Cancel; + + constructor(executor: I.Canceller); + + throwIfRequested(): void; + + static source(): I.CancelTokenSource; + } + + const request: I.Request; + + function create(options?: I.Options): I.Request; + + function isCancel(obj: any): obj is Cancel; + } +} diff --git a/types/adone/glosses/net/http/index.d.ts b/types/adone/glosses/net/http/index.d.ts new file mode 100644 index 0000000000..a4fbe478d8 --- /dev/null +++ b/types/adone/glosses/net/http/index.d.ts @@ -0,0 +1,7 @@ +/// + +declare namespace adone.net { + namespace http { + // + } +} diff --git a/types/adone/glosses/net/index.d.ts b/types/adone/glosses/net/index.d.ts new file mode 100644 index 0000000000..5e773e4601 --- /dev/null +++ b/types/adone/glosses/net/index.d.ts @@ -0,0 +1,7 @@ +/// + +declare namespace adone { + namespace net { + // + } +} diff --git a/types/adone/index.d.ts b/types/adone/index.d.ts index 4b1620cc15..abcf5165c2 100644 --- a/types/adone/index.d.ts +++ b/types/adone/index.d.ts @@ -21,6 +21,7 @@ /// /// /// +/// /// /// /// diff --git a/types/adone/test/glosses/is.ts b/types/adone/test/glosses/is.ts index 2065dfe01b..045818f0ec 100644 --- a/types/adone/test/glosses/is.ts +++ b/types/adone/test/glosses/is.ts @@ -99,15 +99,34 @@ namespace isTests { } } { const a: boolean = is.json({}); } - { const a: boolean = is.object({}); } - { const a: boolean = is.plainObject({}); } + { + const a: boolean = is.object({}); + const b: any = 2; + if (is.object(b)) { + const c: object = b; + } + } + { + const a: boolean = is.plainObject({}); + const b: any = 2; + if (is.plainObject(b)) { + const c: object = b; + } + } { const a: boolean = is.class({}); } { const a: boolean = is.emptyObject({}); } { const a: boolean = is.propertyOwned({}, "a"); } { const a: boolean = is.propertyDefined({}, "a"); } { const a: boolean = is.conforms({}, {}); } { const a: boolean = is.conforms({}, {}, true); } - { const a: boolean = is.arrayLikeObject({}); } + { + const a: boolean = is.arrayLikeObject({}); + const b: any = {}; + if (is.arrayLikeObject(b)) { + const c: number = b.length; + b[0]; + } + } { const a: boolean = is.inArray(1, [1, 2, 3]); } { const a: boolean = is.inArray(1, [1, 2, 3], 0); } { const a: boolean = is.inArray(1, [1, 2, 3], 0, (a, b) => a === b); } @@ -167,7 +186,13 @@ namespace isTests { } } { const a: boolean = is.callback({}); } - { const a: boolean = is.generator({}); } + { + const a: boolean = is.generator({}); + const b: any = 2; + if (is.generator(b)) { + b().next(); + } + } { const a: boolean = is.nan({}); } { const a: boolean = is.finite({}); @@ -238,13 +263,51 @@ namespace isTests { } } { const a: boolean = is.transform({}); } - { const a: boolean = is.subsystem({}); } - { const a: boolean = is.application({}); } + { + const a: boolean = is.subsystem({}); + const b: any = 2; + if (is.subsystem(b)) { + b.configureSubsystems().then(() => {}); + } + } + { + const a: boolean = is.application({}); + const b: any = 2; + if (is.application(b)) { + b.exitOnSignal("SIGINT"); + } + } { const a: boolean = is.logger({}); } - { const a: boolean = is.coreStream({}); } - { const a: boolean = is.fastStream({}); } - { const a: boolean = is.fastLocalStream({}); } - { const a: boolean = is.fastLocalMapStream({}); } + { + const a: boolean = is.coreStream({}); + const b: any = 2; + if (is.coreStream(b)) { + b.map((x) => 2).forEach((t: number) => { + // + }); + } + } + { + const a: boolean = is.fastStream({}); + const b: any = 2; + if (is.fastStream(b)) { + b.compress("deflate"); + } + } + { + const a: boolean = is.fastLocalStream({}); + const b: any = 2; + if (is.fastLocalStream(b)) { + b.compress("gz"); + } + } + { + const a: boolean = is.fastLocalMapStream({}); + const b: any = 2; + if (is.fastLocalMapStream(b)) { + b.decompress("gz"); + } + } { const a: boolean = is.genesisNetron({}); } { const a: boolean = is.genesisPeer({}); } { const a: boolean = is.netronAdapter({}); } @@ -260,7 +323,14 @@ namespace isTests { { const a: boolean = is.netronStub({}); } { const a: boolean = is.netronRemoteStub({}); } { const a: boolean = is.netronStream({}); } - { const a: boolean = is.iterable({}); } + { + const a: boolean = is.iterable({}); + const b: any = 2; + if (is.iterable(b)) { + const it = b[Symbol.iterator](); + it.next(); + } + } { const a: boolean = is.windows; } { const a: boolean = is.linux; } { const a: boolean = is.freebsd; } diff --git a/types/adone/test/glosses/net/http/client.ts b/types/adone/test/glosses/net/http/client.ts new file mode 100644 index 0000000000..0992c1576c --- /dev/null +++ b/types/adone/test/glosses/net/http/client.ts @@ -0,0 +1,499 @@ +namespace adoneTests.net.http.client { + const { + net: { + http: { + client + } + } + } = adone; + + let bool: boolean; + let num: number; + let str: string; + let buf: Buffer; + let stream: nodestd.stream.Readable; + + namespace Client { + const { + Client + } = client; + + new Client(); + new Client({}); + new Client({ + auth: { + username: "a" + } + }); + new Client({ + auth: { + password: "a" + } + }); + new Client({ + cancelToken: new client.CancelToken(() => {}) + }); + new Client({ + data: Buffer.from("hello") + }); + new Client({ + data: "hello" + }); + new Client({ + data: adone.fs.createReadStream(__filename) + }); + new Client({ + data: new ArrayBuffer(10) + }); + new Client({ + formData: { + a: "string" + } + }); + new Client({ + formData: { + a: ["string"] + } + }); + new Client({ + formData: { + a: [adone.fs.createReadStream(__filename)] + } + }); + new Client({ + formData: { + a: { + value: "string", + options: {} + } + } + }); + new Client({ + formData: { + a: { + value: "string", + options: { + contentType: "a" + } + } + } + }); + new Client({ + formData: { + a: { + value: "string", + options: { + filename: "a" + } + } + } + }); + new Client({ + formData: { + a: { + value: "string", + options: { + header: "a" + } + } + } + }); + new Client({ + formData: { + a: { + value: "string", + options: { + header: { + a: "a" + } + } + } + } + }); + new Client({ + formData: { + a: { + value: "string", + options: { + knownLength: 100500 + } + } + } + }); + new Client({ + formData: { + a: [{ + value: "string", + options: { + knownLength: 100500 + } + }] + } + }); + new Client({ + headers: { + "User-Agent": "true" + } + }); + new Client({ + httpAgent: {} + }); + new Client({ + httpsAgent: {} + }); + new Client({ + maxContentLength: 100500 + }); + new Client({ + maxRedirects: 100500 + }); + new Client({ + method: "GET" + }); + new Client({ + onUploadProgress(event) { + bool = event.lengthComputable; + num = event.loaded; + num = event.total; + } + }); + new Client({ + params: { + a: 1 + } + }); + new Client({ + paramsSerializer(params: object) { + return "asd"; + } + }); + new Client({ + proxy: "socks5://localhost" + }); + new Client({ + proxy: { + protocol: "socks5", + host: "127.0.0.1", + port: 9000, + auth: { + username: "hello", + password: "world" + } + } + }); + + new Client({ + rejectUnauthorized: true + }); + new Client({ + responseEncoding: "CP1251" + }); + new Client({ + responseType: "stream" + }); + new Client({ + timeout: 100 + }); + new Client({ + transformRequest: [(data, headers, config) => { + return data; + }] + }); + new Client({ + transformResponse: [(data, headers, config) => { + return data; + }] + }); + new Client({ + transport: adone.std.http + }); + new Client({ + validateStatus(status) { + return status > 100; + } + }); + new Client({ + xsrfCookieName: "a" + }); + new Client({ + xsrfHeaderName: "a" + }); + + const req = new Client(); + + namespace request { + req.request({ + method: "GET" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + const len = resp.headers["content-length"]; + if (!adone.is.undefined(len)) { + str = len; + } + const data = resp.data; + if (!adone.is.object(data)) { + str = data; + } + }); + req.request({ + method: "GET", + responseType: "string" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + str = resp.data; + }); + req.request({ + method: "GET", + responseType: "buffer" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + buf = resp.data; + }); + req.request({ + method: "GET", + responseType: "stream" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + stream = resp.data; + }); + } + + namespace get { + req.get("url").then((resp) => { + num = resp.status; + str = resp.statusText; + const data = resp.data; + if (!adone.is.object(data)) { + str = data; + } + }); + req.get("url", { + responseType: "string" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + str = resp.data; + }); + req.get("url", { + responseType: "buffer" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + buf = resp.data; + }); + req.get("url", { + responseType: "stream" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + stream = resp.data; + }); + } + + namespace post { + req.post("url", {}).then((resp) => { + num = resp.status; + str = resp.statusText; + const data = resp.data; + if (!adone.is.object(data)) { + str = data; + } + }); + req.post("url", {}, { + responseType: "string" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + str = resp.data; + }); + req.post("url", {}, { + responseType: "buffer" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + buf = resp.data; + }); + req.post("url", {}, { + responseType: "stream" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + stream = resp.data; + }); + } + + namespace put { + req.put("url", {}).then((resp) => { + num = resp.status; + str = resp.statusText; + const data = resp.data; + if (!adone.is.object(data)) { + str = data; + } + }); + req.put("url", {}, { + responseType: "string" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + str = resp.data; + }); + req.put("url", {}, { + responseType: "buffer" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + buf = resp.data; + }); + req.put("url", {}, { + responseType: "stream" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + stream = resp.data; + }); + } + + namespace patch { + req.patch("url", {}).then((resp) => { + num = resp.status; + str = resp.statusText; + const data = resp.data; + if (!adone.is.object(data)) { + str = data; + } + }); + req.patch("url", {}, { + responseType: "string" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + str = resp.data; + }); + req.patch("url", {}, { + responseType: "buffer" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + buf = resp.data; + }); + req.patch("url", {}, { + responseType: "stream" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + stream = resp.data; + }); + } + + namespace _delete { + req.delete("url").then((resp) => { + num = resp.status; + str = resp.statusText; + const data = resp.data; + if (!adone.is.object(data)) { + str = data; + } + }); + req.delete("url", { + responseType: "string" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + str = resp.data; + }); + req.delete("url", { + responseType: "buffer" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + buf = resp.data; + }); + req.delete("url", { + responseType: "stream" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + stream = resp.data; + }); + } + + namespace options { + req.options("url").then((resp) => { + num = resp.status; + str = resp.statusText; + const data = resp.data; + if (!adone.is.object(data)) { + str = data; + } + }); + req.options("url", { + responseType: "string" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + str = resp.data; + }); + req.options("url", { + responseType: "buffer" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + buf = resp.data; + }); + req.options("url", { + responseType: "stream" + }).then((resp) => { + num = resp.status; + str = resp.statusText; + stream = resp.data; + }); + } + } + + namespace request { + client.request.get("htllo").then((x) => { + num = x.status; + }); + } + + namespace create { + client.create(); + client.create({}); + const req = client.create({ + headers: { + "User-Agent": "Hello" + } + }); + req.get("hello world").then((x) => { + num = x.status; + }); + } + + namespace cancel { + const { + Cancel, + CancelToken, + isCancel + } = client; + + new CancelToken((s: string) => 123).promise.then((x) => { + str = x.message; + }); + new CancelToken((s: string) => 123).reason; + CancelToken.source().token.promise; + CancelToken.source().cancel("hello"); + + new Cancel("hello").message; + + const a: any = 2; + + if (isCancel(a)) { + str = a.message; + } + } +} diff --git a/types/adone/tsconfig.json b/types/adone/tsconfig.json index 63a1c88ea8..5764b2d24b 100644 --- a/types/adone/tsconfig.json +++ b/types/adone/tsconfig.json @@ -61,6 +61,9 @@ "glosses/math/matrix.d.ts", "glosses/math/simd.d.ts", "glosses/meta.d.ts", + "glosses/net/http/client.d.ts", + "glosses/net/http/index.d.ts", + "glosses/net/index.d.ts", "glosses/promise.d.ts", "glosses/regex.d.ts", "glosses/semver.d.ts", @@ -120,6 +123,7 @@ "test/glosses/math/matrix.ts", "test/glosses/math/simd.ts", "test/glosses/meta.ts", + "test/glosses/net/http/client.ts", "test/glosses/promise.ts", "test/glosses/regex.ts", "test/glosses/semver.ts", From 0ea140bc63eb343d8211eb8c06eb994fe4c46ba7 Mon Sep 17 00:00:00 2001 From: s0m3on3 Date: Sun, 11 Feb 2018 21:20:05 +0200 Subject: [PATCH 347/463] [adone.std] add http2, module, perf_hooks --- types/adone/glosses/std.d.ts | 6 ++++++ types/adone/test/glosses/std.ts | 14 ++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/types/adone/glosses/std.d.ts b/types/adone/glosses/std.d.ts index dc2bb697c2..376b814d3e 100644 --- a/types/adone/glosses/std.d.ts +++ b/types/adone/glosses/std.d.ts @@ -7,6 +7,7 @@ import stream = require("stream"); import url = require("url"); import net = require("net"); import http = require("http"); +import http2 = require("http2"); import https = require("https"); import child_process = require("child_process"); import os = require("os"); @@ -20,6 +21,7 @@ import crypto = require("crypto"); import vm = require("vm"); import v8 = require("v8"); import domain = require("domain"); +import module = require("module"); import tty = require("tty"); import buffer = require("buffer"); import constants = require("constants"); @@ -29,6 +31,7 @@ import console = require("console"); import dns = require("dns"); import timers = require("timers"); import dgram = require("dgram"); +import perf_hooks = require("perf_hooks"); export { assert, @@ -40,6 +43,7 @@ export { url, net, http, + http2, https, child_process, os, @@ -53,6 +57,7 @@ export { vm, v8, domain, + module, tty, buffer, constants, @@ -62,6 +67,7 @@ export { dns, timers, dgram, + perf_hooks }; export as namespace nodestd; diff --git a/types/adone/test/glosses/std.ts b/types/adone/test/glosses/std.ts index 9bcb6687d4..a84d9cc901 100644 --- a/types/adone/test/glosses/std.ts +++ b/types/adone/test/glosses/std.ts @@ -39,6 +39,12 @@ namespace stdTests { std.http.get("http://localhost").end(); } + namespace http2 { + std.http2.connect("somewhere").on("stream", (stream) => { + stream.pipe(process.stdout); + }); + } + namespace https { std.https.get("https://adone.io").end(); } @@ -91,6 +97,10 @@ namespace stdTests { std.domain.create().members; } + namespace module { + new std.module.Module("1").exports; + } + namespace tty { const a: boolean = std.tty.isatty(1); } @@ -126,4 +136,8 @@ namespace stdTests { namespace dgram { std.dgram.createSocket("udp4").bind(31337); } + + namespace perf_hooks { + std.perf_hooks.performance.measure("1", "2", "3"); + } } From 33b51aea483f8a82e814c48ec0998a463c654b21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danilo=20B=C3=BCrger?= Date: Sun, 11 Feb 2018 22:50:20 +0100 Subject: [PATCH 348/463] [react-native-navigation] Make navigator a class Navigator is exported by rnn and is a class. cc @egorshulga --- types/react-native-navigation/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-native-navigation/index.d.ts b/types/react-native-navigation/index.d.ts index 893a904f73..c016008fba 100644 --- a/types/react-native-navigation/index.d.ts +++ b/types/react-native-navigation/index.d.ts @@ -102,7 +102,7 @@ export interface LightBox { adjustSoftInput?: 'nothing' | 'pan' | 'resize' | 'unspecified'; } -export interface Navigator { +export class Navigator { push(params: PushedScreen): void; pop(params?: { animated?: boolean; animationType?: 'fade' | 'slide-horizontal'; }): void; popToRoot(params?: { animated?: boolean; animationType?: 'fade' | 'slide-horizontal'; }): void; From bc7c6c543c1cf39b4204d443f25059c9264fbc4b Mon Sep 17 00:00:00 2001 From: Lautaro Dragan Date: Sun, 11 Feb 2018 23:37:10 -0300 Subject: [PATCH 349/463] bitcore-lib: set strictNullChecks to true --- types/bitcore-lib/tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/bitcore-lib/tsconfig.json b/types/bitcore-lib/tsconfig.json index 9730553f79..156908fedc 100644 --- a/types/bitcore-lib/tsconfig.json +++ b/types/bitcore-lib/tsconfig.json @@ -5,7 +5,7 @@ "target": "es6", "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ @@ -20,4 +20,4 @@ "index.d.ts", "bitcore-lib-tests.ts" ] -} \ No newline at end of file +} From 73d5aca18ee6a5a90fea90f0c1c706e8bde0406c Mon Sep 17 00:00:00 2001 From: Arylo Date: Mon, 12 Feb 2018 16:03:39 +0800 Subject: [PATCH 350/463] Add type definition for should-sinon --- types/should-sinon/index.d.ts | 91 ++++++++++++++++++++++++ types/should-sinon/package.json | 6 ++ types/should-sinon/should-sinon-tests.ts | 13 ++++ types/should-sinon/tsconfig.json | 24 +++++++ types/should-sinon/tslint.json | 3 + 5 files changed, 137 insertions(+) create mode 100644 types/should-sinon/index.d.ts create mode 100644 types/should-sinon/package.json create mode 100644 types/should-sinon/should-sinon-tests.ts create mode 100644 types/should-sinon/tsconfig.json create mode 100644 types/should-sinon/tslint.json diff --git a/types/should-sinon/index.d.ts b/types/should-sinon/index.d.ts new file mode 100644 index 0000000000..34cb3010cc --- /dev/null +++ b/types/should-sinon/index.d.ts @@ -0,0 +1,91 @@ +// Type definitions for should-sinon 0.0 +// Project: https://github.com/shouldjs/sinon +// Definitions by: AryloYeung +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 + +import * as s from "sinon"; +import should = require("should"); + +declare module "sinon" { + interface SinonSpy { + should: ShouldSinonAssertion; + } + interface ShouldSinonAssertion extends should.Assertion { + /** + * Assert stub was called with given object as this always. So if you call stub several times + * all should be with the same object + */ + alwaysCalledOn(obj: any): void; + alwaysCalledWith(...args: any[]): void; + /** + * Passes if the spy was always called with the provided arguments and no others. + */ + alwaysCalledWithExactly(...args: any[]): void; + /** + * Returns true if spy was always called with matching arguments (and possibly others). + */ + alwaysCalledWithMatch(...args: any[]): void; + alwaysCalledWithNew(): void; + /** + * Passes if the spy always threw the given exception. The exception can be a + * string denoting its type, or an actual object. If no argument is + * provided, the assertion passes if the spy ever threw any exception. + */ + alwaysThrew(ex: string | Error): void; + /** + * Assert stub was called at exact number of times + */ + callCount(count: number): void; + /** + * Assert stub was called at least once + */ + called(): void; + /** + * Assert stub was called with given object as this + */ + calledOn(obj: any): void; + /** + * Assert stub was called at exactly once + */ + calledOnce(): void; + /** + * Assert stub was called at exactly thrice + */ + calledThrice(): void; + /** + * Assert stub was called at exactly twice + */ + calledTwice(): void; + /** + * Asserts that stub was called with given arguments + */ + calledWith(...args: any[]): void; + /** + * Returns true if call received provided arguments and no others. + */ + calledWithExactly(...args: any[]): void; + /** + * Returns true if spy was called with matching arguments (and possibly others). + */ + calledWithMatch(...args: any[]): void; + /** + * Asserts that stub was called with new + */ + calledWithNew(): void; + /** + * Returns true if the spy/stub was never called with the provided arguments. + */ + neverCalledWith(...args: any[]): void; + /** + * Returns true if the spy/stub was never called with matching arguments. + */ + neverCalledWithMatch(...args: any[]): void; + /** + * Passes if the spy threw the given exception. The exception can be a + * string denoting its type, or an actual object. If no argument is + * provided, the assertion passes if the spy ever threw any exception. + */ + threw(ex: string | Error): void; + } +} diff --git a/types/should-sinon/package.json b/types/should-sinon/package.json new file mode 100644 index 0000000000..5ee99bf166 --- /dev/null +++ b/types/should-sinon/package.json @@ -0,0 +1,6 @@ +{ + "private": true, + "dependencies": { + "should": "^13.2.1" + } +} diff --git a/types/should-sinon/should-sinon-tests.ts b/types/should-sinon/should-sinon-tests.ts new file mode 100644 index 0000000000..7c0946fc1d --- /dev/null +++ b/types/should-sinon/should-sinon-tests.ts @@ -0,0 +1,13 @@ +const callback = sinon.spy(); +const obj = { }; + +callback.should.be.alwaysCalledOn(obj); +callback.should.be.alwaysCalledWith(1, 2, 3); +callback.should.have.callCount(0); +callback.should.be.called(); +callback.should.be.calledOn(obj); +callback.should.be.calledOnce(); +callback.should.be.calledThrice(); +callback.should.be.calledTwice(); +callback.should.be.calledWith(1, 2, 3); +callback.should.be.neverCalledWith(1, 2, 3); diff --git a/types/should-sinon/tsconfig.json b/types/should-sinon/tsconfig.json new file mode 100644 index 0000000000..cd50c8572c --- /dev/null +++ b/types/should-sinon/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "should-sinon-tests.ts" + ] +} diff --git a/types/should-sinon/tslint.json b/types/should-sinon/tslint.json new file mode 100644 index 0000000000..f93cf8562a --- /dev/null +++ b/types/should-sinon/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "dtslint/dt.json" +} From a17992bfa4d8fc00054751f8a89be2c2290052bb Mon Sep 17 00:00:00 2001 From: Arylo Date: Mon, 12 Feb 2018 16:13:24 +0800 Subject: [PATCH 351/463] Fix the lower TypeScript version should-sinon depends on sinon but has a lower required TypeScript version. --- types/should-sinon/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/should-sinon/index.d.ts b/types/should-sinon/index.d.ts index 34cb3010cc..25233c1c61 100644 --- a/types/should-sinon/index.d.ts +++ b/types/should-sinon/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/shouldjs/sinon // Definitions by: AryloYeung // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.1 +// TypeScript Version: 2.3 import * as s from "sinon"; import should = require("should"); From 1b22d220c8ebbc63123f21d2583776b87b8d6a23 Mon Sep 17 00:00:00 2001 From: Cole Turner Date: Thu, 8 Feb 2018 21:30:25 -0800 Subject: [PATCH 352/463] feat(GraphQL): add additional GraphQL ParseOptions --- types/graphql/language/parser.d.ts | 41 +++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/types/graphql/language/parser.d.ts b/types/graphql/language/parser.d.ts index a0b8a0c7a4..cc869358ef 100644 --- a/types/graphql/language/parser.d.ts +++ b/types/graphql/language/parser.d.ts @@ -6,12 +6,51 @@ import { Lexer } from './lexer'; * Configuration options to control parser behavior */ export interface ParseOptions { + /** * By default, the parser creates AST nodes that know the location * in the source that they correspond to. This configuration flag * disables that behavior for performance or testing. */ - noLocation?: boolean; + noLocation?: boolean, + + /** + * If enabled, the parser will parse empty fields sets in the Schema + * Definition Language. Otherwise, the parser will follow the current + * specification. + * + * This option is provided to ease adoption of the final SDL specification + * and will be removed in a future major release. + */ + allowLegacySDLEmptyFields?: boolean, + + /** + * If enabled, the parser will parse implemented interfaces with no `&` + * character between each interface. Otherwise, the parser will follow the + * current specification. + * + * This option is provided to ease adoption of the final SDL specification + * and will be removed in a future major release. + */ + allowLegacySDLImplementsInterfaces?: boolean, + + /** + * EXPERIMENTAL: + * + * If enabled, the parser will understand and parse variable definitions + * contained in a fragment definition. They'll be represented in the + * `variableDefinitions` field of the FragmentDefinitionNode. + * + * The syntax is identical to normal, query-defined variables. For example: + * + * fragment A($var: Boolean = false) on T { + * ... + * } + * + * Note: this feature is experimental and may change or be removed in the + * future. + */ + experimentalFragmentVariables?: boolean, } /** From 8f8f6c439296ade0ab205751a72dfd626dd73364 Mon Sep 17 00:00:00 2001 From: Forbes Lindesay Date: Mon, 12 Feb 2018 12:55:52 +0000 Subject: [PATCH 353/463] [react] Use HTMLDialogElement for the dialog node (#23053) * [react] Use HTMLDialogElement for the dialog node * Actually add the `open` property * This update requires typescript 2.6 * Update dependents of react to also require typescript 2.6 --- types/alt/index.d.ts | 2 +- types/aphrodite/index.d.ts | 2 +- types/assert-equal-jsx/index.d.ts | 2 +- types/braft-editor/index.d.ts | 2 +- types/catalog/index.d.ts | 2 +- types/chai-enzyme/index.d.ts | 2 +- types/cleave.js/index.d.ts | 2 +- types/create-react-class/index.d.ts | 2 +- types/draft-js/index.d.ts | 2 +- types/emoji-mart/index.d.ts | 2 +- types/enzyme-adapter-react-15.4/index.d.ts | 2 +- types/enzyme-adapter-react-15/index.d.ts | 2 +- types/enzyme-adapter-react-16/index.d.ts | 2 +- types/enzyme-to-json/index.d.ts | 2 +- types/enzyme/index.d.ts | 2 +- types/expo/index.d.ts | 2 +- types/expo/v23/index.d.ts | 2 +- types/expo__vector-icons/index.d.ts | 2 +- types/fixed-data-table-2/index.d.ts | 2 +- types/fixed-data-table/index.d.ts | 2 +- types/flux/index.d.ts | 2 +- types/fluxxor/index.d.ts | 2 +- types/google-map-react/index.d.ts | 2 +- types/grid-styled/index.d.ts | 2 +- types/halogen/index.d.ts | 2 +- types/hedron/index.d.ts | 2 +- types/jasmine-enzyme/index.d.ts | 2 +- types/jsnox/index.d.ts | 2 +- types/material-ui-datatables/index.d.ts | 2 +- types/material-ui-pagination/index.d.ts | 2 +- types/material-ui/index.d.ts | 2 +- types/mirrorx/index.d.ts | 2 +- types/navigation-react/index.d.ts | 2 +- types/next-redux-wrapper/index.d.ts | 2 +- types/next/index.d.ts | 2 +- types/ngreact/index.d.ts | 2 +- types/qrcode.react/index.d.ts | 2 +- types/radium/index.d.ts | 2 +- types/rc-select/index.d.ts | 2 +- types/rc-slider/index.d.ts | 2 +- types/rc-tooltip/index.d.ts | 2 +- types/rc-tree/index.d.ts | 2 +- types/react-addons-create-fragment/index.d.ts | 2 +- types/react-addons-css-transition-group/index.d.ts | 2 +- types/react-addons-linked-state-mixin/index.d.ts | 2 +- types/react-addons-pure-render-mixin/index.d.ts | 2 +- types/react-addons-shallow-compare/index.d.ts | 2 +- types/react-addons-test-utils/index.d.ts | 2 +- types/react-addons-transition-group/index.d.ts | 2 +- types/react-addons-update/index.d.ts | 2 +- types/react-alert/index.d.ts | 2 +- types/react-alice-carousel/index.d.ts | 2 +- types/react-app/index.d.ts | 2 +- types/react-aria-menubutton/index.d.ts | 2 +- types/react-autosuggest/index.d.ts | 2 +- types/react-beautiful-dnd/index.d.ts | 2 +- types/react-big-calendar/index.d.ts | 2 +- types/react-body-classname/index.d.ts | 2 +- types/react-bootstrap-date-picker/index.d.ts | 2 +- types/react-bootstrap-daterangepicker/index.d.ts | 2 +- types/react-bootstrap-table/index.d.ts | 2 +- types/react-bootstrap-table/v2/index.d.ts | 2 +- types/react-bootstrap-typeahead/index.d.ts | 2 +- types/react-bootstrap/index.d.ts | 2 +- types/react-breadcrumbs-dynamic/index.d.ts | 2 +- types/react-breadcrumbs/index.d.ts | 2 +- types/react-burger-menu/index.d.ts | 2 +- types/react-bytesize-icons/index.d.ts | 2 +- types/react-calendar-heatmap/index.d.ts | 2 +- types/react-calendar-timeline/index.d.ts | 2 +- types/react-click-outside/index.d.ts | 2 +- types/react-codemirror/index.d.ts | 2 +- types/react-collapse/index.d.ts | 2 +- types/react-color/index.d.ts | 2 +- types/react-confirm/index.d.ts | 2 +- types/react-content-loader/index.d.ts | 2 +- types/react-copy-to-clipboard/index.d.ts | 2 +- types/react-cropper/index.d.ts | 2 +- types/react-css-modules/index.d.ts | 2 +- types/react-css-transition-replace/index.d.ts | 2 +- types/react-custom-scrollbars/index.d.ts | 2 +- types/react-custom-scrollbars/v3/index.d.ts | 2 +- types/react-data-grid/index.d.ts | 2 +- types/react-data-grid/v1/index.d.ts | 2 +- types/react-datagrid/index.d.ts | 2 +- types/react-date-range/index.d.ts | 2 +- types/react-datepicker/index.d.ts | 2 +- types/react-daterange-picker/index.d.ts | 2 +- types/react-dates/index.d.ts | 2 +- types/react-daum-postcode/index.d.ts | 2 +- types/react-dnd-html5-backend/index.d.ts | 2 +- types/react-dnd-multi-backend/index.d.ts | 2 +- types/react-dnd-touch-backend/index.d.ts | 2 +- types/react-dnd/index.d.ts | 2 +- types/react-document-title/index.d.ts | 2 +- types/react-dom-factories/index.d.ts | 2 +- types/react-dom/index.d.ts | 2 +- types/react-dom/v15/index.d.ts | 2 +- types/react-dropzone/v2/index.d.ts | 2 +- types/react-dropzone/v3/index.d.ts | 2 +- types/react-easy-chart/index.d.ts | 2 +- types/react-event-listener/index.d.ts | 2 +- types/react-fa/index.d.ts | 2 +- types/react-facebook-login/index.d.ts | 2 +- types/react-faux-dom/index.d.ts | 2 +- types/react-file-input/index.d.ts | 2 +- types/react-file-reader-input/index.d.ts | 2 +- types/react-flags-select/index.d.ts | 2 +- types/react-flatpickr/index.d.ts | 2 +- types/react-flex/index.d.ts | 2 +- types/react-flexr/index.d.ts | 2 +- types/react-fontawesome/index.d.ts | 2 +- types/react-form/index.d.ts | 2 +- types/react-form/v1/index.d.ts | 2 +- types/react-foundation/index.d.ts | 2 +- types/react-geosuggest/index.d.ts | 2 +- types/react-google-recaptcha/index.d.ts | 2 +- types/react-gravatar/index.d.ts | 2 +- types/react-grid-layout/index.d.ts | 2 +- types/react-hamburger-menu/index.d.ts | 2 +- types/react-helmet/index.d.ts | 2 +- types/react-helmet/v4/index.d.ts | 2 +- types/react-highlight-words/index.d.ts | 2 +- types/react-highlighter/index.d.ts | 2 +- types/react-holder/index.d.ts | 2 +- types/react-hot-loader/index.d.ts | 2 +- types/react-hyperscript/index.d.ts | 2 +- types/react-i18next/index.d.ts | 2 +- types/react-i18next/v1/index.d.ts | 2 +- types/react-i18next/v4/index.d.ts | 2 +- types/react-icon-base/index.d.ts | 2 +- types/react-icons/index.d.ts | 2 +- types/react-image-gallery/index.d.ts | 2 +- types/react-imageloader/index.d.ts | 2 +- types/react-infinite-scroller/index.d.ts | 2 +- types/react-infinite/index.d.ts | 2 +- types/react-input-calendar/index.d.ts | 2 +- types/react-input-mask/index.d.ts | 2 +- types/react-intl-redux/index.d.ts | 2 +- types/react-intl/index.d.ts | 2 +- types/react-intl/v1/index.d.ts | 2 +- types/react-is-deprecated/index.d.ts | 2 +- types/react-joyride/index.d.ts | 2 +- types/react-json-pretty/index.d.ts | 2 +- types/react-json-tree/index.d.ts | 2 +- types/react-json/index.d.ts | 2 +- types/react-jsonschema-form/index.d.ts | 2 +- types/react-lazyload/index.d.ts | 2 +- types/react-leaflet/index.d.ts | 2 +- types/react-list/index.d.ts | 2 +- types/react-loadable/index.d.ts | 2 +- types/react-loader/index.d.ts | 2 +- types/react-maskedinput/index.d.ts | 2 +- types/react-mce/index.d.ts | 2 +- types/react-mdl/index.d.ts | 2 +- types/react-measure/index.d.ts | 2 +- types/react-mixin/index.d.ts | 2 +- types/react-modal/index.d.ts | 2 +- types/react-monaco-editor/index.d.ts | 2 +- types/react-motion-slider/index.d.ts | 2 +- types/react-motion/index.d.ts | 2 +- types/react-native-collapsible/index.d.ts | 2 +- types/react-native-datepicker/index.d.ts | 2 +- types/react-native-doc-viewer/index.d.ts | 2 +- types/react-native-drawer-layout/index.d.ts | 2 +- types/react-native-drawer/index.d.ts | 2 +- types/react-native-fbsdk/index.d.ts | 2 +- types/react-native-fs/index.d.ts | 2 +- types/react-native-google-signin/index.d.ts | 2 +- types/react-native-keep-awake/index.d.ts | 2 +- types/react-native-linear-gradient/index.d.ts | 2 +- .../react-native-material-design-searchbar/index.d.ts | 2 +- types/react-native-material-kit/index.d.ts | 2 +- types/react-native-material-ui/index.d.ts | 2 +- types/react-native-modalbox/index.d.ts | 2 +- types/react-native-navigation/index.d.ts | 2 +- types/react-native-popup-dialog/index.d.ts | 2 +- types/react-native-qrcode/index.d.ts | 2 +- types/react-native-safari-view/index.d.ts | 2 +- types/react-native-scrollable-tab-view/index.d.ts | 2 +- types/react-native-sensor-manager/index.d.ts | 2 +- types/react-native-snap-carousel/index.d.ts | 2 +- types/react-native-sortable-grid/index.d.ts | 2 +- types/react-native-sortable-list/index.d.ts | 2 +- types/react-native-svg-uri/index.d.ts | 2 +- types/react-native-swiper/index.d.ts | 2 +- types/react-native-tab-navigator/index.d.ts | 2 +- types/react-native-tab-view/index.d.ts | 2 +- types/react-native-vector-icons/index.d.ts | 2 +- types/react-native-video/index.d.ts | 2 +- types/react-native/index.d.ts | 2 +- types/react-navigation/index.d.ts | 2 +- types/react-notification-system-redux/index.d.ts | 2 +- types/react-notification-system/index.d.ts | 2 +- types/react-numeric-input/index.d.ts | 2 +- types/react-onclickoutside/index.d.ts | 2 +- types/react-onclickoutside/v5/index.d.ts | 2 +- types/react-onsenui/index.d.ts | 2 +- types/react-overlays/index.d.ts | 2 +- types/react-paginate/index.d.ts | 2 +- types/react-pointable/index.d.ts | 2 +- types/react-portal/index.d.ts | 2 +- types/react-props-decorators/index.d.ts | 2 +- types/react-recaptcha/index.d.ts | 2 +- types/react-redux-i18n/index.d.ts | 2 +- types/react-redux-toastr/index.d.ts | 2 +- types/react-redux/index.d.ts | 2 +- types/react-relay/index.d.ts | 2 +- types/react-resolver/index.d.ts | 2 +- types/react-responsive/index.d.ts | 2 +- types/react-responsive/v1/index.d.ts | 2 +- types/react-router-bootstrap/index.d.ts | 2 +- types/react-router-config/index.d.ts | 2 +- types/react-router-dom/index.d.ts | 2 +- types/react-router-native/index.d.ts | 2 +- types/react-router-navigation-core/index.d.ts | 2 +- types/react-router-navigation/index.d.ts | 2 +- types/react-router-redux/index.d.ts | 2 +- types/react-router/index.d.ts | 2 +- types/react-router/v2/index.d.ts | 2 +- types/react-router/v3/index.d.ts | 2 +- types/react-s-alert/index.d.ts | 2 +- types/react-scroll/index.d.ts | 2 +- types/react-scrollbar/index.d.ts | 2 +- types/react-select/index.d.ts | 2 +- types/react-side-effect/index.d.ts | 2 +- types/react-sidebar/index.d.ts | 2 +- types/react-sketchapp/index.d.ts | 2 +- types/react-slick/index.d.ts | 2 +- types/react-smooth-scrollbar/index.d.ts | 2 +- types/react-sortable-hoc/index.d.ts | 2 +- types/react-sortable-pane/index.d.ts | 2 +- types/react-sortable-tree/index.d.ts | 2 +- types/react-spinkit/index.d.ts | 2 +- types/react-spinkit/v1/index.d.ts | 2 +- types/react-sticky/index.d.ts | 2 +- types/react-stripe-elements/index.d.ts | 2 +- types/react-svg-pan-zoom/index.d.ts | 2 +- types/react-swf/index.d.ts | 2 +- types/react-swipe/index.d.ts | 2 +- types/react-swipeable-views/index.d.ts | 2 +- types/react-swipeable/index.d.ts | 2 +- types/react-syntax-highlighter/index.d.ts | 2 +- types/react-table/index.d.ts | 2 +- types/react-tabs/index.d.ts | 2 +- types/react-tag-input/index.d.ts | 2 +- types/react-tagcloud/index.d.ts | 2 +- types/react-tagsinput/index.d.ts | 2 +- types/react-test-renderer/index.d.ts | 2 +- types/react-test-renderer/v15/index.d.ts | 2 +- types/react-tether/index.d.ts | 2 +- types/react-textarea-autosize/index.d.ts | 2 +- types/react-toastr/index.d.ts | 2 +- types/react-toggle/index.d.ts | 2 +- types/react-toggle/v2/index.d.ts | 2 +- types/react-tooltip/index.d.ts | 2 +- types/react-touch/index.d.ts | 2 +- types/react-tracking/index.d.ts | 2 +- types/react-transition-group/index.d.ts | 2 +- types/react-transition-group/v1/index.d.ts | 2 +- types/react-treeview/index.d.ts | 2 +- types/react-truncate/index.d.ts | 2 +- types/react-user-tour/index.d.ts | 2 +- types/react-virtual-keyboard/index.d.ts | 2 +- types/react-virtualized-select/index.d.ts | 2 +- types/react-virtualized/index.d.ts | 2 +- types/react-widgets/index.d.ts | 2 +- types/react-youtube/index.d.ts | 2 +- types/react/index.d.ts | 10 +++++++--- types/react/v15/index.d.ts | 2 +- types/reactable/index.d.ts | 2 +- types/reactcss/index.d.ts | 2 +- types/reactstrap/index.d.ts | 2 +- types/reactstrap/v4/index.d.ts | 2 +- types/reapop/index.d.ts | 2 +- types/rebass/index.d.ts | 2 +- types/recharts/index.d.ts | 2 +- types/recompose/index.d.ts | 2 +- types/redux-auth-wrapper/index.d.ts | 2 +- types/redux-auth-wrapper/v1/index.d.ts | 2 +- types/redux-devtools-dock-monitor/index.d.ts | 2 +- types/redux-devtools-log-monitor/index.d.ts | 2 +- types/redux-devtools/index.d.ts | 2 +- types/redux-first-router-link/index.d.ts | 2 +- types/redux-form/index.d.ts | 2 +- types/redux-form/v4/index.d.ts | 2 +- types/redux-form/v6/index.d.ts | 2 +- types/redux-infinite-scroll/index.d.ts | 2 +- types/redux-little-router/index.d.ts | 2 +- types/redux-router/index.d.ts | 2 +- types/redux-ui/index.d.ts | 2 +- types/rheostat/index.d.ts | 2 +- types/rrc/index.d.ts | 2 +- types/spectacle/index.d.ts | 2 +- types/storybook__addon-actions/index.d.ts | 2 +- types/storybook__addon-info/index.d.ts | 2 +- types/storybook__addon-knobs/index.d.ts | 2 +- types/storybook__addon-links/index.d.ts | 2 +- types/storybook__addon-notes/index.d.ts | 2 +- types/storybook__react/index.d.ts | 2 +- types/styled-jsx/index.d.ts | 2 +- types/victory/index.d.ts | 2 +- types/why-did-you-update/index.d.ts | 2 +- 303 files changed, 309 insertions(+), 305 deletions(-) diff --git a/types/alt/index.d.ts b/types/alt/index.d.ts index 2d4c6e259f..0c69e4020a 100644 --- a/types/alt/index.d.ts +++ b/types/alt/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/goatslacker/alt // Definitions by: Michael Shearer // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/aphrodite/index.d.ts b/types/aphrodite/index.d.ts index 0e04b07af7..00d1908d9f 100644 --- a/types/aphrodite/index.d.ts +++ b/types/aphrodite/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/Khan/aphrodite // Definitions by: Alexey Svetliakov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/assert-equal-jsx/index.d.ts b/types/assert-equal-jsx/index.d.ts index f571020ef8..e017fcf57c 100644 --- a/types/assert-equal-jsx/index.d.ts +++ b/types/assert-equal-jsx/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/thejameskyle/assert-equal-jsx // Definitions by: Josh Toft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/braft-editor/index.d.ts b/types/braft-editor/index.d.ts index 225d32722d..505403d2f3 100644 --- a/types/braft-editor/index.d.ts +++ b/types/braft-editor/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/margox/braft#readme // Definitions by: My Self // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; import { RawDraftContentState } from 'draft-js'; diff --git a/types/catalog/index.d.ts b/types/catalog/index.d.ts index 515008d7de..a9b4220f00 100644 --- a/types/catalog/index.d.ts +++ b/types/catalog/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/interactivethings/catalog/ // Definitions by: Peter Gassner , Tomas Carnecky // Definitions: https://github.com/interactivethings/catalog/ -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/chai-enzyme/index.d.ts b/types/chai-enzyme/index.d.ts index f1283994f6..413f5ec545 100644 --- a/types/chai-enzyme/index.d.ts +++ b/types/chai-enzyme/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/producthunt/chai-enzyme // Definitions by: Alexey Svetliakov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/cleave.js/index.d.ts b/types/cleave.js/index.d.ts index eae6bc75b9..646cd72eea 100644 --- a/types/cleave.js/index.d.ts +++ b/types/cleave.js/index.d.ts @@ -4,7 +4,7 @@ // J Giancono , // Alex Shakun // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { CleaveOptions } from './options'; diff --git a/types/create-react-class/index.d.ts b/types/create-react-class/index.d.ts index 211474ac16..9a1b0b12b5 100644 --- a/types/create-react-class/index.d.ts +++ b/types/create-react-class/index.d.ts @@ -2,7 +2,7 @@ // Project: https://facebook.github.io/react/ // Definitions by: John Gozde // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { ComponentSpec, ClassicComponentClass } from "react"; diff --git a/types/draft-js/index.d.ts b/types/draft-js/index.d.ts index 7913e81d55..e545fa347d 100644 --- a/types/draft-js/index.d.ts +++ b/types/draft-js/index.d.ts @@ -8,7 +8,7 @@ // Willis Plummer // Santiago Vilar // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import * as Immutable from 'immutable'; diff --git a/types/emoji-mart/index.d.ts b/types/emoji-mart/index.d.ts index 1116d6eb6f..6a8ed65632 100644 --- a/types/emoji-mart/index.d.ts +++ b/types/emoji-mart/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/missive/emoji-mart // Definitions by: Diogo Franco // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 // These definitions should work with 2.3, but the tests doesn't pass on 2.3. diff --git a/types/enzyme-adapter-react-15.4/index.d.ts b/types/enzyme-adapter-react-15.4/index.d.ts index 115f8de677..570cc22e99 100644 --- a/types/enzyme-adapter-react-15.4/index.d.ts +++ b/types/enzyme-adapter-react-15.4/index.d.ts @@ -2,7 +2,7 @@ // Project: http://airbnb.io/enzyme/ // Definitions by: Nabeelah Ali // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { EnzymeAdapter } from 'enzyme'; diff --git a/types/enzyme-adapter-react-15/index.d.ts b/types/enzyme-adapter-react-15/index.d.ts index 01307da953..90149cae55 100644 --- a/types/enzyme-adapter-react-15/index.d.ts +++ b/types/enzyme-adapter-react-15/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/airbnb/enzyme // Definitions by: Tanguy Krotoff // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { EnzymeAdapter } from 'enzyme'; diff --git a/types/enzyme-adapter-react-16/index.d.ts b/types/enzyme-adapter-react-16/index.d.ts index 82927b03e5..53f97ccce6 100644 --- a/types/enzyme-adapter-react-16/index.d.ts +++ b/types/enzyme-adapter-react-16/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/airbnb/enzyme // Definitions by: Tanguy Krotoff // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { EnzymeAdapter } from 'enzyme'; diff --git a/types/enzyme-to-json/index.d.ts b/types/enzyme-to-json/index.d.ts index cba4561649..d2ba70fc8f 100644 --- a/types/enzyme-to-json/index.d.ts +++ b/types/enzyme-to-json/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/adriantoine/enzyme-to-json#readme // Definitions by: Joscha Feth // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { ReactWrapper, ShallowWrapper } from 'enzyme'; diff --git a/types/enzyme/index.d.ts b/types/enzyme/index.d.ts index d23af4ab04..fbb953e167 100644 --- a/types/enzyme/index.d.ts +++ b/types/enzyme/index.d.ts @@ -8,7 +8,7 @@ // MartynasZilinskas // Torgeir Hovden // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// import { ReactElement, Component, AllHTMLAttributes as ReactHTMLAttributes, SVGAttributes as ReactSVGAttributes } from "react"; diff --git a/types/expo/index.d.ts b/types/expo/index.d.ts index c3977918ad..9a583b830c 100644 --- a/types/expo/index.d.ts +++ b/types/expo/index.d.ts @@ -4,7 +4,7 @@ // Martynas Kadiša // Sergio Sánchez // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import { EventSubscription } from 'fbemitter'; import { Component, ComponentClass, Ref } from 'react'; diff --git a/types/expo/v23/index.d.ts b/types/expo/v23/index.d.ts index 8aaa28bace..ea3ba87720 100644 --- a/types/expo/v23/index.d.ts +++ b/types/expo/v23/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/expo/expo-sdk // Definitions by: Konstantin Kai // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import { EventSubscription } from 'fbemitter'; import { Component, Ref } from 'react'; diff --git a/types/expo__vector-icons/index.d.ts b/types/expo__vector-icons/index.d.ts index ccc71fc93e..864ae1d0cc 100644 --- a/types/expo__vector-icons/index.d.ts +++ b/types/expo__vector-icons/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/expo/vector-icons // Definitions by: Hyeonsu Lee // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { TextProperties } from 'react-native'; diff --git a/types/fixed-data-table-2/index.d.ts b/types/fixed-data-table-2/index.d.ts index a39397a228..0b844ec194 100644 --- a/types/fixed-data-table-2/index.d.ts +++ b/types/fixed-data-table-2/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/schrodinger/fixed-data-table-2 // Definitions by: Ilya Petukhov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/fixed-data-table/index.d.ts b/types/fixed-data-table/index.d.ts index 9eef731cf9..c8ee33a2a1 100644 --- a/types/fixed-data-table/index.d.ts +++ b/types/fixed-data-table/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/facebook/fixed-data-table // Definitions by: Petar Paar , Stephen Jelfs // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/flux/index.d.ts b/types/flux/index.d.ts index ae63f1349b..ffc0330228 100644 --- a/types/flux/index.d.ts +++ b/types/flux/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Steve Baker // Giedrius Grabauskas // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import Dispatcher = require("./lib/Dispatcher"); diff --git a/types/fluxxor/index.d.ts b/types/fluxxor/index.d.ts index d5389f9cde..3457dba949 100644 --- a/types/fluxxor/index.d.ts +++ b/types/fluxxor/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/BinaryMuse/fluxxor // Definitions by: Yuichi Murata // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as EventEmitter3 from 'eventemitter3'; import * as React from "react"; diff --git a/types/google-map-react/index.d.ts b/types/google-map-react/index.d.ts index ec2f08d2ab..d0606f76fd 100644 --- a/types/google-map-react/index.d.ts +++ b/types/google-map-react/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/istarkov/google-map-react // Definitions by: Honza Brecka // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/grid-styled/index.d.ts b/types/grid-styled/index.d.ts index 248808734e..5b5a3d4d90 100644 --- a/types/grid-styled/index.d.ts +++ b/types/grid-styled/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/jxnblk/grid-styled // Definitions by: Anton Vasin // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 export type Diff = ({ [P in T]: P } & { [P in U]: never } & { [x: string]: never })[T]; diff --git a/types/halogen/index.d.ts b/types/halogen/index.d.ts index 216281972e..de09f29f43 100644 --- a/types/halogen/index.d.ts +++ b/types/halogen/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/yuanyan/halogen // Definitions by: Vincent Rouffiat // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as react from "react"; diff --git a/types/hedron/index.d.ts b/types/hedron/index.d.ts index 142b9cf47a..6eb34e3638 100644 --- a/types/hedron/index.d.ts +++ b/types/hedron/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/JSBros/hedron // Definitions by: Dmytro Borysov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/jasmine-enzyme/index.d.ts b/types/jasmine-enzyme/index.d.ts index 2d07ac3afe..fd52c65ed8 100644 --- a/types/jasmine-enzyme/index.d.ts +++ b/types/jasmine-enzyme/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/blainekasten/enzyme-matchers/blob/master/packages/jasmine-enzyme/README.md // Definitions by: Umar Bolatov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 /// /// diff --git a/types/jsnox/index.d.ts b/types/jsnox/index.d.ts index ae652ae9c7..6b626c29f0 100644 --- a/types/jsnox/index.d.ts +++ b/types/jsnox/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Steve Baker // Dovydas Navickas // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/material-ui-datatables/index.d.ts b/types/material-ui-datatables/index.d.ts index 3a8eab86f1..e456f84e7d 100644 --- a/types/material-ui-datatables/index.d.ts +++ b/types/material-ui-datatables/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/hyojin/material-ui-datatables#readme // Definitions by: Ravi L. // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/material-ui-pagination/index.d.ts b/types/material-ui-pagination/index.d.ts index 2e8ec8f1df..3e76401f43 100644 --- a/types/material-ui-pagination/index.d.ts +++ b/types/material-ui-pagination/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/lo-tp/material-ui-pagination // Definitions by: m0a // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; export interface PaginationProps { total: number; diff --git a/types/material-ui/index.d.ts b/types/material-ui/index.d.ts index 9624e6d4a2..094ee22621 100644 --- a/types/material-ui/index.d.ts +++ b/types/material-ui/index.d.ts @@ -12,7 +12,7 @@ // Dan Jones // Daisuke Mino // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// /// diff --git a/types/mirrorx/index.d.ts b/types/mirrorx/index.d.ts index 66f85e14e7..b4bebc9cea 100644 --- a/types/mirrorx/index.d.ts +++ b/types/mirrorx/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/mirrorjs/mirror // Definitions by: Aaronphy // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import * as H from 'history'; diff --git a/types/navigation-react/index.d.ts b/types/navigation-react/index.d.ts index 0c85dac138..3d98c0d5a5 100644 --- a/types/navigation-react/index.d.ts +++ b/types/navigation-react/index.d.ts @@ -2,7 +2,7 @@ // Project: http://grahammendick.github.io/navigation/ // Definitions by: Graham Mendick // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { StateNavigator } from 'navigation'; import { Component, HTMLProps } from 'react'; diff --git a/types/next-redux-wrapper/index.d.ts b/types/next-redux-wrapper/index.d.ts index a6b1da550e..38e20f608a 100644 --- a/types/next-redux-wrapper/index.d.ts +++ b/types/next-redux-wrapper/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/kirill-konshin/next-redux-wrapper // Definitions by: Steve // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 /// /*~ Note that ES6 modules cannot directly export callable functions. diff --git a/types/next/index.d.ts b/types/next/index.d.ts index 70bc8ef049..036e9f58ce 100644 --- a/types/next/index.d.ts +++ b/types/next/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Drew Hays // Brice BERNARD // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/ngreact/index.d.ts b/types/ngreact/index.d.ts index cb39e45ee1..6db92506ce 100644 --- a/types/ngreact/index.d.ts +++ b/types/ngreact/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/ngReact/ngReact // Definitions by: Vicky Lai // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// /// diff --git a/types/qrcode.react/index.d.ts b/types/qrcode.react/index.d.ts index 7771e04293..f730ee7581 100644 --- a/types/qrcode.react/index.d.ts +++ b/types/qrcode.react/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/zpao/qrcode.react // Definitions by: Mleko // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/radium/index.d.ts b/types/radium/index.d.ts index 7dd1387d77..d861783e92 100644 --- a/types/radium/index.d.ts +++ b/types/radium/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/formidablelabs/radium // Definitions by: Alex Gorbatchev , Philipp Holzer , Alexey Svetliakov , Mikael Hermansson // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/rc-select/index.d.ts b/types/rc-select/index.d.ts index 18dfb46e67..5fdae43949 100644 --- a/types/rc-select/index.d.ts +++ b/types/rc-select/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/react-component/select // Definitions by: Denis Tirilis // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/rc-slider/index.d.ts b/types/rc-slider/index.d.ts index f2010b3ec9..139f4e2ef0 100644 --- a/types/rc-slider/index.d.ts +++ b/types/rc-slider/index.d.ts @@ -5,7 +5,7 @@ // Austin Turner // Jacob Froman // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/rc-tooltip/index.d.ts b/types/rc-tooltip/index.d.ts index be0246fc13..9222d9f149 100644 --- a/types/rc-tooltip/index.d.ts +++ b/types/rc-tooltip/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: rhysd // ahstro // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/rc-tree/index.d.ts b/types/rc-tree/index.d.ts index 4dc789824d..7cee0d8371 100644 --- a/types/rc-tree/index.d.ts +++ b/types/rc-tree/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/react-component/tree // Definitions by: John Reilly // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component, diff --git a/types/react-addons-create-fragment/index.d.ts b/types/react-addons-create-fragment/index.d.ts index 6c998ebc12..1e46046ec4 100644 --- a/types/react-addons-create-fragment/index.d.ts +++ b/types/react-addons-create-fragment/index.d.ts @@ -2,7 +2,7 @@ // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-addons-css-transition-group/index.d.ts b/types/react-addons-css-transition-group/index.d.ts index f4857926bd..33d43b4cd1 100644 --- a/types/react-addons-css-transition-group/index.d.ts +++ b/types/react-addons-css-transition-group/index.d.ts @@ -2,7 +2,7 @@ // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import 'react-addons-transition-group'; import { ComponentClass, CSSTransitionGroupProps } from 'react'; diff --git a/types/react-addons-linked-state-mixin/index.d.ts b/types/react-addons-linked-state-mixin/index.d.ts index 50e4b3ec5a..6358dde535 100644 --- a/types/react-addons-linked-state-mixin/index.d.ts +++ b/types/react-addons-linked-state-mixin/index.d.ts @@ -2,7 +2,7 @@ // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Mixin } from 'react'; diff --git a/types/react-addons-pure-render-mixin/index.d.ts b/types/react-addons-pure-render-mixin/index.d.ts index 3ffff6f17f..565a108721 100644 --- a/types/react-addons-pure-render-mixin/index.d.ts +++ b/types/react-addons-pure-render-mixin/index.d.ts @@ -2,7 +2,7 @@ // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Mixin } from 'react'; diff --git a/types/react-addons-shallow-compare/index.d.ts b/types/react-addons-shallow-compare/index.d.ts index d640b68ac5..ff4e5dbdc9 100644 --- a/types/react-addons-shallow-compare/index.d.ts +++ b/types/react-addons-shallow-compare/index.d.ts @@ -2,7 +2,7 @@ // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component } from 'react'; diff --git a/types/react-addons-test-utils/index.d.ts b/types/react-addons-test-utils/index.d.ts index b65262753a..9282f95f4e 100644 --- a/types/react-addons-test-utils/index.d.ts +++ b/types/react-addons-test-utils/index.d.ts @@ -2,7 +2,7 @@ // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { AbstractView, Component, ComponentClass, ReactElement, ReactInstance, ClassType, diff --git a/types/react-addons-transition-group/index.d.ts b/types/react-addons-transition-group/index.d.ts index c3149f87e3..933533df28 100644 --- a/types/react-addons-transition-group/index.d.ts +++ b/types/react-addons-transition-group/index.d.ts @@ -2,7 +2,7 @@ // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { ComponentClass, TransitionGroupProps } from 'react'; diff --git a/types/react-addons-update/index.d.ts b/types/react-addons-update/index.d.ts index 3b9285a704..874549b7a1 100644 --- a/types/react-addons-update/index.d.ts +++ b/types/react-addons-update/index.d.ts @@ -2,7 +2,7 @@ // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-alert/index.d.ts b/types/react-alert/index.d.ts index d402d24ad2..9150bf28b4 100644 --- a/types/react-alert/index.d.ts +++ b/types/react-alert/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/schiehll/react-alert // Definitions by: Steve Syrell // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-alice-carousel/index.d.ts b/types/react-alice-carousel/index.d.ts index 47d4fd95de..2d40293003 100644 --- a/types/react-alice-carousel/index.d.ts +++ b/types/react-alice-carousel/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/maxmarinich/react-alice-carousel // Definitions by: endigo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-app/index.d.ts b/types/react-app/index.d.ts index a126c914e2..7c5e00f57a 100644 --- a/types/react-app/index.d.ts +++ b/types/react-app/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/kriasoft/react-app#readme // Definitions by: Prakarsh Pandey // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-aria-menubutton/index.d.ts b/types/react-aria-menubutton/index.d.ts index cba4c81540..52a77e7435 100644 --- a/types/react-aria-menubutton/index.d.ts +++ b/types/react-aria-menubutton/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Muhammad Fawwaz Orabi // Chris Rohlfs // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-autosuggest/index.d.ts b/types/react-autosuggest/index.d.ts index 444753bd54..b78ee34ab8 100644 --- a/types/react-autosuggest/index.d.ts +++ b/types/react-autosuggest/index.d.ts @@ -7,7 +7,7 @@ // Christopher Deutsch // Kevin Ross // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-beautiful-dnd/index.d.ts b/types/react-beautiful-dnd/index.d.ts index 40f1377042..b405c481c4 100644 --- a/types/react-beautiful-dnd/index.d.ts +++ b/types/react-beautiful-dnd/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: varHarrie // Bradley Ayers // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-big-calendar/index.d.ts b/types/react-big-calendar/index.d.ts index 15b7ec2706..20cf2e1513 100644 --- a/types/react-big-calendar/index.d.ts +++ b/types/react-big-calendar/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Piotr Witek // Austin Turner // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 declare module 'react-big-calendar' { import * as React from 'react'; diff --git a/types/react-body-classname/index.d.ts b/types/react-body-classname/index.d.ts index 6088e99cb7..23aa8d6f78 100644 --- a/types/react-body-classname/index.d.ts +++ b/types/react-body-classname/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/PactCoffee/react-body-classname // Definitions by: Mohamed Hegazy // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-bootstrap-date-picker/index.d.ts b/types/react-bootstrap-date-picker/index.d.ts index 2cbedb674a..96971cc0bb 100644 --- a/types/react-bootstrap-date-picker/index.d.ts +++ b/types/react-bootstrap-date-picker/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/pushtell/react-bootstrap-date-picker#readme // Definitions by: Karol Janyst , Antal Bodnar // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { ComponentClass, StatelessComponent, ReactNode, FocusEventHandler, HTMLAttributes } from "react"; diff --git a/types/react-bootstrap-daterangepicker/index.d.ts b/types/react-bootstrap-daterangepicker/index.d.ts index aaf6a5089e..1479b1e1c5 100644 --- a/types/react-bootstrap-daterangepicker/index.d.ts +++ b/types/react-bootstrap-daterangepicker/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/skratchdot/react-bootstrap-daterangepicker // Definitions by: Ian Ker-Seymer // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// /// diff --git a/types/react-bootstrap-table/index.d.ts b/types/react-bootstrap-table/index.d.ts index d7618e4db0..c6f5b7654e 100644 --- a/types/react-bootstrap-table/index.d.ts +++ b/types/react-bootstrap-table/index.d.ts @@ -6,7 +6,7 @@ // Janeene Beeforth // Oscar Andersson // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 // documentation taken from http://allenfang.github.io/react-bootstrap-table/docs.html diff --git a/types/react-bootstrap-table/v2/index.d.ts b/types/react-bootstrap-table/v2/index.d.ts index 11c0f7f943..5ac31a4a77 100644 --- a/types/react-bootstrap-table/v2/index.d.ts +++ b/types/react-bootstrap-table/v2/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/AllenFang/react-bootstrap-table // Definitions by: Frank Laub , Aleksander Lode , Josué Us // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-bootstrap-typeahead/index.d.ts b/types/react-bootstrap-typeahead/index.d.ts index c31ddd63b5..0c22a7eaca 100644 --- a/types/react-bootstrap-typeahead/index.d.ts +++ b/types/react-bootstrap-typeahead/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/ericgio/react-bootstrap-typeahead // Definitions by: Guymestef // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-bootstrap/index.d.ts b/types/react-bootstrap/index.d.ts index df9e371956..ccbc01d31a 100644 --- a/types/react-bootstrap/index.d.ts +++ b/types/react-bootstrap/index.d.ts @@ -12,7 +12,7 @@ // Karol Janyst // Aaron Beall // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-breadcrumbs-dynamic/index.d.ts b/types/react-breadcrumbs-dynamic/index.d.ts index 21fb9f977a..ed0521ec28 100644 --- a/types/react-breadcrumbs-dynamic/index.d.ts +++ b/types/react-breadcrumbs-dynamic/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/oklas/react-breadcrumbs-dynamic // Definitions by: mitsuruog // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-breadcrumbs/index.d.ts b/types/react-breadcrumbs/index.d.ts index c004e4aba4..d43b5ba81c 100644 --- a/types/react-breadcrumbs/index.d.ts +++ b/types/react-breadcrumbs/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/svenanders/react-breadcrumbs // Definitions by: Kostya Esmukov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import * as React from "react"; import * as ReactRouter from "react-router"; diff --git a/types/react-burger-menu/index.d.ts b/types/react-burger-menu/index.d.ts index 585026eeee..034346050e 100644 --- a/types/react-burger-menu/index.d.ts +++ b/types/react-burger-menu/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/negomi/react-burger-menu // Definitions by: Rajab Shakirov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-bytesize-icons/index.d.ts b/types/react-bytesize-icons/index.d.ts index d1176b810b..d9dd1a50f7 100644 --- a/types/react-bytesize-icons/index.d.ts +++ b/types/react-bytesize-icons/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/abdelhai/react-bytesize-icons // Definitions by: rhysd // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-calendar-heatmap/index.d.ts b/types/react-calendar-heatmap/index.d.ts index f15ff887ca..9f85b5bd2f 100644 --- a/types/react-calendar-heatmap/index.d.ts +++ b/types/react-calendar-heatmap/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/patientslikeme/react-calendar-heatmap // Definitions by: Keisuke Kan // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-calendar-timeline/index.d.ts b/types/react-calendar-timeline/index.d.ts index a8f76daca1..69e5d037dc 100644 --- a/types/react-calendar-timeline/index.d.ts +++ b/types/react-calendar-timeline/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/namespace-ee/react-calendar-timeline // Definitions by: Rajab Shakirov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-click-outside/index.d.ts b/types/react-click-outside/index.d.ts index 4f5f7e96cb..5a1ce6d220 100644 --- a/types/react-click-outside/index.d.ts +++ b/types/react-click-outside/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/kentor/react-click-outside // Definitions by: Christian Rackerseder // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; declare function enhanceWithClickOutside

(wrappedComponent: React.ComponentClass

): React.ComponentClass

; diff --git a/types/react-codemirror/index.d.ts b/types/react-codemirror/index.d.ts index afe3db2f75..607554b269 100644 --- a/types/react-codemirror/index.d.ts +++ b/types/react-codemirror/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Vicky Lai // Rudi Chen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 /// /// diff --git a/types/react-collapse/index.d.ts b/types/react-collapse/index.d.ts index ebb15e2dbb..a4061860ba 100644 --- a/types/react-collapse/index.d.ts +++ b/types/react-collapse/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/nkbt/react-collapse // Definitions by: Adam Binford // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; export interface CollapseProps extends React.HTMLProps { diff --git a/types/react-color/index.d.ts b/types/react-color/index.d.ts index b3cf15bc98..051d9d4b7f 100644 --- a/types/react-color/index.d.ts +++ b/types/react-color/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/casesandberg/react-color/ // Definitions by: Karol Janyst , Marks Polakovs , Matthieu Montaudouin // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { ComponentClass, ClassAttributes, StatelessComponent, ReactNode } from "react"; diff --git a/types/react-confirm/index.d.ts b/types/react-confirm/index.d.ts index 23b9f40772..d07a367eab 100644 --- a/types/react-confirm/index.d.ts +++ b/types/react-confirm/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/haradakunihiko/react-confirm // Definitions by: santiagodoldan // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-content-loader/index.d.ts b/types/react-content-loader/index.d.ts index a8f320eaa9..21f58664ca 100644 --- a/types/react-content-loader/index.d.ts +++ b/types/react-content-loader/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/danilowoz/react-content-loader // Definitions by: Alaa Masoud // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-copy-to-clipboard/index.d.ts b/types/react-copy-to-clipboard/index.d.ts index 1ee7dc0f9d..33e9549d30 100644 --- a/types/react-copy-to-clipboard/index.d.ts +++ b/types/react-copy-to-clipboard/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Meno Abels // Bernabe // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-cropper/index.d.ts b/types/react-cropper/index.d.ts index 43f2cac063..3ab1106754 100644 --- a/types/react-cropper/index.d.ts +++ b/types/react-cropper/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/roadmanfong/react-cropper // Definitions by: Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as cropperjs from 'cropperjs'; import * as React from 'react'; diff --git a/types/react-css-modules/index.d.ts b/types/react-css-modules/index.d.ts index 5ab7755478..955f76efa5 100644 --- a/types/react-css-modules/index.d.ts +++ b/types/react-css-modules/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/gajus/react-css-modules // Definitions by: Kostya Esmukov , Tadas Dailyda // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 interface TypeOptions { allowMultiple?: boolean; diff --git a/types/react-css-transition-replace/index.d.ts b/types/react-css-transition-replace/index.d.ts index 96f0952391..f252707f42 100644 --- a/types/react-css-transition-replace/index.d.ts +++ b/types/react-css-transition-replace/index.d.ts @@ -2,7 +2,7 @@ // Project: http://marnusw.github.io/react-css-transition-replace/ // Definitions by: Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; import * as CSSTransitionGroup from "react-addons-css-transition-group"; diff --git a/types/react-custom-scrollbars/index.d.ts b/types/react-custom-scrollbars/index.d.ts index 4af4d37d06..a55675ed8d 100644 --- a/types/react-custom-scrollbars/index.d.ts +++ b/types/react-custom-scrollbars/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: David-LeBlanc-git // kittimiyo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-custom-scrollbars/v3/index.d.ts b/types/react-custom-scrollbars/v3/index.d.ts index 6c408ec6f8..c0e7c1709e 100644 --- a/types/react-custom-scrollbars/v3/index.d.ts +++ b/types/react-custom-scrollbars/v3/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/malte-wessel/react-custom-scrollbars // Definitions by: David-LeBlanc-git // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-data-grid/index.d.ts b/types/react-data-grid/index.d.ts index f712b43e1b..27f12bccb6 100644 --- a/types/react-data-grid/index.d.ts +++ b/types/react-data-grid/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/adazzle/react-data-grid.git // Definitions by: Simon Gellis , Kieran Peat , Martin Novak // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-data-grid/v1/index.d.ts b/types/react-data-grid/v1/index.d.ts index 20ffef6c2b..81d7386dca 100644 --- a/types/react-data-grid/v1/index.d.ts +++ b/types/react-data-grid/v1/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/adazzle/react-data-grid.git // Definitions by: Simon Gellis // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-datagrid/index.d.ts b/types/react-datagrid/index.d.ts index e3c8d983ea..8b8d6e4848 100644 --- a/types/react-datagrid/index.d.ts +++ b/types/react-datagrid/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/zippyui/react-datagrid.git // Definitions by: Stephen Jelfs // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-date-range/index.d.ts b/types/react-date-range/index.d.ts index 68df9722bf..e5be9f751b 100644 --- a/types/react-date-range/index.d.ts +++ b/types/react-date-range/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/Adphorus/react-date-range/ // Definitions by: Junbong Lee // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import * as React from 'react'; import * as moment from "moment-timezone"; diff --git a/types/react-datepicker/index.d.ts b/types/react-datepicker/index.d.ts index 60309b7f20..ffc206cad5 100644 --- a/types/react-datepicker/index.d.ts +++ b/types/react-datepicker/index.d.ts @@ -7,7 +7,7 @@ // Roy Xue // Koala Human // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import * as React from "react"; import * as moment from "moment"; diff --git a/types/react-daterange-picker/index.d.ts b/types/react-daterange-picker/index.d.ts index 55e33ff2bb..e6fac4c33d 100644 --- a/types/react-daterange-picker/index.d.ts +++ b/types/react-daterange-picker/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: UNCOVER TRUTH Inc. // MartynasZilinskas // Definitions: https://github.com/borisyankov/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; import * as moment from "moment"; diff --git a/types/react-dates/index.d.ts b/types/react-dates/index.d.ts index abc0de7498..4434fa28a1 100644 --- a/types/react-dates/index.d.ts +++ b/types/react-dates/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/airbnb/react-dates // Definitions by: Artur Ampilogov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; import * as moment from "moment"; diff --git a/types/react-daum-postcode/index.d.ts b/types/react-daum-postcode/index.d.ts index 058777bc29..b6d093db2d 100644 --- a/types/react-daum-postcode/index.d.ts +++ b/types/react-daum-postcode/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/kimminsik-bernard/react-daum-postcode // Definitions by: Sa-ryong Kang // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component } from 'react'; diff --git a/types/react-dnd-html5-backend/index.d.ts b/types/react-dnd-html5-backend/index.d.ts index 6789ab3a19..1cf8f78335 100644 --- a/types/react-dnd-html5-backend/index.d.ts +++ b/types/react-dnd-html5-backend/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/gaearon/react-dnd // Definitions by: Pedro Pereira // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as ReactDnd from "react-dnd"; diff --git a/types/react-dnd-multi-backend/index.d.ts b/types/react-dnd-multi-backend/index.d.ts index 25029631cb..7e8b3ff209 100644 --- a/types/react-dnd-multi-backend/index.d.ts +++ b/types/react-dnd-multi-backend/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/LouisBrunner/react-dnd-multi-backend // Definitions by: Janeene Beeforth // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { CSSProperties, PureComponent } from "react"; import { Backend } from "react-dnd"; diff --git a/types/react-dnd-touch-backend/index.d.ts b/types/react-dnd-touch-backend/index.d.ts index 6cf6037048..d8e1681f96 100644 --- a/types/react-dnd-touch-backend/index.d.ts +++ b/types/react-dnd-touch-backend/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/yahoo/react-dnd-touch-backend#readme // Definitions by: Daniel Król , Janeene Beeforth // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as ReactDnd from "react-dnd"; diff --git a/types/react-dnd/index.d.ts b/types/react-dnd/index.d.ts index fe7d3c18f8..465b3aeca1 100644 --- a/types/react-dnd/index.d.ts +++ b/types/react-dnd/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/gaearon/react-dnd // Definitions by: Asana // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-document-title/index.d.ts b/types/react-document-title/index.d.ts index fa22fe30dc..85e9f3eb48 100644 --- a/types/react-document-title/index.d.ts +++ b/types/react-document-title/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/gaearon/react-document-title // Definitions by: Cleve Littlefield // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-dom-factories/index.d.ts b/types/react-dom-factories/index.d.ts index a0c63f0562..eaf04f766f 100644 --- a/types/react-dom-factories/index.d.ts +++ b/types/react-dom-factories/index.d.ts @@ -2,7 +2,7 @@ // Project: https://facebook.github.io/react/ // Definitions by: John Gozde // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 export as namespace ReactDOMFactories; export = ReactDOMFactories; diff --git a/types/react-dom/index.d.ts b/types/react-dom/index.d.ts index 20b870a8b8..da494182d6 100644 --- a/types/react-dom/index.d.ts +++ b/types/react-dom/index.d.ts @@ -6,7 +6,7 @@ // MartynasZilinskas // Josh Rutherford // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 export as namespace ReactDOM; diff --git a/types/react-dom/v15/index.d.ts b/types/react-dom/v15/index.d.ts index 796314e19f..bd39e0a5e1 100644 --- a/types/react-dom/v15/index.d.ts +++ b/types/react-dom/v15/index.d.ts @@ -5,7 +5,7 @@ // Microsoft // MartynasZilinskas // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 export as namespace ReactDOM; diff --git a/types/react-dropzone/v2/index.d.ts b/types/react-dropzone/v2/index.d.ts index 396fccc3b3..995e2cdb7d 100644 --- a/types/react-dropzone/v2/index.d.ts +++ b/types/react-dropzone/v2/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/okonet/react-dropzone // Definitions by: Mathieu Larouche Dube , Ivo Jesus , Luís Rodrigues , Ben Bayard // Definitions: https://github.com/Vooban/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-dropzone/v3/index.d.ts b/types/react-dropzone/v3/index.d.ts index c2ab8820de..55f485203f 100644 --- a/types/react-dropzone/v3/index.d.ts +++ b/types/react-dropzone/v3/index.d.ts @@ -6,7 +6,7 @@ // Ben Bayard , // Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { CSSProperties, Component, DragEvent, InputHTMLAttributes } from "react"; diff --git a/types/react-easy-chart/index.d.ts b/types/react-easy-chart/index.d.ts index 9c254c6a28..fa3eb07b2c 100644 --- a/types/react-easy-chart/index.d.ts +++ b/types/react-easy-chart/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/rma-consulting/react-easy-chart // Definitions by: Dave Leaver // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-event-listener/index.d.ts b/types/react-event-listener/index.d.ts index abfee41683..4b343c67e4 100644 --- a/types/react-event-listener/index.d.ts +++ b/types/react-event-listener/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/oliviertassinari/react-event-listener // Definitions by: Alexey Svetliakov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-fa/index.d.ts b/types/react-fa/index.d.ts index 38d9e9e1f2..86480a197e 100644 --- a/types/react-fa/index.d.ts +++ b/types/react-fa/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/andreypopp/react-fa // Definitions by: Frank Laub , Pat Sissons , Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component, ComponentClass, HTMLProps, StatelessComponent, ReactElement } from "react"; diff --git a/types/react-facebook-login/index.d.ts b/types/react-facebook-login/index.d.ts index d8fd4a0c8b..3cb1c21605 100644 --- a/types/react-facebook-login/index.d.ts +++ b/types/react-facebook-login/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/keppelen/react-facebook-login // Definitions by: Alexandre Paré , Jan Karres // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-faux-dom/index.d.ts b/types/react-faux-dom/index.d.ts index 59c771527d..70257b5ce5 100644 --- a/types/react-faux-dom/index.d.ts +++ b/types/react-faux-dom/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Ali Taheri Moghaddar // Cleve Littlefield // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-file-input/index.d.ts b/types/react-file-input/index.d.ts index 48c9854e55..d2aa7c70cf 100644 --- a/types/react-file-input/index.d.ts +++ b/types/react-file-input/index.d.ts @@ -2,7 +2,7 @@ // Project: https://www.npmjs.com/package/react-file-input // Definitions by: Dmitry Rogozhny // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-file-reader-input/index.d.ts b/types/react-file-reader-input/index.d.ts index af87636234..c198d2c5f1 100644 --- a/types/react-file-reader-input/index.d.ts +++ b/types/react-file-reader-input/index.d.ts @@ -2,7 +2,7 @@ // Project: https://www.npmjs.com/package/react-file-reader-input // Definitions by: Dmitry Rogozhny , Ali Taheri // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-flags-select/index.d.ts b/types/react-flags-select/index.d.ts index 6a2e1dc964..df01a33ae4 100644 --- a/types/react-flags-select/index.d.ts +++ b/types/react-flags-select/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/ekwonye-richard/react-flags-select#readme // Definitions by: Artur Sianiuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component } from 'react'; diff --git a/types/react-flatpickr/index.d.ts b/types/react-flatpickr/index.d.ts index ebac89f48d..68d79a2b6c 100644 --- a/types/react-flatpickr/index.d.ts +++ b/types/react-flatpickr/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/coderhaoxin/react-flatpickr // Definitions by: begincalendar // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component } from 'react'; import { Options } from 'flatpickr'; diff --git a/types/react-flex/index.d.ts b/types/react-flex/index.d.ts index 446445b2ba..50df2b6fb1 100644 --- a/types/react-flex/index.d.ts +++ b/types/react-flex/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/zippyui/react-flex // Definitions by: Jeffery Grajkowski // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-flexr/index.d.ts b/types/react-flexr/index.d.ts index 4b610711f6..31be71a93e 100644 --- a/types/react-flexr/index.d.ts +++ b/types/react-flexr/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/kodyl/react-flexr // Definitions by: Jeffery Grajkowski // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-fontawesome/index.d.ts b/types/react-fontawesome/index.d.ts index 2e76b305b7..118f6fb4cd 100644 --- a/types/react-fontawesome/index.d.ts +++ b/types/react-fontawesome/index.d.ts @@ -5,7 +5,7 @@ // Vincas Stonys // Gavin Gregory // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-form/index.d.ts b/types/react-form/index.d.ts index 965f55e7e7..e2c2823d7f 100644 --- a/types/react-form/index.d.ts +++ b/types/react-form/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/tannerlinsley/react-form#readme // Definitions by: Cameron McAteer // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-form/v1/index.d.ts b/types/react-form/v1/index.d.ts index 4694efa926..41ca659a2d 100644 --- a/types/react-form/v1/index.d.ts +++ b/types/react-form/v1/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/tannerlinsley/react-form#readme // Definitions by: Cameron McAteer // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-foundation/index.d.ts b/types/react-foundation/index.d.ts index d50d73f556..9c88ff2f7e 100644 --- a/types/react-foundation/index.d.ts +++ b/types/react-foundation/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/digiaonline/react-foundation // Definitions by: Daniel Earwicker // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 export { Accordion, AccordionItem, AccordionTitle, AccordionContent } from './components/accordion'; export { Badge } from './components/badge'; diff --git a/types/react-geosuggest/index.d.ts b/types/react-geosuggest/index.d.ts index c0f2aa5ede..a2fdedb757 100644 --- a/types/react-geosuggest/index.d.ts +++ b/types/react-geosuggest/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/ubilabs/react-geosuggest // Definitions by: Brad Menchl // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 /// diff --git a/types/react-google-recaptcha/index.d.ts b/types/react-google-recaptcha/index.d.ts index fee09c3ec8..841b6440af 100644 --- a/types/react-google-recaptcha/index.d.ts +++ b/types/react-google-recaptcha/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/dozoisch/react-google-recaptcha // Definitions by: Koala Human // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-gravatar/index.d.ts b/types/react-gravatar/index.d.ts index d7941f9224..e2418c2cf6 100644 --- a/types/react-gravatar/index.d.ts +++ b/types/react-gravatar/index.d.ts @@ -2,7 +2,7 @@ // Project: http://kyleamathews.github.io/react-gravatar/ // Definitions by: invliD // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-grid-layout/index.d.ts b/types/react-grid-layout/index.d.ts index 8dddb624d1..ff25317a96 100644 --- a/types/react-grid-layout/index.d.ts +++ b/types/react-grid-layout/index.d.ts @@ -5,7 +5,7 @@ // Zheyang Song , // Andrew Hathaway // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-hamburger-menu/index.d.ts b/types/react-hamburger-menu/index.d.ts index 1f91e6e8f0..c187a7ace3 100644 --- a/types/react-hamburger-menu/index.d.ts +++ b/types/react-hamburger-menu/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/cameronbourke/react-hamburger-menu // Definitions by: Grzegorz Kielak // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-helmet/index.d.ts b/types/react-helmet/index.d.ts index 359836bea8..4a2a9e46c8 100644 --- a/types/react-helmet/index.d.ts +++ b/types/react-helmet/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/nfl/react-helmet // Definitions by: Evan Bremer , Isman Usoh , François Nguyen , Kok Sam , Yui T. // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-helmet/v4/index.d.ts b/types/react-helmet/v4/index.d.ts index ab5ea373df..b9a813b432 100644 --- a/types/react-helmet/v4/index.d.ts +++ b/types/react-helmet/v4/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/nfl/react-helmet // Definitions by: Evan Bremer , Isman Usoh // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-highlight-words/index.d.ts b/types/react-highlight-words/index.d.ts index 3f37a70aaf..669a600dc9 100644 --- a/types/react-highlight-words/index.d.ts +++ b/types/react-highlight-words/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/bvaughn/react-highlight-words#readme // Definitions by: Mohamed Hegazy // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-highlighter/index.d.ts b/types/react-highlighter/index.d.ts index 8e918d87b7..022cdc911a 100644 --- a/types/react-highlighter/index.d.ts +++ b/types/react-highlighter/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/helior/react-highlighter // Definitions by: Pedro Pereira // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-holder/index.d.ts b/types/react-holder/index.d.ts index a82731f8ba..3fa3541786 100644 --- a/types/react-holder/index.d.ts +++ b/types/react-holder/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/Moeriki/react-holder // Definitions by: Isman Usoh // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-hot-loader/index.d.ts b/types/react-hot-loader/index.d.ts index 6bd1234259..6443fd1f43 100644 --- a/types/react-hot-loader/index.d.ts +++ b/types/react-hot-loader/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/gaearon/react-hot-loader // Definitions by: Jacek Jagiello // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react" diff --git a/types/react-hyperscript/index.d.ts b/types/react-hyperscript/index.d.ts index 207ffe18ce..09030de2a9 100644 --- a/types/react-hyperscript/index.d.ts +++ b/types/react-hyperscript/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/mlmorg/react-hyperscript // Definitions by: tock203 // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { ComponentClass, StatelessComponent, ReactElement } from 'react'; diff --git a/types/react-i18next/index.d.ts b/types/react-i18next/index.d.ts index 9831c0b049..356418fe2e 100644 --- a/types/react-i18next/index.d.ts +++ b/types/react-i18next/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Giedrius Grabauskas // Simon Baumann // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import { TranslationFunction } from "i18next"; diff --git a/types/react-i18next/v1/index.d.ts b/types/react-i18next/v1/index.d.ts index cf56874445..451e18c34a 100644 --- a/types/react-i18next/v1/index.d.ts +++ b/types/react-i18next/v1/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/i18next/react-i18next // Definitions by: Kostya Esmukov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as I18next from "i18next"; import * as React from "react"; diff --git a/types/react-i18next/v4/index.d.ts b/types/react-i18next/v4/index.d.ts index da6a12396d..6b87326975 100644 --- a/types/react-i18next/v4/index.d.ts +++ b/types/react-i18next/v4/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/i18next/react-i18next // Definitions by: Giedrius Grabauskas // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { TranslationFunction } from "i18next"; diff --git a/types/react-icon-base/index.d.ts b/types/react-icon-base/index.d.ts index 0bd0005244..7459349b82 100644 --- a/types/react-icon-base/index.d.ts +++ b/types/react-icon-base/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/gorangajic/react-icon-base#readme // Definitions by: Alexandre Paré , Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-icons/index.d.ts b/types/react-icons/index.d.ts index fb0026ff40..93c531c3b4 100644 --- a/types/react-icons/index.d.ts +++ b/types/react-icons/index.d.ts @@ -4,4 +4,4 @@ // John Reilly // Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 diff --git a/types/react-image-gallery/index.d.ts b/types/react-image-gallery/index.d.ts index 479b743e21..5b10b5925b 100644 --- a/types/react-image-gallery/index.d.ts +++ b/types/react-image-gallery/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/xiaolin/react-image-gallery // Definitions by: Adam Webb // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-imageloader/index.d.ts b/types/react-imageloader/index.d.ts index 4038e90ae0..bab7a49a34 100644 --- a/types/react-imageloader/index.d.ts +++ b/types/react-imageloader/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/hzdg/react-imageloader // Definitions by: Stephen Jelfs // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-infinite-scroller/index.d.ts b/types/react-infinite-scroller/index.d.ts index a136ececa7..066714344c 100644 --- a/types/react-infinite-scroller/index.d.ts +++ b/types/react-infinite-scroller/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Lauri Lavanti , // Piotr Srebniak // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-infinite/index.d.ts b/types/react-infinite/index.d.ts index 442764fe76..80a2594464 100644 --- a/types/react-infinite/index.d.ts +++ b/types/react-infinite/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/seatgeek/react-infinite // Definitions by: rhysd // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-input-calendar/index.d.ts b/types/react-input-calendar/index.d.ts index daa97aed68..c0e33783b4 100644 --- a/types/react-input-calendar/index.d.ts +++ b/types/react-input-calendar/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/Rudeg/react-input-calendar // Definitions by: Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-input-mask/index.d.ts b/types/react-input-mask/index.d.ts index a830650812..6ed7660196 100644 --- a/types/react-input-mask/index.d.ts +++ b/types/react-input-mask/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/sanniassin/react-input-mask // Definitions by: Alexandre Paré // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-intl-redux/index.d.ts b/types/react-intl-redux/index.d.ts index e47a48110c..300bd0542d 100644 --- a/types/react-intl-redux/index.d.ts +++ b/types/react-intl-redux/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/ratson/react-intl-redux // Definitions by: Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import { Action } from "redux" import { Provider as ReduxProvider } from "react-redux" diff --git a/types/react-intl/index.d.ts b/types/react-intl/index.d.ts index 383fdef681..72d5d69f51 100644 --- a/types/react-intl/index.d.ts +++ b/types/react-intl/index.d.ts @@ -9,7 +9,7 @@ // Krister Kari // Martin Raedlinger // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 declare namespace ReactIntl { type DateSource = Date | string | number; diff --git a/types/react-intl/v1/index.d.ts b/types/react-intl/v1/index.d.ts index fcbd8ccddf..a891167f91 100644 --- a/types/react-intl/v1/index.d.ts +++ b/types/react-intl/v1/index.d.ts @@ -2,7 +2,7 @@ // Project: http://formatjs.io/react/ // Definitions by: Bruno Grieder // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-is-deprecated/index.d.ts b/types/react-is-deprecated/index.d.ts index b493f793fe..791cb97862 100644 --- a/types/react-is-deprecated/index.d.ts +++ b/types/react-is-deprecated/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/Aweary/react-is-deprecated // Definitions by: Sean Kelley // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 declare module 'react-is-deprecated' { import { Validator, Requireable, ValidationMap, ReactPropTypes } from 'react'; diff --git a/types/react-joyride/index.d.ts b/types/react-joyride/index.d.ts index 757b538db1..4af8ab7d43 100644 --- a/types/react-joyride/index.d.ts +++ b/types/react-joyride/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/gilbarbara/react-joyride // Definitions by: Daniel Rosenwasser , Ben Dixon // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-json-pretty/index.d.ts b/types/react-json-pretty/index.d.ts index 56ee3e50b8..4229ff7c3b 100644 --- a/types/react-json-pretty/index.d.ts +++ b/types/react-json-pretty/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/chenckang/react-json-pretty // Definitions by: Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { ComponentClass, HTMLProps } from "react"; diff --git a/types/react-json-tree/index.d.ts b/types/react-json-tree/index.d.ts index e82be59e33..f275070a62 100644 --- a/types/react-json-tree/index.d.ts +++ b/types/react-json-tree/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/alexkuz/react-json-tree/ // Definitions by: Grant Nestor // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component, diff --git a/types/react-json/index.d.ts b/types/react-json/index.d.ts index 58bfd488f8..fa7eadeccc 100644 --- a/types/react-json/index.d.ts +++ b/types/react-json/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/arqex/react-json // Definitions by: Christoph Spielmann // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-jsonschema-form/index.d.ts b/types/react-jsonschema-form/index.d.ts index 785ee072e9..0a43e0f0c8 100644 --- a/types/react-jsonschema-form/index.d.ts +++ b/types/react-jsonschema-form/index.d.ts @@ -5,7 +5,7 @@ // Ivan Jiang // Kurt Preston // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 declare module "react-jsonschema-form" { import * as React from "react"; diff --git a/types/react-lazyload/index.d.ts b/types/react-lazyload/index.d.ts index ed90c3f973..b739b7d8cc 100644 --- a/types/react-lazyload/index.d.ts +++ b/types/react-lazyload/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/jasonslyvia/react-lazyload // Definitions by: m0a // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component } from 'react'; diff --git a/types/react-leaflet/index.d.ts b/types/react-leaflet/index.d.ts index 5fdc5831e9..48a98bfbca 100644 --- a/types/react-leaflet/index.d.ts +++ b/types/react-leaflet/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/PaulLeCam/react-leaflet // Definitions by: Dave Leaver , David Schneider , Yui T. // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as Leaflet from 'leaflet'; import * as React from 'react'; diff --git a/types/react-list/index.d.ts b/types/react-list/index.d.ts index 30371fc35b..77559988da 100644 --- a/types/react-list/index.d.ts +++ b/types/react-list/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/orgsync/react-list // Definitions by: Yifei Yan , Tom Shen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component, diff --git a/types/react-loadable/index.d.ts b/types/react-loadable/index.d.ts index 08c5b52e39..d2229d4bf6 100644 --- a/types/react-loadable/index.d.ts +++ b/types/react-loadable/index.d.ts @@ -5,7 +5,7 @@ // Ian Ker-Seymer // Tomek Łaziuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 /// diff --git a/types/react-loader/index.d.ts b/types/react-loader/index.d.ts index 8734d1cfd9..2d8f7a99a0 100644 --- a/types/react-loader/index.d.ts +++ b/types/react-loader/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/quickleft/react-loader // Definitions by: Sudarsan Balaji // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component } from 'react'; diff --git a/types/react-maskedinput/index.d.ts b/types/react-maskedinput/index.d.ts index 298f48ea30..3a1b4687eb 100644 --- a/types/react-maskedinput/index.d.ts +++ b/types/react-maskedinput/index.d.ts @@ -4,7 +4,7 @@ // Adam Lavin // Carlos Bonetti // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-mce/index.d.ts b/types/react-mce/index.d.ts index 861ce80e9e..6f1fb978db 100644 --- a/types/react-mce/index.d.ts +++ b/types/react-mce/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/janstuemmel/react-mce // Definitions by: Gavin Heise // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import * as ActualTinyMCE from 'tinymce'; diff --git a/types/react-mdl/index.d.ts b/types/react-mdl/index.d.ts index 8e70852190..caf910d421 100644 --- a/types/react-mdl/index.d.ts +++ b/types/react-mdl/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/tleunen/react-mdl // Definitions by: Brad Zacher // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-measure/index.d.ts b/types/react-measure/index.d.ts index 945a49213a..c61b22b187 100644 --- a/types/react-measure/index.d.ts +++ b/types/react-measure/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/souporserious/react-measure // Definitions by: Alexey Svetliakov , Marc Fallows // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-mixin/index.d.ts b/types/react-mixin/index.d.ts index 09f7eb8366..265794afe2 100644 --- a/types/react-mixin/index.d.ts +++ b/types/react-mixin/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/brigand/react-mixin // Definitions by: Qubo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-modal/index.d.ts b/types/react-modal/index.d.ts index 16ee347cfd..9a0d534af2 100644 --- a/types/react-modal/index.d.ts +++ b/types/react-modal/index.d.ts @@ -7,7 +7,7 @@ // Uwe Wiemer , // Peter Blazejewicz // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-monaco-editor/index.d.ts b/types/react-monaco-editor/index.d.ts index a493f3e194..f6245a82f4 100644 --- a/types/react-monaco-editor/index.d.ts +++ b/types/react-monaco-editor/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/superRaytin/react-monaco-editor // Definitions by: Joshua Netterfield // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-motion-slider/index.d.ts b/types/react-motion-slider/index.d.ts index 3bc8f75400..2e7ea921ef 100644 --- a/types/react-motion-slider/index.d.ts +++ b/types/react-motion-slider/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/souporserious/react-motion-slider // Definitions by: Alexey Svetliakov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 declare module "react-motion-slider" { import * as React from "react"; diff --git a/types/react-motion/index.d.ts b/types/react-motion/index.d.ts index c33b6c8936..2c2958a62e 100644 --- a/types/react-motion/index.d.ts +++ b/types/react-motion/index.d.ts @@ -4,7 +4,7 @@ // Alexey Svetliakov // Dimitar Nestorov // Definitions: https://github.com/borisyankov/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component, ReactElement } from 'react'; diff --git a/types/react-native-collapsible/index.d.ts b/types/react-native-collapsible/index.d.ts index bdd8dd9ea5..bdfc7cde09 100644 --- a/types/react-native-collapsible/index.d.ts +++ b/types/react-native-collapsible/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/oblador/react-native-collapsible // Definitions by: Kyle Roach // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-native-datepicker/index.d.ts b/types/react-native-datepicker/index.d.ts index 19b2f488ca..ceb0e612aa 100644 --- a/types/react-native-datepicker/index.d.ts +++ b/types/react-native-datepicker/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/xgfe/react-native-datepicker // Definitions by: Jacob Baskin // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { ImageURISource } from 'react-native'; diff --git a/types/react-native-doc-viewer/index.d.ts b/types/react-native-doc-viewer/index.d.ts index 118104f1ae..6d09e3966a 100644 --- a/types/react-native-doc-viewer/index.d.ts +++ b/types/react-native-doc-viewer/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/philipphecht/react-native-doc-viewer/blob/master/README.md // Definitions by: Kyle Roach // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 export function openDoc( files: Array<{ url: string; fileName?: string }>, diff --git a/types/react-native-drawer-layout/index.d.ts b/types/react-native-drawer-layout/index.d.ts index f8b34fc3fd..e77bcb268c 100644 --- a/types/react-native-drawer-layout/index.d.ts +++ b/types/react-native-drawer-layout/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/react-native-community/react-native-drawer-layout // Definitions by: Justin Firth // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { ViewProperties } from 'react-native'; diff --git a/types/react-native-drawer/index.d.ts b/types/react-native-drawer/index.d.ts index c36b3614f7..ac64c55fd9 100644 --- a/types/react-native-drawer/index.d.ts +++ b/types/react-native-drawer/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/root-two/react-native-drawer // Definitions by: jnbt // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { ViewStyle, ScaledSize } from 'react-native'; diff --git a/types/react-native-fbsdk/index.d.ts b/types/react-native-fbsdk/index.d.ts index 8a07d47e88..8b948d6b0d 100644 --- a/types/react-native-fbsdk/index.d.ts +++ b/types/react-native-fbsdk/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/facebook/react-native-fbsdk // Definitions by: Ifiok Jr. // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { ComponentClass, Component } from 'react'; import { ViewStyle } from 'react-native'; diff --git a/types/react-native-fs/index.d.ts b/types/react-native-fs/index.d.ts index 0e6fc8a3bf..17f26a5514 100644 --- a/types/react-native-fs/index.d.ts +++ b/types/react-native-fs/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Paulo Cesar // Joseph Roque // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-native-google-signin/index.d.ts b/types/react-native-google-signin/index.d.ts index 6166f99a98..c99a767b8a 100644 --- a/types/react-native-google-signin/index.d.ts +++ b/types/react-native-google-signin/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/devfd/react-native-google-signin // Definitions by: Jacob Froman // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { ViewProperties } from 'react-native'; diff --git a/types/react-native-keep-awake/index.d.ts b/types/react-native-keep-awake/index.d.ts index 21ca38b83f..f22d1342c6 100644 --- a/types/react-native-keep-awake/index.d.ts +++ b/types/react-native-keep-awake/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/corbt/react-native-keep-awake // Definitions by: huhuanming // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; declare class KeepAwake extends React.Component<{ children?: JSX.Element }> { diff --git a/types/react-native-linear-gradient/index.d.ts b/types/react-native-linear-gradient/index.d.ts index 9c7bfbc1fd..687bd4e432 100644 --- a/types/react-native-linear-gradient/index.d.ts +++ b/types/react-native-linear-gradient/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/brentvatne/react-native-linear-gradient#readme // Definitions by: Jacob Froman // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { ViewProperties } from 'react-native'; diff --git a/types/react-native-material-design-searchbar/index.d.ts b/types/react-native-material-design-searchbar/index.d.ts index b00f921dc4..3c2aad9c51 100644 --- a/types/react-native-material-design-searchbar/index.d.ts +++ b/types/react-native-material-design-searchbar/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/ananddayalan/react-native-material-design-searchbar // Definitions by: Kyle Roach // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { diff --git a/types/react-native-material-kit/index.d.ts b/types/react-native-material-kit/index.d.ts index 5dc9b63aff..79379e599a 100644 --- a/types/react-native-material-kit/index.d.ts +++ b/types/react-native-material-kit/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Kyle Roach // Tim Wang // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import * as React from 'react'; import { diff --git a/types/react-native-material-ui/index.d.ts b/types/react-native-material-ui/index.d.ts index d8560653d7..e643b4198f 100644 --- a/types/react-native-material-ui/index.d.ts +++ b/types/react-native-material-ui/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/xotahal/react-native-material-ui // Definitions by: Kyle Roach // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component } from 'react'; import { ViewStyle, TextStyle, Image } from 'react-native'; diff --git a/types/react-native-modalbox/index.d.ts b/types/react-native-modalbox/index.d.ts index 457872889b..683773e995 100644 --- a/types/react-native-modalbox/index.d.ts +++ b/types/react-native-modalbox/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/maxs15/react-native-modalbox#readme // Definitions by: Kyle Roach // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { ViewProperties } from 'react-native'; diff --git a/types/react-native-navigation/index.d.ts b/types/react-native-navigation/index.d.ts index 893a904f73..ae80c82560 100644 --- a/types/react-native-navigation/index.d.ts +++ b/types/react-native-navigation/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/wix/react-native-navigation // Definitions by: Egor Shulga // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-native-popup-dialog/index.d.ts b/types/react-native-popup-dialog/index.d.ts index 73466d1b9d..c295a21ca2 100644 --- a/types/react-native-popup-dialog/index.d.ts +++ b/types/react-native-popup-dialog/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Paito Anderson // connectdotz // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { GestureResponderEvent, StyleProp, ViewStyle, TextStyle } from 'react-native'; diff --git a/types/react-native-qrcode/index.d.ts b/types/react-native-qrcode/index.d.ts index 11b54f3a95..7c745aa1b6 100644 --- a/types/react-native-qrcode/index.d.ts +++ b/types/react-native-qrcode/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/cssivision/react-native-qrcode // Definitions by: York Yao // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-native-safari-view/index.d.ts b/types/react-native-safari-view/index.d.ts index 9a398fde28..658a6664ce 100644 --- a/types/react-native-safari-view/index.d.ts +++ b/types/react-native-safari-view/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/naoufal/react-native-safari-view // Definitions by: Michael Randolph // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { EmitterSubscription } from 'react-native'; diff --git a/types/react-native-scrollable-tab-view/index.d.ts b/types/react-native-scrollable-tab-view/index.d.ts index 2ee0982c86..5844e31c90 100644 --- a/types/react-native-scrollable-tab-view/index.d.ts +++ b/types/react-native-scrollable-tab-view/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/brentvatne/react-native-scrollable-tab-view#readme // Definitions by: CaiHuan // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { diff --git a/types/react-native-sensor-manager/index.d.ts b/types/react-native-sensor-manager/index.d.ts index 85e5870f0a..0b0f0bf67a 100644 --- a/types/react-native-sensor-manager/index.d.ts +++ b/types/react-native-sensor-manager/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/kprimice/react-native-sensor-manager // Definitions by: Sahin Vardar // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-native-snap-carousel/index.d.ts b/types/react-native-snap-carousel/index.d.ts index 5bba10bafb..e62301d2fc 100644 --- a/types/react-native-snap-carousel/index.d.ts +++ b/types/react-native-snap-carousel/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: jnbt // Jacob Froman // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { diff --git a/types/react-native-sortable-grid/index.d.ts b/types/react-native-sortable-grid/index.d.ts index bc4826dd05..392e9b1b01 100644 --- a/types/react-native-sortable-grid/index.d.ts +++ b/types/react-native-sortable-grid/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/ollija/react-native-sortable-grid#readme // Definitions by: Jacob Froman // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { StyleProp, ViewStyle, Animated } from 'react-native'; diff --git a/types/react-native-sortable-list/index.d.ts b/types/react-native-sortable-list/index.d.ts index 3c1d1c967b..9b8e547b85 100644 --- a/types/react-native-sortable-list/index.d.ts +++ b/types/react-native-sortable-list/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/gitim/react-native-sortable-list // Definitions by: Michael Sivolobov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { ViewStyle } from 'react-native'; diff --git a/types/react-native-svg-uri/index.d.ts b/types/react-native-svg-uri/index.d.ts index ea2607aa19..4529c53d5e 100644 --- a/types/react-native-svg-uri/index.d.ts +++ b/types/react-native-svg-uri/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/matiascba/react-native-svg-uri#readme // Definitions by: Kyle Roach // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { ImageURISource } from 'react-native'; diff --git a/types/react-native-swiper/index.d.ts b/types/react-native-swiper/index.d.ts index 7007fa6f7f..c6616aea0c 100644 --- a/types/react-native-swiper/index.d.ts +++ b/types/react-native-swiper/index.d.ts @@ -4,7 +4,7 @@ // HuHuanming // mhcgrq // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { diff --git a/types/react-native-tab-navigator/index.d.ts b/types/react-native-tab-navigator/index.d.ts index 9c2beb5108..1f4e5e5437 100644 --- a/types/react-native-tab-navigator/index.d.ts +++ b/types/react-native-tab-navigator/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/exponentjs/react-native-tab-navigator#readme // Definitions by: My Self // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import * as React from 'react'; import { ViewStyle, TextStyle } from 'react-native'; diff --git a/types/react-native-tab-view/index.d.ts b/types/react-native-tab-view/index.d.ts index ca5a375e74..2c6546a628 100644 --- a/types/react-native-tab-view/index.d.ts +++ b/types/react-native-tab-view/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/react-native-community/react-native-tab-view // Definitions by: Kalle Ott // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import { PureComponent, ReactNode, ComponentType } from 'react' import { diff --git a/types/react-native-vector-icons/index.d.ts b/types/react-native-vector-icons/index.d.ts index 39bb2a6640..05a140e3bb 100644 --- a/types/react-native-vector-icons/index.d.ts +++ b/types/react-native-vector-icons/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Kyle Roach // Tim Wang // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { Icon } from './Icon'; diff --git a/types/react-native-video/index.d.ts b/types/react-native-video/index.d.ts index 4d9edaa364..5353ea6de7 100644 --- a/types/react-native-video/index.d.ts +++ b/types/react-native-video/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: HuHuanming // abrahambotros // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import * as React from 'react'; import { diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index c2ca58a5f3..ea56558e7f 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -7,7 +7,7 @@ // Kamal Mahyuddin // Naoufal El Yousfi // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // diff --git a/types/react-navigation/index.d.ts b/types/react-navigation/index.d.ts index 49164e353f..2c3c384ac6 100644 --- a/types/react-navigation/index.d.ts +++ b/types/react-navigation/index.d.ts @@ -12,7 +12,7 @@ // Qibang Sun // Sergei Butko: // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /** * BEGIN FLOW TYPEDEFINITION.JS PORT diff --git a/types/react-notification-system-redux/index.d.ts b/types/react-notification-system-redux/index.d.ts index 1e009a4f46..d74ea35871 100644 --- a/types/react-notification-system-redux/index.d.ts +++ b/types/react-notification-system-redux/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/gor181/react-notification-system-redux // Definitions by: Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component } from "react"; import { Action } from "redux"; diff --git a/types/react-notification-system/index.d.ts b/types/react-notification-system/index.d.ts index d321ee6a16..8176ad097c 100644 --- a/types/react-notification-system/index.d.ts +++ b/types/react-notification-system/index.d.ts @@ -2,7 +2,7 @@ // Project: https://www.npmjs.com/package/react-notification-system // Definitions by: Giedrius Grabauskas , Deividas Bakanas , Karol Janyst , Bartosz Szewczyk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-numeric-input/index.d.ts b/types/react-numeric-input/index.d.ts index e6121f45e7..b10a54cfe3 100644 --- a/types/react-numeric-input/index.d.ts +++ b/types/react-numeric-input/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/vlad-ignatov/react-numeric-input#readme // Definitions by: Heather Booker // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-onclickoutside/index.d.ts b/types/react-onclickoutside/index.d.ts index ad61a418a0..d97970642f 100644 --- a/types/react-onclickoutside/index.d.ts +++ b/types/react-onclickoutside/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/Pomax/react-onclickoutside // Definitions by: Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-onclickoutside/v5/index.d.ts b/types/react-onclickoutside/v5/index.d.ts index 8d9ed949a6..4228697e22 100644 --- a/types/react-onclickoutside/v5/index.d.ts +++ b/types/react-onclickoutside/v5/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/Pomax/react-onclickoutside // Definitions by: Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-onsenui/index.d.ts b/types/react-onsenui/index.d.ts index 7407eea34a..1e413dc3ec 100644 --- a/types/react-onsenui/index.d.ts +++ b/types/react-onsenui/index.d.ts @@ -2,7 +2,7 @@ // Project: https://onsen.io/v2/docs/guide/react/ // Definitions by: Ozytis , Salim , Jemmyw // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import Component = React.Component; diff --git a/types/react-overlays/index.d.ts b/types/react-overlays/index.d.ts index 5d33d8da37..99df3b3cbd 100644 --- a/types/react-overlays/index.d.ts +++ b/types/react-overlays/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Aaron Beall // Vito Samson // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-paginate/index.d.ts b/types/react-paginate/index.d.ts index a6c1c41d1b..0030028055 100644 --- a/types/react-paginate/index.d.ts +++ b/types/react-paginate/index.d.ts @@ -5,7 +5,7 @@ // pegel03 // Simon Archer // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-pointable/index.d.ts b/types/react-pointable/index.d.ts index ac6eb2f2a2..c69d537d55 100644 --- a/types/react-pointable/index.d.ts +++ b/types/react-pointable/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Stefan Fochler // Dibyo Majumdar // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-portal/index.d.ts b/types/react-portal/index.d.ts index ee6a5c857f..7595c5e8ad 100644 --- a/types/react-portal/index.d.ts +++ b/types/react-portal/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/tajo/react-portal#readme // Definitions by: Shun Takahashi // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-props-decorators/index.d.ts b/types/react-props-decorators/index.d.ts index 64f33a495c..8aa59e5194 100644 --- a/types/react-props-decorators/index.d.ts +++ b/types/react-props-decorators/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/popkirby/react-props-decorators // Definitions by: Qubo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-recaptcha/index.d.ts b/types/react-recaptcha/index.d.ts index 59d974a5cf..ecfd0db003 100644 --- a/types/react-recaptcha/index.d.ts +++ b/types/react-recaptcha/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Mohamed Hegazy // Zach // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component } from "react"; diff --git a/types/react-redux-i18n/index.d.ts b/types/react-redux-i18n/index.d.ts index 2195dfaeaa..20cca729bf 100644 --- a/types/react-redux-i18n/index.d.ts +++ b/types/react-redux-i18n/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/zoover/react-redux-i18n // Definitions by: Clément Devos // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 declare module 'react-redux-i18n' { import * as react from "react" diff --git a/types/react-redux-toastr/index.d.ts b/types/react-redux-toastr/index.d.ts index 125e0f138e..bf50211775 100644 --- a/types/react-redux-toastr/index.d.ts +++ b/types/react-redux-toastr/index.d.ts @@ -4,7 +4,7 @@ // Artyom Stukans // Mika Kuitunen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import { Component } from 'react'; import { Action, ActionCreator, Reducer } from 'redux'; diff --git a/types/react-redux/index.d.ts b/types/react-redux/index.d.ts index 2a015389da..1528d58af5 100644 --- a/types/react-redux/index.d.ts +++ b/types/react-redux/index.d.ts @@ -9,7 +9,7 @@ // Dibyo Majumdar // Prashant Deva // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 // Known Issue: // There is a known issue in TypeScript, which doesn't allow decorators to change the signature of the classes diff --git a/types/react-relay/index.d.ts b/types/react-relay/index.d.ts index 55848cb47c..ae5d6e8f37 100644 --- a/types/react-relay/index.d.ts +++ b/types/react-relay/index.d.ts @@ -5,7 +5,7 @@ // Eloy Durán // Nicolas Pirotte // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 export { commitLocalUpdate, diff --git a/types/react-resolver/index.d.ts b/types/react-resolver/index.d.ts index 2b27d26d6a..c871426401 100644 --- a/types/react-resolver/index.d.ts +++ b/types/react-resolver/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/ericclemmons/react-resolver // Definitions by: forabi // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { ComponentType, StatelessComponent, Factory } from 'react'; diff --git a/types/react-responsive/index.d.ts b/types/react-responsive/index.d.ts index dde02d8dae..ad042a34c5 100644 --- a/types/react-responsive/index.d.ts +++ b/types/react-responsive/index.d.ts @@ -4,7 +4,7 @@ // Alec Hill // Javier Gonzalez // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-responsive/v1/index.d.ts b/types/react-responsive/v1/index.d.ts index ea0b07aa30..f9c3bfcf83 100644 --- a/types/react-responsive/v1/index.d.ts +++ b/types/react-responsive/v1/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/contra/react-responsive // Definitions by: Alexey Svetliakov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-router-bootstrap/index.d.ts b/types/react-router-bootstrap/index.d.ts index 19e1940836..db2b67d040 100644 --- a/types/react-router-bootstrap/index.d.ts +++ b/types/react-router-bootstrap/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/react-bootstrap/react-router-bootstrap // Definitions by: Vincent Lesierse , Karol Janyst , Olmo del Corral // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 export { default as LinkContainer } from "react-router-bootstrap/lib/LinkContainer" export { default as IndexLinkContainer } from "react-router-bootstrap/lib/IndexLinkContainer" diff --git a/types/react-router-config/index.d.ts b/types/react-router-config/index.d.ts index d33e385a53..deb9d8003d 100644 --- a/types/react-router-config/index.d.ts +++ b/types/react-router-config/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/ReactTraining/react-router/tree/master/packages/react-router-config // Definitions by: François Nguyen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import * as React from "react"; import { RouteComponentProps, match } from "react-router"; diff --git a/types/react-router-dom/index.d.ts b/types/react-router-dom/index.d.ts index 88119a4858..8286745998 100644 --- a/types/react-router-dom/index.d.ts +++ b/types/react-router-dom/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Tanguy Krotoff // Huy Nguyen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import { match } from "react-router"; import * as React from 'react'; diff --git a/types/react-router-native/index.d.ts b/types/react-router-native/index.d.ts index 88c0108212..4a14dce8dc 100644 --- a/types/react-router-native/index.d.ts +++ b/types/react-router-native/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/ReactTraining/react-router-native // Definitions by: Eduard Zintz // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 export { match, diff --git a/types/react-router-navigation-core/index.d.ts b/types/react-router-navigation-core/index.d.ts index a7ad09748c..8af7235a94 100644 --- a/types/react-router-navigation-core/index.d.ts +++ b/types/react-router-navigation-core/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/LeoLeBras/react-router-navigation#readme // Definitions by: Kalle Ott // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 // High-level wrappers import { PureComponent, ReactNode, ComponentClass, ReactElement } from "react"; diff --git a/types/react-router-navigation/index.d.ts b/types/react-router-navigation/index.d.ts index 863158cd3f..c69a172c43 100644 --- a/types/react-router-navigation/index.d.ts +++ b/types/react-router-navigation/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/LeoLeBras/react-router-navigation#readme // Definitions by: Kalle Ott // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import { Component, ReactNode, ReactElement, ComponentClass } from "react"; import { StyleProp, ViewProperties, ViewStyle, TextStyle } from "react-native"; diff --git a/types/react-router-redux/index.d.ts b/types/react-router-redux/index.d.ts index 5f5d9b31ea..0ce965b397 100644 --- a/types/react-router-redux/index.d.ts +++ b/types/react-router-redux/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Huy Nguyen // Shoya Tanaka // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import { Store, diff --git a/types/react-router/index.d.ts b/types/react-router/index.d.ts index 1bebd855f1..47274d71e2 100644 --- a/types/react-router/index.d.ts +++ b/types/react-router/index.d.ts @@ -16,7 +16,7 @@ // Egor Shulga // Youen Toupin // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import * as React from 'react'; import * as H from 'history'; diff --git a/types/react-router/v2/index.d.ts b/types/react-router/v2/index.d.ts index c2fd8e9b22..68f9c3f38f 100644 --- a/types/react-router/v2/index.d.ts +++ b/types/react-router/v2/index.d.ts @@ -7,7 +7,7 @@ // Alex Wendland // Kostya Esmukov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 export as namespace ReactRouter; diff --git a/types/react-router/v3/index.d.ts b/types/react-router/v3/index.d.ts index 69f24bfc3b..9ca93b3a9b 100644 --- a/types/react-router/v3/index.d.ts +++ b/types/react-router/v3/index.d.ts @@ -11,7 +11,7 @@ // Dovydas Navickas // Ross Allen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 export { ChangeHook, diff --git a/types/react-s-alert/index.d.ts b/types/react-s-alert/index.d.ts index 42a0557162..bd014abd0a 100644 --- a/types/react-s-alert/index.d.ts +++ b/types/react-s-alert/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/juliancwirko/react-s-alert // Definitions by: mitsuruog // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-scroll/index.d.ts b/types/react-scroll/index.d.ts index 5c7c3cbced..f04e6d86ff 100644 --- a/types/react-scroll/index.d.ts +++ b/types/react-scroll/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Ioannis Kokkinidis // Giedrius Grabauskas // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as ReactScroll from "./modules/index"; export = ReactScroll; diff --git a/types/react-scrollbar/index.d.ts b/types/react-scrollbar/index.d.ts index 9f73a0be51..f551d83ebd 100644 --- a/types/react-scrollbar/index.d.ts +++ b/types/react-scrollbar/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/souhe/reactScrollbar // Definitions by: Stephen Jelfs // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-select/index.d.ts b/types/react-select/index.d.ts index 4487ea4093..d273cee8d5 100644 --- a/types/react-select/index.d.ts +++ b/types/react-select/index.d.ts @@ -12,7 +12,7 @@ // Anton Novik // David Schkalee // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-side-effect/index.d.ts b/types/react-side-effect/index.d.ts index 409c81cb80..358acbbf05 100644 --- a/types/react-side-effect/index.d.ts +++ b/types/react-side-effect/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/gaearon/react-side-effect // Definitions by: Remo H. Jansen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-sidebar/index.d.ts b/types/react-sidebar/index.d.ts index 9701c09d78..24684c4c76 100644 --- a/types/react-sidebar/index.d.ts +++ b/types/react-sidebar/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/balloob/react-sidebar#readme // Definitions by: Jeroen Vervaeke // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component } from "react"; diff --git a/types/react-sketchapp/index.d.ts b/types/react-sketchapp/index.d.ts index fafa693207..67ade07673 100644 --- a/types/react-sketchapp/index.d.ts +++ b/types/react-sketchapp/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Rico Kahler // DomiR // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-slick/index.d.ts b/types/react-slick/index.d.ts index 4447e9d50f..475b9afcfc 100644 --- a/types/react-slick/index.d.ts +++ b/types/react-slick/index.d.ts @@ -4,7 +4,7 @@ // Giedrius Grabauskas // Andrew Makarov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-smooth-scrollbar/index.d.ts b/types/react-smooth-scrollbar/index.d.ts index b8e4e7d149..c0aa21a0ff 100644 --- a/types/react-smooth-scrollbar/index.d.ts +++ b/types/react-smooth-scrollbar/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/idiotWu/react-smooth-scrollbar // Definitions by: Alexey Svetliakov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; import SmoothScrollbar from "smooth-scrollbar"; diff --git a/types/react-sortable-hoc/index.d.ts b/types/react-sortable-hoc/index.d.ts index 199156100e..851170036d 100644 --- a/types/react-sortable-hoc/index.d.ts +++ b/types/react-sortable-hoc/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/clauderic/react-sortable-hoc // Definitions by: Ivo Stratev , Charles Rey // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-sortable-pane/index.d.ts b/types/react-sortable-pane/index.d.ts index 97b35f04bd..f8d3eba15f 100644 --- a/types/react-sortable-pane/index.d.ts +++ b/types/react-sortable-pane/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/bokuweb/react-sortable-pane // Definitions by: rhysd // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-sortable-tree/index.d.ts b/types/react-sortable-tree/index.d.ts index 2b9d1d1a6c..441e0bb61b 100644 --- a/types/react-sortable-tree/index.d.ts +++ b/types/react-sortable-tree/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Wouter Hardeman // Jovica Zoric // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { ListProps, Index } from 'react-virtualized'; diff --git a/types/react-spinkit/index.d.ts b/types/react-spinkit/index.d.ts index da0ff35f91..9e4a5f0cff 100644 --- a/types/react-spinkit/index.d.ts +++ b/types/react-spinkit/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/KyleAMathews/react-spinkit // Definitions by: Qubo , Mleko , Tom Crockett , zzanol // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-spinkit/v1/index.d.ts b/types/react-spinkit/v1/index.d.ts index d9a3609653..ec841afd4b 100644 --- a/types/react-spinkit/v1/index.d.ts +++ b/types/react-spinkit/v1/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/KyleAMathews/react-spinkit // Definitions by: Qubo , Mleko , Tom Crockett // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-sticky/index.d.ts b/types/react-sticky/index.d.ts index 85743b9945..9350069bcd 100644 --- a/types/react-sticky/index.d.ts +++ b/types/react-sticky/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/captivationsoftware/react-sticky // Definitions by: Matej Lednicky , Curtis Warren // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-stripe-elements/index.d.ts b/types/react-stripe-elements/index.d.ts index 72dea90475..8713d5828a 100644 --- a/types/react-stripe-elements/index.d.ts +++ b/types/react-stripe-elements/index.d.ts @@ -4,7 +4,7 @@ // Santiago Doldan // sonnysangha // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// import * as React from 'react'; diff --git a/types/react-svg-pan-zoom/index.d.ts b/types/react-svg-pan-zoom/index.d.ts index 5cd5e7d2ff..f825694915 100644 --- a/types/react-svg-pan-zoom/index.d.ts +++ b/types/react-svg-pan-zoom/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/chrvadala/react-svg-pan-zoom#readme // Definitions by: Huy Nguyen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-swf/index.d.ts b/types/react-swf/index.d.ts index 715c62bb43..c37aff3d69 100644 --- a/types/react-swf/index.d.ts +++ b/types/react-swf/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/syranide/react-swf // Definitions by: Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; export as namespace ReactSWF; diff --git a/types/react-swipe/index.d.ts b/types/react-swipe/index.d.ts index 3a11f905d1..fb7d02055f 100644 --- a/types/react-swipe/index.d.ts +++ b/types/react-swipe/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/voronianski/react-swipe // Definitions by: Deividas Bakanas // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-swipeable-views/index.d.ts b/types/react-swipeable-views/index.d.ts index fd4b322fd5..dedc165871 100644 --- a/types/react-swipeable-views/index.d.ts +++ b/types/react-swipeable-views/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Michael Ledin // Deividas Bakanas // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-swipeable/index.d.ts b/types/react-swipeable/index.d.ts index 1608258c64..b39a7b29ea 100644 --- a/types/react-swipeable/index.d.ts +++ b/types/react-swipeable/index.d.ts @@ -4,7 +4,7 @@ // Konstantin Vasilev // Hiroki Horiuchi // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-syntax-highlighter/index.d.ts b/types/react-syntax-highlighter/index.d.ts index eb0a5c21fa..9650d2ba20 100644 --- a/types/react-syntax-highlighter/index.d.ts +++ b/types/react-syntax-highlighter/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/conorhastings/react-syntax-highlighter // Definitions by: Ivo Stratev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 declare module 'react-syntax-highlighter' { import SyntaxHighlighter from 'react-syntax-highlighter/dist/light'; diff --git a/types/react-table/index.d.ts b/types/react-table/index.d.ts index 1800a9d745..2ab2d2a821 100644 --- a/types/react-table/index.d.ts +++ b/types/react-table/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/react-tools/react-table // Definitions by: Roy Xue , Pavel Sakalo , Krzysztof Porębski // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; export type ReactTableFunction = () => void; diff --git a/types/react-tabs/index.d.ts b/types/react-tabs/index.d.ts index a4a528046a..9c053d465e 100644 --- a/types/react-tabs/index.d.ts +++ b/types/react-tabs/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/reactjs/react-tabs/ // Definitions by: Yuu Igarashi , Daniel Tschinder // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-tag-input/index.d.ts b/types/react-tag-input/index.d.ts index c614e096ed..6dd269896e 100644 --- a/types/react-tag-input/index.d.ts +++ b/types/react-tag-input/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Ogglas // Jan Karres // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-tagcloud/index.d.ts b/types/react-tagcloud/index.d.ts index 4315e6eb5c..4f6987cb5f 100644 --- a/types/react-tagcloud/index.d.ts +++ b/types/react-tagcloud/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/madox2/react-tagcloud // Definitions by: wassname // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-tagsinput/index.d.ts b/types/react-tagsinput/index.d.ts index 6b4d92b3b7..4de3a4b8ac 100644 --- a/types/react-tagsinput/index.d.ts +++ b/types/react-tagsinput/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/olahol/react-tagsinput // Definitions by: Michael Macnair // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-test-renderer/index.d.ts b/types/react-test-renderer/index.d.ts index ed73041f18..d069686903 100644 --- a/types/react-test-renderer/index.d.ts +++ b/types/react-test-renderer/index.d.ts @@ -5,7 +5,7 @@ // John Reilly // John Gozde // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { ReactElement, ReactType } from "react"; diff --git a/types/react-test-renderer/v15/index.d.ts b/types/react-test-renderer/v15/index.d.ts index ab6d51ceaa..753f4ef19d 100644 --- a/types/react-test-renderer/v15/index.d.ts +++ b/types/react-test-renderer/v15/index.d.ts @@ -2,7 +2,7 @@ // Project: https://facebook.github.io/react/ // Definitions by: Arvitaly , Lochbrunner , Lochbrunner , John Reilly // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { ReactElement } from "react"; diff --git a/types/react-tether/index.d.ts b/types/react-tether/index.d.ts index 1790b8abbc..1012c8254b 100644 --- a/types/react-tether/index.d.ts +++ b/types/react-tether/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/souporserious/react-tether // Definitions by: Ryan Price // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 export default TetherComponent; export as namespace ReactTether; diff --git a/types/react-textarea-autosize/index.d.ts b/types/react-textarea-autosize/index.d.ts index 9629be7e37..de52335683 100644 --- a/types/react-textarea-autosize/index.d.ts +++ b/types/react-textarea-autosize/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/andreypopp/react-textarea-autosize // Definitions by: Alexey Svetliakov , Jerry Zou // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 declare module "react-textarea-autosize" { import * as React from "react"; diff --git a/types/react-toastr/index.d.ts b/types/react-toastr/index.d.ts index 2de77a6d7e..2ccc8452fe 100644 --- a/types/react-toastr/index.d.ts +++ b/types/react-toastr/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/tomchentw/react-toastr // Definitions by: Josh Holmer // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component, ReactHTML } from 'react'; diff --git a/types/react-toggle/index.d.ts b/types/react-toggle/index.d.ts index f78bdd4a0e..015daff31e 100644 --- a/types/react-toggle/index.d.ts +++ b/types/react-toggle/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/aaronshaf/react-toggle // Definitions by: Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component, InputHTMLAttributes, ReactNode } from "react"; diff --git a/types/react-toggle/v2/index.d.ts b/types/react-toggle/v2/index.d.ts index 356f70ed1a..2b0774de2d 100644 --- a/types/react-toggle/v2/index.d.ts +++ b/types/react-toggle/v2/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/aaronshaf/react-toggle // Definitions by: Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component, HTMLAttributes, ReactNode } from "react"; diff --git a/types/react-tooltip/index.d.ts b/types/react-tooltip/index.d.ts index 433efee411..e9690b8f5c 100644 --- a/types/react-tooltip/index.d.ts +++ b/types/react-tooltip/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/wwayne/react-tooltip // Definitions by: Deividas Bakanas // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-touch/index.d.ts b/types/react-touch/index.d.ts index 01f5fcdb91..3e714b2b6c 100644 --- a/types/react-touch/index.d.ts +++ b/types/react-touch/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/leonaves/react-touch // Definitions by: Grzegorz Kielak // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-tracking/index.d.ts b/types/react-tracking/index.d.ts index b94e830559..8117fb3336 100644 --- a/types/react-tracking/index.d.ts +++ b/types/react-tracking/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/NYTimes/react-tracking // Definitions by: Eloy Durán // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-transition-group/index.d.ts b/types/react-transition-group/index.d.ts index b41d19c857..6a90201af5 100644 --- a/types/react-transition-group/index.d.ts +++ b/types/react-transition-group/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/reactjs/react-transition-group // Definitions by: Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import CSSTransition = require("./CSSTransition"); import Transition from "./Transition"; diff --git a/types/react-transition-group/v1/index.d.ts b/types/react-transition-group/v1/index.d.ts index 3c82827b46..dd62c27e80 100644 --- a/types/react-transition-group/v1/index.d.ts +++ b/types/react-transition-group/v1/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/reactjs/react-transition-group // Definitions by: Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { HTMLAttributes, ReactElement, ReactType } from "react"; diff --git a/types/react-treeview/index.d.ts b/types/react-treeview/index.d.ts index 64690dc361..2bfacc3eee 100644 --- a/types/react-treeview/index.d.ts +++ b/types/react-treeview/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/chenglou/react-treeview // Definitions by: Jay Anslow // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component, HTMLAttributes } from 'react'; diff --git a/types/react-truncate/index.d.ts b/types/react-truncate/index.d.ts index 5200016dec..cb97ccafe7 100644 --- a/types/react-truncate/index.d.ts +++ b/types/react-truncate/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/One-com/react-truncate // Definitions by: Matt Perry // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-user-tour/index.d.ts b/types/react-user-tour/index.d.ts index 21a8be7a61..6fdbc2da13 100644 --- a/types/react-user-tour/index.d.ts +++ b/types/react-user-tour/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/socialtables/react-user-tour // Definitions by: Carlo Cancellieri // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/react-virtual-keyboard/index.d.ts b/types/react-virtual-keyboard/index.d.ts index 20e8669c6d..03597e82e6 100644 --- a/types/react-virtual-keyboard/index.d.ts +++ b/types/react-virtual-keyboard/index.d.ts @@ -2,7 +2,7 @@ // Project: https://www.npmjs.com/package/react-virtual-keyboard // Definitions by: Bogdan Surai // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import { Component } from "react"; import { KeyboardOptions, NavigateOptions } from "virtual-keyboard"; diff --git a/types/react-virtualized-select/index.d.ts b/types/react-virtualized-select/index.d.ts index d3cec048cb..fca818802f 100644 --- a/types/react-virtualized-select/index.d.ts +++ b/types/react-virtualized-select/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/bvaughn/react-virtualized-select // Definitions by: Sean Kelley // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; import { ReactSelectProps } from "react-select"; diff --git a/types/react-virtualized/index.d.ts b/types/react-virtualized/index.d.ts index 01292a0519..6293d20c9e 100644 --- a/types/react-virtualized/index.d.ts +++ b/types/react-virtualized/index.d.ts @@ -6,7 +6,7 @@ // Szőke Szabolcs // Kræn Hansen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 export { ArrowKeyStepper, diff --git a/types/react-widgets/index.d.ts b/types/react-widgets/index.d.ts index 883b94a897..f02d9f016d 100644 --- a/types/react-widgets/index.d.ts +++ b/types/react-widgets/index.d.ts @@ -5,7 +5,7 @@ // Frode Hansen // Andrew Makarov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/react-youtube/index.d.ts b/types/react-youtube/index.d.ts index 14458c74d0..65b5858ae6 100644 --- a/types/react-youtube/index.d.ts +++ b/types/react-youtube/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/troybetz/react-youtube // Definitions by: kgtkr // Definitions: https://github.com/borisyankov/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react"; export default class YouTube extends React.Component<{ diff --git a/types/react/index.d.ts b/types/react/index.d.ts index c39e5eeb6c..e319c921bd 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -15,7 +15,7 @@ // Rich Seviora // Josh Rutherford // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /* Known Problems & Workarounds @@ -2863,6 +2863,10 @@ declare namespace React { dateTime?: string; } + interface DialogHTMLAttributes extends HTMLAttributes { + open?: boolean; + } + interface EmbedHTMLAttributes extends HTMLAttributes { height?: number | string; src?: string; @@ -3500,7 +3504,7 @@ declare namespace React { del: DetailedHTMLFactory, HTMLElement>; details: DetailedHTMLFactory, HTMLElement>; dfn: DetailedHTMLFactory, HTMLElement>; - dialog: DetailedHTMLFactory, HTMLElement>; + dialog: DetailedHTMLFactory, HTMLDialogElement>; div: DetailedHTMLFactory, HTMLDivElement>; dl: DetailedHTMLFactory, HTMLDListElement>; dt: DetailedHTMLFactory, HTMLElement>; @@ -3774,7 +3778,7 @@ declare global { del: React.DetailedHTMLProps, HTMLElement>; details: React.DetailedHTMLProps, HTMLElement>; dfn: React.DetailedHTMLProps, HTMLElement>; - dialog: React.DetailedHTMLProps, HTMLElement>; + dialog: React.DetailedHTMLProps, HTMLDialogElement>; div: React.DetailedHTMLProps, HTMLDivElement>; dl: React.DetailedHTMLProps, HTMLDListElement>; dt: React.DetailedHTMLProps, HTMLElement>; diff --git a/types/react/v15/index.d.ts b/types/react/v15/index.d.ts index 96c0b3af7e..c8700780ce 100644 --- a/types/react/v15/index.d.ts +++ b/types/react/v15/index.d.ts @@ -13,7 +13,7 @@ // Dovydas Navickas // Stéphane Goetz // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /* Known Problems & Workarounds diff --git a/types/reactable/index.d.ts b/types/reactable/index.d.ts index 5ec58cec2b..8e3cb8873c 100644 --- a/types/reactable/index.d.ts +++ b/types/reactable/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/glittershark/reactable // Definitions by: Christoph Spielmann // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/reactcss/index.d.ts b/types/reactcss/index.d.ts index 68836afe93..c5fb14bd32 100644 --- a/types/reactcss/index.d.ts +++ b/types/reactcss/index.d.ts @@ -2,7 +2,7 @@ // Project: http://reactcss.com/ // Definitions by: Chris Gervang , Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from "react" diff --git a/types/reactstrap/index.d.ts b/types/reactstrap/index.d.ts index 777f877cad..32d2ab7c0d 100644 --- a/types/reactstrap/index.d.ts +++ b/types/reactstrap/index.d.ts @@ -9,7 +9,7 @@ // Kræn Hansen // Tim Chen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 export interface CSSModule { [className: string]: string; diff --git a/types/reactstrap/v4/index.d.ts b/types/reactstrap/v4/index.d.ts index 81d4cec5bd..93eeed908f 100644 --- a/types/reactstrap/v4/index.d.ts +++ b/types/reactstrap/v4/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/reactstrap/reactstrap#readme // Definitions by: Ali Hammad Baig , Marco Falkenberg , Danilo Barros , Fábio Paiva // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 export interface CSSModule { [className: string]: string; diff --git a/types/reapop/index.d.ts b/types/reapop/index.d.ts index 2a11cb6cc6..a0f446fa91 100644 --- a/types/reapop/index.d.ts +++ b/types/reapop/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/LouisBarranqueiro/reapop#readme // Definitions by: Barrokgl // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { Dispatch } from 'redux'; diff --git a/types/rebass/index.d.ts b/types/rebass/index.d.ts index fab1650108..9a4dbb34e5 100644 --- a/types/rebass/index.d.ts +++ b/types/rebass/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/jxnblk/rebass // Definitions by: rhysd // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/recharts/index.d.ts b/types/recharts/index.d.ts index c6207cd48e..207471eba3 100644 --- a/types/recharts/index.d.ts +++ b/types/recharts/index.d.ts @@ -6,7 +6,7 @@ // Zheyang Song // Rich Baird // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { CurveFactory } from 'd3-shape'; diff --git a/types/recompose/index.d.ts b/types/recompose/index.d.ts index a9d807360b..b6a9f21b14 100644 --- a/types/recompose/index.d.ts +++ b/types/recompose/index.d.ts @@ -4,7 +4,7 @@ // Samuel DeSota // Curtis Layne // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 /// diff --git a/types/redux-auth-wrapper/index.d.ts b/types/redux-auth-wrapper/index.d.ts index 8734efeb75..fc2543385a 100644 --- a/types/redux-auth-wrapper/index.d.ts +++ b/types/redux-auth-wrapper/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/mjrussell/redux-auth-wrapper // Definitions by: Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import { ComponentClass, StatelessComponent, ComponentType, ReactType } from "react"; diff --git a/types/redux-auth-wrapper/v1/index.d.ts b/types/redux-auth-wrapper/v1/index.d.ts index 453a4e7e02..366ee7bfdb 100644 --- a/types/redux-auth-wrapper/v1/index.d.ts +++ b/types/redux-auth-wrapper/v1/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/mjrussell/redux-auth-wrapper // Definitions by: Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { ComponentClass, StatelessComponent, ReactType } from "react"; import { Action } from "redux"; diff --git a/types/redux-devtools-dock-monitor/index.d.ts b/types/redux-devtools-dock-monitor/index.d.ts index 66461cecf5..025b24625d 100644 --- a/types/redux-devtools-dock-monitor/index.d.ts +++ b/types/redux-devtools-dock-monitor/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/gaearon/redux-devtools-dock-monitor // Definitions by: Petryshyn Sergii // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/redux-devtools-log-monitor/index.d.ts b/types/redux-devtools-log-monitor/index.d.ts index b257adec0f..8bbaad7e1f 100644 --- a/types/redux-devtools-log-monitor/index.d.ts +++ b/types/redux-devtools-log-monitor/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/gaearon/redux-devtools-log-monitor // Definitions by: Petryshyn Sergii // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react' import { ColorScheme } from 'base16' diff --git a/types/redux-devtools/index.d.ts b/types/redux-devtools/index.d.ts index ceb8abc246..6bc8c3a4f2 100644 --- a/types/redux-devtools/index.d.ts +++ b/types/redux-devtools/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/gaearon/redux-devtools // Definitions by: Petryshyn Sergii // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import * as React from 'react'; import { GenericStoreEnhancer } from 'redux'; diff --git a/types/redux-first-router-link/index.d.ts b/types/redux-first-router-link/index.d.ts index 1136751129..c99f5b6ac1 100644 --- a/types/redux-first-router-link/index.d.ts +++ b/types/redux-first-router-link/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/faceyspacey/redux-first-router-link#readme // Definitions by: janb87 // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import * as React from "react"; import { Location } from 'redux-first-router'; diff --git a/types/redux-form/index.d.ts b/types/redux-form/index.d.ts index 72352731fc..25d342c8c2 100644 --- a/types/redux-form/index.d.ts +++ b/types/redux-form/index.d.ts @@ -7,7 +7,7 @@ // Alex Young // Anton Novik // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { ComponentClass, diff --git a/types/redux-form/v4/index.d.ts b/types/redux-form/v4/index.d.ts index 35444b198d..3ecd2d87cc 100644 --- a/types/redux-form/v4/index.d.ts +++ b/types/redux-form/v4/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/erikras/redux-form // Definitions by: Daniel Lytkin // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { Dispatch, ActionCreator, Reducer } from 'redux'; diff --git a/types/redux-form/v6/index.d.ts b/types/redux-form/v6/index.d.ts index 4e8e57b3b3..ce34a772ed 100644 --- a/types/redux-form/v6/index.d.ts +++ b/types/redux-form/v6/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/erikras/redux-form // Definitions by: Carson Full , Daniel Lytkin , Karol Janyst , Luka Zakrajsek // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import { ComponentClass, diff --git a/types/redux-infinite-scroll/index.d.ts b/types/redux-infinite-scroll/index.d.ts index 64799ee71a..30fa435e2d 100644 --- a/types/redux-infinite-scroll/index.d.ts +++ b/types/redux-infinite-scroll/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/RealScout/redux-infinite-scroll // Definitions by: Tony Nikolov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import { Component, HTMLProps } from "react"; diff --git a/types/redux-little-router/index.d.ts b/types/redux-little-router/index.d.ts index b7305e34f9..10aa3536f1 100644 --- a/types/redux-little-router/index.d.ts +++ b/types/redux-little-router/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/FormidableLabs/redux-little-router // Definitions by: priecint // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import * as React from "react"; import { Reducer, Middleware, StoreEnhancer } from "redux"; diff --git a/types/redux-router/index.d.ts b/types/redux-router/index.d.ts index 17c8db889f..bb9764ed61 100644 --- a/types/redux-router/index.d.ts +++ b/types/redux-router/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/rackt/redux-router // Definitions by: Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import * as ReactRouter from 'react-router'; diff --git a/types/redux-ui/index.d.ts b/types/redux-ui/index.d.ts index b745ee2186..52cfb24b1d 100644 --- a/types/redux-ui/index.d.ts +++ b/types/redux-ui/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/tonyhb/redux-ui // Definitions by: Andy Shu Xin // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// import * as Redux from 'redux'; diff --git a/types/rheostat/index.d.ts b/types/rheostat/index.d.ts index 2943ecccc5..be173bf31a 100644 --- a/types/rheostat/index.d.ts +++ b/types/rheostat/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/airbnb/rheostat // Definitions by: Sasha Bayan , Wil Lee // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/rrc/index.d.ts b/types/rrc/index.d.ts index 24b20a6376..3bb04b4ec8 100644 --- a/types/rrc/index.d.ts +++ b/types/rrc/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/pshrmn/rrc#readme // Definitions by: Deividas Bakanas // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import * as React from "react"; import * as H from "history"; diff --git a/types/spectacle/index.d.ts b/types/spectacle/index.d.ts index 41f0d1df79..cabd6cf5a1 100644 --- a/types/spectacle/index.d.ts +++ b/types/spectacle/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/FormidableLabs/victory // Definitions by: Zachary Maybury // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/storybook__addon-actions/index.d.ts b/types/storybook__addon-actions/index.d.ts index 01c3b4837d..9b7009fbad 100644 --- a/types/storybook__addon-actions/index.d.ts +++ b/types/storybook__addon-actions/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/storybooks/storybook // Definitions by: Joscha Feth // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 export type HandlerFunction = (...args: any[]) => undefined; export type DecoratorFunction = (args: any[]) => any[]; diff --git a/types/storybook__addon-info/index.d.ts b/types/storybook__addon-info/index.d.ts index c42c8d359a..f694ad3eb4 100644 --- a/types/storybook__addon-info/index.d.ts +++ b/types/storybook__addon-info/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Mark Kornblum // Mattias Wikstrom // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.4 +// TypeScript Version: 2.6 import * as React from 'react'; import { RenderFunction } from '@storybook/react'; diff --git a/types/storybook__addon-knobs/index.d.ts b/types/storybook__addon-knobs/index.d.ts index f725abb47c..4125f10b84 100644 --- a/types/storybook__addon-knobs/index.d.ts +++ b/types/storybook__addon-knobs/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Joscha Feth // Martynas Kadisa // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { RenderFunction } from '@storybook/react'; diff --git a/types/storybook__addon-links/index.d.ts b/types/storybook__addon-links/index.d.ts index 08f3648855..141072aa2a 100644 --- a/types/storybook__addon-links/index.d.ts +++ b/types/storybook__addon-links/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/storybooks/storybook // Definitions by: Joscha Feth // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; diff --git a/types/storybook__addon-notes/index.d.ts b/types/storybook__addon-notes/index.d.ts index 7e9e94746e..e8b6f5934a 100644 --- a/types/storybook__addon-notes/index.d.ts +++ b/types/storybook__addon-notes/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/storybooks/storybook // Definitions by: Joscha Feth // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import * as React from 'react'; import { RenderFunction } from '@storybook/react'; diff --git a/types/storybook__react/index.d.ts b/types/storybook__react/index.d.ts index dd93b9459b..d31ea08af2 100644 --- a/types/storybook__react/index.d.ts +++ b/types/storybook__react/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Joscha Feth // Anton Izmailov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/styled-jsx/index.d.ts b/types/styled-jsx/index.d.ts index 5072cdc7b9..5e15388837 100644 --- a/types/styled-jsx/index.d.ts +++ b/types/styled-jsx/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/zeit/styled-jsx // Definitions by: R1ZZU // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 import "react"; diff --git a/types/victory/index.d.ts b/types/victory/index.d.ts index b41fb96068..0c7f756b26 100644 --- a/types/victory/index.d.ts +++ b/types/victory/index.d.ts @@ -4,7 +4,7 @@ // snerks // Krzysztof Cebula // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// diff --git a/types/why-did-you-update/index.d.ts b/types/why-did-you-update/index.d.ts index 593cf6791d..f7f4fb820a 100644 --- a/types/why-did-you-update/index.d.ts +++ b/types/why-did-you-update/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/garbles/why-did-you-update // Definitions by: rhysd // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.6 /// From 38608567cadf99c6855d0a92588d06948e70b374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danilo=20B=C3=BCrger?= Date: Mon, 12 Feb 2018 14:40:11 +0100 Subject: [PATCH 354/463] [react-native-navigation] Modified NavigationComponentProps --- types/react-native-navigation/index.d.ts | 7 +++---- .../react-native-navigation-tests.tsx | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/types/react-native-navigation/index.d.ts b/types/react-native-navigation/index.d.ts index c016008fba..a7662f98cc 100644 --- a/types/react-native-navigation/index.d.ts +++ b/types/react-native-navigation/index.d.ts @@ -150,10 +150,9 @@ export interface ListenerParams { commandType: string; } -export type NavigationComponentProps

= - P & { - navigator: Navigator; - }; +export interface NavigationComponentProps { + navigator: Navigator; +} export interface NavigatorStyle { navBarTextColor?: string; diff --git a/types/react-native-navigation/react-native-navigation-tests.tsx b/types/react-native-navigation/react-native-navigation-tests.tsx index 292b0fb375..b67aa3cfed 100644 --- a/types/react-native-navigation/react-native-navigation-tests.tsx +++ b/types/react-native-navigation/react-native-navigation-tests.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import { Text, View } from 'react-native'; import { Navigation, NavigationComponentProps, NavigatorStyle, NavigatorButtons } from 'react-native-navigation'; -class Screen1 extends React.Component> { +class Screen1 extends React.Component { static navigatorButtons: NavigatorButtons = { leftButtons: [{ id: 'sideMenu' From b1c423af255ecfab62f3c0127eafb4e1377b063e Mon Sep 17 00:00:00 2001 From: JimiC Date: Mon, 12 Feb 2018 15:51:51 +0200 Subject: [PATCH 355/463] [yargs] Add v11 types. --- types/yargs/index.d.ts | 12 +- types/yargs/tsconfig.json | 2 +- types/yargs/v10/.editorconfig | 5 + types/yargs/v10/index.d.ts | 304 +++++++++++++++ types/yargs/v10/tsconfig.json | 29 ++ types/yargs/v10/tslint.json | 6 + types/yargs/v10/yargs-tests.ts | 650 +++++++++++++++++++++++++++++++++ 7 files changed, 1005 insertions(+), 3 deletions(-) create mode 100644 types/yargs/v10/.editorconfig create mode 100644 types/yargs/v10/index.d.ts create mode 100644 types/yargs/v10/tsconfig.json create mode 100644 types/yargs/v10/tslint.json create mode 100644 types/yargs/v10/yargs-tests.ts diff --git a/types/yargs/index.d.ts b/types/yargs/index.d.ts index d4a47c84e7..882e8e9999 100644 --- a/types/yargs/index.d.ts +++ b/types/yargs/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for yargs 10.0 +// Type definitions for yargs 11.0 // Project: https://github.com/chevex/yargs // Definitions by: Martin Poelstra // Mizunashi Mana @@ -262,9 +262,17 @@ declare namespace yargs { nargs?: number; normalize?: boolean; number?: boolean; + /** + * @deprecated since version 6.6.0 + * Use 'demandOption' instead + */ require?: boolean | string; + /** + * @deprecated since version 6.6.0 + * Use 'demandOption' instead + */ required?: boolean | string; - requiresArg?: boolean | string; + requiresArg?: boolean; skipValidation?: boolean; string?: boolean; type?: "array" | "count" | PositionalOptionsType; diff --git a/types/yargs/tsconfig.json b/types/yargs/tsconfig.json index daff5d0a1d..061816ea36 100644 --- a/types/yargs/tsconfig.json +++ b/types/yargs/tsconfig.json @@ -21,4 +21,4 @@ "index.d.ts", "yargs-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/yargs/v10/.editorconfig b/types/yargs/v10/.editorconfig new file mode 100644 index 0000000000..db9b917e06 --- /dev/null +++ b/types/yargs/v10/.editorconfig @@ -0,0 +1,5 @@ +[*.ts] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 diff --git a/types/yargs/v10/index.d.ts b/types/yargs/v10/index.d.ts new file mode 100644 index 0000000000..d4a47c84e7 --- /dev/null +++ b/types/yargs/v10/index.d.ts @@ -0,0 +1,304 @@ +// Type definitions for yargs 10.0 +// Project: https://github.com/chevex/yargs +// Definitions by: Martin Poelstra +// Mizunashi Mana +// Jeffery Grajkowski +// Jeff Kenney +// Jimi (Dimitris) Charalampidis +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 + +// The following TSLint rules have been disabled: +// unified-signatures: Because there is useful information in the argument names of the overloaded signatures + +// Convention: +// Use 'union types' when: +// - parameter types have similar signature type (i.e. 'string | string[]') +// - parameter names have the same semantic meaning (i.e. ['command', 'commands'] , ['key', 'keys']) +// An example for not using 'union types' is the declaration of 'env' where `prefix` and `enable` parameters +// have different semantics. On the other hand, in the declaration of 'usage', a `command: string` parameter +// has the same semantic meaning with declaring an overload method by using `commands: string[]`, thus +// it's prefered to use `command: string | string[]` +// Use parameterless declaration instead of declaring all parameters optional, +// when all parameters are optional and more than one + +declare namespace yargs { + interface Argv { + (): Arguments; + (args: string[], cwd?: string): Arguments; + + alias(shortName: string | string[], longName: string | string[]): Argv; + alias(aliases: { [shortName: string]: string | string[] }): Argv; + + argv: Arguments; + + array(key: string | string[]): Argv; + + boolean(key: string | string[]): Argv; + + check(func: (argv: Arguments, aliases: { [alias: string]: string }) => any, global?: boolean): Argv; + + choices(key: string, values: Choices): Argv; + choices(choices: { [argName: string]: Choices }): Argv; + + coerce(key: string | string[], func: (arg: any) => any): Argv; + coerce(opts: { [key: string]: (arg: any) => any; }): Argv; + + command(command: string | string[], description: string, builder?: (args: Argv) => Argv, handler?: (args: Arguments) => void): Argv; + command(command: string | string[], description: string, builder?: { [key: string]: Options }, handler?: (args: Arguments) => void): Argv; + command(command: string | string[], description: string, module: CommandModule): Argv; + command(command: string | string[], showInHelp: false, builder?: (args: Argv) => Argv, handler?: (args: Arguments) => void): Argv; + command(command: string | string[], showInHelp: false, builder?: { [key: string]: Options }, handler?: (args: Arguments) => void): Argv; + command(command: string | string[], showInHelp: false, module: CommandModule): Argv; + command(module: CommandModule): Argv; + + // Advanced API + commandDir(dir: string, opts?: RequireDirectoryOptions): Argv; + + completion(): Argv; + completion(cmd: string, func?: AsyncCompletionFunction): Argv; + completion(cmd: string, func?: SyncCompletionFunction): Argv; + completion(cmd: string, description?: string, func?: AsyncCompletionFunction): Argv; + completion(cmd: string, description?: string, func?: SyncCompletionFunction): Argv; + + config(): Argv; + config(key: string | string[], description?: string, parseFn?: (configPath: string) => object): Argv; + config(key: string | string[], parseFn: (configPath: string) => object): Argv; + config(explicitConfigurationObject: object): Argv; + + conflicts(key: string, value: string | string[]): Argv; + conflicts(conflicts: { [key: string]: string | string[] }): Argv; + + count(key: string | string[]): Argv; + + default(key: string, value: any, description?: string): Argv; + default(defaults: { [key: string]: any }, description?: string): Argv; + + /** + * @deprecated since version 6.6.0 + * Use '.demandCommand()' or '.demandOption()' instead + */ + demand(key: string | string[], msg: string): Argv; + demand(key: string | string[], required?: boolean): Argv; + demand(positionals: number, msg: string): Argv; + demand(positionals: number, required?: boolean): Argv; + demand(positionals: number, max: number, msg?: string): Argv; + + demandOption(key: string | string[], msg?: string): Argv; + demandOption(key: string | string[], demand?: boolean): Argv; + + demandCommand(): Argv; + demandCommand(min: number, minMsg?: string): Argv; + demandCommand(min: number, max?: number, minMsg?: string, maxMsg?: string): Argv; + + describe(key: string | string[], description: string): Argv; + describe(descriptions: { [key: string]: string }): Argv; + + detectLocale(detect: boolean): Argv; + + env(): Argv; + env(prefix: string): Argv; + env(enable: boolean): Argv; + + epilog(msg: string): Argv; + + epilogue(msg: string): Argv; + + example(command: string, description: string): Argv; + + exitProcess(enabled: boolean): Argv; + + fail(func: (msg: string, err: Error) => any): Argv; + + getCompletion(args: string[], done: (completions: string[]) => void): Argv; + + global(key: string | string[]): Argv; + + group(key: string | string[], groupName: string): Argv; + + help(): Argv; + help(enableExplicit: boolean): Argv; + help(option: string, enableExplicit: boolean): Argv; + help(option: string, description?: string, enableExplicit?: boolean): Argv; + + implies(key: string, value: string | string[]): Argv; + implies(implies: { [key: string]: string | string[] }): Argv; + + locale(): string; + locale(loc: string): Argv; + + nargs(key: string, count: number): Argv; + nargs(nargs: { [key: string]: number }): Argv; + + normalize(key: string | string[]): Argv; + + number(key: string | string[]): Argv; + + option(key: string, options: Options): Argv; + option(options: { [key: string]: Options }): Argv; + + options(key: string, options: Options): Argv; + options(options: { [key: string]: Options }): Argv; + + parse(): Arguments; + parse(arg: string | string[], context?: object, parseCallback?: ParseCallback): Arguments; + + pkgConf(key: string | string[], cwd?: string): Argv; + + /** + * 'positional' should be called in a command's builder function, and is not + * available on the top-level yargs instance. If so, it will throw an error. + */ + positional(key: string, opt: PositionalOptions): Argv; + + recommendCommands(): Argv; + + /** + * @deprecated since version 6.6.0 + * Use '.demandCommand()' or '.demandOption()' instead + */ + require(key: string, msg: string): Argv; + require(key: string, required: boolean): Argv; + require(keys: number[], msg: string): Argv; + require(keys: number[], required: boolean): Argv; + require(positionals: number, required: boolean): Argv; + require(positionals: number, msg: string): Argv; + + /** + * @deprecated since version 6.6.0 + * Use '.demandCommand()' or '.demandOption()' instead + */ + required(key: string, msg: string): Argv; + required(key: string, required: boolean): Argv; + required(keys: number[], msg: string): Argv; + required(keys: number[], required: boolean): Argv; + required(positionals: number, required: boolean): Argv; + required(positionals: number, msg: string): Argv; + + requiresArg(key: string | string[]): Argv; + + /** + * @deprecated since version 6.6.0 + * Use '.global()' instead + */ + reset(): Argv; + + showCompletionScript(): Argv; + + showHelp(consoleLevel?: string): Argv; + + showHelpOnFail(enable: boolean, message?: string): Argv; + + skipValidation(key: string | string[]): Argv; + + strict(): Argv; + + string(key: string | string[]): Argv; + + // Intended to be used with '.wrap()' + terminalWidth(): number; + + updateLocale(obj: { [key: string]: string }): Argv; + + updateStrings(obj: { [key: string]: string }): Argv; + + usage(message: string): Argv; + usage(command: string | string[], description: string, builder?: (args: Argv) => Argv, handler?: (args: Arguments) => void): Argv; + usage(command: string | string[], showInHelp: boolean, builder?: (args: Argv) => Argv, handler?: (args: Arguments) => void): Argv; + usage(command: string | string[], description: string, builder?: { [key: string]: Options }, handler?: (args: Arguments) => void): Argv; + usage(commands: string | string[], showInHelp: boolean, builder?: { [key: string]: Options }, handler?: (args: Arguments) => void): Argv; + + version(): Argv; + version(version: string): Argv; + version(enable: boolean): Argv; + version(optionKey: string, version: string): Argv; + version(optionKey: string, description: string, version: string): Argv; + + wrap(columns: number | null): Argv; + } + + interface Arguments { + /** Non-option arguments */ + _: string[]; + /** The script name or node command */ + $0: string; + /** All remaining options */ + [argName: string]: any; + } + + interface RequireDirectoryOptions { + recurse?: boolean; + extensions?: string[]; + visit?: (commandObject: any, pathToFile?: string, filename?: string) => any; + include?: RegExp | ((pathToFile: string) => boolean); + exclude?: RegExp | ((pathToFile: string) => boolean); + } + + interface Options { + alias?: string | string[]; + array?: boolean; + boolean?: boolean; + choices?: Choices; + coerce?: (arg: any) => any; + config?: boolean; + configParser?: (configPath: string) => object; + conflicts?: string | string[] | { [key: string]: string | string[] }; + count?: boolean; + default?: any; + defaultDescription?: string; + /** + * @deprecated since version 6.6.0 + * Use 'demandOption' instead + */ + demand?: boolean | string; + demandOption?: boolean | string; + desc?: string; + describe?: string; + description?: string; + global?: boolean; + group?: string; + hidden?: boolean; + implies?: string | string[] | { [key: string]: string | string[] }; + nargs?: number; + normalize?: boolean; + number?: boolean; + require?: boolean | string; + required?: boolean | string; + requiresArg?: boolean | string; + skipValidation?: boolean; + string?: boolean; + type?: "array" | "count" | PositionalOptionsType; + } + + interface PositionalOptions { + alias?: string | string[]; + choices?: Choices; + coerce?: (arg: any) => any; + conflicts?: string | string[] | { [key: string]: string | string[] }; + default?: any; + desc?: string; + describe?: string; + description?: string; + implies?: string | string[] | { [key: string]: string | string[] }; + normalize?: boolean; + type?: PositionalOptionsType; + } + + interface CommandModule { + aliases?: string[] | string; + builder?: CommandBuilder; + command?: string[] | string; + describe?: string | false; + handler: (args: any) => void; + } + + type ParseCallback = (err: Error | undefined, argv: Arguments, output: string) => void; + type CommandBuilder = { [key: string]: Options } | ((args: Argv) => Argv); + type SyncCompletionFunction = (current: string, argv: any) => string[]; + type AsyncCompletionFunction = (current: string, argv: any, done: (completion: string[]) => void) => void; + type Choices = Array; + type PositionalOptionsType = "boolean" | "number" | "string"; +} + +declare var yargs: yargs.Argv; +export = yargs; diff --git a/types/yargs/v10/tsconfig.json b/types/yargs/v10/tsconfig.json new file mode 100644 index 0000000000..f83a62301f --- /dev/null +++ b/types/yargs/v10/tsconfig.json @@ -0,0 +1,29 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../../", + "paths": { + "yargs": [ + "yargs/v10" + ] + }, + "typeRoots": [ + "../../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "yargs-tests.ts" + ] +} diff --git a/types/yargs/v10/tslint.json b/types/yargs/v10/tslint.json new file mode 100644 index 0000000000..08b1465cd6 --- /dev/null +++ b/types/yargs/v10/tslint.json @@ -0,0 +1,6 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "unified-signatures": false + } +} diff --git a/types/yargs/v10/yargs-tests.ts b/types/yargs/v10/yargs-tests.ts new file mode 100644 index 0000000000..43779309bf --- /dev/null +++ b/types/yargs/v10/yargs-tests.ts @@ -0,0 +1,650 @@ +/// + +import yargs = require('yargs'); + +import * as fs from 'fs'; +import * as path from 'path'; + +const stringVal = 'string'; + +// Examples taken from yargs website +// https://github.com/chevex/yargs + +// With yargs, the options be just a hash! +function xup() { + const argv = yargs.argv; + + 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() { + const argv = yargs.argv; + console.log('(%d,%d)', argv.x, argv.y); + console.log(argv._); +} + +// Yargs even counts your booleans! +function count() { + const argv = yargs + .count('verbose') + .alias('v', 'verbose') + .argv; + + const 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); } +} + +// Tell users how to use yer options and make demands. +function divide() { + const argv = yargs + .usage('Usage: $0 -x [num] -y [num]') + .demand(['x', 'y']) + .argv; + + console.log(argv.x / argv.y); +} + +// After yer demands have been met, demand more! Ask for non-hypenated arguments! +function demand_count() { + const 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() { + const argv = yargs + .default('x', 10) + .default('y', 10) + .argv + ; + console.log(argv.x + argv.y); +} +function default_hash() { + const 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() { + const argv = yargs + .boolean('v') + .argv + ; + console.dir(argv.v); + console.dir(argv._); +} +function boolean_double() { + const 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() { + const 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$argv() { + const argv = yargs.argv; + console.log("command name: " + argv.$0); + console.log("command: " + argv._[1]); +} + +function Argv_parsing() { + const argv1 = yargs.parse(); + const argv2 = yargs(['-x', '1', '-y', '2']).argv; + const argv3 = yargs.parse(['-x', '1', '-y', '2']); + console.log(argv1.x, argv2.x, argv3.x); +} + +function Argv$options() { + const argv1 = yargs + .options('f', { + alias: 'file', + default: '/etc/passwd', + defaultDescription: 'The /etc/passwd file', + group: 'files', + normalize: true, + global: false, + array: true, + nargs: 3, + implies: 'other-arg', + conflicts: 'conflicting-arg', + }) + .argv + ; + + const argv2 = yargs + .alias('f', 'file') + .default('f', '/etc/passwd') + .argv + ; +} + +function Argv$global() { + const argv = yargs + .global('foo') + .global(['bar', 'baz', 'fizz', 'buzz']); +} + +function Argv$group() { + const argv = yargs + .group('foo', 'foogroup') + .group(['bing', 'bang', 'buzz'], 'onomatopoeia'); +} + +function Argv$env() { + const argv = yargs + .env('YARGS_PREFIX_') + .env() + .env(true); +} + +function Argv$array() { + const argv = yargs + .array('foo') + .array(['bar', 'baz']); +} + +function Argv$nargs() { + const argv = yargs + .nargs('foo', 12) + .nargs({ bing: 3, bang: 2, buzz: 4 }); +} + +function Argv$choices() { + // example from documentation + const argv = yargs + .alias('i', 'ingredient') + .describe('i', 'choose your sandwich ingredients') + .choices('i', ['peanut-butter', 'jelly', 'banana', 'pickles']) + .help('help') + .argv; + + yargs + .choices('i', [undefined, true, 'asdf', 'test']) + .choices({ + test: [undefined, true, 'test-value'] + }); +} + +function Argv$usage_as_default_command() { + const argv = yargs + .usage( + "$0 get", + 'make a get HTTP request', + (yargs) => { + return yargs.option('u', { + alias: 'url', + describe: 'the URL to make an HTTP request to' + }); + }, + (argv) => { + console.dir(argv.url); + } + ) + .argv; +} + +function Argv$command() { + const 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', (yargs) => { + return yargs.option('url', { + alias: 'u', + default: 'http://yargs.js.org/' + }); + }) + .help() + .argv; + + yargs + .command( + 'get', + 'make a get HTTP request', + (yargs) => { + return yargs.option('u', { + alias: 'url', + describe: 'the URL to make an HTTP request to' + }); + }, + (argv) => { + console.dir(argv.url); + } + ) + .help() + .argv; +} + +function Argv$completion_sync() { + const 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 Argv$completion_async() { + const argv = yargs + .completion('completion', (current: string, argv: any, done: (completion: string[]) => void) => { + setTimeout(() => { + done([ + 'apple', + 'banana' + ]); + }, 500); + }) + .argv; +} + +function Argv$help() { + const argv = yargs + .usage("$0 -operand1 number -operand2 number -operation [add|subtract]") + .help() + .argv; +} + +function Argv$showHelpOnFail() { + const 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() { + const yargs1 = yargs + .usage("$0 -operand1 number -operand2 number -operation [add|subtract]"); + yargs1.showHelp(); +} + +function Argv$version() { + const argv1 = yargs + .version(); + + const argv2 = yargs + .version('1.0.0'); + + const argv3 = yargs + .version('--version', '1.0.0'); + + const argv4 = yargs + .version('--version', 'Show version', '1.0.0'); + + const argv5 = yargs + .version(false); +} + +function Argv$wrap() { + const argv1 = yargs + .wrap(null); + + const argv2 = yargs + .wrap(yargs.terminalWidth()); +} + +function Argv$locale() { + const 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() { + const argv = yargs + .epilogue('for more information, find our manual at http://example.com'); +} + +function Argv$reset() { + const ya = yargs + .usage('$0 command') + .command('hello', 'hello command') + .command('world', 'world command') + .demand(1, 'must provide a valid command'); + const argv = yargs.argv; + const command = argv._[0]; + + 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('world!'); + } else { + ya.showHelp(); + } +} + +// http://yargs.js.org/docs/#methods-commanddirdirectory-opts +function Argv$commandDir() { + const ya = yargs + .commandDir('.') + .argv; +} + +// http://yargs.js.org/docs/#methods-commanddirdirectory-opts +function Argv$commandDirWithOptions() { + const ya = yargs + .commandDir('.', { + recurse: false, + extensions: ['js'], + visit: (commandObject: any, pathToFile: string, filename: string) => void 0, + include: /.*\.js$/, + exclude: /.*\.spec.js$/, + }) + .argv; +} + +function Argv$normalize() { + const ya = yargs + .normalize('path') + .normalize(['user', 'group']) + .argv; +} + +// From http://yargs.js.org/docs/#methods-coercekey-fn +function Argv$coerce() { + const ya = yargs + .coerce('file', (arg: string) => { + return fs.readFileSync(arg, 'utf8'); + }) + .argv; +} +function Argv$coerces() { + const ya = yargs + .coerce({ + date: Date.parse, + json: JSON.parse + }) + .argv; +} +function Argv$coerceWithKeys() { + const ya = yargs + .coerce(['src', 'dest'], path.resolve) + .argv; +} + +// From http://yargs.js.org/docs/#methods-failfn +function Argv$fail() { + const ya = yargs + .fail((msg, err) => { + if (err) throw err; // preserve stack + console.error('You broke it!'); + console.error(msg); + process.exit(1); + }) + .argv; +} + +function Argv$implies() { + const ya = yargs + .implies('foo', 'snuh') + .implies({ + x: 'y' + }) + .argv; +} + +function Argv$count() { + const ya = yargs + .count('size') + .count(['w', 'h']) + .argv; +} + +function Argv$number() { + const ya = yargs + .number('n') + .number(['width', 'height']) + .argv; +} + +function Argv$updateStrings() { + const ya = yargs + .command('run', 'the run command') + .help('help') + .updateStrings({ + 'Commands:': 'My Commands -->\n' + }) + .wrap(null) + .argv; +} + +function Argv$default() { + const ya = yargs + .default('random', function randomValue() { + return Math.random() * 256; + }) + .argv; +} + +function Argv$configObject() { + const ya = yargs + .config({ foo: 1, bar: 2 }) + .argv; +} + +function Argv$configParseFunction() { + const ya = yargs + .config('settings', (configPath) => { + return JSON.parse(fs.readFileSync(configPath, 'utf-8')); + }) + .config('settings', 'description', (configPath) => { + return JSON.parse(fs.readFileSync(configPath, 'utf-8')); + }) + .argv; +} + +function Argv$helpDescriptionExplicit() { + const ya = yargs + .help('help', 'description', true) + .argv; +} + +function Argv$showHelpConsoleLevel() { + yargs.showHelp("log"); // prints to stdout using console.log() +} + +function Argv$getCompletion() { + const ya = yargs + .option('foobar', {}) + .option('foobaz', {}) + .completion() + .getCompletion(['./test.js', '--foo'], (completions) => { + console.log(completions); + }) + .argv; +} + +function Argv$pkgConf() { + const ya = yargs + .pkgConf(['key1', 'key2'], 'configFile.json') + .argv; +} + +function Argv$recommendCommands() { + const ya = yargs + .recommendCommands() + .argv; +} + +function Argv$showCompletionScript() { + const ya = yargs + .showCompletionScript() + .argv; +} + +function Argv$skipValidation() { + const ya = yargs + .skipValidation('arg1') + .skipValidation(['arg2', 'arg3']) + .argv; +} + +function Argv$commandObject() { + const options: yargs.Options = { + alias: "string", + array: true, + boolean: true, + choices: [undefined, true, "a", "b", "c"], + coerce: f => JSON.stringify(f), + config: true, + configParser: t => JSON.parse(fs.readFileSync(t, "utf8")), + count: true, + default: "myvalue", + defaultDescription: "description", + demand: true, + demandOption: true, + desc: "desc", + describe: "describe", + description: "description", + global: false, + group: "group", + nargs: 1, + normalize: false, + number: true, + requiresArg: true, + skipValidation: false, + string: true, + type: "string" + }; + const ya = yargs.command("commandname", "description", { arg: options }); +} + +function Argv$demandCommand() { + const 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() { + const 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; +} + +function Argv$conflicts() { + const ya = yargs + .conflicts('a', 'b') + .conflicts({ + a: 'b' + }) + .argv; +} + +function Argv$commandArray() { + const ya = yargs + .command(['commandName', 'commandAlias'], 'command description') + .argv; +} + +function Argv$check() { + const ya = yargs + .check((argv, aliases) => void 0) + .check((argv, aliases) => void 0, false); +} From d39db26c264d3054139b79fd3cc35b3453b71135 Mon Sep 17 00:00:00 2001 From: Jendrik Date: Mon, 12 Feb 2018 15:14:24 +0100 Subject: [PATCH 356/463] add 'throw' to the strict option for schemas --- types/mongoose/index.d.ts | 4 ++-- types/mongoose/mongoose-tests.ts | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/types/mongoose/index.d.ts b/types/mongoose/index.d.ts index 3cf4e4ca2a..cb8ca38408 100644 --- a/types/mongoose/index.d.ts +++ b/types/mongoose/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for Mongoose 5.0.1 // Project: http://mongoosejs.com/ -// Definitions by: simonxca , horiuchi , sindrenm , lukasz-zak , Alorel +// Definitions by: simonxca , horiuchi , sindrenm , lukasz-zak , Alorel , jendrikw // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -722,7 +722,7 @@ declare module "mongoose" { /** defaults to null */ shardKey?: boolean; /** defaults to true */ - strict?: boolean; + strict?: boolean | 'throw'; /** no default */ toJSON?: DocumentToObjectOptions; /** no default */ diff --git a/types/mongoose/mongoose-tests.ts b/types/mongoose/mongoose-tests.ts index e63a0e612d..80050dad33 100644 --- a/types/mongoose/mongoose-tests.ts +++ b/types/mongoose/mongoose-tests.ts @@ -432,6 +432,8 @@ new mongoose.Schema({ } }); +new mongoose.Schema({foo: String}, {strict: 'throw'}); + export default function(schema: mongoose.Schema) { schema.pre('init', function(this: mongoose.Document, next: (err?: Error) => void): void { console.log('success!'); From 2a8f63152707cb2b6211bb47c44c9496387defd1 Mon Sep 17 00:00:00 2001 From: s0m3on3 Date: Mon, 12 Feb 2018 17:11:37 +0200 Subject: [PATCH 357/463] [adone] util * fix throttle.create --- types/adone/glosses/utils.d.ts | 24 ++++++++++++++++++++++++ types/adone/test/glosses/utils.ts | 27 +++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/types/adone/glosses/utils.d.ts b/types/adone/glosses/utils.d.ts index de2ec12c29..d84dce79c9 100644 --- a/types/adone/glosses/utils.d.ts +++ b/types/adone/glosses/utils.d.ts @@ -555,7 +555,31 @@ declare namespace adone { drop?: boolean; dropLast?: boolean; } + + interface CreateFunction { + (fn: () => Promise): Promise; + (fn: () => R): Promise; + + (fn: (a: T1) => Promise, a: T1): Promise; + (fn: (a: T1) => R, a: T1): Promise; + + (fn: (a: T1, b: T2) => Promise, a: T1, b: T2): Promise; + (fn: (a: T1, b: T2) => R, a: T1, b: T2): Promise; + + (fn: (a: T1, b: T2, c: T3) => Promise, a: T1, b: T2, c: T3): Promise; + (fn: (a: T1, b: T2, c: T3) => R, a: T1, b: T2, c: T3): Promise; + + (fn: (a: T1, b: T2, c: T3, d: T4) => Promise, a: T1, b: T2, c: T3, d: T4): Promise; + (fn: (a: T1, b: T2, c: T3, d: T4) => R, a: T1, b: T2, c: T3, d: T4): Promise; + + (fn: (a: T1, b: T2, c: T3, d: T4, e: T5) => Promise, a: T1, b: T2, c: T3, d: T4, e: T5): Promise; + (fn: (a: T1, b: T2, c: T3, d: T4, e: T5) => R, a: T1, b: T2, c: T3, d: T4, e: T5): Promise; + + (fn: (...args: any[]) => Promise, ...args: any[]): Promise; + (fn: (...args: any[]) => R, ...args: any[]): Promise; + } } + function create(options?: I.Options): I.CreateFunction; function create(fn: () => R, options?: I.Options): () => Promise; function create(fn: (a: T1) => R, options?: I.Options): (a: T1) => Promise; function create(fn: (a: T1, b: T2) => R, options?: I.Options): (a: T1, b: T2) => Promise; diff --git a/types/adone/test/glosses/utils.ts b/types/adone/test/glosses/utils.ts index bd171d5629..656e000f8b 100644 --- a/types/adone/test/glosses/utils.ts +++ b/types/adone/test/glosses/utils.ts @@ -494,6 +494,33 @@ namespace utilTests { const k = util.throttle.create(() => { }, { dropLast: true }); const l: symbol = util.throttle.DROPPED; + + { + const t = util.throttle.create(); + t(() => 2).then((x: number) => {}); + t(() => Promise.resolve(2)).then((x: number) => {}); + + t(() => "2").then((x: string) => {}); + t(() => Promise.resolve("2")).then((x: string) => {}); + + t((a) => a, 2).then((x: number) => {}); + t((a) => Promise.resolve(a), 2).then((x: number) => {}); + + t((a, b) => String(a) + b, 2, "3").then((x: string) => {}); + t(async (a, b) => String(a) + b, 2, "3").then((x: string) => x); + + t((a, b, c) => String(a) + b + c, 2, "3", "4").then((x: string) => {}); + t(async (a, b, c) => String(a) + b + c, 2, "3", "4").then((x: string) => x); + + t((a, b, c, d) => String(a) + b + c + String(d), 2, "3", "4", 5).then((x: string) => {}); + t(async (a, b, c, d) => String(a) + b + c + String(d), 2, "3", "4", 5).then((x: string) => x); + + t((a, b, c, d, e) => String(a) + b + c + String(d) + e.join(","), 2, "3", "4", 5, [1, 2, 3]).then((x: string) => {}); + t(async (a, b, c, d, e) => String(a) + b + c + String(d) + e.join(","), 2, "3", "4", 5, [1, 2, 3]).then((x: string) => x); + + t((a, b, c, d, e, f) => String(a) + b + c + String(d) + e.join(",") + f, 2, "3", "4", 5, [1, 2, 3], 6).then((x: any) => {}); + t(async (a, b, c, d, e, f) => String(a) + b + c + String(d) + e.join(",") + f, 2, "3", "4", 5, [1, 2, 3], 6).then((x: any) => x); + } } namespace fakeClock { From 69df2727eebf297c885eddfec77732b2bdc983f4 Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 12 Feb 2018 07:14:36 -0800 Subject: [PATCH 358/463] pdfjs: Convert to module (#23438) --- types/pdfjs-dist/index.d.ts | 912 +++++++++++++-------------- types/pdfjs-dist/pdfjs-dist-tests.ts | 5 +- 2 files changed, 456 insertions(+), 461 deletions(-) diff --git a/types/pdfjs-dist/index.d.ts b/types/pdfjs-dist/index.d.ts index f72d70f44e..81de4624f9 100644 --- a/types/pdfjs-dist/index.d.ts +++ b/types/pdfjs-dist/index.d.ts @@ -26,466 +26,462 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -declare module "pdfjs-dist" { - export = PDF; + +interface PDFPromise { + isResolved(): boolean; + isRejected(): boolean; + resolve(value: T): void; + reject(reason: string): void; + then(onResolve: (promise: T) => U, onReject?: (reason: string) => void): PDFPromise; } -declare namespace PDF { - interface PDFPromise { - isResolved(): boolean; - isRejected(): boolean; - resolve(value: T): void; - reject(reason: string): void; - then(onResolve: (promise: T) => U, onReject?: (reason: string) => void): PDFPromise; - } - - interface PDFTreeNode { - title: string; - bold: boolean; - italic: boolean; - color: number[]; // [r,g,b] - dest: any; - items: PDFTreeNode[]; - } - - interface PDFInfo { - PDFFormatVersion: string; - IsAcroFormPresent: boolean; - IsXFAPresent: boolean; - [key: string]: any; // return type is string, typescript chokes - } - - interface PDFMetadata { - parse(): void; - get(name: string): string; - has(name: string): boolean; - } - - interface PDFSource { - url?: string; - data?: Uint8Array; - httpHeaders?: any; - password?: string; - } - - interface PDFProgressData { - loaded: number; - total: number; - } - - interface PDFDocumentProxy { - - /** - * Total number of pages the PDF contains. - **/ - numPages: number; - - /** - * A unique ID to identify a PDF. Not guaranteed to be unique. [jbaldwin: haha what] - **/ - fingerprint: string; - - /** - * True if embedded document fonts are in use. Will be set during rendering of the pages. - **/ - embeddedFontsUsed(): boolean; - - /** - * @param number The page number to get. The first page is 1. - * @return A promise that is resolved with a PDFPageProxy. - **/ - getPage(number: number): PDFPromise; - - /** - * TODO: return type of Promise - * A promise that is resolved with a lookup table for mapping named destinations to reference numbers. - **/ - getDestinations(): PDFPromise; - - /** - * A promise that is resolved with an array of all the JavaScript strings in the name tree. - **/ - getJavaScript(): PDFPromise; - - /** - * A promise that is resolved with an array that is a tree outline (if it has one) of the PDF. @see PDFTreeNode - **/ - getOutline(): PDFPromise; - - /** - * A promise that is resolved with the info and metadata of the PDF. - **/ - getMetadata(): PDFPromise<{ info: PDFInfo; metadata: PDFMetadata }>; - - /** - * Is the PDF encrypted? - **/ - isEncrypted(): PDFPromise; - - /** - * A promise that is resolved with Uint8Array that has the raw PDF data. - **/ - getData(): PDFPromise; - - /** - * TODO: return type of Promise - * A promise that is resolved when the document's data is loaded. - **/ - dataLoaded(): PDFPromise; - - /** - * - **/ - destroy(): void; - } - - interface PDFRef { - num: number; - gen: any; // todo - } - - interface PDFPageViewportOptions { - viewBox: any; - scale: number; - rotation: number; - offsetX: number; - offsetY: number; - dontFlip: boolean; - } - - interface PDFPageViewport { - width: number; - height: number; - fontScale: number; - transforms: number[]; - - clone(options: PDFPageViewportOptions): PDFPageViewport; - convertToViewportPoint(x: number, y: number): number[]; // [x, y] - convertToViewportRectangle(rect: number[]): number[]; // [x1, y1, x2, y2] - convertToPdfPoint(x: number, y: number): number[]; // [x, y] - } - - interface PDFAnnotationData { - subtype: string; - rect: number[]; // [x1, y1, x2, y2] - annotationFlags: any; // todo - color: number[]; // [r,g,b] - borderWidth: number; - hasAppearance: boolean; - } - - interface PDFAnnotations { - getData(): PDFAnnotationData; - hasHtml(): boolean; // always false - getHtmlElement(commonOjbs: any): HTMLElement; // throw new NotImplementedException() - getEmptyContainer(tagName: string, rect: number[]): HTMLElement; // deprecated - isViewable(): boolean; - loadResources(keys: any): PDFPromise; - getOperatorList(evaluator: any): PDFPromise; - // ... todo - } - - interface PDFRenderTextLayer { - beginLayout(): void; - endLayout(): void; - appendText(): void; - } - - interface PDFRenderImageLayer { - beginLayout(): void; - endLayout(): void; - appendImage(): void; - } - - interface PDFRenderParams { - canvasContext: CanvasRenderingContext2D; - viewport?: PDFPageViewport; - textLayer?: PDFRenderTextLayer; - imageLayer?: PDFRenderImageLayer; - continueCallback?: (_continue: () => void) => void; - } - - interface PDFViewerParams { - container: HTMLElement; - viewer?: HTMLElement; - } - - /** - * RenderTask is basically a promise but adds a cancel function to termiate it. +interface PDFTreeNode { + title: string; + bold: boolean; + italic: boolean; + color: number[]; // [r,g,b] + dest: any; + items: PDFTreeNode[]; +} + +interface PDFInfo { + PDFFormatVersion: string; + IsAcroFormPresent: boolean; + IsXFAPresent: boolean; + [key: string]: any; // return type is string, typescript chokes +} + +interface PDFMetadata { + parse(): void; + get(name: string): string; + has(name: string): boolean; +} + +interface PDFSource { + url?: string; + data?: Uint8Array; + httpHeaders?: any; + password?: string; +} + +interface PDFProgressData { + loaded: number; + total: number; +} + +interface PDFDocumentProxy { + + /** + * Total number of pages the PDF contains. + **/ + numPages: number; + + /** + * A unique ID to identify a PDF. Not guaranteed to be unique. [jbaldwin: haha what] + **/ + fingerprint: string; + + /** + * True if embedded document fonts are in use. Will be set during rendering of the pages. + **/ + embeddedFontsUsed(): boolean; + + /** + * @param number The page number to get. The first page is 1. + * @return A promise that is resolved with a PDFPageProxy. + **/ + getPage(number: number): PDFPromise; + + /** + * TODO: return type of Promise + * A promise that is resolved with a lookup table for mapping named destinations to reference numbers. + **/ + getDestinations(): PDFPromise; + + /** + * A promise that is resolved with an array of all the JavaScript strings in the name tree. + **/ + getJavaScript(): PDFPromise; + + /** + * A promise that is resolved with an array that is a tree outline (if it has one) of the PDF. @see PDFTreeNode + **/ + getOutline(): PDFPromise; + + /** + * A promise that is resolved with the info and metadata of the PDF. + **/ + getMetadata(): PDFPromise<{ info: PDFInfo; metadata: PDFMetadata }>; + + /** + * Is the PDF encrypted? + **/ + isEncrypted(): PDFPromise; + + /** + * A promise that is resolved with Uint8Array that has the raw PDF data. + **/ + getData(): PDFPromise; + + /** + * TODO: return type of Promise + * A promise that is resolved when the document's data is loaded. + **/ + dataLoaded(): PDFPromise; + + /** + * + **/ + destroy(): void; +} + +interface PDFRef { + num: number; + gen: any; // todo +} + +interface PDFPageViewportOptions { + viewBox: any; + scale: number; + rotation: number; + offsetX: number; + offsetY: number; + dontFlip: boolean; +} + +interface PDFPageViewport { + width: number; + height: number; + fontScale: number; + transforms: number[]; + + clone(options: PDFPageViewportOptions): PDFPageViewport; + convertToViewportPoint(x: number, y: number): number[]; // [x, y] + convertToViewportRectangle(rect: number[]): number[]; // [x1, y1, x2, y2] + convertToPdfPoint(x: number, y: number): number[]; // [x, y] +} + +interface PDFAnnotationData { + subtype: string; + rect: number[]; // [x1, y1, x2, y2] + annotationFlags: any; // todo + color: number[]; // [r,g,b] + borderWidth: number; + hasAppearance: boolean; +} + +interface PDFAnnotations { + getData(): PDFAnnotationData; + hasHtml(): boolean; // always false + getHtmlElement(commonOjbs: any): HTMLElement; // throw new NotImplementedException() + getEmptyContainer(tagName: string, rect: number[]): HTMLElement; // deprecated + isViewable(): boolean; + loadResources(keys: any): PDFPromise; + getOperatorList(evaluator: any): PDFPromise; + // ... todo +} + +interface PDFRenderTextLayer { + beginLayout(): void; + endLayout(): void; + appendText(): void; +} + +interface PDFRenderImageLayer { + beginLayout(): void; + endLayout(): void; + appendImage(): void; +} + +interface PDFRenderParams { + canvasContext: CanvasRenderingContext2D; + viewport?: PDFPageViewport; + textLayer?: PDFRenderTextLayer; + imageLayer?: PDFRenderImageLayer; + continueCallback?: (_continue: () => void) => void; +} + +interface PDFViewerParams { + container: HTMLElement; + viewer?: HTMLElement; +} + +/** + * RenderTask is basically a promise but adds a cancel function to termiate it. + **/ +interface PDFRenderTask extends PDFPromise { + + /** + * Cancel the rendering task. If the task is currently rendering it will not be cancelled until graphics pauses with a timeout. The promise that this object extends will resolve when cancelled. + **/ + cancel(): void; +} + +interface PDFPageProxy { + + /** + * Page number of the page. First page is 1. + **/ + pageNumber: number; + + /** + * The number of degrees the page is rotated clockwise. + **/ + rotate: number; + + /** + * The reference that points to this page. + **/ + ref: PDFRef; + + /** + * @return An array of the visible portion of the PDF page in the user space units - [x1, y1, x2, y2]. + **/ + view: number[]; + + /** + * @param scale The desired scale of the viewport. + * @param rotate Degrees to rotate the viewport. If omitted this defaults to the page rotation. + * @return + **/ + getViewport(scale: number, rotate?: number): PDFPageViewport; + + /** + * A promise that is resolved with an array of the annotation objects. + **/ + getAnnotations(): PDFPromise; + + /** + * Begins the process of rendering a page to the desired context. + * @param params Rendering options. + * @return An extended promise that is resolved when the page finishes rendering. **/ - interface PDFRenderTask extends PDFPromise { - - /** - * Cancel the rendering task. If the task is currently rendering it will not be cancelled until graphics pauses with a timeout. The promise that this object extends will resolve when cancelled. - **/ - cancel(): void; - } - - interface PDFPageProxy { - - /** - * Page number of the page. First page is 1. - **/ - pageNumber: number; - - /** - * The number of degrees the page is rotated clockwise. - **/ - rotate: number; - - /** - * The reference that points to this page. - **/ - ref: PDFRef; - - /** - * @return An array of the visible portion of the PDF page in the user space units - [x1, y1, x2, y2]. - **/ - view: number[]; - - /** - * @param scale The desired scale of the viewport. - * @param rotate Degrees to rotate the viewport. If omitted this defaults to the page rotation. - * @return - **/ - getViewport(scale: number, rotate?: number): PDFPageViewport; - - /** - * A promise that is resolved with an array of the annotation objects. - **/ - getAnnotations(): PDFPromise; - - /** - * Begins the process of rendering a page to the desired context. - * @param params Rendering options. - * @return An extended promise that is resolved when the page finishes rendering. - **/ - render(params: PDFRenderParams): PDFRenderTask; - - /** - * A promise that is resolved with the string that is the text content frm the page. - **/ - getTextContent(): PDFPromise; - - /** - * marked as future feature - **/ - //getOperationList(): PDFPromise<>; - - /** - * Destroyes resources allocated by the page. - **/ - destroy(): void; - } - - interface TextContentItem { - str: string; - transform: number[]; // [0..5] 4=x, 5=y - width: number; - height: number; - dir: string; // Left-to-right (ltr), etc - fontName: string; // A lookup into the styles map of the owning TextContent - } - - interface TextContent { - items: TextContentItem[]; - styles: any; - } - - /** - * A PDF document and page is built of many objects. E.g. there are objects for fonts, images, rendering code and such. These objects might get processed inside of a worker. The `PDFObjects` implements some basic functions to manage these objects. + render(params: PDFRenderParams): PDFRenderTask; + + /** + * A promise that is resolved with the string that is the text content frm the page. + **/ + getTextContent(): PDFPromise; + + /** + * marked as future feature + **/ + //getOperationList(): PDFPromise<>; + + /** + * Destroyes resources allocated by the page. + **/ + destroy(): void; +} + +interface TextContentItem { + str: string; + transform: number[]; // [0..5] 4=x, 5=y + width: number; + height: number; + dir: string; // Left-to-right (ltr), etc + fontName: string; // A lookup into the styles map of the owning TextContent +} + +interface TextContent { + items: TextContentItem[]; + styles: any; +} + +/** + * A PDF document and page is built of many objects. E.g. there are objects for fonts, images, rendering code and such. These objects might get processed inside of a worker. The `PDFObjects` implements some basic functions to manage these objects. + **/ +interface PDFObjects { + get(objId: number, callback?: any): any; + resolve(objId: number, data: any): any; + isResolved(objId: number): boolean; + hasData(objId: number): boolean; + getData(objId: number): any; + clear(): void; +} + +interface PDFJSUtilStatic { + /** + * Normalize rectangle so that (x1,y1) < (x2,y2) + * @param {number[]} rect - the rectangle with [x1,y1,x2,y2] + * + * For coordinate systems whose origin lies in the bottom-left, this + * means normalization to (BL,TR) ordering. For systems with origin in the + * top-left, this means (TL,BR) ordering. + **/ + normalizeRect(rect:number[]): number[]; +} + +export const PDFJS: PDFJSStatic; + +interface PDFJSStatic { + /** + * The maximum allowed image size in total pixels e.g. width * height. Images above this value will not be drawn. Use -1 for no limit. + **/ + maxImageSize: number; + + /** + * The url of where the predefined Adobe CMaps are located. Include trailing + * slash. + */ + cMapUrl: string; + + /** + * Specifies if CMaps are binary packed. + */ + cMapPacked: boolean; + + /** + * By default fonts are converted to OpenType fonts and loaded via font face rules. If disabled, the font will be rendered using a built in font renderer that constructs the glyphs with primitive path commands. + **/ + disableFontFace: boolean; + + /** + * Path for image resources, mainly for annotation icons. Include trailing + * slash. + */ + imageResourcesPath: string; + + /** + * Disable the web worker and run all code on the main thread. This will happen + * automatically if the browser doesn't support workers or sending typed arrays + * to workers. + */ + disableWorker: boolean; + + /** + * Path and filename of the worker file. Required when the worker is enabled in + * development mode. If unspecified in the production build, the worker will be + * loaded based on the location of the pdf.js file. + */ + workerSrc: string; + + /** + * Disable range request loading of PDF files. When enabled and if the server + * supports partial content requests then the PDF will be fetched in chunks. + * Enabled (false) by default. + */ + disableRange: boolean; + + /** + * Disable streaming of PDF file data. By default PDF.js attempts to load PDF + * in chunks. This default behavior can be disabled. + */ + disableStream: boolean; + + /** + * Disable pre-fetching of PDF file data. When range requests are enabled PDF.js + * will automatically keep fetching more data even if it isn't needed to display + * the current page. This default behavior can be disabled. + * + * NOTE: It is also necessary to disable streaming, see above, + * in order for disabling of pre-fetching to work correctly. + */ + disableAutoFetch: boolean; + + /** + * Enables special hooks for debugging PDF.js. + */ + pdfBug: boolean; + + /** + * Enables transfer usage in postMessage for ArrayBuffers. + */ + postMessageTransfers: boolean; + + /** + * Disables URL.createObjectURL usage. + */ + disableCreateObjectURL: boolean; + + /** + * Disables WebGL usage. + */ + disableWebGL: boolean; + + /** + * Disables fullscreen support, and by extension Presentation Mode, + * in browsers which support the fullscreen API. + */ + disableFullscreen: boolean; + + /** + * Disable the text layer of PDF when used PDF.js renders a canvas instead of div elements + * + */ + disableTextLayer: boolean; + + /** + * Enables CSS only zooming. + */ + useOnlyCssZoom: boolean; + + /** + * Controls the logging level. + * The constants from PDFJS.VERBOSITY_LEVELS should be used: + * - errors + * - warnings [default] + * - infos + */ + verbosity: number; + + /** + * The maximum supported canvas size in total pixels e.g. width * height. + * The default value is 4096 * 4096. Use -1 for no limit. + */ + maxCanvasPixels: number; + + /** + * Opens external links in a new window if enabled. The default behavior opens + * external links in the PDF.js window. + */ + openExternalLinksInNewWindow: boolean; + + /** + * Determines if we can eval strings as JS. Primarily used to improve + * performance for font rendering. + */ + isEvalSupported: boolean; + + Util: PDFJSUtilStatic; + + /** + * This is the main entry point for loading a PDF and interacting with it. + * NOTE: If a URL is used to fetch the PDF data a standard XMLHttpRequest(XHR) + * is used, which means it must follow the same origin rules that any XHR does + * e.g. No corss domain requests without CORS. + * @param source + * @param pdfDataRangeTransport Used if you want to manually server range requests for data in the PDF. @ee viewer.js for an example of pdfDataRangeTransport's interface. + * @param passwordCallback Used to request a password if wrong or no password was provided. The callback receives two parameters: function that needs to be called with new password and the reason. + * @param progressCallback Progress callback. + * @return A promise that is resolved with PDFDocumentProxy object. **/ - interface PDFObjects { - get(objId: number, callback?: any): any; - resolve(objId: number, data: any): any; - isResolved(objId: number): boolean; - hasData(objId: number): boolean; - getData(objId: number): any; - clear(): void; - } - - interface PDFJSUtilStatic { - /** - * Normalize rectangle so that (x1,y1) < (x2,y2) - * @param {number[]} rect - the rectangle with [x1,y1,x2,y2] - * - * For coordinate systems whose origin lies in the bottom-left, this - * means normalization to (BL,TR) ordering. For systems with origin in the - * top-left, this means (TL,BR) ordering. - **/ - normalizeRect(rect:number[]): number[]; - } - - interface PDFJSStatic { - - /** - * The maximum allowed image size in total pixels e.g. width * height. Images above this value will not be drawn. Use -1 for no limit. - **/ - maxImageSize: number; - - /** - * The url of where the predefined Adobe CMaps are located. Include trailing - * slash. - */ - cMapUrl: string; - - /** - * Specifies if CMaps are binary packed. - */ - cMapPacked: boolean; - - /** - * By default fonts are converted to OpenType fonts and loaded via font face rules. If disabled, the font will be rendered using a built in font renderer that constructs the glyphs with primitive path commands. - **/ - disableFontFace: boolean; - - /** - * Path for image resources, mainly for annotation icons. Include trailing - * slash. - */ - imageResourcesPath: string; - - /** - * Disable the web worker and run all code on the main thread. This will happen - * automatically if the browser doesn't support workers or sending typed arrays - * to workers. - */ - disableWorker: boolean; - - /** - * Path and filename of the worker file. Required when the worker is enabled in - * development mode. If unspecified in the production build, the worker will be - * loaded based on the location of the pdf.js file. - */ - workerSrc: string; - - /** - * Disable range request loading of PDF files. When enabled and if the server - * supports partial content requests then the PDF will be fetched in chunks. - * Enabled (false) by default. - */ - disableRange: boolean; - - /** - * Disable streaming of PDF file data. By default PDF.js attempts to load PDF - * in chunks. This default behavior can be disabled. - */ - disableStream: boolean; - - /** - * Disable pre-fetching of PDF file data. When range requests are enabled PDF.js - * will automatically keep fetching more data even if it isn't needed to display - * the current page. This default behavior can be disabled. - * - * NOTE: It is also necessary to disable streaming, see above, - * in order for disabling of pre-fetching to work correctly. - */ - disableAutoFetch: boolean; - - /** - * Enables special hooks for debugging PDF.js. - */ - pdfBug: boolean; - - /** - * Enables transfer usage in postMessage for ArrayBuffers. - */ - postMessageTransfers: boolean; - - /** - * Disables URL.createObjectURL usage. - */ - disableCreateObjectURL: boolean; - - /** - * Disables WebGL usage. - */ - disableWebGL: boolean; - - /** - * Disables fullscreen support, and by extension Presentation Mode, - * in browsers which support the fullscreen API. - */ - disableFullscreen: boolean; - - /** - * Disable the text layer of PDF when used PDF.js renders a canvas instead of div elements - * - */ - disableTextLayer: boolean; - - /** - * Enables CSS only zooming. - */ - useOnlyCssZoom: boolean; - - /** - * Controls the logging level. - * The constants from PDFJS.VERBOSITY_LEVELS should be used: - * - errors - * - warnings [default] - * - infos - */ - verbosity: number; - - /** - * The maximum supported canvas size in total pixels e.g. width * height. - * The default value is 4096 * 4096. Use -1 for no limit. - */ - maxCanvasPixels: number; - - /** - * Opens external links in a new window if enabled. The default behavior opens - * external links in the PDF.js window. - */ - openExternalLinksInNewWindow: boolean; - - /** - * Determines if we can eval strings as JS. Primarily used to improve - * performance for font rendering. - */ - isEvalSupported: boolean; - - Util: PDFJSUtilStatic; - - /** - * This is the main entry point for loading a PDF and interacting with it. - * NOTE: If a URL is used to fetch the PDF data a standard XMLHttpRequest(XHR) - * is used, which means it must follow the same origin rules that any XHR does - * e.g. No corss domain requests without CORS. - * @param source - * @param pdfDataRangeTransport Used if you want to manually server range requests for data in the PDF. @ee viewer.js for an example of pdfDataRangeTransport's interface. - * @param passwordCallback Used to request a password if wrong or no password was provided. The callback receives two parameters: function that needs to be called with new password and the reason. - * @param progressCallback Progress callback. - * @return A promise that is resolved with PDFDocumentProxy object. - **/ - getDocument( - source: string, - pdfDataRangeTransport?: any, - passwordCallback?: (fn: (password: string) => void, reason: string) => string, - progressCallback?: (progressData: PDFProgressData) => void) - : PDFPromise; - - getDocument( - source: Uint8Array, - pdfDataRangeTransport?: any, - passwordCallback?: (fn: (password: string) => void, reason: string) => string, - progressCallback?: (progressData: PDFProgressData) => void) - : PDFPromise; - - getDocument( - source: PDFSource, - pdfDataRangeTransport?: any, - passwordCallback?: (fn: (password: string) => void, reason: string) => string, - progressCallback?: (progressData: PDFProgressData) => void) - : PDFPromise; - - PDFViewer(params: PDFViewerParams): void; - /** - * yet another viewer, this will render only one page at the time, reducing rendering time - * very important for mobile development - * @params {PDFViewerParams} - */ - PDFSinglePageViewer(params: PDFViewerParams): void; - } + getDocument( + source: string, + pdfDataRangeTransport?: any, + passwordCallback?: (fn: (password: string) => void, reason: string) => string, + progressCallback?: (progressData: PDFProgressData) => void) + : PDFPromise; + + getDocument( + source: Uint8Array, + pdfDataRangeTransport?: any, + passwordCallback?: (fn: (password: string) => void, reason: string) => string, + progressCallback?: (progressData: PDFProgressData) => void) + : PDFPromise; + + getDocument( + source: PDFSource, + pdfDataRangeTransport?: any, + passwordCallback?: (fn: (password: string) => void, reason: string) => string, + progressCallback?: (progressData: PDFProgressData) => void) + : PDFPromise; + + PDFViewer(params: PDFViewerParams): void; + /** + * yet another viewer, this will render only one page at the time, reducing rendering time + * very important for mobile development + * @params {PDFViewerParams} + */ + PDFSinglePageViewer(params: PDFViewerParams): void; } diff --git a/types/pdfjs-dist/pdfjs-dist-tests.ts b/types/pdfjs-dist/pdfjs-dist-tests.ts index cd2325975a..ef569b2fda 100644 --- a/types/pdfjs-dist/pdfjs-dist-tests.ts +++ b/types/pdfjs-dist/pdfjs-dist-tests.ts @@ -1,11 +1,10 @@ -import { PDFJSStatic, PDFDocumentProxy, PDFPromise } from 'pdfjs-dist'; +import { PDFJS, PDFDocumentProxy, PDFPromise } from 'pdfjs-dist'; // // Fetch the PDF document from the URL using promises // var pdfDoc: PDFDocumentProxy; var pageNum: number; -var PDFJS: PDFJSStatic; PDFJS.getDocument('helloworld.pdf').then(function (pdf) { // Using promise to fetch the page @@ -26,7 +25,7 @@ function renderPage(pageNum: number) { var context = canvas.getContext('2d'); canvas.height = viewport.height; canvas.width = viewport.width; - + // // test viewport conversion methods // convertToViewportRectangle and normalizeRect are used in the acroforms example: From f5f3135108f26bd097de45b52c9c9a9a166cc561 Mon Sep 17 00:00:00 2001 From: Klaus Meinhardt Date: Mon, 12 Feb 2018 16:30:21 +0100 Subject: [PATCH 359/463] Add types for npm-packlist --- types/npm-packlist/index.d.ts | 16 ++++++++++++++++ types/npm-packlist/npm-packlist-tests.ts | 14 ++++++++++++++ types/npm-packlist/tsconfig.json | 24 ++++++++++++++++++++++++ types/npm-packlist/tslint.json | 1 + 4 files changed, 55 insertions(+) create mode 100644 types/npm-packlist/index.d.ts create mode 100644 types/npm-packlist/npm-packlist-tests.ts create mode 100644 types/npm-packlist/tsconfig.json create mode 100644 types/npm-packlist/tslint.json diff --git a/types/npm-packlist/index.d.ts b/types/npm-packlist/index.d.ts new file mode 100644 index 0000000000..88a0f82fa4 --- /dev/null +++ b/types/npm-packlist/index.d.ts @@ -0,0 +1,16 @@ +// Type definitions for npm-packlist 1.1 +// Project: https://www.npmjs.com/package/npm-packlist +// Definitions by: Klaus Meinhardt +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 + +declare function packlist(options?: packlist.Options): Promise; +declare function packlist(options: packlist.Options | undefined, callback: (result: string[]) => T): Promise; +declare namespace packlist { + interface Options { + /** Directory to walk recusively. Defaults to `process.cwd()`. */ + path?: string; + } + function sync(options?: Options): string[]; +} +export = packlist; diff --git a/types/npm-packlist/npm-packlist-tests.ts b/types/npm-packlist/npm-packlist-tests.ts new file mode 100644 index 0000000000..162a7d86f5 --- /dev/null +++ b/types/npm-packlist/npm-packlist-tests.ts @@ -0,0 +1,14 @@ +import packlist = require('npm-packlist'); + +let result: string[] = packlist.sync(); +result = packlist.sync({}); +result = packlist.sync({path: 'foo'}); + +(async () => { + result = await packlist(); + result = await packlist({}); + result = await packlist({path: 'foo'}); + + packlist(undefined, (r) => result = r); + packlist({path: 'foo'}, (r) => result = r); +})(); diff --git a/types/npm-packlist/tsconfig.json b/types/npm-packlist/tsconfig.json new file mode 100644 index 0000000000..29834afe3e --- /dev/null +++ b/types/npm-packlist/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "esModuleInterop": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "npm-packlist-tests.ts" + ] +} diff --git a/types/npm-packlist/tslint.json b/types/npm-packlist/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/npm-packlist/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 55898119ea60d8e4fe9e89f583d8fabedd283c17 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Mon, 12 Feb 2018 17:16:08 +0100 Subject: [PATCH 360/463] webpack: remove union types with type `any` --- types/case-sensitive-paths-webpack-plugin/index.d.ts | 1 + types/clean-webpack-plugin/index.d.ts | 1 + types/compression-webpack-plugin/index.d.ts | 1 + types/copy-webpack-plugin/index.d.ts | 3 ++- types/duplicate-package-checker-webpack-plugin/index.d.ts | 5 +++-- types/extract-text-webpack-plugin/index.d.ts | 7 ++++--- types/html-webpack-plugin/index.d.ts | 1 + types/lodash-webpack-plugin/index.d.ts | 1 + types/optimize-css-assets-webpack-plugin/index.d.ts | 1 + types/webpack-bundle-analyzer/index.d.ts | 1 + types/webpack-chain/index.d.ts | 1 + types/webpack-chunk-hash/index.d.ts | 5 +++-- types/webpack-cleanup-plugin/index.d.ts | 6 +++--- types/webpack-dotenv-plugin/index.d.ts | 1 + types/webpack-merge/index.d.ts | 4 ++-- types/webpack-node-externals/index.d.ts | 5 +++-- types/webpack-notifier/index.d.ts | 1 + types/webpack-stream/index.d.ts | 1 + types/webpack-validator/index.d.ts | 1 + types/webpack/index.d.ts | 5 +++-- types/webpack/tslint.json | 1 - 21 files changed, 35 insertions(+), 18 deletions(-) diff --git a/types/case-sensitive-paths-webpack-plugin/index.d.ts b/types/case-sensitive-paths-webpack-plugin/index.d.ts index 360d3d6d08..38fdd9c032 100644 --- a/types/case-sensitive-paths-webpack-plugin/index.d.ts +++ b/types/case-sensitive-paths-webpack-plugin/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/Urthen/case-sensitive-paths-webpack-plugin#readme // Definitions by: Andrew Makarov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 import { Plugin } from 'webpack'; diff --git a/types/clean-webpack-plugin/index.d.ts b/types/clean-webpack-plugin/index.d.ts index 7fc45cc3e4..afe8a65b69 100644 --- a/types/clean-webpack-plugin/index.d.ts +++ b/types/clean-webpack-plugin/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/johnagan/clean-webpack-plugin // Definitions by: Jed Fox // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 import { Plugin } from 'webpack'; diff --git a/types/compression-webpack-plugin/index.d.ts b/types/compression-webpack-plugin/index.d.ts index 8fddd72daf..bfb769ed2f 100644 --- a/types/compression-webpack-plugin/index.d.ts +++ b/types/compression-webpack-plugin/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/webpack-contrib/compression-webpack-plugin // Definitions by: Anton Kandybo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 import { Plugin } from 'webpack'; diff --git a/types/copy-webpack-plugin/index.d.ts b/types/copy-webpack-plugin/index.d.ts index 8bfae1e0ed..1190adcf91 100644 --- a/types/copy-webpack-plugin/index.d.ts +++ b/types/copy-webpack-plugin/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/kevlened/copy-webpack-plugin // Definitions by: flying-sheep // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 import { Plugin } from 'webpack' import { IOptions } from 'minimatch' @@ -30,7 +31,7 @@ interface CopyPattern { context?: string /** * Removes all directory references and only copies file names. - * + * * If files have the same name, the result is non-deterministic. (default: `false`) */ flatten?: boolean diff --git a/types/duplicate-package-checker-webpack-plugin/index.d.ts b/types/duplicate-package-checker-webpack-plugin/index.d.ts index 88d8ccd54c..fd2906aa46 100644 --- a/types/duplicate-package-checker-webpack-plugin/index.d.ts +++ b/types/duplicate-package-checker-webpack-plugin/index.d.ts @@ -2,12 +2,13 @@ // Project: https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme // Definitions by: Matt Traynham // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 -import webpack = require('webpack'); +import { Plugin } from 'webpack'; export = DuplicatePackageCheckerWebpackPlugin; -declare class DuplicatePackageCheckerWebpackPlugin extends webpack.Plugin { +declare class DuplicatePackageCheckerWebpackPlugin extends Plugin { constructor(options?: DuplicatePackageCheckerWebpackPlugin.Options); } diff --git a/types/extract-text-webpack-plugin/index.d.ts b/types/extract-text-webpack-plugin/index.d.ts index 962698568a..85d41b4619 100644 --- a/types/extract-text-webpack-plugin/index.d.ts +++ b/types/extract-text-webpack-plugin/index.d.ts @@ -2,8 +2,9 @@ // Project: https://github.com/webpack-contrib/extract-text-webpack-plugin // Definitions by: flying-sheep , kayo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 -import webpack = require('webpack'); +import { Plugin, NewLoader, OldLoader} from 'webpack'; export = ExtractTextPlugin; @@ -11,13 +12,13 @@ export = ExtractTextPlugin; * extract-text-webpack-plugin has no support for .options instead of .query yet. * See https://github.com/webpack/extract-text-webpack-plugin/issues/281 */ -type Loader = string | webpack.OldLoader | webpack.NewLoader; +type Loader = string | OldLoader | NewLoader; /** * Use an `ExtractTextPlugin` instance and a loader returned by `extract` in concert to write files to disk instead of loading them into others. * Usage example at https://github.com/webpack/extract-text-webpack-plugin#usage-example-with-css */ -declare class ExtractTextPlugin extends webpack.Plugin { +declare class ExtractTextPlugin extends Plugin { /** Create a plugin instance defining the extraction target file(s) for the files loaded by `extract` */ constructor(options: string | ExtractTextPlugin.PluginOptions); /** diff --git a/types/html-webpack-plugin/index.d.ts b/types/html-webpack-plugin/index.d.ts index dc23e020d7..35774c1ac6 100644 --- a/types/html-webpack-plugin/index.d.ts +++ b/types/html-webpack-plugin/index.d.ts @@ -4,6 +4,7 @@ // Benjamin Lim // Tomek Łaziuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 import { Plugin } from 'webpack'; import { Options as HtmlMinifierOptions } from 'html-minifier'; diff --git a/types/lodash-webpack-plugin/index.d.ts b/types/lodash-webpack-plugin/index.d.ts index 7b2c3ebe67..e7e2dfd4db 100644 --- a/types/lodash-webpack-plugin/index.d.ts +++ b/types/lodash-webpack-plugin/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/lodash/lodash-webpack-plugin#readme // Definitions by: Benjamin Lim // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 import { Plugin } from 'webpack'; diff --git a/types/optimize-css-assets-webpack-plugin/index.d.ts b/types/optimize-css-assets-webpack-plugin/index.d.ts index b16d384d72..788b2e6a1f 100644 --- a/types/optimize-css-assets-webpack-plugin/index.d.ts +++ b/types/optimize-css-assets-webpack-plugin/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/NMFR/optimize-css-assets-webpack-plugin // Definitions by: Armando Meziat // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 import { Plugin } from 'webpack'; diff --git a/types/webpack-bundle-analyzer/index.d.ts b/types/webpack-bundle-analyzer/index.d.ts index c563a9e3cf..3f856a7328 100644 --- a/types/webpack-bundle-analyzer/index.d.ts +++ b/types/webpack-bundle-analyzer/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/th0r/webpack-bundle-analyzer // Definitions by: Michael Strobel // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 import * as webpack from 'webpack'; diff --git a/types/webpack-chain/index.d.ts b/types/webpack-chain/index.d.ts index 6f6c46daa8..05aa4e5845 100644 --- a/types/webpack-chain/index.d.ts +++ b/types/webpack-chain/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/mozilla-neutrino/webpack-chain // Definitions by: Eirikur Nilsson , Paul Sachs // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 import * as webpack from 'webpack'; import * as https from 'https'; diff --git a/types/webpack-chunk-hash/index.d.ts b/types/webpack-chunk-hash/index.d.ts index dc8f697a44..f499a00dc9 100644 --- a/types/webpack-chunk-hash/index.d.ts +++ b/types/webpack-chunk-hash/index.d.ts @@ -2,12 +2,13 @@ // Project: https://github.com/alexindigo/webpack-chunk-hash#readme // Definitions by: Matt Traynham // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 -import webpack = require('webpack'); +import { Plugin } from 'webpack'; export = WebpackChunkHash; -declare class WebpackChunkHash extends webpack.Plugin { +declare class WebpackChunkHash extends Plugin { constructor(options?: WebpackChunkHash.Options); } diff --git a/types/webpack-cleanup-plugin/index.d.ts b/types/webpack-cleanup-plugin/index.d.ts index f5fa620413..a6efd31af7 100644 --- a/types/webpack-cleanup-plugin/index.d.ts +++ b/types/webpack-cleanup-plugin/index.d.ts @@ -2,12 +2,12 @@ // Project: https://github.com/gpbl/webpack-cleanup-plugin#readme // Definitions by: Luka Maljic // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 -import webpack = require('webpack'); - +import { Plugin } from 'webpack'; export = WebpackCleanupPlugin; -declare class WebpackCleanupPlugin extends webpack.Plugin { +declare class WebpackCleanupPlugin extends Plugin { constructor(options?: WebpackCleanupPlugin.Options); } diff --git a/types/webpack-dotenv-plugin/index.d.ts b/types/webpack-dotenv-plugin/index.d.ts index 4200c3b15e..b8cfb33ef8 100644 --- a/types/webpack-dotenv-plugin/index.d.ts +++ b/types/webpack-dotenv-plugin/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/nwinch/webpack-dotenv-plugin#readme // Definitions by: Michael Strobel // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 import * as webpack from 'webpack'; diff --git a/types/webpack-merge/index.d.ts b/types/webpack-merge/index.d.ts index 54c94a738e..17b39a4f06 100644 --- a/types/webpack-merge/index.d.ts +++ b/types/webpack-merge/index.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 -import webpack = require('webpack'); +import { Configuration } from 'webpack'; export = webpackMerge; @@ -24,7 +24,7 @@ declare namespace webpackMerge { type MergeStrategy = 'prepend' | 'append' | 'replace'; interface WebpackMerge { - (...configs: webpack.Configuration[]): webpack.Configuration; + (...configs: Configuration[]): Configuration; (customizeOptions: CustomizeOptions): ConfigurationMergeFunction; unique: UniqueFunction; smart: ConfigurationMergeFunction; diff --git a/types/webpack-node-externals/index.d.ts b/types/webpack-node-externals/index.d.ts index 80dc73b27b..c93d3edecf 100644 --- a/types/webpack-node-externals/index.d.ts +++ b/types/webpack-node-externals/index.d.ts @@ -2,12 +2,13 @@ // Project: https://github.com/liady/webpack-node-externals // Definitions by: Matt Traynham // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 -import webpack = require('webpack'); +import { ExternalsFunctionElement } from 'webpack'; export = webpackNodeExternals; -declare function webpackNodeExternals(options?: webpackNodeExternals.Options): webpack.ExternalsFunctionElement; +declare function webpackNodeExternals(options?: webpackNodeExternals.Options): ExternalsFunctionElement; declare namespace webpackNodeExternals { type WhitelistOption = string | RegExp; diff --git a/types/webpack-notifier/index.d.ts b/types/webpack-notifier/index.d.ts index 1b8e92651f..372b4f2b1c 100644 --- a/types/webpack-notifier/index.d.ts +++ b/types/webpack-notifier/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/Turbo87/webpack-notifier#readme // Definitions by: Benjamin Lim // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 import { Plugin } from 'webpack'; diff --git a/types/webpack-stream/index.d.ts b/types/webpack-stream/index.d.ts index 41fbb3592b..19159f402d 100644 --- a/types/webpack-stream/index.d.ts +++ b/types/webpack-stream/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/shama/webpack-stream // Definitions by: Ian Clanton-Thuon , Benjamin Lim // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 /// diff --git a/types/webpack-validator/index.d.ts b/types/webpack-validator/index.d.ts index 4b6b260877..242a71e6f4 100644 --- a/types/webpack-validator/index.d.ts +++ b/types/webpack-validator/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/js-dxtools/webpack-validator // Definitions by: Simon Hartcher // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 /// diff --git a/types/webpack/index.d.ts b/types/webpack/index.d.ts index f8aa375210..e25adc7e7d 100644 --- a/types/webpack/index.d.ts +++ b/types/webpack/index.d.ts @@ -10,6 +10,7 @@ // Alan Agius // Spencer Elliott // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 /// @@ -76,7 +77,7 @@ declare namespace webpack { /** Capture timing information for each module. */ profile?: boolean; /** Cache generated modules and chunks to improve performance for multiple incremental builds. */ - cache?: boolean | any; + cache?: boolean | object; /** Enter watch mode, which rebuilds on file change. */ watch?: boolean; watchOptions?: Options.WatchOptions; @@ -1029,7 +1030,7 @@ declare namespace webpack { * If a loader delivers a result in the pitch method the process turns around and skips the remaining loaders, * continuing with the calls to the more left loaders. data can be passed between pitch and normal call. */ - pitch?(remainingRequest: string, precedingRequest: string, data: any): any | undefined; + pitch?(remainingRequest: string, precedingRequest: string, data: any): any; /** * By default, the resource file is treated as utf-8 string and passed as String to the loader. diff --git a/types/webpack/tslint.json b/types/webpack/tslint.json index 590af11d7e..9d2d6ce987 100644 --- a/types/webpack/tslint.json +++ b/types/webpack/tslint.json @@ -2,7 +2,6 @@ "extends": "dtslint/dt.json", "rules": { // TODO - "no-any-union": false, "no-unnecessary-qualifier": false, "no-void-expression": false, "space-within-parens": false From c10b0b893211575855367ecc65b28d8d27563309 Mon Sep 17 00:00:00 2001 From: Gabriel Castro Date: Mon, 12 Feb 2018 12:02:12 -0500 Subject: [PATCH 361/463] fix swagger-schema-official to work with typescript 2.7 --- types/swagger-schema-official/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/swagger-schema-official/index.d.ts b/types/swagger-schema-official/index.d.ts index 48173c0883..dc184d3e91 100644 --- a/types/swagger-schema-official/index.d.ts +++ b/types/swagger-schema-official/index.d.ts @@ -87,7 +87,7 @@ export interface Path { options?: Operation; head?: Operation; patch?: Operation; - parameters?: [Parameter]; + parameters?: Parameter[]; } // ----------------------------- Operation ----------------------------------- From 329e75252a9ccc4192eb920e1bc321d19061f7d8 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Mon, 12 Feb 2018 17:37:32 +0100 Subject: [PATCH 362/463] webpack: remove lint overrides --- types/html-webpack-template/index.d.ts | 1 + types/loader-utils/index.d.ts | 4 +++- types/stylelint-webpack-plugin/index.d.ts | 3 ++- types/webpack-fail-plugin/index.d.ts | 1 + types/webpack-merge/v0/index.d.ts | 1 + types/webpack/index.d.ts | 29 +++++++++++++---------- types/webpack/tslint.json | 8 +------ types/webpack/webpack-tests.ts | 15 ++++++++---- 8 files changed, 35 insertions(+), 27 deletions(-) diff --git a/types/html-webpack-template/index.d.ts b/types/html-webpack-template/index.d.ts index f1b57fa331..b02be3c463 100644 --- a/types/html-webpack-template/index.d.ts +++ b/types/html-webpack-template/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/jaketrent/html-webpack-template // Definitions by: Benjamin Lim // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 import { Options as HtmlWebpackPluginOptions } from 'html-webpack-plugin'; diff --git a/types/loader-utils/index.d.ts b/types/loader-utils/index.d.ts index a178ada777..37ce2e461f 100644 --- a/types/loader-utils/index.d.ts +++ b/types/loader-utils/index.d.ts @@ -3,9 +3,11 @@ // Definitions by: Gyusun Yeom // Totooria Hyperion // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 + /// -import { loader } from "webpack"; +import { loader } from 'webpack'; export interface InterpolateOption { context?: string; diff --git a/types/stylelint-webpack-plugin/index.d.ts b/types/stylelint-webpack-plugin/index.d.ts index 580fc4325f..dfaf0a4f05 100644 --- a/types/stylelint-webpack-plugin/index.d.ts +++ b/types/stylelint-webpack-plugin/index.d.ts @@ -2,8 +2,9 @@ // Project: https://github.com/JaKXz/stylelint-webpack-plugin // Definitions by: Arne Bahlo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 -import { Plugin } from "webpack"; +import { Plugin } from 'webpack'; export = StylelintWebpackPlugin; diff --git a/types/webpack-fail-plugin/index.d.ts b/types/webpack-fail-plugin/index.d.ts index 04f037e084..2db28733c2 100644 --- a/types/webpack-fail-plugin/index.d.ts +++ b/types/webpack-fail-plugin/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/TiddoLangerak/webpack-fail-plugin // Definitions by: Simon Hartcher // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 /// diff --git a/types/webpack-merge/v0/index.d.ts b/types/webpack-merge/v0/index.d.ts index a939a2ed53..4cf82afd88 100644 --- a/types/webpack-merge/v0/index.d.ts +++ b/types/webpack-merge/v0/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/survivejs/webpack-merge // Definitions by: Simon Hartcher // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 /// diff --git a/types/webpack/index.d.ts b/types/webpack/index.d.ts index e25adc7e7d..b419efc2ea 100644 --- a/types/webpack/index.d.ts +++ b/types/webpack/index.d.ts @@ -492,7 +492,7 @@ declare namespace webpack { */ maxEntrypointSize?: number; } - type Stats = webpack.Stats.ToStringOptions; + type Stats = Stats.ToStringOptions; type WatchOptions = ICompiler.WatchOptions; } @@ -542,7 +542,7 @@ declare namespace webpack { type Handler = ICompiler.Handler; type WatchOptions = ICompiler.WatchOptions; - class Watching implements webpack.Watching { + class Watching implements Watching { constructor(compiler: Compiler, watchOptions: Watching.WatchOptions, handler: Watching.Handler); close(callback: () => void): void; @@ -1260,37 +1260,40 @@ declare namespace webpack { /** @deprecated */ namespace compiler { /** @deprecated use webpack.Compiler */ + // tslint:disable-next-line:no-unnecessary-qualifier type Compiler = webpack.Compiler; /** @deprecated use webpack.Compiler.Watching */ - type Watching = webpack.Compiler.Watching; + type Watching = Compiler.Watching; /** @deprecated use webpack.Compiler.WatchOptions */ - type WatchOptions = webpack.Compiler.WatchOptions; + + type WatchOptions = Compiler.WatchOptions; /** @deprecated use webpack.Stats */ + // tslint:disable-next-line:no-unnecessary-qualifier type Stats = webpack.Stats; /** @deprecated use webpack.Stats.ToJsonOptions */ - type StatsOptions = webpack.Stats.ToJsonOptions; + type StatsOptions = Stats.ToJsonOptions; /** @deprecated use webpack.Stats.ToStringOptions */ - type StatsToStringOptions = webpack.Stats.ToStringOptions; + type StatsToStringOptions = Stats.ToStringOptions; /** @deprecated use webpack.Compiler.Handler */ - type CompilerCallback = webpack.Compiler.Handler; + type CompilerCallback = Compiler.Handler; } /** @deprecated use webpack.Options.Performance */ - type PerformanceOptions = webpack.Options.Performance; + type PerformanceOptions = Options.Performance; /** @deprecated use webpack.Options.WatchOptions */ - type WatchOptions = webpack.Options.WatchOptions; + type WatchOptions = Options.WatchOptions; /** @deprecated use webpack.EvalSourceMapDevToolPlugin.Options */ - type EvalSourceMapDevToolPluginOptions = webpack.EvalSourceMapDevToolPlugin.Options; + type EvalSourceMapDevToolPluginOptions = EvalSourceMapDevToolPlugin.Options; /** @deprecated use webpack.SourceMapDevToolPlugin.Options */ - type SourceMapDevToolPluginOptions = webpack.SourceMapDevToolPlugin.Options; + type SourceMapDevToolPluginOptions = SourceMapDevToolPlugin.Options; /** @deprecated use webpack.optimize.UglifyJsPlugin.CommentFilter */ - type UglifyCommentFunction = webpack.optimize.UglifyJsPlugin.CommentFilter; + type UglifyCommentFunction = optimize.UglifyJsPlugin.CommentFilter; /** @deprecated use webpack.optimize.UglifyJsPlugin.Options */ - type UglifyPluginOptions = webpack.optimize.UglifyJsPlugin.Options; + type UglifyPluginOptions = optimize.UglifyJsPlugin.Options; } diff --git a/types/webpack/tslint.json b/types/webpack/tslint.json index 9d2d6ce987..b4b47a0378 100644 --- a/types/webpack/tslint.json +++ b/types/webpack/tslint.json @@ -1,9 +1,3 @@ { - "extends": "dtslint/dt.json", - "rules": { - // TODO - "no-unnecessary-qualifier": false, - "no-void-expression": false, - "space-within-parens": false - } + "extends": "dtslint/dt.json" } diff --git a/types/webpack/webpack-tests.ts b/types/webpack/webpack-tests.ts index d74960e4db..2b0cc516e0 100644 --- a/types/webpack/webpack-tests.ts +++ b/types/webpack/webpack-tests.ts @@ -509,8 +509,10 @@ declare function successfullyCompiled(): void; webpack({ // configuration }, (err, stats) => { - if (err) - return handleFatalError(err); + if (err) { + handleFatalError(err); + return; + } const jsonStats = stats.toJson(); const jsonStatsWithAllOptions = stats.toJson({ assets: true, @@ -537,10 +539,13 @@ webpack({ excludeAssets: ["filter", "excluded"] }); - if (jsonStats.errors.length > 0) - return handleSoftErrors(jsonStats.errors); - if (jsonStats.warnings.length > 0) + if (jsonStats.errors.length > 0) { + handleSoftErrors(jsonStats.errors); + return; + } + if (jsonStats.warnings.length > 0) { handleWarnings(jsonStats.warnings); + } successfullyCompiled(); }); From 597eb85ad74c22726547c9dad0c47e9907116bd8 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Mon, 12 Feb 2018 17:53:02 +0100 Subject: [PATCH 363/463] style: add missing space --- types/extract-text-webpack-plugin/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/extract-text-webpack-plugin/index.d.ts b/types/extract-text-webpack-plugin/index.d.ts index 85d41b4619..9f17a66da0 100644 --- a/types/extract-text-webpack-plugin/index.d.ts +++ b/types/extract-text-webpack-plugin/index.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 -import { Plugin, NewLoader, OldLoader} from 'webpack'; +import { Plugin, NewLoader, OldLoader } from 'webpack'; export = ExtractTextPlugin; From 72a172ae70b3815302d83599b9bbd0ec15a23a68 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Mon, 12 Feb 2018 18:06:13 +0100 Subject: [PATCH 364/463] fuse: remove typings --- notNeededPackages.json | 6 ++ types/fuse/fuse-tests.ts | 130 --------------------------------------- types/fuse/index.d.ts | 54 ---------------- types/fuse/tsconfig.json | 24 -------- types/fuse/tslint.json | 79 ------------------------ 5 files changed, 6 insertions(+), 287 deletions(-) delete mode 100644 types/fuse/fuse-tests.ts delete mode 100644 types/fuse/index.d.ts delete mode 100644 types/fuse/tsconfig.json delete mode 100644 types/fuse/tslint.json diff --git a/notNeededPackages.json b/notNeededPackages.json index 7683c07522..3abaa12d26 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -558,6 +558,12 @@ "sourceRepoURL": "http://arshaw.com/fullcalendar/", "asOfVersion": "3.8.0" }, + { + "libraryName": "fuse", + "typingsPackageName": "fuse", + "sourceRepoURL": "https://github.com/krisk/Fuse", + "asOfVersion": "2.6.0" + }, { "libraryName": "gaea-model", "typingsPackageName": "gaea-model", diff --git a/types/fuse/fuse-tests.ts b/types/fuse/fuse-tests.ts deleted file mode 100644 index 801829d78d..0000000000 --- a/types/fuse/fuse-tests.ts +++ /dev/null @@ -1,130 +0,0 @@ - - -function test_fuse_find_identifiers() { - var books = [{ - id: 1, - title: 'The Great Gatsby', - author: 'F. Scott Fitzgerald' - }, { - id: 2, - title: 'The DaVinci Code', - author: 'Dan Brown' - }, { - id: 3, - title: 'Angels & Demons', - author: 'Dan Brown' - }]; - var options = { - keys: ['author', 'title'], // keys to search in - id: 'id' // return a list of identifiers only - }; - var f = new Fuse(books, options); - var result = f.search('brwn'); // Fuzzy-search for pattern 'brwn' -} - -function test_fuse_find_records() { - var books = [{ - id: 1, - title: 'The Great Gatsby', - author: 'F. Scott Fitzgerald' - }, { - id: 2, - title: 'The DaVinci Code', - author: 'Dan Brown' - }, { - id: 3, - title: 'Angels & Demons', - author: 'Dan Brown' - }]; - var options = { - keys: ['author', 'title'] - }; - var f = new Fuse(books, options); - var result = f.search('brwn'); -} - -function test_fuse_flat_array() { - var books = ["Old Man's War", "The Lock Artist", "HTML5", "Right Ho Jeeves", "The Code of the Wooster", "Thank You Jeeves", "The DaVinci Code", "Angels & Demons", "The Silmarillion", "Syrup", "The Lost Symbol", "The Book of Lies", "Lamb", "Fool", "Incompetence", "Fat", "Colony", "Backwards, Red Dwarf", "The Grand Design", "The Book of Samson", "The Preservationist", "Fallen", "Monster 1959"]; - var f = new Fuse(books); - var result = f.search('Falen'); -} - -function test_fuse_deep_key_search() { - var books = [{ - id: 1, - title: 'The Great Gatsby', - author: { - firstName: 'F. Scott', - lastName: 'Fitzgerald' - } - }, { - title: 'The DaVinci Code', - author: { - firstName: 'Dan', - lastName: 'Brown' - } - }]; - - var options = { - keys: ['author.firstName'] - }; - var f = new Fuse(books, options); - var result = f.search('brwn'); -} - -interface Book { - id?: number; - title?: string; - author?: {firstName: string; lastName: string}; -} - -function test_generic_fuse() { - var books: Book[] = [{ - id: 1, - title: 'The Great Gatsby', - author: { - firstName: 'F. Scott', - lastName: 'Fitzgerald' - } - }, { - title: 'The DaVinci Code', - author: { - firstName: 'Dan', - lastName: 'Brown' - } - }]; - - var options = { - keys: ["title", "author.firstName"] - }; - var f = new Fuse(books, options); - var result = f.search('brwn'); -} - -function test_getFn() { - var books = [{ - id: 1, - title: 'The Great Gatsby', - author: { - firstName: 'F. Scott', - lastName: 'Fitzgerald' - } - }, { - title: 'The DaVinci Code', - author: { - firstName: 'Dan', - lastName: 'Brown' - } - }]; - - var options = { - keys: ["title", "author.firstName"], - getFn: (obj: Book, path: string): string => { - if (!obj) { - return null; - } - return obj.author.firstName; - } - }; - var f = new Fuse(books, options); -} diff --git a/types/fuse/index.d.ts b/types/fuse/index.d.ts deleted file mode 100644 index 9442e43490..0000000000 --- a/types/fuse/index.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -// Type definitions for Fuse.js 2.5.0 -// Project: https://github.com/krisk/Fuse -// Definitions by: Greg Smith -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -declare class Fuse { - constructor(list: T[], options?: Fuse.Options); - search(pattern: string): T[]; -} - -declare namespace Fuse { - interface SearchFnConstructor { - new (pattern: string, options?: SearchOptions): SearchFn; - } - - interface SearchFn { - search(text: string): SearchResult; - } - - interface SearchResult { - readonly isMatch: boolean; - readonly score: number; - } - - interface SearchOptions { - location?: number; - distance?: number; - threshold?: number; - maxPatternLength?: number; - } - - interface Options { - id?: string; - caseSensitive?: boolean; - include?: string[]; - shouldSort?: boolean; - searchFn?: SearchFnConstructor; - sortFn?: (a: {score: number}, b: {score: number}) => number; - keys?: string[] | { name:string; weight:number} []; - verbose?:boolean; - tokenize?: boolean; - tokenSeparator? : RegExp; - matchAllTokens?: boolean; - location?: number; - distance?: number; - threshold?: number; - maxPatternLength?: number; - includeScore?: boolean; - getFn?: (obj: T, path: string) => string; - } -} - -export = Fuse; -export as namespace Fuse; diff --git a/types/fuse/tsconfig.json b/types/fuse/tsconfig.json deleted file mode 100644 index da4e30c7a2..0000000000 --- a/types/fuse/tsconfig.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true - }, - "files": [ - "index.d.ts", - "fuse-tests.ts" - ] -} \ No newline at end of file diff --git a/types/fuse/tslint.json b/types/fuse/tslint.json deleted file mode 100644 index a41bf5d19a..0000000000 --- a/types/fuse/tslint.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "extends": "dtslint/dt.json", - "rules": { - "adjacent-overload-signatures": false, - "array-type": false, - "arrow-return-shorthand": false, - "ban-types": false, - "callable-types": false, - "comment-format": false, - "dt-header": false, - "eofline": false, - "export-just-namespace": false, - "import-spacing": false, - "interface-name": false, - "interface-over-type-literal": false, - "jsdoc-format": false, - "max-line-length": false, - "member-access": false, - "new-parens": false, - "no-any-union": false, - "no-boolean-literal-compare": false, - "no-conditional-assignment": false, - "no-consecutive-blank-lines": false, - "no-construct": false, - "no-declare-current-package": false, - "no-duplicate-imports": false, - "no-duplicate-variable": false, - "no-empty-interface": false, - "no-for-in-array": false, - "no-inferrable-types": false, - "no-internal-module": false, - "no-irregular-whitespace": false, - "no-mergeable-namespace": false, - "no-misused-new": false, - "no-namespace": false, - "no-object-literal-type-assertion": false, - "no-padding": false, - "no-redundant-jsdoc": false, - "no-redundant-jsdoc-2": false, - "no-redundant-undefined": false, - "no-reference-import": false, - "no-relative-import-in-test": false, - "no-self-import": false, - "no-single-declare-module": false, - "no-string-throw": false, - "no-unnecessary-callback-wrapper": false, - "no-unnecessary-class": false, - "no-unnecessary-generics": false, - "no-unnecessary-qualifier": false, - "no-unnecessary-type-assertion": false, - "no-useless-files": false, - "no-var-keyword": false, - "no-var-requires": false, - "no-void-expression": false, - "no-trailing-whitespace": false, - "object-literal-key-quotes": false, - "object-literal-shorthand": false, - "one-line": false, - "one-variable-per-declaration": false, - "only-arrow-functions": false, - "prefer-conditional-expression": false, - "prefer-const": false, - "prefer-declare-function": false, - "prefer-for-of": false, - "prefer-method-signature": false, - "prefer-template": false, - "radix": false, - "semicolon": false, - "space-before-function-paren": false, - "space-within-parens": false, - "strict-export-declare-modifiers": false, - "trim-file": false, - "triple-equals": false, - "typedef-whitespace": false, - "unified-signatures": false, - "void-return": false, - "whitespace": false - } -} From 6bc44161496ec6507eb5b3e3dab5cd8f816f7a01 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Mon, 12 Feb 2018 18:11:57 +0100 Subject: [PATCH 365/463] fix: cannot find namespace 'webpack' --- types/webpack-merge/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/webpack-merge/index.d.ts b/types/webpack-merge/index.d.ts index 17b39a4f06..23caff9575 100644 --- a/types/webpack-merge/index.d.ts +++ b/types/webpack-merge/index.d.ts @@ -18,7 +18,7 @@ declare namespace webpackMerge { customizeArray?: CustomizeArrayFunction | UniqueFunction; customizeObject?: CustomizeObjectFunction; } - type ConfigurationMergeFunction = (...configs: webpack.Configuration[]) => webpack.Configuration; + type ConfigurationMergeFunction = (...configs: Configuration[]) => Configuration; type ConfigurationMergeConfigFunction = (customizeOptions: CustomizeOptions) => ConfigurationMergeFunction; type MergeFunction = ConfigurationMergeFunction | ConfigurationMergeConfigFunction; type MergeStrategy = 'prepend' | 'append' | 'replace'; @@ -29,7 +29,7 @@ declare namespace webpackMerge { unique: UniqueFunction; smart: ConfigurationMergeFunction; multiple: ConfigurationMergeFunction; - strategy(options: {[field: string]: MergeStrategy}): ConfigurationMergeFunction; - smartStrategy(options: {[key: string]: MergeStrategy}): ConfigurationMergeFunction; + strategy(options: { [field: string]: MergeStrategy }): ConfigurationMergeFunction; + smartStrategy(options: { [key: string]: MergeStrategy }): ConfigurationMergeFunction; } } From c5f2ca04afffdf95d3366048741f65f4914a3d55 Mon Sep 17 00:00:00 2001 From: Daniel Herman Date: Mon, 12 Feb 2018 13:14:59 -0500 Subject: [PATCH 366/463] Support the single argument options only config API `Raven.config` supports calling it with only the configuration object if you'd like the DSN to be pulled from environment variables https://github.com/getsentry/raven-node/blob/6ce861f9f3fabdeba37013ff1d7dedc3eb6f7a80/lib/client.js#L44-L47 --- types/raven/index.d.ts | 1 + types/raven/raven-tests.ts | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/types/raven/index.d.ts b/types/raven/index.d.ts index eec1b00f2c..21aee49169 100644 --- a/types/raven/index.d.ts +++ b/types/raven/index.d.ts @@ -10,6 +10,7 @@ import { IncomingMessage, ServerResponse } from 'http'; import { EventEmitter } from 'events'; export const version: string; +export function config(options?: ConstructorOptions): Client; export function config(dsn?: string | false, options?: ConstructorOptions): Client; export function wrap(func: () => T): () => T; export function wrap(options: any, func: () => T): () => T; diff --git a/types/raven/raven-tests.ts b/types/raven/raven-tests.ts index 4d96e7eafa..71f9b54038 100644 --- a/types/raven/raven-tests.ts +++ b/types/raven/raven-tests.ts @@ -9,6 +9,10 @@ Raven.config(dsn, { autoBreadcrumbs: false, }); console.log(Raven.version); + +Raven.config({ + release: 'foobar' +}); Raven.config(dsn).install({ captureUnhandledRejections: true }); client.setContext({}); client.on('logged', () => { }); From 77994ea403d37a248320d92de4a27dd6fd0648d2 Mon Sep 17 00:00:00 2001 From: Shane Fitzpatrick Date: Mon, 12 Feb 2018 11:39:44 -0800 Subject: [PATCH 367/463] Add types for accessibility event handler parameters --- types/react-native/index.d.ts | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index ea56558e7f..832c8b50bf 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -6211,7 +6211,16 @@ export interface ShareStatic { dismissedAction: string; } -type AccessibilityChangeEventName = "change" | "announcementFinished"; +type AccessibilityEventName = "change" | "announcementFinished"; + +type AccessibilityChangeEvent = boolean; + +type AccessibilityAnnoucementFinishedEvent = { + announcement: string; + success: boolean +}; + +type AccessibilityEvent = AccessibilityChangeEvent | AccessibilityAnnoucementFinishedEvent; /** * @see https://facebook.github.io/react-native/docs/accessibilityinfo.html @@ -6234,12 +6243,12 @@ export interface AccessibilityInfoStatic { * - announcement: The string announced by the screen reader. * - success: A boolean indicating whether the announcement was successfully made. */ - addEventListener: (eventName: AccessibilityChangeEventName, handler: () => void) => void; + addEventListener: (eventName: AccessibilityEventName, handler: (event: AccessibilityEvent) => void) => void; /** * Remove an event handler. */ - removeEventListener: (eventName: AccessibilityChangeEventName, handler: () => void) => void; + removeEventListener: (eventName: AccessibilityEventName, handler: (event: AccessibilityEvent) => void) => void; /** * Set acessibility focus to a react component. From a25c336a5931d450dab423654eec3fc7837fee8a Mon Sep 17 00:00:00 2001 From: Kelvin Jin Date: Wed, 31 Jan 2018 14:34:58 -0800 Subject: [PATCH 368/463] [node] Update http2 definitions for 9.4 --- types/node/index.d.ts | 73 ++++++++++++++++++++-------------------- types/node/node-tests.ts | 43 +++++++++++------------ 2 files changed, 59 insertions(+), 57 deletions(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 38f043554b..ab3923e782 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -6181,15 +6181,12 @@ declare module "http2" { export interface Http2Stream extends stream.Duplex { readonly aborted: boolean; + close(code: number, callback?: () => void): void; + readonly closed: boolean; readonly destroyed: boolean; + readonly pending: boolean; priority(options: StreamPriorityOptions): void; readonly rstCode: number; - rstStream(code: number): void; - rstWithNoError(): void; - rstWithProtocolError(): void; - rstWithCancel(): void; - rstWithRefuse(): void; - rstWithInternalError(): void; readonly session: Http2Session; setTimeout(msecs: number, callback?: () => void): void; readonly state: StreamState; @@ -6321,8 +6318,8 @@ declare module "http2" { additionalHeaders(headers: OutgoingHttpHeaders): void; readonly headersSent: boolean; readonly pushAllowed: boolean; - pushStream(headers: OutgoingHttpHeaders, callback?: (pushStream: ServerHttp2Stream) => void): void; - pushStream(headers: OutgoingHttpHeaders, options?: StreamPriorityOptions, callback?: (pushStream: ServerHttp2Stream) => void): void; + pushStream(headers: OutgoingHttpHeaders, callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void): void; + pushStream(headers: OutgoingHttpHeaders, options?: StreamPriorityOptions, callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void): void; respond(headers?: OutgoingHttpHeaders, options?: ServerStreamResponseOptions): void; respondWithFD(fd: number, headers?: OutgoingHttpHeaders, options?: ServerStreamFileResponseOptions): void; respondWithFile(path: string, headers?: OutgoingHttpHeaders, options?: ServerStreamFileResponseOptionsWithError): void; @@ -6347,13 +6344,6 @@ declare module "http2" { getTrailers?: (trailers: OutgoingHttpHeaders, flags: number) => void; } - export interface SessionShutdownOptions { - graceful?: boolean; - errorCode?: number; - lastStreamID?: number; - opaqueData?: Buffer | Uint8Array; - } - export interface SessionState { effectiveLocalWindowSize?: number; effectiveRecvDataLength?: number; @@ -6367,20 +6357,26 @@ declare module "http2" { } export interface Http2Session extends events.EventEmitter { - destroy(): void; + readonly alpnProtocol?: string; + close(callback?: () => void): void; + readonly closed: boolean; + destroy(error?: Error, code?: number): void; readonly destroyed: boolean; + readonly encrypted?: boolean; + goaway(code?: number, lastStreamID?: number, opaqueData?: Buffer | DataView /*| TypedArray*/): void; readonly localSettings: Settings; + readonly originSet?: string[]; readonly pendingSettingsAck: boolean; + ref(): void; readonly remoteSettings: Settings; rstStream(stream: Http2Stream, code?: number): void; setTimeout(msecs: number, callback?: () => void): void; - shutdown(callback?: () => void): void; - shutdown(options: SessionShutdownOptions, callback?: () => void): void; readonly socket: net.Socket | tls.TLSSocket; readonly state: SessionState; priority(stream: Http2Stream, options: StreamPriorityOptions): void; settings(settings: Settings): void; readonly type: number; + unref(): void; addListener(event: string, listener: (...args: any[]) => void): this; addListener(event: "close", listener: () => void): this; @@ -6389,7 +6385,6 @@ declare module "http2" { addListener(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this; addListener(event: "localSettings", listener: (settings: Settings) => void): this; addListener(event: "remoteSettings", listener: (settings: Settings) => void): this; - addListener(event: "socketError", listener: (err: Error) => void): this; addListener(event: "timeout", listener: () => void): this; emit(event: string | symbol, ...args: any[]): boolean; @@ -6399,7 +6394,6 @@ declare module "http2" { emit(event: "goaway", errorCode: number, lastStreamID: number, opaqueData: Buffer): boolean; emit(event: "localSettings", settings: Settings): boolean; emit(event: "remoteSettings", settings: Settings): boolean; - emit(event: "socketError", err: Error): boolean; emit(event: "timeout"): boolean; on(event: string, listener: (...args: any[]) => void): this; @@ -6409,7 +6403,6 @@ declare module "http2" { on(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this; on(event: "localSettings", listener: (settings: Settings) => void): this; on(event: "remoteSettings", listener: (settings: Settings) => void): this; - on(event: "socketError", listener: (err: Error) => void): this; on(event: "timeout", listener: () => void): this; once(event: string, listener: (...args: any[]) => void): this; @@ -6419,7 +6412,6 @@ declare module "http2" { once(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this; once(event: "localSettings", listener: (settings: Settings) => void): this; once(event: "remoteSettings", listener: (settings: Settings) => void): this; - once(event: "socketError", listener: (err: Error) => void): this; once(event: "timeout", listener: () => void): this; prependListener(event: string, listener: (...args: any[]) => void): this; @@ -6429,7 +6421,6 @@ declare module "http2" { prependListener(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this; prependListener(event: "localSettings", listener: (settings: Settings) => void): this; prependListener(event: "remoteSettings", listener: (settings: Settings) => void): this; - prependListener(event: "socketError", listener: (err: Error) => void): this; prependListener(event: "timeout", listener: () => void): this; prependOnceListener(event: string, listener: (...args: any[]) => void): this; @@ -6439,7 +6430,6 @@ declare module "http2" { prependOnceListener(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this; prependOnceListener(event: "localSettings", listener: (settings: Settings) => void): this; prependOnceListener(event: "remoteSettings", listener: (settings: Settings) => void): this; - prependOnceListener(event: "socketError", listener: (err: Error) => void): this; prependOnceListener(event: "timeout", listener: () => void): this; } @@ -6447,31 +6437,42 @@ declare module "http2" { request(headers?: OutgoingHttpHeaders, options?: ClientSessionRequestOptions): ClientHttp2Stream; addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; addListener(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; addListener(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "altsvc", alt: string, origin: string, stream: number): boolean; emit(event: "connect", session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket): boolean; emit(event: "stream", stream: ClientHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; on(event: string, listener: (...args: any[]) => void): this; + on(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; on(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; on(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; once(event: string, listener: (...args: any[]) => void): this; + once(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; once(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; once(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; prependListener(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; prependListener(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; prependOnceListener(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; prependOnceListener(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; } + export interface AlternativeServiceOptions { + origin: number | string | url.URL; + } + export interface ServerHttp2Session extends Http2Session { + altsvc(alt: string, originOrStream: number | string | url.URL | AlternativeServiceOptions): void; readonly server: Http2Server | Http2SecureServer; addListener(event: string, listener: (...args: any[]) => void): this; @@ -6527,93 +6528,93 @@ declare module "http2" { export interface Http2Server extends net.Server { addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; addListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; addListener(event: "sessionError", listener: (err: Error) => void): this; - addListener(event: "socketError", listener: (err: Error) => void): this; addListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; addListener(event: "timeout", listener: () => void): this; emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "checkContinue", request: Http2ServerRequest, response: Http2ServerResponse): boolean; emit(event: "request", request: Http2ServerRequest, response: Http2ServerResponse): boolean; emit(event: "sessionError", err: Error): boolean; - emit(event: "socketError", err: Error): boolean; emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; emit(event: "timeout"): boolean; on(event: string, listener: (...args: any[]) => void): this; + on(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; on(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; on(event: "sessionError", listener: (err: Error) => void): this; - on(event: "socketError", listener: (err: Error) => void): this; on(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; on(event: "timeout", listener: () => void): this; once(event: string, listener: (...args: any[]) => void): this; + once(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; once(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; once(event: "sessionError", listener: (err: Error) => void): this; - once(event: "socketError", listener: (err: Error) => void): this; once(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; once(event: "timeout", listener: () => void): this; prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; prependListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; prependListener(event: "sessionError", listener: (err: Error) => void): this; - prependListener(event: "socketError", listener: (err: Error) => void): this; prependListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; prependListener(event: "timeout", listener: () => void): this; prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; prependOnceListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; prependOnceListener(event: "sessionError", listener: (err: Error) => void): this; - prependOnceListener(event: "socketError", listener: (err: Error) => void): this; prependOnceListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; prependOnceListener(event: "timeout", listener: () => void): this; } export interface Http2SecureServer extends tls.Server { addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; addListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; addListener(event: "sessionError", listener: (err: Error) => void): this; - addListener(event: "socketError", listener: (err: Error) => void): this; addListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; addListener(event: "timeout", listener: () => void): this; addListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "checkContinue", request: Http2ServerRequest, response: Http2ServerResponse): boolean; emit(event: "request", request: Http2ServerRequest, response: Http2ServerResponse): boolean; emit(event: "sessionError", err: Error): boolean; - emit(event: "socketError", err: Error): boolean; emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; emit(event: "timeout"): boolean; emit(event: "unknownProtocol", socket: tls.TLSSocket): boolean; on(event: string, listener: (...args: any[]) => void): this; + on(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; on(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; on(event: "sessionError", listener: (err: Error) => void): this; - on(event: "socketError", listener: (err: Error) => void): this; on(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; on(event: "timeout", listener: () => void): this; on(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; once(event: string, listener: (...args: any[]) => void): this; + once(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; once(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; once(event: "sessionError", listener: (err: Error) => void): this; - once(event: "socketError", listener: (err: Error) => void): this; once(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; once(event: "timeout", listener: () => void): this; once(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; prependListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; prependListener(event: "sessionError", listener: (err: Error) => void): this; - prependListener(event: "socketError", listener: (err: Error) => void): this; prependListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; prependListener(event: "timeout", listener: () => void): this; prependListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; prependOnceListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; prependOnceListener(event: "sessionError", listener: (err: Error) => void): this; - prependOnceListener(event: "socketError", listener: (err: Error) => void): this; prependOnceListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; prependOnceListener(event: "timeout", listener: () => void): this; prependOnceListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index dccde2db47..d04f358071 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -3373,16 +3373,22 @@ namespace http2_tests { http2Session.on('localSettings', (settings: http2.Settings) => {}); http2Session.on('remoteSettings', (settings: http2.Settings) => {}); http2Session.on('stream', (stream: http2.Http2Stream, headers: http2.IncomingHttpHeaders, flags: number) => {}); - http2Session.on('socketError', (err: Error) => {}); http2Session.on('timeout', () => {}); http2Session.destroy(); + let alpnProtocol: string = http2Session.alpnProtocol; let destroyed: boolean = http2Session.destroyed; + let encrypted: boolean = http2Session.encrypted; + let originSet: string[] = http2Session.originSet; let pendingSettingsAck: boolean = http2Session.pendingSettingsAck; let settings: http2.Settings = http2Session.localSettings; + let closed: boolean = http2Session.closed; settings = http2Session.remoteSettings; + http2Session.ref(); + http2Session.unref(); + let headers: http2.OutgoingHttpHeaders; let options: http2.ClientSessionRequestOptions = { endStream: true, @@ -3400,16 +3406,7 @@ namespace http2_tests { http2Session.rstStream(stream, 0); http2Session.setTimeout(100, () => {}); - - let shutdownOptions: http2.SessionShutdownOptions = { - graceful: true, - errorCode: 0, - lastStreamID: 0, - opaqueData: Buffer.from([]) - }; - shutdownOptions.opaqueData = Uint8Array.from([]); - http2Session.shutdown(shutdownOptions); - http2Session.shutdown(shutdownOptions, () => {}); + http2Session.close(() => {}); let socket: net.Socket | tls.TLSSocket = http2Session.socket; let state: http2.SessionState = http2Session.state; @@ -3448,7 +3445,9 @@ namespace http2_tests { http2Stream.on('trailers', (trailers: http2.IncomingHttpHeaders, flags: number) => {}); let aborted: boolean = http2Stream.aborted; + let closed: boolean = http2Stream.closed; let destroyed: boolean = http2Stream.destroyed; + let pending: boolean = http2Stream.pending; http2Stream.priority({ exclusive: true, @@ -3457,14 +3456,6 @@ namespace http2_tests { silent: true }); - let rstCode: number = http2Stream.rstCode; - http2Stream.rstStream(rstCode); - http2Stream.rstWithNoError(); - http2Stream.rstWithProtocolError(); - http2Stream.rstWithCancel(); - http2Stream.rstWithRefuse(); - http2Stream.rstWithInternalError(); - let sesh: http2.Http2Session = http2Stream.session; http2Stream.setTimeout(100, () => {}); @@ -3492,7 +3483,7 @@ namespace http2_tests { serverHttp2Stream.additionalHeaders(headers); let headerSent: boolean = serverHttp2Stream.headersSent; let pushAllowed: boolean = serverHttp2Stream.pushAllowed; - serverHttp2Stream.pushStream(headers, (pushStream: http2.ServerHttp2Stream) => {}); + serverHttp2Stream.pushStream(headers, (err: Error | null, pushStream: http2.ServerHttp2Stream, headers: http2.OutgoingHttpHeaders) => {}); let options: http2.ServerStreamResponseOptions = { endStream: true, @@ -3533,7 +3524,7 @@ namespace http2_tests { let s2: tls.Server = http2SecureServer; [http2Server, http2SecureServer].forEach((server) => { server.on('sessionError', (err: Error) => {}); - server.on('socketError', (err: Error) => {}); + server.on('checkContinue', (stream: http2.ServerHttp2Stream, headers: http2.IncomingHttpHeaders, flags: number) => {}); server.on('stream', (stream: http2.ServerHttp2Stream, headers: http2.IncomingHttpHeaders, flags: number) => {}); server.on('request', (request: http2.Http2ServerRequest, response: http2.Http2ServerResponse) => {}); server.on('timeout', () => {}); @@ -3658,6 +3649,15 @@ namespace http2_tests { secureClientSessionOptions.ca = ''; let onConnectHandler = (session: http2.Http2Session, socket: net.Socket) => {}; + let serverHttp2Session: http2.ServerHttp2Session; + + serverHttp2Session.altsvc('', ''); + serverHttp2Session.altsvc('', 0); + serverHttp2Session.altsvc('', new url.URL('')); + serverHttp2Session.altsvc('', { origin: '' }); + serverHttp2Session.altsvc('', { origin: 0 }); + serverHttp2Session.altsvc('', { origin: new url.URL('') }); + let clientHttp2Session: http2.ClientHttp2Session; clientHttp2Session = http2.connect(''); @@ -3666,6 +3666,7 @@ namespace http2_tests { clientHttp2Session = http2.connect('', clientSessionOptions, onConnectHandler); clientHttp2Session = http2.connect('', secureClientSessionOptions); clientHttp2Session = http2.connect('', secureClientSessionOptions, onConnectHandler); + clientHttp2Session.on('altsvc', (alt: string, origin: string, number: number) => {}); settings = http2.getDefaultSettings(); settings = http2.getPackedSettings(settings); From 2ba21bfe154fac6c4613241ab30b361a414e7c73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Bezr=C4=85k?= Date: Tue, 13 Feb 2018 00:27:05 +0100 Subject: [PATCH 369/463] react-big-calendar: update typings * export BigCalendarProps * fix Messages interface * change order of arguments in onNavigate() function * ensure noImplicitThis and strictNullChecks options --- types/react-big-calendar/index.d.ts | 168 +++++++++--------- .../react-big-calendar-tests.tsx | 84 ++++----- types/react-big-calendar/tsconfig.json | 4 +- 3 files changed, 130 insertions(+), 126 deletions(-) diff --git a/types/react-big-calendar/index.d.ts b/types/react-big-calendar/index.d.ts index 20cf2e1513..f40e10ffce 100644 --- a/types/react-big-calendar/index.d.ts +++ b/types/react-big-calendar/index.d.ts @@ -1,7 +1,8 @@ -// Type definitions for react-big-calendar 0.17.0 +// Type definitions for react-big-calendar 0.18.0 // Project: https://github.com/intljusticemission/react-big-calendar // Definitions by: Piotr Witek // Austin Turner +// Krzysztof Bezrąk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.6 @@ -12,75 +13,75 @@ declare module 'react-big-calendar' { export type View = 'month' | 'week' | 'work_week' | 'day' | 'agenda'; export type Navigate = 'PREV' | 'NEXT' | 'TODAY' | 'DATE'; export interface Format { - /** - * Format for the day of the month heading in the Month view. - * e.g. "01", "02", "03", etc - */ - dateFormat?: string, + /** + * Format for the day of the month heading in the Month view. + * e.g. "01", "02", "03", etc + */ + dateFormat?: string, - /** - * A day of the week format for Week and Day headings, - * e.g. "Wed 01/04" - * - */ - dayFormat?: string, + /** + * A day of the week format for Week and Day headings, + * e.g. "Wed 01/04" + * + */ + dayFormat?: string, - /** - * Week day name format for the Month week day headings, - * e.g: "Sun", "Mon", "Tue", etc - * - */ - weekdayFormat?: string, + /** + * Week day name format for the Month week day headings, + * e.g: "Sun", "Mon", "Tue", etc + * + */ + weekdayFormat?: string, - /** - * The timestamp cell formats in Week and Time views, e.g. "4:00 AM" - */ - timeGutterFormat?: string, + /** + * The timestamp cell formats in Week and Time views, e.g. "4:00 AM" + */ + timeGutterFormat?: string, - /** - * Toolbar header format for the Month view, e.g "2015 April" - * - */ - monthHeaderFormat?: string, + /** + * Toolbar header format for the Month view, e.g "2015 April" + * + */ + monthHeaderFormat?: string, - /** - * Toolbar header format for the Week views, e.g. "Mar 29 - Apr 04" - */ - dayRangeHeaderFormat?: string, + /** + * Toolbar header format for the Week views, e.g. "Mar 29 - Apr 04" + */ + dayRangeHeaderFormat?: string, - /** - * Toolbar header format for the Day view, e.g. "Wednesday Apr 01" - */ - dayHeaderFormat?: string, + /** + * Toolbar header format for the Day view, e.g. "Wednesday Apr 01" + */ + dayHeaderFormat?: string, - /** - * Toolbar header format for the Agenda view, e.g. "4/1/2015 — 5/1/2015" - */ - agendaHeaderFormat?: string, + /** + * Toolbar header format for the Agenda view, e.g. "4/1/2015 — 5/1/2015" + */ + agendaHeaderFormat?: string, - /** - * A time range format for selecting time slots, e.g "8:00am — 2:00pm" - */ - selectRangeFormat?: string, + /** + * A time range format for selecting time slots, e.g "8:00am — 2:00pm" + */ + selectRangeFormat?: string, - agendaDateFormat?: string, - agendaTimeFormat?: string, - agendaTimeRangeFormat?: string, + agendaDateFormat?: string, + agendaTimeFormat?: string, + agendaTimeRangeFormat?: string, - /** - * Time range displayed on events. - */ - eventTimeRangeFormat?: string, + /** + * Time range displayed on events. + */ + eventTimeRangeFormat?: string, - /** - * An optional event time range for events that continue onto another day - */ - eventTimeRangeStartFormat?: string, + /** + * An optional event time range for events that continue onto another day + */ + eventTimeRangeStartFormat?: string, - /** - * An optional event time range for events that continue from another day - */ - eventTimeRangeEndFormat?: string, + /** + * An optional event time range for events that continue from another day + */ + eventTimeRangeEndFormat?: string, } export interface Components { @@ -90,46 +91,49 @@ declare module 'react-big-calendar' { dateCellWrapper?: React.SFC | React.Component | React.ComponentClass | JSX.Element, toolbar?: React.SFC | React.Component | React.ComponentClass | JSX.Element, agenda?: { - date?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - time?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - event?: React.SFC | React.Component | React.ComponentClass | JSX.Element, + date?: React.SFC | React.Component | React.ComponentClass | JSX.Element, + time?: React.SFC | React.Component | React.ComponentClass | JSX.Element, + event?: React.SFC | React.Component | React.ComponentClass | JSX.Element, }, day?: { - header?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - event?: React.SFC | React.Component | React.ComponentClass | JSX.Element, + header?: React.SFC | React.Component | React.ComponentClass | JSX.Element, + event?: React.SFC | React.Component | React.ComponentClass | JSX.Element, }, week?: { - header?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - event?: React.SFC | React.Component | React.ComponentClass | JSX.Element, + header?: React.SFC | React.Component | React.ComponentClass | JSX.Element, + event?: React.SFC | React.Component | React.ComponentClass | JSX.Element, }, month?: { - header?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - dateHeader?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - event?: React.SFC | React.Component | React.ComponentClass | JSX.Element, + header?: React.SFC | React.Component | React.ComponentClass | JSX.Element, + dateHeader?: React.SFC | React.Component | React.ComponentClass | JSX.Element, + event?: React.SFC | React.Component | React.ComponentClass | JSX.Element, }, } export interface Messages { - allDay?: string; - previous?: string; - next?: string; - today?: string; - month?: string; - week?: string; - day?: string; - agenda?: string; - date?: string; - time?: string; - event?: string; - showMore?: string; + date?: string, + time?: string, + event?: string, + allDay?: string, + week?: string, + work_week?: string, + day?: string, + month?: string, + previous?: string, + next?: string, + yesterday?: string, + tomorrow?: string, + today?: string, + agenda?: string, + showMore?: (count: number) => string; } - interface BigCalendarProps extends React.Props { + export interface BigCalendarProps extends React.Props { date?: stringOrDate; now?: Date; view?: View; events?: Object[]; - onNavigate?: (action: Navigate, newDate: Date) => void; + onNavigate?: (newDate: Date, action: Navigate) => void; onView?: (view: View) => void; onDrillDown?: (date: Date, view: View) => void; onSelectSlot?: (slotInfo: { start: stringOrDate, end: stringOrDate, slots: Date[] | string[], action: 'select' | 'click' | 'doubleClick' }) => void; diff --git a/types/react-big-calendar/react-big-calendar-tests.tsx b/types/react-big-calendar/react-big-calendar-tests.tsx index 16ea44d859..f963ca4148 100644 --- a/types/react-big-calendar/react-big-calendar-tests.tsx +++ b/types/react-big-calendar/react-big-calendar-tests.tsx @@ -1,7 +1,7 @@ import * as React from "react"; import * as ReactDOM from "react-dom"; import * as ReactDOMServer from "react-dom/server"; -import BigCalendar, { Navigate, View } from "react-big-calendar"; +import BigCalendar, { BigCalendarProps, Navigate, View } from "react-big-calendar"; // Don't want to add this as a dependency, because it is only used for tests. declare const moment: any; @@ -45,7 +45,7 @@ console.log('Test Results -> BasicExample', basicExampleHtml); // Full API Example Test - based on API Documentation // http://intljusticemission.github.io/react-big-calendar/examples/index.html#api -class FullAPIExample extends React.Component { +class FullAPIExample extends React.Component { render() { return ( { date={new Date()} view={'day'} events={getEvents()} - onNavigate={(action: Navigate, newDate: Date) => { } } - onView={(view: View) => { } } + onNavigate={(newDate: Date, action: Navigate) => { }} + onView={(view: View) => { }} onSelectSlot={(slotInfo) => { const start = slotInfo.start; const end = slotInfo.end; const slots = slotInfo.slots; - } } - onSelectEvent={(event) => { } } + }} + onSelectEvent={(event) => { }} onSelecting={(slotInfo) => { const start = slotInfo.start; const end = slotInfo.end; return true; - } } + }} views={['day']} toolbar={true} popup={true} @@ -73,7 +73,7 @@ class FullAPIExample extends React.Component { selectable={true} step={20} rtl={true} - eventPropGetter={(event, start, end, isSelected) => ({ className: 'some-class' }) } + eventPropGetter={(event, start, end, isSelected) => ({ className: 'some-class' })} titleAccessor={'title'} allDayAccessor={(event: any) => !!event.allDay} startAccessor={'start'} @@ -86,7 +86,7 @@ class FullAPIExample extends React.Component { timeslots={24} defaultView={'month'} className={'my-calendar'} - elementProps={{id: 'myCalendar'}} + elementProps={{ id: 'myCalendar' }} components={{ event: Event, agenda: { @@ -113,51 +113,51 @@ function getEvents(): CalendarEvent[] { new CalendarEvent('DTS ENDS', new Date(2016, 10, 6, 0, 0, 0), new Date(2016, 10, 13, 0, 0, 0)), new CalendarEvent('Some Event', new Date(2015, 3, 9, 0, 0, 0), new Date(2015, 3, 9, 0, 0, 0)), new CalendarEvent('Conference', new Date(2015, 3, 11), new Date(2015, 3, 13), undefined, 'Big conference for important people'), - new CalendarEvent('Meeting', new Date(2015, 3, 12, 10, 30, 0, 0),new Date(2015, 3, 12, 12, 30, 0, 0), undefined, 'Pre-meeting meeting, to prepare for the meeting'), - new CalendarEvent('Lunch', new Date(2015, 3, 12, 12, 0, 0, 0),new Date(2015, 3, 12, 13, 0, 0, 0), undefined, 'Power lunch'), - new CalendarEvent('Meeting', new Date(2015, 3, 12, 14, 0, 0, 0),new Date(2015, 3, 12, 15, 0, 0, 0)), - new CalendarEvent('Happy Hour', new Date(2015, 3, 12, 17, 0, 0, 0),new Date(2015, 3, 12, 17, 30, 0, 0),undefined,'Most important meal of the day'), - new CalendarEvent('Dinner', new Date(2015, 3, 12, 20, 0, 0, 0),new Date(2015, 3, 12, 21, 0, 0, 0)), - new CalendarEvent('Birthday Party', new Date(2015, 3, 13, 7, 0, 0),new Date(2015, 3, 13, 10, 30, 0)), + new CalendarEvent('Meeting', new Date(2015, 3, 12, 10, 30, 0, 0), new Date(2015, 3, 12, 12, 30, 0, 0), undefined, 'Pre-meeting meeting, to prepare for the meeting'), + new CalendarEvent('Lunch', new Date(2015, 3, 12, 12, 0, 0, 0), new Date(2015, 3, 12, 13, 0, 0, 0), undefined, 'Power lunch'), + new CalendarEvent('Meeting', new Date(2015, 3, 12, 14, 0, 0, 0), new Date(2015, 3, 12, 15, 0, 0, 0)), + new CalendarEvent('Happy Hour', new Date(2015, 3, 12, 17, 0, 0, 0), new Date(2015, 3, 12, 17, 30, 0, 0), undefined, 'Most important meal of the day'), + new CalendarEvent('Dinner', new Date(2015, 3, 12, 20, 0, 0, 0), new Date(2015, 3, 12, 21, 0, 0, 0)), + new CalendarEvent('Birthday Party', new Date(2015, 3, 13, 7, 0, 0), new Date(2015, 3, 13, 10, 30, 0)), ]; return events; }; - class EventAgenda extends React.Component { +class EventAgenda extends React.Component { render() { - // const { label } = this.props; - return ( -

-
Calendar Events
-
- ); + // const { label } = this.props; + return ( +
+
Calendar Events
+
+ ); } - } +} - const customDayPropGetter = (date: Date) => { +const customDayPropGetter = (date: Date) => { if (date.getDate() === 7 || date.getDate() === 15) - return { - className: 'special-day', - style: { - border: 'solid 3px ' + (date.getDate() === 7 ? '#faa' : '#afa'), - }, - } + return { + className: 'special-day', + style: { + border: 'solid 3px ' + (date.getDate() === 7 ? '#faa' : '#afa'), + }, + } else return {} - } +} - const customSlotPropGetter = (date: Date) => { +const customSlotPropGetter = (date: Date) => { if (date.getDate() === 7 || date.getDate() === 15) - return { - className: 'special-day', - } + return { + className: 'special-day', + } else return {} - } +} - function Event(event: any) { +function Event(event: any) { return ( - - {event.title} - {event.desc && ': ' + event.desc} - + + {event.title} + {event.desc && ': ' + event.desc} + ) - } +} diff --git a/types/react-big-calendar/tsconfig.json b/types/react-big-calendar/tsconfig.json index 99826b4502..82b6819d01 100644 --- a/types/react-big-calendar/tsconfig.json +++ b/types/react-big-calendar/tsconfig.json @@ -6,8 +6,8 @@ "dom" ], "noImplicitAny": true, - "noImplicitThis": false, - "strictNullChecks": false, + "noImplicitThis": true, + "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ From 8678f67f56327795cea91adbe0e0c85d7b6eb498 Mon Sep 17 00:00:00 2001 From: Claudia Hardman Date: Mon, 12 Feb 2018 20:39:47 -0500 Subject: [PATCH 370/463] Add optional options param to Cucumber defineStep As Given, When, and Then are all aliases to defineStep, then defineStep should also follow the same signature. --- types/cucumber/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/cucumber/index.d.ts b/types/cucumber/index.d.ts index c222ad567a..d0fc9085fd 100644 --- a/types/cucumber/index.d.ts +++ b/types/cucumber/index.d.ts @@ -60,6 +60,7 @@ export function BeforeAll(options: HookOptions | string, code: GlobalHookCode): export function defineParameterType(transform: Transform): void; export function defineStep(pattern: RegExp | string, code: StepDefinitionCode): void; +export function defineStep(pattern: RegExp | string, options: StepDefinitionOptions, code: StepDefinitionCode): void; export function Given(pattern: RegExp | string, code: StepDefinitionCode): void; export function Given(pattern: RegExp | string, options: StepDefinitionOptions, code: StepDefinitionCode): void; From cdccb48a5887318cd2970c2eec7fb0b2f07e4f30 Mon Sep 17 00:00:00 2001 From: Pierre-Marc Airoldi Date: Mon, 12 Feb 2018 20:31:22 -0500 Subject: [PATCH 371/463] Add typing for is-hotkey library --- types/is-hotkey/index.d.ts | 58 ++++++++++++++++++++++++++++++ types/is-hotkey/is-hotkey-tests.ts | 32 +++++++++++++++++ types/is-hotkey/tsconfig.json | 25 +++++++++++++ types/is-hotkey/tslint.json | 1 + 4 files changed, 116 insertions(+) create mode 100644 types/is-hotkey/index.d.ts create mode 100644 types/is-hotkey/is-hotkey-tests.ts create mode 100644 types/is-hotkey/tsconfig.json create mode 100644 types/is-hotkey/tslint.json diff --git a/types/is-hotkey/index.d.ts b/types/is-hotkey/index.d.ts new file mode 100644 index 0000000000..a41521fcc1 --- /dev/null +++ b/types/is-hotkey/index.d.ts @@ -0,0 +1,58 @@ +// Type definitions for is-hotkey 0.1 +// Project: https://github.com/ianstormtaylor/is-hotkey#readme +// Definitions by: Pierre-Marc Airoldi +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +export interface HotKeyOptions { + byKey: boolean; +} + +export interface HotKey { + which?: number; + key?: string; + altKey: boolean; + ctrlKey: boolean; + metaKey: boolean; + shiftKey: boolean; +} + +/** + * Is hotkey? + */ +export function isHotkey( + hotkey: string, + options?: HotKeyOptions +): (event: KeyboardEvent) => boolean; + +export function isHotkey( + hotkey: string, + options?: HotKeyOptions | KeyboardEvent, + event?: KeyboardEvent +): boolean; + +export function isCodeHotkey(hotkey: string): (event: KeyboardEvent) => boolean; +export function isCodeHotkey(hotkey: string, event: KeyboardEvent): boolean; + +export function isKeyHotkey(hotkey: string): (event: KeyboardEvent) => boolean; +export function isKeyHotkey(hotkey: string, event: KeyboardEvent): boolean; + +/** + * Parse. + */ +export function parseHotkey(hotkey: string, options?: HotKeyOptions): HotKey; + +/** + * Compare. + */ +export function compareHotkey(object: HotKey, event: KeyboardEvent): boolean; + +/** + * Utils. + */ +export function toKeyCode(name: string): number; +export function toKeyName(name: string): string; + +/** + * Export. + */ +export default isHotkey; diff --git a/types/is-hotkey/is-hotkey-tests.ts b/types/is-hotkey/is-hotkey-tests.ts new file mode 100644 index 0000000000..6973d87de6 --- /dev/null +++ b/types/is-hotkey/is-hotkey-tests.ts @@ -0,0 +1,32 @@ +import { + isHotkey, + isCodeHotkey, + isKeyHotkey, + toKeyName, + toKeyCode, + parseHotkey, + compareHotkey +} from "is-hotkey"; + +const event = new KeyboardEvent(""); + +isHotkey("mod+s")(event); // $ExpectType boolean +isHotkey("mod+s", { byKey: true })(event); // $ExpectType boolean + +isHotkey("mod+s", event); // $ExpectType boolean +isHotkey("mod+s", { byKey: true }, event); // $ExpectType boolean + +isCodeHotkey("mod+s")(event); // $ExpectType boolean +isKeyHotkey("mod+s")(event); // $ExpectType boolean + +isCodeHotkey("mod+s", event); // $ExpectType boolean +isKeyHotkey("mod+s", event); // $ExpectType boolean + +toKeyName("cmd"); // $ExpectType string + +toKeyCode("shift"); // $ExpectType number + +parseHotkey("cmd+s"); // $ExpectType HotKey +parseHotkey("cmd+s", { byKey: true }); // $ExpectType HotKey + +compareHotkey(parseHotkey("cmd+s"), event); // $ExpectType boolean diff --git a/types/is-hotkey/tsconfig.json b/types/is-hotkey/tsconfig.json new file mode 100644 index 0000000000..df8e256f29 --- /dev/null +++ b/types/is-hotkey/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "is-hotkey-tests.ts" + ] +} diff --git a/types/is-hotkey/tslint.json b/types/is-hotkey/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/is-hotkey/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 37e3bf20ea2f25e3e70d39fcc2f12c4b9ed5152e Mon Sep 17 00:00:00 2001 From: Kael Date: Tue, 13 Feb 2018 14:46:32 +1100 Subject: [PATCH 372/463] SpotLightShadow uses PerspectiveCamera --- types/three/three-core.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index 3982ab5305..f4a04bc1c0 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -2056,6 +2056,7 @@ export class SpotLight extends Light { } export class SpotLightShadow extends LightShadow { + camera: PerspectiveCamera; update(light: Light): void; } From b660c2f3bb3772657f8c22cebaf7369454325e4e Mon Sep 17 00:00:00 2001 From: AndersonFriaca Date: Tue, 13 Feb 2018 01:25:40 -0300 Subject: [PATCH 373/463] Types for bootstrap-3-typeahead --- .../bootstrap-3-typeahead-tests.ts | 19 ++++ types/bootstrap-3-typeahead/index.d.ts | 107 ++++++++++++++++++ types/bootstrap-3-typeahead/tsconfig.json | 25 ++++ types/bootstrap-3-typeahead/tslint.json | 1 + 4 files changed, 152 insertions(+) create mode 100644 types/bootstrap-3-typeahead/bootstrap-3-typeahead-tests.ts create mode 100644 types/bootstrap-3-typeahead/index.d.ts create mode 100644 types/bootstrap-3-typeahead/tsconfig.json create mode 100644 types/bootstrap-3-typeahead/tslint.json diff --git a/types/bootstrap-3-typeahead/bootstrap-3-typeahead-tests.ts b/types/bootstrap-3-typeahead/bootstrap-3-typeahead-tests.ts new file mode 100644 index 0000000000..0106ee2db3 --- /dev/null +++ b/types/bootstrap-3-typeahead/bootstrap-3-typeahead-tests.ts @@ -0,0 +1,19 @@ +$(document).ready(() => { + // basic usage + $('#typeahead').typeahead(); + $('#typeahead').typeahead('lookup'); + $('#typeahead').typeahead('lookup', 'Display name 1'); + $('#typeahead').typeahead('getActive'); + $('#typeahead').typeahead('destroy'); + + // with options example + const options: Bootstrap3Typeahead.Options = { + source: [ + {id: 'someId1', name: 'Display name 1'}, + {id: 'someId2', name: 'Display name 2'} + ], + autoSelect: true + }; + + $('#typeahead').typeahead(options); +}); diff --git a/types/bootstrap-3-typeahead/index.d.ts b/types/bootstrap-3-typeahead/index.d.ts new file mode 100644 index 0000000000..98d7eee664 --- /dev/null +++ b/types/bootstrap-3-typeahead/index.d.ts @@ -0,0 +1,107 @@ +// Type definitions for Bootstrap 3 Typeahead 4.0 +// Project: https://github.com/bassjobsen/Bootstrap-3-Typeahead +// Definitions by: Anderson Friaça +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +/// + +declare namespace Bootstrap3Typeahead { + interface Options { + /** + * The data source to query against + */ + source?: string[] | object[] | ((query?: string, process?: ((callback: any) => string|string[]|object[])) => void); + + /** + * The max number of items to display in the dropdown + */ + items?: number; + + /** + * The minimum character length needed before triggering autocomplete suggestions + */ + minLength?: number; + + /** + * If hints should be shown as soon as the input gets focus + */ + showHintOnFocus?: boolean | 'all'; + + /** + * Number of pixels the scrollable parent container scrolled down + */ + scrollHeight?: number | (() => number); + + /** + * The method used to determine if a query matches an item + */ + matcher?: (item: string) => boolean; + + /** + * Method used to sort autocomplete results + */ + sorter?: (items: string[]) => string[]; + + /** + * The method used to return selected item + */ + updater?: (item: string) => string; + + /** + * Method used to highlight autocomplete results + */ + highlighter?: (item: string) => string; + + /** + * Method used to get textual representation of an item of the sources + */ + displayText?: (item: string|{name: string}) => string; + + /** + * Allows you to dictate whether or not the first suggestion is selected automatically + */ + autoSelect?: boolean; + + /** + * Call back function to execute after selected an item + */ + afterSelect?: (item: string) => void; + + /** + * Adds a delay between lookups + */ + delay?: number; + + /** + * Use this option to add the menu to another div + */ + appendTo?: JQuery; + + /** + * Set to true if you want the menu to be the same size than the input it is attached to + */ + fitToElement?: boolean; + + /** + * Adds an item to the end of the list + */ + addItem?: object; + } +} +interface JQuery { + /** + * Initialize or destroy Typeahead + */ + typeahead(methodOrOptions?: 'destroy' | Bootstrap3Typeahead.Options): JQuery; + + /** + * To get the currently active item + */ + typeahead(method: 'getActive'): undefined|string|object; + + /** + * To trigger the lookup function externally + */ + typeahead(method: 'lookup', defaultValue?: string): JQuery; +} diff --git a/types/bootstrap-3-typeahead/tsconfig.json b/types/bootstrap-3-typeahead/tsconfig.json new file mode 100644 index 0000000000..d8226518b8 --- /dev/null +++ b/types/bootstrap-3-typeahead/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "bootstrap-3-typeahead-tests.ts" + ] +} \ No newline at end of file diff --git a/types/bootstrap-3-typeahead/tslint.json b/types/bootstrap-3-typeahead/tslint.json new file mode 100644 index 0000000000..4e88071852 --- /dev/null +++ b/types/bootstrap-3-typeahead/tslint.json @@ -0,0 +1 @@ +{"extends": "dtslint/dt.json"} From 242fcd3080c74d4b1015f7a94c6a63a9928052f0 Mon Sep 17 00:00:00 2001 From: Michael Blaszczyk <2231370+Blasz@users.noreply.github.com> Date: Tue, 13 Feb 2018 17:18:06 +1100 Subject: [PATCH 374/463] React: Add crossOrigin attribute to ImgHTMLAttributes interface (#23587) --- types/react/index.d.ts | 1 + types/react/v15/index.d.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/types/react/index.d.ts b/types/react/index.d.ts index e319c921bd..93b143b7bf 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -2913,6 +2913,7 @@ declare namespace React { interface ImgHTMLAttributes extends HTMLAttributes { alt?: string; + crossOrigin?: "anonymous" | "use-credentials" | ""; height?: number | string; sizes?: string; src?: string; diff --git a/types/react/v15/index.d.ts b/types/react/v15/index.d.ts index c8700780ce..534d92de29 100644 --- a/types/react/v15/index.d.ts +++ b/types/react/v15/index.d.ts @@ -2856,6 +2856,7 @@ declare namespace React { interface ImgHTMLAttributes extends HTMLAttributes { alt?: string; + crossOrigin?: "anonymous" | "use-credentials" | ""; height?: number | string; sizes?: string; src?: string; From 072e0259e71925b0fbcdba97bddf13f8802a096b Mon Sep 17 00:00:00 2001 From: Tomas Carnecky Date: Tue, 13 Feb 2018 07:33:33 +0100 Subject: [PATCH 375/463] Catalog: ReactSpecimen supports a 'sourceText' prop Also update version to 3.2, which is what we claim compatibility with. --- types/catalog/catalog-tests.tsx | 2 +- types/catalog/index.d.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/types/catalog/catalog-tests.tsx b/types/catalog/catalog-tests.tsx index c77c0c1667..37a87540d1 100644 --- a/types/catalog/catalog-tests.tsx +++ b/types/catalog/catalog-tests.tsx @@ -36,7 +36,7 @@ render(config, document.body); markdown` # Test -${ +${
} `; diff --git a/types/catalog/index.d.ts b/types/catalog/index.d.ts index a9b4220f00..3476e86641 100644 --- a/types/catalog/index.d.ts +++ b/types/catalog/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for catalog 2.1 +// Type definitions for catalog 3.2 // Project: https://github.com/interactivethings/catalog/ // Definitions by: Peter Gassner , Tomas Carnecky // Definitions: https://github.com/interactivethings/catalog/ @@ -100,6 +100,7 @@ export interface ReactSpecimenProps extends DefaultCatalogProps { frame?: boolean; state?: any; responsive?: boolean | string | string[]; + sourceText?: string; } export class ReactSpecimen extends React.Component {} From 320ff9a08dd1d2296294d2c7d5bdb8abba90c5a3 Mon Sep 17 00:00:00 2001 From: Klaus Meinhardt Date: Tue, 13 Feb 2018 09:08:43 +0100 Subject: [PATCH 376/463] fix link --- types/npm-packlist/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/npm-packlist/index.d.ts b/types/npm-packlist/index.d.ts index 88a0f82fa4..934d2f8967 100644 --- a/types/npm-packlist/index.d.ts +++ b/types/npm-packlist/index.d.ts @@ -1,5 +1,5 @@ // Type definitions for npm-packlist 1.1 -// Project: https://www.npmjs.com/package/npm-packlist +// Project: https://github.com/npm/npm-packlist // Definitions by: Klaus Meinhardt // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 From 45add58c66b75faa082f25fba6819d091f58ec01 Mon Sep 17 00:00:00 2001 From: Marcin Biernat Date: Thu, 8 Feb 2018 15:35:42 +0100 Subject: [PATCH 377/463] Ramda defaultTo does not return null or undefined --- types/ramda/index.d.ts | 4 ++-- types/ramda/ramda-tests.ts | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/types/ramda/index.d.ts b/types/ramda/index.d.ts index 454d6c49fe..108a12bf0e 100644 --- a/types/ramda/index.d.ts +++ b/types/ramda/index.d.ts @@ -474,8 +474,8 @@ declare namespace R { * Returns the second argument if it is not null or undefined. If it is null or undefined, the * first (default) argument is returned. */ - defaultTo(a: T, b: U): T | U; - defaultTo(a: T): (b: U) => T | U; + defaultTo(a: T, b: U | null | undefined): T | U; + defaultTo(a: T): (b: U | null | undefined) => T | U; /** * Makes a descending comparator function out of a function that returns a value that can be compared with < and >. diff --git a/types/ramda/ramda-tests.ts b/types/ramda/ramda-tests.ts index 4a56aea788..eacb4558e3 100644 --- a/types/ramda/ramda-tests.ts +++ b/types/ramda/ramda-tests.ts @@ -2249,6 +2249,12 @@ class Rectangle { defaultTo42(null); // => 42 defaultTo42(undefined); // => 42 defaultTo42("Ramda"); // => 'Ramda' + + const valueOrUndefined = 2 as number | undefined; + defaultTo42(valueOrUndefined) - 2; // => 0 + + const valueOrNull = 2 as number | null; + defaultTo42(valueOrNull) - 2; // => 0 }; () => { From 109a370b4305d7e547cfc24878e7e2e74c172310 Mon Sep 17 00:00:00 2001 From: Madara Uchiha Date: Tue, 13 Feb 2018 11:04:42 +0200 Subject: [PATCH 378/463] Add parseUrl function from 5.1.0 --- types/query-string/index.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/query-string/index.d.ts b/types/query-string/index.d.ts index e7f51453eb..d9d58b2555 100644 --- a/types/query-string/index.d.ts +++ b/types/query-string/index.d.ts @@ -3,6 +3,7 @@ // Definitions by: Sam Verschueren // Tanguy Krotoff // HuHuanming +// Madara Uchiha // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 @@ -16,6 +17,8 @@ export interface ParseOptions { */ export function parse(str: string, options?: ParseOptions): any; +export function parseUrl(str: string, options?: ParseOptions): {url: string, query: any}; + export interface StringifyOptions { strict?: boolean; encode?: boolean; From 8d4b06c9990a779079019e668642c3cb94fdc420 Mon Sep 17 00:00:00 2001 From: Madara Uchiha Date: Tue, 13 Feb 2018 11:11:47 +0200 Subject: [PATCH 379/463] Also change definition version. --- types/query-string/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/query-string/index.d.ts b/types/query-string/index.d.ts index d9d58b2555..db823e67d2 100644 --- a/types/query-string/index.d.ts +++ b/types/query-string/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for query-string 5.0 +// Type definitions for query-string 5.1 // Project: https://github.com/sindresorhus/query-string // Definitions by: Sam Verschueren // Tanguy Krotoff From 98857fe50ce5adfc6847385f983ec04a63321f36 Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Tue, 13 Feb 2018 11:15:58 +0200 Subject: [PATCH 380/463] Minor jsDoc fixes --- types/activex-scripting/index.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/types/activex-scripting/index.d.ts b/types/activex-scripting/index.d.ts index 5dd5bf8fec..7e19b4bff8 100644 --- a/types/activex-scripting/index.d.ts +++ b/types/activex-scripting/index.d.ts @@ -174,7 +174,7 @@ declare namespace Scripting { /** * Delete this file - * @param boolean [Force=false] + * @param boolean [Force=false] Pass `true` to delete the file even if the read-only attribute is set */ Delete(Force?: boolean): void; @@ -251,13 +251,13 @@ declare namespace Scripting { /** * Delete a file - * @param boolean [Force=false] + * @param boolean [Force=false] Pass `true` to also delete files with the read-only attribute set */ DeleteFile(FileSpec: string, Force?: boolean): void; /** * Delete a folder - * @param boolean [Force=false] + * @param boolean [Force=false] Pass `true` to also delete folders with the read-only attribute set */ DeleteFolder(FolderSpec: string, Force?: boolean): void; @@ -325,7 +325,7 @@ declare namespace Scripting { * Open a file as a TextStream * @param Scripting.IOMode [IOMode=1] * @param boolean [Create=false] - * @param Scripting.Tristate [Format=0] + * @param Scripting.Tristate [Format=0] **TristateTrue** opens the file as Unicode; **TristateFalse** opens the file as ASCII; **TristateUseDefault** opens the file with the system default */ OpenTextFile(FileName: string, IOMode?: IOMode, Create?: boolean, Format?: Tristate): TextStream; } @@ -359,7 +359,7 @@ declare namespace Scripting { /** * Delete this folder - * @param boolean [Force=false] + * @param boolean [Force=false] Pass `true` to delete the folder even if the read-only attribute set */ Delete(Force?: boolean): void; From 0f5c3a07388a0131bae9547a356ba5dd91067fda Mon Sep 17 00:00:00 2001 From: DannyBoyNg Date: Tue, 13 Feb 2018 10:47:01 +0100 Subject: [PATCH 381/463] Add ability to use xs on ChartAPI.load. --- types/c3/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/c3/index.d.ts b/types/c3/index.d.ts index d68027f7d5..28f301237c 100644 --- a/types/c3/index.d.ts +++ b/types/c3/index.d.ts @@ -880,6 +880,7 @@ export interface ChartAPI { keys?: { x?: string; value: string[]; } rows?: PrimitiveArray[]; columns?: PrimitiveArray[]; + xs?: { [key: string]: string }; names?: { [key: string]: string }; classes?: { [key: string]: string }; categories?: string[]; From 844a1ea972e36f48315497535eb3d2182eb9f04d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danilo=20B=C3=BCrger?= Date: Tue, 13 Feb 2018 12:30:27 +0100 Subject: [PATCH 382/463] [react-native-navigation] Added iconInsets to tabs --- types/react-native-navigation/index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types/react-native-navigation/index.d.ts b/types/react-native-navigation/index.d.ts index 893a904f73..1099bc7d88 100644 --- a/types/react-native-navigation/index.d.ts +++ b/types/react-native-navigation/index.d.ts @@ -40,10 +40,18 @@ export interface TabBasedApp { animationType?: 'none' | 'slide-down' | 'fade'; } +export interface IconInsets { + top?: number; + left?: number; + bottom?: number; + right?: number; +} + export interface TabScreen { label?: string; screen: string; icon?: any; + iconInsets?: IconInsets; selectedIcon?: any; title?: string; navigatorStyle?: NavigatorStyle; From f52202417b13c2ec77008ebd6a6f946ba49e46dd Mon Sep 17 00:00:00 2001 From: John Cullen Date: Tue, 13 Feb 2018 12:09:04 +0000 Subject: [PATCH 383/463] Rename knockout.postbox to knockout-postbox The module is published on NPM and github as knockout-postbox so type resolution fails unless the name is changed to matched. --- types/{knockout.postbox => knockout-postbox}/index.d.ts | 0 types/{knockout.postbox => knockout-postbox}/tsconfig.json | 0 types/{knockout.postbox => knockout-postbox}/tslint.json | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename types/{knockout.postbox => knockout-postbox}/index.d.ts (100%) rename types/{knockout.postbox => knockout-postbox}/tsconfig.json (100%) rename types/{knockout.postbox => knockout-postbox}/tslint.json (100%) diff --git a/types/knockout.postbox/index.d.ts b/types/knockout-postbox/index.d.ts similarity index 100% rename from types/knockout.postbox/index.d.ts rename to types/knockout-postbox/index.d.ts diff --git a/types/knockout.postbox/tsconfig.json b/types/knockout-postbox/tsconfig.json similarity index 100% rename from types/knockout.postbox/tsconfig.json rename to types/knockout-postbox/tsconfig.json diff --git a/types/knockout.postbox/tslint.json b/types/knockout-postbox/tslint.json similarity index 100% rename from types/knockout.postbox/tslint.json rename to types/knockout-postbox/tslint.json From 92af88e00d9809f3fe4d276787fb58dc310d8c17 Mon Sep 17 00:00:00 2001 From: Pierre-Marc Airoldi Date: Tue, 13 Feb 2018 08:17:47 -0500 Subject: [PATCH 384/463] Add strictNullChecks --- types/is-hotkey/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/is-hotkey/tsconfig.json b/types/is-hotkey/tsconfig.json index df8e256f29..50e9b5bb9c 100644 --- a/types/is-hotkey/tsconfig.json +++ b/types/is-hotkey/tsconfig.json @@ -7,7 +7,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ From 16732af74d97e2c5b2bab668e8c3c62f04a7520e Mon Sep 17 00:00:00 2001 From: Xavier Campenon Date: Tue, 13 Feb 2018 16:19:10 +0100 Subject: [PATCH 385/463] [gapi.auth2] Fix arg type in onFailure callback --- types/gapi.auth2/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/gapi.auth2/index.d.ts b/types/gapi.auth2/index.d.ts index 0acae5e2a7..fdb4c08cc3 100644 --- a/types/gapi.auth2/index.d.ts +++ b/types/gapi.auth2/index.d.ts @@ -21,7 +21,7 @@ declare namespace gapi.auth2 { * Calls the onInit function when the GoogleAuth object is fully initialized, or calls the onFailure function if * initialization fails. */ - then(onInit: (googleAuth: GoogleAuth) => any, onFailure?: (reason: string) => any): any; + then(onInit: (googleAuth: GoogleAuth) => any, onFailure?: (reason: {error: string, details: string}) => any): any; /** * Signs in the user using the specified options. From e835f5bb282d318d14af1cd6af53e1f4edb015da Mon Sep 17 00:00:00 2001 From: humpedli Date: Tue, 13 Feb 2018 16:21:02 +0100 Subject: [PATCH 386/463] pulltorefreshjs - Added missing function exports and properties to Options interface --- types/pulltorefreshjs/index.d.ts | 19 +++++++++++++++++++ .../pulltorefreshjs/pulltorefreshjs-tests.ts | 6 ++++++ 2 files changed, 25 insertions(+) diff --git a/types/pulltorefreshjs/index.d.ts b/types/pulltorefreshjs/index.d.ts index 2eab5b6741..133d3d19c0 100644 --- a/types/pulltorefreshjs/index.d.ts +++ b/types/pulltorefreshjs/index.d.ts @@ -1,10 +1,15 @@ // Type definitions for pulltorefreshjs 0.1 // Project: https://github.com/BoxFactura/pulltorefresh.js // Definitions by: Daniel Rosenwasser +// Tamas Kinsztler // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export function init(options?: Options): void; +export function destroyAll(): void; + +export function setPassiveMode(isPassive: boolean): void; + export interface Options { /** * Minimum distance required to trigger the refresh. @@ -108,6 +113,20 @@ export interface Options { * Defaults to `t => Math.min(1, t / 2.5)` */ resistanceFunction?(input: number): number; + + /** + * Which condition should be met for pullToRefresh to trigger? + * + * Defaults to `!window.scrollY` + */ + shouldPullToRefresh?(): boolean; + + /** + * This value will be passed as `{ passive: true|false }` to `touchmove` + * listeners if passive-handlers are supported. + * (default: `false`) + */ + passive?: boolean; } /** diff --git a/types/pulltorefreshjs/pulltorefreshjs-tests.ts b/types/pulltorefreshjs/pulltorefreshjs-tests.ts index 47ca43a2e9..aa95cc3380 100644 --- a/types/pulltorefreshjs/pulltorefreshjs-tests.ts +++ b/types/pulltorefreshjs/pulltorefreshjs-tests.ts @@ -17,3 +17,9 @@ PullToRefresh.init({ mainElement: "body", onRefresh: () => Promise.resolve(), }); + +PullToRefresh.destroyAll(); + +PullToRefresh.setPassiveMode(true); + +PullToRefresh.setPassiveMode(false); From fb31d6e18a09cf9c1e94d2eddae73dadfc955d78 Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Tue, 13 Feb 2018 17:22:38 +0200 Subject: [PATCH 387/463] Default properties; pseudo-nominal types; fixes after test run --- .../activex-scripting-tests.ts | 76 ++++++++++--------- types/activex-scripting/index.d.ts | 58 ++++++++++---- 2 files changed, 84 insertions(+), 50 deletions(-) diff --git a/types/activex-scripting/activex-scripting-tests.ts b/types/activex-scripting/activex-scripting-tests.ts index 786468b9af..a8d048da33 100644 --- a/types/activex-scripting/activex-scripting-tests.ts +++ b/types/activex-scripting/activex-scripting-tests.ts @@ -1,3 +1,5 @@ +// Note -- running these tests under cscript requires some ES5 polyfills + const collectionToArray = (col: { Item(key: any): T }): T[] => { const results: T[] = []; const enumerator = new Enumerator(col); @@ -12,7 +14,7 @@ const collectionToArray = (col: { Item(key: any): T }): T[] => { const fso = new ActiveXObject('Scripting.FileSystemObject'); // https://msdn.microsoft.com/en-us/library/ebkhfaaz(v=vs.84).aspx -(() => { +{ /** Generates a string describing the drive type of a given Drive object. */ const driveTypeString = (drive: Scripting.Drive) => { switch (drive.DriveType) { @@ -133,14 +135,13 @@ ${subfolders.map(folderContentsString).join('')}` const deleteTestFolder = () => { // two ways to delete a file: - const filepathToDelete = `${testPath}\\LoremIpsum\Paragraph1.txt`; + const filepathToDelete = `${testPath}\\LoremIpsum\\Paragraph1.txt`; fso.DeleteFile(filepathToDelete); - fso.GetFile(filepathToDelete).Delete(); + // fso.GetFile(filepathToDelete).Delete(); // two ways to delete a folder: - const folderpathToDelete = `${testPath}\\LoremIpsum`; - fso.DeleteFolder(folderpathToDelete); - fso.GetFolder(folderpathToDelete).Delete(); + fso.DeleteFolder(`${testPath}\\LoremIpsum`); + fso.GetFolder(testPath).Delete(); }; const createLyrics = (folder: Scripting.Folder) => { @@ -201,41 +202,44 @@ ${subfolders.map(folderContentsString).join('')}` if (!buildTestFolder()) { WScript.Echo('Test directory already exists or cannot be created. Cannot continue.'); - return; + } else { + WScript.Echo(drivesInfoReport()); + echoLines(2); + WScript.Echo(testfolderInfo()); + echoLines(2); + WScript.Echo(getLyrics()); + echoLines(2); + deleteTestFolder(); } - - WScript.Echo(drivesInfoReport); - echoLines(2); - WScript.Echo(testfolderInfo); - echoLines(2); - WScript.Echo(getLyrics()); - echoLines(2); - deleteTestFolder(); -})(); +} // source --https://msdn.microsoft.com/en-us/library/ts2t8ybh(v=vs.84).aspx -const showFreeSpace = (drvPath: string) => { - const d = fso.GetDrive(fso.GetDriveName(drvPath)); - let s = `Drive ${drvPath} - `; - s += d.VolumeName + '
'; - s += `Free Space: ${d.FreeSpace / 1024} Kbytes`; - return (s); -}; +{ + const showFreeSpace = (drvPath: string) => { + const d = fso.GetDrive(fso.GetDriveName(drvPath)); + let s = `Drive ${drvPath} - `; + s += d.VolumeName + '
'; + s += `Free Space: ${d.FreeSpace / 1024} Kbytes`; + return (s); + }; +} // source -- https://msdn.microsoft.com/en-us/library/kaf6yaft(v=vs.84).aspx -const getALine = (filespec: string) => { - const file = fso.OpenTextFile(filespec, Scripting.IOMode.ForReading, false); +{ + const getALine = (filespec: string) => { + const file = fso.OpenTextFile(filespec, Scripting.IOMode.ForReading, false); - let s = ''; - while (!file.AtEndOfLine) { - s += file.Read(1); - } - file.Close(); - return (s); -}; + let s = ''; + while (!file.AtEndOfLine) { + s += file.Read(1); + } + file.Close(); + return (s); + }; +} // https://msdn.microsoft.com/en-us/library/ch28h2s7(v=vs.84).aspx -(() => { +{ const showDriveInfo = (path: string) => { const bytesPerGB = 1024 * 1024 * 1024; const drv = fso.GetDrive(fso.GetDriveName(path)); @@ -262,10 +266,10 @@ ${fldr.IsRootFolder ? 'Is root folder' : `Parent folder: ${fldr.ParentFolder}`} WScript.Echo(ret); }; -})(); +} // https://msdn.microsoft.com/en-us/library/czxefwt8(v=vs.84).aspx -(() => { +{ const readFiles = () => { const file = fso.CreateTextFile("c:\\testfile.txt", true); @@ -317,4 +321,4 @@ ${fldr.IsRootFolder ? 'Is root folder' : `Parent folder: ${fldr.ParentFolder}`} file3.Delete(); WScript.Echo('All done!'); }; -})(); +} diff --git a/types/activex-scripting/index.d.ts b/types/activex-scripting/index.d.ts index 7e19b4bff8..42e4f0c9e0 100644 --- a/types/activex-scripting/index.d.ts +++ b/types/activex-scripting/index.d.ts @@ -9,7 +9,7 @@ declare namespace Scripting { const enum CompareMethod { BinaryCompare = 0, DatabaseCompare = 2, - TextCompare = 1 + TextCompare = 1, } // tslint:disable-next-line:no-const-enum @@ -19,7 +19,7 @@ declare namespace Scripting { RamDisk = 5, Remote = 3, Removable = 1, - UnknownType = 0 + UnknownType = 0, } // tslint:disable-next-line:no-const-enum @@ -32,28 +32,28 @@ declare namespace Scripting { Normal = 0, ReadOnly = 1, System = 4, - Volume = 8 + Volume = 8, } // tslint:disable-next-line:no-const-enum const enum IOMode { ForAppending = 8, ForReading = 1, - ForWriting = 2 + ForWriting = 2, } // tslint:disable-next-line:no-const-enum const enum SpecialFolderConst { SystemFolder = 1, TemporaryFolder = 2, - WindowsFolder = 0 + WindowsFolder = 0, } // tslint:disable-next-line:no-const-enum const enum StandardStreamTypes { StdErr = 2, StdIn = 0, - StdOut = 1 + StdOut = 1, } // tslint:disable-next-line:no-const-enum @@ -61,7 +61,7 @@ declare namespace Scripting { TristateFalse = 0, TristateMixed = -2, TristateTrue = -1, - TristateUseDefault = -2 + TristateUseDefault = -2, } /** Scripting.Dictionary */ @@ -96,10 +96,16 @@ declare namespace Scripting { /** Remove all information from the dictionary. */ RemoveAll(): void; + + /** Set or get the item for a given key */ + (Key: TKey): TItem; } /** Drive Object */ - interface Drive { + class Drive { + private constructor(); + private 'Scripting.Drive_typekey': Drive; + /** Get available space */ readonly AvailableSpace: number; @@ -144,16 +150,25 @@ declare namespace Scripting { /** Get drive using the drive letter (`C`) or path (`C:\\`) */ Item(Key: string): Drive; + + /** Get drive using the drive letter (`C`) or path (`C:\\`) */ + (Key: string): Drive; } /** Script Encoder Object */ interface Encoder { /** Call the Encoder determined by szExt, passing bstrStreamIn and optional arguments */ EncodeScriptFile(szExt: string, bstrStreamIn: string, cFlags: number, bstrDefaultLang: string): string; + + /** Call the Encoder determined by szExt, passing bstrStreamIn and optional arguments */ + (szExt: string, bstrStreamIn: string, cFlags: number, bstrDefaultLang: string): string; } /** File object */ - interface File { + class File { + private constructor(); + private 'Scripting.File_typekey': File; + /** File attributes */ Attributes: FileAttribute; @@ -220,10 +235,16 @@ declare namespace Scripting { /** Get file object using the name and extension of the file */ Item(Key: string): File; + + /** Get file */ + (Key: string): File; } /** FileSystem Object */ - interface FileSystemObject { + class FileSystemObject { + private constructor(); + private 'Scripting.FileSystemObject_typekey': FileSystemObject; + /** Generate a path from an existing path and a name */ BuildPath(Path: string, Name: string): string; @@ -331,7 +352,10 @@ declare namespace Scripting { } /** Folder object */ - interface Folder { + class Folder { + private constructor(); + private 'Scripting.Folder_typekey': Folder; + /** Folder attributes */ Attributes: FileAttribute; @@ -410,10 +434,16 @@ declare namespace Scripting { /** Get folder in collection using the folder's name */ Item(Key: string): Folder; + + /** Get folder in collection using the folder's name */ + (Key: string): Folder; } /** TextStream object */ - interface TextStream { + class TextStream { + private constructor(); + private 'Scripting.TextStream_typekey': TextStream; + /** Is the current position at the end of a line? */ readonly AtEndOfLine: boolean; @@ -459,12 +489,12 @@ declare namespace Scripting { } interface ActiveXObject { - set(obj: Scripting.Dictionary, propertyName: 'Item', parameterTypes: [any], newValue: any): void; new (progid: K): ActiveXObjectNameMap[K]; + set(obj: Scripting.Dictionary, propertyName: 'Item', parameterTypes: [any], newValue: any): void; } interface ActiveXObjectNameMap { 'Scripting.Dictionary': Scripting.Dictionary; - 'Scirpting.Encoder': Scripting.Encoder; + 'Scripting.Encoder': Scripting.Encoder; 'Scripting.FileSystemObject': Scripting.FileSystemObject; } From 5125e547db88124b51875d094d18c61de504c391 Mon Sep 17 00:00:00 2001 From: humpedli Date: Tue, 13 Feb 2018 16:24:31 +0100 Subject: [PATCH 388/463] pulltorefreshjs - Version increase --- types/pulltorefreshjs/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/pulltorefreshjs/index.d.ts b/types/pulltorefreshjs/index.d.ts index 133d3d19c0..2e819b5f06 100644 --- a/types/pulltorefreshjs/index.d.ts +++ b/types/pulltorefreshjs/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for pulltorefreshjs 0.1 +// Type definitions for pulltorefreshjs 0.1.11 // Project: https://github.com/BoxFactura/pulltorefresh.js // Definitions by: Daniel Rosenwasser // Tamas Kinsztler From e36b13f791eb935ad3779ffa5d421d07127aba92 Mon Sep 17 00:00:00 2001 From: humpedli Date: Tue, 13 Feb 2018 16:31:21 +0100 Subject: [PATCH 389/463] pulltorefreshjs - Version increase fix --- types/pulltorefreshjs/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/pulltorefreshjs/index.d.ts b/types/pulltorefreshjs/index.d.ts index 2e819b5f06..3e2c29f6ce 100644 --- a/types/pulltorefreshjs/index.d.ts +++ b/types/pulltorefreshjs/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for pulltorefreshjs 0.1.11 +// Type definitions for pulltorefreshjs 0.2 // Project: https://github.com/BoxFactura/pulltorefresh.js // Definitions by: Daniel Rosenwasser // Tamas Kinsztler From 21bca57ecda57e6dbb7c17c853a1e4ab72c30e61 Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Tue, 13 Feb 2018 17:32:46 +0200 Subject: [PATCH 390/463] lint fix --- types/activex-scripting/activex-scripting-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/activex-scripting/activex-scripting-tests.ts b/types/activex-scripting/activex-scripting-tests.ts index a8d048da33..313e480cb5 100644 --- a/types/activex-scripting/activex-scripting-tests.ts +++ b/types/activex-scripting/activex-scripting-tests.ts @@ -203,7 +203,7 @@ ${subfolders.map(folderContentsString).join('')}` if (!buildTestFolder()) { WScript.Echo('Test directory already exists or cannot be created. Cannot continue.'); } else { - WScript.Echo(drivesInfoReport()); + drivesInfoReport(); echoLines(2); WScript.Echo(testfolderInfo()); echoLines(2); From 828b96fac5ce24c64cdf75125874d9ab80d9ddb8 Mon Sep 17 00:00:00 2001 From: SoraYama Date: Wed, 14 Feb 2018 00:23:07 +0800 Subject: [PATCH 391/463] create @types for urllib v2.25.4 --- types/urllib/LICENSE | 21 +++ types/urllib/README.md | 29 ++++ types/urllib/index.d.ts | 263 +++++++++++++++++++++++++++++++++++ types/urllib/tsconfig.json | 22 +++ types/urllib/tslint.json | 1 + types/urllib/urllib-tests.ts | 8 ++ 6 files changed, 344 insertions(+) create mode 100644 types/urllib/LICENSE create mode 100644 types/urllib/README.md create mode 100644 types/urllib/index.d.ts create mode 100644 types/urllib/tsconfig.json create mode 100644 types/urllib/tslint.json create mode 100644 types/urllib/urllib-tests.ts diff --git a/types/urllib/LICENSE b/types/urllib/LICENSE new file mode 100644 index 0000000000..23d4a4eb46 --- /dev/null +++ b/types/urllib/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 SoraYama + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/types/urllib/README.md b/types/urllib/README.md new file mode 100644 index 0000000000..36acda5c50 --- /dev/null +++ b/types/urllib/README.md @@ -0,0 +1,29 @@ +# DefinitelyTyped for Urllib + +## Current Urllib Version +`v2.25.4` +## Usage + +```bash +npm install --save-dev @types/urllib +``` + +example: +```ts +import * as urllib from "."; + +urllib.curl('https://example.test.com', { + method: "GET", + data: { + test: 'test', + } +}) +``` +## License +MIT + +## dependencies +`@types/node` + +## Author +[SoraYama](https://github.com/sorayama) diff --git a/types/urllib/index.d.ts b/types/urllib/index.d.ts new file mode 100644 index 0000000000..25a583579b --- /dev/null +++ b/types/urllib/index.d.ts @@ -0,0 +1,263 @@ +// Type definitions for urllib 2.25.4 +// Project: http://github.com/node-modules/urllib +// Definitions by: SoraYama +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import 'node'; +import * as https from 'https'; +import * as http from 'http'; +import * as url from 'url'; +import { Readable, Writable } from 'stream'; +import { EventEmitter } from 'events'; + +declare module 'urllib' { + + export interface IRequestOptions { + /** Request method, defaults to GET. Could be GET, POST, DELETE or PUT. Alias 'type'. */ + method?: "GET" | "POST" | "DELETE" | "PUT"; + /** Data to be sent. Will be stringify automatically. */ + data?: object; + /** Force convert data to query string. */ + dataAsQueryString?: boolean; + /** Manually set the content of payload. If set, data will be ignored. */ + content?: string | Buffer; + /** Stream to be pipe to the remote.If set, data and content will be ignored. */ + stream?: Readable; + /** + * A writable stream to be piped by the response stream. + * Responding data will be write to this stream and callback + * will be called with data set null after finished writing. + */ + writeStream?: Writable; + /** consume the writeStream, invoke the callback after writeStream close. */ + consumeWriteStream?: boolean; + /** Type of request data.Could be json.If it's json, will auto set Content-Type: application/json header. */ + contentType?: string; + /** + * urllib default use querystring to stringify form data which don't support nested object, + * will use qs instead of querystring to support nested object by set this option to true. + */ + nestedQuerystring?: boolean; + /** + * Type of response data. Could be text or json. + * If it's text, the callbacked data would be a String. + * If it's json, the data of callback would be a parsed JSON Object + * and will auto set Accept: application/json header. Default callbacked data would be a Buffer. + */ + dataType?: string; + /** Fix the control characters (U+0000 through U+001F) before JSON parse response. Default is false. */ + fixJSONCtlChars?: boolean; + /** Request headers. */ + headers?: object; + /** + * Request timeout in milliseconds for connecting phase and response receiving phase. + * Defaults to exports. + * TIMEOUT, both are 5s.You can use timeout: 5000 to tell urllib use same timeout on two phase or set them seperately such as + * timeout: [3000, 5000], which will set connecting timeout to 3s and response 5s. + */ + timeout?: number | number[]; + /** username:password used in HTTP Basic Authorization. */ + auth?: string; + /** username:password used in HTTP Digest Authorization. */ + digestAuth?: string; + /** HTTP Agent object.Set false if you does not use agent. */ + agent?: http.Agent; + /** HTTPS Agent object. Set false if you does not use agent. */ + httpsAgent?: https.Agent; + /** + * An array of strings or Buffers of trusted certificates. + * If this is omitted several well known "root" CAs will be used, like VeriSign. + * These are used to authorize connections. + * Notes: This is necessary only if the server uses the self - signed certificate + */ + ca?: string | Buffer | string[] | Buffer[]; + /** + * If true, the server certificate is verified against the list of supplied CAs. + * An 'error' event is emitted if verification fails.Default: true. + */ + rejectUnauthorized?: boolean; + /** A string or Buffer containing the private key, certificate and CA certs of the server in PFX or PKCS12 format. */ + pfx?: string | Buffer; + /** + * A string or Buffer containing the private key of the client in PEM format. + * Notes: This is necessary only if using the client certificate authentication + */ + key?: string | Buffer; + /** + * A string or Buffer containing the certificate key of the client in PEM format. + * Notes: This is necessary only if using the client certificate authentication + */ + cert?: string | Buffer; + /** A string of passphrase for the private key or pfx. */ + passphrase?: string; + /** A string describing the ciphers to use or exclude. */ + ciphers?: string; + /** The SSL method to use, e.g.SSLv3_method to force SSL version 3. */ + secureProtocol?: string; + /** follow HTTP 3xx responses as redirects. defaults to false. */ + followRedirect?: boolean; + /** The maximum number of redirects to follow, defaults to 10. */ + maxRedirects?: number + /** Format the redirect url by your self. Default is url.resolve(from, to). */ + formatRedirectUrl?: Function; + /** Before request hook, you can change every thing here. */ + beforeRequest?: Function; + /** let you get the res object when request connected, default false. alias customResponse */ + streaming?: boolean; + /** Accept gzip response content and auto decode it, default is false. */ + gzip?: boolean; + /** Enable timing or not, default is false. */ + timing?: boolean; + /** Enable proxy request, default is false. */ + enableProxy?: boolean; + /** proxy agent uri or options, default is null. */ + proxy?: string | object; + } + + /** + * @param err Error + * @param data Outgoing message + * @param res http response + */ + type Callback = (err: Error, data: any, res: http.IncomingMessage) => void; + + /** + * Handle all http request, both http and https support well. + * + * @example + * // GET http://httptest.cnodejs.net + * urllib.request('http://httptest.cnodejs.net/test/get', function(err, data, res) {}); + * // POST http://httptest.cnodejs.net + * var args = { type: 'post', data: { foo: 'bar' } }; + * urllib.request('http://httptest.cnodejs.net/test/post', args, function(err, data, res) {}); + * + * @param url The URL to request, either a String or a Object that return by url.parse. + * @param options Optional, @see IRequestOptions. + */ + export function request(url: string | url.URL, options?: IRequestOptions): Promise; + /** + * @param url The URL to request, either a String or a Object that return by url.parse. + * @param callback @see Callback + */ + export function request(url: string | url.URL, callback: Callback): void; + /** + * @param url The URL to request, either a String or a Object that return by url.parse. + * @param options Optional, @see IRequestOptions. + * @param callback @see Callback + */ + export function request(url: string | url.URL, options: IRequestOptions, callback: Callback): void; + + /** + * Handle request with a callback. + * @param url The URL to request, either a String or a Object that return by url.parse. + * @param callback @see Callback + */ + export function requestWithCallback(url: string | url.URL, callback: Callback): void; + /** + * @param url The URL to request, either a String or a Object that return by url.parse. + * @param options Optional, @see IRequestOptions. + * @param callback @see Callback + */ + export function requestWithCallback(url: string | url.URL, options: IRequestOptions, callback: Callback): void; + + /** + * yield urllib.requestThunk(url, args) + * @param url The URL to request, either a String or a Object that return by url.parse. + * @param options Optional, @see IRequestOptions. + */ + export function requestThunk(url: string | url.URL, options: IRequestOptions): (callback: Function) => void; + + /** + * alias to request. + * Handle all http request, both http and https support well. + * + * @example + * // GET http://httptest.cnodejs.net + * urllib.request('http://httptest.cnodejs.net/test/get', function(err, data, res) {}); + * // POST http://httptest.cnodejs.net + * var args = { type: 'post', data: { foo: 'bar' } }; + * urllib.request('http://httptest.cnodejs.net/test/post', args, function(err, data, res) {}); + * + * @param url The URL to request, either a String or a Object that return by url.parse. + * @param options Optional, @see IRequestOptions. + */ + export function curl(url: string | url.URL, options?: IRequestOptions): Promise; + /** + * @param url The URL to request, either a String or a Object that return by url.parse. + * @param callback @see Callback + */ + export function curl(url: string | url.URL, callback: Callback): void; + /** + * @param url The URL to request, either a String or a Object that return by url.parse. + * @param options Optional, @see IRequestOptions. + * @param callback @see Callback + */ + export function curl(url: string | url.URL, options: IRequestOptions, callback: Callback): void; + + + /** + * The default request timeout(in milliseconds). + * @type {Number} + * @const + */ + export const TIMEOUT: number; + /** + * The default request & response timeout(in milliseconds). + * @type {Array} + * @const + */ + export const TIMEOUTS: [number, number]; + + /** + * Request user agent. + * @type {String} + * @const + */ + export const USER_AGENT: string; + + /** + * Request http agent. + * @type {http.Agent} + */ + export const agent: http.Agent; + + /** + * Request https agent. + * @type {https.Agent} + */ + export const httpsAgent: https.Agent; + + export class HttpClient extends EventEmitter { + constructor(options?: IRequestOptions); + + request(url: string | url.URL, callback: Callback): void; + request(url: string | url.URL, options: IRequestOptions, callback: Callback): void; + + curl(url: string | url.URL, callback: Callback): void; + curl(url: string | url.URL, options: IRequestOptions, callback: Callback): void; + + requestThunk(url: string | url.URL, options?: IRequestOptions): (callback: Function) => void; + } + + /** + * request method only return a promise, + * compatible with async/await and generator in co. + * @constructor {IRequestOptions} Optional @see IRequestOptions + */ + export class HttpClient2 extends EventEmitter { + constructor(options?: IRequestOptions); + + request(url: string | url.URL, options?: IRequestOptions): Promise; + + curl(url: string | url.URL, options?: IRequestOptions): Promise; + + requestThunk(url: string | url.URL, options?: IRequestOptions): (callback: Function) => void; + } + + /** + * Create a HttpClient incetance. + * @param options + * @return {HttpClient} HttpClient incetance. + */ + export function create(options?: IRequestOptions): HttpClient; +} diff --git a/types/urllib/tsconfig.json b/types/urllib/tsconfig.json new file mode 100644 index 0000000000..fe1f32cf75 --- /dev/null +++ b/types/urllib/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", + "urllib-tests.ts" + ] +} diff --git a/types/urllib/tslint.json b/types/urllib/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/urllib/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } diff --git a/types/urllib/urllib-tests.ts b/types/urllib/urllib-tests.ts new file mode 100644 index 0000000000..5936bcc817 --- /dev/null +++ b/types/urllib/urllib-tests.ts @@ -0,0 +1,8 @@ +import * as urllib from "."; + +urllib.curl('https://example.test.com', { + method: "GET", + data: { + test: 'test', + } +}) From d49134cc6a0c2f0c665026804df693fd0232b1f7 Mon Sep 17 00:00:00 2001 From: SoraYama Date: Wed, 14 Feb 2018 01:01:09 +0800 Subject: [PATCH 392/463] delete license file --- types/urllib/LICENSE | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 types/urllib/LICENSE diff --git a/types/urllib/LICENSE b/types/urllib/LICENSE deleted file mode 100644 index 23d4a4eb46..0000000000 --- a/types/urllib/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2018 SoraYama - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. From c4ced90519f2aa19ad7df17afd4102664aa2f0af Mon Sep 17 00:00:00 2001 From: SoraYama Date: Wed, 14 Feb 2018 01:06:35 +0800 Subject: [PATCH 393/463] enable esModuleInterop --- types/urllib/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/types/urllib/tsconfig.json b/types/urllib/tsconfig.json index fe1f32cf75..ff85f909cc 100644 --- a/types/urllib/tsconfig.json +++ b/types/urllib/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "esModuleInterop": true, "baseUrl": "../", "typeRoots": [ "../" From 7829555330a6513c5c902f4ead49a41d57cdbe9b Mon Sep 17 00:00:00 2001 From: SoraYama Date: Wed, 14 Feb 2018 01:18:27 +0800 Subject: [PATCH 394/463] enable strictFunctionTypes --- types/urllib/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/types/urllib/tsconfig.json b/types/urllib/tsconfig.json index ff85f909cc..2787b1459e 100644 --- a/types/urllib/tsconfig.json +++ b/types/urllib/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "esModuleInterop": true, "baseUrl": "../", "typeRoots": [ From 6c98b1f3d8e39d548572a744f0c034de37b2ecef Mon Sep 17 00:00:00 2001 From: Huw McNamara Date: Tue, 13 Feb 2018 18:25:43 +0000 Subject: [PATCH 395/463] undid TlsOptions name change --- types/ftpd/index.d.ts | 2 +- types/http-proxy-middleware/index.d.ts | 2 +- types/node/index.d.ts | 8 ++++---- types/nodemailer/lib/fetch/index.d.ts | 2 +- types/pg/index.d.ts | 4 ++-- types/pg/v6/index.d.ts | 4 ++-- types/smtp-server/index.d.ts | 8 ++++---- types/thrift/index.d.ts | 2 +- types/xmlrpc/index.d.ts | 4 ++-- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/types/ftpd/index.d.ts b/types/ftpd/index.d.ts index 8af363b572..cd325109ee 100644 --- a/types/ftpd/index.d.ts +++ b/types/ftpd/index.d.ts @@ -75,7 +75,7 @@ export interface FtpServerOptions { /** * If this is set, the server will allow explicit TLS authentication. Value should be a dictionary which is suitable as the options argument of tls.createServer. */ - tlsOptions?: tls.TlsServerOptions; + tlsOptions?: tls.TlsOptions; /** * If this is set to true, and tlsOptions is also set, then the server will not allow logins over non-secure connections. * Default false diff --git a/types/http-proxy-middleware/index.d.ts b/types/http-proxy-middleware/index.d.ts index dd944d94e3..5db24429c9 100644 --- a/types/http-proxy-middleware/index.d.ts +++ b/types/http-proxy-middleware/index.d.ts @@ -43,7 +43,7 @@ declare namespace proxy { target?: string; forward?: string; agent?: http.Agent; - ssl?: tls.TlsServerOptions; + ssl?: tls.TlsOptions; ws?: boolean; xfwd?: boolean; secure?: boolean; diff --git a/types/node/index.d.ts b/types/node/index.d.ts index e4dc926da8..86ad1fe52e 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -1741,7 +1741,7 @@ declare module "https" { import * as http from "http"; import { URL } from "url"; - export type ServerOptions = tls.SecureContextOptions & tls.TlsServerOptions; + export type ServerOptions = tls.SecureContextOptions & tls.TlsOptions; export type RequestOptions = http.RequestOptions & { rejectUnauthorized?: boolean; // Defaults to true @@ -4954,7 +4954,7 @@ declare module "tls" { prependOnceListener(event: "secureConnect", listener: () => void): this; } - export interface TlsServerOptions extends SecureContextOptions { + export interface TlsOptions extends SecureContextOptions { clientCertEngine?: string; handshakeTimeout?: number; requestCert?: boolean; @@ -5091,7 +5091,7 @@ declare module "tls" { * Returns Error object, populating it with the reason, host and cert on failure. On success, returns undefined. */ export function checkServerIdentity(host: string, cert: PeerCertificate): Error | undefined; - export function createServer(options: TlsServerOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server; + export function createServer(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server; export function connect(options: ConnectionOptions, secureConnectionListener?: () => void): TLSSocket; export function connect(port: number, host?: string, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; export function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; @@ -6490,7 +6490,7 @@ declare module "http2" { export type ServerSessionOptions = SessionOptions; export interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions { } - export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsServerOptions { } + export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsOptions { } export interface ServerOptions extends ServerSessionOptions { allowHTTP1?: boolean; diff --git a/types/nodemailer/lib/fetch/index.d.ts b/types/nodemailer/lib/fetch/index.d.ts index d0006cd4b7..8fc814c517 100644 --- a/types/nodemailer/lib/fetch/index.d.ts +++ b/types/nodemailer/lib/fetch/index.d.ts @@ -21,7 +21,7 @@ declare namespace fetch { userAgent?: string; body?: Buffer | string | { [key: string]: string }; contentType?: string | false; - tls?: tls.TlsServerOptions; + tls?: tls.TlsOptions; timeout?: ms; allowErrorResponse?: boolean; } diff --git a/types/pg/index.d.ts b/types/pg/index.d.ts index f91402efe1..384dd4b465 100644 --- a/types/pg/index.d.ts +++ b/types/pg/index.d.ts @@ -26,10 +26,10 @@ export interface Defaults extends ConnectionConfig { parseInt8?: boolean; } -import { TlsServerOptions } from "tls"; +import { TlsOptions } from "tls"; export interface ClientConfig extends ConnectionConfig { - ssl?: boolean | TlsServerOptions; + ssl?: boolean | TlsOptions; } export interface PoolConfig extends ClientConfig { diff --git a/types/pg/v6/index.d.ts b/types/pg/v6/index.d.ts index 48ae20133c..150dad74fa 100644 --- a/types/pg/v6/index.d.ts +++ b/types/pg/v6/index.d.ts @@ -29,10 +29,10 @@ export interface Defaults extends ConnectionConfig { parseInt8?: boolean; } -import { TlsServerOptions } from "tls"; +import { TlsOptions } from "tls"; export interface ClientConfig extends ConnectionConfig { - ssl?: boolean | TlsServerOptions; + ssl?: boolean | TlsOptions; } export interface PoolConfig extends ClientConfig { diff --git a/types/smtp-server/index.d.ts b/types/smtp-server/index.d.ts index c00faf431a..6e71373260 100644 --- a/types/smtp-server/index.d.ts +++ b/types/smtp-server/index.d.ts @@ -93,7 +93,7 @@ export interface SMTPServerSession { envelope: SMTPServerEnvelope; transmissionType: string; - tlsOptions: tls.TlsServerOptions; + tlsOptions: tls.TlsOptions; } export interface SMTPServerEnvelope { @@ -107,7 +107,7 @@ export interface SMTPServerEnvelope { rcptTo: SMTPServerAddress[]; } -export interface SMTPServerOptions extends tls.TlsServerOptions { +export interface SMTPServerOptions extends tls.TlsOptions { /** * if true, the connection will use TLS. The default is false. * If the server doesn't start in TLS mode, @@ -188,7 +188,7 @@ export interface SMTPServerOptions extends tls.TlsServerOptions { /** * optional Map or an object of TLS options for SNI where servername is the key. Overrided by SNICallback. */ - sniOptions?: { [servername: string]: tls.TlsServerOptions } | Map; + sniOptions?: { [servername: string]: tls.TlsOptions } | Map; /** * optional boolean, if set to true then upgrade sockets to TLS immediately after connection is established. Works with secure: true */ @@ -282,7 +282,7 @@ export class SMTPServer extends EventEmitter { /** Closes the server */ close(callback: (err?: Error | null) => void): void; - updateSecureContext(options: tls.TlsServerOptions): void; + updateSecureContext(options: tls.TlsOptions): void; /** Authentication handler. Override this */ onAuth(auth: SMTPServerAuthentication, session: SMTPServerSession, callback: (err: Error | null | undefined, response: SMTPServerAuthenticationResponse) => void): void; diff --git a/types/thrift/index.d.ts b/types/thrift/index.d.ts index 3905b40bfa..e4f0e3c1f9 100644 --- a/types/thrift/index.d.ts +++ b/types/thrift/index.d.ts @@ -236,7 +236,7 @@ export interface ServerOptions extends ServiceOptions; - tls?: tls.TlsServerOptions; + tls?: tls.TlsOptions; } export interface ConnectOptions { diff --git a/types/xmlrpc/index.d.ts b/types/xmlrpc/index.d.ts index 7cc76d9511..8425d4672c 100644 --- a/types/xmlrpc/index.d.ts +++ b/types/xmlrpc/index.d.ts @@ -9,7 +9,7 @@ declare module 'xmlrpc' { import { EventEmitter } from 'events'; import { Server as HttpServer } from 'http'; import { Server as HttpsServer } from 'https'; - import { TlsServerOptions } from 'tls'; + import { TlsOptions } from 'tls'; interface ClientOptions { host?: string; @@ -47,7 +47,7 @@ declare module 'xmlrpc' { function createSecureClient(options: string | ClientOptions): Client; function createServer(options: string | ServerOptions, callback: () => void): Server; - function createSecureServer(options: string | TlsServerOptions, callback: () => void): Server; + function createSecureServer(options: string | TlsOptions, callback: () => void): Server; interface Client { options: ClientOptions; From ac36a10cea0345c62341b5948b0570f1bdcc7563 Mon Sep 17 00:00:00 2001 From: SoraYama Date: Wed, 14 Feb 2018 02:31:04 +0800 Subject: [PATCH 396/463] update tslint & fix lint in index --- types/urllib/index.d.ts | 467 +++++++++++++++++------------------ types/urllib/tslint.json | 80 +++++- types/urllib/urllib-tests.ts | 4 +- 3 files changed, 313 insertions(+), 238 deletions(-) diff --git a/types/urllib/index.d.ts b/types/urllib/index.d.ts index 25a583579b..44a4e9d77e 100644 --- a/types/urllib/index.d.ts +++ b/types/urllib/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for urllib 2.25.4 +// Type definitions for urllib 2.25 // Project: http://github.com/node-modules/urllib // Definitions by: SoraYama // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -10,254 +10,251 @@ import * as url from 'url'; import { Readable, Writable } from 'stream'; import { EventEmitter } from 'events'; -declare module 'urllib' { - - export interface IRequestOptions { - /** Request method, defaults to GET. Could be GET, POST, DELETE or PUT. Alias 'type'. */ - method?: "GET" | "POST" | "DELETE" | "PUT"; - /** Data to be sent. Will be stringify automatically. */ - data?: object; - /** Force convert data to query string. */ - dataAsQueryString?: boolean; - /** Manually set the content of payload. If set, data will be ignored. */ - content?: string | Buffer; - /** Stream to be pipe to the remote.If set, data and content will be ignored. */ - stream?: Readable; - /** - * A writable stream to be piped by the response stream. - * Responding data will be write to this stream and callback - * will be called with data set null after finished writing. - */ - writeStream?: Writable; - /** consume the writeStream, invoke the callback after writeStream close. */ - consumeWriteStream?: boolean; - /** Type of request data.Could be json.If it's json, will auto set Content-Type: application/json header. */ - contentType?: string; - /** - * urllib default use querystring to stringify form data which don't support nested object, - * will use qs instead of querystring to support nested object by set this option to true. - */ - nestedQuerystring?: boolean; - /** - * Type of response data. Could be text or json. - * If it's text, the callbacked data would be a String. - * If it's json, the data of callback would be a parsed JSON Object - * and will auto set Accept: application/json header. Default callbacked data would be a Buffer. - */ - dataType?: string; - /** Fix the control characters (U+0000 through U+001F) before JSON parse response. Default is false. */ - fixJSONCtlChars?: boolean; - /** Request headers. */ - headers?: object; - /** - * Request timeout in milliseconds for connecting phase and response receiving phase. - * Defaults to exports. - * TIMEOUT, both are 5s.You can use timeout: 5000 to tell urllib use same timeout on two phase or set them seperately such as - * timeout: [3000, 5000], which will set connecting timeout to 3s and response 5s. - */ - timeout?: number | number[]; - /** username:password used in HTTP Basic Authorization. */ - auth?: string; - /** username:password used in HTTP Digest Authorization. */ - digestAuth?: string; - /** HTTP Agent object.Set false if you does not use agent. */ - agent?: http.Agent; - /** HTTPS Agent object. Set false if you does not use agent. */ - httpsAgent?: https.Agent; - /** - * An array of strings or Buffers of trusted certificates. - * If this is omitted several well known "root" CAs will be used, like VeriSign. - * These are used to authorize connections. - * Notes: This is necessary only if the server uses the self - signed certificate - */ - ca?: string | Buffer | string[] | Buffer[]; - /** - * If true, the server certificate is verified against the list of supplied CAs. - * An 'error' event is emitted if verification fails.Default: true. - */ - rejectUnauthorized?: boolean; - /** A string or Buffer containing the private key, certificate and CA certs of the server in PFX or PKCS12 format. */ - pfx?: string | Buffer; - /** - * A string or Buffer containing the private key of the client in PEM format. - * Notes: This is necessary only if using the client certificate authentication - */ - key?: string | Buffer; - /** - * A string or Buffer containing the certificate key of the client in PEM format. - * Notes: This is necessary only if using the client certificate authentication - */ - cert?: string | Buffer; - /** A string of passphrase for the private key or pfx. */ - passphrase?: string; - /** A string describing the ciphers to use or exclude. */ - ciphers?: string; - /** The SSL method to use, e.g.SSLv3_method to force SSL version 3. */ - secureProtocol?: string; - /** follow HTTP 3xx responses as redirects. defaults to false. */ - followRedirect?: boolean; - /** The maximum number of redirects to follow, defaults to 10. */ - maxRedirects?: number - /** Format the redirect url by your self. Default is url.resolve(from, to). */ - formatRedirectUrl?: Function; - /** Before request hook, you can change every thing here. */ - beforeRequest?: Function; - /** let you get the res object when request connected, default false. alias customResponse */ - streaming?: boolean; - /** Accept gzip response content and auto decode it, default is false. */ - gzip?: boolean; - /** Enable timing or not, default is false. */ - timing?: boolean; - /** Enable proxy request, default is false. */ - enableProxy?: boolean; - /** proxy agent uri or options, default is null. */ - proxy?: string | object; - } - +export interface RequestOptions { + /** Request method, defaults to GET. Could be GET, POST, DELETE or PUT. Alias 'type'. */ + method?: "GET" | "POST" | "DELETE" | "PUT"; + /** Data to be sent. Will be stringify automatically. */ + data?: any; + /** Force convert data to query string. */ + dataAsQueryString?: boolean; + /** Manually set the content of payload. If set, data will be ignored. */ + content?: string | Buffer; + /** Stream to be pipe to the remote.If set, data and content will be ignored. */ + stream?: Readable; /** - * @param err Error - * @param data Outgoing message - * @param res http response + * A writable stream to be piped by the response stream. + * Responding data will be write to this stream and callback + * will be called with data set null after finished writing. */ - type Callback = (err: Error, data: any, res: http.IncomingMessage) => void; - + writeStream?: Writable; + /** consume the writeStream, invoke the callback after writeStream close. */ + consumeWriteStream?: boolean; + /** Type of request data.Could be json.If it's json, will auto set Content-Type: application/json header. */ + contentType?: string; /** - * Handle all http request, both http and https support well. - * - * @example - * // GET http://httptest.cnodejs.net - * urllib.request('http://httptest.cnodejs.net/test/get', function(err, data, res) {}); - * // POST http://httptest.cnodejs.net - * var args = { type: 'post', data: { foo: 'bar' } }; - * urllib.request('http://httptest.cnodejs.net/test/post', args, function(err, data, res) {}); - * - * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see IRequestOptions. + * urllib default use querystring to stringify form data which don't support nested object, + * will use qs instead of querystring to support nested object by set this option to true. */ - export function request(url: string | url.URL, options?: IRequestOptions): Promise; + nestedQuerystring?: boolean; /** - * @param url The URL to request, either a String or a Object that return by url.parse. - * @param callback @see Callback + * Type of response data. Could be text or json. + * If it's text, the callbacked data would be a String. + * If it's json, the data of callback would be a parsed JSON Object + * and will auto set Accept: application/json header. Default callbacked data would be a Buffer. */ - export function request(url: string | url.URL, callback: Callback): void; + dataType?: string; + /** Fix the control characters (U+0000 through U+001F) before JSON parse response. Default is false. */ + fixJSONCtlChars?: boolean; + /** Request headers. */ + headers?: object; /** - * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see IRequestOptions. - * @param callback @see Callback + * Request timeout in milliseconds for connecting phase and response receiving phase. + * Defaults to exports. + * TIMEOUT, both are 5s.You can use timeout: 5000 to tell urllib use same timeout on two phase or set them seperately such as + * timeout: [3000, 5000], which will set connecting timeout to 3s and response 5s. */ - export function request(url: string | url.URL, options: IRequestOptions, callback: Callback): void; - + timeout?: number | number[]; + /** username:password used in HTTP Basic Authorization. */ + auth?: string; + /** username:password used in HTTP Digest Authorization. */ + digestAuth?: string; + /** HTTP Agent object.Set false if you does not use agent. */ + agent?: http.Agent; + /** HTTPS Agent object. Set false if you does not use agent. */ + httpsAgent?: https.Agent; /** - * Handle request with a callback. - * @param url The URL to request, either a String or a Object that return by url.parse. - * @param callback @see Callback + * An array of strings or Buffers of trusted certificates. + * If this is omitted several well known "root" CAs will be used, like VeriSign. + * These are used to authorize connections. + * Notes: This is necessary only if the server uses the self - signed certificate */ - export function requestWithCallback(url: string | url.URL, callback: Callback): void; + ca?: string | Buffer | string[] | Buffer[]; /** - * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see IRequestOptions. - * @param callback @see Callback - */ - export function requestWithCallback(url: string | url.URL, options: IRequestOptions, callback: Callback): void; - - /** - * yield urllib.requestThunk(url, args) - * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see IRequestOptions. + * If true, the server certificate is verified against the list of supplied CAs. + * An 'error' event is emitted if verification fails.Default: true. */ - export function requestThunk(url: string | url.URL, options: IRequestOptions): (callback: Function) => void; - + rejectUnauthorized?: boolean; + /** A string or Buffer containing the private key, certificate and CA certs of the server in PFX or PKCS12 format. */ + pfx?: string | Buffer; /** - * alias to request. - * Handle all http request, both http and https support well. - * - * @example - * // GET http://httptest.cnodejs.net - * urllib.request('http://httptest.cnodejs.net/test/get', function(err, data, res) {}); - * // POST http://httptest.cnodejs.net - * var args = { type: 'post', data: { foo: 'bar' } }; - * urllib.request('http://httptest.cnodejs.net/test/post', args, function(err, data, res) {}); - * - * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see IRequestOptions. + * A string or Buffer containing the private key of the client in PEM format. + * Notes: This is necessary only if using the client certificate authentication */ - export function curl(url: string | url.URL, options?: IRequestOptions): Promise; + key?: string | Buffer; /** - * @param url The URL to request, either a String or a Object that return by url.parse. - * @param callback @see Callback + * A string or Buffer containing the certificate key of the client in PEM format. + * Notes: This is necessary only if using the client certificate authentication */ - export function curl(url: string | url.URL, callback: Callback): void; - /** - * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see IRequestOptions. - * @param callback @see Callback - */ - export function curl(url: string | url.URL, options: IRequestOptions, callback: Callback): void; - - - /** - * The default request timeout(in milliseconds). - * @type {Number} - * @const - */ - export const TIMEOUT: number; - /** - * The default request & response timeout(in milliseconds). - * @type {Array} - * @const - */ - export const TIMEOUTS: [number, number]; - - /** - * Request user agent. - * @type {String} - * @const - */ - export const USER_AGENT: string; - - /** - * Request http agent. - * @type {http.Agent} - */ - export const agent: http.Agent; - - /** - * Request https agent. - * @type {https.Agent} - */ - export const httpsAgent: https.Agent; - - export class HttpClient extends EventEmitter { - constructor(options?: IRequestOptions); - - request(url: string | url.URL, callback: Callback): void; - request(url: string | url.URL, options: IRequestOptions, callback: Callback): void; - - curl(url: string | url.URL, callback: Callback): void; - curl(url: string | url.URL, options: IRequestOptions, callback: Callback): void; - - requestThunk(url: string | url.URL, options?: IRequestOptions): (callback: Function) => void; - } - - /** - * request method only return a promise, - * compatible with async/await and generator in co. - * @constructor {IRequestOptions} Optional @see IRequestOptions - */ - export class HttpClient2 extends EventEmitter { - constructor(options?: IRequestOptions); - - request(url: string | url.URL, options?: IRequestOptions): Promise; - - curl(url: string | url.URL, options?: IRequestOptions): Promise; - - requestThunk(url: string | url.URL, options?: IRequestOptions): (callback: Function) => void; - } - - /** - * Create a HttpClient incetance. - * @param options - * @return {HttpClient} HttpClient incetance. - */ - export function create(options?: IRequestOptions): HttpClient; + cert?: string | Buffer; + /** A string of passphrase for the private key or pfx. */ + passphrase?: string; + /** A string describing the ciphers to use or exclude. */ + ciphers?: string; + /** The SSL method to use, e.g.SSLv3_method to force SSL version 3. */ + secureProtocol?: string; + /** follow HTTP 3xx responses as redirects. defaults to false. */ + followRedirect?: boolean; + /** The maximum number of redirects to follow, defaults to 10. */ + maxRedirects?: number; + /** Format the redirect url by your self. Default is url.resolve(from, to). */ + formatRedirectUrl?: (a: any, b: any) => void; + /** Before request hook, you can change every thing here. */ + beforeRequest?: (...args: any[]) => void; + /** let you get the res object when request connected, default false. alias customResponse */ + streaming?: boolean; + /** Accept gzip response content and auto decode it, default is false. */ + gzip?: boolean; + /** Enable timing or not, default is false. */ + timing?: boolean; + /** Enable proxy request, default is false. */ + enableProxy?: boolean; + /** proxy agent uri or options, default is null. */ + proxy?: string | object; } + +/** + * @param err Error + * @param data Outgoing message + * @param res http response + */ +type Callback = (err: Error, data: any, res: http.IncomingMessage) => void; + +/** + * Handle all http request, both http and https support well. + * + * @example + * // GET http://httptest.cnodejs.net + * urllib.request('http://httptest.cnodejs.net/test/get', function(err, data, res) {}); + * // POST http://httptest.cnodejs.net + * var args = { type: 'post', data: { foo: 'bar' } }; + * urllib.request('http://httptest.cnodejs.net/test/post', args, function(err, data, res) {}); + * + * @param url The URL to request, either a String or a Object that return by url.parse. + * @param options Optional, @see RequestOptions. + */ +export function request(url: string | url.URL, options?: RequestOptions): Promise; +/** + * @param url The URL to request, either a String or a Object that return by url.parse. + * @param callback @see Callback + */ +export function request(url: string | url.URL, callback: Callback): void; +/** + * @param url The URL to request, either a String or a Object that return by url.parse. + * @param options Optional, @see RequestOptions. + * @param callback @see Callback + */ +export function request(url: string | url.URL, options: RequestOptions, callback: Callback): void; + +/** + * Handle request with a callback. + * @param url The URL to request, either a String or a Object that return by url.parse. + * @param callback @see Callback + */ +export function requestWithCallback(url: string | url.URL, callback: Callback): void; +/** + * @param url The URL to request, either a String or a Object that return by url.parse. + * @param options Optional, @see RequestOptions. + * @param callback @see Callback + */ +export function requestWithCallback(url: string | url.URL, options: RequestOptions, callback: Callback): void; + +/** + * yield urllib.requestThunk(url, args) + * @param url The URL to request, either a String or a Object that return by url.parse. + * @param options Optional, @see RequestOptions. + */ +export function requestThunk(url: string | url.URL, options: RequestOptions): (callback: (...args: any[]) => void) => void; + +/** + * alias to request. + * Handle all http request, both http and https support well. + * + * @example + * // GET http://httptest.cnodejs.net + * urllib.request('http://httptest.cnodejs.net/test/get', function(err, data, res) {}); + * // POST http://httptest.cnodejs.net + * var args = { type: 'post', data: { foo: 'bar' } }; + * urllib.request('http://httptest.cnodejs.net/test/post', args, function(err, data, res) {}); + * + * @param url The URL to request, either a String or a Object that return by url.parse. + * @param options Optional, @see RequestOptions. + */ +export function curl(url: string | url.URL, options?: RequestOptions): Promise; +/** + * @param url The URL to request, either a String or a Object that return by url.parse. + * @param callback @see Callback + */ +export function curl(url: string | url.URL, callback: Callback): void; +/** + * @param url The URL to request, either a String or a Object that return by url.parse. + * @param options Optional, @see RequestOptions. + * @param callback @see Callback + */ +export function curl(url: string | url.URL, options: RequestOptions, callback: Callback): void; +/** + * The default request timeout(in milliseconds). + * @type {Number} + * @const + */ +export const TIMEOUT: number; +/** + * The default request & response timeout(in milliseconds). + * @type {Array} + * @const + */ +export const TIMEOUTS: [number, number]; + +/** + * Request user agent. + * @type {String} + * @const + */ +export const USER_AGENT: string; + +/** + * Request http agent. + * @type {http.Agent} + */ +export const agent: http.Agent; + +/** + * Request https agent. + * @type {https.Agent} + */ +export const httpsAgent: https.Agent; + +export class HttpClient extends EventEmitter { + constructor(options?: RequestOptions); + + request(url: string | url.URL, callback: Callback): void; + request(url: string | url.URL, options: RequestOptions, callback: Callback): void; + + curl(url: string | url.URL, callback: Callback): void; + curl(url: string | url.URL, options: RequestOptions, callback: Callback): void; + + requestThunk(url: string | url.URL, options?: RequestOptions): (callback: (...args: any[]) => void) => void; +} + +/** + * request method only return a promise, + * compatible with async/await and generator in co. + * @constructor {RequestOptions} Optional @see RequestOptions + */ +export class HttpClient2 extends EventEmitter { + constructor(options?: RequestOptions); + + request(url: string | url.URL, options?: RequestOptions): Promise; + + curl(url: string | url.URL, options?: RequestOptions): Promise; + + requestThunk(url: string | url.URL, options?: RequestOptions): (callback: (...args: any[]) => void) => void; +} + +/** + * Create a HttpClient incetance. + * @param options + * @return {HttpClient} HttpClient incetance. + */ +export function create(options?: RequestOptions): HttpClient; + +export as namespace urllib; diff --git a/types/urllib/tslint.json b/types/urllib/tslint.json index 3db14f85ea..886f1a8b6c 100644 --- a/types/urllib/tslint.json +++ b/types/urllib/tslint.json @@ -1 +1,79 @@ -{ "extends": "dtslint/dt.json" } +{ + "extends": "dtslint/dt.json", + "rules": { + "adjacent-overload-signatures": false, + "array-type": false, + "arrow-return-shorthand": false, + "ban-types": false, + "callable-types": false, + "comment-format": false, + "dt-header": false, + "eofline": false, + "export-just-namespace": false, + "import-spacing": false, + "interface-name": false, + "interface-over-type-literal": false, + "jsdoc-format": false, + "max-line-length": false, + "member-access": false, + "new-parens": false, + "no-any-union": false, + "no-boolean-literal-compare": false, + "no-conditional-assignment": false, + "no-consecutive-blank-lines": false, + "no-construct": false, + "no-declare-current-package": false, + "no-duplicate-imports": false, + "no-duplicate-variable": false, + "no-empty-interface": false, + "no-for-in-array": false, + "no-inferrable-types": false, + "no-internal-module": false, + "no-irregular-whitespace": false, + "no-mergeable-namespace": false, + "no-misused-new": false, + "no-namespace": false, + "no-object-literal-type-assertion": false, + "no-padding": false, + "no-redundant-jsdoc": false, + "no-redundant-jsdoc-2": false, + "no-redundant-undefined": false, + "no-reference-import": false, + "no-relative-import-in-test": false, + "no-self-import": false, + "no-single-declare-module": false, + "no-string-throw": false, + "no-unnecessary-callback-wrapper": false, + "no-unnecessary-class": false, + "no-unnecessary-generics": false, + "no-unnecessary-qualifier": false, + "no-unnecessary-type-assertion": false, + "no-useless-files": false, + "no-var-keyword": false, + "no-var-requires": false, + "no-void-expression": false, + "no-trailing-whitespace": false, + "object-literal-key-quotes": false, + "object-literal-shorthand": false, + "one-line": false, + "one-variable-per-declaration": false, + "only-arrow-functions": false, + "prefer-conditional-expression": false, + "prefer-const": false, + "prefer-declare-function": false, + "prefer-for-of": false, + "prefer-method-signature": false, + "prefer-template": false, + "radix": false, + "semicolon": false, + "space-before-function-paren": false, + "space-within-parens": false, + "strict-export-declare-modifiers": false, + "trim-file": false, + "triple-equals": false, + "typedef-whitespace": false, + "unified-signatures": false, + "void-return": false, + "whitespace": false + } +} diff --git a/types/urllib/urllib-tests.ts b/types/urllib/urllib-tests.ts index 5936bcc817..cd15b42c8f 100644 --- a/types/urllib/urllib-tests.ts +++ b/types/urllib/urllib-tests.ts @@ -1,8 +1,8 @@ -import * as urllib from "."; +import * as urllib from "urllib"; urllib.curl('https://example.test.com', { method: "GET", data: { test: 'test', } -}) +}); From dc9f306a6e9a378b3784063ecaa71b2ee2e904cb Mon Sep 17 00:00:00 2001 From: SoraYama Date: Wed, 14 Feb 2018 02:38:16 +0800 Subject: [PATCH 397/463] change object to Object for 2.1 test --- types/urllib/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/urllib/index.d.ts b/types/urllib/index.d.ts index 44a4e9d77e..d800068e84 100644 --- a/types/urllib/index.d.ts +++ b/types/urllib/index.d.ts @@ -46,7 +46,7 @@ export interface RequestOptions { /** Fix the control characters (U+0000 through U+001F) before JSON parse response. Default is false. */ fixJSONCtlChars?: boolean; /** Request headers. */ - headers?: object; + headers?: Object; /** * Request timeout in milliseconds for connecting phase and response receiving phase. * Defaults to exports. @@ -109,7 +109,7 @@ export interface RequestOptions { /** Enable proxy request, default is false. */ enableProxy?: boolean; /** proxy agent uri or options, default is null. */ - proxy?: string | object; + proxy?: string | Object; } /** From d3045c2a594d82b81105210a2e8ef0528e04a597 Mon Sep 17 00:00:00 2001 From: Huw McNamara Date: Tue, 13 Feb 2018 18:45:46 +0000 Subject: [PATCH 398/463] undid TlsOptions name change node v8 --- types/node/v8/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/node/v8/index.d.ts b/types/node/v8/index.d.ts index 6caa68ba5d..ac7789e12a 100644 --- a/types/node/v8/index.d.ts +++ b/types/node/v8/index.d.ts @@ -1730,7 +1730,7 @@ declare module "https" { import * as http from "http"; import { URL } from "url"; - export type ServerOptions = tls.SecureContextOptions & tls.TlsServerOptions; + export type ServerOptions = tls.SecureContextOptions & tls.TlsOptions; // see https://nodejs.org/docs/latest-v8.x/api/https.html#https_https_request_options_callback type extendedRequestKeys = "pfx" | @@ -4932,7 +4932,7 @@ declare module "tls" { prependOnceListener(event: "secureConnect", listener: () => void): this; } - export interface TlsServerOptions extends SecureContextOptions { + export interface TlsOptions extends SecureContextOptions { handshakeTimeout?: number; requestCert?: boolean; rejectUnauthorized?: boolean; @@ -5067,7 +5067,7 @@ declare module "tls" { * Returns Error object, populating it with the reason, host and cert on failure. On success, returns undefined. */ export function checkServerIdentity(host: string, cert: PeerCertificate): Error | undefined; - export function createServer(options: TlsServerOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server; + export function createServer(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server; export function connect(options: ConnectionOptions, secureConnectionListener?: () => void): TLSSocket; export function connect(port: number, host?: string, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; export function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; @@ -6462,7 +6462,7 @@ declare module "http2" { export type ServerSessionOptions = SessionOptions; export interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions { } - export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsServerOptions { } + export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsOptions { } export interface ServerOptions extends ServerSessionOptions { allowHTTP1?: boolean; From 27be6ce35b2809a2ad8f8068a8c7462d5e36ee59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danilo=20B=C3=BCrger?= Date: Tue, 13 Feb 2018 20:16:02 +0100 Subject: [PATCH 399/463] [react-native] Platform.Version can be a string --- types/react-native/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index c2ca58a5f3..8487649fb9 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -5199,7 +5199,7 @@ export type PlatformOSType = "ios" | "android" | "macos" | "windows" | "web"; interface PlatformStatic { OS: PlatformOSType; - Version: number; + Version: number | string; /** * @see https://facebook.github.io/react-native/docs/platform-specific-code.html#content From 49b7e17e6e67c7798b79cb5e9c7d25f13d83053f Mon Sep 17 00:00:00 2001 From: Ralph Gutkowski Date: Tue, 13 Feb 2018 19:20:26 +0000 Subject: [PATCH 400/463] knex: Add alias definition to QueryBuilder#select QueryBuilder#select also accepts arguments in form of alias object: knex.select({ owner: "user.name" }); --- types/knex/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/knex/index.d.ts b/types/knex/index.d.ts index 99b6a10476..536a0e0b1d 100644 --- a/types/knex/index.d.ts +++ b/types/knex/index.d.ts @@ -171,6 +171,7 @@ declare namespace Knex { } interface Select extends ColumnNameQueryBuilder { + (aliases: { [alias: string]: string }): QueryBuilder; } interface Table { From 0ae71bb5aebe405ff71998b4da689af3ef35faa4 Mon Sep 17 00:00:00 2001 From: Ralph Gutkowski Date: Tue, 13 Feb 2018 20:06:27 +0000 Subject: [PATCH 401/463] knex: Allow Raw expression for FROM clause --- types/knex/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/knex/index.d.ts b/types/knex/index.d.ts index 536a0e0b1d..51f7ce024d 100644 --- a/types/knex/index.d.ts +++ b/types/knex/index.d.ts @@ -177,6 +177,7 @@ declare namespace Knex { interface Table { (tableName: string): QueryBuilder; (callback: Function): QueryBuilder; + (raw: Raw): QueryBuilder; } interface Distinct extends ColumnNameQueryBuilder { From 6be7b04e77a8075aeef9689e17b47b3cf7fe8ffc Mon Sep 17 00:00:00 2001 From: humpedli Date: Tue, 13 Feb 2018 21:21:23 +0100 Subject: [PATCH 402/463] pulltorefreshjs - Pull request requested changes --- types/pulltorefreshjs/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/types/pulltorefreshjs/index.d.ts b/types/pulltorefreshjs/index.d.ts index 3e2c29f6ce..b28d840d7b 100644 --- a/types/pulltorefreshjs/index.d.ts +++ b/types/pulltorefreshjs/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for pulltorefreshjs 0.2 +// Type definitions for pulltorefreshjs 0.1 // Project: https://github.com/BoxFactura/pulltorefresh.js // Definitions by: Daniel Rosenwasser // Tamas Kinsztler @@ -124,7 +124,8 @@ export interface Options { /** * This value will be passed as `{ passive: true|false }` to `touchmove` * listeners if passive-handlers are supported. - * (default: `false`) + * + * Defaults to `false` */ passive?: boolean; } From 2664a12fa013bed78bcdd8cecf44b3d10ca80ae7 Mon Sep 17 00:00:00 2001 From: William Lohan Date: Tue, 13 Feb 2018 13:14:42 -0800 Subject: [PATCH 403/463] fix gifffer --- types/gifffer/gifffer-tests.ts | 2 +- types/gifffer/index.d.ts | 20 +++++++++++++------- types/gifffer/tsconfig.json | 5 ++--- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/types/gifffer/gifffer-tests.ts b/types/gifffer/gifffer-tests.ts index b069e0020c..03d54f0d89 100644 --- a/types/gifffer/gifffer-tests.ts +++ b/types/gifffer/gifffer-tests.ts @@ -1,4 +1,4 @@ -import Gifffer from 'gifffer'; +import * as Gifffer from 'gifffer'; let gifs: HTMLButtonElement[]; diff --git a/types/gifffer/index.d.ts b/types/gifffer/index.d.ts index ac0f7663cc..c9742d31b8 100644 --- a/types/gifffer/index.d.ts +++ b/types/gifffer/index.d.ts @@ -3,15 +3,21 @@ // Definitions by: William Lohan // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/** - * @see {@link https://github.com/krasimir/gifffer#styling|Styling} - */ -export interface GiffferOptions { - playButtonStyles: { [style: string]: string; }; - playButtonIconStyles: { [style: string]: string; }; +declare namespace Gifffer { + /** + * @see {@link https://github.com/krasimir/gifffer#styling|Styling} + */ + interface GiffferOptions { + playButtonStyles: { [style: string]: string; }; + playButtonIconStyles: { [style: string]: string; }; + } } /** * @see {@link https://github.com/krasimir/gifffer#usage|Usage} */ -export default function Gifffer(options?: GiffferOptions): HTMLButtonElement[]; +declare function Gifffer(options?: Gifffer.GiffferOptions): HTMLButtonElement[]; + +export as namespace Gifffer; + +export = Gifffer; diff --git a/types/gifffer/tsconfig.json b/types/gifffer/tsconfig.json index e5d099d008..273e998048 100644 --- a/types/gifffer/tsconfig.json +++ b/types/gifffer/tsconfig.json @@ -15,11 +15,10 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "gifffer-tests.ts" ] -} \ No newline at end of file +} From 13c5a9e9773b1487889d63708cf21897b74f2bba Mon Sep 17 00:00:00 2001 From: GlenCFL Date: Tue, 13 Feb 2018 15:50:14 -0500 Subject: [PATCH 404/463] atom: bump to version 1.24. --- types/atom/atom-tests.ts | 1 - types/atom/index.d.ts | 77 ++++++++++++++++++++++++++++++++-------- 2 files changed, 63 insertions(+), 15 deletions(-) diff --git a/types/atom/atom-tests.ts b/types/atom/atom-tests.ts index fbd5f6d0d8..e53e29b176 100644 --- a/types/atom/atom-tests.ts +++ b/types/atom/atom-tests.ts @@ -2897,7 +2897,6 @@ function testTextEditor() { // Grammars grammar = editor.getGrammar(); - editor.setGrammar(grammar); // Managing Syntax Scopes scopeDescriptor = editor.getRootScopeDescriptor(); diff --git a/types/atom/index.d.ts b/types/atom/index.d.ts index d1b1d42d6d..9b0d194976 100644 --- a/types/atom/index.d.ts +++ b/types/atom/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Atom 1.23 +// Type definitions for Atom 1.24 // Project: https://github.com/atom/atom // Definitions by: GlenCFL // smhxx @@ -7,7 +7,7 @@ // TypeScript Version: 2.3 // NOTE: only those classes exported within this file should be retain that status below. -// https://github.com/atom/atom/blob/v1.23.0/exports/atom.js +// https://github.com/atom/atom/blob/v1.24.0/exports/atom.js /// /// @@ -1312,6 +1312,12 @@ export class TextEditor { /** Retrieves the current TextBuffer. */ getBuffer(): TextBuffer; + /** Sets the read-only state for the editor. */ + setReadOnly(readonly: boolean): void; + + /** Whether or not this editor is in read-only mode. */ + isReadOnly(): boolean; + /** * Calls your callback when a Gutter is added to the editor. Immediately calls * your callback for each existing gutter. @@ -1911,7 +1917,7 @@ export class TextEditor { getCursors(): Cursor[]; /** - * Get all Cursorss, ordered by their position in the buffer instead of the + * Get all Cursors, ordered by their position in the buffer instead of the * order in which they were added. */ getCursorsOrderedByBufferPosition(): Cursor[]; @@ -2260,12 +2266,6 @@ export class TextEditor { /** Get the current Grammar of this editor. */ getGrammar(): Grammar; - /** - * Set the current Grammar of this editor. - * Assigning a grammar will cause the editor to re-tokenize based on the new grammar. - */ - setGrammar(grammar: Grammar): void; - // Managing Syntax Scopes /** * Returns a ScopeDescriptor that includes this editor's language. @@ -3847,6 +3847,51 @@ export interface GrammarRegistry { * @return An array of Token instances decoded from the given tags. */ decodeTokens(lineText: string, tags: Array): GrammarToken[]; + + /** + * Set a TextBuffer's language mode based on its path and content, and continue + * to update its language mode as grammars are added or updated, or the buffer's + * file path changes. + * @param buffer The buffer whose language mode will be maintained. + * @return A Disposable that can be used to stop updating the buffer's + * language mode. + */ + maintainLanguageMode(buffer: TextBuffer): Disposable; + + /** + * Force a TextBuffer to use a different grammar than the one that would otherwise + * be selected for it. + * @param buffer The buffer whose grammar will be set. + * @param languageId The identifier of the desired language. + * @return Returns a boolean that indicates whether the language was successfully + * found. + */ + assignLanguageMode(buffer: TextBuffer, languageId: string): boolean; + + /** + * Remove any language mode override that has been set for the given TextBuffer. + * This will assign to the buffer the best language mode available. + */ + autoAssignLanguageMode(buffer: TextBuffer): void; + + /** + * Select a grammar for the given file path and file contents. + * + * This picks the best match by checking the file path and contents against + * each grammar. + * @param filePath A string file path. + * @param fileContents A string of text for that file path. + */ + selectGrammar(filePath: string, fileContents: string): Grammar; + + /** + * Returns a number representing how well the grammar matches the + * `filePath` and `contents`. + * @param grammar The grammar to score. + * @param filePath A string file path. + * @param contents A string of text for that file path. + */ + getGrammarScore(grammar: Grammar, filePath: string, contents: string): number; } /** Represents a gutter within a TextEditor. */ @@ -4366,7 +4411,7 @@ export interface PathWatcher extends DisposableLike { /** * Unsubscribe all subscribers from filesystem events. Native resources will be - * release asynchronously, but this watcher will stop broadcasting events + * released asynchronously, but this watcher will stop broadcasting events * immediately. */ dispose(): void; @@ -4391,7 +4436,11 @@ export interface Project { onDidChangeFiles(callback: (events: FilesystemChangeEvent) => void): Disposable; // Accessing the Git Repository - /** Get an Array of GitRepositorys associated with the project's directories. */ + /** + * Get an Array of GitRepositorys associated with the project's directories. + * + * This method will be removed in 2.0 because it does synchronous I/O. + */ getRepositories(): GitRepository[]; /** Get the repository for a given directory asynchronously. */ @@ -5075,7 +5124,7 @@ export class TextBuffer { /** * Get a MarkerLayer by id. - * Returns a MarkerLayer or `` if no layer exists with the given id. + * Returns a MarkerLayer or undefined if no layer exists with the given id. */ getMarkerLayer(id: string): MarkerLayer|undefined; @@ -5313,7 +5362,7 @@ export interface ThemeManager { /** Returns an Array of all the loaded themes. */ getLoadedThemes(): Package[]|undefined; - // Accessing Active Themes + // Managing Enabled Themes /** Returns an Array of strings all the active theme names. */ getActiveThemeNames(): string[]|undefined; @@ -5695,7 +5744,7 @@ export interface TextEditorObservedEvent { // information under certain contexts. // NOTE: the config schema with these defaults can be found here: -// https://github.com/atom/atom/blob/v1.23.0/src/config-schema.js +// https://github.com/atom/atom/blob/v1.24.0/src/config-schema.js /** * Allows you to strongly type Atom configuration variables. Additional key:value * pairings merged into this interface will result in configuration values under From 1800dc02c8ba6ac76fe167e7498f18f5503791be Mon Sep 17 00:00:00 2001 From: William Lohan Date: Tue, 13 Feb 2018 13:42:50 -0800 Subject: [PATCH 405/463] gifffer fix esModuleInterop --- types/gifffer/gifffer-tests.ts | 2 +- types/gifffer/tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/types/gifffer/gifffer-tests.ts b/types/gifffer/gifffer-tests.ts index 03d54f0d89..cd718cd56a 100644 --- a/types/gifffer/gifffer-tests.ts +++ b/types/gifffer/gifffer-tests.ts @@ -1,4 +1,4 @@ -import * as Gifffer from 'gifffer'; +import Gifffer = require('gifffer'); let gifs: HTMLButtonElement[]; diff --git a/types/gifffer/tsconfig.json b/types/gifffer/tsconfig.json index 273e998048..20a6f19517 100644 --- a/types/gifffer/tsconfig.json +++ b/types/gifffer/tsconfig.json @@ -15,7 +15,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", From 740cbb4f5794385d71253bfa2498eda5666c3635 Mon Sep 17 00:00:00 2001 From: Francisco Ramos Date: Tue, 13 Feb 2018 23:29:00 +0100 Subject: [PATCH 406/463] Added popperContainer prop --- types/react-datepicker/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/react-datepicker/index.d.ts b/types/react-datepicker/index.d.ts index ffc206cad5..120be49f79 100644 --- a/types/react-datepicker/index.d.ts +++ b/types/react-datepicker/index.d.ts @@ -58,6 +58,7 @@ export interface ReactDatePickerProps { openToDate?: moment.Moment; peekNextMonth?: boolean; placeholderText?: string; + popperContainer?(props: { children: React.ReactNode[] }): React.ReactNode; popperClassName?: string; popperModifiers?: any; popperPlacement?: string; From b115552442a1f072a4e1d46f9fead5a52ff76dac Mon Sep 17 00:00:00 2001 From: Francisco Ramos Date: Tue, 13 Feb 2018 23:39:55 +0100 Subject: [PATCH 407/463] Added alphabetical order --- types/react-datepicker/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-datepicker/index.d.ts b/types/react-datepicker/index.d.ts index 120be49f79..368894c0ed 100644 --- a/types/react-datepicker/index.d.ts +++ b/types/react-datepicker/index.d.ts @@ -58,8 +58,8 @@ export interface ReactDatePickerProps { openToDate?: moment.Moment; peekNextMonth?: boolean; placeholderText?: string; - popperContainer?(props: { children: React.ReactNode[] }): React.ReactNode; popperClassName?: string; + popperContainer?(props: { children: React.ReactNode[] }): React.ReactNode; popperModifiers?: any; popperPlacement?: string; preventOpenOnFocus?: boolean; From 272910b18c40ef5a6526f9983ab7adc94836747e Mon Sep 17 00:00:00 2001 From: Rich Date: Tue, 13 Feb 2018 15:52:16 -0700 Subject: [PATCH 408/463] Add null type to Value union type. In accordance with the source code : https://github.com/tgriesser/knex/blob/ca702cf4d15a48b246b130738b9f0948026086c1/src/query/builder.js#L253 This will allow us to manually use 'is null' in a Where filter --- types/knex/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/knex/index.d.ts b/types/knex/index.d.ts index 99b6a10476..520bec913a 100644 --- a/types/knex/index.d.ts +++ b/types/knex/index.d.ts @@ -16,7 +16,7 @@ import Bluebird = require("bluebird"); type Callback = Function; type Client = Function; -type Value = string | number | boolean | Date | Array | Array | Array | Array | Buffer | Knex.Raw; +type Value = string | number | boolean | Date | null | Array | Array | Array | Array | Buffer | Knex.Raw; type ColumnName = string | Knex.Raw | Knex.QueryBuilder | {[key: string]: string }; type TableName = string | Knex.Raw | Knex.QueryBuilder; From 8549fe28c83fc90642b88764d23df62e20b8b8e3 Mon Sep 17 00:00:00 2001 From: Eric Byers Date: Tue, 13 Feb 2018 16:53:02 -0600 Subject: [PATCH 409/463] Add terminateVisibilityTimeout --- types/sqs-consumer/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/sqs-consumer/index.d.ts b/types/sqs-consumer/index.d.ts index 73da1ff980..80b68e58d0 100644 --- a/types/sqs-consumer/index.d.ts +++ b/types/sqs-consumer/index.d.ts @@ -19,6 +19,7 @@ declare namespace Consumer { messageAttributeNames?: string[]; batchSize?: number; visibilityTimeout?: number; + terminateVisibilityTimeout?: boolean; waitTimeSeconds?: number; authenticationErrorTimeout?: number; sqs?: SQS; From 1a8db8b1bf54719588d037f50a101b502bc167d1 Mon Sep 17 00:00:00 2001 From: Eric Byers Date: Tue, 13 Feb 2018 16:54:43 -0600 Subject: [PATCH 410/463] Increment version. --- types/sqs-consumer/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/sqs-consumer/index.d.ts b/types/sqs-consumer/index.d.ts index 80b68e58d0..d333ed5fca 100644 --- a/types/sqs-consumer/index.d.ts +++ b/types/sqs-consumer/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for sqs-consumer 3.7 +// Type definitions for sqs-consumer 3.8 // Project: https://github.com/BBC/sqs-consumer // Definitions by: Daniel Chao // Eric Byers From a26a0a02efd60a83c8f325942a3778daccf8beb0 Mon Sep 17 00:00:00 2001 From: Eric Byers Date: Tue, 13 Feb 2018 16:55:50 -0600 Subject: [PATCH 411/463] Add terminateVisibilityTimeout to a test --- types/sqs-consumer/sqs-consumer-tests.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/sqs-consumer/sqs-consumer-tests.ts b/types/sqs-consumer/sqs-consumer-tests.ts index f22e75b523..a1a473e0de 100644 --- a/types/sqs-consumer/sqs-consumer-tests.ts +++ b/types/sqs-consumer/sqs-consumer-tests.ts @@ -17,7 +17,8 @@ const app2 = Consumer.create({ region: "us-west-1", batchSize: 15, visibilityTimeout: 50, - waitTimeSeconds: 50 + waitTimeSeconds: 50, + terminateVisibilityTimeout: true }); // Test message handler. From c1f42f6dfb2a0a4e42ca53386f7a677fa660e3e1 Mon Sep 17 00:00:00 2001 From: Eric Byers Date: Tue, 13 Feb 2018 16:56:22 -0600 Subject: [PATCH 412/463] tab -> spaces --- types/sqs-consumer/sqs-consumer-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/sqs-consumer/sqs-consumer-tests.ts b/types/sqs-consumer/sqs-consumer-tests.ts index a1a473e0de..c097ce5644 100644 --- a/types/sqs-consumer/sqs-consumer-tests.ts +++ b/types/sqs-consumer/sqs-consumer-tests.ts @@ -18,7 +18,7 @@ const app2 = Consumer.create({ batchSize: 15, visibilityTimeout: 50, waitTimeSeconds: 50, - terminateVisibilityTimeout: true + terminateVisibilityTimeout: true }); // Test message handler. From 1076f560aec536fcf19e4fcdab12a036ef1486e9 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Tue, 13 Feb 2018 16:25:02 -0800 Subject: [PATCH 413/463] Update version number in DT header. --- types/dwt/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/dwt/index.d.ts b/types/dwt/index.d.ts index 230cd63d19..b19980603e 100644 --- a/types/dwt/index.d.ts +++ b/types/dwt/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for dwt 13.1 +// Type definitions for dwt 13.3 // Project: http://www.dynamsoft.com/Products/WebTWAIN_Overview.aspx // Definitions by: Xiao Ling // Josh Hall From 9c8c32349e994dffb6d364b4829673418fefde56 Mon Sep 17 00:00:00 2001 From: Chris Krycho Date: Tue, 13 Feb 2018 17:27:47 -0700 Subject: [PATCH 414/463] Ember: make `Mixin` exported in namespaced modules a `class`. --- types/ember/index.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/types/ember/index.d.ts b/types/ember/index.d.ts index 26a664450f..ff0596f62d 100755 --- a/types/ember/index.d.ts +++ b/types/ember/index.d.ts @@ -3592,8 +3592,7 @@ declare module '@ember/object/internals' { declare module '@ember/object/mixin' { import Ember from 'ember'; - const Mixin: typeof Ember.Mixin; - export default Mixin; + export default class Mixin extends Ember.Mixin {} } declare module '@ember/object/observable' { From 0754a524b1195cbb87a661e0f1a4216fd3d2bb3b Mon Sep 17 00:00:00 2001 From: Umoxfo Date: Tue, 13 Feb 2018 17:17:50 -0800 Subject: [PATCH 415/463] Add support for tar-fs --- types/tar-fs/index.d.ts | 48 ++++++++++++++++++ types/tar-fs/tar-fs-tests.ts | 98 ++++++++++++++++++++++++++++++++++++ types/tar-fs/tsconfig.json | 24 +++++++++ types/tar-fs/tslint.json | 3 ++ 4 files changed, 173 insertions(+) create mode 100644 types/tar-fs/index.d.ts create mode 100644 types/tar-fs/tar-fs-tests.ts create mode 100644 types/tar-fs/tsconfig.json create mode 100644 types/tar-fs/tslint.json diff --git a/types/tar-fs/index.d.ts b/types/tar-fs/index.d.ts new file mode 100644 index 0000000000..07c02bab4b --- /dev/null +++ b/types/tar-fs/index.d.ts @@ -0,0 +1,48 @@ +// Type definitions for tar-fs 1.16 +// Project: https://github.com/mafintosh/tar-fs +// Definitions by: Umoxfo +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.6 + +// Imported from: https://github.com/soywiz/typescript-node-definitions/d.ts + +/// + +import fs = require("fs"); + +export function pack(cwd: string, opts?: PackOptions): any; +export function extract(cwd: string, opts?: ExtractOptions): any; + +export interface Options { + ignore?: (name: string) => boolean; + filter?: (name: string) => boolean; + map?: (header: Headers) => Headers; + mapStream?: (fileStream: fs.ReadStream, header: Headers) => fs.ReadStream; + strict?: boolean; +} + +export interface PackOptions extends Options { + entries?: string[]; + dereference?: boolean; + finalize?: boolean; + finish?: (pack: any) => void; +} + +export interface ExtractOptions extends Options { + ignore?: (name: string, header?: Headers) => boolean; + filter?: (name: string, header?: Headers) => boolean; + dmode?: number; + fmode?: number; + readable?: boolean; + writable?: boolean; +} + +export interface Headers { + name: string; + mode: number; + mtime: Date; + size: number; + type: "file" | "directory" | "symlink"; + uid: number; + gid: number; +} diff --git a/types/tar-fs/tar-fs-tests.ts b/types/tar-fs/tar-fs-tests.ts new file mode 100644 index 0000000000..a419f907cb --- /dev/null +++ b/types/tar-fs/tar-fs-tests.ts @@ -0,0 +1,98 @@ +import tar = require("tar-fs"); +import fs = require("fs"); +import path = require("path"); +import stream = require("stream"); + +/* + * Default test + */ +// packing a directory +tar.pack('./my-directory').pipe(fs.createWriteStream('my-tarball.tar')); + +// extracting a directory +fs.createReadStream('my-other-tarball.tar').pipe(tar.extract('./my-other-directory')); + +/* + * Ignore various files + */ +tar.pack('./my-directory', { + ignore: (name) => { + return path.extname(name) === '.bin'; // ignore .bin files when packing + } +}); + +tar.extract('./my-other-directory', { + ignore: (name) => { + return path.extname(name) === '.bin'; // ignore .bin files inside the tarball when extracing + } +}); + +tar.extract('./my-other-other-directory', { + ignore: (_, header) => { + // pass files & directories, ignore e.g. symlinks + return header.type !== 'file' && header.type !== 'directory'; + } +}); + +/* + * Specify which entries to pack + */ +tar.pack('./my-directory', { + entries: ['file1', 'subdir/file2'], // only the specific entries will be packed +}); + +/* + * Modify the headers by map + */ +tar.pack('./my-directory', { + map: (header) => { + header.name = 'prefixed/' + header.name; + return header; + } +}); + +tar.extract('./my-directory', { + map: (header) => { + header.name = 'another-prefix/' + header.name; + return header; + } +}); + +/* + * Modify the headers by mapStream + */ +tar.pack('./my-directory', { + mapStream: (fileStream, header) => { + if (path.extname(header.name) === '.js') { + return fileStream; + } + return fileStream; + } +}); + +tar.extract('./my-directory', { + mapStream: (fileStream, header) => { + if (path.extname(header.name) === '.js') { + return fileStream; + } + return fileStream; + } +}); + +/* + * The corresponding modes + */ +tar.extract('./my-directory', { + dmode: parseInt("555", 8), + fmode: parseInt("444", 8), + readable: true, + writable: true, +}); + +/* + * The other options + */ +tar.pack('./my-directory', { + strict: false, + dereference: true, +}); diff --git a/types/tar-fs/tsconfig.json b/types/tar-fs/tsconfig.json new file mode 100644 index 0000000000..c7f77701e8 --- /dev/null +++ b/types/tar-fs/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "tar-fs-tests.ts" + ] +} \ No newline at end of file diff --git a/types/tar-fs/tslint.json b/types/tar-fs/tslint.json new file mode 100644 index 0000000000..e60c15844f --- /dev/null +++ b/types/tar-fs/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "dtslint/dt.json" +} \ No newline at end of file From bafb012591443ec8fc0b8ff5a9ba9afbd4a6ff90 Mon Sep 17 00:00:00 2001 From: AndersonFriaca Date: Tue, 13 Feb 2018 23:42:36 -0300 Subject: [PATCH 416/463] Types for jquery-countdown --- types/jquery-countdown/index.d.ts | 147 ++++++++++++++++++ .../jquery-countdown-tests.ts | 33 ++++ types/jquery-countdown/tsconfig.json | 25 +++ types/jquery-countdown/tslint.json | 1 + 4 files changed, 206 insertions(+) create mode 100644 types/jquery-countdown/index.d.ts create mode 100644 types/jquery-countdown/jquery-countdown-tests.ts create mode 100644 types/jquery-countdown/tsconfig.json create mode 100644 types/jquery-countdown/tslint.json diff --git a/types/jquery-countdown/index.d.ts b/types/jquery-countdown/index.d.ts new file mode 100644 index 0000000000..38a411c524 --- /dev/null +++ b/types/jquery-countdown/index.d.ts @@ -0,0 +1,147 @@ +// Type definitions for jQuery Countdown 2.2 +// Project: https://github.com/hilios/jQuery.countdown +// Definitions by: Anderson Friaça +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +/// + +declare namespace jQueryCountdown { + interface Options { + /** + * Allow to continue after finishes + */ + elapse?: boolean; + + /** + * The update rate in milliseconds + */ + precision?: number; + + /** + * Deferred initialization mode + */ + defer?: boolean; + } + + interface Event extends JQuery.Event { + /** + * The namespaced event type + */ + type: string; + + /** + * The formatter function + */ + strftime: ((format: string) => string); + + /** + * The parsed final date native object + */ + finalDate: Date; + + /** + * Passed away the final date? + */ + elapsed: boolean; + + offset: OffsetEvent; + } + + interface OffsetEvent { + /** + * Seconds left for the next minute + */ + seconds: number; + + /** + * Minutes left for the next hour + */ + minutes: number; + + /** + * Hours left until next day + */ + hours: number; + + /** + * Days left until next week + */ + days: number; + + /** + * Days left until next week + */ + daysToWeek: number; + + /** + * Days left until next month + */ + daysToMonth: number; + + /** + * Weeks left until the final date + */ + weeks: number; + + /** + * Weeks left until the next month + */ + weeksToMonth: number; + + /** + * Months left until final date + */ + months: number; + + /** + * Years left until final date + */ + years: number; + + /** + * Total amount of days left until final date + */ + totalDays: number; + + /** + * Total amount of hours left until final date + */ + totalHours: number; + + /** + * Total amount of minutes left until final date + */ + totalMinutes: number; + + /** + * Total amount of seconds left until final date + */ + totalSeconds: number; + } + + type Methods = 'update.countdown' | 'finish.countdown' | 'stop.countdown'; + + type Controls = 'start' | 'stop' | 'pause' | 'resume'; +} +interface JQuery { + /** + * Initialize the countdown + */ + countdown(finalDate: string, callback?: ((event: jQueryCountdown.Event) => void)): JQuery; + + /** + * Initialize the countdown with options + */ + countdown(finalDate: string, options: jQueryCountdown.Options, callback?: ((event: jQueryCountdown.Event) => void)): JQuery; + + /** + * Methods to control the execution flow of countdown + */ + countdown(control: jQueryCountdown.Controls): JQuery; + + /** + * Trigger an event whenever some state change + */ + on(method: jQueryCountdown.Methods, callback: ((event: jQueryCountdown.Event) => void)): JQuery; +} diff --git a/types/jquery-countdown/jquery-countdown-tests.ts b/types/jquery-countdown/jquery-countdown-tests.ts new file mode 100644 index 0000000000..a93b734659 --- /dev/null +++ b/types/jquery-countdown/jquery-countdown-tests.ts @@ -0,0 +1,33 @@ +// basic usage +$(document).ready(() => { + $('#countdown').countdown('2019/01/01'); + + // with options + $('#countdown').countdown('2019/01/01', { + elapse: true + }); + + // with options and callback + $('#countdown').countdown('2019/01/01', { + elapse: true + }, event => { + $('#countdown').html(event.strftime('%w weeks %d days %H:%M:%S')); + }); + + // Methods + $('#countdown').on('update.countdown', (event => { + $('#countdown').html(event.strftime('%w weeks %d days %H:%M:%S')); + })); + $('#countdown').on('finish.countdown', (event => { + $('#countdown').html(event.strftime('%w weeks %d days %H:%M:%S')); + })); + $('#countdown').on('stop.countdown', (event => { + $('#countdown').html(event.strftime('%w weeks %d days %H:%M:%S')); + })); + + // Controls + $('#countdown').countdown('start'); + $('#countdown').countdown('stop'); + $('#countdown').countdown('pause'); + $('#countdown').countdown('resume'); +}); diff --git a/types/jquery-countdown/tsconfig.json b/types/jquery-countdown/tsconfig.json new file mode 100644 index 0000000000..48c8d25647 --- /dev/null +++ b/types/jquery-countdown/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "jquery-countdown-tests.ts" + ] +} \ No newline at end of file diff --git a/types/jquery-countdown/tslint.json b/types/jquery-countdown/tslint.json new file mode 100644 index 0000000000..d04fe2e1fa --- /dev/null +++ b/types/jquery-countdown/tslint.json @@ -0,0 +1 @@ +{"extends": "dtslint/dt.json"} \ No newline at end of file From 0393e67313cc5b877777ab5d0a901cac240922c8 Mon Sep 17 00:00:00 2001 From: SoraYama Date: Wed, 14 Feb 2018 12:03:33 +0800 Subject: [PATCH 417/463] fix lint rules --- types/urllib/index.d.ts | 49 +++++++++++++------------- types/urllib/tslint.json | 74 ++-------------------------------------- 2 files changed, 26 insertions(+), 97 deletions(-) diff --git a/types/urllib/index.d.ts b/types/urllib/index.d.ts index d800068e84..e3897b77f6 100644 --- a/types/urllib/index.d.ts +++ b/types/urllib/index.d.ts @@ -10,7 +10,8 @@ import * as url from 'url'; import { Readable, Writable } from 'stream'; import { EventEmitter } from 'events'; -export interface RequestOptions { +export as namespace urllib; +export interface IRequestOptions { /** Request method, defaults to GET. Could be GET, POST, DELETE or PUT. Alias 'type'. */ method?: "GET" | "POST" | "DELETE" | "PUT"; /** Data to be sent. Will be stringify automatically. */ @@ -130,9 +131,9 @@ type Callback = (err: Error, data: any, res: http.IncomingMessage) => void; * urllib.request('http://httptest.cnodejs.net/test/post', args, function(err, data, res) {}); * * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see RequestOptions. + * @param options Optional, @see IRequestOptions. */ -export function request(url: string | url.URL, options?: RequestOptions): Promise; +export function request(url: string | url.URL, options?: IRequestOptions): Promise; /** * @param url The URL to request, either a String or a Object that return by url.parse. * @param callback @see Callback @@ -140,10 +141,10 @@ export function request(url: string | url.URL, options?: RequestOptions): Promis export function request(url: string | url.URL, callback: Callback): void; /** * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see RequestOptions. + * @param options Optional, @see IRequestOptions. * @param callback @see Callback */ -export function request(url: string | url.URL, options: RequestOptions, callback: Callback): void; +export function request(url: string | url.URL, options: IRequestOptions, callback: Callback): void; /** * Handle request with a callback. @@ -153,17 +154,17 @@ export function request(url: string | url.URL, options: RequestOptions, callback export function requestWithCallback(url: string | url.URL, callback: Callback): void; /** * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see RequestOptions. + * @param options Optional, @see IRequestOptions. * @param callback @see Callback */ -export function requestWithCallback(url: string | url.URL, options: RequestOptions, callback: Callback): void; +export function requestWithCallback(url: string | url.URL, options: IRequestOptions, callback: Callback): void; /** * yield urllib.requestThunk(url, args) * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see RequestOptions. + * @param options Optional, @see IRequestOptions. */ -export function requestThunk(url: string | url.URL, options: RequestOptions): (callback: (...args: any[]) => void) => void; +export function requestThunk(url: string | url.URL, options: IRequestOptions): (callback: (...args: any[]) => void) => void; /** * alias to request. @@ -177,9 +178,9 @@ export function requestThunk(url: string | url.URL, options: RequestOptions): (c * urllib.request('http://httptest.cnodejs.net/test/post', args, function(err, data, res) {}); * * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see RequestOptions. + * @param options Optional, @see IRequestOptions. */ -export function curl(url: string | url.URL, options?: RequestOptions): Promise; +export function curl(url: string | url.URL, options?: IRequestOptions): Promise; /** * @param url The URL to request, either a String or a Object that return by url.parse. * @param callback @see Callback @@ -187,10 +188,10 @@ export function curl(url: string | url.URL, options?: RequestOptions): Promise void) => void; + requestThunk(url: string | url.URL, options?: IRequestOptions): (callback: (...args: any[]) => void) => void; } /** * request method only return a promise, * compatible with async/await and generator in co. - * @constructor {RequestOptions} Optional @see RequestOptions + * @constructor {IRequestOptions} Optional @see IRequestOptions */ export class HttpClient2 extends EventEmitter { - constructor(options?: RequestOptions); + constructor(options?: IRequestOptions); - request(url: string | url.URL, options?: RequestOptions): Promise; + request(url: string | url.URL, options?: IRequestOptions): Promise; - curl(url: string | url.URL, options?: RequestOptions): Promise; + curl(url: string | url.URL, options?: IRequestOptions): Promise; - requestThunk(url: string | url.URL, options?: RequestOptions): (callback: (...args: any[]) => void) => void; + requestThunk(url: string | url.URL, options?: IRequestOptions): (callback: (...args: any[]) => void) => void; } /** @@ -255,6 +256,4 @@ export class HttpClient2 extends EventEmitter { * @param options * @return {HttpClient} HttpClient incetance. */ -export function create(options?: RequestOptions): HttpClient; - -export as namespace urllib; +export function create(options?: IRequestOptions): HttpClient; diff --git a/types/urllib/tslint.json b/types/urllib/tslint.json index 886f1a8b6c..aa052470bd 100644 --- a/types/urllib/tslint.json +++ b/types/urllib/tslint.json @@ -1,79 +1,9 @@ { "extends": "dtslint/dt.json", "rules": { - "adjacent-overload-signatures": false, - "array-type": false, - "arrow-return-shorthand": false, "ban-types": false, - "callable-types": false, - "comment-format": false, - "dt-header": false, - "eofline": false, - "export-just-namespace": false, - "import-spacing": false, - "interface-name": false, - "interface-over-type-literal": false, - "jsdoc-format": false, - "max-line-length": false, - "member-access": false, - "new-parens": false, - "no-any-union": false, - "no-boolean-literal-compare": false, - "no-conditional-assignment": false, - "no-consecutive-blank-lines": false, - "no-construct": false, - "no-declare-current-package": false, - "no-duplicate-imports": false, - "no-duplicate-variable": false, - "no-empty-interface": false, - "no-for-in-array": false, - "no-inferrable-types": false, - "no-internal-module": false, - "no-irregular-whitespace": false, - "no-mergeable-namespace": false, - "no-misused-new": false, - "no-namespace": false, - "no-object-literal-type-assertion": false, - "no-padding": false, - "no-redundant-jsdoc": false, - "no-redundant-jsdoc-2": false, - "no-redundant-undefined": false, - "no-reference-import": false, - "no-relative-import-in-test": false, - "no-self-import": false, - "no-single-declare-module": false, - "no-string-throw": false, - "no-unnecessary-callback-wrapper": false, - "no-unnecessary-class": false, - "no-unnecessary-generics": false, - "no-unnecessary-qualifier": false, - "no-unnecessary-type-assertion": false, - "no-useless-files": false, - "no-var-keyword": false, - "no-var-requires": false, - "no-void-expression": false, - "no-trailing-whitespace": false, - "object-literal-key-quotes": false, - "object-literal-shorthand": false, - "one-line": false, - "one-variable-per-declaration": false, - "only-arrow-functions": false, - "prefer-conditional-expression": false, - "prefer-const": false, - "prefer-declare-function": false, - "prefer-for-of": false, - "prefer-method-signature": false, - "prefer-template": false, - "radix": false, - "semicolon": false, - "space-before-function-paren": false, - "space-within-parens": false, - "strict-export-declare-modifiers": false, - "trim-file": false, - "triple-equals": false, - "typedef-whitespace": false, - "unified-signatures": false, + "interface-name": true, "void-return": false, - "whitespace": false + "strict-export-declare-modifiers": false } } From 4ed1e026d5122b29c7c0dd5cb53dcc6eb747b973 Mon Sep 17 00:00:00 2001 From: SoraYama Date: Wed, 14 Feb 2018 12:17:13 +0800 Subject: [PATCH 418/463] remove redundant JSDoc tags --- types/urllib/index.d.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/types/urllib/index.d.ts b/types/urllib/index.d.ts index e3897b77f6..4a4ac31214 100644 --- a/types/urllib/index.d.ts +++ b/types/urllib/index.d.ts @@ -194,33 +194,28 @@ export function curl(url: string | url.URL, callback: Callback): void; export function curl(url: string | url.URL, options: IRequestOptions, callback: Callback): void; /** * The default request timeout(in milliseconds). - * @type {Number} * @const */ export const TIMEOUT: number; /** * The default request & response timeout(in milliseconds). - * @type {Array} * @const */ export const TIMEOUTS: [number, number]; /** * Request user agent. - * @type {String} * @const */ export const USER_AGENT: string; /** * Request http agent. - * @type {http.Agent} */ export const agent: http.Agent; /** * Request https agent. - * @type {https.Agent} */ export const httpsAgent: https.Agent; @@ -239,7 +234,6 @@ export class HttpClient extends EventEmitter { /** * request method only return a promise, * compatible with async/await and generator in co. - * @constructor {IRequestOptions} Optional @see IRequestOptions */ export class HttpClient2 extends EventEmitter { constructor(options?: IRequestOptions); From ba6b1b9430679dbc40ba3391236d544212d0deca Mon Sep 17 00:00:00 2001 From: SoraYama Date: Wed, 14 Feb 2018 12:24:26 +0800 Subject: [PATCH 419/463] remove type annotation in JSDoc --- types/urllib/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/urllib/index.d.ts b/types/urllib/index.d.ts index 4a4ac31214..94c77bb319 100644 --- a/types/urllib/index.d.ts +++ b/types/urllib/index.d.ts @@ -248,6 +248,6 @@ export class HttpClient2 extends EventEmitter { /** * Create a HttpClient incetance. * @param options - * @return {HttpClient} HttpClient incetance. + * @return HttpClient incetance. */ export function create(options?: IRequestOptions): HttpClient; From 32e596c7efeb35aea88da74e6fffcf80bc11319c Mon Sep 17 00:00:00 2001 From: SoraYama Date: Wed, 14 Feb 2018 13:35:42 +0800 Subject: [PATCH 420/463] fix lint rule about Object --- types/urllib/index.d.ts | 4 ++-- types/urllib/tslint.json | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/types/urllib/index.d.ts b/types/urllib/index.d.ts index 94c77bb319..ba7e701064 100644 --- a/types/urllib/index.d.ts +++ b/types/urllib/index.d.ts @@ -47,7 +47,7 @@ export interface IRequestOptions { /** Fix the control characters (U+0000 through U+001F) before JSON parse response. Default is false. */ fixJSONCtlChars?: boolean; /** Request headers. */ - headers?: Object; + headers?: { [key: string]: any }; /** * Request timeout in milliseconds for connecting phase and response receiving phase. * Defaults to exports. @@ -110,7 +110,7 @@ export interface IRequestOptions { /** Enable proxy request, default is false. */ enableProxy?: boolean; /** proxy agent uri or options, default is null. */ - proxy?: string | Object; + proxy?: string | { [key: string]: any }; } /** diff --git a/types/urllib/tslint.json b/types/urllib/tslint.json index aa052470bd..6d0aec7baa 100644 --- a/types/urllib/tslint.json +++ b/types/urllib/tslint.json @@ -1,7 +1,6 @@ { "extends": "dtslint/dt.json", "rules": { - "ban-types": false, "interface-name": true, "void-return": false, "strict-export-declare-modifiers": false From 990cc00ae789358552bffda4214a6a05d41da619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danilo=20B=C3=BCrger?= Date: Wed, 14 Feb 2018 12:40:44 +0100 Subject: [PATCH 421/463] [react-native] Exported ViewPropTypes --- types/react-native/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index c2ca58a5f3..a2d248e92c 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -8625,6 +8625,7 @@ export namespace addons { export var ColorPropType: React.Requireable; export var EdgeInsetsPropType: React.Requireable; export var PointPropType: React.Requireable; +export var ViewPropTypes: React.Requireable; declare global { function require(name: string): any; From febbb1626daa9ca0c4f881ff774f552a85480fb3 Mon Sep 17 00:00:00 2001 From: Anton Vasin Date: Wed, 14 Feb 2018 17:08:07 +0300 Subject: [PATCH 422/463] Fix grid-styled dependencies --- types/grid-styled/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/grid-styled/package.json b/types/grid-styled/package.json index 422c766b9a..c381522c0d 100644 --- a/types/grid-styled/package.json +++ b/types/grid-styled/package.json @@ -1,6 +1,6 @@ { "private": true, "dependencies": { - "styled-components": "^3.1.6" + "styled-components": ">=2.0 || >=3.0" } } From f565f7f55a0eb5b43770d2c87774f51c1fb88ae4 Mon Sep 17 00:00:00 2001 From: stelcheck Date: Wed, 14 Feb 2018 23:12:44 +0900 Subject: [PATCH 423/463] playcanvas: assets prefix, app.loadScene assets.prefix was mentioned in metadata, but the attribute was not defined in the class. app.loadScene appears to be undocumented, but is supposed to be used when using the engine programatically. Ref: - https://github.com/playcanvas/engine/issues/1095 - https://github.com/playcanvas/engine/pull/284 --- .../engine/asset/asset-registry.d.ts | 4 +++- .../engine/framework/application.d.ts | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/types/playcanvas/engine/asset/asset-registry.d.ts b/types/playcanvas/engine/asset/asset-registry.d.ts index 7e03744ef2..47dede11a3 100644 --- a/types/playcanvas/engine/asset/asset-registry.d.ts +++ b/types/playcanvas/engine/asset/asset-registry.d.ts @@ -11,6 +11,8 @@ declare namespace pc { class AssetRegistry { constructor(loader: pc.ResourceLoader) + prefix: string; + /** * @function * @name pc.AssetRegistry#list @@ -164,4 +166,4 @@ declare namespace pc { */ find(name: string, type?: string): pc.Asset; } -} \ No newline at end of file +} diff --git a/types/playcanvas/engine/framework/application.d.ts b/types/playcanvas/engine/framework/application.d.ts index ae52a6cea3..404ce2e71f 100644 --- a/types/playcanvas/engine/framework/application.d.ts +++ b/types/playcanvas/engine/framework/application.d.ts @@ -206,6 +206,25 @@ declare namespace pc { */ loadSceneSettings(url: string, callback: (...args: any[]) => {}): void; + /** + * @function + * @name pc.Application#loadScene + * @description Load a scene file. + * @param {String} url The URL of the scene file. Usually this will be "scene_id.json" + * @param {Function} callback The function to call after loading, passed (err, entity) where err is null if no errors occurred. + * @example + * + * app.loadScene("1000.json", function (err, entity) { + * if (!err) { + * var e = app.root.find("My New Entity"); + * } else { + * // error + * } + * } + * }); + */ + loadScene(url: string, callback: (...args: any[]) => {}): void; + /** * @function * @name pc.Application#start From 31879ef6d55341e5b10e59fcc95447b0d183f051 Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Wed, 14 Feb 2018 16:58:15 +0200 Subject: [PATCH 424/463] Default properties --- .../activex-faxcomexlib-tests.ts | 135 +++++++++--------- types/activex-faxcomexlib/index.d.ts | 125 ++++++---------- 2 files changed, 113 insertions(+), 147 deletions(-) diff --git a/types/activex-faxcomexlib/activex-faxcomexlib-tests.ts b/types/activex-faxcomexlib/activex-faxcomexlib-tests.ts index 9ae8c7641d..ef3e403998 100644 --- a/types/activex-faxcomexlib/activex-faxcomexlib-tests.ts +++ b/types/activex-faxcomexlib/activex-faxcomexlib-tests.ts @@ -27,7 +27,7 @@ const getServer = () => { return server; }; -(() => { +{ // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693376(v=vs.85).aspx const server = new ActiveXObject('FaxComEx.FaxServer'); const document = new ActiveXObject('FaxComEx.FaxDocument'); @@ -35,10 +35,10 @@ const getServer = () => { // https://msdn.microsoft.com/en-us/library/windows/desktop/ms692919(v=vs.85).aspx server.Connect(''); server.Connect('computername'); -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693502(v=vs.85).aspx -(() => { +{ const getInitializedDevice = () => { const ret = getServer().GetDevices().ItemById(1); ret.ReceiveMode = FAXCOMEXLib.FAX_DEVICE_RECEIVE_MODE_ENUM.fdrmAUTO_ANSWER; @@ -54,17 +54,17 @@ const getServer = () => { // abandoning changes to configuration, using the Refresh method device = getInitializedDevice(); device.Refresh(); -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693502(v=vs.85).aspx -(() => { +{ const incomingJob = getServer().Folders.IncomingQueue.GetJobs().Item(1); incomingJob.Refresh(); const currentPage = incomingJob.CurrentPage; -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms692922(v=vs.85).aspx -(() => { +{ const server = getServer(); WScript.Echo(`Server information: @@ -72,10 +72,10 @@ API Version: ${server.APIVersion} Debug: ${server.Debug} Build and version: ${server.MajorBuild}.${server.MinorBuild}.${server.MajorVersion}.${server.MinorVersion} Server name: ${server.ServerName}`); -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693455(v=vs.85).aspx -(() => { +{ const activity = getServer().Activity; activity.Refresh(); @@ -84,10 +84,10 @@ ${activity.IncomingMessages} incoming messages ${activity.OutgoingMessages} outgoing messages ${activity.RoutingMessages} routing messages ${activity.QueuedMessages} queued messages`); -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693400(v=vs.85).aspx -(() => { +{ const device = getServer().GetDevices().Item(1); device.CSID = 'Accounts payable'; device.Description = 'Primary fax device'; @@ -96,10 +96,10 @@ ${activity.QueuedMessages} queued messages`); device.SendEnabled = true; device.TSID = 'Accounts payable'; device.Save(); -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms692985(v=vs.85).aspx -(() => { +{ const devices = getServer().GetDevices(); WScript.Echo(`This server has ${devices.Count} fax devices`); for (let i = 1; i <= devices.Count; i++) { @@ -124,10 +124,10 @@ Sending now: ${device.SendingNow}`); device.UseRoutingMethod(routingMethods[0], false); device.Save(); }); -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693486(v=vs.85).aspx -(() => { +{ const outputRuleInfo = (rule: FAXCOMEXLib.FaxOutboundRoutingRule, index?: number) => { WScript.Echo(` Outbound routing rule number: ${index || 'unknown'} @@ -193,13 +193,11 @@ Input 1, 2, 3, 4, or 0 to exit areaCode = parseInt(VB.InputBox('Enter the area code'), 10); rule = outboundRoutingRules.Add(countryCode, areaCode, true, '', id); break; - default: - return; } -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693408(v=vs.85).aspx -(() => { +{ const server = getServer(); const outboundRouting = server.OutboundRouting; const outboundRoutingGroups = outboundRouting.GetGroups(); @@ -233,13 +231,14 @@ Device status: ${routingGroup.Status} }); // allow user to remove a routing group - if (VB.InputBox('Do you want to remove a routing group (Y/N)?') === 'N') { return; } - const itemNumber = VB.InputBox('Enter the item number for the group you want to remove'); - outboundRoutingGroups.Remove(itemNumber); -})(); + if (VB.InputBox('Do you want to remove a routing group (Y/N)?') === 'Y') { + const itemNumber = VB.InputBox('Enter the item number for the group you want to remove'); + outboundRoutingGroups.Remove(itemNumber); + } +} // https://msdn.microsoft.com/en-us/library/windows/desktop/aa964960(v=vs.85).aspx -(() => { +{ const accountSet = getServer().FaxAccountSet; const accounts = collectionToArray(accountSet.GetAccounts()); WScript.Echo(`Number of accounts: ${accounts.length}`); @@ -248,10 +247,10 @@ Device status: ${routingGroup.Status} const accountName = VB.InputBox('Enter an account name'); accountSet.AddAccount(accountName); accountSet.RemoveAccount(accountName); -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms692952(v=vs.85).aspx -(() => { +{ const incomingJobs = collectionToArray(getServer().Folders.IncomingQueue.GetJobs()); WScript.Echo(`There are ${incomingJobs.length} jobs in the incoming queue.`); const n = parseInt(VB.InputBox('Input the number of a job for which you want information'), 10); @@ -284,10 +283,10 @@ TSID: ${job.TSID} job.CopyTiff(fileName); new ActiveXObject('WScript.Shell').Run(fileName); } -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms692914(v=vs.85).aspx -(() => { +{ const server = new ActiveXObject('FaxComEx.FaxServer'); server.Connect(''); const outgoingQueue = server.Folders.OutgoingQueue; @@ -300,10 +299,10 @@ TSID: ${job.TSID} outgoingQueue.DiscountRateStart = new Date(0, 0, 0, 1).getVarDate(); outgoingQueue.UseDeviceTSID = true; outgoingQueue.Save(); -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693393(v=vs.85).aspx -(() => { +{ const outgoingQueue = getServer().Folders.OutgoingQueue; outgoingQueue.Refresh(); WScript.Echo(`There are ${outgoingQueue.GetJobs().Count} faxes in the outgoing queue`); @@ -357,10 +356,10 @@ the job? job.Resume(); break; } -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms692936(v=vs.85).aspx -(() => { +{ const document = new ActiveXObject('FaxComEx.FaxDocument'); document.Body = 'C:\\docs\\body.txt'; document.DocumentName = 'My First Fax'; @@ -401,10 +400,10 @@ the job? WScript.Echo(`The job ID is ${jobID}`); server.Disconnect(); -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693479(v=vs.85).aspx -(() => { +{ const document = new ActiveXObject('FaxComEx.FaxDocument'); document.Body = 'C:\\docs\\body.txt'; document.DocumentName = 'My First Fax'; @@ -428,10 +427,10 @@ the job? while (recipients.Count > 0) { recipients.Remove(1); } -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/aa964962(v=vs.85).aspx -(() => { +{ const server = getServer(); const prefetchCount = parseInt(VB.InputBox('How many messages should be prefetched?'), 10); server.CurrentAccount.Folders.IncomingArchive.Refresh(); @@ -442,7 +441,7 @@ the job? const message = messageIterator.Message as FAXCOMEXLib.FaxIncomingMessage; if (messageIterator.AtEOF) { WScript.Echo(`End of file reached`); - return; + break; } if (!message.WasReAssigned) { if (VB.InputBox('Message not reassigned. Reassign (Y/N)?') === 'Y') { @@ -455,10 +454,10 @@ the job? } messageIterator.MoveNext(); } -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693402(v=vs.85).aspx -(() => { +{ const server = getServer(); const prefetchCount = parseInt(VB.InputBox('How many messages should be prefetched?'), 10); server.Folders.OutgoingArchive.Refresh(); @@ -468,7 +467,7 @@ the job? if (i > 1 && VB.InputBox('View next message? (Y/N)') !== 'Y') { break; } if (messageIterator.AtEOF) { WScript.Echo(`End of file reached`); - return; + break; } const message = messageIterator.Message as FAXCOMEXLib.FaxOutgoingMessage; @@ -498,10 +497,10 @@ TSID: ${message.TSID}`); message.Delete(); } } -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693472(v=vs.85).aspx -(() => { +{ const server = getServer(); const outgoingArchive = server.Folders.OutgoingArchive; WScript.Echo(` @@ -526,12 +525,11 @@ Is archive used? ${outgoingArchive.UseArchive}`.trim() outgoingArchive.GetMessage(messageID).CopyTiff(fileName); new ActiveXObject('WScript.Shell').Run(fileName); } -})(); +} -(() => { +{ const server = getServer(); const messageIterator = server.Folders.OutgoingArchive.GetMessages(); - if (messageIterator.AtEOF) { return; } messageIterator.MoveFirst(); while (!messageIterator.AtEOF) { const message = messageIterator.Message; @@ -543,10 +541,10 @@ Transmission start: ${new Date(message.TransmissionStart)} `.trim()); messageIterator.MoveNext(); } -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms692976(v=vs.85).aspx -(() => { +{ const server = getServer(); const prefetchCount = parseInt(VB.InputBox('How many messages should be prefetched?'), 10); server.Folders.IncomingArchive.Refresh(); @@ -557,7 +555,7 @@ Transmission start: ${new Date(message.TransmissionStart)} const message = messageIterator.Message as FAXCOMEXLib.FaxIncomingMessage; if (messageIterator.AtEOF) { WScript.Echo(`End of file reached`); - return; + break; } const fileName = VB.InputBox('Enter path to save TIFF file'); message.CopyTiff(fileName); @@ -565,10 +563,10 @@ Transmission start: ${new Date(message.TransmissionStart)} messageIterator.MoveNext(); } -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693406(v=vs.85).aspx -(() => { +{ const server = getServer(); const incomingArchive = server.Folders.IncomingArchive; incomingArchive.Refresh(); @@ -587,9 +585,9 @@ Is archive used? ${incomingArchive.UseArchive} incomingArchive.Save(); const messageID = VB.InputBox('Message ID to retrieve information? (Leave empty, or Cancel, to exit)'); - if (messageID === '') { return; } - const message = incomingArchive.GetMessage(messageID); - WScript.Echo(` + if (messageID !== '') { + const message = incomingArchive.GetMessage(messageID); + WScript.Echo(` Caller ID: ${message.CallerId} CSID: ${message.CSID} Device name: ${message.DeviceName} @@ -603,13 +601,14 @@ Transmission end: ${new Date(message.TransmissionEnd)} TSID: ${message.TSID} `.trim()); - if (VB.InputBox('Delete this message from the archive (Y/N)?') === 'Y') { - message.Delete(); + if (VB.InputBox('Delete this message from the archive (Y/N)?') === 'Y') { + message.Delete(); + } } -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693401(v=vs.85).aspx -(() => { +{ const server = getServer(); const loggingOptions = server.LoggingOptions; const activityLogging = loggingOptions.ActivityLogging; @@ -626,10 +625,10 @@ TSID: ${message.TSID} eventLogging.InitEventsLevel = FAXCOMEXLib.FAX_LOG_LEVEL_ENUM.fllMAX; eventLogging.OutboundEventsLevel = FAXCOMEXLib.FAX_LOG_LEVEL_ENUM.fllNONE; eventLogging.Save(); -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693387(v=vs.85).aspx -(() => { +{ const server = getServer(); const receiptOptions = server.ReceiptOptions; receiptOptions.Refresh(); @@ -649,10 +648,10 @@ Use for inbound routing? ${receiptOptions.UseForInboundRouting} receiptOptions.SMTPServer = 'My SMTP Server'; receiptOptions.UseForInboundRouting = true; receiptOptions.Save(); -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693462(v=vs.85).aspx -(() => { +{ const server = getServer(); collectionToArray(server.GetDeviceProviders()).forEach((provider, index) => { WScript.Echo(` @@ -668,29 +667,29 @@ Unique name: ${provider.UniqueName} new VBArray(provider.DeviceIds).toArray().forEach(id => WScript.Echo(id)); }); -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693437(v=vs.85).aspx -- for a fax device -(() => { +{ const server = getServer(); const device = server.GetDevices().Item(1); const deviceProperty = toSafeArray(1, 2, 3); const propertyName = '{B1F944B9-9A16-45d1-933A-4060A4871AB0}'; device.SetExtensionProperty(propertyName, deviceProperty); new VBArray(device.GetExtensionProperty(propertyName)).toArray().forEach(x => WScript.Echo(x)); -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693437(v=vs.85).aspx -- for a fax device -(() => { +{ const server = getServer(); const serverProperty = toSafeArray(4, 2, 3); const propertyName = `{AC7D0DEE-B6E5-4a44-AF45-835C58CB44D2}`; server.SetExtensionProperty(propertyName, serverProperty); new VBArray(server.GetExtensionProperty(propertyName)).toArray().forEach(x => WScript.Echo(x)); -})(); +} // https://msdn.microsoft.com/en-us/library/windows/desktop/ms693013(v=vs.85).aspx -(() => { +{ const server = getServer(); ActiveXObject.on(server, 'OnOutgoingJobAdded', ['pFaxServer', 'bstrJobId'], prm => WScript.Echo('New job added to queue')); @@ -727,4 +726,4 @@ TSID: ${status.TSID} FAXCOMEXLib.FAX_SERVER_EVENTS_TYPE_ENUM.fsetFXSSVC_ENDED + FAXCOMEXLib.FAX_SERVER_EVENTS_TYPE_ENUM.fsetOUT_QUEUE ); -})(); +} diff --git a/types/activex-faxcomexlib/index.d.ts b/types/activex-faxcomexlib/index.d.ts index 237c841fda..d4078061f7 100644 --- a/types/activex-faxcomexlib/index.d.ts +++ b/types/activex-faxcomexlib/index.d.ts @@ -7,7 +7,7 @@ /// declare namespace FAXCOMEXLib { - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_ACCESS_RIGHTS_ENUM { farMANAGE_CONFIG = 64, farMANAGE_IN_ARCHIVE = 256, @@ -22,7 +22,7 @@ declare namespace FAXCOMEXLib { farSUBMIT_NORMAL = 2, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_ACCESS_RIGHTS_ENUM_2 { far2MANAGE_ARCHIVES = 256, far2MANAGE_CONFIG = 64, @@ -36,7 +36,7 @@ declare namespace FAXCOMEXLib { far2SUBMIT_NORMAL = 2, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_ACCOUNT_EVENTS_TYPE_ENUM { faetFXSSVC_ENDED = 16, faetIN_ARCHIVE = 4, @@ -46,21 +46,21 @@ declare namespace FAXCOMEXLib { faetOUT_QUEUE = 2, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_COVERPAGE_TYPE_ENUM { fcptLOCAL = 1, fcptNONE = 0, fcptSERVER = 2, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_DEVICE_RECEIVE_MODE_ENUM { fdrmAUTO_ANSWER = 1, fdrmMANUAL_ANSWER = 2, fdrmNO_ANSWER = 0, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_GROUP_STATUS_ENUM { fgsALL_DEV_NOT_VALID = 2, fgsALL_DEV_VALID = 0, @@ -68,7 +68,7 @@ declare namespace FAXCOMEXLib { fgsSOME_DEV_NOT_VALID = 3, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_JOB_EXTENDED_STATUS_ENUM { fjesANSWERED = 5, fjesBAD_ADDRESS = 10, @@ -93,7 +93,7 @@ declare namespace FAXCOMEXLib { fjesTRANSMITTING = 4, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_JOB_OPERATIONS_ENUM { fjoDELETE = 16, fjoPAUSE = 2, @@ -104,7 +104,7 @@ declare namespace FAXCOMEXLib { fjoVIEW = 1, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_JOB_STATUS_ENUM { fjsCANCELED = 512, fjsCANCELING = 1024, @@ -119,14 +119,14 @@ declare namespace FAXCOMEXLib { fjsROUTING = 2048, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_JOB_TYPE_ENUM { fjtRECEIVE = 1, fjtROUTING = 2, fjtSEND = 0, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_LOG_LEVEL_ENUM { fllMAX = 3, fllMED = 2, @@ -134,14 +134,14 @@ declare namespace FAXCOMEXLib { fllNONE = 0, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_PRIORITY_TYPE_ENUM { fptHIGH = 2, fptLOW = 0, fptNORMAL = 1, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_PROVIDER_STATUS_ENUM { fpsBAD_GUID = 2, fpsBAD_VERSION = 3, @@ -152,19 +152,19 @@ declare namespace FAXCOMEXLib { fpsSUCCESS = 0, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_RECEIPT_TYPE_ENUM { frtMAIL = 1, frtMSGBOX = 4, frtNONE = 0, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_ROUTING_RULE_CODE_ENUM { frrcANY_CODE = 0, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_RULE_STATUS_ENUM { frsALL_GROUP_DEV_NOT_VALID = 2, frsBAD_DEVICE = 4, @@ -173,14 +173,14 @@ declare namespace FAXCOMEXLib { frsVALID = 0, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_SCHEDULE_TYPE_ENUM { fstDISCOUNT_PERIOD = 2, fstNOW = 0, fstSPECIFIC_TIME = 1, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_SERVER_APIVERSION_ENUM { fsAPI_VERSION_0 = 0, fsAPI_VERSION_1 = 65536, @@ -188,7 +188,7 @@ declare namespace FAXCOMEXLib { fsAPI_VERSION_3 = 196608, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_SERVER_EVENTS_TYPE_ENUM { fsetACTIVITY = 8, fsetCONFIG = 4, @@ -203,14 +203,14 @@ declare namespace FAXCOMEXLib { fsetQUEUE_STATE = 16, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FAX_SMTP_AUTHENTICATION_TYPE_ENUM { fsatANONYMOUS = 0, fsatBASIC = 1, fsatNTLM = 2, } - // tslint:disable-next-line no-const-enum + // tslint:disable-next-line:no-const-enum const enum FaxConstants { bstrGROUPNAME_ALLDEVICES = '', lDEFAULT_PREFETCH_SIZE = 100, @@ -326,11 +326,10 @@ declare namespace FAXCOMEXLib { } /** FaxAccounts Class */ - class FaxAccounts { - private 'FAXCOMEXLib.FaxAccounts_typekey': FaxAccounts; - private constructor(); + interface FaxAccounts { readonly Count: number; Item(vIndex: any): FaxAccount; + (vIndex: any): FaxAccount; } /** FaxAccountSet Class */ @@ -535,10 +534,7 @@ declare namespace FAXCOMEXLib { } /** FaxDeviceIds Class */ - class FaxDeviceIds { - private 'FAXCOMEXLib.FaxDeviceIds_typekey': FaxDeviceIds; - private constructor(); - + interface FaxDeviceIds { /** Add a device */ Add(lDeviceId: number): void; readonly Count: number; @@ -549,6 +545,7 @@ declare namespace FAXCOMEXLib { /** Set order of the device */ SetOrder(lDeviceId: number, lNewOrder: number): void; + (lIndex: number): number; } /** FaxDeviceProvider Class */ @@ -594,22 +591,20 @@ declare namespace FAXCOMEXLib { } /** FaxDeviceProviders Class */ - class FaxDeviceProviders { - private 'FAXCOMEXLib.FaxDeviceProviders_typekey': FaxDeviceProviders; - private constructor(); + interface FaxDeviceProviders { readonly Count: number; Item(vIndex: any): FaxDeviceProvider; + (vIndex: any): FaxDeviceProvider; } /** FaxDevices Class */ - class FaxDevices { - private 'FAXCOMEXLib.FaxDevices_typekey': FaxDevices; - private constructor(); + interface FaxDevices { readonly Count: number; Item(vIndex: any): FaxDevice; /** Get device by its ID */ ItemById(lId: number): FaxDevice; + (vIndex: any): FaxDevice; } /** FaxDocument Class */ @@ -630,10 +625,10 @@ declare namespace FAXCOMEXLib { CallHandle: number; /** Submit the fax document on the already connected server */ - ConnectedSubmit(pFaxServer: IFaxServer): any; + ConnectedSubmit(pFaxServer: IFaxServer): SafeArray; /** Submit the fax document on the already connected server */ - ConnectedSubmit2(pFaxServer: IFaxServer, pvFaxOutgoingJobIDs: any): number; + ConnectedSubmit2(pFaxServer: IFaxServer, pvFaxOutgoingJobIDs: SafeArray): number; /** Cover page file path */ CoverPage: string; @@ -765,7 +760,7 @@ declare namespace FAXCOMEXLib { readonly MajorVersion: number; /** Array of methods exposed by extension */ - readonly Methods: any; + readonly Methods: SafeArray; /** The minor part of extension's build number */ readonly MinorBuild: number; @@ -781,11 +776,10 @@ declare namespace FAXCOMEXLib { } /** FaxInboundRoutingExtensions Class */ - class FaxInboundRoutingExtensions { - private 'FAXCOMEXLib.FaxInboundRoutingExtensions_typekey': FaxInboundRoutingExtensions; - private constructor(); + interface FaxInboundRoutingExtensions { readonly Count: number; Item(vIndex: any): FaxInboundRoutingExtension; + (vIndex: any): FaxInboundRoutingExtension; } /** FaxInboundRoutingMethod Class */ @@ -819,11 +813,10 @@ declare namespace FAXCOMEXLib { } /** FaxInboundRoutingMethods Class */ - class FaxInboundRoutingMethods { - private 'FAXCOMEXLib.FaxInboundRoutingMethods_typekey': FaxInboundRoutingMethods; - private constructor(); + interface FaxInboundRoutingMethods { readonly Count: number; Item(vIndex: any): FaxInboundRoutingMethod; + (vIndex: any): FaxInboundRoutingMethod; } /** FaxIncomingArchive Class */ @@ -935,11 +928,10 @@ declare namespace FAXCOMEXLib { } /** FaxIncomingJobs Class */ - class FaxIncomingJobs { - private 'FAXCOMEXLib.FaxIncomingJobs_typekey': FaxIncomingJobs; - private constructor(); + interface FaxIncomingJobs { readonly Count: number; Item(vIndex: any): FaxIncomingJob; + (vIndex: any): FaxIncomingJob; } /** FaxIncomingMessage Class */ @@ -1117,10 +1109,7 @@ declare namespace FAXCOMEXLib { } /** FaxOutboundRoutingGroups Class */ - class FaxOutboundRoutingGroups { - private 'FAXCOMEXLib.FaxOutboundRoutingGroups_typekey': FaxOutboundRoutingGroups; - private constructor(); - + interface FaxOutboundRoutingGroups { /** Add a group */ Add(bstrName: string): FaxOutboundRoutingGroup; readonly Count: number; @@ -1128,6 +1117,7 @@ declare namespace FAXCOMEXLib { /** Remove a group */ Remove(vIndex: number | string): void; + (vIndex: number | string): FaxOutboundRoutingGroup; } /** FaxOutboundRoutingRule Class */ @@ -1161,10 +1151,7 @@ declare namespace FAXCOMEXLib { } /** FaxOutboundRoutingRules Class */ - class FaxOutboundRoutingRules { - private 'FAXCOMEXLib.FaxOutboundRoutingRules_typekey': FaxOutboundRoutingRules; - private constructor(); - + interface FaxOutboundRoutingRules { /** Add a rule */ Add(lCountryCode: number, lAreaCode: number, bUseDevice: boolean, bstrGroupName: string, lDeviceId: number): FaxOutboundRoutingRule; readonly Count: number; @@ -1178,6 +1165,7 @@ declare namespace FAXCOMEXLib { /** Remove a rule by criteria */ RemoveByCountryAndArea(lCountryCode: number, lAreaCode: number): void; + (lIndex: number): FaxOutboundRoutingRule; } /** FaxOutgoingArchive Class */ @@ -1334,11 +1322,10 @@ declare namespace FAXCOMEXLib { } /** FaxOutgoingJobs Class */ - class FaxOutgoingJobs { - private 'FAXCOMEXLib.FaxOutgoingJobs_typekey': FaxOutgoingJobs; - private constructor(); + interface FaxOutgoingJobs { readonly Count: number; Item(vIndex: any): IFaxOutgoingJob; + (vIndex: any): IFaxOutgoingJob; } /** FaxOutgoingMessage Class */ @@ -1486,10 +1473,7 @@ declare namespace FAXCOMEXLib { } /** FaxRecipients Class */ - class FaxRecipients { - private 'FAXCOMEXLib.FaxRecipients_typekey': FaxRecipients; - private constructor(); - + interface FaxRecipients { /** * Add a recipient * @param string [bstrRecipientName=''] @@ -1500,6 +1484,7 @@ declare namespace FAXCOMEXLib { /** Remove a recipient */ Remove(lIndex: number): void; + (lIndex: number): FaxRecipient; } /** FaxSecurity Class */ @@ -2033,21 +2018,3 @@ interface ActiveXObjectNameMap { 'FaxComEx.FaxDocument': FAXCOMEXLib.FaxDocument; 'FaxComEx.FaxServer': FAXCOMEXLib.FaxServer; } - -interface EnumeratorConstructor { - new(col: FAXCOMEXLib.FaxAccounts): Enumerator; - new(col: FAXCOMEXLib.FaxDeviceIds): Enumerator; - new(col: FAXCOMEXLib.FaxDeviceProviders): Enumerator; - new(col: FAXCOMEXLib.FaxDevices): Enumerator; - new(col: FAXCOMEXLib.FaxInboundRoutingExtensions): Enumerator; - new(col: FAXCOMEXLib.FaxInboundRoutingMethods): Enumerator; - new(col: FAXCOMEXLib.FaxIncomingJobs): Enumerator; - new(col: FAXCOMEXLib.FaxOutboundRoutingGroups): Enumerator; - new(col: FAXCOMEXLib.FaxOutboundRoutingRules): Enumerator; - new(col: FAXCOMEXLib.FaxOutgoingJobs): Enumerator; - new(col: FAXCOMEXLib.FaxRecipients): Enumerator; -} - -interface SafeArray { - _brand: SafeArray; -} From f4a1a37eda65c2041801c7a89bdac46bf7b3f123 Mon Sep 17 00:00:00 2001 From: Barin Britva Date: Wed, 14 Feb 2018 18:03:02 +0300 Subject: [PATCH 425/463] Add minio. --- types/minio/index.d.ts | 230 +++++++++++++++++++++++++++++++++++++ types/minio/minio-tests.ts | 114 ++++++++++++++++++ types/minio/tsconfig.json | 24 ++++ types/minio/tslint.json | 1 + 4 files changed, 369 insertions(+) create mode 100644 types/minio/index.d.ts create mode 100644 types/minio/minio-tests.ts create mode 100644 types/minio/tsconfig.json create mode 100644 types/minio/tslint.json diff --git a/types/minio/index.d.ts b/types/minio/index.d.ts new file mode 100644 index 0000000000..e4f2a0613c --- /dev/null +++ b/types/minio/index.d.ts @@ -0,0 +1,230 @@ +// Type definitions for minio 4.0 +// Project: https://github.com/minio/minio-js#readme +// Definitions by: Barin Britva +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// + +// Import from dependencies +import { Stream } from 'stream'; +import EventEmitter = NodeJS.EventEmitter; + +// Exports only from typings +export type Region = 'us-east-1'|'us-west-1'|'us-west-2'|'eu-west-1'|'eu-central-1'|'ap-southeast-1'|'ap-northeast-1'|'ap-southeast-2'|'sa-east-1'|'cn-north-1'; +export type PolicyValue = 'none'|'readonly'|'writeonly'|'readwrite'; +export type NoResultCallback = (error: Error|null) => void; +export type ResultCallback = (error: Error|null, result: T) => void; + +export interface ClientOptions { + endPoint: string; + accessKey: string; + secretKey: string; + secure?: boolean; + port?: number; + region?: Region; +} + +export interface BucketItemFromList { + name: string; + creationDate: Date; +} + +export interface BucketItemCopy { + etag: string; + lastModified: Date; +} + +export interface BucketItem { + name: string; + prefix: string; + size: number; + etag: string; + lastModified: Date; +} + +export interface BucketItemStat { + size: number; + contentType: string; + etag: string; + // In documentation in this case string. Is it doc error? + lastModified: Date|string; +} + +export interface IncompleteUploadedBucketItem { + key: string; + uploadId: string; + size: number; +} + +export interface BucketStream extends Stream { + on(event: 'data', listener: (item: T) => void): this; +} + +export interface PostPolicyResult { + postURL: string; + formData: { + [key: string]: any; + }; +} + +// No need to export this. But without it - linter error. +export class TargetConfig { + setId(id: any): void; + addEvent(newEvent: any): void; + addFilterSuffix(suffix: any): void; + addFilterPrefix(prefix: any): void; +} + +// Exports from library +export class Client { + constructor(options: ClientOptions); + + // Bucket operations + makeBucket(bucketName: string, callback: NoResultCallback): void; + makeBucket(bucketName: string, region: Region, callback: NoResultCallback): void; + makeBucket(bucketName: string, region?: Region): Promise; + + listBuckets(callback: ResultCallback): void; + listBuckets(): Promise; + + // Doc contains error - no boolean value in result + bucketExists(bucketName: string, callback: NoResultCallback): void; + bucketExists(bucketName: string): Promise; + + removeBucket(bucketName: string, callback: NoResultCallback): void; + removeBucket(bucketName: string): Promise; + + listObjects(bucketName: string, prefix?: string, recursive?: boolean): BucketStream; + + listObjectsV2(bucketName: string, prefix?: string, recursive?: boolean): BucketStream; + + listIncompleteUploads(bucketName: string, prefix?: string, recursive?: boolean): BucketStream; + + // Object operations + getObject(bucketName: string, objectName: string, callback: ResultCallback): void; + getObject(bucketName: string, objectName: string): Promise; + + getPartialObject(bucketName: string, objectName: string, offset: number, callback: ResultCallback): void; + getPartialObject(bucketName: string, objectName: string, offset: number, length: number, callback: ResultCallback): void; + getPartialObject(bucketName: string, objectName: string, offset: number, length?: number): Promise; + + fGetObject(bucketName: string, objectName: string, filePath: string, callback: NoResultCallback): void; + fGetObject(bucketName: string, objectName: string, filePath: string): Promise; + + putObject(bucketName: string, objectName: string, stream: Stream|Buffer|string, callback: ResultCallback): void; + putObject(bucketName: string, objectName: string, stream: Stream|Buffer|string, size: number, callback: ResultCallback): void; + putObject(bucketName: string, objectName: string, stream: Stream|Buffer|string, size: number, cotentType: string, callback: ResultCallback): void; + putObject(bucketName: string, objectName: string, stream: Stream|Buffer|string, size?: number, cotentType?: string): Promise; + + fPutObject(bucketName: string, objectName: string, filePath: string, contentType: string, callback: ResultCallback): void; + fPutObject(bucketName: string, objectName: string, filePath: string, contentType: string): Promise; + + copyObject(bucketName: string, objectName: string, sourceObject: string, conditions: CopyConditions, callback: ResultCallback): void; + copyObject(bucketName: string, objectName: string, sourceObject: string, conditions: CopyConditions): Promise; + + statObject(bucketName: string, objectName: string, callback: ResultCallback): void; + statObject(bucketName: string, objectName: string): Promise; + + removeObject(bucketName: string, objectName: string, callback: NoResultCallback): void; + removeObject(bucketName: string, objectName: string): Promise; + + removeIncompleteUpload(bucketName: string, objectName: string, callback: NoResultCallback): void; + removeIncompleteUpload(bucketName: string, objectName: string): Promise; + + // Presigned operations + presignedUrl(httpMethod: string, bucketName: string, objectName: string, callback: ResultCallback): void; + presignedUrl(httpMethod: string, bucketName: string, objectName: string, expiry: number, callback: ResultCallback): void; + presignedUrl(httpMethod: string, bucketName: string, objectName: string, expiry: number, reqParams: { [key: string]: any; }, callback: ResultCallback): void; + presignedUrl(httpMethod: string, bucketName: string, objectName: string, expiry?: number, reqParams?: { [key: string]: any; }): Promise; + + presignedGetObject(bucketName: string, objectName: string, callback: ResultCallback): void; + presignedGetObject(bucketName: string, objectName: string, expiry: number, callback: ResultCallback): void; + presignedGetObject(bucketName: string, objectName: string, expiry?: number): Promise; + + presignedPutObject(bucketName: string, objectName: string, callback: ResultCallback): void; + presignedPutObject(bucketName: string, objectName: string, expiry: number, callback: ResultCallback): void; + presignedPutObject(bucketName: string, objectName: string, expiry?: number): Promise; + + presignedPostPolicy(policy: PostPolicy, callback: ResultCallback): void; + presignedPostPolicy(policy: PostPolicy): Promise; + + // Bucket Policy & Notification operations + getBucketNotification(bucketName: string, callback: ResultCallback): void; + getBucketNotification(bucketName: string): Promise; + + setBucketNotification(bucketName: string, bucketNotificationConfig: NotificationConfig, callback: NoResultCallback): void; + setBucketNotification(bucketName: string, bucketNotificationConfig: NotificationConfig): Promise; + + removeAllBucketNotification(bucketName: string, callback: NoResultCallback): void; + removeAllBucketNotification(bucketName: string): Promise; + + // todo #low Specify events + listenBucketNotification(bucketName: string, prefix: string, suffix: string, events: string[]): EventEmitter; + + getBucketPolicy(bucketName: string, objectPrefix: string, callback: ResultCallback): void; + getBucketPolicy(bucketName: string, objectPrefix: string): Promise; + + setBucketPolicy(bucketName: string, objectPrefix: string, bucketPolice: PolicyValue, callback: NoResultCallback): void; + setBucketPolicy(bucketName: string, objectPrefix: string, bucketPolice: PolicyValue): Promise; + + // Other + newPostPolicy(): PostPolicy; +} + +export namespace Policy { + const NONE: 'none'; + const READONLY: 'readonly'; + const WRITEONLY: 'writeonly'; + const READWRITE: 'readwrite'; +} + +export class CopyConditions { + setModified(date: Date): void; + setUnmodified(date: Date): void; + setMatchETag(etag: string): void; + setMatchETagExcept(etag: string): void; +} + +export class PostPolicy { + setExpires(date: Date): void; + setKey(objectName: string): void; + setKeyStartsWith(prefix: string): void; + setBucket(bucketName: string): void; + setContentType(type: string): void; + setContentLengthRange(min: number, max: number): void; +} + +export class NotificationPoller extends EventEmitter { + stop(): void; + start(): void; + // must to be public? + checkForChanges(): void; +} + +export class NotificationConfig { + add(target: TopicConfig|QueueConfig|CloudFunctionConfig): void; +} + +export class TopicConfig extends TargetConfig { + constructor(arn: string); +} + +export class QueueConfig extends TargetConfig { + constructor(arn: string); +} + +export class CloudFunctionConfig extends TargetConfig { + constructor(arn: string); +} + +export function buildARN(partition: string, service: string, region: string, accountId: string, resource: string): string; + +export const ObjectCreatedAll: string; // s3:ObjectCreated:*' +export const ObjectCreatedPut: string; // s3:ObjectCreated:Put +export const ObjectCreatedPost: string; // s3:ObjectCreated:Post +export const ObjectCreatedCopy: string; // s3:ObjectCreated:Copy +export const ObjectCreatedCompleteMultipartUpload: string; // sh:ObjectCreated:CompleteMultipartUpload +export const ObjectRemovedAll: string; // s3:ObjectRemoved:* +export const ObjectRemovedDelete: string; // s3:ObjectRemoved:Delete +export const ObjectRemovedDeleteMarkerCreated: string; // s3:ObjectRemoved:DeleteMarkerCreated +export const ObjectReducedRedundancyLostObject: string; // s3:ReducedRedundancyLostObject diff --git a/types/minio/minio-tests.ts b/types/minio/minio-tests.ts new file mode 100644 index 0000000000..56e81762ce --- /dev/null +++ b/types/minio/minio-tests.ts @@ -0,0 +1,114 @@ +import { Stream } from 'stream'; +import Minio = require('minio'); + +const minio = new Minio.Client({ + endPoint: 'localhost', + port: 9000, + secure: false, + accessKey: 'iV7RAFOtxF', + secretKey: 'Go1hhOkXnl', +}); + +minio.makeBucket('testBucket', (error: Error|null) => { console.log(error); }); +minio.makeBucket('testBucket', 'ap-southeast-2', (error: Error|null) => { console.log(error); }); +minio.makeBucket('testBucket'); +minio.makeBucket('testBucket', 'eu-west-1'); + +minio.listBuckets((error: Error|null, bucketList: Minio.BucketItemFromList[]) => { console.log(error, bucketList); }); +minio.listBuckets(); + +minio.bucketExists('testBucket', (error: Error|null) => { console.log(error); }); +minio.bucketExists('testBucket'); + +minio.removeBucket('testBucket', (error: Error|null) => { console.log(error); }); +minio.removeBucket('testBucket'); + +minio.listObjects('testBucket'); +minio.listObjects('testBucket', 'image_'); +minio.listObjects('testBucket', 'audio_', true); +minio.listObjectsV2('testBucket'); +minio.listObjectsV2('testBucket', 'image_'); +minio.listObjectsV2('testBucket', 'audio_', true); + +minio.listIncompleteUploads('testBucket'); +minio.listIncompleteUploads('testBucket', 'image_'); +minio.listIncompleteUploads('testBucket', 'audio_', true); + +minio.getObject('testBucket', 'hello.jpg', (error: Error|null, objectStream: Stream) => { console.log(error, objectStream); }); +minio.getObject('testBucket', 'hello.jpg'); + +minio.getPartialObject('testBucket', 'hello.jpg', 10, (error: Error|null, objectStream: Stream) => { console.log(error, objectStream); }); +minio.getPartialObject('testBucket', 'hello.jpg', 10, 20, (error: Error|null, objectStream: Stream) => { console.log(error, objectStream); }); +minio.getPartialObject('testBucket', 'hello.jpg', 10); +minio.getPartialObject('testBucket', 'hello.jpg', 10, 20); + +minio.fGetObject('testBucket', 'hello.jpg', 'file/path', (error: Error|null) => { console.log(error); }); +minio.fGetObject('testBucket', 'hello.jpg', 'file/path'); + +minio.putObject('testBucket', 'hello.jpg', new Stream(), (error: Error|null, etag: string) => { console.log(error, etag); }); +minio.putObject('testBucket', 'hello.jpg', new Buffer('string'), 100, (error: Error|null, etag: string) => { console.log(error, etag); }); +minio.putObject('testBucket', 'hello.txt', 'hello.txt content', 100, 'text/plain', (error: Error|null, etag: string) => { console.log(error, etag); }); +minio.putObject('testBucket', 'hello.jpg', new Stream()); +minio.putObject('testBucket', 'hello.jpg', new Buffer('string'), 100); +minio.putObject('testBucket', 'hello.txt', 'hello.txt content', 100, 'text/plain'); + +minio.fPutObject('testBucket', 'hello.jpg', 'file/path', 'image/jpg', (error: Error|null, etag: string) => { console.log(error, etag); }); +minio.fPutObject('testBucket', 'hello.jpg', 'file/path', 'image/jpg'); + +const conditions = new Minio.CopyConditions(); +conditions.setMatchETag('bd891862ea3e22c93ed53a098218791d'); +minio.copyObject('testBucket', 'copy-of-hello.jpg', 'hello.jpg', conditions, (error: Error|null, item: Minio.BucketItemCopy) => { console.log(error, item); }); +minio.copyObject('testBucket', 'copy-of-hello.jpg', 'hello.jpg', conditions); + +minio.statObject('testBucket', 'hello.jpg', (error: Error|null, stat: Minio.BucketItemStat) => { console.log(error, stat); }); +minio.statObject('testBucket', 'hello.jpg'); + +minio.removeObject('testBucket', 'hello.jpg', (error: Error|null) => { console.log(error); }); +minio.removeObject('testBucket', 'hello.jpg'); + +minio.removeIncompleteUpload('testBucket', 'hello.jpg', (error: Error|null) => { console.log(error); }); +minio.removeIncompleteUpload('testBucket', 'hello.jpg'); + +minio.presignedUrl('GET', 'testBucket', 'hello.jpg', (error: Error|null, url: string) => { console.log(error, url); }); +minio.presignedUrl('GET', 'testBucket', 'hello.jpg', 84600, (error: Error|null, url: string) => { console.log(error, url); }); +minio.presignedUrl('GET', 'testBucket', 'hello.jpg', 84600, { prefix: 'data', 'max-keys': 1000 }, (error: Error|null, url: string) => { console.log(error, url); }); +minio.presignedUrl('GET', 'testBucket', 'hello.jpg'); +minio.presignedUrl('GET', 'testBucket', 'hello.jpg', 84600); +minio.presignedUrl('GET', 'testBucket', 'hello.jpg', 84600, { prefix: 'data', 'max-keys': 1000 }); + +minio.presignedGetObject('testBucket', 'hello.jpg', (error: Error|null, url: string) => { console.log(error, url); }); +minio.presignedGetObject('testBucket', 'hello.jpg', 84600, (error: Error|null, url: string) => { console.log(error, url); }); +minio.presignedGetObject('testBucket', 'hello.jpg'); +minio.presignedGetObject('testBucket', 'hello.jpg', 84600); + +minio.presignedPutObject('testBucket', 'hello.jpg', (error: Error|null, url: string) => { console.log(error, url); }); +minio.presignedPutObject('testBucket', 'hello.jpg', 84600, (error: Error|null, url: string) => { console.log(error, url); }); +minio.presignedPutObject('testBucket', 'hello.jpg'); +minio.presignedPutObject('testBucket', 'hello.jpg', 84600); + +const policy = minio.newPostPolicy(); +policy.setBucket('testBucket'); +policy.setKey('hello.jpg'); +minio.presignedPostPolicy(policy, (error: Error|null, data: Minio.PostPolicyResult) => { console.log(error, data); }); +minio.presignedPostPolicy(policy); + +minio.getBucketNotification('testBucket', (error: Error|null, config: Minio.NotificationConfig) => { console.log(error, config); }); +minio.getBucketNotification('testBucket'); + +const notificationConfig = new Minio.NotificationConfig(); +const arn: string = Minio.buildARN('aws', 'sns', 'us-west-2', '408065449417', 'resource'); +const topic = new Minio.TopicConfig(arn); +notificationConfig.add(topic); +minio.setBucketNotification('testBucket', notificationConfig, (error: Error|null) => { console.log(error); }); +minio.setBucketNotification('testBucket', notificationConfig); + +minio.removeAllBucketNotification('testBucket', (error: Error|null) => { console.log(error); }); +minio.removeAllBucketNotification('testBucket'); + +minio.listenBucketNotification('testBucket', 'pref_', '_suf', [ Minio.ObjectCreatedAll ]); + +minio.getBucketPolicy('testBucket', 'pref_', (error: Error|null, policy: Minio.PolicyValue) => { console.log(error, policy); }); +minio.getBucketPolicy('testBucket', ''); + +minio.setBucketPolicy('testBucket', '', Minio.Policy.READWRITE, (error: Error|null) => { console.log(error); }); +minio.setBucketPolicy('testBucket', 'pref_', Minio.Policy.WRITEONLY); diff --git a/types/minio/tsconfig.json b/types/minio/tsconfig.json new file mode 100644 index 0000000000..1cf34ed33d --- /dev/null +++ b/types/minio/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "minio-tests.ts" + ] +} diff --git a/types/minio/tslint.json b/types/minio/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/minio/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 92cd43dff052d7ded2f7560d5f878b675c4d7c05 Mon Sep 17 00:00:00 2001 From: Sarah Scott Date: Wed, 14 Feb 2018 16:17:10 +0100 Subject: [PATCH 426/463] [react-native] updated scrollToIndex method of FlatList --- types/react-native/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index a7fad4549a..656b1c2e0d 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -3643,11 +3643,11 @@ export interface FlatListStatic extends React.ComponentClass void; /** - * Scrolls to the item at a the specified index such that it is positioned in the viewable area - * such that `viewPosition` 0 places it at the top, 1 at the bottom, and 0.5 centered in the middle. - * May be janky without `getItemLayout` prop. + * Scrolls to the item at the specified index such that it is positioned in the viewable area + * such that viewPosition 0 places it at the top, 1 at the bottom, and 0.5 centered in the middle. + * Cannot scroll to locations outside the render window without specifying the getItemLayout prop. */ - scrollToIndex: (params: { animated?: boolean; index: number; viewPosition?: number }) => void; + scrollToIndex: (params: { animated?: boolean; index: number; viewOffset: number; viewPosition?: number }) => void; /** * Requires linear scan through data - use `scrollToIndex` instead if possible. From a2093850abf520699fc159a1ade21b5f62f746f6 Mon Sep 17 00:00:00 2001 From: Rich Date: Wed, 14 Feb 2018 09:24:21 -0700 Subject: [PATCH 427/463] Add | null to Where interface overloads rather than changing the Value type globally. --- types/knex/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/knex/index.d.ts b/types/knex/index.d.ts index 520bec913a..1adccc2449 100644 --- a/types/knex/index.d.ts +++ b/types/knex/index.d.ts @@ -16,7 +16,7 @@ import Bluebird = require("bluebird"); type Callback = Function; type Client = Function; -type Value = string | number | boolean | Date | null | Array | Array | Array | Array | Buffer | Knex.Raw; +type Value = string | number | boolean | Date | Array | Array | Array | Array | Buffer | Knex.Raw; type ColumnName = string | Knex.Raw | Knex.QueryBuilder | {[key: string]: string }; type TableName = string | Knex.Raw | Knex.QueryBuilder; @@ -262,9 +262,9 @@ declare namespace Knex { (raw: Raw): QueryBuilder; (callback: QueryCallback): QueryBuilder; (object: Object): QueryBuilder; - (columnName: string, value: Value): QueryBuilder; - (columnName: string, operator: string, value: Value): QueryBuilder; - (columnName: string, operator: string, query: QueryBuilder): QueryBuilder; + (columnName: string, value: Value | null): QueryBuilder; + (columnName: string, operator: string, value: Value | null): QueryBuilder; + (columnName: string, operator: string, query: QueryBuilder | null): QueryBuilder; } interface WhereRaw extends RawQueryBuilder { From 0e019bd7f97edd46cf8fd277d47fb400ca4af2bf Mon Sep 17 00:00:00 2001 From: Rich Date: Wed, 14 Feb 2018 09:30:42 -0700 Subject: [PATCH 428/463] Add a couple of tests showing how the null value would be used in a where filter --- types/knex/knex-tests.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/knex/knex-tests.ts b/types/knex/knex-tests.ts index 3aaefb6909..4391b49304 100644 --- a/types/knex/knex-tests.ts +++ b/types/knex/knex-tests.ts @@ -185,6 +185,10 @@ knex('users').where(() => { knex('users').where('votes', '>', 100); +// Let null be used in a two or 3 parameter where filter +knex('users').where('votes', null); +knex('users').where('votes', 'is not', null); + var subquery = knex('users').where('votes', '>', 100).andWhere('status', 'active').orWhere('name', 'John').select('id'); knex('accounts').where('id', 'in', subquery); From a14118e3e74183fa9cc26f84e2c8357c711e0d0a Mon Sep 17 00:00:00 2001 From: SoraYama Date: Thu, 15 Feb 2018 00:40:46 +0800 Subject: [PATCH 429/463] fix lint rules to default. --- types/urllib/index.d.ts | 2 +- types/urllib/tslint.json | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/types/urllib/index.d.ts b/types/urllib/index.d.ts index ba7e701064..4853cf3d27 100644 --- a/types/urllib/index.d.ts +++ b/types/urllib/index.d.ts @@ -118,7 +118,7 @@ export interface IRequestOptions { * @param data Outgoing message * @param res http response */ -type Callback = (err: Error, data: any, res: http.IncomingMessage) => void; +export type Callback = (err: Error, data: any, res: http.IncomingMessage) => void; /** * Handle all http request, both http and https support well. diff --git a/types/urllib/tslint.json b/types/urllib/tslint.json index 6d0aec7baa..d88586e5bd 100644 --- a/types/urllib/tslint.json +++ b/types/urllib/tslint.json @@ -1,8 +1,3 @@ { - "extends": "dtslint/dt.json", - "rules": { - "interface-name": true, - "void-return": false, - "strict-export-declare-modifiers": false - } + "extends": "dtslint/dt.json" } From 6e4afbd9204c7bd09046462ac318392e429582e1 Mon Sep 17 00:00:00 2001 From: SoraYama Date: Thu, 15 Feb 2018 00:53:01 +0800 Subject: [PATCH 430/463] remove interface prefix 'I' --- types/urllib/index.d.ts | 44 ++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/types/urllib/index.d.ts b/types/urllib/index.d.ts index 4853cf3d27..4a266cab59 100644 --- a/types/urllib/index.d.ts +++ b/types/urllib/index.d.ts @@ -11,7 +11,7 @@ import { Readable, Writable } from 'stream'; import { EventEmitter } from 'events'; export as namespace urllib; -export interface IRequestOptions { +export interface RequestOptions { /** Request method, defaults to GET. Could be GET, POST, DELETE or PUT. Alias 'type'. */ method?: "GET" | "POST" | "DELETE" | "PUT"; /** Data to be sent. Will be stringify automatically. */ @@ -131,9 +131,9 @@ export type Callback = (err: Error, data: any, res: http.IncomingMessage) => voi * urllib.request('http://httptest.cnodejs.net/test/post', args, function(err, data, res) {}); * * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see IRequestOptions. + * @param options Optional, @see RequestOptions. */ -export function request(url: string | url.URL, options?: IRequestOptions): Promise; +export function request(url: string | url.URL, options?: RequestOptions): Promise; /** * @param url The URL to request, either a String or a Object that return by url.parse. * @param callback @see Callback @@ -141,10 +141,10 @@ export function request(url: string | url.URL, options?: IRequestOptions): Promi export function request(url: string | url.URL, callback: Callback): void; /** * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see IRequestOptions. + * @param options Optional, @see RequestOptions. * @param callback @see Callback */ -export function request(url: string | url.URL, options: IRequestOptions, callback: Callback): void; +export function request(url: string | url.URL, options: RequestOptions, callback: Callback): void; /** * Handle request with a callback. @@ -154,17 +154,17 @@ export function request(url: string | url.URL, options: IRequestOptions, callbac export function requestWithCallback(url: string | url.URL, callback: Callback): void; /** * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see IRequestOptions. + * @param options Optional, @see RequestOptions. * @param callback @see Callback */ -export function requestWithCallback(url: string | url.URL, options: IRequestOptions, callback: Callback): void; +export function requestWithCallback(url: string | url.URL, options: RequestOptions, callback: Callback): void; /** * yield urllib.requestThunk(url, args) * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see IRequestOptions. + * @param options Optional, @see RequestOptions. */ -export function requestThunk(url: string | url.URL, options: IRequestOptions): (callback: (...args: any[]) => void) => void; +export function requestThunk(url: string | url.URL, options: RequestOptions): (callback: (...args: any[]) => void) => void; /** * alias to request. @@ -178,9 +178,9 @@ export function requestThunk(url: string | url.URL, options: IRequestOptions): ( * urllib.request('http://httptest.cnodejs.net/test/post', args, function(err, data, res) {}); * * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see IRequestOptions. + * @param options Optional, @see RequestOptions. */ -export function curl(url: string | url.URL, options?: IRequestOptions): Promise; +export function curl(url: string | url.URL, options?: RequestOptions): Promise; /** * @param url The URL to request, either a String or a Object that return by url.parse. * @param callback @see Callback @@ -188,10 +188,10 @@ export function curl(url: string | url.URL, options?: IRequestOptions): Promise< export function curl(url: string | url.URL, callback: Callback): void; /** * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see IRequestOptions. + * @param options Optional, @see RequestOptions. * @param callback @see Callback */ -export function curl(url: string | url.URL, options: IRequestOptions, callback: Callback): void; +export function curl(url: string | url.URL, options: RequestOptions, callback: Callback): void; /** * The default request timeout(in milliseconds). * @const @@ -220,15 +220,15 @@ export const agent: http.Agent; export const httpsAgent: https.Agent; export class HttpClient extends EventEmitter { - constructor(options?: IRequestOptions); + constructor(options?: RequestOptions); request(url: string | url.URL, callback: Callback): void; - request(url: string | url.URL, options: IRequestOptions, callback: Callback): void; + request(url: string | url.URL, options: RequestOptions, callback: Callback): void; curl(url: string | url.URL, callback: Callback): void; - curl(url: string | url.URL, options: IRequestOptions, callback: Callback): void; + curl(url: string | url.URL, options: RequestOptions, callback: Callback): void; - requestThunk(url: string | url.URL, options?: IRequestOptions): (callback: (...args: any[]) => void) => void; + requestThunk(url: string | url.URL, options?: RequestOptions): (callback: (...args: any[]) => void) => void; } /** @@ -236,13 +236,13 @@ export class HttpClient extends EventEmitter { * compatible with async/await and generator in co. */ export class HttpClient2 extends EventEmitter { - constructor(options?: IRequestOptions); + constructor(options?: RequestOptions); - request(url: string | url.URL, options?: IRequestOptions): Promise; + request(url: string | url.URL, options?: RequestOptions): Promise; - curl(url: string | url.URL, options?: IRequestOptions): Promise; + curl(url: string | url.URL, options?: RequestOptions): Promise; - requestThunk(url: string | url.URL, options?: IRequestOptions): (callback: (...args: any[]) => void) => void; + requestThunk(url: string | url.URL, options?: RequestOptions): (callback: (...args: any[]) => void) => void; } /** @@ -250,4 +250,4 @@ export class HttpClient2 extends EventEmitter { * @param options * @return HttpClient incetance. */ -export function create(options?: IRequestOptions): HttpClient; +export function create(options?: RequestOptions): HttpClient; From fb0f3f789fb20114d63678b457a62d024f5ab785 Mon Sep 17 00:00:00 2001 From: Florian Oellerich Date: Wed, 14 Feb 2018 17:16:18 +0100 Subject: [PATCH 431/463] [retry-as-promised] add type definitions --- types/retry-as-promised/index.d.ts | 27 +++++++++++++++++++ .../retry-as-promised-tests.ts | 27 +++++++++++++++++++ types/retry-as-promised/tsconfig.json | 24 +++++++++++++++++ types/retry-as-promised/tslint.json | 3 +++ 4 files changed, 81 insertions(+) create mode 100644 types/retry-as-promised/index.d.ts create mode 100644 types/retry-as-promised/retry-as-promised-tests.ts create mode 100644 types/retry-as-promised/tsconfig.json create mode 100644 types/retry-as-promised/tslint.json diff --git a/types/retry-as-promised/index.d.ts b/types/retry-as-promised/index.d.ts new file mode 100644 index 0000000000..429e0bb6d1 --- /dev/null +++ b/types/retry-as-promised/index.d.ts @@ -0,0 +1,27 @@ +// Type definitions for retry-as-promised 2.3 +// Project: https://github.com/mickhansen/retry-as-promised +// Definitions by: Florian Oellerich +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +import Promise = require('bluebird'); + +declare namespace retryAsPromised { + type MatchOption = string | RegExp | Error; + interface Options { + $current?: number; + max?: number; + timeout?: number; + match?: MatchOption[] | MatchOption; + backoffBase?: number; + backoffExponent?: number; + report?: (message: string, obj: Options, err?: any) => void; + name?: string; + } + + type RetryCallback = ({ current }: { current: Options['$current'] }) => Promise.Thenable; + type RetryAsPromisedStatic = (callback: RetryCallback, options: Options | number) => Promise; +} + +declare const retryAsPromised: retryAsPromised.RetryAsPromisedStatic; +export = retryAsPromised; diff --git a/types/retry-as-promised/retry-as-promised-tests.ts b/types/retry-as-promised/retry-as-promised-tests.ts new file mode 100644 index 0000000000..43a08b7b9f --- /dev/null +++ b/types/retry-as-promised/retry-as-promised-tests.ts @@ -0,0 +1,27 @@ +import retry = require('retry-as-promised'); + +interface Product { + name: string; +} + +const log = (...args: any[]): void => {}; + +retry(() => Promise.resolve(), {}); +retry(() => Promise.reject('Error matching values'), {}); +retry(() => Promise.reject(new Error('No matching values')), {}); +retry(() => Promise.resolve(), { + max: 100, + timeout: 60000, + match: ['Error matching values', new Error('No matching values'), new RegExp(/Deadlock/, 'i')], + backoffBase: 100, + backoffExponent: 1.1, + name: 'Source', + report: (message, options) => { + if (options.name === 'Source') { + log(options.name); + log('iteration', options.$current); + } + } +}); +retry(() => Promise.resolve({ name: 'test' }) , {}); +retry(() => Promise.reject(new Error('No matching product')), {}); diff --git a/types/retry-as-promised/tsconfig.json b/types/retry-as-promised/tsconfig.json new file mode 100644 index 0000000000..2c136c68e2 --- /dev/null +++ b/types/retry-as-promised/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "retry-as-promised-tests.ts" + ] +} diff --git a/types/retry-as-promised/tslint.json b/types/retry-as-promised/tslint.json new file mode 100644 index 0000000000..f93cf8562a --- /dev/null +++ b/types/retry-as-promised/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "dtslint/dt.json" +} From d5b76a6505469a6a863b4e73825466357f3459b6 Mon Sep 17 00:00:00 2001 From: Derek Wickern Date: Wed, 14 Feb 2018 09:20:52 -0800 Subject: [PATCH 432/463] ember: fix TS2344 error when not using ember-data --- types/ember-data/index.d.ts | 6 ++++++ types/ember-test-helpers/index.d.ts | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/types/ember-data/index.d.ts b/types/ember-data/index.d.ts index 3a44b2905e..bc3e120fb3 100644 --- a/types/ember-data/index.d.ts +++ b/types/ember-data/index.d.ts @@ -2100,6 +2100,12 @@ declare module 'ember' { } } } +declare module 'ember-test-helpers' { + import DS from 'ember-data'; + interface TestContext { + store: DS.Store; + } +} declare module 'ember-data/adapter' { import DS from 'ember-data'; export default DS.Adapter; diff --git a/types/ember-test-helpers/index.d.ts b/types/ember-test-helpers/index.d.ts index f098c49a84..c0d5947aba 100644 --- a/types/ember-test-helpers/index.d.ts +++ b/types/ember-test-helpers/index.d.ts @@ -8,7 +8,6 @@ declare module 'ember-test-helpers' { import Ember from 'ember'; - import DS from 'ember-data'; import { TemplateFactory } from 'htmlbars-inline-precompile'; import RSVP from "rsvp"; @@ -40,7 +39,6 @@ declare module 'ember-test-helpers' { container: Ember.Container; dispatcher: Ember.EventDispatcher; application: Ember.Application; - store: DS.Store; register(fullName: string, factory: any): void; factory(fullName: string): any; inject: { From eb8cdf016c2eca416d96c3ee40d8efaf6ce5f2b2 Mon Sep 17 00:00:00 2001 From: Chris Krycho Date: Wed, 14 Feb 2018 10:50:23 -0700 Subject: [PATCH 433/463] Ember: actually use Controller registry in `controllerFor`. --- types/ember/index.d.ts | 2 +- types/ember/test/inject.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/types/ember/index.d.ts b/types/ember/index.d.ts index 26a664450f..1665bcdbe3 100755 --- a/types/ember/index.d.ts +++ b/types/ember/index.d.ts @@ -1819,7 +1819,7 @@ declare module 'ember' { * The controller instance must already have been created, either through entering the * associated route or using `generateController`. */ - controllerFor(name: string): Controller; + controllerFor(name: K): ControllerRegistry[K]; /** * Disconnects a view that has been rendered into an outlet. diff --git a/types/ember/test/inject.ts b/types/ember/test/inject.ts index 5a372a2c5a..3ea0176ea6 100755 --- a/types/ember/test/inject.ts +++ b/types/ember/test/inject.ts @@ -5,6 +5,8 @@ class AuthService extends Ember.Service { } class ApplicationController extends Ember.Controller { + model: {}; + string: string; transitionToLogin() {} } @@ -29,6 +31,10 @@ class LoginRoute extends Ember.Route { this.get('application').transitionToLogin(); } } + + anyOldMethod() { + this.controllerFor('application').set('string', 'must be a string'); + } } // New module injection style. From a45650f75827526bec35f01e0b682d0f12efad5c Mon Sep 17 00:00:00 2001 From: SoraYama Date: Thu, 15 Feb 2018 01:54:46 +0800 Subject: [PATCH 434/463] remove redundant tags and fix the comment --- types/urllib/index.d.ts | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/types/urllib/index.d.ts b/types/urllib/index.d.ts index 4a266cab59..296eacebdf 100644 --- a/types/urllib/index.d.ts +++ b/types/urllib/index.d.ts @@ -141,7 +141,7 @@ export function request(url: string | url.URL, options?: RequestOptions): Promis export function request(url: string | url.URL, callback: Callback): void; /** * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see RequestOptions. + * @param options @see RequestOptions. * @param callback @see Callback */ export function request(url: string | url.URL, options: RequestOptions, callback: Callback): void; @@ -154,7 +154,7 @@ export function request(url: string | url.URL, options: RequestOptions, callback export function requestWithCallback(url: string | url.URL, callback: Callback): void; /** * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see RequestOptions. + * @param options @see RequestOptions. * @param callback @see Callback */ export function requestWithCallback(url: string | url.URL, options: RequestOptions, callback: Callback): void; @@ -164,7 +164,7 @@ export function requestWithCallback(url: string | url.URL, options: RequestOptio * @param url The URL to request, either a String or a Object that return by url.parse. * @param options Optional, @see RequestOptions. */ -export function requestThunk(url: string | url.URL, options: RequestOptions): (callback: (...args: any[]) => void) => void; +export function requestThunk(url: string | url.URL, options?: RequestOptions): (callback: (...args: any[]) => void) => void; /** * alias to request. @@ -188,24 +188,21 @@ export function curl(url: string | url.URL, options?: RequestOptions): Promise Date: Wed, 14 Feb 2018 20:08:12 +0100 Subject: [PATCH 435/463] Remove namespace per review comment --- types/get-caller-file/index.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/types/get-caller-file/index.d.ts b/types/get-caller-file/index.d.ts index 953f5f15e4..48ba941a50 100644 --- a/types/get-caller-file/index.d.ts +++ b/types/get-caller-file/index.d.ts @@ -4,6 +4,5 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare function getCallerFile(position?: number): string; -declare namespace getCallerFile {} export = getCallerFile; From 37093607342cf80c7f52a4e1e69a59aee08839ce Mon Sep 17 00:00:00 2001 From: Christopher McGinnis Date: Wed, 14 Feb 2018 12:01:46 -0800 Subject: [PATCH 436/463] Added missing schema builder parameters --- types/knex/index.d.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/types/knex/index.d.ts b/types/knex/index.d.ts index 99b6a10476..9c405f1d9c 100644 --- a/types/knex/index.d.ts +++ b/types/knex/index.d.ts @@ -13,6 +13,7 @@ import events = require("events"); import stream = require ("stream"); import Bluebird = require("bluebird"); +import { ColumnBuilder } from "knex"; type Callback = Function; type Client = Function; @@ -426,7 +427,7 @@ declare namespace Knex { date(columnName: string): ColumnBuilder; dateTime(columnName: string): ColumnBuilder; time(columnName: string): ColumnBuilder; - timestamp(columnName: string): ColumnBuilder; + timestamp(columnName: string, standard?: boolean): ColumnBuilder; timestamps(useTimestampType?: boolean, makeDefaultNow?: boolean): ColumnBuilder; binary(columnName: string, length?: number): ColumnBuilder; enum(columnName: string, values: Value[]): ColumnBuilder; @@ -439,8 +440,8 @@ declare namespace Knex { primary(columnNames: string[]): TableBuilder; index(columnNames: (string | Raw)[], indexName?: string, indexType?: string): TableBuilder; unique(columnNames: (string | Raw)[], indexName?: string): TableBuilder; - foreign(column: string): ForeignConstraintBuilder; - foreign(columns: string[]): MultikeyForeignConstraintBuilder; + foreign(column: string, foreignKeyName?: string): ForeignConstraintBuilder; + foreign(columns: string[], foreignKeyName?: string): ForeignConstraintBuilder; dropForeign(columnNames: string[], foreignKeyName?: string): TableBuilder; dropUnique(columnNames: (string | Raw)[], indexName?: string): TableBuilder; dropPrimary(constraintName?: string): TableBuilder; @@ -465,8 +466,8 @@ declare namespace Knex { interface ColumnBuilder { index(indexName?: string): ColumnBuilder; - primary(): ColumnBuilder; - unique(): ColumnBuilder; + primary(constraintName?: string): ColumnBuilder; + unique(indexName?: string): ColumnBuilder; references(columnName: string): ReferencingColumnBuilder; onDelete(command: string): ColumnBuilder; onUpdate(command: string): ColumnBuilder; From 38c288531b0a264319c85164c5818c049483dfad Mon Sep 17 00:00:00 2001 From: Rich Date: Wed, 14 Feb 2018 14:06:28 -0700 Subject: [PATCH 437/463] do not allow null to be passwd to QueryBuilder type --- types/knex/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/knex/index.d.ts b/types/knex/index.d.ts index 1adccc2449..5cc8279b36 100644 --- a/types/knex/index.d.ts +++ b/types/knex/index.d.ts @@ -264,7 +264,7 @@ declare namespace Knex { (object: Object): QueryBuilder; (columnName: string, value: Value | null): QueryBuilder; (columnName: string, operator: string, value: Value | null): QueryBuilder; - (columnName: string, operator: string, query: QueryBuilder | null): QueryBuilder; + (columnName: string, operator: string, query: QueryBuilder): QueryBuilder; } interface WhereRaw extends RawQueryBuilder { From 45c9246c092cfe8ccc678f08d6ab36bbacaa15a1 Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Wed, 14 Feb 2018 14:55:13 -0800 Subject: [PATCH 438/463] Remove esModuleInterop from tsconfigs (no longer mandatory) --- types/abbrev/tsconfig.json | 3 +- types/abs/tsconfig.json | 3 +- types/absolute/tsconfig.json | 3 +- types/acc-wizard/tsconfig.json | 3 +- types/accept-language-parser/tsconfig.json | 3 +- types/accepts/tsconfig.json | 3 +- types/accounting/tsconfig.json | 3 +- types/ace/tsconfig.json | 3 +- types/acl/tsconfig.json | 3 +- types/acorn/tsconfig.json | 3 +- types/actioncable/tsconfig.json | 3 +- types/actions-on-google/tsconfig.json | 3 +- types/activex-access/tsconfig.json | 3 +- types/activex-adodb/tsconfig.json | 3 +- types/activex-dao/tsconfig.json | 3 +- types/activex-diskquota/tsconfig.json | 3 +- types/activex-excel/tsconfig.json | 3 +- types/activex-faxcomexlib/tsconfig.json | 3 +- types/activex-infopath/tsconfig.json | 3 +- .../activex-iwshruntimelibrary/tsconfig.json | 3 +- types/activex-libreoffice/tsconfig.json | 3 +- types/activex-msforms/tsconfig.json | 3 +- types/activex-mshtml/tsconfig.json | 3 +- types/activex-msxml2/tsconfig.json | 3 +- types/activex-office/tsconfig.json | 3 +- types/activex-outlook/tsconfig.json | 3 +- types/activex-powerpoint/tsconfig.json | 3 +- types/activex-scripting/tsconfig.json | 3 +- types/activex-shdocvw/tsconfig.json | 6 ++- types/activex-shell/tsconfig.json | 9 ++-- types/activex-stdole/tsconfig.json | 3 +- types/activex-vbide/tsconfig.json | 3 +- types/activex-wia/tsconfig.json | 3 +- types/activex-word/tsconfig.json | 3 +- types/adal-angular/tsconfig.json | 3 +- types/add-zero/tsconfig.json | 3 +- types/add2home/tsconfig.json | 3 +- types/adm-zip/tsconfig.json | 3 +- types/adone/tsconfig.json | 1 - types/aframe/tsconfig.json | 3 +- types/agenda/tsconfig.json | 3 +- types/aggregate-error/tsconfig.json | 3 +- types/alertify/tsconfig.json | 3 +- types/alexa-sdk/tsconfig.json | 3 +- types/alexa-voice-service/tsconfig.json | 3 +- types/algebra.js/tsconfig.json | 3 +- types/algoliasearch/tsconfig.json | 3 +- types/alt/tsconfig.json | 3 +- types/amazon-product-api/tsconfig.json | 3 +- types/amcharts/tsconfig.json | 3 +- types/amplify-deferred/tsconfig.json | 3 +- types/amplify/tsconfig.json | 3 +- types/amplitude-js/tsconfig.json | 3 +- types/amqp-rpc/tsconfig.json | 3 +- types/amqp/tsconfig.json | 3 +- types/amqplib/tsconfig.json | 3 +- types/analytics-node/tsconfig.json | 3 +- types/angular-agility/tsconfig.json | 3 +- types/angular-animate/tsconfig.json | 3 +- types/angular-block-ui/tsconfig.json | 3 +- .../angular-bootstrap-calendar/tsconfig.json | 3 +- .../angular-bootstrap-lightbox/tsconfig.json | 3 +- types/angular-breadcrumb/tsconfig.json | 3 +- types/angular-clipboard/tsconfig.json | 3 +- types/angular-cookie/tsconfig.json | 3 +- types/angular-cookies/tsconfig.json | 3 +- .../angular-deferred-bootstrap/tsconfig.json | 3 +- types/angular-dialog-service/tsconfig.json | 3 +- types/angular-dynamic-locale/tsconfig.json | 3 +- types/angular-environment/tsconfig.json | 3 +- types/angular-es/tsconfig.json | 3 +- types/angular-feature-flags/tsconfig.json | 3 +- types/angular-file-saver/tsconfig.json | 3 +- types/angular-file-upload/tsconfig.json | 3 +- types/angular-formly/tsconfig.json | 3 +- types/angular-fullscreen/tsconfig.json | 3 +- types/angular-gettext/tsconfig.json | 3 +- types/angular-google-analytics/tsconfig.json | 3 +- types/angular-gridster/tsconfig.json | 3 +- types/angular-growl-v2/tsconfig.json | 3 +- types/angular-hotkeys/tsconfig.json | 3 +- types/angular-http-auth/tsconfig.json | 3 +- types/angular-httpi/tsconfig.json | 3 +- types/angular-idle/tsconfig.json | 3 +- types/angular-jwt/tsconfig.json | 3 +- types/angular-load/tsconfig.json | 3 +- types/angular-loading-bar/tsconfig.json | 3 +- types/angular-local-storage/tsconfig.json | 3 +- types/angular-localforage/tsconfig.json | 3 +- types/angular-locker/tsconfig.json | 3 +- types/angular-material/tsconfig.json | 3 +- types/angular-media-queries/tsconfig.json | 3 +- types/angular-meteor/tsconfig.json | 3 +- types/angular-mocks/tsconfig.json | 3 +- types/angular-modal/tsconfig.json | 3 +- types/angular-notifications/tsconfig.json | 3 +- types/angular-notify/tsconfig.json | 3 +- types/angular-oauth2/tsconfig.json | 3 +- types/angular-odata-resources/tsconfig.json | 3 +- types/angular-pdfjs-viewer/tsconfig.json | 3 +- types/angular-permission/tsconfig.json | 3 +- types/angular-promise-tracker/tsconfig.json | 3 +- types/angular-q-spread/tsconfig.json | 3 +- types/angular-resource/tsconfig.json | 3 +- types/angular-route/tsconfig.json | 3 +- types/angular-sanitize/tsconfig.json | 3 +- types/angular-scenario/tsconfig.json | 3 +- types/angular-scroll/tsconfig.json | 3 +- types/angular-signalr-hub/tsconfig.json | 3 +- types/angular-spinner/tsconfig.json | 3 +- types/angular-storage/tsconfig.json | 3 +- types/angular-strap/tsconfig.json | 3 +- types/angular-toastr/tsconfig.json | 3 +- types/angular-toasty/tsconfig.json | 3 +- types/angular-tooltips/tsconfig.json | 3 +- types/angular-touchspin/tsconfig.json | 3 +- types/angular-translate/tsconfig.json | 3 +- types/angular-ui-bootstrap/tsconfig.json | 3 +- types/angular-ui-notification/tsconfig.json | 3 +- types/angular-ui-router/tsconfig.json | 3 +- types/angular-ui-scroll/tsconfig.json | 3 +- types/angular-ui-sortable/tsconfig.json | 3 +- types/angular-ui-tree/tsconfig.json | 3 +- types/angular-websocket/tsconfig.json | 3 +- types/angular-wizard/tsconfig.json | 3 +- types/angular-xeditable/tsconfig.json | 3 +- types/angular.throttle/tsconfig.json | 3 +- types/angular/tsconfig.json | 3 +- types/angularfire/tsconfig.json | 3 +- types/angularlocalstorage/tsconfig.json | 3 +- types/angulartics/tsconfig.json | 3 +- types/animation-frame/tsconfig.json | 3 +- types/animejs/tsconfig.json | 3 +- types/annyang/tsconfig.json | 3 +- types/ansi-colors/tsconfig.json | 3 +- types/ansi-regex/tsconfig.json | 3 +- types/ansi-styles/tsconfig.json | 3 +- types/ansicolors/tsconfig.json | 3 +- types/any-db-transaction/tsconfig.json | 3 +- types/any-db/tsconfig.json | 3 +- types/anybar/tsconfig.json | 3 +- types/anymatch/tsconfig.json | 3 +- types/apex.js/tsconfig.json | 3 +- types/aphrodite/tsconfig.json | 1 - types/api-error-handler/tsconfig.json | 3 +- types/apigee-access/tsconfig.json | 3 +- types/apollo-codegen/tsconfig.json | 3 +- types/app-root-path/tsconfig.json | 3 +- types/appdmg/tsconfig.json | 3 +- types/appframework/tsconfig.json | 3 +- types/applepayjs/tsconfig.json | 1 - types/appletvjs/tsconfig.json | 3 +- types/applicationinsights-js/tsconfig.json | 3 +- types/aqb/tsconfig.json | 3 +- types/arbiter/tsconfig.json | 3 +- types/arcgis-js-api/tsconfig.json | 3 +- types/arcgis-js-api/v3/tsconfig.json | 3 +- types/arcgis-rest-api/tsconfig.json | 3 +- types/arcgis-to-geojson-utils/tsconfig.json | 3 +- types/archiver/tsconfig.json | 3 +- types/archy/tsconfig.json | 3 +- types/are-we-there-yet/tsconfig.json | 3 +- types/argon2-browser/tsconfig.json | 3 +- types/argparse/tsconfig.json | 3 +- types/args/tsconfig.json | 3 +- types/argv/tsconfig.json | 3 +- types/arr-union/tsconfig.json | 3 +- types/array-find-index/tsconfig.json | 3 +- types/array-foreach/tsconfig.json | 3 +- types/array-uniq/tsconfig.json | 3 +- types/arrify/tsconfig.json | 3 +- types/artillery/tsconfig.json | 3 +- types/asana/tsconfig.json | 3 +- types/ascii2mathml/tsconfig.json | 3 +- types/asciify/tsconfig.json | 3 +- types/asenv/tsconfig.json | 3 +- types/asn1js/tsconfig.json | 3 +- types/aspnet-identity-pw/tsconfig.json | 3 +- types/assert-equal-jsx/tsconfig.json | 3 +- types/assert-plus/tsconfig.json | 3 +- types/assertsharp/tsconfig.json | 3 +- types/assets-webpack-plugin/tsconfig.json | 3 +- types/async-cache/tsconfig.json | 3 +- types/async-lock/tsconfig.json | 3 +- types/async-polling/tsconfig.json | 3 +- types/async-retry/tsconfig.json | 1 - types/async-writer/tsconfig.json | 3 +- types/async.nexttick/tsconfig.json | 3 +- types/async/tsconfig.json | 3 +- types/asynciterator/tsconfig.json | 3 +- types/atmosphere.js/tsconfig.json | 3 +- types/atom-keymap/tsconfig.json | 3 +- types/atom-mocha-test-runner/tsconfig.json | 3 +- types/atom/tsconfig.json | 3 +- types/atpl/tsconfig.json | 3 +- types/audiosprite/tsconfig.json | 3 +- types/auth0-angular/tsconfig.json | 3 +- types/auth0-js/tsconfig.json | 3 +- types/auth0-js/v7/tsconfig.json | 3 +- types/auth0-lock/tsconfig.json | 3 +- types/auth0.widget/tsconfig.json | 3 +- types/auth0/tsconfig.json | 3 +- types/auto-launch/tsconfig.json | 3 +- types/auto-sni/tsconfig.json | 3 +- types/autobahn/tsconfig.json | 3 +- types/autolinker/tsconfig.json | 3 +- types/autoprefixer-core/tsconfig.json | 3 +- types/autoprefixer/tsconfig.json | 3 +- types/autosize/tsconfig.json | 3 +- types/avoscloud-sdk/tsconfig.json | 3 +- types/awesomplete/tsconfig.json | 3 +- types/aws-iot-device-sdk/tsconfig.json | 3 +- types/aws-lambda-mock-context/tsconfig.json | 3 +- types/aws-lambda/tsconfig.json | 5 +-- types/aws-serverless-express/tsconfig.json | 3 +- types/aws4/tsconfig.json | 3 +- types/axel/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/azure-sb/tsconfig.json | 3 +- types/azure/tsconfig.json | 3 +- types/b_/tsconfig.json | 3 +- types/babel-code-frame/tsconfig.json | 3 +- types/babel-core/tsconfig.json | 3 +- types/babel-generator/tsconfig.json | 3 +- types/babel-plugin-react-pug/tsconfig.json | 1 - types/babel-plugin-syntax-jsx/tsconfig.json | 3 +- types/babel-template/tsconfig.json | 3 +- types/babel-traverse/tsconfig.json | 3 +- types/babel-types/tsconfig.json | 3 +- types/babel-webpack-plugin/tsconfig.json | 3 +- types/babelify/tsconfig.json | 3 +- types/babylon-walk/tsconfig.json | 1 - types/babylon/tsconfig.json | 3 +- types/babyparse/tsconfig.json | 3 +- types/backbone-associations/tsconfig.json | 3 +- types/backbone-fetch-cache/tsconfig.json | 3 +- types/backbone-relational/tsconfig.json | 3 +- types/backbone.layoutmanager/tsconfig.json | 3 +- types/backbone.localstorage/tsconfig.json | 3 +- types/backbone.marionette/tsconfig.json | 3 +- types/backbone.paginator/tsconfig.json | 3 +- types/backbone.radio/tsconfig.json | 3 +- types/backbone/tsconfig.json | 3 +- types/backgrid/tsconfig.json | 3 +- types/backlog-js/tsconfig.json | 3 +- types/backoff/tsconfig.json | 3 +- types/baconjs/tsconfig.json | 3 +- types/bagpipes/tsconfig.json | 3 +- types/baidumap-web-sdk/tsconfig.json | 3 +- types/barcode/tsconfig.json | 3 +- types/bardjs/tsconfig.json | 3 +- types/base-64/tsconfig.json | 3 +- types/base-x/tsconfig.json | 3 +- types/base16/tsconfig.json | 3 +- types/base64-js/tsconfig.json | 3 +- types/bases/tsconfig.json | 3 +- types/bash-glob/tsconfig.json | 3 +- types/basic-auth/tsconfig.json | 3 +- types/batch-stream/tsconfig.json | 3 +- types/bazinga-translator/tsconfig.json | 3 +- types/bcrypt-nodejs/tsconfig.json | 3 +- types/bcrypt/tsconfig.json | 3 +- types/bcryptjs/tsconfig.json | 3 +- types/beats/tsconfig.json | 3 +- types/bech32/tsconfig.json | 3 +- types/bem-cn/tsconfig.json | 3 +- types/benchmark/tsconfig.json | 3 +- types/better-curry/tsconfig.json | 3 +- types/better-sqlite3/tsconfig.json | 3 +- types/bezier-easing/tsconfig.json | 3 +- types/bezier-js/tsconfig.json | 3 +- types/bgiframe/tsconfig.json | 3 +- types/big.js/tsconfig.json | 3 +- types/bigi/tsconfig.json | 3 +- types/bigint/tsconfig.json | 3 +- types/bignum/tsconfig.json | 3 +- types/bigscreen/tsconfig.json | 3 +- types/binary-parser/tsconfig.json | 3 +- types/bind-ponyfill/tsconfig.json | 3 +- types/bindings/tsconfig.json | 3 +- types/bingmaps/tsconfig.json | 3 +- types/bintrees/tsconfig.json | 3 +- types/bip21/tsconfig.json | 3 +- types/bip38/tsconfig.json | 3 +- types/bip39/tsconfig.json | 3 +- types/bit-array/tsconfig.json | 3 +- types/bitcoinjs-lib/tsconfig.json | 3 +- types/bitcore-lib/tsconfig.json | 45 ++++++++++--------- types/bittorrent-protocol/tsconfig.json | 3 +- types/bitwise-xor/tsconfig.json | 3 +- types/bl/tsconfig.json | 3 +- types/blacklist/tsconfig.json | 3 +- types/blazy/tsconfig.json | 3 +- types/bleno/tsconfig.json | 3 +- types/blessed/tsconfig.json | 3 +- types/blissfuljs/tsconfig.json | 3 +- types/blob-stream/tsconfig.json | 3 +- types/blob-to-buffer/tsconfig.json | 3 +- types/blob-util/tsconfig.json | 3 +- types/blocks/tsconfig.json | 3 +- types/bloomfilter/tsconfig.json | 3 +- types/blue-tape/tsconfig.json | 3 +- types/bluebird-global/tsconfig.json | 3 +- types/bluebird-retry/tsconfig.json | 3 +- types/bluebird/tsconfig.json | 3 +- types/bluebird/v1/tsconfig.json | 3 +- types/bluebird/v2/tsconfig.json | 3 +- types/blueimp-md5/tsconfig.json | 3 +- types/body-parser/tsconfig.json | 3 +- types/bonjour/tsconfig.json | 3 +- types/bookshelf/tsconfig.json | 3 +- types/boolify-string/tsconfig.json | 3 +- types/boom/tsconfig.json | 3 +- types/boom/v3/tsconfig.json | 3 +- types/boom/v4/tsconfig.json | 3 +- types/bootbox/tsconfig.json | 3 +- types/bootpag/tsconfig.json | 3 +- types/bootstrap-3-typeahead/tsconfig.json | 3 +- types/bootstrap-datepicker/tsconfig.json | 3 +- types/bootstrap-fileinput/tsconfig.json | 3 +- .../bootstrap-growl-ifightcrime/tsconfig.json | 3 +- types/bootstrap-maxlength/tsconfig.json | 3 +- types/bootstrap-notify/tsconfig.json | 3 +- types/bootstrap-select/tsconfig.json | 3 +- types/bootstrap-slider/tsconfig.json | 3 +- types/bootstrap-switch/tsconfig.json | 3 +- types/bootstrap-table/tsconfig.json | 3 +- types/bootstrap-touchspin/tsconfig.json | 3 +- types/bootstrap-treeview/tsconfig.json | 3 +- types/bootstrap-validator/tsconfig.json | 3 +- types/bootstrap.paginator/tsconfig.json | 3 +- types/bootstrap.timepicker/tsconfig.json | 3 +- .../bootstrap.v3.datetimepicker/tsconfig.json | 3 +- .../v3/tsconfig.json | 3 +- types/bootstrap/tsconfig.json | 3 +- types/bounce.js/tsconfig.json | 3 +- types/box2d/tsconfig.json | 3 +- types/brace-expansion/tsconfig.json | 3 +- types/braces/tsconfig.json | 3 +- types/braft-editor/tsconfig.json | 3 +- types/braintree-web/tsconfig.json | 3 +- types/breeze/tsconfig.json | 3 +- types/bricks.js/tsconfig.json | 3 +- types/brorand/tsconfig.json | 3 +- types/browser-bunyan/tsconfig.json | 3 +- types/browser-fingerprint/tsconfig.json | 3 +- types/browser-harness/tsconfig.json | 3 +- types/browser-pack/tsconfig.json | 3 +- types/browser-report/tsconfig.json | 3 +- types/browser-resolve/tsconfig.json | 3 +- types/browser-sync/tsconfig.json | 3 +- types/browserify/tsconfig.json | 3 +- types/bs58/tsconfig.json | 3 +- types/bson/tsconfig.json | 3 +- types/bucks/tsconfig.json | 3 +- types/buffer-compare/tsconfig.json | 3 +- types/buffer-equal/tsconfig.json | 3 +- types/buffers/tsconfig.json | 3 +- types/bufferstream/tsconfig.json | 3 +- types/builtin-modules/tsconfig.json | 3 +- types/bull/tsconfig.json | 3 +- types/bull/v2/tsconfig.json | 3 +- types/bump-regex/tsconfig.json | 3 +- types/bunnymq/tsconfig.json | 3 +- types/bunyan-blackhole/tsconfig.json | 3 +- types/bunyan-bugsnag/tsconfig.json | 3 +- types/bunyan-config/tsconfig.json | 3 +- types/bunyan-format/tsconfig.json | 3 +- types/bunyan-logentries/tsconfig.json | 3 +- types/bunyan-prettystream/tsconfig.json | 3 +- types/bunyan-winston-adapter/tsconfig.json | 3 +- types/bunyan/tsconfig.json | 3 +- types/busboy/tsconfig.json | 3 +- types/business-rules-engine/tsconfig.json | 3 +- types/bwip-js/tsconfig.json | 3 +- types/byline/tsconfig.json | 3 +- types/bytebuffer/tsconfig.json | 3 +- types/bytes/tsconfig.json | 3 +- types/c3/tsconfig.json | 3 +- types/cache-manager/tsconfig.json | 3 +- types/cal-heatmap/tsconfig.json | 3 +- types/callsite/tsconfig.json | 3 +- types/callsites/tsconfig.json | 3 +- types/calq/tsconfig.json | 3 +- types/camaro/tsconfig.json | 3 +- types/camelcase-keys/tsconfig.json | 3 +- types/camelcase/tsconfig.json | 3 +- types/camljs/tsconfig.json | 3 +- types/camo/tsconfig.json | 3 +- types/cancan/tsconfig.json | 3 +- types/cannon/tsconfig.json | 3 +- types/canvas-gauges/tsconfig.json | 3 +- types/canvasjs/tsconfig.json | 3 +- types/capitalize/tsconfig.json | 3 +- types/card-validator/tsconfig.json | 3 +- .../tsconfig.json | 1 - types/caseless/tsconfig.json | 3 +- types/cash/tsconfig.json | 3 +- types/casperjs/tsconfig.json | 3 +- types/cassandra-driver/tsconfig.json | 3 +- types/catalog/tsconfig.json | 1 - types/catbox/tsconfig.json | 3 +- types/cbor/tsconfig.json | 3 +- types/ccap/tsconfig.json | 3 +- types/chai-arrays/tsconfig.json | 3 +- types/chai-as-promised/tsconfig.json | 3 +- types/chai-datetime/tsconfig.json | 3 +- types/chai-dom/tsconfig.json | 3 +- types/chai-enzyme/tsconfig.json | 1 - types/chai-fuzzy/tsconfig.json | 3 +- types/chai-http/tsconfig.json | 3 +- types/chai-jest-snapshot/tsconfig.json | 3 +- types/chai-jquery/tsconfig.json | 3 +- types/chai-json-schema/tsconfig.json | 3 +- types/chai-oequal/tsconfig.json | 3 +- types/chai-spies/tsconfig.json | 3 +- types/chai-string/tsconfig.json | 3 +- types/chai-subset/tsconfig.json | 3 +- types/chai-things/tsconfig.json | 3 +- types/chai-webdriverio/tsconfig.json | 3 +- types/chai-xml/tsconfig.json | 3 +- types/chai/tsconfig.json | 3 +- types/chai/v2/tsconfig.json | 3 +- types/chance/tsconfig.json | 3 +- types/change-emitter/tsconfig.json | 3 +- types/charm/tsconfig.json | 3 +- types/charset/tsconfig.json | 3 +- types/chart.js/tsconfig.json | 3 +- types/chartist/tsconfig.json | 3 +- types/chayns/tsconfig.json | 3 +- types/check-sum/tsconfig.json | 3 +- types/check-types/tsconfig.json | 3 +- types/checkstyle-formatter/tsconfig.json | 3 +- types/checksum/tsconfig.json | 3 +- types/cheerio/tsconfig.json | 3 +- types/chessboardjs/tsconfig.json | 5 +-- types/chmodr/tsconfig.json | 3 +- types/chocolatechipjs/tsconfig.json | 3 +- types/chokidar/tsconfig.json | 3 +- types/chosen-js/tsconfig.json | 3 +- types/chownr/tsconfig.json | 3 +- types/chroma-js/tsconfig.json | 3 +- types/chroma-js/v0/tsconfig.json | 3 +- types/chrome/tsconfig.json | 3 +- types/chui/tsconfig.json | 3 +- types/circular-json/tsconfig.json | 3 +- types/ckeditor/tsconfig.json | 3 +- types/clamp-js-main/tsconfig.json | 3 +- types/clamp-js/tsconfig.json | 3 +- types/classnames/tsconfig.json | 3 +- types/cldrjs/tsconfig.json | 3 +- types/clean-css/tsconfig.json | 3 +- types/clean-stack/tsconfig.json | 3 +- types/clean-webpack-plugin/tsconfig.json | 3 +- types/clear-require/tsconfig.json | 3 +- types/cleave.js/tsconfig.json | 1 - types/cli-color/tsconfig.json | 3 +- types/cli-spinner/tsconfig.json | 3 +- types/cli-table2/tsconfig.json | 3 +- types/cli/tsconfig.json | 3 +- types/client-sessions/tsconfig.json | 3 +- types/cliff/tsconfig.json | 3 +- types/clipboard-js/tsconfig.json | 3 +- types/clipboard/tsconfig.json | 3 +- types/clipboardy/tsconfig.json | 3 +- types/clndr/tsconfig.json | 3 +- types/clockpicker/tsconfig.json | 3 +- types/clone/tsconfig.json | 3 +- types/closure-compiler/tsconfig.json | 3 +- types/cloud-env/tsconfig.json | 3 +- types/cloudflare-apps/tsconfig.json | 1 - types/cls-hooked/tsconfig.json | 3 +- types/clusterize.js/tsconfig.json | 3 +- types/cmd-shim/tsconfig.json | 3 +- types/co-body/tsconfig.json | 3 +- types/co-views/tsconfig.json | 3 +- types/code/tsconfig.json | 3 +- types/codemirror/tsconfig.json | 3 +- types/codependency/tsconfig.json | 3 +- types/coffeeify/tsconfig.json | 3 +- types/coinbase/tsconfig.json | 3 +- types/coinstring/tsconfig.json | 3 +- types/collections/tsconfig.json | 3 +- types/color-convert/tsconfig.json | 3 +- types/color-name/tsconfig.json | 1 - types/color-namer/tsconfig.json | 3 +- types/color-string/tsconfig.json | 3 +- types/color/tsconfig.json | 3 +- types/color/v0/tsconfig.json | 3 +- types/color/v1/tsconfig.json | 3 +- types/color/v2/tsconfig.json | 3 +- types/colorbrewer/tsconfig.json | 3 +- types/colors/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/combine-source-map/tsconfig.json | 3 +- types/combined-stream/tsconfig.json | 3 +- types/combokeys/tsconfig.json | 3 +- types/cometd/tsconfig.json | 3 +- types/command-line-args/tsconfig.json | 3 +- types/command-line-commands/tsconfig.json | 3 +- types/commangular/tsconfig.json | 3 +- types/comment-json/tsconfig.json | 3 +- types/common-tags/tsconfig.json | 3 +- types/commonmark/tsconfig.json | 3 +- types/compare-version/tsconfig.json | 3 +- types/complex/tsconfig.json | 3 +- types/component-emitter/tsconfig.json | 3 +- types/compose-function/tsconfig.json | 3 +- types/compressible/tsconfig.json | 3 +- .../compression-webpack-plugin/tsconfig.json | 3 +- types/compression/tsconfig.json | 3 +- types/compute-stdev/tsconfig.json | 3 +- types/concat-stream/tsconfig.json | 3 +- types/concaveman/tsconfig.json | 3 +- types/conf/tsconfig.json | 3 +- types/conf/v0/tsconfig.json | 3 +- types/confidence/tsconfig.json | 3 +- types/config/tsconfig.json | 3 +- types/configstore/tsconfig.json | 3 +- types/confit/tsconfig.json | 3 +- types/connect-busboy/tsconfig.json | 3 +- types/connect-ensure-login/tsconfig.json | 3 +- types/connect-flash/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/connect-livereload/tsconfig.json | 3 +- types/connect-modrewrite/tsconfig.json | 3 +- types/connect-mongo/tsconfig.json | 3 +- types/connect-pg-simple/tsconfig.json | 3 +- types/connect-redis/tsconfig.json | 3 +- types/connect-slashes/tsconfig.json | 3 +- types/connect-timeout/tsconfig.json | 3 +- types/connect/tsconfig.json | 3 +- types/console-stamp/tsconfig.json | 3 +- types/consolidate/tsconfig.json | 3 +- types/consul/tsconfig.json | 3 +- types/content-disposition/tsconfig.json | 3 +- types/content-type/tsconfig.json | 3 +- .../contentful-resolve-response/tsconfig.json | 3 +- types/contextjs/tsconfig.json | 3 +- .../continuation-local-storage/tsconfig.json | 3 +- types/convert-hrtime/tsconfig.json | 3 +- types/convert-layout/tsconfig.json | 3 +- types/convert-source-map/tsconfig.json | 3 +- types/convict/tsconfig.json | 3 +- types/cookie-parser/tsconfig.json | 3 +- types/cookie-session/tsconfig.json | 3 +- types/cookie-signature/tsconfig.json | 3 +- types/cookie/tsconfig.json | 3 +- types/cookie_js/tsconfig.json | 3 +- types/cookies/tsconfig.json | 3 +- types/copy-paste/tsconfig.json | 3 +- types/copy-text-to-clipboard/tsconfig.json | 3 +- types/copy-webpack-plugin/tsconfig.json | 3 +- types/cordova-ionic/tsconfig.json | 3 +- .../cordova-plugin-app-version/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/cordova-plugin-badge/tsconfig.json | 3 +- .../cordova-plugin-ble-central/tsconfig.json | 3 +- .../cordova-plugin-canvascamera/tsconfig.json | 1 - .../cordova-plugin-device-name/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../cordova-plugin-file-opener2/tsconfig.json | 3 +- types/cordova-plugin-ibeacon/tsconfig.json | 3 +- types/cordova-plugin-insomnia/tsconfig.json | 3 +- types/cordova-plugin-keyboard/tsconfig.json | 3 +- types/cordova-plugin-mapsforge/tsconfig.json | 3 +- types/cordova-plugin-ms-adal/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/cordova-plugin-ouralabs/tsconfig.json | 3 +- types/cordova-plugin-qrscanner/tsconfig.json | 3 +- types/cordova-plugin-spinner/tsconfig.json | 3 +- types/cordova-plugin-websql/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/cordova-sqlite-storage/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/cordova/tsconfig.json | 3 +- .../cordova_app_version_plugin/tsconfig.json | 3 +- types/cordovarduino/tsconfig.json | 3 +- types/core-js/tsconfig.json | 3 +- types/cors/tsconfig.json | 3 +- types/cote/tsconfig.json | 3 +- types/couchbase/tsconfig.json | 3 +- types/countdown/tsconfig.json | 3 +- types/counterpart/tsconfig.json | 3 +- types/countries-and-timezones/tsconfig.json | 3 +- types/country-list/tsconfig.json | 3 +- types/country-select-js/tsconfig.json | 3 +- types/coverup/tsconfig.json | 3 +- types/cp-file/tsconfig.json | 3 +- types/cpx/tsconfig.json | 3 +- types/cpy/tsconfig.json | 3 +- types/cqrs-domain/tsconfig.json | 3 +- types/cradle/tsconfig.json | 3 +- types/crc/tsconfig.json | 3 +- types/create-error/tsconfig.json | 3 +- types/create-react-class/tsconfig.json | 1 - types/createjs-lib/tsconfig.json | 3 +- types/createjs/tsconfig.json | 3 +- types/credential/tsconfig.json | 3 +- types/credit-card-type/tsconfig.json | 3 +- types/cron/tsconfig.json | 3 +- types/cropperjs/tsconfig.json | 3 +- types/croppie/tsconfig.json | 3 +- types/cross-spawn/tsconfig.json | 3 +- types/cross-storage/tsconfig.json | 3 +- types/crossfilter/tsconfig.json | 3 +- types/crossroads/tsconfig.json | 3 +- types/cryptiles/tsconfig.json | 3 +- types/crypto-js/tsconfig.json | 3 +- types/cryptojs/tsconfig.json | 3 +- types/cson/tsconfig.json | 3 +- types/csprng/tsconfig.json | 3 +- types/csrf/tsconfig.json | 3 +- types/css-font-loading-module/tsconfig.json | 3 +- types/css-modules-require-hook/tsconfig.json | 3 +- types/css-modules/tsconfig.json | 3 +- types/css/tsconfig.json | 3 +- types/cssbeautify/tsconfig.json | 3 +- types/csurf/tsconfig.json | 3 +- types/csv-parse/tsconfig.json | 3 +- types/csv-stringify/tsconfig.json | 3 +- types/csvrow/tsconfig.json | 1 - types/csvtojson/tsconfig.json | 3 +- types/cucumber/tsconfig.json | 3 +- types/cucumber/v1/tsconfig.json | 3 +- types/cucumber/v3/tsconfig.json | 3 +- types/cuid/tsconfig.json | 3 +- types/currency-formatter/tsconfig.json | 3 +- types/custom-error-generator/tsconfig.json | 3 +- types/cwise-compiler/tsconfig.json | 3 +- types/cwise-parser/tsconfig.json | 3 +- types/cwise/tsconfig.json | 3 +- types/cybozulabs-md5/tsconfig.json | 3 +- types/cytoscape/tsconfig.json | 3 +- types/d3-array/tsconfig.json | 3 +- types/d3-axis/tsconfig.json | 3 +- types/d3-box/tsconfig.json | 3 +- types/d3-brush/tsconfig.json | 3 +- types/d3-chord/tsconfig.json | 3 +- types/d3-collection/tsconfig.json | 3 +- types/d3-color/tsconfig.json | 3 +- types/d3-contour/tsconfig.json | 3 +- types/d3-dispatch/tsconfig.json | 3 +- types/d3-drag/tsconfig.json | 3 +- types/d3-dsv/tsconfig.json | 3 +- types/d3-dsv/v0/tsconfig.json | 3 +- types/d3-ease/tsconfig.json | 3 +- types/d3-fetch/tsconfig.json | 3 +- types/d3-force/tsconfig.json | 3 +- types/d3-format/tsconfig.json | 3 +- types/d3-geo/tsconfig.json | 3 +- types/d3-hexbin/tsconfig.json | 3 +- types/d3-hierarchy/tsconfig.json | 3 +- types/d3-hsv/tsconfig.json | 3 +- types/d3-interpolate/tsconfig.json | 3 +- types/d3-path/tsconfig.json | 3 +- types/d3-polygon/tsconfig.json | 3 +- types/d3-quadtree/tsconfig.json | 3 +- types/d3-queue/tsconfig.json | 3 +- types/d3-random/tsconfig.json | 3 +- types/d3-request/tsconfig.json | 3 +- types/d3-sankey/tsconfig.json | 3 +- types/d3-scale-chromatic/tsconfig.json | 5 +-- types/d3-scale/tsconfig.json | 3 +- types/d3-scale/v1/tsconfig.json | 9 ++-- types/d3-selection-multi/tsconfig.json | 3 +- types/d3-selection/tsconfig.json | 5 +-- types/d3-shape/tsconfig.json | 3 +- types/d3-time-format/tsconfig.json | 3 +- types/d3-time/tsconfig.json | 3 +- types/d3-timer/tsconfig.json | 3 +- types/d3-tip/tsconfig.json | 3 +- types/d3-transition/tsconfig.json | 3 +- types/d3-voronoi/tsconfig.json | 3 +- types/d3-zoom/tsconfig.json | 3 +- types/d3.cloud.layout/tsconfig.json | 3 +- types/d3.slider/tsconfig.json | 3 +- types/d3/tsconfig.json | 3 +- types/d3/v3/tsconfig.json | 3 +- types/d3/v4/tsconfig.json | 13 +++--- types/d3kit/tsconfig.json | 3 +- types/d3kit/v1/tsconfig.json | 3 +- types/d3pie/tsconfig.json | 3 +- types/dagre-d3/tsconfig.json | 3 +- types/dagre-layout/tsconfig.json | 3 +- types/dagre/tsconfig.json | 3 +- types/dargs/tsconfig.json | 3 +- types/dashify/tsconfig.json | 3 +- types/dat-gui/tsconfig.json | 3 +- types/data-driven/tsconfig.json | 3 +- types/datadog-metrics/tsconfig.json | 3 +- types/datatables.net-buttons/tsconfig.json | 3 +- .../datatables.net-fixedheader/tsconfig.json | 3 +- types/datatables.net-rowgroup/tsconfig.json | 3 +- types/datatables.net-rowreorder/tsconfig.json | 3 +- types/datatables.net-select/tsconfig.json | 3 +- types/datatables.net/tsconfig.json | 3 +- types/date-arithmetic/tsconfig.json | 3 +- types/date.format.js/tsconfig.json | 3 +- types/dateformat/tsconfig.json | 3 +- types/datejs/tsconfig.json | 3 +- types/daterangepicker/tsconfig.json | 3 +- types/db-migrate-base/tsconfig.json | 3 +- types/db-migrate-pg/tsconfig.json | 3 +- types/db.js/tsconfig.json | 3 +- types/dc/tsconfig.json | 3 +- types/deasync/tsconfig.json | 3 +- types/debessmann/tsconfig.json | 3 +- types/debounce/tsconfig.json | 3 +- types/debug/tsconfig.json | 3 +- types/decamelize/tsconfig.json | 3 +- types/decay/tsconfig.json | 3 +- types/decompress/tsconfig.json | 1 - types/decorum/tsconfig.json | 3 +- types/dedent/tsconfig.json | 3 +- types/deep-assign/tsconfig.json | 3 +- types/deep-diff/tsconfig.json | 3 +- types/deep-equal/tsconfig.json | 3 +- types/deep-extend/tsconfig.json | 3 +- types/deep-freeze-es6/tsconfig.json | 3 +- types/deep-freeze-strict/tsconfig.json | 3 +- types/deep-freeze/tsconfig.json | 3 +- types/deepmerge/tsconfig.json | 3 +- types/defaults/tsconfig.json | 3 +- types/defer-promise/tsconfig.json | 3 +- types/define-lazy-prop/tsconfig.json | 3 +- types/defined/tsconfig.json | 3 +- types/deku/tsconfig.json | 3 +- types/del/tsconfig.json | 3 +- types/del/v2/tsconfig.json | 3 +- types/delaunator/tsconfig.json | 3 +- types/delay/tsconfig.json | 3 +- types/denodeify/tsconfig.json | 3 +- types/deoxxa-content-type/tsconfig.json | 3 +- types/depcheck/tsconfig.json | 3 +- types/depd/tsconfig.json | 3 +- types/deployjava/tsconfig.json | 3 +- types/destroy-on-hwm/tsconfig.json | 3 +- types/destroy/tsconfig.json | 3 +- types/detect-browser/tsconfig.json | 3 +- types/detect-hover/tsconfig.json | 3 +- types/detect-indent/tsconfig.json | 3 +- types/detect-indent/v0/tsconfig.json | 3 +- types/detect-it/tsconfig.json | 3 +- types/detect-newline/tsconfig.json | 3 +- types/detect-passive-events/tsconfig.json | 3 +- types/detect-pointer/tsconfig.json | 3 +- types/detect-port/tsconfig.json | 3 +- types/detect-touch-events/tsconfig.json | 3 +- types/devexpress-web/tsconfig.json | 3 +- types/devexpress-web/v161/tsconfig.json | 3 +- types/devexpress-web/v162/tsconfig.json | 3 +- types/devtools-detect/tsconfig.json | 3 +- types/df-visible/tsconfig.json | 3 +- types/dhtmlxgantt/tsconfig.json | 3 +- types/dhtmlxscheduler/tsconfig.json | 3 +- types/di-lite/tsconfig.json | 3 +- types/diacritics/tsconfig.json | 3 +- types/diff-match-patch/tsconfig.json | 3 +- types/diff/tsconfig.json | 3 +- types/diff2html/tsconfig.json | 3 +- types/dir-resolve/tsconfig.json | 3 +- types/discontinuous-range/tsconfig.json | 3 +- types/disposable-email-domains/tsconfig.json | 3 +- types/doccookies/tsconfig.json | 3 +- types/dock-spawn/tsconfig.json | 3 +- types/dockerode/tsconfig.json | 3 +- types/docopt/tsconfig.json | 3 +- types/doctrine/tsconfig.json | 3 +- types/documentdb-server/tsconfig.json | 3 +- types/documentdb-session/tsconfig.json | 3 +- types/documentdb/tsconfig.json | 3 +- types/dojo/tsconfig.json | 3 +- types/dom-inputevent/tsconfig.json | 3 +- types/dom4/tsconfig.json | 3 +- types/domo/tsconfig.json | 3 +- types/dompurify/tsconfig.json | 3 +- types/domready/tsconfig.json | 3 +- types/domurl/tsconfig.json | 3 +- types/donna/tsconfig.json | 3 +- types/dookie/tsconfig.json | 3 +- types/dot-object/tsconfig.json | 3 +- types/dot-prop/tsconfig.json | 3 +- types/dot-prop/v2/tsconfig.json | 3 +- types/dot/tsconfig.json | 3 +- types/dotdir-regex/tsconfig.json | 3 +- types/dotdotdot/tsconfig.json | 3 +- types/dotenv-safe/tsconfig.json | 3 +- types/dotenv/tsconfig.json | 3 +- types/dotenv/v2/tsconfig.json | 3 +- types/dotfile-regex/tsconfig.json | 3 +- types/dottie/tsconfig.json | 3 +- types/double-ended-queue/tsconfig.json | 3 +- types/doublearray/tsconfig.json | 3 +- types/doubleclick-gpt/tsconfig.json | 3 +- types/download/tsconfig.json | 3 +- types/downloadjs/tsconfig.json | 3 +- types/draft-js/tsconfig.json | 3 +- types/drag-timetable/tsconfig.json | 3 +- types/draggabilly/tsconfig.json | 3 +- types/dragster/tsconfig.json | 3 +- types/dragula/tsconfig.json | 3 +- types/dropboxjs/tsconfig.json | 3 +- types/dropkickjs/tsconfig.json | 3 +- types/dropzone/tsconfig.json | 3 +- types/dropzone/v4/tsconfig.json | 1 - types/dsv/tsconfig.json | 3 +- types/dts-bundle/tsconfig.json | 3 +- types/dts-generator/tsconfig.json | 3 +- types/duplexer2/tsconfig.json | 3 +- types/duplexer3/tsconfig.json | 3 +- types/duplexify/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/durandal/tsconfig.json | 3 +- types/durandal/v1/tsconfig.json | 3 +- types/dustjs-linkedin/tsconfig.json | 3 +- types/dvtng-jss/tsconfig.json | 3 +- types/dw-bxslider-4/tsconfig.json | 3 +- types/dwt/tsconfig.json | 3 +- types/dwt/v12/tsconfig.json | 3 +- types/dygraphs/tsconfig.json | 3 +- types/dymo-label-framework/tsconfig.json | 3 +- types/dynatable/tsconfig.json | 3 +- types/dynogels/tsconfig.json | 3 +- types/each/tsconfig.json | 3 +- types/earcut/tsconfig.json | 1 - types/easeljs/tsconfig.json | 3 +- types/easy-api-request/tsconfig.json | 3 +- types/easy-jsend/tsconfig.json | 3 +- types/easy-session/tsconfig.json | 3 +- types/easy-table/tsconfig.json | 3 +- types/easy-xapi-utils/tsconfig.json | 3 +- types/easy-xapi/tsconfig.json | 3 +- types/ebongarde-root/tsconfig.json | 3 +- types/echarts/tsconfig.json | 3 +- types/ecurve/tsconfig.json | 3 +- types/ed25519/tsconfig.json | 3 +- types/ed2curve/tsconfig.json | 3 +- types/egg-mock/tsconfig.json | 3 +- types/egg.js/tsconfig.json | 3 +- types/egjs__axes/tsconfig.json | 1 - types/egjs__component/tsconfig.json | 1 - types/ej.web.all/tsconfig.json | 3 +- types/ejs-locals/tsconfig.json | 3 +- types/ejs/tsconfig.json | 3 +- types/ejson/tsconfig.json | 3 +- types/elastic.js/tsconfig.json | 3 +- types/elasticsearch/tsconfig.json | 3 +- types/electron-config/tsconfig.json | 3 +- types/electron-debug/tsconfig.json | 3 +- .../electron-devtools-installer/tsconfig.json | 3 +- types/electron-is-dev/tsconfig.json | 3 +- types/electron-json-storage/tsconfig.json | 3 +- types/electron-notifications/tsconfig.json | 3 +- types/electron-notify/tsconfig.json | 3 +- types/electron-packager/tsconfig.json | 3 +- types/electron-settings/tsconfig.json | 3 +- types/electron-settings/v2/tsconfig.json | 3 +- types/electron-spellchecker/tsconfig.json | 3 +- types/electron-store/tsconfig.json | 3 +- types/electron-util/tsconfig.json | 3 +- types/electron-window-state/tsconfig.json | 3 +- types/electron-winstaller/tsconfig.json | 3 +- types/element-ready/tsconfig.json | 3 +- types/element-resize-detector/tsconfig.json | 3 +- types/element-resize-event/tsconfig.json | 3 +- types/elm/tsconfig.json | 3 +- types/email-templates/tsconfig.json | 3 +- types/ember-data/tsconfig.json | 3 +- types/ember-feature-flags/tsconfig.json | 3 +- types/ember-mocha/tsconfig.json | 3 +- types/ember-modal-dialog/tsconfig.json | 3 +- types/ember-qunit/tsconfig.json | 3 +- types/ember-qunit/v2/tsconfig.json | 3 +- types/ember-test-helpers/tsconfig.json | 3 +- types/ember-testing-helpers/tsconfig.json | 3 +- types/ember/tsconfig.json | 3 +- types/ember/v1/tsconfig.json | 3 +- types/emissary/tsconfig.json | 3 +- types/emoji-mart/tsconfig.json | 1 - types/emojione/tsconfig.json | 3 +- types/empower/tsconfig.json | 3 +- types/emscripten/tsconfig.json | 3 +- types/encoding-japanese/tsconfig.json | 3 +- types/end-of-stream/tsconfig.json | 3 +- types/engine.io-client/tsconfig.json | 3 +- types/engine.io/tsconfig.json | 3 +- types/enhanced-resolve/tsconfig.json | 3 +- types/enigma.js/tsconfig.json | 3 +- types/ent/tsconfig.json | 3 +- types/entities/tsconfig.json | 3 +- types/env-to-object/tsconfig.json | 3 +- types/envify/tsconfig.json | 3 +- types/enzyme-adapter-react-15.4/tsconfig.json | 3 +- types/enzyme-adapter-react-15/tsconfig.json | 1 - types/enzyme-adapter-react-16/tsconfig.json | 1 - types/enzyme-to-json/tsconfig.json | 3 +- types/enzyme/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/epiceditor/tsconfig.json | 3 +- types/epilogue/tsconfig.json | 3 +- types/epub/tsconfig.json | 3 +- types/eq.js/tsconfig.json | 3 +- types/errorhandler/tsconfig.json | 3 +- types/es6-collections/tsconfig.json | 3 +- types/es6-promisify/tsconfig.json | 3 +- types/es6-shim/tsconfig.json | 3 +- types/es6-weak-map/tsconfig.json | 3 +- types/escape-html/tsconfig.json | 3 +- types/escape-latex/tsconfig.json | 3 +- types/escape-string-regexp/tsconfig.json | 3 +- types/escodegen/tsconfig.json | 3 +- types/eslint-plugin-prettier/tsconfig.json | 3 +- types/eslint/tsconfig.json | 5 +-- types/esprima-walk/tsconfig.json | 3 +- types/esprima/tsconfig.json | 3 +- types/esprima/v2/tsconfig.json | 3 +- types/espruino/tsconfig.json | 3 +- types/esri-leaflet-geocoder/tsconfig.json | 3 +- types/esri-leaflet/tsconfig.json | 3 +- types/estraverse/tsconfig.json | 3 +- types/estree/tsconfig.json | 3 +- types/etag/tsconfig.json | 3 +- types/ethjs-signer/tsconfig.json | 3 +- types/eureka-js-client/tsconfig.json | 3 +- types/evaporate/tsconfig.json | 3 +- types/event-emitter/tsconfig.json | 3 +- types/event-kit/tsconfig.json | 3 +- types/event-loop-lag/tsconfig.json | 3 +- types/event-stream/tsconfig.json | 3 +- types/event-to-promise/tsconfig.json | 3 +- types/events/tsconfig.json | 3 +- types/evernote/tsconfig.json | 3 +- types/exceljs/tsconfig.json | 3 +- types/execa/tsconfig.json | 3 +- types/exit-hook/tsconfig.json | 3 +- types/exit/tsconfig.json | 3 +- types/exorcist/tsconfig.json | 3 +- types/expect.js/tsconfig.json | 3 +- types/expect/tsconfig.json | 3 +- types/expectations/tsconfig.json | 3 +- types/expo/tsconfig.json | 3 +- types/expo/v23/tsconfig.json | 3 +- types/expo__vector-icons/tsconfig.json | 1 - types/express-brute-memcached/tsconfig.json | 3 +- types/express-brute-mongo/tsconfig.json | 3 +- types/express-brute-redis/tsconfig.json | 3 +- types/express-brute/tsconfig.json | 3 +- types/express-busboy/tsconfig.json | 3 +- types/express-cluster/tsconfig.json | 3 +- types/express-debug/tsconfig.json | 3 +- types/express-domain-middleware/tsconfig.json | 3 +- types/express-ejs-layouts/tsconfig.json | 3 +- types/express-enforces-ssl/tsconfig.json | 3 +- types/express-fileupload/tsconfig.json | 3 +- types/express-flash-2/tsconfig.json | 3 +- .../express-flash-notification/tsconfig.json | 3 +- types/express-formidable/tsconfig.json | 3 +- types/express-graphql/tsconfig.json | 3 +- types/express-handlebars/tsconfig.json | 3 +- types/express-jwt/tsconfig.json | 3 +- types/express-less/tsconfig.json | 3 +- types/express-minify/tsconfig.json | 3 +- types/express-mongo-sanitize/tsconfig.json | 1 - types/express-mung/tsconfig.json | 3 +- types/express-myconnection/tsconfig.json | 3 +- types/express-mysql-session/tsconfig.json | 3 +- types/express-oauth-server/tsconfig.json | 3 +- types/express-openapi/tsconfig.json | 3 +- types/express-partials/tsconfig.json | 3 +- types/express-promise-router/tsconfig.json | 3 +- types/express-rate-limit/tsconfig.json | 3 +- types/express-route-fs/tsconfig.json | 3 +- types/express-sanitized/tsconfig.json | 3 +- types/express-serve-static-core/tsconfig.json | 3 +- types/express-session/tsconfig.json | 3 +- types/express-to-koa/tsconfig.json | 3 +- types/express-unless/tsconfig.json | 3 +- types/express-useragent/tsconfig.json | 3 +- types/express-winston/tsconfig.json | 3 +- types/express/tsconfig.json | 3 +- types/extend/tsconfig.json | 3 +- types/extjs/tsconfig.json | 3 +- types/extract-stack/tsconfig.json | 3 +- .../extract-text-webpack-plugin/tsconfig.json | 3 +- types/extract-zip/tsconfig.json | 3 +- types/eyes/tsconfig.json | 3 +- types/f1/tsconfig.json | 3 +- types/fabric/tsconfig.json | 3 +- types/facebook-js-sdk/tsconfig.json | 3 +- types/facebook-pixel/tsconfig.json | 3 +- types/faker/tsconfig.json | 3 +- types/faker/v3/tsconfig.json | 3 +- types/falcor-express/tsconfig.json | 3 +- types/falcor-http-datasource/tsconfig.json | 3 +- types/falcor-json-graph/tsconfig.json | 3 +- types/falcor-router/tsconfig.json | 3 +- types/falcor/tsconfig.json | 3 +- types/famous/tsconfig.json | 3 +- types/fancy-log/tsconfig.json | 3 +- types/fancybox/tsconfig.json | 3 +- types/farbtastic/tsconfig.json | 3 +- types/fast-diff/tsconfig.json | 3 +- types/fast-levenshtein/tsconfig.json | 3 +- types/fast-list/tsconfig.json | 3 +- types/fast-stats/tsconfig.json | 3 +- types/fastclick/tsconfig.json | 3 +- types/favico.js/tsconfig.json | 3 +- types/fb/tsconfig.json | 3 +- types/fbemitter/tsconfig.json | 3 +- types/featherlight/tsconfig.json | 3 +- .../tsconfig.json | 1 - .../tsconfig.json | 1 - .../tsconfig.json | 1 - .../tsconfig.json | 1 - .../tsconfig.json | 1 - .../feathersjs__authentication/tsconfig.json | 1 - types/feathersjs__configuration/tsconfig.json | 1 - types/feathersjs__errors/tsconfig.json | 1 - types/feathersjs__express/tsconfig.json | 1 - types/feathersjs__feathers/tsconfig.json | 1 - types/feathersjs__primus-client/tsconfig.json | 1 - types/feathersjs__primus/tsconfig.json | 1 - types/feathersjs__rest-client/tsconfig.json | 1 - .../feathersjs__socket-commons/tsconfig.json | 1 - .../feathersjs__socketio-client/tsconfig.json | 1 - types/feathersjs__socketio/tsconfig.json | 1 - types/feedme/tsconfig.json | 1 - types/feedparser/tsconfig.json | 3 +- types/fetch-jsonp/tsconfig.json | 1 - types/fetch-mock/tsconfig.json | 3 +- types/fetch.io/tsconfig.json | 3 +- types/ffi/tsconfig.json | 3 +- types/ffmpeg-static/tsconfig.json | 3 +- types/ffprobe-static/tsconfig.json | 3 +- types/fhir/tsconfig.json | 3 +- types/fibers/tsconfig.json | 3 +- types/field/tsconfig.json | 3 +- types/figures/tsconfig.json | 3 +- types/file-exists/tsconfig.json | 3 +- types/file-saver/tsconfig.json | 3 +- types/file-type/tsconfig.json | 3 +- types/file-url/tsconfig.json | 3 +- types/filenamify/tsconfig.json | 3 +- types/filesize/tsconfig.json | 3 +- types/filesystem/tsconfig.json | 3 +- types/filewriter/tsconfig.json | 3 +- types/fill-pdf/tsconfig.json | 3 +- types/finalhandler/tsconfig.json | 3 +- types/finch/tsconfig.json | 3 +- types/find-root/tsconfig.json | 1 - types/find-up/tsconfig.json | 3 +- types/find/tsconfig.json | 3 +- types/findup-sync/tsconfig.json | 3 +- types/fingerprintjs/tsconfig.json | 3 +- types/fingerprintjs2/tsconfig.json | 3 +- types/firebase-client/tsconfig.json | 3 +- types/firebase-token-generator/tsconfig.json | 3 +- types/firebird/tsconfig.json | 3 +- types/firefox-webext-browser/tsconfig.json | 3 +- types/firefox/tsconfig.json | 3 +- types/firmata/tsconfig.json | 3 +- types/first-mate/tsconfig.json | 3 +- types/fixed-data-table-2/tsconfig.json | 3 +- types/fixed-data-table/tsconfig.json | 3 +- types/flake-idgen/tsconfig.json | 3 +- types/flat/tsconfig.json | 3 +- types/flatbuffers/tsconfig.json | 3 +- types/flexslider/tsconfig.json | 3 +- types/flickity/tsconfig.json | 3 +- types/flight/tsconfig.json | 3 +- types/flightplan/tsconfig.json | 3 +- types/flipsnap/tsconfig.json | 3 +- types/flot/tsconfig.json | 3 +- types/flowjs/tsconfig.json | 3 +- types/fluent-ffmpeg/tsconfig.json | 3 +- types/flux/tsconfig.json | 1 - types/fluxxor/tsconfig.json | 3 +- types/fm-websync/tsconfig.json | 3 +- types/fontfaceobserver/tsconfig.json | 3 +- types/fontoxml/tsconfig.json | 3 +- types/forever-monitor/tsconfig.json | 3 +- types/forge-di/tsconfig.json | 3 +- types/form-data/tsconfig.json | 3 +- types/form-serializer/tsconfig.json | 3 +- types/form-urlencoded/tsconfig.json | 3 +- types/format-duration/tsconfig.json | 3 +- types/format-io/tsconfig.json | 3 +- types/format-unicorn/tsconfig.json | 3 +- types/formidable/tsconfig.json | 3 +- types/forms/tsconfig.json | 3 +- types/forwarded/tsconfig.json | 3 +- types/fossil-delta/tsconfig.json | 3 +- types/foundation/tsconfig.json | 3 +- types/fpsmeter/tsconfig.json | 3 +- types/framebus/tsconfig.json | 3 +- types/freedom/tsconfig.json | 3 +- types/freeport/tsconfig.json | 3 +- types/fresh/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/frisby/tsconfig.json | 3 +- types/from/tsconfig.json | 3 +- types/from2/tsconfig.json | 3 +- types/fromjs/tsconfig.json | 3 +- types/fromnow/tsconfig.json | 3 +- types/fs-cson/tsconfig.json | 3 +- types/fs-ext/tsconfig.json | 3 +- types/fs-extra-promise-es6/tsconfig.json | 3 +- types/fs-extra-promise/tsconfig.json | 3 +- types/fs-extra/tsconfig.json | 3 +- types/fs-extra/v4/tsconfig.json | 3 +- types/fs-finder/tsconfig.json | 3 +- types/fs-mock/tsconfig.json | 3 +- types/fs-plus/tsconfig.json | 3 +- types/fs-promise/tsconfig.json | 3 +- types/fs-readdir-recursive/tsconfig.json | 3 +- types/fs-readfile-promise/tsconfig.json | 3 +- types/fscreen/tsconfig.json | 3 +- types/fsevents/tsconfig.json | 3 +- types/ftdomdelegate/tsconfig.json | 3 +- types/ftp/tsconfig.json | 3 +- types/ftpd/tsconfig.json | 3 +- types/fullname/tsconfig.json | 3 +- types/fullpage.js/tsconfig.json | 3 +- types/fusioncharts/tsconfig.json | 3 +- types/fuzzaldrin-plus/tsconfig.json | 3 +- types/fuzzaldrin/tsconfig.json | 3 +- types/fuzzyset.js/tsconfig.json | 3 +- types/fuzzyset/tsconfig.json | 3 +- types/fxn/tsconfig.json | 3 +- types/gae.channel.api/tsconfig.json | 3 +- types/gamepad/tsconfig.json | 3 +- types/gamequery/tsconfig.json | 3 +- types/gandi-livedns/tsconfig.json | 3 +- types/gapi.analytics/tsconfig.json | 3 +- types/gapi.auth2/tsconfig.json | 3 +- types/gapi.calendar/tsconfig.json | 1 - .../tsconfig.json | 1 - .../gapi.client.adexchangebuyer/tsconfig.json | 1 - .../tsconfig.json | 1 - .../tsconfig.json | 1 - .../tsconfig.json | 1 - types/gapi.client.admin/tsconfig.json | 1 - types/gapi.client.adsense/tsconfig.json | 1 - types/gapi.client.adsensehost/tsconfig.json | 1 - types/gapi.client.analytics/tsconfig.json | 1 - .../tsconfig.json | 1 - .../tsconfig.json | 1 - .../tsconfig.json | 1 - .../tsconfig.json | 1 - .../tsconfig.json | 1 - types/gapi.client.appengine/tsconfig.json | 1 - types/gapi.client.appsactivity/tsconfig.json | 1 - types/gapi.client.appstate/tsconfig.json | 1 - types/gapi.client.bigquery/tsconfig.json | 1 - .../tsconfig.json | 1 - types/gapi.client.blogger/tsconfig.json | 1 - types/gapi.client.books/tsconfig.json | 1 - types/gapi.client.calendar/tsconfig.json | 1 - types/gapi.client.civicinfo/tsconfig.json | 1 - types/gapi.client.classroom/tsconfig.json | 1 - types/gapi.client.cloudbilling/tsconfig.json | 1 - types/gapi.client.cloudbuild/tsconfig.json | 1 - types/gapi.client.clouddebugger/tsconfig.json | 1 - .../tsconfig.json | 1 - .../gapi.client.cloudfunctions/tsconfig.json | 1 - types/gapi.client.cloudiot/tsconfig.json | 1 - types/gapi.client.cloudkms/tsconfig.json | 1 - .../gapi.client.cloudmonitoring/tsconfig.json | 1 - .../tsconfig.json | 1 - types/gapi.client.cloudtasks/tsconfig.json | 1 - types/gapi.client.cloudtrace/tsconfig.json | 1 - .../tsconfig.json | 1 - types/gapi.client.compute/tsconfig.json | 1 - .../gapi.client.consumersurveys/tsconfig.json | 1 - types/gapi.client.container/tsconfig.json | 1 - types/gapi.client.content/tsconfig.json | 1 - types/gapi.client.customsearch/tsconfig.json | 1 - types/gapi.client.dataflow/tsconfig.json | 1 - types/gapi.client.dataproc/tsconfig.json | 1 - types/gapi.client.datastore/tsconfig.json | 1 - .../tsconfig.json | 1 - types/gapi.client.dfareporting/tsconfig.json | 1 - types/gapi.client.discovery/tsconfig.json | 1 - types/gapi.client.dlp/tsconfig.json | 1 - types/gapi.client.dns/tsconfig.json | 1 - .../tsconfig.json | 1 - .../tsconfig.json | 1 - types/gapi.client.drive/tsconfig.json | 1 - .../tsconfig.json | 1 - .../tsconfig.json | 1 - types/gapi.client.firebaserules/tsconfig.json | 1 - types/gapi.client.firestore/tsconfig.json | 1 - types/gapi.client.fitness/tsconfig.json | 1 - types/gapi.client.fusiontables/tsconfig.json | 1 - types/gapi.client.games/tsconfig.json | 1 - .../tsconfig.json | 1 - .../gapi.client.gamesmanagement/tsconfig.json | 1 - types/gapi.client.genomics/tsconfig.json | 1 - types/gapi.client.gmail/tsconfig.json | 1 - .../gapi.client.groupsmigration/tsconfig.json | 1 - .../gapi.client.groupssettings/tsconfig.json | 1 - types/gapi.client.iam/tsconfig.json | 1 - .../gapi.client.identitytoolkit/tsconfig.json | 1 - types/gapi.client.kgsearch/tsconfig.json | 1 - types/gapi.client.language/tsconfig.json | 1 - types/gapi.client.licensing/tsconfig.json | 1 - types/gapi.client.logging/tsconfig.json | 1 - types/gapi.client.manufacturers/tsconfig.json | 1 - types/gapi.client.mirror/tsconfig.json | 1 - types/gapi.client.ml/tsconfig.json | 1 - types/gapi.client.monitoring/tsconfig.json | 1 - types/gapi.client.oauth2/tsconfig.json | 1 - types/gapi.client.oslogin/tsconfig.json | 1 - .../gapi.client.pagespeedonline/tsconfig.json | 1 - types/gapi.client.partners/tsconfig.json | 1 - types/gapi.client.people/tsconfig.json | 1 - types/gapi.client.playcustomapp/tsconfig.json | 1 - .../tsconfig.json | 1 - types/gapi.client.plus/tsconfig.json | 1 - types/gapi.client.plusdomains/tsconfig.json | 1 - types/gapi.client.prediction/tsconfig.json | 1 - .../gapi.client.proximitybeacon/tsconfig.json | 1 - types/gapi.client.pubsub/tsconfig.json | 1 - types/gapi.client.qpxexpress/tsconfig.json | 1 - types/gapi.client.reseller/tsconfig.json | 1 - types/gapi.client.resourceviews/tsconfig.json | 1 - types/gapi.client.runtimeconfig/tsconfig.json | 1 - types/gapi.client.safebrowsing/tsconfig.json | 1 - types/gapi.client.script/tsconfig.json | 1 - types/gapi.client.searchconsole/tsconfig.json | 1 - .../gapi.client.servicecontrol/tsconfig.json | 1 - .../tsconfig.json | 1 - types/gapi.client.serviceuser/tsconfig.json | 1 - types/gapi.client.sheets/tsconfig.json | 1 - .../tsconfig.json | 1 - types/gapi.client.slides/tsconfig.json | 1 - types/gapi.client.sourcerepo/tsconfig.json | 1 - types/gapi.client.spanner/tsconfig.json | 1 - types/gapi.client.spectrum/tsconfig.json | 1 - types/gapi.client.speech/tsconfig.json | 1 - types/gapi.client.sqladmin/tsconfig.json | 1 - types/gapi.client.storage/tsconfig.json | 1 - .../gapi.client.storagetransfer/tsconfig.json | 1 - .../tsconfig.json | 1 - types/gapi.client.surveys/tsconfig.json | 1 - types/gapi.client.tagmanager/tsconfig.json | 1 - types/gapi.client.taskqueue/tsconfig.json | 1 - types/gapi.client.tasks/tsconfig.json | 1 - types/gapi.client.testing/tsconfig.json | 1 - types/gapi.client.toolresults/tsconfig.json | 1 - types/gapi.client.translate/tsconfig.json | 1 - types/gapi.client.urlshortener/tsconfig.json | 1 - types/gapi.client.vault/tsconfig.json | 1 - .../tsconfig.json | 1 - types/gapi.client.vision/tsconfig.json | 1 - types/gapi.client.webfonts/tsconfig.json | 1 - types/gapi.client.webmasters/tsconfig.json | 1 - types/gapi.client.youtube/tsconfig.json | 1 - .../tsconfig.json | 1 - .../tsconfig.json | 1 - types/gapi.client/tsconfig.json | 1 - types/gapi.drive/tsconfig.json | 3 +- types/gapi.pagespeedonline/tsconfig.json | 3 +- types/gapi.people/tsconfig.json | 1 - types/gapi.plus/tsconfig.json | 1 - types/gapi.translate/tsconfig.json | 3 +- types/gapi.urlshortener/tsconfig.json | 3 +- types/gapi.youtube/tsconfig.json | 3 +- types/gapi.youtubeanalytics/tsconfig.json | 3 +- types/gapi/tsconfig.json | 3 +- types/gaussian/tsconfig.json | 3 +- types/geetest/tsconfig.json | 3 +- types/gen-readlines/tsconfig.json | 1 - types/generic-functions/tsconfig.json | 3 +- types/generic-pool/tsconfig.json | 3 +- types/gently/tsconfig.json | 3 +- types/geodesy/tsconfig.json | 3 +- types/geoip-lite/tsconfig.json | 3 +- types/geojson/tsconfig.json | 3 +- types/geojson2osm/tsconfig.json | 3 +- types/geokdbush/tsconfig.json | 3 +- types/geometry-dom/tsconfig.json | 3 +- types/geopattern/tsconfig.json | 3 +- types/get-node-dimensions/tsconfig.json | 3 +- types/get-port/tsconfig.json | 3 +- types/get-stdin/tsconfig.json | 3 +- types/get-stream/tsconfig.json | 3 +- types/getos/tsconfig.json | 3 +- types/gettext.js/tsconfig.json | 3 +- types/gifffer/tsconfig.json | 5 +-- types/gijgo/tsconfig.json | 3 +- types/giraffe/tsconfig.json | 3 +- types/git-config/tsconfig.json | 3 +- types/git-remote-origin-url/tsconfig.json | 3 +- types/git-rev/tsconfig.json | 3 +- types/git/tsconfig.json | 3 +- types/github-username-regex/tsconfig.json | 3 +- types/gl-matrix/tsconfig.json | 3 +- types/gldatepicker/tsconfig.json | 3 +- types/glidejs/tsconfig.json | 3 +- types/glob-base/tsconfig.json | 3 +- types/glob-expand/tsconfig.json | 3 +- types/glob-parent/tsconfig.json | 3 +- types/glob-stream/tsconfig.json | 3 +- types/glob/tsconfig.json | 3 +- types/global-tunnel-ng/tsconfig.json | 3 +- types/globalize-compiler/tsconfig.json | 3 +- types/globalize/tsconfig.json | 3 +- types/globby/tsconfig.json | 3 +- types/globule/tsconfig.json | 3 +- types/gm/tsconfig.json | 3 +- types/go/tsconfig.json | 3 +- types/google-adwords-scripts/tsconfig.json | 3 +- types/google-apps-script-oauth2/tsconfig.json | 3 +- types/google-apps-script/tsconfig.json | 3 +- types/google-closure-compiler/tsconfig.json | 3 +- types/google-cloud__datastore/tsconfig.json | 3 +- types/google-cloud__pubsub/tsconfig.json | 3 +- types/google-cloud__storage/tsconfig.json | 3 +- types/google-drive-realtime-api/tsconfig.json | 3 +- types/google-earth/tsconfig.json | 3 +- types/google-images/tsconfig.json | 3 +- types/google-libphonenumber/tsconfig.json | 3 +- types/google-map-react/tsconfig.json | 3 +- types/google-maps/tsconfig.json | 3 +- types/google-protobuf/tsconfig.json | 3 +- types/google.analytics/tsconfig.json | 3 +- types/google.feeds/tsconfig.json | 3 +- types/google.fonts/tsconfig.json | 3 +- types/google.geolocation/tsconfig.json | 3 +- types/google.picker/tsconfig.json | 3 +- types/google.visualization/tsconfig.json | 3 +- types/googlemaps.infobubble/tsconfig.json | 3 +- types/googlemaps/tsconfig.json | 3 +- types/got/tsconfig.json | 3 +- types/graceful-fs/tsconfig.json | 3 +- types/graceful-fs/v2/tsconfig.json | 3 +- types/graham_scan/tsconfig.json | 3 +- types/graphite-udp/tsconfig.json | 3 +- types/graphlib/tsconfig.json | 3 +- types/graphql-date/tsconfig.json | 3 +- types/graphql-iso-date/tsconfig.json | 3 +- types/graphql-relay/tsconfig.json | 3 +- types/graphql-type-json/tsconfig.json | 3 +- types/graphql/tsconfig.json | 3 +- types/graphviz/tsconfig.json | 3 +- types/grasp/tsconfig.json | 3 +- types/gravatar-url/tsconfig.json | 3 +- types/gravatar/tsconfig.json | 3 +- types/greasemonkey/tsconfig.json | 3 +- types/grecaptcha/tsconfig.json | 3 +- types/grecaptcha/v0/tsconfig.json | 3 +- types/gregorian-calendar/tsconfig.json | 3 +- types/grid-styled/tsconfig.json | 3 +- types/gridfs-stream/tsconfig.json | 3 +- types/gridstack/tsconfig.json | 3 +- types/grunt/tsconfig.json | 3 +- types/gsap/tsconfig.json | 3 +- types/guid/tsconfig.json | 3 +- .../gulp-angular-templatecache/tsconfig.json | 3 +- types/gulp-autoprefixer/tsconfig.json | 3 +- types/gulp-babel/tsconfig.json | 3 +- types/gulp-batch/tsconfig.json | 3 +- types/gulp-bump/tsconfig.json | 1 - types/gulp-cache/tsconfig.json | 3 +- types/gulp-cached/tsconfig.json | 3 +- types/gulp-changed/tsconfig.json | 3 +- types/gulp-cheerio/tsconfig.json | 3 +- types/gulp-clean-dest/tsconfig.json | 3 +- types/gulp-coffeeify/tsconfig.json | 3 +- types/gulp-coffeelint/tsconfig.json | 3 +- types/gulp-concat/tsconfig.json | 3 +- types/gulp-connect/tsconfig.json | 3 +- types/gulp-copy/tsconfig.json | 3 +- types/gulp-csso/tsconfig.json | 3 +- types/gulp-debug/tsconfig.json | 3 +- types/gulp-diff/tsconfig.json | 3 +- types/gulp-dtsm/tsconfig.json | 3 +- types/gulp-espower/tsconfig.json | 3 +- types/gulp-file-include/tsconfig.json | 3 +- types/gulp-filter/tsconfig.json | 3 +- types/gulp-flatten/tsconfig.json | 3 +- types/gulp-gh-pages/tsconfig.json | 3 +- types/gulp-gzip/tsconfig.json | 3 +- types/gulp-help-doc/tsconfig.json | 3 +- types/gulp-help/tsconfig.json | 3 +- types/gulp-html-replace/tsconfig.json | 3 +- types/gulp-htmlmin/tsconfig.json | 3 +- types/gulp-if/tsconfig.json | 3 +- types/gulp-inject/tsconfig.json | 3 +- types/gulp-insert/tsconfig.json | 3 +- types/gulp-install/tsconfig.json | 3 +- types/gulp-istanbul/tsconfig.json | 3 +- types/gulp-jade/tsconfig.json | 3 +- types/gulp-jasmine-browser/tsconfig.json | 3 +- types/gulp-jasmine/tsconfig.json | 3 +- types/gulp-json-editor/tsconfig.json | 3 +- types/gulp-jsonminify/tsconfig.json | 3 +- types/gulp-jspm/tsconfig.json | 3 +- types/gulp-less/tsconfig.json | 3 +- types/gulp-load-plugins/tsconfig.json | 3 +- types/gulp-minify-css/tsconfig.json | 3 +- types/gulp-minify-html/tsconfig.json | 3 +- types/gulp-mocha/tsconfig.json | 3 +- types/gulp-modernizr/tsconfig.json | 3 +- types/gulp-msbuild/tsconfig.json | 3 +- types/gulp-mustache/tsconfig.json | 3 +- types/gulp-newer/tsconfig.json | 3 +- types/gulp-ng-annotate/tsconfig.json | 3 +- types/gulp-nodemon/tsconfig.json | 3 +- types/gulp-nunit-runner/tsconfig.json | 3 +- types/gulp-plumber/tsconfig.json | 3 +- types/gulp-protractor/tsconfig.json | 3 +- types/gulp-pug/tsconfig.json | 3 +- types/gulp-remember/tsconfig.json | 3 +- types/gulp-rename/tsconfig.json | 3 +- types/gulp-replace/tsconfig.json | 3 +- types/gulp-rev-replace/tsconfig.json | 3 +- types/gulp-rev/tsconfig.json | 3 +- types/gulp-ruby-sass/tsconfig.json | 3 +- types/gulp-sass/tsconfig.json | 3 +- types/gulp-shell/tsconfig.json | 3 +- types/gulp-size/tsconfig.json | 3 +- types/gulp-sort/tsconfig.json | 3 +- types/gulp-sourcemaps/tsconfig.json | 3 +- types/gulp-strip-debug/tsconfig.json | 3 +- types/gulp-svg-sprite/tsconfig.json | 3 +- types/gulp-task-listing/tsconfig.json | 3 +- types/gulp-tsd/tsconfig.json | 3 +- types/gulp-uglify/tsconfig.json | 3 +- types/gulp-useref/tsconfig.json | 3 +- types/gulp-util/tsconfig.json | 3 +- types/gulp-watch/tsconfig.json | 3 +- types/gulp-zip/tsconfig.json | 3 +- types/gulp/tsconfig.json | 1 - types/gulp/v3/tsconfig.json | 3 +- types/gzip-js/tsconfig.json | 3 +- types/gzip-size/tsconfig.json | 3 +- types/gzip-size/v3/tsconfig.json | 3 +- types/h2o2/tsconfig.json | 13 +++--- types/halfred/tsconfig.json | 3 +- types/halogen/tsconfig.json | 1 - types/hammerjs/tsconfig.json | 3 +- types/hammerjs/v1/tsconfig.json | 3 +- types/handlebars/tsconfig.json | 3 +- types/handlebars/v1/tsconfig.json | 3 +- types/hapi-auth-basic/tsconfig.json | 13 +++--- types/hapi-auth-jwt2/tsconfig.json | 13 +++--- types/hapi-decorators/tsconfig.json | 9 ++-- types/hapi/tsconfig.json | 3 +- types/hapi/v12/tsconfig.json | 3 +- types/hapi/v15/tsconfig.json | 3 +- types/hapi/v16/tsconfig.json | 9 ++-- types/hapi/v8/tsconfig.json | 3 +- types/har-format/tsconfig.json | 3 +- types/hard-rejection/tsconfig.json | 3 +- types/harmony-proxy/tsconfig.json | 3 +- types/has-ansi/tsconfig.json | 3 +- types/hash-file/tsconfig.json | 3 +- types/hash-stream/tsconfig.json | 3 +- types/hasha/tsconfig.json | 3 +- types/hasher/tsconfig.json | 3 +- types/hashids/tsconfig.json | 3 +- types/hashmap/tsconfig.json | 3 +- types/hashmap/v1/tsconfig.json | 3 +- types/hashset/tsconfig.json | 3 +- types/hashtable/tsconfig.json | 3 +- types/haversine/tsconfig.json | 3 +- types/hbs/tsconfig.json | 3 +- types/he/tsconfig.json | 3 +- types/headroom/tsconfig.json | 3 +- types/heap/tsconfig.json | 3 +- types/heapdump/tsconfig.json | 3 +- types/heatmap.js/tsconfig.json | 3 +- types/hedron/tsconfig.json | 1 - types/hellojs/tsconfig.json | 3 +- types/hellosign-embedded/tsconfig.json | 3 +- types/helmet/tsconfig.json | 3 +- types/heredatalens/tsconfig.json | 3 +- types/heremaps/tsconfig.json | 3 +- types/heroku-logger/tsconfig.json | 3 +- types/hex-rgba/tsconfig.json | 1 - types/hexo-bunyan/tsconfig.json | 3 +- types/hexo-fs/tsconfig.json | 3 +- types/hexo-log/tsconfig.json | 3 +- types/highcharts-ng/tsconfig.json | 3 +- types/highcharts/tsconfig.json | 3 +- types/highland/tsconfig.json | 3 +- types/highlight.js/tsconfig.json | 3 +- types/highlight.js/v7/tsconfig.json | 3 +- types/hiredis/tsconfig.json | 3 +- types/history.js/tsconfig.json | 3 +- types/history/tsconfig.json | 3 +- types/history/v2/tsconfig.json | 3 +- types/history/v3/tsconfig.json | 3 +- types/hjson/tsconfig.json | 3 +- types/hls.js/tsconfig.json | 3 +- types/hoek/tsconfig.json | 3 +- types/holderjs/tsconfig.json | 3 +- types/hooker/tsconfig.json | 3 +- types/hopscotch/tsconfig.json | 3 +- types/howler/tsconfig.json | 3 +- types/hpp/tsconfig.json | 3 +- types/html-entities/tsconfig.json | 3 +- types/html-minifier/tsconfig.json | 3 +- types/html-minifier/v1/tsconfig.json | 3 +- types/html-pdf/tsconfig.json | 3 +- types/html-to-text/tsconfig.json | 3 +- types/html-webpack-plugin/tsconfig.json | 3 +- types/html-webpack-template/tsconfig.json | 3 +- types/html2canvas/tsconfig.json | 3 +- .../htmlbars-inline-precompile/tsconfig.json | 3 +- types/htmlescape/tsconfig.json | 3 +- types/htmlhint/tsconfig.json | 3 +- types/htmlparser2/tsconfig.json | 3 +- types/htmltojsx/tsconfig.json | 3 +- types/http-assert/tsconfig.json | 3 +- types/http-aws-es/tsconfig.json | 3 +- types/http-codes/tsconfig.json | 3 +- types/http-context/tsconfig.json | 3 +- types/http-errors/tsconfig.json | 3 +- types/http-link-header/tsconfig.json | 3 +- types/http-proxy-agent/tsconfig.json | 3 +- types/http-proxy-middleware/tsconfig.json | 3 +- types/http-proxy/tsconfig.json | 3 +- types/http-server/tsconfig.json | 1 - types/http-status/tsconfig.json | 3 +- types/http-string-parser/tsconfig.json | 3 +- types/httperr/tsconfig.json | 3 +- types/hubot/tsconfig.json | 3 +- types/hubspot-pace/tsconfig.json | 3 +- types/humane/tsconfig.json | 3 +- types/humanize-plus/tsconfig.json | 3 +- types/humanize-string/tsconfig.json | 3 +- types/humanparser/tsconfig.json | 3 +- types/humps/tsconfig.json | 3 +- types/hyco-ws/tsconfig.json | 3 +- types/hyperscript/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/hystrixjs/tsconfig.json | 3 +- types/i18n-js/tsconfig.json | 3 +- types/i18n/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../v0/tsconfig.json | 3 +- .../i18next-express-middleware/tsconfig.json | 3 +- types/i18next-node-fs-backend/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/i18next-xhr-backend/tsconfig.json | 3 +- types/i18next/tsconfig.json | 3 +- types/i18next/v2/tsconfig.json | 3 +- types/i2c-bus/tsconfig.json | 3 +- types/iban/tsconfig.json | 3 +- types/ibm-mobilefirst/tsconfig.json | 3 +- types/ibm_db/tsconfig.json | 3 +- types/icepick/tsconfig.json | 3 +- types/icheck/tsconfig.json | 3 +- types/iconv/tsconfig.json | 3 +- types/ids/tsconfig.json | 3 +- types/iframe-resizer/tsconfig.json | 3 +- types/ignite-ui/tsconfig.json | 3 +- types/ignore-styles/tsconfig.json | 3 +- types/iltorb/tsconfig.json | 3 +- types/image-size/tsconfig.json | 3 +- types/imagemagick-native/tsconfig.json | 3 +- types/imagemagick/tsconfig.json | 3 +- types/imagemapster/tsconfig.json | 3 +- types/images/tsconfig.json | 3 +- types/imagesloaded/tsconfig.json | 3 +- types/imap-simple/tsconfig.json | 3 +- types/imap/tsconfig.json | 3 +- types/imgur-rest-api/tsconfig.json | 3 +- types/impress/tsconfig.json | 3 +- types/in-range/tsconfig.json | 3 +- types/incremental-dom/tsconfig.json | 3 +- types/indent-string/tsconfig.json | 3 +- types/inert/tsconfig.json | 9 ++-- types/inflected/tsconfig.json | 3 +- types/inflection/tsconfig.json | 3 +- types/inherits/tsconfig.json | 3 +- types/ini/tsconfig.json | 3 +- types/iniparser/tsconfig.json | 3 +- types/inline-css/tsconfig.json | 3 +- types/inline-style-prefixer/tsconfig.json | 3 +- types/inquirer/tsconfig.json | 3 +- types/insert-module-globals/tsconfig.json | 3 +- types/insight/tsconfig.json | 3 +- types/integer/tsconfig.json | 3 +- types/interact.js/tsconfig.json | 3 +- types/intercom-web/tsconfig.json | 3 +- types/intercomjs/tsconfig.json | 3 +- types/internal-ip/tsconfig.json | 3 +- types/intl-messageformat/tsconfig.json | 3 +- types/intl-tel-input/tsconfig.json | 3 +- types/intl/tsconfig.json | 3 +- types/into-stream/tsconfig.json | 3 +- types/intro.js/tsconfig.json | 3 +- types/invariant/tsconfig.json | 3 +- types/inversify-devtools/tsconfig.json | 3 +- types/ion.rangeslider/tsconfig.json | 3 +- types/ion.rangeslider/v1/tsconfig.json | 3 +- types/ioredis/tsconfig.json | 3 +- types/iota.lib.js/tsconfig.json | 3 +- types/ip-regex/tsconfig.json | 3 +- types/ip/tsconfig.json | 3 +- types/irc/tsconfig.json | 3 +- types/iron/tsconfig.json | 3 +- types/is-absolute-url/tsconfig.json | 3 +- types/is-alphanumerical/tsconfig.json | 3 +- types/is-archive/tsconfig.json | 3 +- types/is-array/tsconfig.json | 3 +- types/is-binary-path/tsconfig.json | 3 +- types/is-compressed/tsconfig.json | 3 +- types/is-finite/tsconfig.json | 3 +- types/is-glob/tsconfig.json | 3 +- types/is-hotkey/tsconfig.json | 5 +-- types/is-ip/tsconfig.json | 3 +- types/is-my-json-valid/tsconfig.json | 3 +- types/is-negated-glob/tsconfig.json | 3 +- types/is-number/tsconfig.json | 3 +- types/is-object/tsconfig.json | 3 +- types/is-path-cwd/tsconfig.json | 3 +- types/is-path-in-cwd/tsconfig.json | 3 +- types/is-promise/tsconfig.json | 3 +- types/is-relative-url/tsconfig.json | 3 +- types/is-root-path/tsconfig.json | 3 +- types/is-root/tsconfig.json | 3 +- types/is-scoped/tsconfig.json | 3 +- types/is-stream/tsconfig.json | 3 +- types/is-svg/tsconfig.json | 3 +- types/is-text-path/tsconfig.json | 3 +- types/is-url-superb/tsconfig.json | 3 +- types/is-url/tsconfig.json | 3 +- types/is-windows/tsconfig.json | 3 +- types/is/tsconfig.json | 3 +- types/isbn-utils/tsconfig.json | 3 +- types/iscroll/tsconfig.json | 3 +- types/iscroll/v4/tsconfig.json | 3 +- types/ismobilejs/tsconfig.json | 3 +- types/iso-3166-2/tsconfig.json | 3 +- types/iso8601-localizer/tsconfig.json | 3 +- types/isomorphic-fetch/tsconfig.json | 3 +- types/isotope-layout/tsconfig.json | 3 +- types/istanbul-lib-coverage/tsconfig.json | 3 +- types/istanbul-lib-hook/tsconfig.json | 3 +- types/istanbul-lib-instrument/tsconfig.json | 3 +- types/istanbul-lib-report/tsconfig.json | 3 +- types/istanbul-lib-source-maps/tsconfig.json | 3 +- types/istanbul-middleware/tsconfig.json | 3 +- types/istanbul-reports/tsconfig.json | 3 +- types/istanbul/tsconfig.json | 3 +- types/ityped/tsconfig.json | 3 +- types/ix.js/tsconfig.json | 3 +- types/jade/tsconfig.json | 3 +- types/jake/tsconfig.json | 3 +- types/jalaali-js/tsconfig.json | 3 +- types/japanese-holidays/tsconfig.json | 3 +- types/jasmine-ajax/tsconfig.json | 3 +- types/jasmine-data_driven_tests/tsconfig.json | 3 +- types/jasmine-enzyme/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/jasmine-fixture/tsconfig.json | 3 +- types/jasmine-given/tsconfig.json | 3 +- types/jasmine-jquery/tsconfig.json | 3 +- types/jasmine-matchers/tsconfig.json | 3 +- types/jasmine-node/tsconfig.json | 3 +- types/jasmine-promise-matchers/tsconfig.json | 3 +- types/jasmine/tsconfig.json | 3 +- types/jasmine/v1/tsconfig.json | 3 +- types/jasmine_dom_matchers/tsconfig.json | 3 +- types/jasminewd2/tsconfig.json | 3 +- types/java-applet/tsconfig.json | 3 +- types/java/tsconfig.json | 3 +- types/javascript-astar/tsconfig.json | 3 +- types/javascript-bignum/tsconfig.json | 3 +- types/javascript-obfuscator/tsconfig.json | 3 +- types/javascript-state-machine/tsconfig.json | 3 +- types/jbinary/tsconfig.json | 3 +- types/jcanvas/tsconfig.json | 3 +- types/jdataview/tsconfig.json | 3 +- types/jdenticon/tsconfig.json | 3 +- types/jee-jsf/tsconfig.json | 3 +- types/jenkins/tsconfig.json | 3 +- types/jest-diff/tsconfig.json | 3 +- types/jest-docblock/tsconfig.json | 3 +- types/jest-get-type/tsconfig.json | 3 +- types/jest-in-case/tsconfig.json | 3 +- types/jest-json-schema/tsconfig.json | 3 +- types/jest-matcher-utils/tsconfig.json | 3 +- types/jest-matchers/tsconfig.json | 3 +- types/jest-validate/tsconfig.json | 3 +- types/jest/tsconfig.json | 3 +- types/jest/v16/tsconfig.json | 3 +- types/jfp/tsconfig.json | 3 +- types/jfs/tsconfig.json | 3 +- types/jjv/tsconfig.json | 3 +- types/jjve/tsconfig.json | 3 +- types/jmespath/tsconfig.json | 3 +- types/johnny-five/tsconfig.json | 3 +- types/joi/tsconfig.json | 3 +- types/joi/v10/tsconfig.json | 3 +- types/joi/v6/tsconfig.json | 3 +- types/joigoose/tsconfig.json | 3 +- types/josa/tsconfig.json | 3 +- types/jpeg-js/tsconfig.json | 3 +- types/jpm/tsconfig.json | 3 +- types/jqgrid/tsconfig.json | 3 +- types/jqrangeslider/tsconfig.json | 3 +- types/jquery-ajax-chain/tsconfig.json | 3 +- types/jquery-alertable/tsconfig.json | 3 +- types/jquery-awesome-cursor/tsconfig.json | 3 +- types/jquery-backstretch/tsconfig.json | 3 +- types/jquery-countdown/tsconfig.json | 3 +- types/jquery-cropbox/tsconfig.json | 3 +- types/jquery-deparam/tsconfig.json | 3 +- types/jquery-easy-loading/tsconfig.json | 3 +- types/jquery-editable-select/tsconfig.json | 3 +- types/jquery-fullscreen/tsconfig.json | 3 +- types/jquery-galleria/tsconfig.json | 3 +- types/jquery-handsontable/tsconfig.json | 3 +- types/jquery-jcrop/tsconfig.json | 3 +- types/jquery-jsonrpcclient/tsconfig.json | 3 +- types/jquery-knob/tsconfig.json | 3 +- types/jquery-mask-plugin/tsconfig.json | 3 +- types/jquery-maskmoney/tsconfig.json | 3 +- types/jquery-match-height/tsconfig.json | 3 +- types/jquery-mockjax/tsconfig.json | 3 +- types/jquery-mousewheel/tsconfig.json | 3 +- types/jquery-notifier/tsconfig.json | 3 +- types/jquery-param/tsconfig.json | 3 +- types/jquery-sortable/tsconfig.json | 3 +- types/jquery-steps/tsconfig.json | 3 +- types/jquery-sticky/tsconfig.json | 3 +- types/jquery-tags-input/tsconfig.json | 3 +- types/jquery-timeentry/tsconfig.json | 3 +- .../jquery-toastmessage-plugin/tsconfig.json | 3 +- types/jquery-truncate-html/tsconfig.json | 3 +- types/jquery-urlparam/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/jquery.address/tsconfig.json | 3 +- types/jquery.are-you-sure/tsconfig.json | 3 +- types/jquery.autosize/tsconfig.json | 3 +- types/jquery.base64/tsconfig.json | 3 +- types/jquery.bbq/tsconfig.json | 3 +- types/jquery.blockui/tsconfig.json | 3 +- types/jquery.bootstrap.wizard/tsconfig.json | 3 +- types/jquery.cleditor/tsconfig.json | 3 +- types/jquery.clientsidelogging/tsconfig.json | 3 +- types/jquery.color/tsconfig.json | 3 +- types/jquery.colorbox/tsconfig.json | 3 +- types/jquery.colorpicker/tsconfig.json | 3 +- types/jquery.contextmenu/tsconfig.json | 3 +- types/jquery.cookie/tsconfig.json | 3 +- types/jquery.customselect/tsconfig.json | 3 +- types/jquery.cycle/tsconfig.json | 3 +- types/jquery.cycle2/tsconfig.json | 3 +- types/jquery.dropotron/tsconfig.json | 3 +- types/jquery.dynatree/tsconfig.json | 3 +- types/jquery.elang/tsconfig.json | 3 +- types/jquery.fancytree/tsconfig.json | 3 +- types/jquery.fileupload/tsconfig.json | 3 +- types/jquery.filtertable/tsconfig.json | 3 +- types/jquery.finger/tsconfig.json | 3 +- types/jquery.flagstrap/tsconfig.json | 3 +- types/jquery.form/tsconfig.json | 3 +- types/jquery.fullscreen/tsconfig.json | 3 +- types/jquery.gridster/tsconfig.json | 3 +- types/jquery.growl/tsconfig.json | 3 +- types/jquery.highlight-bartaz/tsconfig.json | 3 +- types/jquery.jnotify/tsconfig.json | 3 +- types/jquery.joyride/tsconfig.json | 3 +- types/jquery.jsignature/tsconfig.json | 3 +- types/jquery.leanmodal/tsconfig.json | 3 +- types/jquery.livestampjs/tsconfig.json | 3 +- types/jquery.menuaim/tsconfig.json | 3 +- types/jquery.mmenu/tsconfig.json | 3 +- types/jquery.notify/tsconfig.json | 3 +- types/jquery.notifybar/tsconfig.json | 3 +- types/jquery.noty/tsconfig.json | 3 +- types/jquery.payment/tsconfig.json | 3 +- types/jquery.pjax/tsconfig.json | 3 +- types/jquery.placeholder/tsconfig.json | 3 +- types/jquery.pnotify/tsconfig.json | 3 +- types/jquery.postmessage/tsconfig.json | 3 +- types/jquery.prettyphoto/tsconfig.json | 3 +- types/jquery.qrcode/tsconfig.json | 3 +- types/jquery.rateit/tsconfig.json | 3 +- types/jquery.rowgrid/tsconfig.json | 3 +- types/jquery.scrollto/tsconfig.json | 3 +- types/jquery.simplemodal/tsconfig.json | 3 +- types/jquery.simplepagination/tsconfig.json | 3 +- types/jquery.simulate/tsconfig.json | 3 +- types/jquery.slimscroll/tsconfig.json | 3 +- types/jquery.soap/tsconfig.json | 3 +- types/jquery.sortelements/tsconfig.json | 3 +- types/jquery.stickem/tsconfig.json | 5 +-- types/jquery.superlink/tsconfig.json | 3 +- types/jquery.tagsmanager/tsconfig.json | 3 +- types/jquery.tile/tsconfig.json | 3 +- types/jquery.timeago/tsconfig.json | 3 +- types/jquery.timepicker/tsconfig.json | 3 +- types/jquery.timer/tsconfig.json | 3 +- types/jquery.tinycarousel/tsconfig.json | 3 +- types/jquery.tinyscrollbar/tsconfig.json | 3 +- types/jquery.tipsy/tsconfig.json | 3 +- types/jquery.tools/tsconfig.json | 3 +- types/jquery.total-storage/tsconfig.json | 3 +- types/jquery.transit/tsconfig.json | 3 +- types/jquery.ui.datetimepicker/tsconfig.json | 3 +- types/jquery.ui.layout/tsconfig.json | 3 +- types/jquery.uniform/tsconfig.json | 3 +- types/jquery.validation/tsconfig.json | 3 +- types/jquery.watermark/tsconfig.json | 3 +- types/jquery.window/tsconfig.json | 3 +- types/jquery/tsconfig.json | 3 +- types/jquery/v1/tsconfig.json | 3 +- types/jquery/v2/tsconfig.json | 3 +- types/jquerymobile/tsconfig.json | 3 +- types/jqueryui/tsconfig.json | 3 +- types/js-base64/tsconfig.json | 3 +- types/js-beautify/tsconfig.json | 3 +- types/js-clipper/tsconfig.json | 3 +- types/js-combinatorics/tsconfig.json | 3 +- types/js-cookie/tsconfig.json | 3 +- types/js-data-angular/tsconfig.json | 3 +- types/js-fixtures/tsconfig.json | 3 +- types/js-git/tsconfig.json | 3 +- types/js-md5/tsconfig.json | 3 +- types/js-priority-queue/tsconfig.json | 3 +- types/js-quantities/tsconfig.json | 3 +- types/js-schema/tsconfig.json | 3 +- types/js-search/tsconfig.json | 3 +- types/js-sha512/tsconfig.json | 2 +- types/js-to-java/tsconfig.json | 3 +- types/js-url/tsconfig.json | 3 +- types/js-yaml/tsconfig.json | 3 +- types/js.spec/tsconfig.json | 3 +- types/jsbn/tsconfig.json | 3 +- types/jschannel/tsconfig.json | 3 +- types/jscrollpane/tsconfig.json | 3 +- types/jsdeferred/tsconfig.json | 3 +- types/jsdom/tsconfig.json | 3 +- types/jsdom/v2/tsconfig.json | 3 +- types/jsen/tsconfig.json | 3 +- types/jsend/tsconfig.json | 3 +- types/jsesc/tsconfig.json | 3 +- types/jsfl/tsconfig.json | 3 +- types/jsforce/tsconfig.json | 3 +- types/jshamcrest/tsconfig.json | 3 +- types/jsmockito/tsconfig.json | 3 +- types/jsnox/tsconfig.json | 3 +- types/json-editor/tsconfig.json | 3 +- types/json-js/tsconfig.json | 3 +- types/json-merge-patch/tsconfig.json | 3 +- types/json-patch/tsconfig.json | 3 +- types/json-pointer/tsconfig.json | 3 +- types/json-query/tsconfig.json | 3 +- types/json-rpc-ws/tsconfig.json | 3 +- types/json-schema/tsconfig.json | 3 +- types/json-socket/tsconfig.json | 3 +- types/json-stable-stringify/tsconfig.json | 3 +- types/json-stringify-safe/tsconfig.json | 3 +- types/json2md/tsconfig.json | 3 +- types/json5/tsconfig.json | 3 +- types/jsonata/tsconfig.json | 3 +- types/jsoneditor/tsconfig.json | 3 +- types/jsoneditoronline/tsconfig.json | 3 +- types/jsonfile/tsconfig.json | 1 - types/jsonminify/tsconfig.json | 3 +- types/jsonnet/tsconfig.json | 3 +- types/jsonp/tsconfig.json | 3 +- types/jsonpath/tsconfig.json | 3 +- types/jsonrpc-serializer/tsconfig.json | 3 +- types/jsonstream/tsconfig.json | 3 +- types/jsonwebtoken/tsconfig.json | 3 +- types/jspdf/tsconfig.json | 3 +- types/jsqrcode/tsconfig.json | 1 - types/jsrender/tsconfig.json | 3 +- types/jsreport-core/tsconfig.json | 3 +- types/jsrp/tsconfig.json | 3 +- types/jss/tsconfig.json | 3 +- types/jssha/tsconfig.json | 3 +- types/jstimezonedetect/tsconfig.json | 3 +- types/jstorage/tsconfig.json | 3 +- types/jstree/tsconfig.json | 3 +- types/jsts/tsconfig.json | 3 +- types/jsuite/tsconfig.json | 3 +- types/jsuri/tsconfig.json | 3 +- types/jsurl/tsconfig.json | 3 +- types/jsx-chai/tsconfig.json | 3 +- types/jszip/tsconfig.json | 3 +- types/jug/tsconfig.json | 3 +- types/jui-core/tsconfig.json | 3 +- types/jui-grid/tsconfig.json | 3 +- types/jui/tsconfig.json | 3 +- types/jump.js/tsconfig.json | 3 +- types/jweixin/tsconfig.json | 3 +- types/jwplayer/tsconfig.json | 3 +- types/jws/tsconfig.json | 3 +- types/jwt-client/tsconfig.json | 3 +- types/jwt-decode/tsconfig.json | 3 +- types/jwt-decode/v1/tsconfig.json | 3 +- types/jwt-simple/tsconfig.json | 3 +- types/kafka-node/tsconfig.json | 3 +- types/karma-chai-sinon/tsconfig.json | 3 +- types/karma-chai/tsconfig.json | 3 +- types/karma-coverage/tsconfig.json | 3 +- types/karma-fixture/tsconfig.json | 3 +- types/karma-jasmine/tsconfig.json | 3 +- types/karma-webpack/tsconfig.json | 3 +- types/karma/tsconfig.json | 3 +- types/katex/tsconfig.json | 3 +- types/kcors/tsconfig.json | 3 +- types/kdbush/tsconfig.json | 3 +- types/kefir/tsconfig.json | 3 +- types/kendo-ui/tsconfig.json | 3 +- types/keyboardjs/tsconfig.json | 3 +- types/keygrip/tsconfig.json | 3 +- types/keymaster/tsconfig.json | 3 +- types/keymirror/tsconfig.json | 3 +- types/keypress.js/tsconfig.json | 3 +- types/keysym/tsconfig.json | 3 +- types/keytar/tsconfig.json | 3 +- types/kii-cloud-sdk/tsconfig.json | 3 +- types/kik-browser/tsconfig.json | 3 +- types/kineticjs/tsconfig.json | 3 +- types/klaw-sync/tsconfig.json | 3 +- types/klaw/tsconfig.json | 3 +- types/klaw/v1/tsconfig.json | 3 +- types/kms-json/tsconfig.json | 3 +- types/knex-postgis/tsconfig.json | 3 +- types/knex/tsconfig.json | 3 +- types/knockback/tsconfig.json | 3 +- types/knockout-amd-helpers/tsconfig.json | 3 +- types/knockout-postbox/tsconfig.json | 3 +- types/knockout-secure-binding/tsconfig.json | 3 +- types/knockout-transformations/tsconfig.json | 3 +- types/knockout.deferred.updates/tsconfig.json | 3 +- types/knockout.editables/tsconfig.json | 3 +- types/knockout.es5/tsconfig.json | 3 +- types/knockout.kogrid/tsconfig.json | 3 +- types/knockout.mapper/tsconfig.json | 3 +- types/knockout.mapping/tsconfig.json | 3 +- types/knockout.projections/tsconfig.json | 3 +- types/knockout.punches/tsconfig.json | 3 +- types/knockout.rx/tsconfig.json | 3 +- types/knockout.validation/tsconfig.json | 3 +- types/knockout.viewmodel/tsconfig.json | 3 +- types/knockout/tsconfig.json | 3 +- types/knockstrap/tsconfig.json | 3 +- types/knuddels-userapps-api/tsconfig.json | 3 +- types/ko.plus/tsconfig.json | 3 +- types/koa-basic-auth/tsconfig.json | 3 +- types/koa-bodyparser/tsconfig.json | 3 +- types/koa-cache-control/tsconfig.json | 3 +- types/koa-compose/tsconfig.json | 3 +- types/koa-compress/tsconfig.json | 3 +- types/koa-conditional-get/tsconfig.json | 3 +- types/koa-csrf/tsconfig.json | 3 +- types/koa-etag/tsconfig.json | 3 +- types/koa-favicon/tsconfig.json | 3 +- types/koa-generic-session/tsconfig.json | 3 +- types/koa-hbs/tsconfig.json | 3 +- types/koa-helmet/tsconfig.json | 3 +- types/koa-joi-router/tsconfig.json | 3 +- types/koa-json-error/tsconfig.json | 3 +- types/koa-json/tsconfig.json | 3 +- types/koa-logger-winston/tsconfig.json | 3 +- types/koa-logger/tsconfig.json | 3 +- types/koa-morgan/tsconfig.json | 3 +- types/koa-mount/tsconfig.json | 3 +- types/koa-multer/tsconfig.json | 3 +- types/koa-passport/tsconfig.json | 3 +- types/koa-pino-logger/tsconfig.json | 3 +- types/koa-pug/tsconfig.json | 3 +- types/koa-range/tsconfig.json | 3 +- types/koa-redis/tsconfig.json | 3 +- types/koa-route/tsconfig.json | 3 +- types/koa-router/tsconfig.json | 3 +- types/koa-send/tsconfig.json | 3 +- types/koa-session-minimal/tsconfig.json | 3 +- types/koa-session/tsconfig.json | 3 +- types/koa-sslify/tsconfig.json | 3 +- types/koa-static/tsconfig.json | 3 +- types/koa-views/tsconfig.json | 3 +- types/koa-webpack/tsconfig.json | 3 +- types/koa-websocket/tsconfig.json | 3 +- types/koa/tsconfig.json | 3 +- types/koa2-cors/tsconfig.json | 3 +- types/koa__cors/tsconfig.json | 1 - types/kolite/tsconfig.json | 3 +- types/konami.js/tsconfig.json | 3 +- types/kraken-js/tsconfig.json | 3 +- types/kramed/tsconfig.json | 3 +- types/kss/tsconfig.json | 3 +- types/kue/tsconfig.json | 3 +- types/kurento-utils/tsconfig.json | 3 +- types/kuromoji/tsconfig.json | 3 +- types/lab/tsconfig.json | 3 +- types/ladda/tsconfig.json | 3 +- types/lasso/tsconfig.json | 3 +- types/later/tsconfig.json | 3 +- types/latinize/tsconfig.json | 3 +- types/latlon-geohash/tsconfig.json | 3 +- types/launchpad/tsconfig.json | 1 - types/lazy.js/tsconfig.json | 3 +- types/lazypipe/tsconfig.json | 3 +- types/ldapjs/tsconfig.json | 3 +- types/leadfoot/tsconfig.json | 3 +- types/leaflet-areaselect/tsconfig.json | 3 +- types/leaflet-curve/tsconfig.json | 3 +- types/leaflet-draw/tsconfig.json | 3 +- types/leaflet-editable/tsconfig.json | 3 +- types/leaflet-fullscreen/tsconfig.json | 3 +- types/leaflet-geocoder-mapzen/tsconfig.json | 3 +- types/leaflet-gpx/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/leaflet-label/tsconfig.json | 3 +- types/leaflet-mouse-position/tsconfig.json | 3 +- types/leaflet-polylinedecorator/tsconfig.json | 3 +- types/leaflet-providers/tsconfig.json | 3 +- types/leaflet-rotatedmarker/tsconfig.json | 3 +- types/leaflet.awesome-markers/tsconfig.json | 3 +- .../leaflet.awesome-markers/v0/tsconfig.json | 3 +- types/leaflet.fullscreen/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/leaflet.heat/tsconfig.json | 3 +- types/leaflet.locatecontrol/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/leaflet.markercluster/tsconfig.json | 3 +- types/leaflet.pancontrol/tsconfig.json | 3 +- types/leaflet.pm/tsconfig.json | 3 +- types/leaflet.polylinemeasure/tsconfig.json | 3 +- types/leaflet/tsconfig.json | 3 +- types/leaflet/v0/tsconfig.json | 3 +- types/leapmotionts/tsconfig.json | 3 +- types/legal-eagle/tsconfig.json | 3 +- types/less-middleware/tsconfig.json | 3 +- types/less/tsconfig.json | 3 +- types/less2sass/tsconfig.json | 3 +- types/lestate/tsconfig.json | 3 +- types/level-sublevel/tsconfig.json | 3 +- types/leveldown/tsconfig.json | 3 +- types/levelup/tsconfig.json | 3 +- types/leven/tsconfig.json | 3 +- types/levenshtein/tsconfig.json | 3 +- types/libpq/tsconfig.json | 3 +- types/libxmljs/tsconfig.json | 3 +- types/libxslt/tsconfig.json | 3 +- types/license-checker/tsconfig.json | 3 +- types/lil-uuid/tsconfig.json | 3 +- types/lime-js/tsconfig.json | 3 +- types/line-by-line/tsconfig.json | 3 +- types/line-reader/tsconfig.json | 3 +- types/linkify-it/tsconfig.json | 3 +- types/lls/tsconfig.json | 3 +- types/load-json-file/tsconfig.json | 3 +- types/loader-runner/tsconfig.json | 3 +- types/loader-utils/tsconfig.json | 3 +- types/loadware/tsconfig.json | 3 +- types/lobibox/tsconfig.json | 3 +- types/local-dynamo/tsconfig.json | 3 +- types/localized-countries/tsconfig.json | 3 +- types/localizejs-library/tsconfig.json | 3 +- types/locate-path/tsconfig.json | 3 +- types/lockfile/tsconfig.json | 3 +- types/lockfile/v0/tsconfig.json | 3 +- types/lockr/tsconfig.json | 3 +- types/locutus/tsconfig.json | 3 +- types/lodash-es/tsconfig.json | 3 +- types/lodash-webpack-plugin/tsconfig.json | 3 +- types/lodash.add/tsconfig.json | 3 +- types/lodash.after/tsconfig.json | 3 +- types/lodash.ary/tsconfig.json | 3 +- types/lodash.assign/tsconfig.json | 3 +- types/lodash.assignin/tsconfig.json | 3 +- types/lodash.assigninwith/tsconfig.json | 3 +- types/lodash.assignwith/tsconfig.json | 3 +- types/lodash.at/tsconfig.json | 3 +- types/lodash.attempt/tsconfig.json | 3 +- types/lodash.before/tsconfig.json | 3 +- types/lodash.bind/tsconfig.json | 3 +- types/lodash.bindall/tsconfig.json | 3 +- types/lodash.bindkey/tsconfig.json | 3 +- types/lodash.camelcase/tsconfig.json | 3 +- types/lodash.capitalize/tsconfig.json | 3 +- types/lodash.castarray/tsconfig.json | 3 +- types/lodash.ceil/tsconfig.json | 3 +- types/lodash.chunk/tsconfig.json | 3 +- types/lodash.clamp/tsconfig.json | 3 +- types/lodash.clone/tsconfig.json | 3 +- types/lodash.clonedeep/tsconfig.json | 3 +- types/lodash.clonedeepwith/tsconfig.json | 3 +- types/lodash.clonewith/tsconfig.json | 3 +- types/lodash.compact/tsconfig.json | 3 +- types/lodash.concat/tsconfig.json | 3 +- types/lodash.cond/tsconfig.json | 3 +- types/lodash.constant/tsconfig.json | 3 +- types/lodash.countby/tsconfig.json | 3 +- types/lodash.create/tsconfig.json | 3 +- types/lodash.curry/tsconfig.json | 3 +- types/lodash.curryright/tsconfig.json | 3 +- types/lodash.debounce/tsconfig.json | 3 +- types/lodash.deburr/tsconfig.json | 3 +- types/lodash.defaults/tsconfig.json | 3 +- types/lodash.defaultsdeep/tsconfig.json | 3 +- types/lodash.defer/tsconfig.json | 3 +- types/lodash.delay/tsconfig.json | 3 +- types/lodash.difference/tsconfig.json | 3 +- types/lodash.differenceby/tsconfig.json | 3 +- types/lodash.differencewith/tsconfig.json | 3 +- types/lodash.divide/tsconfig.json | 3 +- types/lodash.drop/tsconfig.json | 3 +- types/lodash.dropright/tsconfig.json | 3 +- types/lodash.droprightwhile/tsconfig.json | 3 +- types/lodash.dropwhile/tsconfig.json | 3 +- types/lodash.endswith/tsconfig.json | 3 +- types/lodash.eq/tsconfig.json | 3 +- types/lodash.escape/tsconfig.json | 3 +- types/lodash.escaperegexp/tsconfig.json | 3 +- types/lodash.every/tsconfig.json | 3 +- types/lodash.fill/tsconfig.json | 3 +- types/lodash.filter/tsconfig.json | 3 +- types/lodash.find/tsconfig.json | 3 +- types/lodash.findindex/tsconfig.json | 3 +- types/lodash.findkey/tsconfig.json | 3 +- types/lodash.findlast/tsconfig.json | 3 +- types/lodash.findlastindex/tsconfig.json | 3 +- types/lodash.findlastkey/tsconfig.json | 3 +- types/lodash.first/tsconfig.json | 3 +- types/lodash.flatmap/tsconfig.json | 3 +- types/lodash.flatmapdeep/tsconfig.json | 3 +- types/lodash.flatmapdepth/tsconfig.json | 3 +- types/lodash.flatten/tsconfig.json | 3 +- types/lodash.flattendeep/tsconfig.json | 3 +- types/lodash.flattendepth/tsconfig.json | 3 +- types/lodash.flip/tsconfig.json | 3 +- types/lodash.floor/tsconfig.json | 3 +- types/lodash.flow/tsconfig.json | 3 +- types/lodash.flowright/tsconfig.json | 3 +- types/lodash.foreach/tsconfig.json | 3 +- types/lodash.foreachright/tsconfig.json | 3 +- types/lodash.forin/tsconfig.json | 3 +- types/lodash.forinright/tsconfig.json | 3 +- types/lodash.forown/tsconfig.json | 3 +- types/lodash.forownright/tsconfig.json | 3 +- types/lodash.frompairs/tsconfig.json | 3 +- types/lodash.functions/tsconfig.json | 3 +- types/lodash.functionsin/tsconfig.json | 3 +- types/lodash.get/tsconfig.json | 3 +- types/lodash.groupby/tsconfig.json | 3 +- types/lodash.gt/tsconfig.json | 3 +- types/lodash.gte/tsconfig.json | 3 +- types/lodash.has/tsconfig.json | 3 +- types/lodash.hasin/tsconfig.json | 3 +- types/lodash.head/tsconfig.json | 3 +- types/lodash.identity/tsconfig.json | 3 +- types/lodash.includes/tsconfig.json | 3 +- types/lodash.indexof/tsconfig.json | 3 +- types/lodash.initial/tsconfig.json | 3 +- types/lodash.inrange/tsconfig.json | 3 +- types/lodash.intersection/tsconfig.json | 3 +- types/lodash.intersectionby/tsconfig.json | 3 +- types/lodash.intersectionwith/tsconfig.json | 3 +- types/lodash.invert/tsconfig.json | 3 +- types/lodash.invertby/tsconfig.json | 3 +- types/lodash.invoke/tsconfig.json | 3 +- types/lodash.invokemap/tsconfig.json | 3 +- types/lodash.isarguments/tsconfig.json | 3 +- types/lodash.isarray/tsconfig.json | 3 +- types/lodash.isarraybuffer/tsconfig.json | 3 +- types/lodash.isarraylike/tsconfig.json | 3 +- types/lodash.isarraylikeobject/tsconfig.json | 3 +- types/lodash.isboolean/tsconfig.json | 3 +- types/lodash.isbuffer/tsconfig.json | 3 +- types/lodash.isdate/tsconfig.json | 3 +- types/lodash.iselement/tsconfig.json | 3 +- types/lodash.isempty/tsconfig.json | 3 +- types/lodash.isequal/tsconfig.json | 3 +- types/lodash.isequalwith/tsconfig.json | 3 +- types/lodash.iserror/tsconfig.json | 3 +- types/lodash.isfinite/tsconfig.json | 3 +- types/lodash.isfunction/tsconfig.json | 3 +- types/lodash.isinteger/tsconfig.json | 3 +- types/lodash.islength/tsconfig.json | 3 +- types/lodash.ismap/tsconfig.json | 3 +- types/lodash.ismatch/tsconfig.json | 3 +- types/lodash.ismatchwith/tsconfig.json | 3 +- types/lodash.isnan/tsconfig.json | 3 +- types/lodash.isnative/tsconfig.json | 3 +- types/lodash.isnil/tsconfig.json | 3 +- types/lodash.isnull/tsconfig.json | 3 +- types/lodash.isnumber/tsconfig.json | 3 +- types/lodash.isobject/tsconfig.json | 3 +- types/lodash.isobjectlike/tsconfig.json | 3 +- types/lodash.isplainobject/tsconfig.json | 3 +- types/lodash.isregexp/tsconfig.json | 3 +- types/lodash.issafeinteger/tsconfig.json | 3 +- types/lodash.isset/tsconfig.json | 3 +- types/lodash.isstring/tsconfig.json | 3 +- types/lodash.issymbol/tsconfig.json | 3 +- types/lodash.istypedarray/tsconfig.json | 3 +- types/lodash.isundefined/tsconfig.json | 3 +- types/lodash.isweakmap/tsconfig.json | 3 +- types/lodash.isweakset/tsconfig.json | 3 +- types/lodash.iteratee/tsconfig.json | 3 +- types/lodash.join/tsconfig.json | 3 +- types/lodash.kebabcase/tsconfig.json | 3 +- types/lodash.keyby/tsconfig.json | 3 +- types/lodash.keys/tsconfig.json | 3 +- types/lodash.keysin/tsconfig.json | 3 +- types/lodash.last/tsconfig.json | 3 +- types/lodash.lastindexof/tsconfig.json | 3 +- types/lodash.lowercase/tsconfig.json | 3 +- types/lodash.lowerfirst/tsconfig.json | 3 +- types/lodash.lt/tsconfig.json | 3 +- types/lodash.lte/tsconfig.json | 3 +- types/lodash.mapkeys/tsconfig.json | 3 +- types/lodash.mapvalues/tsconfig.json | 3 +- types/lodash.matches/tsconfig.json | 3 +- types/lodash.matchesproperty/tsconfig.json | 3 +- types/lodash.max/tsconfig.json | 3 +- types/lodash.maxby/tsconfig.json | 3 +- types/lodash.mean/tsconfig.json | 3 +- types/lodash.meanby/tsconfig.json | 3 +- types/lodash.memoize/tsconfig.json | 3 +- types/lodash.merge/tsconfig.json | 3 +- types/lodash.mergewith/tsconfig.json | 3 +- types/lodash.method/tsconfig.json | 3 +- types/lodash.methodof/tsconfig.json | 3 +- types/lodash.min/tsconfig.json | 3 +- types/lodash.minby/tsconfig.json | 3 +- types/lodash.mixin/tsconfig.json | 3 +- types/lodash.negate/tsconfig.json | 3 +- types/lodash.noop/tsconfig.json | 3 +- types/lodash.now/tsconfig.json | 3 +- types/lodash.nth/tsconfig.json | 3 +- types/lodash.ntharg/tsconfig.json | 3 +- types/lodash.omit/tsconfig.json | 3 +- types/lodash.omitby/tsconfig.json | 3 +- types/lodash.once/tsconfig.json | 3 +- types/lodash.orderby/tsconfig.json | 3 +- types/lodash.over/tsconfig.json | 3 +- types/lodash.overargs/tsconfig.json | 3 +- types/lodash.overevery/tsconfig.json | 3 +- types/lodash.oversome/tsconfig.json | 3 +- types/lodash.pad/tsconfig.json | 3 +- types/lodash.padend/tsconfig.json | 3 +- types/lodash.padstart/tsconfig.json | 3 +- types/lodash.parseint/tsconfig.json | 3 +- types/lodash.partial/tsconfig.json | 3 +- types/lodash.partialright/tsconfig.json | 3 +- types/lodash.partition/tsconfig.json | 3 +- types/lodash.pick/tsconfig.json | 3 +- types/lodash.pickby/tsconfig.json | 3 +- types/lodash.property/tsconfig.json | 3 +- types/lodash.propertyof/tsconfig.json | 3 +- types/lodash.pull/tsconfig.json | 3 +- types/lodash.pullall/tsconfig.json | 3 +- types/lodash.pullallby/tsconfig.json | 3 +- types/lodash.pullallwith/tsconfig.json | 3 +- types/lodash.pullat/tsconfig.json | 3 +- types/lodash.random/tsconfig.json | 3 +- types/lodash.range/tsconfig.json | 3 +- types/lodash.rangeright/tsconfig.json | 3 +- types/lodash.rearg/tsconfig.json | 3 +- types/lodash.reduce/tsconfig.json | 3 +- types/lodash.reduceright/tsconfig.json | 3 +- types/lodash.reject/tsconfig.json | 3 +- types/lodash.remove/tsconfig.json | 3 +- types/lodash.repeat/tsconfig.json | 3 +- types/lodash.replace/tsconfig.json | 3 +- types/lodash.rest/tsconfig.json | 3 +- types/lodash.result/tsconfig.json | 3 +- types/lodash.reverse/tsconfig.json | 3 +- types/lodash.round/tsconfig.json | 3 +- types/lodash.sample/tsconfig.json | 3 +- types/lodash.samplesize/tsconfig.json | 3 +- types/lodash.set/tsconfig.json | 3 +- types/lodash.setwith/tsconfig.json | 3 +- types/lodash.shuffle/tsconfig.json | 3 +- types/lodash.size/tsconfig.json | 3 +- types/lodash.slice/tsconfig.json | 3 +- types/lodash.snakecase/tsconfig.json | 3 +- types/lodash.some/tsconfig.json | 3 +- types/lodash.sortby/tsconfig.json | 3 +- types/lodash.sortedindex/tsconfig.json | 3 +- types/lodash.sortedindexby/tsconfig.json | 3 +- types/lodash.sortedindexof/tsconfig.json | 3 +- types/lodash.sortedlastindex/tsconfig.json | 3 +- types/lodash.sortedlastindexby/tsconfig.json | 3 +- types/lodash.sortedlastindexof/tsconfig.json | 3 +- types/lodash.sorteduniq/tsconfig.json | 3 +- types/lodash.sorteduniqby/tsconfig.json | 3 +- types/lodash.split/tsconfig.json | 3 +- types/lodash.spread/tsconfig.json | 3 +- types/lodash.startcase/tsconfig.json | 3 +- types/lodash.startswith/tsconfig.json | 3 +- types/lodash.subtract/tsconfig.json | 3 +- types/lodash.sum/tsconfig.json | 3 +- types/lodash.sumby/tsconfig.json | 3 +- types/lodash.tail/tsconfig.json | 3 +- types/lodash.take/tsconfig.json | 3 +- types/lodash.takeright/tsconfig.json | 3 +- types/lodash.takerightwhile/tsconfig.json | 3 +- types/lodash.takewhile/tsconfig.json | 3 +- types/lodash.template/tsconfig.json | 3 +- types/lodash.throttle/tsconfig.json | 3 +- types/lodash.times/tsconfig.json | 3 +- types/lodash.toarray/tsconfig.json | 3 +- types/lodash.tofinite/tsconfig.json | 3 +- types/lodash.tointeger/tsconfig.json | 3 +- types/lodash.tolength/tsconfig.json | 3 +- types/lodash.tolower/tsconfig.json | 3 +- types/lodash.tonumber/tsconfig.json | 3 +- types/lodash.topairs/tsconfig.json | 3 +- types/lodash.topairsin/tsconfig.json | 3 +- types/lodash.topath/tsconfig.json | 3 +- types/lodash.toplainobject/tsconfig.json | 3 +- types/lodash.tosafeinteger/tsconfig.json | 3 +- types/lodash.tostring/tsconfig.json | 3 +- types/lodash.toupper/tsconfig.json | 3 +- types/lodash.transform/tsconfig.json | 3 +- types/lodash.trim/tsconfig.json | 3 +- types/lodash.trimend/tsconfig.json | 3 +- types/lodash.trimstart/tsconfig.json | 3 +- types/lodash.truncate/tsconfig.json | 3 +- types/lodash.unary/tsconfig.json | 3 +- types/lodash.unescape/tsconfig.json | 3 +- types/lodash.union/tsconfig.json | 3 +- types/lodash.unionby/tsconfig.json | 3 +- types/lodash.unionwith/tsconfig.json | 3 +- types/lodash.uniq/tsconfig.json | 3 +- types/lodash.uniqby/tsconfig.json | 3 +- types/lodash.uniqueid/tsconfig.json | 3 +- types/lodash.uniqwith/tsconfig.json | 3 +- types/lodash.unset/tsconfig.json | 3 +- types/lodash.unzip/tsconfig.json | 3 +- types/lodash.unzipwith/tsconfig.json | 3 +- types/lodash.update/tsconfig.json | 3 +- types/lodash.updatewith/tsconfig.json | 3 +- types/lodash.uppercase/tsconfig.json | 3 +- types/lodash.upperfirst/tsconfig.json | 3 +- types/lodash.values/tsconfig.json | 3 +- types/lodash.valuesin/tsconfig.json | 3 +- types/lodash.without/tsconfig.json | 3 +- types/lodash.words/tsconfig.json | 3 +- types/lodash.wrap/tsconfig.json | 3 +- types/lodash.xor/tsconfig.json | 3 +- types/lodash.xorby/tsconfig.json | 3 +- types/lodash.xorwith/tsconfig.json | 3 +- types/lodash.zip/tsconfig.json | 3 +- types/lodash.zipobject/tsconfig.json | 3 +- types/lodash.zipobjectdeep/tsconfig.json | 3 +- types/lodash.zipwith/tsconfig.json | 3 +- types/lodash/tsconfig.json | 3 +- types/lodash/v3/tsconfig.json | 3 +- types/log-symbols/tsconfig.json | 3 +- types/log-update/tsconfig.json | 3 +- types/logat/tsconfig.json | 3 +- types/logform/tsconfig.json | 3 +- types/logg/tsconfig.json | 3 +- types/loggly/tsconfig.json | 3 +- types/loglevel/tsconfig.json | 3 +- types/logrotate-stream/tsconfig.json | 3 +- types/lokijs/tsconfig.json | 3 +- types/lolex/tsconfig.json | 3 +- types/long/tsconfig.json | 3 +- types/loopback-boot/tsconfig.json | 3 +- types/loopback/tsconfig.json | 3 +- types/lorem-ipsum/tsconfig.json | 3 +- types/lory.js/tsconfig.json | 3 +- types/loud-rejection/tsconfig.json | 3 +- types/lovefield/tsconfig.json | 3 +- types/lowdb/tsconfig.json | 3 +- types/lowlight/tsconfig.json | 3 +- types/lozad/tsconfig.json | 3 +- types/lru-cache/tsconfig.json | 3 +- types/lscache/tsconfig.json | 3 +- types/ltx/tsconfig.json | 3 +- types/luaparse/tsconfig.json | 3 +- types/lunr/tsconfig.json | 3 +- types/lunr/v0/tsconfig.json | 3 +- types/lusca/tsconfig.json | 3 +- types/luxon/tsconfig.json | 3 +- types/lwip/tsconfig.json | 3 +- types/lz-string/tsconfig.json | 3 +- types/magic-number/tsconfig.json | 3 +- types/magicsuggest/tsconfig.json | 3 +- types/magnet-uri/tsconfig.json | 3 +- types/mailcheck/tsconfig.json | 3 +- types/maildev/tsconfig.json | 3 +- types/mailgen/tsconfig.json | 3 +- types/mailparser/tsconfig.json | 3 +- types/main-bower-files/tsconfig.json | 3 +- types/mainloop.js/tsconfig.json | 3 +- types/make-dir/tsconfig.json | 3 +- types/maker.js/tsconfig.json | 3 +- types/mandrill-api/tsconfig.json | 3 +- types/map-obj/tsconfig.json | 3 +- types/mapbox-gl/tsconfig.json | 3 +- types/mapbox/tsconfig.json | 3 +- types/mapbox__shelf-pack/tsconfig.json | 3 +- types/mapnik/tsconfig.json | 3 +- types/mapsjs/tsconfig.json | 3 +- types/mariasql/tsconfig.json | 3 +- types/mark.js/tsconfig.json | 3 +- types/markdown-it-anchor/tsconfig.json | 3 +- types/markdown-it-container/tsconfig.json | 3 +- types/markdown-it/tsconfig.json | 3 +- types/markdownlint/tsconfig.json | 3 +- types/marked/tsconfig.json | 3 +- .../marker-animate-unobtrusive/tsconfig.json | 3 +- types/markerclustererplus/tsconfig.json | 3 +- types/markitup/tsconfig.json | 3 +- types/maskedinput/tsconfig.json | 3 +- types/masonry-layout/tsconfig.json | 3 +- types/massive/tsconfig.json | 3 +- types/massive/v3/tsconfig.json | 1 - types/match-media-mock/tsconfig.json | 3 +- types/material-components-web/tsconfig.json | 3 +- types/material-design-lite/tsconfig.json | 3 +- types/material-ui-datatables/tsconfig.json | 3 +- types/material-ui-pagination/tsconfig.json | 3 +- types/material-ui/tsconfig.json | 3 +- types/material__animation/tsconfig.json | 3 +- types/material__auto-init/tsconfig.json | 3 +- types/material__base/tsconfig.json | 3 +- types/material__checkbox/tsconfig.json | 3 +- types/material__dialog/tsconfig.json | 3 +- types/material__drawer/tsconfig.json | 3 +- types/material__form-field/tsconfig.json | 3 +- types/material__grid-list/tsconfig.json | 3 +- types/material__icon-toggle/tsconfig.json | 3 +- types/material__linear-progress/tsconfig.json | 3 +- types/material__menu/tsconfig.json | 3 +- types/material__radio/tsconfig.json | 3 +- types/material__ripple/tsconfig.json | 3 +- types/material__select/tsconfig.json | 3 +- .../material__selection-control/tsconfig.json | 3 +- types/material__slider/tsconfig.json | 3 +- types/material__snackbar/tsconfig.json | 3 +- types/material__tabs/tsconfig.json | 3 +- types/material__textfield/tsconfig.json | 3 +- types/material__toolbar/tsconfig.json | 3 +- types/materialize-css/tsconfig.json | 3 +- types/materialize-css/v0/tsconfig.json | 3 +- types/math3d/tsconfig.json | 3 +- types/mathjax/tsconfig.json | 3 +- types/mathjs/tsconfig.json | 3 +- types/matter-js/tsconfig.json | 3 +- types/maxmind/tsconfig.json | 3 +- types/mcustomscrollbar/tsconfig.json | 3 +- types/md5/tsconfig.json | 3 +- types/mdns/tsconfig.json | 3 +- types/mdurl/tsconfig.json | 1 - types/media-typer/tsconfig.json | 3 +- types/medium-editor/tsconfig.json | 3 +- types/mem/tsconfig.json | 3 +- types/memcached/tsconfig.json | 3 +- types/memoizee/tsconfig.json | 3 +- types/memory-cache/tsconfig.json | 3 +- types/memory-fs/tsconfig.json | 3 +- types/memwatch-next/tsconfig.json | 3 +- types/menubar/tsconfig.json | 3 +- types/meow/tsconfig.json | 3 +- types/merge-descriptors/tsconfig.json | 3 +- types/merge-stream/tsconfig.json | 3 +- types/merge2/tsconfig.json | 3 +- types/merkle/tsconfig.json | 3 +- types/mersenne-twister/tsconfig.json | 3 +- types/meshblu/tsconfig.json | 3 +- types/mess/tsconfig.json | 3 +- types/messenger/tsconfig.json | 3 +- types/meteor-accounts-phone/tsconfig.json | 3 +- types/meteor-collection-hooks/tsconfig.json | 3 +- types/meteor-jboulhous-dev/tsconfig.json | 3 +- types/meteor-persistent-session/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/meteor-publish-composite/tsconfig.json | 3 +- types/meteor-roles/tsconfig.json | 3 +- types/meteor/tsconfig.json | 3 +- types/method-override/tsconfig.json | 3 +- types/methods/tsconfig.json | 3 +- types/metric-suffix/tsconfig.json | 3 +- types/mfiles/tsconfig.json | 3 +- types/micro/tsconfig.json | 3 +- types/micromatch/tsconfig.json | 3 +- types/micromatch/v2/tsconfig.json | 3 +- types/microrouter/tsconfig.json | 3 +- types/microsoft-ajax/tsconfig.json | 3 +- types/microsoft-live-connect/tsconfig.json | 3 +- types/microsoft-sdk-soap/tsconfig.json | 3 +- types/microsoftteams/tsconfig.json | 3 +- types/microtime/tsconfig.json | 3 +- types/milkcocoa/tsconfig.json | 3 +- types/milliseconds/tsconfig.json | 3 +- types/mime-db/tsconfig.json | 3 +- types/mime-types/tsconfig.json | 3 +- types/mime/tsconfig.json | 3 +- types/mimos/tsconfig.json | 3 +- types/mina/tsconfig.json | 3 +- types/minilog/tsconfig.json | 3 +- types/minimatch/tsconfig.json | 3 +- types/minimist-options/tsconfig.json | 3 +- types/minimist/tsconfig.json | 3 +- types/minipass/tsconfig.json | 3 +- types/mirrorx/tsconfig.json | 3 +- types/mithril-global/tsconfig.json | 1 - types/mithril/tsconfig.json | 1 - types/mitm/tsconfig.json | 3 +- types/mixpanel/tsconfig.json | 3 +- types/mixto/tsconfig.json | 3 +- types/mkdirp/tsconfig.json | 3 +- types/mkpath/tsconfig.json | 3 +- types/mmmagic/tsconfig.json | 3 +- types/mobx-apollo/tsconfig.json | 3 +- types/mocha-phantomjs/tsconfig.json | 3 +- types/mocha-steps/tsconfig.json | 3 +- types/mocha/tsconfig.json | 3 +- types/mochaccino/tsconfig.json | 3 +- types/mock-aws-s3/tsconfig.json | 3 +- types/mock-fs/tsconfig.json | 3 +- types/mock-knex/tsconfig.json | 3 +- types/mock-raf/tsconfig.json | 3 +- types/mock-require/tsconfig.json | 3 +- types/mockdate/tsconfig.json | 3 +- types/mockery/tsconfig.json | 3 +- types/mockjs/tsconfig.json | 3 +- types/modernizr/tsconfig.json | 3 +- types/modesl/tsconfig.json | 3 +- types/moji/tsconfig.json | 3 +- types/moment-business-time/tsconfig.json | 3 +- types/moment-business/tsconfig.json | 3 +- types/moment-duration-format/tsconfig.json | 3 +- types/moment-holiday/tsconfig.json | 3 +- types/moment-jalaali/tsconfig.json | 3 +- types/moment-range/tsconfig.json | 3 +- types/moment-round/tsconfig.json | 3 +- types/moment-strftime2/tsconfig.json | 3 +- types/moment-timezone/tsconfig.json | 3 +- types/mongodb/tsconfig.json | 3 +- types/mongodb/v1/tsconfig.json | 3 +- types/mongodb/v2/tsconfig.json | 3 +- types/mongoose-auto-increment/tsconfig.json | 3 +- types/mongoose-deep-populate/tsconfig.json | 3 +- types/mongoose-geojson-schema/tsconfig.json | 3 +- types/mongoose-mock/tsconfig.json | 3 +- types/mongoose-paginate/tsconfig.json | 3 +- types/mongoose-promise/tsconfig.json | 3 +- types/mongoose-seeder/tsconfig.json | 3 +- types/mongoose-sequence/tsconfig.json | 3 +- types/mongoose-simple-random/tsconfig.json | 3 +- types/mongoose-unique-validator/tsconfig.json | 3 +- types/mongoose/tsconfig.json | 3 +- types/mongoose/v3/tsconfig.json | 3 +- types/mongoose/v4/tsconfig.json | 3 +- types/moo/tsconfig.json | 3 +- types/moonjs/tsconfig.json | 3 +- types/morgan/tsconfig.json | 3 +- types/morris.js/tsconfig.json | 3 +- types/mousetrap/tsconfig.json | 3 +- types/move-concurrently/tsconfig.json | 3 +- types/moviedb/tsconfig.json | 3 +- types/moxios/tsconfig.json | 3 +- types/mozilla-readability/tsconfig.json | 3 +- types/mpromise/tsconfig.json | 3 +- types/mri/tsconfig.json | 3 +- types/ms/tsconfig.json | 3 +- types/msgpack-lite/tsconfig.json | 3 +- types/msgpack/tsconfig.json | 3 +- types/msgpack5/tsconfig.json | 3 +- types/msnodesql/tsconfig.json | 3 +- types/msportalfx-test/tsconfig.json | 3 +- types/mssql/tsconfig.json | 3 +- types/mu2/tsconfig.json | 3 +- types/multer-gridfs-storage/tsconfig.json | 3 +- types/multer-gridfs-storage/v1/tsconfig.json | 3 +- types/multer-s3/tsconfig.json | 3 +- types/multer/tsconfig.json | 3 +- types/multi-typeof/tsconfig.json | 3 +- types/multimatch/tsconfig.json | 3 +- types/multiparty/tsconfig.json | 3 +- types/multiplexjs/tsconfig.json | 3 +- types/multisort/tsconfig.json | 3 +- types/multistream/tsconfig.json | 3 +- types/murmurhash-js/tsconfig.json | 3 +- types/murmurhash3js/tsconfig.json | 3 +- types/musicmetadata/tsconfig.json | 3 +- types/mustache/tsconfig.json | 3 +- types/mv/tsconfig.json | 3 +- types/mysql/tsconfig.json | 3 +- types/mz/tsconfig.json | 3 +- types/n3/tsconfig.json | 3 +- types/nano/tsconfig.json | 3 +- types/nanoajax/tsconfig.json | 3 +- types/nanoid/tsconfig.json | 1 - types/nanomsg/tsconfig.json | 3 +- types/nanoscroller/tsconfig.json | 3 +- types/nanp/tsconfig.json | 3 +- types/nats-hemera/tsconfig.json | 3 +- types/natsort/tsconfig.json | 3 +- types/natural-sort/tsconfig.json | 3 +- types/natural/tsconfig.json | 3 +- types/navigation-react/tsconfig.json | 3 +- types/navigation/tsconfig.json | 3 +- types/navigo/tsconfig.json | 3 +- types/nblas/tsconfig.json | 3 +- types/nconf/tsconfig.json | 3 +- types/ncp/tsconfig.json | 3 +- types/ndarray/tsconfig.json | 3 +- types/nearley/tsconfig.json | 3 +- types/nedb-logger/tsconfig.json | 3 +- types/nedb/tsconfig.json | 3 +- types/needle/tsconfig.json | 3 +- types/needle/v0/tsconfig.json | 3 +- types/needle/v1/tsconfig.json | 3 +- types/negotiator/tsconfig.json | 3 +- types/neo4j/tsconfig.json | 3 +- types/nes/tsconfig.json | 13 +++--- types/net-keepalive/tsconfig.json | 1 - types/netmask/tsconfig.json | 3 +- types/new-relic-browser/tsconfig.json | 3 +- types/newrelic/tsconfig.json | 3 +- types/nexpect/tsconfig.json | 3 +- types/next-redux-wrapper/tsconfig.json | 3 +- types/next/tsconfig.json | 3 +- types/ng-command/tsconfig.json | 3 +- types/ng-cordova/tsconfig.json | 3 +- types/ng-dialog/tsconfig.json | 3 +- types/ng-facebook/tsconfig.json | 3 +- types/ng-file-upload/tsconfig.json | 3 +- types/ng-flow/tsconfig.json | 3 +- types/ng-grid/tsconfig.json | 3 +- types/ng-i18next/tsconfig.json | 3 +- types/ng-notify/tsconfig.json | 3 +- types/ng-stomp/tsconfig.json | 3 +- types/ngbootbox/tsconfig.json | 3 +- types/ngeohash/tsconfig.json | 3 +- types/ngkookies/tsconfig.json | 3 +- types/ngmap/tsconfig.json | 3 +- types/ngprogress-lite/tsconfig.json | 3 +- types/ngprogress/tsconfig.json | 3 +- types/ngreact/tsconfig.json | 1 - types/ngstorage/tsconfig.json | 3 +- types/ngtoaster/tsconfig.json | 3 +- types/ngwysiwyg/tsconfig.json | 3 +- types/nightmare/tsconfig.json | 3 +- types/nightwatch/tsconfig.json | 3 +- types/noble/tsconfig.json | 3 +- types/nock/tsconfig.json | 3 +- types/nodal/tsconfig.json | 3 +- types/node-7z/tsconfig.json | 3 +- types/node-array-ext/tsconfig.json | 3 +- types/node-cache/tsconfig.json | 3 +- types/node-calendar/tsconfig.json | 3 +- types/node-cleanup/tsconfig.json | 3 +- types/node-common-errors/tsconfig.json | 3 +- types/node-config-manager/tsconfig.json | 3 +- types/node-cron/tsconfig.json | 3 +- types/node-dir/tsconfig.json | 3 +- types/node-dogstatsd/tsconfig.json | 3 +- types/node-emoji/tsconfig.json | 3 +- types/node-fetch/tsconfig.json | 3 +- types/node-fibers/tsconfig.json | 3 +- types/node-forge/tsconfig.json | 3 +- types/node-gcm/tsconfig.json | 3 +- types/node-geocoder/tsconfig.json | 3 +- types/node-getopt/tsconfig.json | 3 +- types/node-hid/tsconfig.json | 3 +- types/node-horseman/tsconfig.json | 3 +- types/node-hue-api/tsconfig.json | 3 +- types/node-int64/tsconfig.json | 3 +- types/node-ipc/tsconfig.json | 3 +- types/node-jsfl-runner/tsconfig.json | 3 +- types/node-json-db/tsconfig.json | 3 +- types/node-mysql-wrapper/tsconfig.json | 3 +- types/node-notifier/tsconfig.json | 3 +- types/node-persist/tsconfig.json | 3 +- types/node-polyglot/tsconfig.json | 3 +- types/node-powershell/tsconfig.json | 3 +- types/node-ral/tsconfig.json | 3 +- types/node-red/tsconfig.json | 3 +- types/node-rsa/tsconfig.json | 3 +- types/node-sass-middleware/tsconfig.json | 3 +- types/node-sass/tsconfig.json | 3 +- types/node-schedule/tsconfig.json | 3 +- types/node-slack/tsconfig.json | 3 +- types/node-snap7/tsconfig.json | 3 +- types/node-sprite-generator/tsconfig.json | 3 +- types/node-static/tsconfig.json | 3 +- types/node-statsd/tsconfig.json | 3 +- types/node-telegram-bot-api/tsconfig.json | 3 +- types/node-uuid/tsconfig.json | 3 +- types/node-validator/tsconfig.json | 3 +- types/node-vault/tsconfig.json | 3 +- types/node-wit/tsconfig.json | 3 +- types/node-xmpp-client/tsconfig.json | 3 +- types/node-xmpp-core/tsconfig.json | 3 +- types/node-zookeeper-client/tsconfig.json | 3 +- types/node/tsconfig.json | 5 +-- types/node/v0/tsconfig.json | 3 +- types/node/v4/tsconfig.json | 3 +- types/node/v6/tsconfig.json | 3 +- types/node/v7/tsconfig.json | 3 +- types/node/v8/tsconfig.json | 3 +- types/node_redis/tsconfig.json | 3 +- types/nodegit/tsconfig.json | 3 +- .../nodemailer-direct-transport/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../nodemailer-pickup-transport/tsconfig.json | 3 +- types/nodemailer-ses-transport/tsconfig.json | 3 +- types/nodemailer-smtp-pool/tsconfig.json | 3 +- types/nodemailer-smtp-transport/tsconfig.json | 3 +- types/nodemailer-stub-transport/tsconfig.json | 3 +- types/nodemailer/tsconfig.json | 3 +- types/nodemailer/v3/tsconfig.json | 3 +- types/nodeunit/tsconfig.json | 3 +- types/noisejs/tsconfig.json | 3 +- types/nomnom/tsconfig.json | 3 +- types/nopt/tsconfig.json | 3 +- types/normalize-package-data/tsconfig.json | 3 +- types/normalize-url/tsconfig.json | 3 +- types/notie/tsconfig.json | 3 +- types/notify/tsconfig.json | 3 +- types/notifyjs-browser/tsconfig.json | 3 +- types/notifyjs/tsconfig.json | 3 +- types/notyf/tsconfig.json | 3 +- types/nouislider/tsconfig.json | 3 +- types/nouislider/v7/tsconfig.json | 3 +- types/nouislider/v8/tsconfig.json | 3 +- types/novnc-core/tsconfig.json | 3 +- types/npm-package-arg/tsconfig.json | 3 +- types/npm-packlist/tsconfig.json | 3 +- types/npm/tsconfig.json | 3 +- types/nprogress/tsconfig.json | 3 +- types/ns-api/tsconfig.json | 3 +- types/nslog/tsconfig.json | 3 +- types/nsqjs/tsconfig.json | 3 +- types/number-is-nan/tsconfig.json | 3 +- types/number-to-words/tsconfig.json | 3 +- types/numeral/tsconfig.json | 3 +- types/numjs/tsconfig.json | 3 +- types/nunjucks-date/tsconfig.json | 3 +- types/nunjucks/tsconfig.json | 3 +- types/nvd3/tsconfig.json | 3 +- types/nw.gui/tsconfig.json | 3 +- types/nw.js/tsconfig.json | 3 +- types/o.js/tsconfig.json | 3 +- types/oauth.js/tsconfig.json | 3 +- types/oauth2-server/tsconfig.json | 1 - types/oauth2orize/tsconfig.json | 3 +- types/obelisk.js/tsconfig.json | 3 +- types/object-assign/tsconfig.json | 3 +- types/object-diff/tsconfig.json | 3 +- types/object-hash/tsconfig.json | 3 +- types/object-inspect/tsconfig.json | 3 +- types/object-map/tsconfig.json | 3 +- types/object-path/tsconfig.json | 3 +- types/object-refs/tsconfig.json | 3 +- types/oblo-util/tsconfig.json | 3 +- types/oboe/tsconfig.json | 3 +- types/observe-js/tsconfig.json | 3 +- types/oclazyload/tsconfig.json | 3 +- types/odata/tsconfig.json | 3 +- types/ofe/tsconfig.json | 3 +- types/office-js/tsconfig.json | 3 +- types/offline-js/tsconfig.json | 3 +- types/oibackoff/tsconfig.json | 3 +- types/oidc-token-manager/tsconfig.json | 3 +- types/ol/tsconfig.json | 3 +- types/on-finished/tsconfig.json | 3 +- types/on-headers/tsconfig.json | 3 +- types/once/tsconfig.json | 3 +- types/onesignal-cordova-plugin/tsconfig.json | 3 +- types/onetime/tsconfig.json | 3 +- types/oniguruma/tsconfig.json | 3 +- types/onoff/tsconfig.json | 3 +- types/open/tsconfig.json | 3 +- types/opener/tsconfig.json | 3 +- types/openfin/tsconfig.json | 3 +- types/openfin/v15/tsconfig.json | 3 +- types/openfin/v16/tsconfig.json | 3 +- types/openjscad/tsconfig.json | 3 +- types/openlayers/tsconfig.json | 3 +- types/openlayers/v2/tsconfig.json | 3 +- types/openlayers/v3/tsconfig.json | 3 +- types/openpgp/tsconfig.json | 3 +- types/openstack-wrapper/tsconfig.json | 3 +- types/opentok/tsconfig.json | 3 +- types/opentype.js/tsconfig.json | 3 +- types/openui5/tsconfig.json | 3 +- types/opn/tsconfig.json | 3 +- types/optics-agent/tsconfig.json | 3 +- types/optimist/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/ora/tsconfig.json | 3 +- types/ora/v0/tsconfig.json | 3 +- types/oracledb/tsconfig.json | 3 +- types/orchestrator/tsconfig.json | 3 +- types/orderedmap/tsconfig.json | 3 +- types/orientjs/tsconfig.json | 3 +- types/os-homedir/tsconfig.json | 3 +- types/os-locale/tsconfig.json | 3 +- types/os-locale/v1/tsconfig.json | 3 +- types/os-name/tsconfig.json | 3 +- types/os-tmpdir/tsconfig.json | 3 +- types/osmosis/tsconfig.json | 3 +- types/osmtogeojson/tsconfig.json | 3 +- types/osrm/tsconfig.json | 3 +- types/otplib/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/owl.carousel/tsconfig.json | 3 +- types/owlcarousel/tsconfig.json | 3 +- types/p-all/tsconfig.json | 3 +- types/p-any/tsconfig.json | 3 +- types/p-cancelable/tsconfig.json | 3 +- types/p-debounce/tsconfig.json | 3 +- types/p-defer/tsconfig.json | 3 +- types/p-do-whilst/tsconfig.json | 3 +- types/p-each-series/tsconfig.json | 3 +- types/p-event/tsconfig.json | 3 +- types/p-every/tsconfig.json | 3 +- types/p-lazy/tsconfig.json | 3 +- types/p-limit/tsconfig.json | 3 +- types/p-loading/tsconfig.json | 3 +- types/p-locate/tsconfig.json | 3 +- types/p-log/tsconfig.json | 3 +- types/p-map-series/tsconfig.json | 3 +- types/p-map/tsconfig.json | 3 +- types/p-one/tsconfig.json | 3 +- types/p-props/tsconfig.json | 3 +- types/p-queue/tsconfig.json | 3 +- types/p-reduce/tsconfig.json | 3 +- types/p-reflect/tsconfig.json | 3 +- types/p-retry/tsconfig.json | 3 +- types/p-series/tsconfig.json | 3 +- types/p-settle/tsconfig.json | 3 +- types/p-some/tsconfig.json | 3 +- types/p-tap/tsconfig.json | 3 +- types/p-throttle/tsconfig.json | 3 +- types/p-timeout/tsconfig.json | 3 +- types/p-try/tsconfig.json | 3 +- types/p-wait-for/tsconfig.json | 3 +- types/p-whilst/tsconfig.json | 3 +- types/p2/tsconfig.json | 3 +- types/package-json/tsconfig.json | 3 +- types/packery/tsconfig.json | 3 +- types/pad/tsconfig.json | 3 +- types/page-icon/tsconfig.json | 3 +- types/page/tsconfig.json | 3 +- types/paho-mqtt/tsconfig.json | 3 +- types/pako/tsconfig.json | 3 +- types/pangu/tsconfig.json | 3 +- types/papaparse/tsconfig.json | 3 +- types/paper/tsconfig.json | 3 +- types/paralleljs/tsconfig.json | 3 +- types/parent-package-json/tsconfig.json | 3 +- types/parse-git-config/tsconfig.json | 3 +- types/parse-glob/tsconfig.json | 3 +- types/parse-json/tsconfig.json | 3 +- types/parse-link-header/tsconfig.json | 3 +- types/parse-mockdb/tsconfig.json | 3 +- types/parse-ms/tsconfig.json | 3 +- types/parse-torrent-file/tsconfig.json | 3 +- types/parse-torrent/tsconfig.json | 3 +- types/parse-unit/tsconfig.json | 3 +- types/parse/tsconfig.json | 3 +- types/parseurl/tsconfig.json | 3 +- types/parsimmon/tsconfig.json | 3 +- types/passport-anonymous/tsconfig.json | 3 +- types/passport-beam/tsconfig.json | 3 +- types/passport-discord/tsconfig.json | 3 +- types/passport-facebook-token/tsconfig.json | 3 +- types/passport-facebook/tsconfig.json | 3 +- types/passport-github/tsconfig.json | 3 +- types/passport-github2/tsconfig.json | 3 +- types/passport-google-oauth/tsconfig.json | 3 +- types/passport-google-oauth2/tsconfig.json | 3 +- types/passport-http-bearer/tsconfig.json | 3 +- types/passport-http/tsconfig.json | 3 +- types/passport-jwt/tsconfig.json | 3 +- types/passport-kakao/tsconfig.json | 3 +- types/passport-local-mongoose/tsconfig.json | 3 +- types/passport-local/tsconfig.json | 3 +- types/passport-naver/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/passport-oauth2/tsconfig.json | 3 +- types/passport-saml/tsconfig.json | 3 +- types/passport-steam/tsconfig.json | 3 +- types/passport-strategy/tsconfig.json | 3 +- types/passport-twitter/tsconfig.json | 3 +- types/passport-unique-token/tsconfig.json | 3 +- types/passport/tsconfig.json | 3 +- types/password-hash-and-salt/tsconfig.json | 3 +- types/password-hash/tsconfig.json | 3 +- types/path-exists/tsconfig.json | 3 +- types/path-exists/v1/tsconfig.json | 3 +- types/path-is-absolute/tsconfig.json | 3 +- types/path-parse/tsconfig.json | 3 +- types/pathfinding/tsconfig.json | 3 +- types/pathjs/tsconfig.json | 3 +- types/pathwatcher/tsconfig.json | 3 +- types/pause/tsconfig.json | 3 +- types/payment/tsconfig.json | 3 +- types/paypal-cordova-plugin/tsconfig.json | 3 +- types/paypal-rest-sdk/tsconfig.json | 3 +- types/pbf/tsconfig.json | 3 +- types/pdfjs-dist/tsconfig.json | 3 +- types/pdfkit/tsconfig.json | 3 +- types/pdfobject/tsconfig.json | 3 +- types/pebblekitjs/tsconfig.json | 3 +- types/peer-dial/tsconfig.json | 3 +- types/peerjs/tsconfig.json | 3 +- types/pegjs/tsconfig.json | 3 +- types/pem/tsconfig.json | 3 +- types/persona/tsconfig.json | 3 +- types/pet-finder-api/tsconfig.json | 3 +- types/pg-ears/tsconfig.json | 3 +- types/pg-escape/tsconfig.json | 3 +- types/pg-pool/tsconfig.json | 3 +- types/pg-query-stream/tsconfig.json | 3 +- types/pg-types/tsconfig.json | 3 +- types/pg/tsconfig.json | 3 +- types/pg/v6/tsconfig.json | 3 +- types/pgwmodal/tsconfig.json | 3 +- types/phantom/tsconfig.json | 3 +- types/phantomcss/tsconfig.json | 3 +- types/phantomjs/tsconfig.json | 3 +- types/phoenix/tsconfig.json | 3 +- types/phone-formatter/tsconfig.json | 3 +- types/phone/tsconfig.json | 3 +- types/phonegap-facebook-plugin/tsconfig.json | 3 +- types/phonegap-nfc/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/phonegap/tsconfig.json | 3 +- types/phonon/tsconfig.json | 3 +- types/photonui/tsconfig.json | 3 +- types/photoswipe/tsconfig.json | 3 +- types/physijs/tsconfig.json | 3 +- types/pi-spi/tsconfig.json | 3 +- types/pick-weight/tsconfig.json | 3 +- types/pickadate/tsconfig.json | 3 +- types/picturefill/tsconfig.json | 3 +- types/pidusage/tsconfig.json | 3 +- types/pify/tsconfig.json | 3 +- types/pigpio/tsconfig.json | 3 +- types/pikaday-time/tsconfig.json | 3 +- types/pikaday/tsconfig.json | 3 +- types/pinkyswear/tsconfig.json | 3 +- types/pino-multi-stream/tsconfig.json | 3 +- types/pino/tsconfig.json | 3 +- types/pino/v3/tsconfig.json | 3 +- types/pinterest-sdk/tsconfig.json | 3 +- types/pinyin/tsconfig.json | 3 +- types/piwik-tracker/tsconfig.json | 3 +- types/pixelmatch/tsconfig.json | 3 +- types/pixi.js/tsconfig.json | 3 +- types/pkg-dir/tsconfig.json | 3 +- types/pkijs/tsconfig.json | 3 +- types/platform/tsconfig.json | 3 +- types/playcanvas/tsconfig.json | 3 +- types/playerframework/tsconfig.json | 3 +- types/pleasejs/tsconfig.json | 3 +- types/plotly.js/tsconfig.json | 3 +- types/plugapi/tsconfig.json | 3 +- types/plugin-error/tsconfig.json | 3 +- types/plupload/tsconfig.json | 3 +- types/pluralize/tsconfig.json | 3 +- types/png-async/tsconfig.json | 3 +- types/pngjs/tsconfig.json | 3 +- types/pngjs2/tsconfig.json | 3 +- types/podcast/tsconfig.json | 3 +- types/podium/tsconfig.json | 3 +- types/point-in-polygon/tsconfig.json | 3 +- types/polylabel/tsconfig.json | 3 +- types/polyline/tsconfig.json | 3 +- types/polymer-ts/tsconfig.json | 3 +- types/polymer/tsconfig.json | 3 +- types/popcorn/tsconfig.json | 3 +- types/portscanner/tsconfig.json | 3 +- types/postal/tsconfig.json | 3 +- types/postal/v0/tsconfig.json | 3 +- types/postmark/tsconfig.json | 3 +- types/pouch-redux-middleware/tsconfig.json | 3 +- types/pouchdb-adapter-fruitdown/tsconfig.json | 3 +- types/pouchdb-adapter-http/tsconfig.json | 3 +- types/pouchdb-adapter-idb/tsconfig.json | 3 +- types/pouchdb-adapter-leveldb/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/pouchdb-adapter-memory/tsconfig.json | 3 +- .../pouchdb-adapter-node-websql/tsconfig.json | 3 +- types/pouchdb-adapter-websql/tsconfig.json | 3 +- types/pouchdb-browser/tsconfig.json | 3 +- types/pouchdb-core/tsconfig.json | 3 +- types/pouchdb-find/tsconfig.json | 3 +- types/pouchdb-http/tsconfig.json | 3 +- types/pouchdb-mapreduce/tsconfig.json | 3 +- types/pouchdb-node/tsconfig.json | 3 +- types/pouchdb-replication/tsconfig.json | 3 +- types/pouchdb-upsert/tsconfig.json | 3 +- types/pouchdb/tsconfig.json | 3 +- types/power-assert-formatter/tsconfig.json | 3 +- types/power-assert/tsconfig.json | 3 +- types/precise/tsconfig.json | 3 +- types/precond/tsconfig.json | 3 +- types/preloadjs/tsconfig.json | 3 +- types/prelude-ls/tsconfig.json | 3 +- types/prettier/tsconfig.json | 3 +- types/pretty-bytes/tsconfig.json | 3 +- types/pretty-format/tsconfig.json | 3 +- types/pretty-ms/tsconfig.json | 3 +- types/prettyjson/tsconfig.json | 3 +- types/printf/tsconfig.json | 3 +- types/priorityqueuejs/tsconfig.json | 3 +- types/prismjs/tsconfig.json | 3 +- types/private-ip/tsconfig.json | 3 +- types/procfs-stats/tsconfig.json | 3 +- types/progress/tsconfig.json | 3 +- types/progressbar/tsconfig.json | 3 +- types/progressjs/tsconfig.json | 3 +- types/proj4/tsconfig.json | 3 +- types/proj4leaflet/tsconfig.json | 3 +- types/project-oxford/tsconfig.json | 3 +- types/promise-dag/tsconfig.json | 3 +- types/promise-pg/tsconfig.json | 3 +- types/promise-polyfill/tsconfig.json | 3 +- types/promise-pool/tsconfig.json | 3 +- types/promise-queue/tsconfig.json | 3 +- types/promise-retry/tsconfig.json | 3 +- types/promise.prototype.finally/tsconfig.json | 3 +- types/promised-temp/tsconfig.json | 3 +- types/promisify-node/tsconfig.json | 3 +- types/promisify-supertest/tsconfig.json | 3 +- types/prompt-sync-history/tsconfig.json | 3 +- types/prompt-sync/tsconfig.json | 3 +- types/promptly/tsconfig.json | 3 +- types/prop-types/tsconfig.json | 1 - types/properties-reader/tsconfig.json | 3 +- types/prosemirror-collab/tsconfig.json | 3 +- types/prosemirror-commands/tsconfig.json | 3 +- types/prosemirror-gapcursor/tsconfig.json | 3 +- types/prosemirror-history/tsconfig.json | 3 +- types/prosemirror-inputrules/tsconfig.json | 3 +- types/prosemirror-keymap/tsconfig.json | 3 +- types/prosemirror-markdown/tsconfig.json | 3 +- types/prosemirror-menu/tsconfig.json | 3 +- types/prosemirror-model/tsconfig.json | 3 +- types/prosemirror-schema-basic/tsconfig.json | 3 +- types/prosemirror-schema-list/tsconfig.json | 3 +- types/prosemirror-state/tsconfig.json | 3 +- types/prosemirror-tables/tsconfig.json | 3 +- types/prosemirror-transform/tsconfig.json | 3 +- types/prosemirror-view/tsconfig.json | 3 +- types/protractor-browser-logs/tsconfig.json | 3 +- types/protractor-helpers/tsconfig.json | 3 +- types/protractor-http-mock/tsconfig.json | 3 +- types/provinces/tsconfig.json | 3 +- types/proxy-addr/tsconfig.json | 3 +- types/proxyquire/tsconfig.json | 3 +- types/pty.js/tsconfig.json | 3 +- types/public-ip/tsconfig.json | 3 +- types/pubnub/tsconfig.json | 3 +- types/pubsub-js/tsconfig.json | 3 +- types/pug/tsconfig.json | 3 +- types/pulltorefreshjs/tsconfig.json | 3 +- types/pump/tsconfig.json | 3 +- types/pupa/tsconfig.json | 3 +- types/puppeteer/tsconfig.json | 3 +- types/puppeteer/v0/tsconfig.json | 3 +- types/pure-render-decorator/tsconfig.json | 3 +- types/purl/tsconfig.json | 3 +- types/pusher-js/tsconfig.json | 3 +- types/pvutils/tsconfig.json | 3 +- types/python-shell/tsconfig.json | 3 +- types/q-io/tsconfig.json | 3 +- types/q-retry/tsconfig.json | 3 +- types/q/tsconfig.json | 3 +- types/q/v0/tsconfig.json | 3 +- types/qhistory/tsconfig.json | 3 +- types/qlik-engineapi/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/qlik/tsconfig.json | 3 +- types/qr-image/tsconfig.json | 3 +- types/qrcode.react/tsconfig.json | 3 +- types/qrcode/tsconfig.json | 3 +- types/qs/tsconfig.json | 3 +- types/qtip2/tsconfig.json | 3 +- types/query-string/tsconfig.json | 3 +- types/quick-lru/tsconfig.json | 3 +- types/quill/tsconfig.json | 3 +- types/quixote/tsconfig.json | 3 +- types/qunit/tsconfig.json | 3 +- types/qunit/v1/tsconfig.json | 3 +- types/quoted-printable/tsconfig.json | 3 +- types/qwest/tsconfig.json | 3 +- types/r-script/tsconfig.json | 3 +- types/rabbit.js/tsconfig.json | 3 +- types/ractive/tsconfig.json | 3 +- types/radium/tsconfig.json | 3 +- types/radius/tsconfig.json | 3 +- types/ramda/tsconfig.json | 5 +-- types/random-js/tsconfig.json | 3 +- types/random-seed/tsconfig.json | 3 +- types/random-string/tsconfig.json | 3 +- types/randomcolor/tsconfig.json | 3 +- types/randomstring/tsconfig.json | 3 +- types/range-parser/tsconfig.json | 3 +- types/rangy/tsconfig.json | 3 +- types/rangyinputs/tsconfig.json | 3 +- types/raphael/tsconfig.json | 3 +- types/rappid/tsconfig.json | 3 +- types/raspi-board/tsconfig.json | 3 +- types/raspi-gpio/tsconfig.json | 3 +- types/raspi-i2c/tsconfig.json | 3 +- types/raspi-led/tsconfig.json | 3 +- types/raspi-onewire/tsconfig.json | 3 +- types/raspi-peripheral/tsconfig.json | 3 +- types/raspi-pwm/tsconfig.json | 3 +- types/raspi-serial/tsconfig.json | 3 +- types/raspi-soft-pwm/tsconfig.json | 3 +- types/raspi/tsconfig.json | 3 +- types/ratelimiter/tsconfig.json | 3 +- types/raty/tsconfig.json | 3 +- types/raven-for-redux/tsconfig.json | 3 +- types/raven/tsconfig.json | 3 +- types/raygun4js/tsconfig.json | 3 +- types/rbac-a/tsconfig.json | 3 +- types/rbush/tsconfig.json | 3 +- types/rc-select/tsconfig.json | 3 +- types/rc-slider/tsconfig.json | 1 - types/rc-tooltip/tsconfig.json | 1 - types/rc-tree/tsconfig.json | 3 +- types/rc/tsconfig.json | 3 +- types/rcloader/tsconfig.json | 3 +- types/rdf-data-model/tsconfig.json | 3 +- types/rdf-js/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/react-addons-perf/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../tsconfig.json | 1 - types/react-addons-test-utils/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/react-addons-update/tsconfig.json | 3 +- types/react-alert/tsconfig.json | 1 - types/react-alice-carousel/tsconfig.json | 1 - types/react-app/tsconfig.json | 3 +- types/react-aria-menubutton/tsconfig.json | 3 +- types/react-autosuggest/tsconfig.json | 1 - types/react-beautiful-dnd/tsconfig.json | 3 +- types/react-big-calendar/tsconfig.json | 1 - types/react-body-classname/tsconfig.json | 3 +- .../react-bootstrap-date-picker/tsconfig.json | 1 - .../tsconfig.json | 3 +- types/react-bootstrap-table/tsconfig.json | 3 +- types/react-bootstrap-table/v2/tsconfig.json | 3 +- types/react-bootstrap-typeahead/tsconfig.json | 3 +- types/react-bootstrap/tsconfig.json | 1 - types/react-breadcrumbs-dynamic/tsconfig.json | 3 +- types/react-breadcrumbs/tsconfig.json | 1 - types/react-broadcast/tsconfig.json | 1 - types/react-burger-menu/tsconfig.json | 1 - types/react-bytesize-icons/tsconfig.json | 1 - types/react-calendar-heatmap/tsconfig.json | 1 - types/react-calendar-timeline/tsconfig.json | 1 - types/react-cartographer/tsconfig.json | 1 - types/react-click-outside/tsconfig.json | 3 +- types/react-codemirror/tsconfig.json | 1 - types/react-collapse/tsconfig.json | 3 +- types/react-color/tsconfig.json | 1 - types/react-confirm/tsconfig.json | 1 - types/react-content-loader/tsconfig.json | 3 +- types/react-copy-to-clipboard/tsconfig.json | 3 +- types/react-cropper/tsconfig.json | 3 +- types/react-css-modules/tsconfig.json | 1 - .../tsconfig.json | 1 - types/react-custom-scrollbars/tsconfig.json | 1 - .../react-custom-scrollbars/v3/tsconfig.json | 1 - types/react-data-grid/tsconfig.json | 3 +- types/react-data-grid/v1/tsconfig.json | 1 - types/react-datagrid/tsconfig.json | 3 +- types/react-date-range/tsconfig.json | 1 - types/react-datepicker/tsconfig.json | 1 - types/react-daterange-picker/tsconfig.json | 1 - types/react-dates/tsconfig.json | 3 +- types/react-daum-postcode/tsconfig.json | 3 +- types/react-dnd-html5-backend/tsconfig.json | 3 +- types/react-dnd-multi-backend/tsconfig.json | 1 - types/react-dnd-test-backend/tsconfig.json | 3 +- types/react-dnd-touch-backend/tsconfig.json | 3 +- types/react-dnd/tsconfig.json | 3 +- types/react-document-title/tsconfig.json | 1 - types/react-dom-factories/tsconfig.json | 3 +- types/react-dom/tsconfig.json | 1 - types/react-dom/v15/tsconfig.json | 3 +- types/react-dropzone/tsconfig.json | 3 +- types/react-dropzone/v2/tsconfig.json | 3 +- types/react-dropzone/v3/tsconfig.json | 3 +- types/react-dynamic-number/tsconfig.json | 1 - types/react-easy-chart/tsconfig.json | 3 +- types/react-event-listener/tsconfig.json | 3 +- types/react-fa/tsconfig.json | 3 +- types/react-facebook-login/tsconfig.json | 3 +- types/react-faux-dom/tsconfig.json | 1 - types/react-file-input/tsconfig.json | 1 - types/react-file-reader-input/tsconfig.json | 1 - types/react-flags-select/tsconfig.json | 3 +- types/react-flatpickr/tsconfig.json | 3 +- types/react-flex/tsconfig.json | 1 - types/react-flexr/tsconfig.json | 1 - types/react-fontawesome/tsconfig.json | 1 - types/react-form/tsconfig.json | 3 +- types/react-form/v1/tsconfig.json | 1 - types/react-foundation/tsconfig.json | 1 - types/react-geosuggest/tsconfig.json | 3 +- types/react-google-recaptcha/tsconfig.json | 3 +- types/react-gravatar/tsconfig.json | 3 +- types/react-grid-layout/tsconfig.json | 1 - types/react-hamburger-menu/tsconfig.json | 3 +- types/react-helmet/tsconfig.json | 3 +- types/react-helmet/v4/tsconfig.json | 3 +- types/react-highlight-words/tsconfig.json | 3 +- types/react-highlighter/tsconfig.json | 1 - types/react-holder/tsconfig.json | 3 +- types/react-hot-loader/tsconfig.json | 3 +- types/react-hyperscript/tsconfig.json | 3 +- types/react-i18next/tsconfig.json | 1 - types/react-i18next/v1/tsconfig.json | 1 - types/react-i18next/v4/tsconfig.json | 1 - types/react-icon-base/tsconfig.json | 1 - types/react-icons/tsconfig.json | 1 - types/react-image-gallery/tsconfig.json | 3 +- types/react-imageloader/tsconfig.json | 1 - types/react-infinite-scroller/tsconfig.json | 3 +- types/react-infinite/tsconfig.json | 3 +- types/react-input-calendar/tsconfig.json | 3 +- types/react-input-mask/tsconfig.json | 3 +- types/react-intl-redux/tsconfig.json | 1 - types/react-intl/tsconfig.json | 3 +- types/react-intl/v1/tsconfig.json | 1 - types/react-is-deprecated/tsconfig.json | 1 - types/react-joyride/tsconfig.json | 3 +- types/react-json-pretty/tsconfig.json | 3 +- types/react-json-tree/tsconfig.json | 1 - types/react-json/tsconfig.json | 1 - types/react-jsonschema-form/tsconfig.json | 1 - types/react-lazyload/tsconfig.json | 1 - types/react-leaflet/tsconfig.json | 3 +- types/react-list/tsconfig.json | 1 - types/react-loadable/tsconfig.json | 3 +- types/react-loader/tsconfig.json | 3 +- types/react-maskedinput/tsconfig.json | 1 - types/react-mce/tsconfig.json | 3 +- types/react-mdl/tsconfig.json | 3 +- types/react-measure/tsconfig.json | 3 +- types/react-mixin/tsconfig.json | 3 +- types/react-modal/tsconfig.json | 3 +- types/react-monaco-editor/tsconfig.json | 1 - types/react-motion-slider/tsconfig.json | 1 - types/react-motion/tsconfig.json | 3 +- types/react-native-collapsible/tsconfig.json | 1 - .../react-native-communications/tsconfig.json | 1 - types/react-native-datepicker/tsconfig.json | 1 - types/react-native-doc-viewer/tsconfig.json | 1 - .../tsconfig.json | 1 - .../react-native-drawer-layout/tsconfig.json | 1 - types/react-native-drawer/tsconfig.json | 1 - types/react-native-fabric/tsconfig.json | 3 +- types/react-native-fbsdk/tsconfig.json | 1 - types/react-native-fetch-blob/tsconfig.json | 3 +- types/react-native-fs/tsconfig.json | 3 +- .../react-native-google-signin/tsconfig.json | 1 - types/react-native-keep-awake/tsconfig.json | 1 - .../tsconfig.json | 1 - .../tsconfig.json | 1 - types/react-native-material-kit/tsconfig.json | 1 - types/react-native-material-ui/tsconfig.json | 1 - types/react-native-mixpanel/tsconfig.json | 1 - types/react-native-modalbox/tsconfig.json | 1 - types/react-native-navigation/tsconfig.json | 1 - types/react-native-orientation/tsconfig.json | 3 +- types/react-native-popup-dialog/tsconfig.json | 1 - .../tsconfig.json | 1 - types/react-native-qrcode/tsconfig.json | 1 - types/react-native-safari-view/tsconfig.json | 1 - .../tsconfig.json | 1 - .../react-native-sensor-manager/tsconfig.json | 3 +- .../react-native-snap-carousel/tsconfig.json | 1 - .../react-native-sortable-grid/tsconfig.json | 3 +- .../react-native-sortable-list/tsconfig.json | 1 - types/react-native-svg-uri/tsconfig.json | 1 - types/react-native-swiper/tsconfig.json | 1 - .../react-native-tab-navigator/tsconfig.json | 1 - types/react-native-tab-view/tsconfig.json | 3 +- types/react-native-touch-id/tsconfig.json | 3 +- types/react-native-vector-icons/tsconfig.json | 1 - types/react-native-video/tsconfig.json | 1 - types/react-native/tsconfig.json | 3 +- types/react-navigation/tsconfig.json | 3 +- .../tsconfig.json | 1 - types/react-notification-system/tsconfig.json | 1 - types/react-numeric-input/tsconfig.json | 3 +- types/react-onclickoutside/tsconfig.json | 1 - types/react-onclickoutside/v5/tsconfig.json | 1 - types/react-onsenui/tsconfig.json | 1 - types/react-overlays/tsconfig.json | 1 - types/react-paginate/tsconfig.json | 1 - types/react-pointable/tsconfig.json | 3 +- types/react-portal/tsconfig.json | 1 - types/react-props-decorators/tsconfig.json | 3 +- types/react-recaptcha/tsconfig.json | 3 +- types/react-redux-i18n/tsconfig.json | 1 - types/react-redux-toastr/tsconfig.json | 3 +- types/react-redux/tsconfig.json | 3 +- types/react-relay/tsconfig.json | 1 - types/react-resolver/tsconfig.json | 1 - types/react-responsive/tsconfig.json | 1 - types/react-responsive/v1/tsconfig.json | 1 - types/react-router-bootstrap/tsconfig.json | 3 +- types/react-router-config/tsconfig.json | 1 - types/react-router-dom/tsconfig.json | 1 - types/react-router-native/tsconfig.json | 1 - .../tsconfig.json | 1 - types/react-router-navigation/tsconfig.json | 1 - types/react-router-redux/tsconfig.json | 3 +- types/react-router-redux/v3/tsconfig.json | 3 +- types/react-router-redux/v4/tsconfig.json | 3 +- types/react-router/tsconfig.json | 1 - types/react-router/v2/tsconfig.json | 3 +- types/react-router/v3/tsconfig.json | 3 +- types/react-s-alert/tsconfig.json | 3 +- types/react-scroll/tsconfig.json | 3 +- types/react-scrollbar/tsconfig.json | 3 +- types/react-select/tsconfig.json | 3 +- types/react-side-effect/tsconfig.json | 3 +- types/react-sidebar/tsconfig.json | 3 +- types/react-sketchapp/tsconfig.json | 1 - types/react-slick/tsconfig.json | 3 +- types/react-smooth-scrollbar/tsconfig.json | 3 +- types/react-sortable-hoc/tsconfig.json | 3 +- types/react-sortable-pane/tsconfig.json | 1 - types/react-sortable-tree/tsconfig.json | 3 +- types/react-spinkit/tsconfig.json | 3 +- types/react-spinkit/v1/tsconfig.json | 3 +- types/react-sticky/tsconfig.json | 3 +- types/react-stripe-elements/tsconfig.json | 3 +- types/react-svg-pan-zoom/tsconfig.json | 3 +- types/react-swf/tsconfig.json | 3 +- types/react-swipe/tsconfig.json | 3 +- types/react-swipeable-views/tsconfig.json | 3 +- types/react-swipeable/tsconfig.json | 1 - types/react-syntax-highlighter/tsconfig.json | 1 - types/react-table/tsconfig.json | 3 +- types/react-tabs/tsconfig.json | 3 +- types/react-tag-input/tsconfig.json | 3 +- types/react-tagcloud/tsconfig.json | 3 +- types/react-tagsinput/tsconfig.json | 1 - types/react-tap-event-plugin/tsconfig.json | 3 +- types/react-test-renderer/tsconfig.json | 3 +- types/react-test-renderer/v15/tsconfig.json | 3 +- types/react-tether/tsconfig.json | 3 +- types/react-textarea-autosize/tsconfig.json | 1 - types/react-toastr/tsconfig.json | 1 - types/react-toggle/tsconfig.json | 1 - types/react-toggle/v2/tsconfig.json | 1 - types/react-tooltip/tsconfig.json | 3 +- types/react-touch/tsconfig.json | 3 +- types/react-tracking/tsconfig.json | 1 - types/react-transition-group/tsconfig.json | 3 +- types/react-transition-group/v1/tsconfig.json | 3 +- types/react-treeview/tsconfig.json | 3 +- types/react-truncate/tsconfig.json | 3 +- types/react-user-tour/tsconfig.json | 1 - types/react-virtual-keyboard/tsconfig.json | 3 +- types/react-virtualized-select/tsconfig.json | 3 +- types/react-virtualized/tsconfig.json | 3 +- types/react-weui/tsconfig.json | 3 +- types/react-widgets-moment/tsconfig.json | 3 +- types/react-widgets/tsconfig.json | 5 +-- types/react-youtube/tsconfig.json | 3 +- types/react/tsconfig.json | 1 - types/react/v15/tsconfig.json | 1 - types/reactable/tsconfig.json | 1 - types/reactcss/tsconfig.json | 1 - types/reactstrap/tsconfig.json | 3 +- types/reactstrap/v4/tsconfig.json | 3 +- types/read-chunk/tsconfig.json | 3 +- types/read-package-tree/tsconfig.json | 3 +- types/read-pkg-up/tsconfig.json | 3 +- types/read-pkg/tsconfig.json | 3 +- types/read/tsconfig.json | 3 +- types/readdir-enhanced/tsconfig.json | 3 +- types/readdir-stream/tsconfig.json | 3 +- types/readline-sync/tsconfig.json | 3 +- types/readline-transform/tsconfig.json | 3 +- types/reapop/tsconfig.json | 1 - types/rebass/tsconfig.json | 3 +- types/recase/tsconfig.json | 3 +- types/recharts/tsconfig.json | 3 +- types/recompose/tsconfig.json | 1 - types/reconnectingwebsocket/tsconfig.json | 3 +- types/recursive-readdir/tsconfig.json | 3 +- types/recursive-readdir/v1/tsconfig.json | 3 +- types/redis-errors/tsconfig.json | 3 +- types/redis-mock/tsconfig.json | 3 +- types/redis-rate-limiter/tsconfig.json | 3 +- types/redis-scripto/tsconfig.json | 3 +- types/redis/tsconfig.json | 3 +- types/redlock/tsconfig.json | 3 +- types/redlock/v2/tsconfig.json | 3 +- types/redom/tsconfig.json | 3 +- types/reduce-reducers/tsconfig.json | 3 +- types/redux-action-utils/tsconfig.json | 3 +- types/redux-action/tsconfig.json | 3 +- types/redux-actions/tsconfig.json | 3 +- types/redux-auth-wrapper/tsconfig.json | 1 - types/redux-auth-wrapper/v1/tsconfig.json | 1 - types/redux-batched-subscribe/tsconfig.json | 3 +- types/redux-debounced/tsconfig.json | 3 +- .../redux-devtools-dock-monitor/tsconfig.json | 3 +- .../redux-devtools-log-monitor/tsconfig.json | 3 +- types/redux-devtools/tsconfig.json | 3 +- types/redux-doghouse/tsconfig.json | 3 +- types/redux-first-router-link/tsconfig.json | 1 - types/redux-first-router/tsconfig.json | 3 +- types/redux-form/tsconfig.json | 3 +- types/redux-form/v4/tsconfig.json | 1 - types/redux-form/v6/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/redux-immutable/tsconfig.json | 3 +- types/redux-infinite-scroll/tsconfig.json | 3 +- types/redux-injectable-store/tsconfig.json | 3 +- types/redux-little-router/tsconfig.json | 5 +-- .../redux-localstorage-debounce/tsconfig.json | 3 +- types/redux-localstorage-filter/tsconfig.json | 3 +- types/redux-localstorage/tsconfig.json | 3 +- types/redux-logger/tsconfig.json | 3 +- types/redux-mock-store/tsconfig.json | 3 +- types/redux-optimistic-ui/tsconfig.json | 3 +- types/redux-pack/tsconfig.json | 3 +- .../tsconfig.json | 1 - .../tsconfig.json | 1 - types/redux-promise-middleware/tsconfig.json | 3 +- types/redux-promise/tsconfig.json | 3 +- types/redux-recycle/tsconfig.json | 3 +- types/redux-router/tsconfig.json | 3 +- types/redux-socket.io/tsconfig.json | 3 +- .../redux-storage-engine-jsurl/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/redux-storage/tsconfig.json | 3 +- types/redux-ui/tsconfig.json | 1 - types/ref-array/tsconfig.json | 3 +- types/ref-struct/tsconfig.json | 3 +- types/ref-union/tsconfig.json | 3 +- types/ref/tsconfig.json | 3 +- types/reflux/tsconfig.json | 3 +- types/relateurl/tsconfig.json | 3 +- types/relaxed-json/tsconfig.json | 3 +- types/relay-runtime/tsconfig.json | 3 +- types/remarkable/tsconfig.json | 2 +- types/remote-redux-devtools/tsconfig.json | 3 +- types/remove-markdown/tsconfig.json | 3 +- types/replace-ext/tsconfig.json | 3 +- types/request-ip/tsconfig.json | 3 +- types/request-promise-native/tsconfig.json | 3 +- types/request-promise/tsconfig.json | 3 +- types/request/tsconfig.json | 3 +- types/requestretry/tsconfig.json | 3 +- types/require-dir/tsconfig.json | 3 +- types/require-directory/tsconfig.json | 3 +- types/require-from-string/tsconfig.json | 3 +- types/require-relative/tsconfig.json | 3 +- types/requirejs-domready/tsconfig.json | 3 +- types/requirejs/tsconfig.json | 3 +- types/resemblejs/tsconfig.json | 3 +- types/reservoir/tsconfig.json | 5 +-- types/resolve-from/tsconfig.json | 3 +- types/resolve/tsconfig.json | 3 +- types/resourcejs/tsconfig.json | 3 +- types/response-time/tsconfig.json | 3 +- types/rest/tsconfig.json | 3 +- types/restangular/tsconfig.json | 3 +- types/restful.js/tsconfig.json | 3 +- types/restify-cookies/tsconfig.json | 3 +- types/restify-cors-middleware/tsconfig.json | 3 +- types/restify-errors/tsconfig.json | 3 +- types/restify-plugins/tsconfig.json | 3 +- types/restify/tsconfig.json | 3 +- types/restify/v4/tsconfig.json | 3 +- types/restler/tsconfig.json | 3 +- types/restling/tsconfig.json | 3 +- types/resumablejs/tsconfig.json | 3 +- types/rethinkdb/tsconfig.json | 3 +- types/retry/tsconfig.json | 3 +- types/rev-hash/tsconfig.json | 3 +- types/revalidate/tsconfig.json | 3 +- types/revalidator/tsconfig.json | 3 +- types/reveal/tsconfig.json | 3 +- types/rewire/tsconfig.json | 3 +- types/rfc2047/tsconfig.json | 3 +- types/rheostat/tsconfig.json | 3 +- types/rickshaw/tsconfig.json | 3 +- types/rimraf/tsconfig.json | 3 +- types/riot-api-nodejs/tsconfig.json | 3 +- types/riot-games-api/tsconfig.json | 3 +- types/riot/tsconfig.json | 3 +- types/riotcontrol/tsconfig.json | 3 +- types/riotjs/tsconfig.json | 3 +- types/rison/tsconfig.json | 3 +- types/rivets/tsconfig.json | 3 +- types/rollup-plugin-json/tsconfig.json | 3 +- types/ronomon__crypto-async/tsconfig.json | 3 +- types/rosie/tsconfig.json | 3 +- types/roslib/tsconfig.json | 3 +- types/rot-js/tsconfig.json | 3 +- types/route-parser/tsconfig.json | 3 +- types/routie/tsconfig.json | 3 +- types/royalslider/tsconfig.json | 3 +- types/rpio/tsconfig.json | 3 +- types/rrc/tsconfig.json | 3 +- types/rrule/tsconfig.json | 3 +- types/rsmq-worker/tsconfig.json | 3 +- types/rsmq/tsconfig.json | 3 +- types/rss/tsconfig.json | 3 +- types/rsvp/tsconfig.json | 3 +- types/rsync/tsconfig.json | 3 +- types/rtree/tsconfig.json | 3 +- types/run-sequence/tsconfig.json | 3 +- types/rwlock/tsconfig.json | 3 +- types/rx-angular/tsconfig.json | 3 +- types/rx-core-binding/tsconfig.json | 3 +- types/rx-core/tsconfig.json | 3 +- types/rx-dom/tsconfig.json | 3 +- types/rx-jquery/tsconfig.json | 3 +- types/rx-lite-aggregates/tsconfig.json | 3 +- types/rx-lite-async/tsconfig.json | 3 +- types/rx-lite-backpressure/tsconfig.json | 3 +- types/rx-lite-coincidence/tsconfig.json | 3 +- types/rx-lite-experimental/tsconfig.json | 3 +- types/rx-lite-joinpatterns/tsconfig.json | 3 +- types/rx-lite-testing/tsconfig.json | 3 +- types/rx-lite-time/tsconfig.json | 3 +- types/rx-lite-virtualtime/tsconfig.json | 3 +- types/rx-lite/tsconfig.json | 3 +- types/rx-node/tsconfig.json | 3 +- types/rx.wamp/tsconfig.json | 3 +- types/rx/tsconfig.json | 3 +- types/s3-download-stream/tsconfig.json | 2 +- types/s3-upload-stream/tsconfig.json | 3 +- types/s3-uploader/tsconfig.json | 3 +- types/s3rver/tsconfig.json | 3 +- types/safari-extension-content/tsconfig.json | 3 +- types/safari-extension/tsconfig.json | 3 +- types/safe-compare/tsconfig.json | 3 +- types/safe-json-stringify/tsconfig.json | 3 +- types/safe-regex/tsconfig.json | 3 +- types/sails.io.js/tsconfig.json | 3 +- types/saml2-js/tsconfig.json | 3 +- types/saml20/tsconfig.json | 3 +- types/samlp/tsconfig.json | 3 +- types/sammy/tsconfig.json | 3 +- types/sanctuary/tsconfig.json | 3 +- types/sandboxed-module/tsconfig.json | 3 +- types/sane/tsconfig.json | 3 +- types/sanitize-filename/tsconfig.json | 3 +- types/sanitize-html/tsconfig.json | 3 +- types/sanitizer/tsconfig.json | 3 +- types/sap__xsenv/tsconfig.json | 3 +- types/sass-graph/tsconfig.json | 3 +- types/sat/tsconfig.json | 3 +- types/satnav/tsconfig.json | 3 +- types/sax/tsconfig.json | 3 +- types/saywhen/tsconfig.json | 1 - types/scalike/tsconfig.json | 3 +- types/screenfull/tsconfig.json | 3 +- types/screeps-profiler/tsconfig.json | 3 +- types/screeps/tsconfig.json | 3 +- types/scriptjs/tsconfig.json | 3 +- types/scroll-into-view/tsconfig.json | 3 +- types/scroller/tsconfig.json | 3 +- types/scrollreveal/tsconfig.json | 3 +- types/scrolltofixed/tsconfig.json | 3 +- types/scrypt-async/tsconfig.json | 3 +- types/scryptsy/tsconfig.json | 3 +- types/seamless-immutable/tsconfig.json | 3 +- types/seamless/tsconfig.json | 3 +- types/seedrandom/tsconfig.json | 3 +- types/segment-analytics/tsconfig.json | 3 +- types/select2/tsconfig.json | 3 +- types/selectables/tsconfig.json | 3 +- types/selectize/tsconfig.json | 3 +- types/selenium-webdriver/tsconfig.json | 3 +- types/selenium-webdriver/v2/tsconfig.json | 3 +- types/semantic-ui-accordion/tsconfig.json | 3 +- types/semantic-ui-api/tsconfig.json | 3 +- types/semantic-ui-checkbox/tsconfig.json | 3 +- types/semantic-ui-dimmer/tsconfig.json | 3 +- types/semantic-ui-dropdown/tsconfig.json | 3 +- types/semantic-ui-embed/tsconfig.json | 3 +- types/semantic-ui-form/tsconfig.json | 3 +- types/semantic-ui-modal/tsconfig.json | 3 +- types/semantic-ui-nag/tsconfig.json | 3 +- types/semantic-ui-popup/tsconfig.json | 3 +- types/semantic-ui-progress/tsconfig.json | 3 +- types/semantic-ui-rating/tsconfig.json | 3 +- types/semantic-ui-search/tsconfig.json | 3 +- types/semantic-ui-shape/tsconfig.json | 3 +- types/semantic-ui-sidebar/tsconfig.json | 3 +- types/semantic-ui-site/tsconfig.json | 3 +- types/semantic-ui-sticky/tsconfig.json | 3 +- types/semantic-ui-tab/tsconfig.json | 3 +- types/semantic-ui-transition/tsconfig.json | 3 +- types/semantic-ui-visibility/tsconfig.json | 3 +- types/semantic-ui/tsconfig.json | 3 +- types/semaphore/tsconfig.json | 3 +- types/semver-compare/tsconfig.json | 3 +- types/semver-diff/tsconfig.json | 3 +- types/semver/tsconfig.json | 3 +- types/sencha_touch/tsconfig.json | 3 +- types/send/tsconfig.json | 3 +- types/seneca/tsconfig.json | 3 +- types/sequelize-fixtures/tsconfig.json | 3 +- types/sequelize/tsconfig.json | 3 +- types/sequelize/v3/tsconfig.json | 3 +- types/sequencify/tsconfig.json | 3 +- types/sequester/tsconfig.json | 3 +- types/serialize-javascript/tsconfig.json | 3 +- types/serialport/tsconfig.json | 3 +- types/serialport/v4/tsconfig.json | 3 +- types/serve-favicon/tsconfig.json | 3 +- types/serve-index/tsconfig.json | 3 +- types/serve-static/tsconfig.json | 3 +- types/server-destroy/tsconfig.json | 3 +- types/session-file-store/tsconfig.json | 3 +- types/set-cookie-parser/tsconfig.json | 3 +- types/sha1/tsconfig.json | 3 +- types/shallowequal/tsconfig.json | 3 +- types/shapefile/tsconfig.json | 3 +- types/sharedworker/tsconfig.json | 3 +- types/sharepoint/tsconfig.json | 3 +- types/sharp/tsconfig.json | 3 +- types/sheetify/tsconfig.json | 3 +- types/shell-escape/tsconfig.json | 3 +- types/shell-quote/tsconfig.json | 3 +- types/shelljs/tsconfig.json | 3 +- types/shimmer/tsconfig.json | 3 +- types/shipit-utils/tsconfig.json | 3 +- types/shipit/tsconfig.json | 3 +- types/shopify-buy/tsconfig.json | 3 +- types/shortid/tsconfig.json | 3 +- types/shot/tsconfig.json | 3 +- types/should-sinon/tsconfig.json | 5 +-- types/showdown/tsconfig.json | 3 +- types/shrink-ray/tsconfig.json | 3 +- types/shuffle-array/tsconfig.json | 3 +- types/siema/tsconfig.json | 3 +- types/siesta/tsconfig.json | 3 +- types/sigmajs/tsconfig.json | 3 +- types/sigmund/tsconfig.json | 3 +- types/signalr-no-jquery/tsconfig.json | 3 +- types/signalr/tsconfig.json | 3 +- types/signalr/v1/tsconfig.json | 3 +- types/signals/tsconfig.json | 3 +- types/signature_pad/tsconfig.json | 3 +- types/simple-assign/tsconfig.json | 3 +- types/simple-cw-node/tsconfig.json | 3 +- types/simple-lru/tsconfig.json | 3 +- types/simple-mock/tsconfig.json | 3 +- types/simple-oauth2/tsconfig.json | 3 +- types/simple-peer/tsconfig.json | 3 +- types/simple-url-cache/tsconfig.json | 3 +- types/simple-xml/tsconfig.json | 3 +- types/simplebar/tsconfig.json | 3 +- types/simplebar/v1/tsconfig.json | 3 +- types/simplemde/tsconfig.json | 3 +- types/simplesmtp/tsconfig.json | 3 +- types/simplestorage.js/tsconfig.json | 3 +- types/sinon-as-promised/tsconfig.json | 3 +- types/sinon-chai/tsconfig.json | 3 +- types/sinon-chrome/tsconfig.json | 3 +- types/sinon-express-mock/tsconfig.json | 3 +- types/sinon-mongoose/tsconfig.json | 3 +- types/sinon-stub-promise/tsconfig.json | 3 +- types/sinon-test/tsconfig.json | 3 +- types/sinon/tsconfig.json | 3 +- types/sip.js/tsconfig.json | 3 +- types/sipml/tsconfig.json | 3 +- types/sitemap2/tsconfig.json | 3 +- types/sizzle/tsconfig.json | 3 +- types/sjcl/tsconfig.json | 3 +- types/skatejs/tsconfig.json | 1 - types/ski/tsconfig.json | 3 +- types/skyway/tsconfig.json | 3 +- types/slack-node/tsconfig.json | 3 +- types/slack-winston/tsconfig.json | 3 +- types/slackify-html/tsconfig.json | 3 +- types/slate-irc/tsconfig.json | 3 +- types/sleep/tsconfig.json | 3 +- types/slick-carousel/tsconfig.json | 3 +- types/slickgrid/tsconfig.json | 3 +- types/slideout/tsconfig.json | 3 +- types/slimerjs/tsconfig.json | 3 +- types/slocket/tsconfig.json | 3 +- types/slug/tsconfig.json | 3 +- types/smart-fox-server/tsconfig.json | 3 +- types/smoothscroll-polyfill/tsconfig.json | 3 +- types/smtp-server/tsconfig.json | 3 +- types/smtp-server/v1/tsconfig.json | 3 +- types/smtpapi/tsconfig.json | 3 +- types/snapsvg/tsconfig.json | 3 +- types/snazzy-info-window/tsconfig.json | 3 +- types/snekfetch/tsconfig.json | 3 +- types/snoowrap/tsconfig.json | 1 - types/snowboy/tsconfig.json | 3 +- types/socket.io-client/tsconfig.json | 3 +- types/socket.io-parser/tsconfig.json | 3 +- types/socket.io-redis/tsconfig.json | 3 +- types/socket.io.users/tsconfig.json | 3 +- types/socket.io/tsconfig.json | 3 +- types/socketio-jwt-auth/tsconfig.json | 1 - types/socketio-wildcard/tsconfig.json | 3 +- types/socketty/tsconfig.json | 3 +- types/sockjs-client/tsconfig.json | 3 +- types/sockjs/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/sort-array/tsconfig.json | 3 +- types/sortablejs/tsconfig.json | 3 +- types/soundjs/tsconfig.json | 3 +- types/soundmanager2/tsconfig.json | 3 +- types/source-list-map/tsconfig.json | 3 +- types/source-map-support/tsconfig.json | 3 +- types/space-pen/tsconfig.json | 3 +- types/spark-md5/tsconfig.json | 3 +- types/sparkly/tsconfig.json | 3 +- types/sparkpost/tsconfig.json | 3 +- types/sparkpost/v1/tsconfig.json | 3 +- types/sparqljs/tsconfig.json | 3 +- types/spatialite/tsconfig.json | 3 +- types/spdx-correct/tsconfig.json | 3 +- types/spdx-satisfies/tsconfig.json | 3 +- types/spdy/tsconfig.json | 3 +- types/speakeasy/tsconfig.json | 3 +- types/speakingurl/tsconfig.json | 3 +- types/spectacle/tsconfig.json | 1 - types/spectrum/tsconfig.json | 3 +- types/split.js/tsconfig.json | 3 +- types/split/tsconfig.json | 3 +- types/split2/tsconfig.json | 3 +- types/spotify-api/tsconfig.json | 3 +- types/spotify-web-playback-sdk/tsconfig.json | 3 +- types/sprintf-js/tsconfig.json | 3 +- types/sprintf/tsconfig.json | 3 +- types/sql.js/tsconfig.json | 3 +- types/sqlite3/tsconfig.json | 3 +- types/sqlstring/tsconfig.json | 3 +- types/sqs-consumer/tsconfig.json | 3 +- types/sqs-producer/tsconfig.json | 3 +- types/squirejs/tsconfig.json | 3 +- types/srp/tsconfig.json | 3 +- types/ssh-key-decrypt/tsconfig.json | 3 +- types/ssh2-sftp-client/tsconfig.json | 3 +- types/ssh2-streams/tsconfig.json | 3 +- types/ssh2/tsconfig.json | 3 +- types/sshpk/tsconfig.json | 3 +- types/stack-mapper/tsconfig.json | 3 +- types/stack-trace/tsconfig.json | 3 +- types/stack-utils/tsconfig.json | 3 +- types/stacktrace-js/tsconfig.json | 3 +- types/stale-lru-cache/tsconfig.json | 3 +- types/stampit/tsconfig.json | 3 +- types/stamplay-js-sdk/tsconfig.json | 3 +- types/stat-mode/tsconfig.json | 3 +- types/static-eval/tsconfig.json | 3 +- types/stats.js/tsconfig.json | 3 +- types/statsd-client/tsconfig.json | 3 +- types/statuses/tsconfig.json | 3 +- types/std-mocks/tsconfig.json | 3 +- types/steam/tsconfig.json | 3 +- types/steed/tsconfig.json | 3 +- types/stemmer/tsconfig.json | 3 +- types/sticky-cluster/tsconfig.json | 3 +- types/stompjs/tsconfig.json | 3 +- types/stoppable/tsconfig.json | 3 +- types/storejs/tsconfig.json | 3 +- types/storejs/v1/tsconfig.json | 3 +- types/storybook__addon-a11y/tsconfig.json | 3 +- types/storybook__addon-actions/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/storybook__addon-info/tsconfig.json | 3 +- types/storybook__addon-knobs/tsconfig.json | 3 +- types/storybook__addon-links/tsconfig.json | 3 +- types/storybook__addon-notes/tsconfig.json | 3 +- types/storybook__addon-options/tsconfig.json | 3 +- types/storybook__react/tsconfig.json | 3 +- types/storybook__vue/tsconfig.json | 3 +- types/stream-buffers/tsconfig.json | 3 +- types/stream-meter/tsconfig.json | 3 +- types/stream-series/tsconfig.json | 3 +- types/stream-to-array/tsconfig.json | 3 +- types/stream-to-array/v0/tsconfig.json | 3 +- types/streaming-json-stringify/tsconfig.json | 3 +- types/streamjs/tsconfig.json | 3 +- types/strftime/tsconfig.json | 3 +- types/string-hash/tsconfig.json | 3 +- types/string-similarity/tsconfig.json | 3 +- types/string-template/tsconfig.json | 3 +- types/string/tsconfig.json | 3 +- types/string_score/tsconfig.json | 3 +- types/stringify-object/tsconfig.json | 3 +- types/strip-ansi/tsconfig.json | 3 +- types/strip-bom/tsconfig.json | 3 +- types/strip-json-comments/tsconfig.json | 3 +- types/stripe-checkout/tsconfig.json | 3 +- types/stripe-v2/tsconfig.json | 3 +- types/stripe-v3/tsconfig.json | 3 +- types/stripe/tsconfig.json | 3 +- types/strong-cluster-control/tsconfig.json | 3 +- types/strophe/tsconfig.json | 3 +- types/styled-jsx/tsconfig.json | 1 - types/stylelint-webpack-plugin/tsconfig.json | 3 +- types/stylelint/tsconfig.json | 3 +- types/stylus/tsconfig.json | 3 +- types/subsume/tsconfig.json | 3 +- types/succinct/tsconfig.json | 3 +- types/sudo-block/tsconfig.json | 3 +- types/suitescript/tsconfig.json | 3 +- types/sumo-logger/tsconfig.json | 3 +- types/superagent-no-cache/tsconfig.json | 3 +- types/superagent-prefix/tsconfig.json | 3 +- types/superagent/tsconfig.json | 3 +- types/superagent/v2/tsconfig.json | 3 +- types/supercluster/tsconfig.json | 3 +- types/supertest-as-promised/tsconfig.json | 3 +- types/supertest/tsconfig.json | 3 +- types/supports-color/tsconfig.json | 3 +- types/svg-injector/tsconfig.json | 3 +- types/svg-parser/tsconfig.json | 3 +- types/svg-sprite/tsconfig.json | 3 +- types/svg2png/tsconfig.json | 3 +- types/svg4everybody/tsconfig.json | 3 +- types/svgjs.draggable/tsconfig.json | 3 +- types/svgjs.resize/tsconfig.json | 3 +- types/svgo/tsconfig.json | 3 +- types/swag/tsconfig.json | 3 +- .../swagger-express-middleware/tsconfig.json | 3 +- types/swagger-express-mw/tsconfig.json | 13 +++--- types/swagger-hapi/tsconfig.json | 13 +++--- types/swagger-jsdoc/tsconfig.json | 3 +- types/swagger-node-runner/tsconfig.json | 13 +++--- types/swagger-parser/tsconfig.json | 3 +- types/swagger-restify-mw/tsconfig.json | 13 +++--- types/swagger-sails-hook/tsconfig.json | 13 +++--- types/swagger-schema-official/tsconfig.json | 3 +- types/swagger-tools/tsconfig.json | 3 +- types/swaggerize-express/tsconfig.json | 3 +- types/swfobject/tsconfig.json | 3 +- types/swiftclick/tsconfig.json | 3 +- types/swig-email-templates/tsconfig.json | 3 +- types/swig/tsconfig.json | 3 +- types/swipe/tsconfig.json | 3 +- types/swiper/tsconfig.json | 3 +- types/swiper/v2/tsconfig.json | 3 +- types/swipeview/tsconfig.json | 3 +- types/switchery/tsconfig.json | 3 +- types/swiz/tsconfig.json | 3 +- types/sylvester/tsconfig.json | 3 +- types/synaptic/tsconfig.json | 3 +- types/systeminformation/tsconfig.json | 3 +- types/systemjs/tsconfig.json | 3 +- types/table/tsconfig.json | 3 +- types/tabris-plugin-firebase/tsconfig.json | 3 +- types/tabtab/tsconfig.json | 3 +- types/tabulator/tsconfig.json | 3 +- types/tapable/tsconfig.json | 3 +- types/tape/tsconfig.json | 3 +- types/tar-fs/tsconfig.json | 3 +- types/tar/tsconfig.json | 3 +- types/tcp-ping/tsconfig.json | 3 +- types/tea-merge/tsconfig.json | 3 +- types/tedious-connection-pool/tsconfig.json | 3 +- types/tedious/tsconfig.json | 3 +- types/teechart/tsconfig.json | 3 +- types/telebot/tsconfig.json | 3 +- types/temp-fs/tsconfig.json | 3 +- types/temp-write/tsconfig.json | 3 +- types/temp/tsconfig.json | 3 +- types/tempfile/tsconfig.json | 3 +- types/tempy/tsconfig.json | 3 +- types/terminal-menu/tsconfig.json | 3 +- types/tesseract.js/tsconfig.json | 3 +- types/testingbot-api/tsconfig.json | 3 +- types/tether-drop/tsconfig.json | 3 +- types/tether-shepherd/tsconfig.json | 3 +- types/tether/tsconfig.json | 3 +- types/text-buffer/tsconfig.json | 3 +- types/text-encoding-utf-8/tsconfig.json | 3 +- types/text-encoding/tsconfig.json | 3 +- types/three/tsconfig.json | 3 +- types/thrift/tsconfig.json | 3 +- types/throng/tsconfig.json | 3 +- types/throttle-debounce/tsconfig.json | 3 +- types/throttle/tsconfig.json | 3 +- types/through/tsconfig.json | 3 +- types/through2-map/tsconfig.json | 3 +- types/through2/tsconfig.json | 3 +- types/through2/v0/tsconfig.json | 3 +- types/tile-reduce/tsconfig.json | 3 +- types/tilebelt/tsconfig.json | 3 +- types/time-span/tsconfig.json | 3 +- types/timelinejs/tsconfig.json | 3 +- types/timelinejs3/tsconfig.json | 3 +- types/timer-machine/tsconfig.json | 3 +- types/timezone-js/tsconfig.json | 3 +- types/tinder/tsconfig.json | 3 +- types/tinycolor2/tsconfig.json | 3 +- types/tinycopy/tsconfig.json | 3 +- types/tinymce/tsconfig.json | 3 +- types/titanium/tsconfig.json | 3 +- types/title/tsconfig.json | 3 +- types/tldjs/tsconfig.json | 3 +- types/tmp/tsconfig.json | 3 +- types/to-absolute-glob/tsconfig.json | 3 +- types/to-camel-case/tsconfig.json | 3 +- types/to-markdown/tsconfig.json | 3 +- types/to-title-case-gouch/tsconfig.json | 3 +- types/toastr/tsconfig.json | 3 +- types/tocktimer/tsconfig.json | 3 +- types/tooltipster/tsconfig.json | 3 +- types/topojson/tsconfig.json | 3 +- types/torrent-stream/tsconfig.json | 3 +- types/touch-events/tsconfig.json | 3 +- types/touch/tsconfig.json | 3 +- types/tough-cookie/tsconfig.json | 3 +- types/traceback/tsconfig.json | 3 +- types/tracking/tsconfig.json | 3 +- types/transducers-js/tsconfig.json | 3 +- types/transducers.js/tsconfig.json | 3 +- types/trash/tsconfig.json | 3 +- types/traverse/tsconfig.json | 3 +- types/traverson/tsconfig.json | 3 +- types/trayballoon/tsconfig.json | 3 +- types/tress/tsconfig.json | 3 +- types/trim/tsconfig.json | 3 +- types/trunk8/tsconfig.json | 3 +- types/tspromise/tsconfig.json | 3 +- types/tunnel/tsconfig.json | 3 +- types/tus-js-client/tsconfig.json | 3 +- types/tv4/tsconfig.json | 3 +- types/tween.js/tsconfig.json | 3 +- types/tweenjs/tsconfig.json | 3 +- types/tweezer.js/tsconfig.json | 3 +- types/twig/tsconfig.json | 3 +- types/twilio/tsconfig.json | 3 +- types/twit/tsconfig.json | 3 +- types/twitter-stream-channels/tsconfig.json | 3 +- types/twitter-text/tsconfig.json | 3 +- types/twitter/tsconfig.json | 3 +- types/twix/tsconfig.json | 3 +- types/type-check/tsconfig.json | 3 +- types/type-detect/tsconfig.json | 3 +- types/type-detect/v0/tsconfig.json | 3 +- types/type-is/tsconfig.json | 3 +- types/type-name/tsconfig.json | 3 +- types/typeahead/tsconfig.json | 3 +- types/typedarray-pool/tsconfig.json | 3 +- types/typescript-deferred/tsconfig.json | 3 +- types/tz-format/tsconfig.json | 3 +- types/ua-parser-js/tsconfig.json | 3 +- types/uglify-js/tsconfig.json | 3 +- types/uglifycss/tsconfig.json | 3 +- types/ui-grid/tsconfig.json | 3 +- types/ui-router-extras/tsconfig.json | 3 +- types/ui-select/tsconfig.json | 3 +- types/uid-safe/tsconfig.json | 3 +- types/uikit/tsconfig.json | 3 +- types/uinput/tsconfig.json | 3 +- types/ultra-strftime/tsconfig.json | 3 +- types/umbraco/tsconfig.json | 3 +- types/umd/tsconfig.json | 3 +- types/umzug/tsconfig.json | 3 +- types/underscore-ko/tsconfig.json | 3 +- types/underscore.string/tsconfig.json | 3 +- types/underscore/tsconfig.json | 3 +- types/undertaker-registry/tsconfig.json | 3 +- types/undertaker/tsconfig.json | 3 +- types/uniq/tsconfig.json | 3 +- types/uniqid/tsconfig.json | 3 +- types/unique-hash-stream/tsconfig.json | 3 +- types/unique-random/tsconfig.json | 3 +- types/unist/tsconfig.json | 3 +- types/unity-webapi/tsconfig.json | 3 +- types/universal-analytics/tsconfig.json | 3 +- types/universal-router/tsconfig.json | 3 +- types/unorm/tsconfig.json | 3 +- types/untildify/tsconfig.json | 3 +- types/unused-filename/tsconfig.json | 3 +- types/unzip/tsconfig.json | 3 +- types/unzipper/tsconfig.json | 3 +- types/update-notifier/tsconfig.json | 3 +- types/update-notifier/v1/tsconfig.json | 1 - types/upng-js/tsconfig.json | 3 +- types/uppercamelcase/tsconfig.json | 3 +- types/urbanairship-cordova/tsconfig.json | 3 +- types/uri-templates/tsconfig.json | 3 +- types/urijs/tsconfig.json | 3 +- types/uritemplate/tsconfig.json | 3 +- types/url-assembler/tsconfig.json | 3 +- types/url-join/tsconfig.json | 3 +- types/url-metadata/tsconfig.json | 3 +- types/url-parse/tsconfig.json | 3 +- types/url-regex/tsconfig.json | 3 +- types/url-search-params/tsconfig.json | 3 +- types/url-template/tsconfig.json | 3 +- types/urlrouter/tsconfig.json | 3 +- types/urlsafe-base64/tsconfig.json | 3 +- types/usage/tsconfig.json | 3 +- types/usb/tsconfig.json | 3 +- types/user-home/tsconfig.json | 3 +- types/useragent/tsconfig.json | 3 +- types/username/tsconfig.json | 3 +- types/utf8/tsconfig.json | 3 +- types/util-deprecate/tsconfig.json | 3 +- types/util.promisify/tsconfig.json | 3 +- types/utils-merge/tsconfig.json | 3 +- types/uuid-1345/tsconfig.json | 3 +- types/uuid-js/tsconfig.json | 3 +- types/uuid-validate/tsconfig.json | 3 +- types/uuid/tsconfig.json | 3 +- types/uuid/v2/tsconfig.json | 3 +- types/uws/tsconfig.json | 3 +- types/v8-profiler/tsconfig.json | 3 +- types/valdr-message/tsconfig.json | 3 +- types/valdr/tsconfig.json | 3 +- types/valerie/tsconfig.json | 3 +- types/vali-date/tsconfig.json | 3 +- types/valid-url/tsconfig.json | 3 +- types/validator/tsconfig.json | 3 +- types/validatorjs/tsconfig.json | 3 +- types/vanilla-modal/tsconfig.json | 3 +- types/vanilla-tilt/tsconfig.json | 3 +- types/vary/tsconfig.json | 3 +- types/vast-client/tsconfig.json | 3 +- types/vec3/tsconfig.json | 3 +- types/vectorious/tsconfig.json | 3 +- types/vega/tsconfig.json | 3 +- types/velocity-animate/tsconfig.json | 3 +- types/verror/tsconfig.json | 3 +- types/vertx3-eventbus-client/tsconfig.json | 3 +- types/vex-js/tsconfig.json | 3 +- types/vexflow/tsconfig.json | 3 +- types/vfile-location/tsconfig.json | 3 +- types/vfile/tsconfig.json | 3 +- types/victor/tsconfig.json | 3 +- types/victory/tsconfig.json | 1 - types/video.js/tsconfig.json | 3 +- types/viewability-helper/tsconfig.json | 3 +- types/viewerjs/tsconfig.json | 3 +- types/viewporter/tsconfig.json | 3 +- types/vimeo/tsconfig.json | 3 +- types/vimeo__player/tsconfig.json | 3 +- types/vinyl-buffer/tsconfig.json | 3 +- types/vinyl-fs/tsconfig.json | 3 +- types/vinyl-paths/tsconfig.json | 3 +- types/vinyl-source-stream/tsconfig.json | 3 +- types/vinyl/tsconfig.json | 3 +- types/vinyl/v0/tsconfig.json | 3 +- types/virtual-dom/tsconfig.json | 3 +- types/virtual-keyboard/tsconfig.json | 3 +- types/vis/tsconfig.json | 3 +- types/vision/tsconfig.json | 13 +++--- types/vitalsigns/tsconfig.json | 3 +- types/vivus/tsconfig.json | 3 +- types/vkbeautify/tsconfig.json | 3 +- types/voca/tsconfig.json | 3 +- types/void-elements/tsconfig.json | 3 +- types/voronoi-diagram/tsconfig.json | 3 +- types/vortex-web-client/tsconfig.json | 3 +- types/voximplant-websdk/tsconfig.json | 3 +- types/vue-resource/tsconfig.json | 3 +- types/vue-scrollto/tsconfig.json | 3 +- types/vuex-i18n/tsconfig.json | 3 +- types/w2ui/tsconfig.json | 3 +- types/w3c-generic-sensor/tsconfig.json | 3 +- types/w3c-image-capture/tsconfig.json | 3 +- types/w3c-screen-orientation/tsconfig.json | 3 +- types/w3c-web-usb/tsconfig.json | 3 +- types/waitme/tsconfig.json | 3 +- types/wake_on_lan/tsconfig.json | 3 +- types/wallabyjs/tsconfig.json | 3 +- types/wallpaper/tsconfig.json | 3 +- types/wampy/tsconfig.json | 3 +- types/warning/tsconfig.json | 3 +- types/watch/tsconfig.json | 3 +- types/watchify/tsconfig.json | 3 +- types/watchpack/tsconfig.json | 3 +- types/waterline/tsconfig.json | 3 +- types/watson-developer-cloud/tsconfig.json | 3 +- types/waypoints/tsconfig.json | 3 +- types/wcwidth/tsconfig.json | 3 +- types/weak/tsconfig.json | 3 +- types/weapp-api/tsconfig.json | 3 +- types/web-animations-js/tsconfig.json | 3 +- types/web-bluetooth/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/webassembly-js-api/tsconfig.json | 3 +- types/webcl/tsconfig.json | 3 +- types/webcomponents.js/tsconfig.json | 3 +- types/webcrypto/tsconfig.json | 3 +- types/webdriverio/tsconfig.json | 1 - types/webfontloader/tsconfig.json | 3 +- types/webgl-ext/tsconfig.json | 3 +- types/webgl2/tsconfig.json | 3 +- types/webmidi/tsconfig.json | 3 +- types/webpack-bundle-analyzer/tsconfig.json | 3 +- types/webpack-chain/tsconfig.json | 3 +- types/webpack-chunk-hash/tsconfig.json | 3 +- types/webpack-cleanup-plugin/tsconfig.json | 3 +- types/webpack-dev-middleware/tsconfig.json | 3 +- types/webpack-dev-middleware/v1/tsconfig.json | 3 +- types/webpack-dev-server/tsconfig.json | 3 +- types/webpack-dotenv-plugin/tsconfig.json | 3 +- types/webpack-env/tsconfig.json | 3 +- types/webpack-fail-plugin/tsconfig.json | 3 +- types/webpack-hot-middleware/tsconfig.json | 3 +- types/webpack-manifest-plugin/tsconfig.json | 1 - types/webpack-merge/tsconfig.json | 3 +- types/webpack-merge/v0/tsconfig.json | 3 +- types/webpack-node-externals/tsconfig.json | 3 +- types/webpack-notifier/tsconfig.json | 3 +- types/webpack-sources/tsconfig.json | 3 +- types/webpack-stream/tsconfig.json | 3 +- types/webpack-validator/tsconfig.json | 3 +- types/webpack/tsconfig.json | 3 +- types/webrtc/tsconfig.json | 3 +- types/website-scraper/tsconfig.json | 3 +- types/websocket/tsconfig.json | 3 +- types/webspeechapi/tsconfig.json | 3 +- types/websql/tsconfig.json | 3 +- types/webtorrent/tsconfig.json | 3 +- types/webvr-api/tsconfig.json | 3 +- types/week/tsconfig.json | 3 +- types/weighted/tsconfig.json | 3 +- types/weixin-app/tsconfig.json | 3 +- types/wellknown/tsconfig.json | 3 +- types/whatwg-streams/tsconfig.json | 3 +- types/wheel/tsconfig.json | 3 +- types/when/tsconfig.json | 3 +- types/which/tsconfig.json | 3 +- types/why-did-you-update/tsconfig.json | 3 +- types/wicg-mediasession/tsconfig.json | 3 +- types/wiiu/tsconfig.json | 3 +- types/window-or-global/tsconfig.json | 3 +- types/window-size/tsconfig.json | 3 +- types/windows-1251/tsconfig.json | 3 +- types/windows-service/tsconfig.json | 3 +- types/winjs/tsconfig.json | 3 +- types/winjs/v1/tsconfig.json | 3 +- types/winjs/v2/tsconfig.json | 3 +- types/winreg/tsconfig.json | 3 +- types/winrt-uwp/tsconfig.json | 3 +- types/winrt/tsconfig.json | 3 +- types/winston-dynamodb/tsconfig.json | 3 +- types/winston/tsconfig.json | 3 +- types/wiredep/tsconfig.json | 3 +- types/wiring-pi/tsconfig.json | 3 +- types/wnumb/tsconfig.json | 3 +- types/wonder.js/tsconfig.json | 3 +- types/word-list-json/tsconfig.json | 3 +- types/wordcloud/tsconfig.json | 3 +- types/words-to-numbers/tsconfig.json | 3 +- types/wrap-ansi/tsconfig.json | 3 +- types/wreck/tsconfig.json | 3 +- types/wrench/tsconfig.json | 3 +- types/write-file-atomic/tsconfig.json | 3 +- types/write-json-file/tsconfig.json | 3 +- types/ws/tsconfig.json | 3 +- types/wtfnode/tsconfig.json | 3 +- types/wu/tsconfig.json | 3 +- types/wx-js-sdk-dt/tsconfig.json | 3 +- types/x-editable/tsconfig.json | 3 +- types/x-ray-crawler/tsconfig.json | 3 +- types/x-ray/tsconfig.json | 3 +- types/xdate/tsconfig.json | 3 +- types/xdg-basedir/tsconfig.json | 3 +- types/xdomain/tsconfig.json | 3 +- types/xml-parser/tsconfig.json | 3 +- types/xml/tsconfig.json | 3 +- types/xml2js/tsconfig.json | 3 +- types/xml2json/tsconfig.json | 3 +- types/xmlbuilder/tsconfig.json | 3 +- types/xmldoc/tsconfig.json | 3 +- types/xmldom/tsconfig.json | 3 +- types/xmlpoke/tsconfig.json | 3 +- types/xmlrpc/tsconfig.json | 3 +- types/xmltojson/tsconfig.json | 3 +- types/xmpp__jid/tsconfig.json | 3 +- types/xregexp/tsconfig.json | 3 +- types/xrm/tsconfig.json | 3 +- types/xrm/v6/tsconfig.json | 3 +- types/xrm/v7/tsconfig.json | 3 +- types/xrm/v8/tsconfig.json | 3 +- types/xsd-schema-validator/tsconfig.json | 3 +- types/xsockets/tsconfig.json | 3 +- types/xss-filters/tsconfig.json | 3 +- types/xtend/tsconfig.json | 3 +- types/xxhashjs/tsconfig.json | 3 +- types/yallist/tsconfig.json | 3 +- types/yamljs/tsconfig.json | 3 +- types/yandex-maps/tsconfig.json | 3 +- types/yandex-money-sdk/tsconfig.json | 3 +- types/yargs/tsconfig.json | 5 +-- types/yargs/v10/tsconfig.json | 5 +-- types/yargs/v8/tsconfig.json | 3 +- types/yayson/tsconfig.json | 3 +- types/ydn-db/tsconfig.json | 3 +- types/yeoman-generator/tsconfig.json | 3 +- types/yeoman-test/tsconfig.json | 3 +- types/yog-bigpipe/tsconfig.json | 3 +- types/yog-log/tsconfig.json | 3 +- types/yog2-kernel/tsconfig.json | 3 +- types/yosay/tsconfig.json | 3 +- types/youtube-dl/tsconfig.json | 3 +- types/youtube/tsconfig.json | 3 +- types/yui/tsconfig.json | 3 +- types/yup/tsconfig.json | 1 - types/z-schema/tsconfig.json | 3 +- types/zapier-platform-core/tsconfig.json | 3 +- types/zen-observable/tsconfig.json | 3 +- types/zen-push/tsconfig.json | 3 +- types/zenscroll/tsconfig.json | 3 +- types/zepto/tsconfig.json | 3 +- types/zeroclipboard/tsconfig.json | 3 +- types/zeroclipboard/v1/tsconfig.json | 3 +- types/zeromq/tsconfig.json | 3 +- types/zip.js/tsconfig.json | 3 +- types/zipcodes/tsconfig.json | 3 +- types/zipkin-context-cls/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/zipkin-transport-http/tsconfig.json | 3 +- types/zmq/tsconfig.json | 3 +- types/zookeeper/tsconfig.json | 3 +- types/zui/tsconfig.json | 3 +- types/zxcvbn/tsconfig.json | 3 +- 4246 files changed, 4050 insertions(+), 8234 deletions(-) diff --git a/types/abbrev/tsconfig.json b/types/abbrev/tsconfig.json index b33fbb06bc..0755c19fe1 100644 --- a/types/abbrev/tsconfig.json +++ b/types/abbrev/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/abs/tsconfig.json b/types/abs/tsconfig.json index be1e00e9b9..2bcb3f7094 100644 --- a/types/abs/tsconfig.json +++ b/types/abs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/absolute/tsconfig.json b/types/absolute/tsconfig.json index 9932020aa3..ba18df791e 100644 --- a/types/absolute/tsconfig.json +++ b/types/absolute/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/acc-wizard/tsconfig.json b/types/acc-wizard/tsconfig.json index f63878ba9b..a20aeba97b 100644 --- a/types/acc-wizard/tsconfig.json +++ b/types/acc-wizard/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/accept-language-parser/tsconfig.json b/types/accept-language-parser/tsconfig.json index 86f839c4be..11532082db 100644 --- a/types/accept-language-parser/tsconfig.json +++ b/types/accept-language-parser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/accepts/tsconfig.json b/types/accepts/tsconfig.json index 9d62081738..35b618292d 100644 --- a/types/accepts/tsconfig.json +++ b/types/accepts/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/accounting/tsconfig.json b/types/accounting/tsconfig.json index 7ec0b3a159..f815c5b01e 100644 --- a/types/accounting/tsconfig.json +++ b/types/accounting/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ace/tsconfig.json b/types/ace/tsconfig.json index 97c51e2bf9..eb52fff185 100644 --- a/types/ace/tsconfig.json +++ b/types/ace/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/acl/tsconfig.json b/types/acl/tsconfig.json index ada20a1b2c..9f5c6a01ef 100644 --- a/types/acl/tsconfig.json +++ b/types/acl/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/acorn/tsconfig.json b/types/acorn/tsconfig.json index 9a9bbdd763..0b4760b0fc 100644 --- a/types/acorn/tsconfig.json +++ b/types/acorn/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/actioncable/tsconfig.json b/types/actioncable/tsconfig.json index 544fc4d502..cb137a8982 100644 --- a/types/actioncable/tsconfig.json +++ b/types/actioncable/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/actions-on-google/tsconfig.json b/types/actions-on-google/tsconfig.json index 82fc80a44f..776b12264b 100644 --- a/types/actions-on-google/tsconfig.json +++ b/types/actions-on-google/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-access/tsconfig.json b/types/activex-access/tsconfig.json index d1fac56caa..a376fcb722 100644 --- a/types/activex-access/tsconfig.json +++ b/types/activex-access/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-adodb/tsconfig.json b/types/activex-adodb/tsconfig.json index 7a5b6e8f13..5cb32f94c9 100644 --- a/types/activex-adodb/tsconfig.json +++ b/types/activex-adodb/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-dao/tsconfig.json b/types/activex-dao/tsconfig.json index da7ac77da9..2ddea247b9 100644 --- a/types/activex-dao/tsconfig.json +++ b/types/activex-dao/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-diskquota/tsconfig.json b/types/activex-diskquota/tsconfig.json index 61686bd769..597d998a96 100644 --- a/types/activex-diskquota/tsconfig.json +++ b/types/activex-diskquota/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-excel/tsconfig.json b/types/activex-excel/tsconfig.json index a9599850ef..244ab1d0ef 100644 --- a/types/activex-excel/tsconfig.json +++ b/types/activex-excel/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-faxcomexlib/tsconfig.json b/types/activex-faxcomexlib/tsconfig.json index 673e3f49ea..6509ab4701 100644 --- a/types/activex-faxcomexlib/tsconfig.json +++ b/types/activex-faxcomexlib/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-infopath/tsconfig.json b/types/activex-infopath/tsconfig.json index e6479e5c7c..6feef8496c 100644 --- a/types/activex-infopath/tsconfig.json +++ b/types/activex-infopath/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-iwshruntimelibrary/tsconfig.json b/types/activex-iwshruntimelibrary/tsconfig.json index 0c79715db6..1fa5abc39b 100644 --- a/types/activex-iwshruntimelibrary/tsconfig.json +++ b/types/activex-iwshruntimelibrary/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-libreoffice/tsconfig.json b/types/activex-libreoffice/tsconfig.json index c72038c18a..712ea46ca1 100644 --- a/types/activex-libreoffice/tsconfig.json +++ b/types/activex-libreoffice/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-msforms/tsconfig.json b/types/activex-msforms/tsconfig.json index ee18e776a1..38f907552d 100644 --- a/types/activex-msforms/tsconfig.json +++ b/types/activex-msforms/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-mshtml/tsconfig.json b/types/activex-mshtml/tsconfig.json index 9f0594a26d..deba2b6ba3 100644 --- a/types/activex-mshtml/tsconfig.json +++ b/types/activex-mshtml/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-msxml2/tsconfig.json b/types/activex-msxml2/tsconfig.json index 5d1cee05aa..49c53f71ca 100644 --- a/types/activex-msxml2/tsconfig.json +++ b/types/activex-msxml2/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-office/tsconfig.json b/types/activex-office/tsconfig.json index 4c8b5ce9e5..729657e813 100644 --- a/types/activex-office/tsconfig.json +++ b/types/activex-office/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-outlook/tsconfig.json b/types/activex-outlook/tsconfig.json index 5d2f6c157b..1a9fddc714 100644 --- a/types/activex-outlook/tsconfig.json +++ b/types/activex-outlook/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-powerpoint/tsconfig.json b/types/activex-powerpoint/tsconfig.json index 4ecc0048fb..8a0392da3f 100644 --- a/types/activex-powerpoint/tsconfig.json +++ b/types/activex-powerpoint/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-scripting/tsconfig.json b/types/activex-scripting/tsconfig.json index 1d660ed39c..e2008551fd 100644 --- a/types/activex-scripting/tsconfig.json +++ b/types/activex-scripting/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-shdocvw/tsconfig.json b/types/activex-shdocvw/tsconfig.json index 1759b6965f..1907cb1ef6 100644 --- a/types/activex-shdocvw/tsconfig.json +++ b/types/activex-shdocvw/tsconfig.json @@ -1,8 +1,10 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, diff --git a/types/activex-shell/tsconfig.json b/types/activex-shell/tsconfig.json index 216bede925..f4b549f649 100644 --- a/types/activex-shell/tsconfig.json +++ b/types/activex-shell/tsconfig.json @@ -1,8 +1,10 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, @@ -13,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-stdole/tsconfig.json b/types/activex-stdole/tsconfig.json index d96d7fd4dc..cbe3ce7aae 100644 --- a/types/activex-stdole/tsconfig.json +++ b/types/activex-stdole/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-vbide/tsconfig.json b/types/activex-vbide/tsconfig.json index 504d5c01b2..6fb205a3c4 100644 --- a/types/activex-vbide/tsconfig.json +++ b/types/activex-vbide/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-wia/tsconfig.json b/types/activex-wia/tsconfig.json index b1b82a2134..e77b3d1b66 100644 --- a/types/activex-wia/tsconfig.json +++ b/types/activex-wia/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/activex-word/tsconfig.json b/types/activex-word/tsconfig.json index e220df56dc..c62626ca52 100644 --- a/types/activex-word/tsconfig.json +++ b/types/activex-word/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/adal-angular/tsconfig.json b/types/adal-angular/tsconfig.json index b7adaf8e3c..9052e3fc04 100644 --- a/types/adal-angular/tsconfig.json +++ b/types/adal-angular/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/add-zero/tsconfig.json b/types/add-zero/tsconfig.json index bb76d7ed20..d7645a2e3c 100644 --- a/types/add-zero/tsconfig.json +++ b/types/add-zero/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/add2home/tsconfig.json b/types/add2home/tsconfig.json index d32b9dc570..904e5e7453 100644 --- a/types/add2home/tsconfig.json +++ b/types/add2home/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/adm-zip/tsconfig.json b/types/adm-zip/tsconfig.json index da3abd8503..8e998c6f38 100644 --- a/types/adm-zip/tsconfig.json +++ b/types/adm-zip/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/adone/tsconfig.json b/types/adone/tsconfig.json index 5764b2d24b..66671bc175 100644 --- a/types/adone/tsconfig.json +++ b/types/adone/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "experimentalDecorators": true }, "files": [ diff --git a/types/aframe/tsconfig.json b/types/aframe/tsconfig.json index 02c0041107..3385a8aca7 100755 --- a/types/aframe/tsconfig.json +++ b/types/aframe/tsconfig.json @@ -17,8 +17,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/agenda/tsconfig.json b/types/agenda/tsconfig.json index 2f448c9517..0a553809fd 100644 --- a/types/agenda/tsconfig.json +++ b/types/agenda/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/aggregate-error/tsconfig.json b/types/aggregate-error/tsconfig.json index 836ac69bbf..f092ab1c3e 100644 --- a/types/aggregate-error/tsconfig.json +++ b/types/aggregate-error/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/alertify/tsconfig.json b/types/alertify/tsconfig.json index 731efc063b..86ae0eac3d 100644 --- a/types/alertify/tsconfig.json +++ b/types/alertify/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/alexa-sdk/tsconfig.json b/types/alexa-sdk/tsconfig.json index 0fe3e93a8e..acc11c8263 100644 --- a/types/alexa-sdk/tsconfig.json +++ b/types/alexa-sdk/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/alexa-voice-service/tsconfig.json b/types/alexa-voice-service/tsconfig.json index 90b1ec9310..737cccf9e6 100644 --- a/types/alexa-voice-service/tsconfig.json +++ b/types/alexa-voice-service/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/algebra.js/tsconfig.json b/types/algebra.js/tsconfig.json index db065d64f2..e9f585ef8a 100644 --- a/types/algebra.js/tsconfig.json +++ b/types/algebra.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/algoliasearch/tsconfig.json b/types/algoliasearch/tsconfig.json index 41a2b8341e..3358732ba3 100644 --- a/types/algoliasearch/tsconfig.json +++ b/types/algoliasearch/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/alt/tsconfig.json b/types/alt/tsconfig.json index d062b2a515..82260e525d 100644 --- a/types/alt/tsconfig.json +++ b/types/alt/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/amazon-product-api/tsconfig.json b/types/amazon-product-api/tsconfig.json index 148065775e..060741740b 100644 --- a/types/amazon-product-api/tsconfig.json +++ b/types/amazon-product-api/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/amcharts/tsconfig.json b/types/amcharts/tsconfig.json index 83ea10e97c..1d07459b73 100644 --- a/types/amcharts/tsconfig.json +++ b/types/amcharts/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/amplify-deferred/tsconfig.json b/types/amplify-deferred/tsconfig.json index 2e8ba65ef8..443772e942 100644 --- a/types/amplify-deferred/tsconfig.json +++ b/types/amplify-deferred/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/amplify/tsconfig.json b/types/amplify/tsconfig.json index f6c250d148..44daa69ba9 100644 --- a/types/amplify/tsconfig.json +++ b/types/amplify/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/amplitude-js/tsconfig.json b/types/amplitude-js/tsconfig.json index 78806bc9f3..0ca8f85efe 100644 --- a/types/amplitude-js/tsconfig.json +++ b/types/amplitude-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/amqp-rpc/tsconfig.json b/types/amqp-rpc/tsconfig.json index 29eaed2194..f8bfc7aa64 100644 --- a/types/amqp-rpc/tsconfig.json +++ b/types/amqp-rpc/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/amqp/tsconfig.json b/types/amqp/tsconfig.json index e388306124..e73b54d700 100644 --- a/types/amqp/tsconfig.json +++ b/types/amqp/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/amqplib/tsconfig.json b/types/amqplib/tsconfig.json index e678b2ed30..b5b83b84ce 100644 --- a/types/amqplib/tsconfig.json +++ b/types/amqplib/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/analytics-node/tsconfig.json b/types/analytics-node/tsconfig.json index 8a01d1d5f7..3684577e65 100644 --- a/types/analytics-node/tsconfig.json +++ b/types/analytics-node/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-agility/tsconfig.json b/types/angular-agility/tsconfig.json index b0b8a89582..460060cde0 100644 --- a/types/angular-agility/tsconfig.json +++ b/types/angular-agility/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-animate/tsconfig.json b/types/angular-animate/tsconfig.json index 19a01dfff9..d34d6a1d77 100644 --- a/types/angular-animate/tsconfig.json +++ b/types/angular-animate/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/angular-block-ui/tsconfig.json b/types/angular-block-ui/tsconfig.json index 38788cb14c..f5717731be 100644 --- a/types/angular-block-ui/tsconfig.json +++ b/types/angular-block-ui/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-bootstrap-calendar/tsconfig.json b/types/angular-bootstrap-calendar/tsconfig.json index 5bcba1159b..72a05b7ce7 100644 --- a/types/angular-bootstrap-calendar/tsconfig.json +++ b/types/angular-bootstrap-calendar/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-bootstrap-lightbox/tsconfig.json b/types/angular-bootstrap-lightbox/tsconfig.json index 5e8d01f684..3792bc3da5 100644 --- a/types/angular-bootstrap-lightbox/tsconfig.json +++ b/types/angular-bootstrap-lightbox/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-breadcrumb/tsconfig.json b/types/angular-breadcrumb/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/angular-breadcrumb/tsconfig.json +++ b/types/angular-breadcrumb/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/angular-clipboard/tsconfig.json b/types/angular-clipboard/tsconfig.json index 504fce5afd..0c6a1dadaf 100644 --- a/types/angular-clipboard/tsconfig.json +++ b/types/angular-clipboard/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/angular-cookie/tsconfig.json b/types/angular-cookie/tsconfig.json index c4dd687a17..ae3ec8dd21 100644 --- a/types/angular-cookie/tsconfig.json +++ b/types/angular-cookie/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-cookies/tsconfig.json b/types/angular-cookies/tsconfig.json index 19a01dfff9..d34d6a1d77 100644 --- a/types/angular-cookies/tsconfig.json +++ b/types/angular-cookies/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/angular-deferred-bootstrap/tsconfig.json b/types/angular-deferred-bootstrap/tsconfig.json index 48a0fc6c3b..119199cc5a 100644 --- a/types/angular-deferred-bootstrap/tsconfig.json +++ b/types/angular-deferred-bootstrap/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/angular-dialog-service/tsconfig.json b/types/angular-dialog-service/tsconfig.json index 06a65572bf..b6db392406 100644 --- a/types/angular-dialog-service/tsconfig.json +++ b/types/angular-dialog-service/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-dynamic-locale/tsconfig.json b/types/angular-dynamic-locale/tsconfig.json index 2669a8f2c1..b117d5eabe 100644 --- a/types/angular-dynamic-locale/tsconfig.json +++ b/types/angular-dynamic-locale/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-environment/tsconfig.json b/types/angular-environment/tsconfig.json index 62fb380377..35bd754e95 100644 --- a/types/angular-environment/tsconfig.json +++ b/types/angular-environment/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-es/tsconfig.json b/types/angular-es/tsconfig.json index 1ef656103f..8eb4ea8925 100644 --- a/types/angular-es/tsconfig.json +++ b/types/angular-es/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-feature-flags/tsconfig.json b/types/angular-feature-flags/tsconfig.json index d90297220f..07b352a43c 100644 --- a/types/angular-feature-flags/tsconfig.json +++ b/types/angular-feature-flags/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-file-saver/tsconfig.json b/types/angular-file-saver/tsconfig.json index c00f267d7d..60a3fb0eca 100644 --- a/types/angular-file-saver/tsconfig.json +++ b/types/angular-file-saver/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-file-upload/tsconfig.json b/types/angular-file-upload/tsconfig.json index ac8f890b89..11194d71d0 100644 --- a/types/angular-file-upload/tsconfig.json +++ b/types/angular-file-upload/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-formly/tsconfig.json b/types/angular-formly/tsconfig.json index 7b6a686160..3812b7cd66 100644 --- a/types/angular-formly/tsconfig.json +++ b/types/angular-formly/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-fullscreen/tsconfig.json b/types/angular-fullscreen/tsconfig.json index 03dc1874c4..72a22e0897 100644 --- a/types/angular-fullscreen/tsconfig.json +++ b/types/angular-fullscreen/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-gettext/tsconfig.json b/types/angular-gettext/tsconfig.json index 074b1ad11a..43c7dc3cab 100644 --- a/types/angular-gettext/tsconfig.json +++ b/types/angular-gettext/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-google-analytics/tsconfig.json b/types/angular-google-analytics/tsconfig.json index aff84bc612..b66432d04c 100644 --- a/types/angular-google-analytics/tsconfig.json +++ b/types/angular-google-analytics/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-gridster/tsconfig.json b/types/angular-gridster/tsconfig.json index e722d13578..94b4c6ceff 100644 --- a/types/angular-gridster/tsconfig.json +++ b/types/angular-gridster/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-growl-v2/tsconfig.json b/types/angular-growl-v2/tsconfig.json index 38d37a5922..16ccffe41f 100644 --- a/types/angular-growl-v2/tsconfig.json +++ b/types/angular-growl-v2/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-hotkeys/tsconfig.json b/types/angular-hotkeys/tsconfig.json index efb5ab899b..81fdf31b45 100644 --- a/types/angular-hotkeys/tsconfig.json +++ b/types/angular-hotkeys/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-http-auth/tsconfig.json b/types/angular-http-auth/tsconfig.json index ac7e064e0e..61029fcc00 100644 --- a/types/angular-http-auth/tsconfig.json +++ b/types/angular-http-auth/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-httpi/tsconfig.json b/types/angular-httpi/tsconfig.json index ea3d19611c..64c28306cf 100644 --- a/types/angular-httpi/tsconfig.json +++ b/types/angular-httpi/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-idle/tsconfig.json b/types/angular-idle/tsconfig.json index 442299d2f1..57cc641db8 100644 --- a/types/angular-idle/tsconfig.json +++ b/types/angular-idle/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-jwt/tsconfig.json b/types/angular-jwt/tsconfig.json index eb96bc8736..b884cbc435 100644 --- a/types/angular-jwt/tsconfig.json +++ b/types/angular-jwt/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-load/tsconfig.json b/types/angular-load/tsconfig.json index 970cb503e6..ee5ee74b72 100644 --- a/types/angular-load/tsconfig.json +++ b/types/angular-load/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-loading-bar/tsconfig.json b/types/angular-loading-bar/tsconfig.json index 8311dad9f5..f639942629 100644 --- a/types/angular-loading-bar/tsconfig.json +++ b/types/angular-loading-bar/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-local-storage/tsconfig.json b/types/angular-local-storage/tsconfig.json index 5a73ac26f9..44c357b558 100644 --- a/types/angular-local-storage/tsconfig.json +++ b/types/angular-local-storage/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-localforage/tsconfig.json b/types/angular-localforage/tsconfig.json index 847bbbbda0..dc98f1186d 100644 --- a/types/angular-localforage/tsconfig.json +++ b/types/angular-localforage/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-locker/tsconfig.json b/types/angular-locker/tsconfig.json index d0fbbafb71..35091c7ea8 100644 --- a/types/angular-locker/tsconfig.json +++ b/types/angular-locker/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-material/tsconfig.json b/types/angular-material/tsconfig.json index 7184dc1fb1..3ecdc4851c 100644 --- a/types/angular-material/tsconfig.json +++ b/types/angular-material/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/angular-media-queries/tsconfig.json b/types/angular-media-queries/tsconfig.json index 80d3ac3f0c..6a02589dc1 100644 --- a/types/angular-media-queries/tsconfig.json +++ b/types/angular-media-queries/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-meteor/tsconfig.json b/types/angular-meteor/tsconfig.json index 62d012a4af..16d4015269 100644 --- a/types/angular-meteor/tsconfig.json +++ b/types/angular-meteor/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-mocks/tsconfig.json b/types/angular-mocks/tsconfig.json index 84f176c47b..cfce69a898 100644 --- a/types/angular-mocks/tsconfig.json +++ b/types/angular-mocks/tsconfig.json @@ -20,7 +20,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/angular-modal/tsconfig.json b/types/angular-modal/tsconfig.json index 7eb8491cd7..c727f39fbb 100644 --- a/types/angular-modal/tsconfig.json +++ b/types/angular-modal/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-notifications/tsconfig.json b/types/angular-notifications/tsconfig.json index 8914d19761..7186df8fd5 100644 --- a/types/angular-notifications/tsconfig.json +++ b/types/angular-notifications/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-notify/tsconfig.json b/types/angular-notify/tsconfig.json index 2a45fe4c01..a993101ea8 100644 --- a/types/angular-notify/tsconfig.json +++ b/types/angular-notify/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-oauth2/tsconfig.json b/types/angular-oauth2/tsconfig.json index 6c8b2cff83..253e138f2f 100644 --- a/types/angular-oauth2/tsconfig.json +++ b/types/angular-oauth2/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-odata-resources/tsconfig.json b/types/angular-odata-resources/tsconfig.json index bf9ce61633..cf8b87b038 100644 --- a/types/angular-odata-resources/tsconfig.json +++ b/types/angular-odata-resources/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-pdfjs-viewer/tsconfig.json b/types/angular-pdfjs-viewer/tsconfig.json index 584aacaaf3..bdae87bf50 100644 --- a/types/angular-pdfjs-viewer/tsconfig.json +++ b/types/angular-pdfjs-viewer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-permission/tsconfig.json b/types/angular-permission/tsconfig.json index ccc8ab9ba0..80dd668340 100644 --- a/types/angular-permission/tsconfig.json +++ b/types/angular-permission/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/angular-promise-tracker/tsconfig.json b/types/angular-promise-tracker/tsconfig.json index 89ba7d321d..2e81cb6ea3 100644 --- a/types/angular-promise-tracker/tsconfig.json +++ b/types/angular-promise-tracker/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-q-spread/tsconfig.json b/types/angular-q-spread/tsconfig.json index 8b381fb83f..a00f0e4d5f 100644 --- a/types/angular-q-spread/tsconfig.json +++ b/types/angular-q-spread/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/angular-resource/tsconfig.json b/types/angular-resource/tsconfig.json index 1f4598b8b9..7599b3e12e 100644 --- a/types/angular-resource/tsconfig.json +++ b/types/angular-resource/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/angular-route/tsconfig.json b/types/angular-route/tsconfig.json index 12021442e1..9960b488ba 100644 --- a/types/angular-route/tsconfig.json +++ b/types/angular-route/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/angular-sanitize/tsconfig.json b/types/angular-sanitize/tsconfig.json index 2e1212592b..4ce7848518 100644 --- a/types/angular-sanitize/tsconfig.json +++ b/types/angular-sanitize/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/angular-scenario/tsconfig.json b/types/angular-scenario/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/angular-scenario/tsconfig.json +++ b/types/angular-scenario/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/angular-scroll/tsconfig.json b/types/angular-scroll/tsconfig.json index a844a05fd7..b6d6daecb2 100644 --- a/types/angular-scroll/tsconfig.json +++ b/types/angular-scroll/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-signalr-hub/tsconfig.json b/types/angular-signalr-hub/tsconfig.json index d81d1cccc6..d0e69b894d 100644 --- a/types/angular-signalr-hub/tsconfig.json +++ b/types/angular-signalr-hub/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-spinner/tsconfig.json b/types/angular-spinner/tsconfig.json index 8eebbd1455..e09fc93f8e 100644 --- a/types/angular-spinner/tsconfig.json +++ b/types/angular-spinner/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-storage/tsconfig.json b/types/angular-storage/tsconfig.json index e88846bcec..07dc148cef 100644 --- a/types/angular-storage/tsconfig.json +++ b/types/angular-storage/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-strap/tsconfig.json b/types/angular-strap/tsconfig.json index da95fa04c8..7ac157876b 100644 --- a/types/angular-strap/tsconfig.json +++ b/types/angular-strap/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-toastr/tsconfig.json b/types/angular-toastr/tsconfig.json index 36a22e1aee..be88b26d08 100644 --- a/types/angular-toastr/tsconfig.json +++ b/types/angular-toastr/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-toasty/tsconfig.json b/types/angular-toasty/tsconfig.json index f4e2c1c4d0..085335904c 100644 --- a/types/angular-toasty/tsconfig.json +++ b/types/angular-toasty/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-tooltips/tsconfig.json b/types/angular-tooltips/tsconfig.json index 84f3606454..8465b76909 100644 --- a/types/angular-tooltips/tsconfig.json +++ b/types/angular-tooltips/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-touchspin/tsconfig.json b/types/angular-touchspin/tsconfig.json index 4084b66480..8c3d5338c4 100644 --- a/types/angular-touchspin/tsconfig.json +++ b/types/angular-touchspin/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-translate/tsconfig.json b/types/angular-translate/tsconfig.json index 02bb9edf7a..7b3df3db88 100644 --- a/types/angular-translate/tsconfig.json +++ b/types/angular-translate/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-ui-bootstrap/tsconfig.json b/types/angular-ui-bootstrap/tsconfig.json index 36174e37b6..62765ca465 100644 --- a/types/angular-ui-bootstrap/tsconfig.json +++ b/types/angular-ui-bootstrap/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-ui-notification/tsconfig.json b/types/angular-ui-notification/tsconfig.json index 2b774ef2ff..25e3769186 100644 --- a/types/angular-ui-notification/tsconfig.json +++ b/types/angular-ui-notification/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-ui-router/tsconfig.json b/types/angular-ui-router/tsconfig.json index ba18a834ba..83aeab8d3b 100644 --- a/types/angular-ui-router/tsconfig.json +++ b/types/angular-ui-router/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-ui-scroll/tsconfig.json b/types/angular-ui-scroll/tsconfig.json index 90fd12c708..8fb95049e4 100644 --- a/types/angular-ui-scroll/tsconfig.json +++ b/types/angular-ui-scroll/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-ui-sortable/tsconfig.json b/types/angular-ui-sortable/tsconfig.json index 3defe86650..b96f69101e 100644 --- a/types/angular-ui-sortable/tsconfig.json +++ b/types/angular-ui-sortable/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-ui-tree/tsconfig.json b/types/angular-ui-tree/tsconfig.json index 3c8fa163c7..cb2693e910 100644 --- a/types/angular-ui-tree/tsconfig.json +++ b/types/angular-ui-tree/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-websocket/tsconfig.json b/types/angular-websocket/tsconfig.json index b24f8dfdf8..e4d648dbda 100644 --- a/types/angular-websocket/tsconfig.json +++ b/types/angular-websocket/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-wizard/tsconfig.json b/types/angular-wizard/tsconfig.json index 2409b05725..a87aedbbe4 100644 --- a/types/angular-wizard/tsconfig.json +++ b/types/angular-wizard/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular-xeditable/tsconfig.json b/types/angular-xeditable/tsconfig.json index de3ba1d092..44cdeea7bf 100644 --- a/types/angular-xeditable/tsconfig.json +++ b/types/angular-xeditable/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/angular.throttle/tsconfig.json b/types/angular.throttle/tsconfig.json index 11865e0ab8..bcee04a06f 100644 --- a/types/angular.throttle/tsconfig.json +++ b/types/angular.throttle/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angular/tsconfig.json b/types/angular/tsconfig.json index c8e218ccd3..46eeb69c7a 100644 --- a/types/angular/tsconfig.json +++ b/types/angular/tsconfig.json @@ -23,7 +23,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/angularfire/tsconfig.json b/types/angularfire/tsconfig.json index 05a89bc308..79526d1d23 100644 --- a/types/angularfire/tsconfig.json +++ b/types/angularfire/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angularlocalstorage/tsconfig.json b/types/angularlocalstorage/tsconfig.json index c3ce44e55b..18cbe35651 100644 --- a/types/angularlocalstorage/tsconfig.json +++ b/types/angularlocalstorage/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/angulartics/tsconfig.json b/types/angulartics/tsconfig.json index 18593f0b9c..2cfa5bb6a9 100644 --- a/types/angulartics/tsconfig.json +++ b/types/angulartics/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/animation-frame/tsconfig.json b/types/animation-frame/tsconfig.json index b1ec9c5358..50f3aa0703 100644 --- a/types/animation-frame/tsconfig.json +++ b/types/animation-frame/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/animejs/tsconfig.json b/types/animejs/tsconfig.json index 084939a4f9..02c5552371 100644 --- a/types/animejs/tsconfig.json +++ b/types/animejs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/annyang/tsconfig.json b/types/annyang/tsconfig.json index 8087bb565e..f16b627fac 100644 --- a/types/annyang/tsconfig.json +++ b/types/annyang/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ansi-colors/tsconfig.json b/types/ansi-colors/tsconfig.json index 7ee743c176..ebd56021f9 100644 --- a/types/ansi-colors/tsconfig.json +++ b/types/ansi-colors/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ansi-regex/tsconfig.json b/types/ansi-regex/tsconfig.json index 67d64d91c2..4d0c1ff787 100644 --- a/types/ansi-regex/tsconfig.json +++ b/types/ansi-regex/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ansi-styles/tsconfig.json b/types/ansi-styles/tsconfig.json index 052e258a64..daf091f6ce 100644 --- a/types/ansi-styles/tsconfig.json +++ b/types/ansi-styles/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ansicolors/tsconfig.json b/types/ansicolors/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/ansicolors/tsconfig.json +++ b/types/ansicolors/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/any-db-transaction/tsconfig.json b/types/any-db-transaction/tsconfig.json index 1eb8e09d43..70db166ef8 100644 --- a/types/any-db-transaction/tsconfig.json +++ b/types/any-db-transaction/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/any-db/tsconfig.json b/types/any-db/tsconfig.json index b78a69c22c..21170c7c68 100644 --- a/types/any-db/tsconfig.json +++ b/types/any-db/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/anybar/tsconfig.json b/types/anybar/tsconfig.json index 17fc096621..1dd62548e6 100644 --- a/types/anybar/tsconfig.json +++ b/types/anybar/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/anymatch/tsconfig.json b/types/anymatch/tsconfig.json index 921e277144..d30a18ba98 100644 --- a/types/anymatch/tsconfig.json +++ b/types/anymatch/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/apex.js/tsconfig.json b/types/apex.js/tsconfig.json index d254229f4e..2a67c3005a 100644 --- a/types/apex.js/tsconfig.json +++ b/types/apex.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/aphrodite/tsconfig.json b/types/aphrodite/tsconfig.json index 0794c0ff34..733098707c 100644 --- a/types/aphrodite/tsconfig.json +++ b/types/aphrodite/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "preserve" }, "files": [ diff --git a/types/api-error-handler/tsconfig.json b/types/api-error-handler/tsconfig.json index 7c46d54e64..343e9007e9 100644 --- a/types/api-error-handler/tsconfig.json +++ b/types/api-error-handler/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/apigee-access/tsconfig.json b/types/apigee-access/tsconfig.json index fabc7bafac..3a18c6594a 100644 --- a/types/apigee-access/tsconfig.json +++ b/types/apigee-access/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/apollo-codegen/tsconfig.json b/types/apollo-codegen/tsconfig.json index da8da1b4e9..a793b04d75 100644 --- a/types/apollo-codegen/tsconfig.json +++ b/types/apollo-codegen/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/app-root-path/tsconfig.json b/types/app-root-path/tsconfig.json index c32fe9ae27..0786aa8b6c 100644 --- a/types/app-root-path/tsconfig.json +++ b/types/app-root-path/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/appdmg/tsconfig.json b/types/appdmg/tsconfig.json index 6d729c863b..452b9a4af3 100644 --- a/types/appdmg/tsconfig.json +++ b/types/appdmg/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/appframework/tsconfig.json b/types/appframework/tsconfig.json index aa6405cffa..8ed9e604ca 100644 --- a/types/appframework/tsconfig.json +++ b/types/appframework/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/applepayjs/tsconfig.json b/types/applepayjs/tsconfig.json index b2fb66fe6e..892c52bd37 100644 --- a/types/applepayjs/tsconfig.json +++ b/types/applepayjs/tsconfig.json @@ -2,7 +2,6 @@ "compilerOptions": { "baseUrl": "../", "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "lib": [ "dom", "es6" diff --git a/types/appletvjs/tsconfig.json b/types/appletvjs/tsconfig.json index e1ad39d576..44dc1a34db 100644 --- a/types/appletvjs/tsconfig.json +++ b/types/appletvjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/applicationinsights-js/tsconfig.json b/types/applicationinsights-js/tsconfig.json index 8eeecc5c0f..db2a137f6b 100644 --- a/types/applicationinsights-js/tsconfig.json +++ b/types/applicationinsights-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/aqb/tsconfig.json b/types/aqb/tsconfig.json index 09b73d3cfa..44cb0d912f 100644 --- a/types/aqb/tsconfig.json +++ b/types/aqb/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/arbiter/tsconfig.json b/types/arbiter/tsconfig.json index dafaff86db..674951954e 100644 --- a/types/arbiter/tsconfig.json +++ b/types/arbiter/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/arcgis-js-api/tsconfig.json b/types/arcgis-js-api/tsconfig.json index 815352a45c..8a696a3a1e 100644 --- a/types/arcgis-js-api/tsconfig.json +++ b/types/arcgis-js-api/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/arcgis-js-api/v3/tsconfig.json b/types/arcgis-js-api/v3/tsconfig.json index 63b40a8d0a..320cb582e1 100644 --- a/types/arcgis-js-api/v3/tsconfig.json +++ b/types/arcgis-js-api/v3/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/arcgis-rest-api/tsconfig.json b/types/arcgis-rest-api/tsconfig.json index f65b0c47c2..346b0c1ea3 100644 --- a/types/arcgis-rest-api/tsconfig.json +++ b/types/arcgis-rest-api/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/arcgis-to-geojson-utils/tsconfig.json b/types/arcgis-to-geojson-utils/tsconfig.json index 09d3eda55e..c2ef5bf641 100644 --- a/types/arcgis-to-geojson-utils/tsconfig.json +++ b/types/arcgis-to-geojson-utils/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/archiver/tsconfig.json b/types/archiver/tsconfig.json index fc2d8192fe..71db696c82 100644 --- a/types/archiver/tsconfig.json +++ b/types/archiver/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/archy/tsconfig.json b/types/archy/tsconfig.json index 34f8c99625..d26c849987 100644 --- a/types/archy/tsconfig.json +++ b/types/archy/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/are-we-there-yet/tsconfig.json b/types/are-we-there-yet/tsconfig.json index 06a8973b97..9df0996daa 100644 --- a/types/are-we-there-yet/tsconfig.json +++ b/types/are-we-there-yet/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/argon2-browser/tsconfig.json b/types/argon2-browser/tsconfig.json index 3faa9d5cba..c3e9586f3c 100644 --- a/types/argon2-browser/tsconfig.json +++ b/types/argon2-browser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/argparse/tsconfig.json b/types/argparse/tsconfig.json index f3aac6f2d4..49e7b03ca8 100644 --- a/types/argparse/tsconfig.json +++ b/types/argparse/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/args/tsconfig.json b/types/args/tsconfig.json index 7b53eb08e5..d287417769 100644 --- a/types/args/tsconfig.json +++ b/types/args/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/argv/tsconfig.json b/types/argv/tsconfig.json index 5158b5969d..2a123030fa 100644 --- a/types/argv/tsconfig.json +++ b/types/argv/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/arr-union/tsconfig.json b/types/arr-union/tsconfig.json index a5fb2d419f..de2c9671e9 100644 --- a/types/arr-union/tsconfig.json +++ b/types/arr-union/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/array-find-index/tsconfig.json b/types/array-find-index/tsconfig.json index 0de263e4f3..41c6183cbe 100644 --- a/types/array-find-index/tsconfig.json +++ b/types/array-find-index/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/array-foreach/tsconfig.json b/types/array-foreach/tsconfig.json index 3a83dc7215..bacc698e34 100644 --- a/types/array-foreach/tsconfig.json +++ b/types/array-foreach/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/array-uniq/tsconfig.json b/types/array-uniq/tsconfig.json index ca86571124..71557f6481 100644 --- a/types/array-uniq/tsconfig.json +++ b/types/array-uniq/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/arrify/tsconfig.json b/types/arrify/tsconfig.json index 2bbc02b851..63d89a9c7f 100644 --- a/types/arrify/tsconfig.json +++ b/types/arrify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/artillery/tsconfig.json b/types/artillery/tsconfig.json index 6f8e79fafa..02b327a508 100644 --- a/types/artillery/tsconfig.json +++ b/types/artillery/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/asana/tsconfig.json b/types/asana/tsconfig.json index d4d565e8e3..452aade0b1 100644 --- a/types/asana/tsconfig.json +++ b/types/asana/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ascii2mathml/tsconfig.json b/types/ascii2mathml/tsconfig.json index e41fd0d954..b4c4b0a21b 100644 --- a/types/ascii2mathml/tsconfig.json +++ b/types/ascii2mathml/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/asciify/tsconfig.json b/types/asciify/tsconfig.json index 08737c3b21..5f84d92e80 100644 --- a/types/asciify/tsconfig.json +++ b/types/asciify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/asenv/tsconfig.json b/types/asenv/tsconfig.json index d58b835636..c779998e24 100644 --- a/types/asenv/tsconfig.json +++ b/types/asenv/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/asn1js/tsconfig.json b/types/asn1js/tsconfig.json index 2a8fff0568..59420b595d 100644 --- a/types/asn1js/tsconfig.json +++ b/types/asn1js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/aspnet-identity-pw/tsconfig.json b/types/aspnet-identity-pw/tsconfig.json index ba41002410..2d2ba0ec28 100644 --- a/types/aspnet-identity-pw/tsconfig.json +++ b/types/aspnet-identity-pw/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/assert-equal-jsx/tsconfig.json b/types/assert-equal-jsx/tsconfig.json index 1a14c64d1c..3f476135f8 100644 --- a/types/assert-equal-jsx/tsconfig.json +++ b/types/assert-equal-jsx/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/assert-plus/tsconfig.json b/types/assert-plus/tsconfig.json index 8c8ef3cd0a..5c89ae8c31 100644 --- a/types/assert-plus/tsconfig.json +++ b/types/assert-plus/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/assertsharp/tsconfig.json b/types/assertsharp/tsconfig.json index febbb6ed84..bc2779726e 100644 --- a/types/assertsharp/tsconfig.json +++ b/types/assertsharp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/assets-webpack-plugin/tsconfig.json b/types/assets-webpack-plugin/tsconfig.json index 91c958ed40..3c08912345 100644 --- a/types/assets-webpack-plugin/tsconfig.json +++ b/types/assets-webpack-plugin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/async-cache/tsconfig.json b/types/async-cache/tsconfig.json index 6a2cbf5f82..21657ef518 100644 --- a/types/async-cache/tsconfig.json +++ b/types/async-cache/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/async-lock/tsconfig.json b/types/async-lock/tsconfig.json index 22b7c33b0b..1bc997ef73 100644 --- a/types/async-lock/tsconfig.json +++ b/types/async-lock/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/async-polling/tsconfig.json b/types/async-polling/tsconfig.json index d3f9246be9..5bcccb20f2 100644 --- a/types/async-polling/tsconfig.json +++ b/types/async-polling/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/async-retry/tsconfig.json b/types/async-retry/tsconfig.json index e371a3e4d6..c010746fa3 100644 --- a/types/async-retry/tsconfig.json +++ b/types/async-retry/tsconfig.json @@ -14,7 +14,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/async-writer/tsconfig.json b/types/async-writer/tsconfig.json index 565754dbb5..2b8771e48c 100644 --- a/types/async-writer/tsconfig.json +++ b/types/async-writer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/async.nexttick/tsconfig.json b/types/async.nexttick/tsconfig.json index 71de47e764..b824f94a44 100644 --- a/types/async.nexttick/tsconfig.json +++ b/types/async.nexttick/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/async/tsconfig.json b/types/async/tsconfig.json index 3834ff925d..153a5471fb 100644 --- a/types/async/tsconfig.json +++ b/types/async/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/asynciterator/tsconfig.json b/types/asynciterator/tsconfig.json index 345f06297a..c50f09f902 100644 --- a/types/asynciterator/tsconfig.json +++ b/types/asynciterator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/atmosphere.js/tsconfig.json b/types/atmosphere.js/tsconfig.json index 7c135528bc..f06f28e8f7 100644 --- a/types/atmosphere.js/tsconfig.json +++ b/types/atmosphere.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/atom-keymap/tsconfig.json b/types/atom-keymap/tsconfig.json index 0da99e34c6..14797a013b 100644 --- a/types/atom-keymap/tsconfig.json +++ b/types/atom-keymap/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/atom-mocha-test-runner/tsconfig.json b/types/atom-mocha-test-runner/tsconfig.json index 78526855a4..40639f83aa 100644 --- a/types/atom-mocha-test-runner/tsconfig.json +++ b/types/atom-mocha-test-runner/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/atom/tsconfig.json b/types/atom/tsconfig.json index 255161da5d..35ece9c1dd 100644 --- a/types/atom/tsconfig.json +++ b/types/atom/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/atpl/tsconfig.json b/types/atpl/tsconfig.json index 29701793a6..24f7da314f 100644 --- a/types/atpl/tsconfig.json +++ b/types/atpl/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/audiosprite/tsconfig.json b/types/audiosprite/tsconfig.json index b62f115d3e..b761c9572e 100644 --- a/types/audiosprite/tsconfig.json +++ b/types/audiosprite/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/auth0-angular/tsconfig.json b/types/auth0-angular/tsconfig.json index 7ebb721b12..42ee707301 100644 --- a/types/auth0-angular/tsconfig.json +++ b/types/auth0-angular/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/auth0-js/tsconfig.json b/types/auth0-js/tsconfig.json index 94352610d5..a813aae68d 100644 --- a/types/auth0-js/tsconfig.json +++ b/types/auth0-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/auth0-js/v7/tsconfig.json b/types/auth0-js/v7/tsconfig.json index a545bdd735..e76b7d7dd8 100644 --- a/types/auth0-js/v7/tsconfig.json +++ b/types/auth0-js/v7/tsconfig.json @@ -23,8 +23,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/auth0-lock/tsconfig.json b/types/auth0-lock/tsconfig.json index 4f1a4777b1..2e008d7c0d 100644 --- a/types/auth0-lock/tsconfig.json +++ b/types/auth0-lock/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/auth0.widget/tsconfig.json b/types/auth0.widget/tsconfig.json index bcf85a4971..d18a18213b 100644 --- a/types/auth0.widget/tsconfig.json +++ b/types/auth0.widget/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/auth0/tsconfig.json b/types/auth0/tsconfig.json index 035f06fa53..dd7c60796c 100644 --- a/types/auth0/tsconfig.json +++ b/types/auth0/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/auto-launch/tsconfig.json b/types/auto-launch/tsconfig.json index ae1120e02d..952d3c0c5d 100644 --- a/types/auto-launch/tsconfig.json +++ b/types/auto-launch/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/auto-sni/tsconfig.json b/types/auto-sni/tsconfig.json index 9a339b5439..9c03900b72 100644 --- a/types/auto-sni/tsconfig.json +++ b/types/auto-sni/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/autobahn/tsconfig.json b/types/autobahn/tsconfig.json index a3b68fe8fd..35ca105b25 100644 --- a/types/autobahn/tsconfig.json +++ b/types/autobahn/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/autolinker/tsconfig.json b/types/autolinker/tsconfig.json index 14a6b796bf..7d8068c47c 100644 --- a/types/autolinker/tsconfig.json +++ b/types/autolinker/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/autoprefixer-core/tsconfig.json b/types/autoprefixer-core/tsconfig.json index ec4c2ed5c6..91b4bc2e7c 100644 --- a/types/autoprefixer-core/tsconfig.json +++ b/types/autoprefixer-core/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/autoprefixer/tsconfig.json b/types/autoprefixer/tsconfig.json index 526589c957..92adece604 100644 --- a/types/autoprefixer/tsconfig.json +++ b/types/autoprefixer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/autosize/tsconfig.json b/types/autosize/tsconfig.json index 40eb47cb0e..d74b3d9c37 100644 --- a/types/autosize/tsconfig.json +++ b/types/autosize/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/avoscloud-sdk/tsconfig.json b/types/avoscloud-sdk/tsconfig.json index 4500518b48..2d3d9589f4 100644 --- a/types/avoscloud-sdk/tsconfig.json +++ b/types/avoscloud-sdk/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/awesomplete/tsconfig.json b/types/awesomplete/tsconfig.json index c7d261fded..74f690ea77 100644 --- a/types/awesomplete/tsconfig.json +++ b/types/awesomplete/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/aws-iot-device-sdk/tsconfig.json b/types/aws-iot-device-sdk/tsconfig.json index 4b938cc66f..3fdd4b0f28 100644 --- a/types/aws-iot-device-sdk/tsconfig.json +++ b/types/aws-iot-device-sdk/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/aws-lambda-mock-context/tsconfig.json b/types/aws-lambda-mock-context/tsconfig.json index 8587235c8a..5d1dfe3f1f 100644 --- a/types/aws-lambda-mock-context/tsconfig.json +++ b/types/aws-lambda-mock-context/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/aws-lambda/tsconfig.json b/types/aws-lambda/tsconfig.json index ffb0849a71..79e058b7ab 100644 --- a/types/aws-lambda/tsconfig.json +++ b/types/aws-lambda/tsconfig.json @@ -14,11 +14,10 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "aws-lambda-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/aws-serverless-express/tsconfig.json b/types/aws-serverless-express/tsconfig.json index 6c4cceb55a..be920785f5 100644 --- a/types/aws-serverless-express/tsconfig.json +++ b/types/aws-serverless-express/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/aws4/tsconfig.json b/types/aws4/tsconfig.json index 014d560bbd..a0bcbfa73e 100644 --- a/types/aws4/tsconfig.json +++ b/types/aws4/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/axel/tsconfig.json b/types/axel/tsconfig.json index ef8d480470..a3e2b5e015 100644 --- a/types/axel/tsconfig.json +++ b/types/axel/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "axel-tests.ts", diff --git a/types/azure-mobile-services-client/tsconfig.json b/types/azure-mobile-services-client/tsconfig.json index a31791ed92..1d424df8c4 100644 --- a/types/azure-mobile-services-client/tsconfig.json +++ b/types/azure-mobile-services-client/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/azure-sb/tsconfig.json b/types/azure-sb/tsconfig.json index d111d611fb..6e015480dc 100644 --- a/types/azure-sb/tsconfig.json +++ b/types/azure-sb/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "lib/servicebusservice.d.ts", diff --git a/types/azure/tsconfig.json b/types/azure/tsconfig.json index df0f82f64b..0c4b536df2 100644 --- a/types/azure/tsconfig.json +++ b/types/azure/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/b_/tsconfig.json b/types/b_/tsconfig.json index 6dfab1f4a1..9227b30bf1 100644 --- a/types/b_/tsconfig.json +++ b/types/b_/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/babel-code-frame/tsconfig.json b/types/babel-code-frame/tsconfig.json index 57a0a8bb26..48e33ae829 100644 --- a/types/babel-code-frame/tsconfig.json +++ b/types/babel-code-frame/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/babel-core/tsconfig.json b/types/babel-core/tsconfig.json index 11a8a8f40c..41aee71205 100644 --- a/types/babel-core/tsconfig.json +++ b/types/babel-core/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/babel-generator/tsconfig.json b/types/babel-generator/tsconfig.json index 3024006f80..76d138f54d 100644 --- a/types/babel-generator/tsconfig.json +++ b/types/babel-generator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/babel-plugin-react-pug/tsconfig.json b/types/babel-plugin-react-pug/tsconfig.json index b29df5be30..6cb3ae3ee1 100644 --- a/types/babel-plugin-react-pug/tsconfig.json +++ b/types/babel-plugin-react-pug/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/babel-plugin-syntax-jsx/tsconfig.json b/types/babel-plugin-syntax-jsx/tsconfig.json index c139912293..6b52644488 100644 --- a/types/babel-plugin-syntax-jsx/tsconfig.json +++ b/types/babel-plugin-syntax-jsx/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/babel-template/tsconfig.json b/types/babel-template/tsconfig.json index 4dc5b17820..96de23cec7 100644 --- a/types/babel-template/tsconfig.json +++ b/types/babel-template/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/babel-traverse/tsconfig.json b/types/babel-traverse/tsconfig.json index dfbed1aef9..03dfa6ea51 100644 --- a/types/babel-traverse/tsconfig.json +++ b/types/babel-traverse/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/babel-types/tsconfig.json b/types/babel-types/tsconfig.json index ec251d52b2..92d7d6442e 100644 --- a/types/babel-types/tsconfig.json +++ b/types/babel-types/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/babel-webpack-plugin/tsconfig.json b/types/babel-webpack-plugin/tsconfig.json index 78fccc30bc..b7aadac43d 100644 --- a/types/babel-webpack-plugin/tsconfig.json +++ b/types/babel-webpack-plugin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/babelify/tsconfig.json b/types/babelify/tsconfig.json index e54236cdd6..9e07702ef2 100644 --- a/types/babelify/tsconfig.json +++ b/types/babelify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/babylon-walk/tsconfig.json b/types/babylon-walk/tsconfig.json index b92a49ec5e..9e1d7c33b7 100644 --- a/types/babylon-walk/tsconfig.json +++ b/types/babylon-walk/tsconfig.json @@ -14,7 +14,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/babylon/tsconfig.json b/types/babylon/tsconfig.json index 750f9357ac..94d5c0bd59 100644 --- a/types/babylon/tsconfig.json +++ b/types/babylon/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/babyparse/tsconfig.json b/types/babyparse/tsconfig.json index 86af41a356..da28a97d29 100644 --- a/types/babyparse/tsconfig.json +++ b/types/babyparse/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/backbone-associations/tsconfig.json b/types/backbone-associations/tsconfig.json index b822a91a70..7f905ff541 100644 --- a/types/backbone-associations/tsconfig.json +++ b/types/backbone-associations/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/backbone-fetch-cache/tsconfig.json b/types/backbone-fetch-cache/tsconfig.json index bf3efc040a..28c3240abc 100644 --- a/types/backbone-fetch-cache/tsconfig.json +++ b/types/backbone-fetch-cache/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/backbone-relational/tsconfig.json b/types/backbone-relational/tsconfig.json index d0b124e315..961582a08f 100644 --- a/types/backbone-relational/tsconfig.json +++ b/types/backbone-relational/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/backbone.layoutmanager/tsconfig.json b/types/backbone.layoutmanager/tsconfig.json index be801dd5e2..85b5e97b31 100644 --- a/types/backbone.layoutmanager/tsconfig.json +++ b/types/backbone.layoutmanager/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/backbone.localstorage/tsconfig.json b/types/backbone.localstorage/tsconfig.json index f745e8beb4..65302c1d16 100644 --- a/types/backbone.localstorage/tsconfig.json +++ b/types/backbone.localstorage/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/backbone.marionette/tsconfig.json b/types/backbone.marionette/tsconfig.json index a9396b0e55..b31d3cbfa4 100644 --- a/types/backbone.marionette/tsconfig.json +++ b/types/backbone.marionette/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/backbone.paginator/tsconfig.json b/types/backbone.paginator/tsconfig.json index fc77167b76..453c5e2861 100644 --- a/types/backbone.paginator/tsconfig.json +++ b/types/backbone.paginator/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/backbone.radio/tsconfig.json b/types/backbone.radio/tsconfig.json index ebf120cfac..024840f373 100644 --- a/types/backbone.radio/tsconfig.json +++ b/types/backbone.radio/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/backbone/tsconfig.json b/types/backbone/tsconfig.json index 227a495055..c1185d6adf 100644 --- a/types/backbone/tsconfig.json +++ b/types/backbone/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/backgrid/tsconfig.json b/types/backgrid/tsconfig.json index e7449e8481..f2db8efd4c 100644 --- a/types/backgrid/tsconfig.json +++ b/types/backgrid/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/backlog-js/tsconfig.json b/types/backlog-js/tsconfig.json index 5e2cfc0b1c..360392d4ca 100644 --- a/types/backlog-js/tsconfig.json +++ b/types/backlog-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/backoff/tsconfig.json b/types/backoff/tsconfig.json index 71a863de5b..1946d82f81 100644 --- a/types/backoff/tsconfig.json +++ b/types/backoff/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/baconjs/tsconfig.json b/types/baconjs/tsconfig.json index 4da0a4158f..c9d82e16f7 100644 --- a/types/baconjs/tsconfig.json +++ b/types/baconjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bagpipes/tsconfig.json b/types/bagpipes/tsconfig.json index db3bcb65b2..56d9d43a52 100755 --- a/types/bagpipes/tsconfig.json +++ b/types/bagpipes/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/baidumap-web-sdk/tsconfig.json b/types/baidumap-web-sdk/tsconfig.json index a0ee2590d8..6504c4665a 100644 --- a/types/baidumap-web-sdk/tsconfig.json +++ b/types/baidumap-web-sdk/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/barcode/tsconfig.json b/types/barcode/tsconfig.json index f608cf0384..a66d2ab178 100644 --- a/types/barcode/tsconfig.json +++ b/types/barcode/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bardjs/tsconfig.json b/types/bardjs/tsconfig.json index bf1bcdf426..bd5226a586 100644 --- a/types/bardjs/tsconfig.json +++ b/types/bardjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/base-64/tsconfig.json b/types/base-64/tsconfig.json index a4ca7d05ca..49de73c3ef 100644 --- a/types/base-64/tsconfig.json +++ b/types/base-64/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/base-x/tsconfig.json b/types/base-x/tsconfig.json index 42a2d63c40..d69790c7d6 100644 --- a/types/base-x/tsconfig.json +++ b/types/base-x/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/base16/tsconfig.json b/types/base16/tsconfig.json index 01e600fe79..d354b0ba01 100644 --- a/types/base16/tsconfig.json +++ b/types/base16/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/base64-js/tsconfig.json b/types/base64-js/tsconfig.json index 0199f01efa..3a65d8af45 100644 --- a/types/base64-js/tsconfig.json +++ b/types/base64-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bases/tsconfig.json b/types/bases/tsconfig.json index 97e27e72e2..4b8912ac99 100644 --- a/types/bases/tsconfig.json +++ b/types/bases/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bash-glob/tsconfig.json b/types/bash-glob/tsconfig.json index 0fdaf237e6..d62dc6e114 100644 --- a/types/bash-glob/tsconfig.json +++ b/types/bash-glob/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/basic-auth/tsconfig.json b/types/basic-auth/tsconfig.json index 09bfa7fda6..7c49ef4d01 100644 --- a/types/basic-auth/tsconfig.json +++ b/types/basic-auth/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/batch-stream/tsconfig.json b/types/batch-stream/tsconfig.json index e746a4a8a2..e99f40b376 100644 --- a/types/batch-stream/tsconfig.json +++ b/types/batch-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bazinga-translator/tsconfig.json b/types/bazinga-translator/tsconfig.json index 22d98fdda3..1ca08ada9b 100644 --- a/types/bazinga-translator/tsconfig.json +++ b/types/bazinga-translator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bcrypt-nodejs/tsconfig.json b/types/bcrypt-nodejs/tsconfig.json index ffce95575f..1d7991ff5f 100644 --- a/types/bcrypt-nodejs/tsconfig.json +++ b/types/bcrypt-nodejs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bcrypt/tsconfig.json b/types/bcrypt/tsconfig.json index 484a20da18..97c8808944 100644 --- a/types/bcrypt/tsconfig.json +++ b/types/bcrypt/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bcryptjs/tsconfig.json b/types/bcryptjs/tsconfig.json index f20bc8f4bf..094f87744c 100644 --- a/types/bcryptjs/tsconfig.json +++ b/types/bcryptjs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/beats/tsconfig.json b/types/beats/tsconfig.json index 51a7504c29..7b360083c1 100644 --- a/types/beats/tsconfig.json +++ b/types/beats/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bech32/tsconfig.json b/types/bech32/tsconfig.json index 6fd17c5386..501b2438b2 100644 --- a/types/bech32/tsconfig.json +++ b/types/bech32/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bem-cn/tsconfig.json b/types/bem-cn/tsconfig.json index fcef3bbd2f..e9212d8d91 100644 --- a/types/bem-cn/tsconfig.json +++ b/types/bem-cn/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/benchmark/tsconfig.json b/types/benchmark/tsconfig.json index 252c53edbf..ba1b6a3e55 100644 --- a/types/benchmark/tsconfig.json +++ b/types/benchmark/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/better-curry/tsconfig.json b/types/better-curry/tsconfig.json index ca9c7198ad..e5ceee43fc 100644 --- a/types/better-curry/tsconfig.json +++ b/types/better-curry/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/better-sqlite3/tsconfig.json b/types/better-sqlite3/tsconfig.json index 498fdb02b0..30a480355b 100644 --- a/types/better-sqlite3/tsconfig.json +++ b/types/better-sqlite3/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bezier-easing/tsconfig.json b/types/bezier-easing/tsconfig.json index cb1796c552..2603e9bae8 100644 --- a/types/bezier-easing/tsconfig.json +++ b/types/bezier-easing/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bezier-js/tsconfig.json b/types/bezier-js/tsconfig.json index ed32c02bde..02796cc09c 100644 --- a/types/bezier-js/tsconfig.json +++ b/types/bezier-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bgiframe/tsconfig.json b/types/bgiframe/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/bgiframe/tsconfig.json +++ b/types/bgiframe/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/big.js/tsconfig.json b/types/big.js/tsconfig.json index f0a159d0df..950e8b410f 100644 --- a/types/big.js/tsconfig.json +++ b/types/big.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bigi/tsconfig.json b/types/bigi/tsconfig.json index d2a61fc6d4..de6aa90a97 100644 --- a/types/bigi/tsconfig.json +++ b/types/bigi/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bigint/tsconfig.json b/types/bigint/tsconfig.json index 37b2fc8ffe..37005189a4 100644 --- a/types/bigint/tsconfig.json +++ b/types/bigint/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bignum/tsconfig.json b/types/bignum/tsconfig.json index 64fc11893f..15cb8a7b4f 100644 --- a/types/bignum/tsconfig.json +++ b/types/bignum/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bigscreen/tsconfig.json b/types/bigscreen/tsconfig.json index 16e554a953..71230cc8e1 100644 --- a/types/bigscreen/tsconfig.json +++ b/types/bigscreen/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/binary-parser/tsconfig.json b/types/binary-parser/tsconfig.json index 5f5844d984..5e720245df 100644 --- a/types/binary-parser/tsconfig.json +++ b/types/binary-parser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bind-ponyfill/tsconfig.json b/types/bind-ponyfill/tsconfig.json index bc3d132161..29d2a7cac2 100644 --- a/types/bind-ponyfill/tsconfig.json +++ b/types/bind-ponyfill/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bindings/tsconfig.json b/types/bindings/tsconfig.json index 885e8058e8..787b28c3d0 100644 --- a/types/bindings/tsconfig.json +++ b/types/bindings/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bingmaps/tsconfig.json b/types/bingmaps/tsconfig.json index f3efc20f2b..421876221b 100644 --- a/types/bingmaps/tsconfig.json +++ b/types/bingmaps/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bintrees/tsconfig.json b/types/bintrees/tsconfig.json index 13adede158..d21ec38c1e 100644 --- a/types/bintrees/tsconfig.json +++ b/types/bintrees/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bip21/tsconfig.json b/types/bip21/tsconfig.json index c487184fe8..be0b017722 100644 --- a/types/bip21/tsconfig.json +++ b/types/bip21/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bip38/tsconfig.json b/types/bip38/tsconfig.json index b490f75d5b..74baba8f90 100644 --- a/types/bip38/tsconfig.json +++ b/types/bip38/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bip39/tsconfig.json b/types/bip39/tsconfig.json index d3452a293a..bb95bb90d0 100644 --- a/types/bip39/tsconfig.json +++ b/types/bip39/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bit-array/tsconfig.json b/types/bit-array/tsconfig.json index 589e137b19..ba2e9e32a2 100644 --- a/types/bit-array/tsconfig.json +++ b/types/bit-array/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bitcoinjs-lib/tsconfig.json b/types/bitcoinjs-lib/tsconfig.json index 35de2c3aab..f874ae9858 100644 --- a/types/bitcoinjs-lib/tsconfig.json +++ b/types/bitcoinjs-lib/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bitcore-lib/tsconfig.json b/types/bitcore-lib/tsconfig.json index 156908fedc..30334d3846 100644 --- a/types/bitcore-lib/tsconfig.json +++ b/types/bitcore-lib/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": ["es6"], - "target": "es6", - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true - }, - "files": [ - "index.d.ts", - "bitcore-lib-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "target": "es6", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "bitcore-lib-tests.ts" + ] +} \ No newline at end of file diff --git a/types/bittorrent-protocol/tsconfig.json b/types/bittorrent-protocol/tsconfig.json index 311ea796cb..f128669698 100644 --- a/types/bittorrent-protocol/tsconfig.json +++ b/types/bittorrent-protocol/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bitwise-xor/tsconfig.json b/types/bitwise-xor/tsconfig.json index 35574c6254..a6b66cda37 100644 --- a/types/bitwise-xor/tsconfig.json +++ b/types/bitwise-xor/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bl/tsconfig.json b/types/bl/tsconfig.json index 96ce63bb4e..0f7c861ce8 100644 --- a/types/bl/tsconfig.json +++ b/types/bl/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/blacklist/tsconfig.json b/types/blacklist/tsconfig.json index 4e45bff651..76cb49e40f 100644 --- a/types/blacklist/tsconfig.json +++ b/types/blacklist/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/blazy/tsconfig.json b/types/blazy/tsconfig.json index 8e6b8be63e..e452d910ec 100644 --- a/types/blazy/tsconfig.json +++ b/types/blazy/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bleno/tsconfig.json b/types/bleno/tsconfig.json index ddc7332cf7..338f3e3d24 100644 --- a/types/bleno/tsconfig.json +++ b/types/bleno/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/blessed/tsconfig.json b/types/blessed/tsconfig.json index 663cf64ce8..e57d4b78d6 100644 --- a/types/blessed/tsconfig.json +++ b/types/blessed/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/blissfuljs/tsconfig.json b/types/blissfuljs/tsconfig.json index 16201714f3..42087d76ef 100644 --- a/types/blissfuljs/tsconfig.json +++ b/types/blissfuljs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/blob-stream/tsconfig.json b/types/blob-stream/tsconfig.json index c8ae5c3565..2ebe6cacb9 100644 --- a/types/blob-stream/tsconfig.json +++ b/types/blob-stream/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/blob-to-buffer/tsconfig.json b/types/blob-to-buffer/tsconfig.json index ed4fc69e7b..37848b0516 100644 --- a/types/blob-to-buffer/tsconfig.json +++ b/types/blob-to-buffer/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/blob-util/tsconfig.json b/types/blob-util/tsconfig.json index 2f53f29186..7f7970ab0b 100644 --- a/types/blob-util/tsconfig.json +++ b/types/blob-util/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/blocks/tsconfig.json b/types/blocks/tsconfig.json index 4203094315..85da699a13 100644 --- a/types/blocks/tsconfig.json +++ b/types/blocks/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bloomfilter/tsconfig.json b/types/bloomfilter/tsconfig.json index 578ee0b36b..76ea34c251 100644 --- a/types/bloomfilter/tsconfig.json +++ b/types/bloomfilter/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/blue-tape/tsconfig.json b/types/blue-tape/tsconfig.json index 5271d69567..a4fc12b9e1 100644 --- a/types/blue-tape/tsconfig.json +++ b/types/blue-tape/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bluebird-global/tsconfig.json b/types/bluebird-global/tsconfig.json index 5256c6c206..d037429e0d 100644 --- a/types/bluebird-global/tsconfig.json +++ b/types/bluebird-global/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bluebird-retry/tsconfig.json b/types/bluebird-retry/tsconfig.json index ea6622b197..5ae2b487db 100644 --- a/types/bluebird-retry/tsconfig.json +++ b/types/bluebird-retry/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bluebird/tsconfig.json b/types/bluebird/tsconfig.json index b0b641abfd..5ab3ff2494 100644 --- a/types/bluebird/tsconfig.json +++ b/types/bluebird/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/bluebird/v1/tsconfig.json b/types/bluebird/v1/tsconfig.json index 1a61a9f82c..3e22a6a885 100644 --- a/types/bluebird/v1/tsconfig.json +++ b/types/bluebird/v1/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bluebird/v2/tsconfig.json b/types/bluebird/v2/tsconfig.json index e58ea42703..773747fb4a 100644 --- a/types/bluebird/v2/tsconfig.json +++ b/types/bluebird/v2/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/blueimp-md5/tsconfig.json b/types/blueimp-md5/tsconfig.json index 84d291ab5f..286b0abda2 100644 --- a/types/blueimp-md5/tsconfig.json +++ b/types/blueimp-md5/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/body-parser/tsconfig.json b/types/body-parser/tsconfig.json index fcab8a9b2c..9c0314a557 100644 --- a/types/body-parser/tsconfig.json +++ b/types/body-parser/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bonjour/tsconfig.json b/types/bonjour/tsconfig.json index 8840a855b0..8cc7d3f823 100644 --- a/types/bonjour/tsconfig.json +++ b/types/bonjour/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bookshelf/tsconfig.json b/types/bookshelf/tsconfig.json index 97c8b4593f..e983e9b53c 100644 --- a/types/bookshelf/tsconfig.json +++ b/types/bookshelf/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/boolify-string/tsconfig.json b/types/boolify-string/tsconfig.json index dee33294ce..fcc1b15038 100644 --- a/types/boolify-string/tsconfig.json +++ b/types/boolify-string/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/boom/tsconfig.json b/types/boom/tsconfig.json index dc98c5e8dd..81f6f5cacf 100644 --- a/types/boom/tsconfig.json +++ b/types/boom/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/boom/v3/tsconfig.json b/types/boom/v3/tsconfig.json index 5e710a4782..1f8b8e7f4a 100644 --- a/types/boom/v3/tsconfig.json +++ b/types/boom/v3/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/boom/v4/tsconfig.json b/types/boom/v4/tsconfig.json index 0a547414fb..f8f2968c34 100644 --- a/types/boom/v4/tsconfig.json +++ b/types/boom/v4/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bootbox/tsconfig.json b/types/bootbox/tsconfig.json index c5edc1ed75..75da35b2bc 100644 --- a/types/bootbox/tsconfig.json +++ b/types/bootbox/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bootpag/tsconfig.json b/types/bootpag/tsconfig.json index 6861920942..69b09cc3a6 100644 --- a/types/bootpag/tsconfig.json +++ b/types/bootpag/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-3-typeahead/tsconfig.json b/types/bootstrap-3-typeahead/tsconfig.json index d8226518b8..94e92a0050 100644 --- a/types/bootstrap-3-typeahead/tsconfig.json +++ b/types/bootstrap-3-typeahead/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-datepicker/tsconfig.json b/types/bootstrap-datepicker/tsconfig.json index a8fed647e2..6770944b42 100644 --- a/types/bootstrap-datepicker/tsconfig.json +++ b/types/bootstrap-datepicker/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-fileinput/tsconfig.json b/types/bootstrap-fileinput/tsconfig.json index b4076b50e2..fa1c069762 100644 --- a/types/bootstrap-fileinput/tsconfig.json +++ b/types/bootstrap-fileinput/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/bootstrap-growl-ifightcrime/tsconfig.json b/types/bootstrap-growl-ifightcrime/tsconfig.json index fc7523d1ed..dbeadea241 100644 --- a/types/bootstrap-growl-ifightcrime/tsconfig.json +++ b/types/bootstrap-growl-ifightcrime/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-maxlength/tsconfig.json b/types/bootstrap-maxlength/tsconfig.json index e4b44ea983..403883963c 100644 --- a/types/bootstrap-maxlength/tsconfig.json +++ b/types/bootstrap-maxlength/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-notify/tsconfig.json b/types/bootstrap-notify/tsconfig.json index 655e25aee4..f833291433 100644 --- a/types/bootstrap-notify/tsconfig.json +++ b/types/bootstrap-notify/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-select/tsconfig.json b/types/bootstrap-select/tsconfig.json index 5e091020b7..108bd0a43f 100644 --- a/types/bootstrap-select/tsconfig.json +++ b/types/bootstrap-select/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-slider/tsconfig.json b/types/bootstrap-slider/tsconfig.json index 290df45757..7400a08d09 100644 --- a/types/bootstrap-slider/tsconfig.json +++ b/types/bootstrap-slider/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-switch/tsconfig.json b/types/bootstrap-switch/tsconfig.json index 12b39ceee9..794d73cac9 100644 --- a/types/bootstrap-switch/tsconfig.json +++ b/types/bootstrap-switch/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-table/tsconfig.json b/types/bootstrap-table/tsconfig.json index 8ce2a4f120..b38fb73330 100644 --- a/types/bootstrap-table/tsconfig.json +++ b/types/bootstrap-table/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-touchspin/tsconfig.json b/types/bootstrap-touchspin/tsconfig.json index dd3a9a264f..1ce86dec76 100644 --- a/types/bootstrap-touchspin/tsconfig.json +++ b/types/bootstrap-touchspin/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-treeview/tsconfig.json b/types/bootstrap-treeview/tsconfig.json index 07ec80679b..30898529bb 100644 --- a/types/bootstrap-treeview/tsconfig.json +++ b/types/bootstrap-treeview/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap-validator/tsconfig.json b/types/bootstrap-validator/tsconfig.json index c2fe1d7649..4f61ae94f9 100644 --- a/types/bootstrap-validator/tsconfig.json +++ b/types/bootstrap-validator/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bootstrap.paginator/tsconfig.json b/types/bootstrap.paginator/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/bootstrap.paginator/tsconfig.json +++ b/types/bootstrap.paginator/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/bootstrap.timepicker/tsconfig.json b/types/bootstrap.timepicker/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/bootstrap.timepicker/tsconfig.json +++ b/types/bootstrap.timepicker/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/bootstrap.v3.datetimepicker/tsconfig.json b/types/bootstrap.v3.datetimepicker/tsconfig.json index 07477e55ee..36febd5a8f 100644 --- a/types/bootstrap.v3.datetimepicker/tsconfig.json +++ b/types/bootstrap.v3.datetimepicker/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/bootstrap.v3.datetimepicker/v3/tsconfig.json b/types/bootstrap.v3.datetimepicker/v3/tsconfig.json index 2647486a31..3dcc23bdff 100644 --- a/types/bootstrap.v3.datetimepicker/v3/tsconfig.json +++ b/types/bootstrap.v3.datetimepicker/v3/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/bootstrap/tsconfig.json b/types/bootstrap/tsconfig.json index 69b44a5acc..536901e8a6 100644 --- a/types/bootstrap/tsconfig.json +++ b/types/bootstrap/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bounce.js/tsconfig.json b/types/bounce.js/tsconfig.json index e98358df0d..a0f7048729 100644 --- a/types/bounce.js/tsconfig.json +++ b/types/bounce.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/box2d/tsconfig.json b/types/box2d/tsconfig.json index d2792ff0aa..9fae5e8326 100644 --- a/types/box2d/tsconfig.json +++ b/types/box2d/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/brace-expansion/tsconfig.json b/types/brace-expansion/tsconfig.json index 5bf38b657e..a64fa9ea3b 100644 --- a/types/brace-expansion/tsconfig.json +++ b/types/brace-expansion/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/braces/tsconfig.json b/types/braces/tsconfig.json index 4cea273caa..bdacb750ad 100644 --- a/types/braces/tsconfig.json +++ b/types/braces/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/braft-editor/tsconfig.json b/types/braft-editor/tsconfig.json index f944ddb136..f04b8febfe 100644 --- a/types/braft-editor/tsconfig.json +++ b/types/braft-editor/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/braintree-web/tsconfig.json b/types/braintree-web/tsconfig.json index 8ebecd3737..3a39178d0e 100644 --- a/types/braintree-web/tsconfig.json +++ b/types/braintree-web/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/breeze/tsconfig.json b/types/breeze/tsconfig.json index 6960f68bf4..236bcba327 100644 --- a/types/breeze/tsconfig.json +++ b/types/breeze/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bricks.js/tsconfig.json b/types/bricks.js/tsconfig.json index af736ecb51..5f265430a3 100644 --- a/types/bricks.js/tsconfig.json +++ b/types/bricks.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/brorand/tsconfig.json b/types/brorand/tsconfig.json index 46bf46253f..52e7dbf24c 100644 --- a/types/brorand/tsconfig.json +++ b/types/brorand/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/browser-bunyan/tsconfig.json b/types/browser-bunyan/tsconfig.json index 258572b639..ab3fb51bd2 100644 --- a/types/browser-bunyan/tsconfig.json +++ b/types/browser-bunyan/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/browser-fingerprint/tsconfig.json b/types/browser-fingerprint/tsconfig.json index b542891e6d..7f34a8f380 100644 --- a/types/browser-fingerprint/tsconfig.json +++ b/types/browser-fingerprint/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/browser-harness/tsconfig.json b/types/browser-harness/tsconfig.json index 94f44fa93e..1694e52c08 100644 --- a/types/browser-harness/tsconfig.json +++ b/types/browser-harness/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/browser-pack/tsconfig.json b/types/browser-pack/tsconfig.json index 23cf069267..1dc87a2e2d 100644 --- a/types/browser-pack/tsconfig.json +++ b/types/browser-pack/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/browser-report/tsconfig.json b/types/browser-report/tsconfig.json index d356e5aa89..f0bb076ca9 100644 --- a/types/browser-report/tsconfig.json +++ b/types/browser-report/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/browser-resolve/tsconfig.json b/types/browser-resolve/tsconfig.json index 82c5c037ca..5f873c7ee5 100644 --- a/types/browser-resolve/tsconfig.json +++ b/types/browser-resolve/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/browser-sync/tsconfig.json b/types/browser-sync/tsconfig.json index 0984bd5d70..830268a3a6 100644 --- a/types/browser-sync/tsconfig.json +++ b/types/browser-sync/tsconfig.json @@ -19,8 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/browserify/tsconfig.json b/types/browserify/tsconfig.json index f0588d71c8..df71b7fb3b 100644 --- a/types/browserify/tsconfig.json +++ b/types/browserify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bs58/tsconfig.json b/types/bs58/tsconfig.json index 3c8b90f97d..9e0ed25701 100644 --- a/types/bs58/tsconfig.json +++ b/types/bs58/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bson/tsconfig.json b/types/bson/tsconfig.json index 684c19c644..aa4936d595 100644 --- a/types/bson/tsconfig.json +++ b/types/bson/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bucks/tsconfig.json b/types/bucks/tsconfig.json index fe5a89bfe7..f06df83926 100644 --- a/types/bucks/tsconfig.json +++ b/types/bucks/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/buffer-compare/tsconfig.json b/types/buffer-compare/tsconfig.json index 0c58396698..76638cae6e 100644 --- a/types/buffer-compare/tsconfig.json +++ b/types/buffer-compare/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/buffer-equal/tsconfig.json b/types/buffer-equal/tsconfig.json index d6b1d1f588..5576be8e43 100644 --- a/types/buffer-equal/tsconfig.json +++ b/types/buffer-equal/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/buffers/tsconfig.json b/types/buffers/tsconfig.json index 26bb76ee44..148f3d1dbb 100644 --- a/types/buffers/tsconfig.json +++ b/types/buffers/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bufferstream/tsconfig.json b/types/bufferstream/tsconfig.json index be892dede3..000bd2d09c 100644 --- a/types/bufferstream/tsconfig.json +++ b/types/bufferstream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/builtin-modules/tsconfig.json b/types/builtin-modules/tsconfig.json index 46a9992dab..b8ce33b916 100644 --- a/types/builtin-modules/tsconfig.json +++ b/types/builtin-modules/tsconfig.json @@ -8,7 +8,6 @@ "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, - "esModuleInterop": true, "baseUrl": "../", "typeRoots": [ "../" @@ -22,4 +21,4 @@ "static.d.ts", "builtin-modules-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bull/tsconfig.json b/types/bull/tsconfig.json index 6027d4730a..3ce6f08792 100644 --- a/types/bull/tsconfig.json +++ b/types/bull/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bull/v2/tsconfig.json b/types/bull/v2/tsconfig.json index 980cf8d0cf..c0b2369568 100644 --- a/types/bull/v2/tsconfig.json +++ b/types/bull/v2/tsconfig.json @@ -22,8 +22,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bump-regex/tsconfig.json b/types/bump-regex/tsconfig.json index 404f062975..6e944c4dfe 100644 --- a/types/bump-regex/tsconfig.json +++ b/types/bump-regex/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bunnymq/tsconfig.json b/types/bunnymq/tsconfig.json index 10ba808afe..d1a470e451 100644 --- a/types/bunnymq/tsconfig.json +++ b/types/bunnymq/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bunyan-blackhole/tsconfig.json b/types/bunyan-blackhole/tsconfig.json index 21feb4a051..0266e86bae 100644 --- a/types/bunyan-blackhole/tsconfig.json +++ b/types/bunyan-blackhole/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bunyan-bugsnag/tsconfig.json b/types/bunyan-bugsnag/tsconfig.json index ddfbaa92ab..1910cbaf79 100644 --- a/types/bunyan-bugsnag/tsconfig.json +++ b/types/bunyan-bugsnag/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bunyan-config/tsconfig.json b/types/bunyan-config/tsconfig.json index 818c7dad3f..7866deb22e 100644 --- a/types/bunyan-config/tsconfig.json +++ b/types/bunyan-config/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bunyan-format/tsconfig.json b/types/bunyan-format/tsconfig.json index a40e9a48e5..db6bd4b234 100644 --- a/types/bunyan-format/tsconfig.json +++ b/types/bunyan-format/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bunyan-logentries/tsconfig.json b/types/bunyan-logentries/tsconfig.json index 0f9234b499..f367f2fff8 100644 --- a/types/bunyan-logentries/tsconfig.json +++ b/types/bunyan-logentries/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bunyan-prettystream/tsconfig.json b/types/bunyan-prettystream/tsconfig.json index 8cbd62ba10..ac589169ba 100644 --- a/types/bunyan-prettystream/tsconfig.json +++ b/types/bunyan-prettystream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bunyan-winston-adapter/tsconfig.json b/types/bunyan-winston-adapter/tsconfig.json index 44b0bf2a41..7278f5ac72 100644 --- a/types/bunyan-winston-adapter/tsconfig.json +++ b/types/bunyan-winston-adapter/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bunyan/tsconfig.json b/types/bunyan/tsconfig.json index dfda2cef0e..290ffc3a6d 100644 --- a/types/bunyan/tsconfig.json +++ b/types/bunyan/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/busboy/tsconfig.json b/types/busboy/tsconfig.json index 8e894f9794..6e60377b23 100644 --- a/types/busboy/tsconfig.json +++ b/types/busboy/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/business-rules-engine/tsconfig.json b/types/business-rules-engine/tsconfig.json index 5a5b7469c1..385150055b 100644 --- a/types/business-rules-engine/tsconfig.json +++ b/types/business-rules-engine/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bwip-js/tsconfig.json b/types/bwip-js/tsconfig.json index 8695c19f9f..c421a4a7b6 100644 --- a/types/bwip-js/tsconfig.json +++ b/types/bwip-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/byline/tsconfig.json b/types/byline/tsconfig.json index d4322a5534..f21fc8983d 100644 --- a/types/byline/tsconfig.json +++ b/types/byline/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bytebuffer/tsconfig.json b/types/bytebuffer/tsconfig.json index 580d7bc39a..5fdc833e9b 100644 --- a/types/bytebuffer/tsconfig.json +++ b/types/bytebuffer/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/bytes/tsconfig.json b/types/bytes/tsconfig.json index b541397abf..4de1fdb57a 100644 --- a/types/bytes/tsconfig.json +++ b/types/bytes/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/c3/tsconfig.json b/types/c3/tsconfig.json index 6ec75e8352..fe3b00c503 100644 --- a/types/c3/tsconfig.json +++ b/types/c3/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cache-manager/tsconfig.json b/types/cache-manager/tsconfig.json index 68cda85b6b..f754de4a67 100644 --- a/types/cache-manager/tsconfig.json +++ b/types/cache-manager/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cal-heatmap/tsconfig.json b/types/cal-heatmap/tsconfig.json index b803ce055b..ff8d65a2e2 100644 --- a/types/cal-heatmap/tsconfig.json +++ b/types/cal-heatmap/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/callsite/tsconfig.json b/types/callsite/tsconfig.json index 3210df01f9..473c5c08fd 100644 --- a/types/callsite/tsconfig.json +++ b/types/callsite/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/callsites/tsconfig.json b/types/callsites/tsconfig.json index 6551532b88..010199b740 100644 --- a/types/callsites/tsconfig.json +++ b/types/callsites/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/calq/tsconfig.json b/types/calq/tsconfig.json index cecaa097cd..595f095f74 100644 --- a/types/calq/tsconfig.json +++ b/types/calq/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/camaro/tsconfig.json b/types/camaro/tsconfig.json index 5ebe7d3bb9..6df806555d 100644 --- a/types/camaro/tsconfig.json +++ b/types/camaro/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/camelcase-keys/tsconfig.json b/types/camelcase-keys/tsconfig.json index 0774991702..f99870f8d9 100644 --- a/types/camelcase-keys/tsconfig.json +++ b/types/camelcase-keys/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/camelcase/tsconfig.json b/types/camelcase/tsconfig.json index 28d8446c42..bcc1b505e1 100644 --- a/types/camelcase/tsconfig.json +++ b/types/camelcase/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/camljs/tsconfig.json b/types/camljs/tsconfig.json index ed88508fc3..5fbe5605e9 100644 --- a/types/camljs/tsconfig.json +++ b/types/camljs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/camo/tsconfig.json b/types/camo/tsconfig.json index 089ef0623c..46a6a2814c 100644 --- a/types/camo/tsconfig.json +++ b/types/camo/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cancan/tsconfig.json b/types/cancan/tsconfig.json index f746eff819..304b690c51 100644 --- a/types/cancan/tsconfig.json +++ b/types/cancan/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cannon/tsconfig.json b/types/cannon/tsconfig.json index b75a303b0c..ca5618a8a0 100644 --- a/types/cannon/tsconfig.json +++ b/types/cannon/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/canvas-gauges/tsconfig.json b/types/canvas-gauges/tsconfig.json index 88a7c53ae5..07055c34bb 100644 --- a/types/canvas-gauges/tsconfig.json +++ b/types/canvas-gauges/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/canvasjs/tsconfig.json b/types/canvasjs/tsconfig.json index 3d14bb3e07..57f76052a9 100644 --- a/types/canvasjs/tsconfig.json +++ b/types/canvasjs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/capitalize/tsconfig.json b/types/capitalize/tsconfig.json index 14a386e76d..463b6ca645 100644 --- a/types/capitalize/tsconfig.json +++ b/types/capitalize/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/card-validator/tsconfig.json b/types/card-validator/tsconfig.json index cc89881539..685e0c4bbe 100644 --- a/types/card-validator/tsconfig.json +++ b/types/card-validator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/case-sensitive-paths-webpack-plugin/tsconfig.json b/types/case-sensitive-paths-webpack-plugin/tsconfig.json index bddcd8721e..aa81dd4f9a 100644 --- a/types/case-sensitive-paths-webpack-plugin/tsconfig.json +++ b/types/case-sensitive-paths-webpack-plugin/tsconfig.json @@ -14,7 +14,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/caseless/tsconfig.json b/types/caseless/tsconfig.json index c153bc58d3..2615e35963 100644 --- a/types/caseless/tsconfig.json +++ b/types/caseless/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cash/tsconfig.json b/types/cash/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/cash/tsconfig.json +++ b/types/cash/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/casperjs/tsconfig.json b/types/casperjs/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/casperjs/tsconfig.json +++ b/types/casperjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/cassandra-driver/tsconfig.json b/types/cassandra-driver/tsconfig.json index 5f7dffd9f9..e47bfd4444 100644 --- a/types/cassandra-driver/tsconfig.json +++ b/types/cassandra-driver/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/catalog/tsconfig.json b/types/catalog/tsconfig.json index 00e00ca7a7..ee00ec7af2 100644 --- a/types/catalog/tsconfig.json +++ b/types/catalog/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/catbox/tsconfig.json b/types/catbox/tsconfig.json index 424dece7ec..24e8f7f34e 100644 --- a/types/catbox/tsconfig.json +++ b/types/catbox/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cbor/tsconfig.json b/types/cbor/tsconfig.json index 1211823d22..199ead141d 100644 --- a/types/cbor/tsconfig.json +++ b/types/cbor/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ccap/tsconfig.json b/types/ccap/tsconfig.json index a043df5754..e4fa68a956 100644 --- a/types/ccap/tsconfig.json +++ b/types/ccap/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chai-arrays/tsconfig.json b/types/chai-arrays/tsconfig.json index f1d8d90394..84b3de823b 100644 --- a/types/chai-arrays/tsconfig.json +++ b/types/chai-arrays/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chai-as-promised/tsconfig.json b/types/chai-as-promised/tsconfig.json index 002750f2df..2d1a15b6eb 100644 --- a/types/chai-as-promised/tsconfig.json +++ b/types/chai-as-promised/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chai-datetime/tsconfig.json b/types/chai-datetime/tsconfig.json index be6e164724..93d28d082f 100644 --- a/types/chai-datetime/tsconfig.json +++ b/types/chai-datetime/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chai-dom/tsconfig.json b/types/chai-dom/tsconfig.json index e6c3147faf..8840510c78 100644 --- a/types/chai-dom/tsconfig.json +++ b/types/chai-dom/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chai-enzyme/tsconfig.json b/types/chai-enzyme/tsconfig.json index 0beb02ded3..4b7cdcf075 100644 --- a/types/chai-enzyme/tsconfig.json +++ b/types/chai-enzyme/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/chai-fuzzy/tsconfig.json b/types/chai-fuzzy/tsconfig.json index 13b8041e55..c6254dc8d8 100644 --- a/types/chai-fuzzy/tsconfig.json +++ b/types/chai-fuzzy/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chai-http/tsconfig.json b/types/chai-http/tsconfig.json index 0f73b862cd..3554b4ab09 100644 --- a/types/chai-http/tsconfig.json +++ b/types/chai-http/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chai-jest-snapshot/tsconfig.json b/types/chai-jest-snapshot/tsconfig.json index d466996d29..ae15eb95a0 100644 --- a/types/chai-jest-snapshot/tsconfig.json +++ b/types/chai-jest-snapshot/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chai-jquery/tsconfig.json b/types/chai-jquery/tsconfig.json index b7a09dd6fd..b26a07d06d 100644 --- a/types/chai-jquery/tsconfig.json +++ b/types/chai-jquery/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chai-json-schema/tsconfig.json b/types/chai-json-schema/tsconfig.json index fe54d634bf..9c8408ae05 100644 --- a/types/chai-json-schema/tsconfig.json +++ b/types/chai-json-schema/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chai-oequal/tsconfig.json b/types/chai-oequal/tsconfig.json index a2f5f9697e..0e63915d75 100644 --- a/types/chai-oequal/tsconfig.json +++ b/types/chai-oequal/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chai-spies/tsconfig.json b/types/chai-spies/tsconfig.json index 0125b21a90..a439cf07a4 100644 --- a/types/chai-spies/tsconfig.json +++ b/types/chai-spies/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chai-string/tsconfig.json b/types/chai-string/tsconfig.json index bfea2831a3..1227af23ab 100644 --- a/types/chai-string/tsconfig.json +++ b/types/chai-string/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chai-subset/tsconfig.json b/types/chai-subset/tsconfig.json index 3c4fceea1e..c79fad5e82 100644 --- a/types/chai-subset/tsconfig.json +++ b/types/chai-subset/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chai-things/tsconfig.json b/types/chai-things/tsconfig.json index 451820be5f..84e31abe2f 100644 --- a/types/chai-things/tsconfig.json +++ b/types/chai-things/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chai-webdriverio/tsconfig.json b/types/chai-webdriverio/tsconfig.json index 6f99050ed5..c44958af89 100644 --- a/types/chai-webdriverio/tsconfig.json +++ b/types/chai-webdriverio/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chai-xml/tsconfig.json b/types/chai-xml/tsconfig.json index 5c6cb3e360..95a0d68969 100644 --- a/types/chai-xml/tsconfig.json +++ b/types/chai-xml/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chai/tsconfig.json b/types/chai/tsconfig.json index eb0c557006..4e0c687060 100644 --- a/types/chai/tsconfig.json +++ b/types/chai/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/chai/v2/tsconfig.json b/types/chai/v2/tsconfig.json index e2efdb7c51..927a017f3d 100644 --- a/types/chai/v2/tsconfig.json +++ b/types/chai/v2/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/chance/tsconfig.json b/types/chance/tsconfig.json index 660b15aed2..f05e6076cc 100644 --- a/types/chance/tsconfig.json +++ b/types/chance/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/change-emitter/tsconfig.json b/types/change-emitter/tsconfig.json index e0c6ea9a00..208441aafa 100644 --- a/types/change-emitter/tsconfig.json +++ b/types/change-emitter/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/charm/tsconfig.json b/types/charm/tsconfig.json index 8e481fdee8..40eba0a076 100644 --- a/types/charm/tsconfig.json +++ b/types/charm/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/charset/tsconfig.json b/types/charset/tsconfig.json index 089cfffc1c..7c45445f29 100644 --- a/types/charset/tsconfig.json +++ b/types/charset/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chart.js/tsconfig.json b/types/chart.js/tsconfig.json index eb4278aa82..3b5b6bffed 100644 --- a/types/chart.js/tsconfig.json +++ b/types/chart.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chartist/tsconfig.json b/types/chartist/tsconfig.json index d4b563655d..afe951be86 100644 --- a/types/chartist/tsconfig.json +++ b/types/chartist/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chayns/tsconfig.json b/types/chayns/tsconfig.json index b5b318b647..4ac301174a 100644 --- a/types/chayns/tsconfig.json +++ b/types/chayns/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/check-sum/tsconfig.json b/types/check-sum/tsconfig.json index 655aac3937..5d2955a50f 100644 --- a/types/check-sum/tsconfig.json +++ b/types/check-sum/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/check-types/tsconfig.json b/types/check-types/tsconfig.json index 95a7ed6992..2f4d8d07c3 100644 --- a/types/check-types/tsconfig.json +++ b/types/check-types/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/checkstyle-formatter/tsconfig.json b/types/checkstyle-formatter/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/checkstyle-formatter/tsconfig.json +++ b/types/checkstyle-formatter/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/checksum/tsconfig.json b/types/checksum/tsconfig.json index 7ef760cb8b..21e5de17ab 100644 --- a/types/checksum/tsconfig.json +++ b/types/checksum/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cheerio/tsconfig.json b/types/cheerio/tsconfig.json index 772ae1fb47..63c3aed57c 100644 --- a/types/cheerio/tsconfig.json +++ b/types/cheerio/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chessboardjs/tsconfig.json b/types/chessboardjs/tsconfig.json index bc6246b6e9..883206b752 100644 --- a/types/chessboardjs/tsconfig.json +++ b/types/chessboardjs/tsconfig.json @@ -15,11 +15,10 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "chessboardjs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/chmodr/tsconfig.json b/types/chmodr/tsconfig.json index a5832362a1..44e07784ac 100644 --- a/types/chmodr/tsconfig.json +++ b/types/chmodr/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chocolatechipjs/tsconfig.json b/types/chocolatechipjs/tsconfig.json index 158cf322ee..d56dd67e2d 100644 --- a/types/chocolatechipjs/tsconfig.json +++ b/types/chocolatechipjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chokidar/tsconfig.json b/types/chokidar/tsconfig.json index b425370a98..77a34a3964 100644 --- a/types/chokidar/tsconfig.json +++ b/types/chokidar/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chosen-js/tsconfig.json b/types/chosen-js/tsconfig.json index 64efa066d5..9f4ce049cb 100644 --- a/types/chosen-js/tsconfig.json +++ b/types/chosen-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chownr/tsconfig.json b/types/chownr/tsconfig.json index 9a71fc1aa4..7b20bfde66 100644 --- a/types/chownr/tsconfig.json +++ b/types/chownr/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chroma-js/tsconfig.json b/types/chroma-js/tsconfig.json index efa5a84ce3..af142ac45e 100644 --- a/types/chroma-js/tsconfig.json +++ b/types/chroma-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chroma-js/v0/tsconfig.json b/types/chroma-js/v0/tsconfig.json index 2b91bad45b..93226eedaf 100644 --- a/types/chroma-js/v0/tsconfig.json +++ b/types/chroma-js/v0/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chrome/tsconfig.json b/types/chrome/tsconfig.json index 96b0958f3b..1463d006eb 100644 --- a/types/chrome/tsconfig.json +++ b/types/chrome/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/chui/tsconfig.json b/types/chui/tsconfig.json index 49c70bca09..5463478868 100644 --- a/types/chui/tsconfig.json +++ b/types/chui/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/circular-json/tsconfig.json b/types/circular-json/tsconfig.json index b64620dc44..65bd131757 100644 --- a/types/circular-json/tsconfig.json +++ b/types/circular-json/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ckeditor/tsconfig.json b/types/ckeditor/tsconfig.json index 5d44d8a447..e845e96c0a 100644 --- a/types/ckeditor/tsconfig.json +++ b/types/ckeditor/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/clamp-js-main/tsconfig.json b/types/clamp-js-main/tsconfig.json index 716247df25..38e5f2271d 100644 --- a/types/clamp-js-main/tsconfig.json +++ b/types/clamp-js-main/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/clamp-js/tsconfig.json b/types/clamp-js/tsconfig.json index 3df9b8641f..d858957f4b 100644 --- a/types/clamp-js/tsconfig.json +++ b/types/clamp-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/classnames/tsconfig.json b/types/classnames/tsconfig.json index 2e41facc15..f9b03432fc 100644 --- a/types/classnames/tsconfig.json +++ b/types/classnames/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cldrjs/tsconfig.json b/types/cldrjs/tsconfig.json index 9ae399aafb..b17ea4c0a9 100644 --- a/types/cldrjs/tsconfig.json +++ b/types/cldrjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/clean-css/tsconfig.json b/types/clean-css/tsconfig.json index 0d5b17fb3b..fe65b21c11 100644 --- a/types/clean-css/tsconfig.json +++ b/types/clean-css/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/clean-stack/tsconfig.json b/types/clean-stack/tsconfig.json index e4e4814fe9..e1fa33ac6c 100644 --- a/types/clean-stack/tsconfig.json +++ b/types/clean-stack/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/clean-webpack-plugin/tsconfig.json b/types/clean-webpack-plugin/tsconfig.json index c53b713f88..8d0f70d644 100644 --- a/types/clean-webpack-plugin/tsconfig.json +++ b/types/clean-webpack-plugin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/clear-require/tsconfig.json b/types/clear-require/tsconfig.json index 806bd7fc11..538fbe385e 100644 --- a/types/clear-require/tsconfig.json +++ b/types/clear-require/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cleave.js/tsconfig.json b/types/cleave.js/tsconfig.json index 40b7d000c9..c2d5447360 100644 --- a/types/cleave.js/tsconfig.json +++ b/types/cleave.js/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/cli-color/tsconfig.json b/types/cli-color/tsconfig.json index 933f6db918..4e8bceb94b 100644 --- a/types/cli-color/tsconfig.json +++ b/types/cli-color/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cli-spinner/tsconfig.json b/types/cli-spinner/tsconfig.json index 316be5cb01..fb8e34bbb5 100644 --- a/types/cli-spinner/tsconfig.json +++ b/types/cli-spinner/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cli-table2/tsconfig.json b/types/cli-table2/tsconfig.json index 40718ddc19..4d5bea5b9d 100644 --- a/types/cli-table2/tsconfig.json +++ b/types/cli-table2/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cli/tsconfig.json b/types/cli/tsconfig.json index 6713e9be0c..2a1b78ae92 100644 --- a/types/cli/tsconfig.json +++ b/types/cli/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/client-sessions/tsconfig.json b/types/client-sessions/tsconfig.json index 07f4f1048c..c1556587bc 100644 --- a/types/client-sessions/tsconfig.json +++ b/types/client-sessions/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cliff/tsconfig.json b/types/cliff/tsconfig.json index 3edd8ddc45..8c59f5c533 100644 --- a/types/cliff/tsconfig.json +++ b/types/cliff/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/clipboard-js/tsconfig.json b/types/clipboard-js/tsconfig.json index ed9c969743..8927797525 100644 --- a/types/clipboard-js/tsconfig.json +++ b/types/clipboard-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/clipboard/tsconfig.json b/types/clipboard/tsconfig.json index 96e74d7bbc..5d960d2fd4 100644 --- a/types/clipboard/tsconfig.json +++ b/types/clipboard/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/clipboardy/tsconfig.json b/types/clipboardy/tsconfig.json index 34c70f2c86..6d6bfcc76a 100644 --- a/types/clipboardy/tsconfig.json +++ b/types/clipboardy/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/clndr/tsconfig.json b/types/clndr/tsconfig.json index 9708a8b2b4..df25d1b075 100644 --- a/types/clndr/tsconfig.json +++ b/types/clndr/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/clockpicker/tsconfig.json b/types/clockpicker/tsconfig.json index 61aa239cea..3e5532fe0b 100644 --- a/types/clockpicker/tsconfig.json +++ b/types/clockpicker/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/clone/tsconfig.json b/types/clone/tsconfig.json index 024e8a97fa..65bd178331 100644 --- a/types/clone/tsconfig.json +++ b/types/clone/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/closure-compiler/tsconfig.json b/types/closure-compiler/tsconfig.json index 5f78d4927e..4a15360b18 100644 --- a/types/closure-compiler/tsconfig.json +++ b/types/closure-compiler/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cloud-env/tsconfig.json b/types/cloud-env/tsconfig.json index bbdc4f5f5c..0972bef4e5 100644 --- a/types/cloud-env/tsconfig.json +++ b/types/cloud-env/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cloudflare-apps/tsconfig.json b/types/cloudflare-apps/tsconfig.json index 0dcc8d43cd..b521ed0aca 100644 --- a/types/cloudflare-apps/tsconfig.json +++ b/types/cloudflare-apps/tsconfig.json @@ -20,7 +20,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "preserve" } } \ No newline at end of file diff --git a/types/cls-hooked/tsconfig.json b/types/cls-hooked/tsconfig.json index 55af57a7cd..2e4da612f6 100644 --- a/types/cls-hooked/tsconfig.json +++ b/types/cls-hooked/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/clusterize.js/tsconfig.json b/types/clusterize.js/tsconfig.json index dd8e3e7899..f2067f97d1 100644 --- a/types/clusterize.js/tsconfig.json +++ b/types/clusterize.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cmd-shim/tsconfig.json b/types/cmd-shim/tsconfig.json index cb447abdcb..ba380ed12a 100644 --- a/types/cmd-shim/tsconfig.json +++ b/types/cmd-shim/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/co-body/tsconfig.json b/types/co-body/tsconfig.json index 3c6c8ea708..295cfcd7cd 100644 --- a/types/co-body/tsconfig.json +++ b/types/co-body/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/co-views/tsconfig.json b/types/co-views/tsconfig.json index 388ba1bd29..8b129766a5 100644 --- a/types/co-views/tsconfig.json +++ b/types/co-views/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/code/tsconfig.json b/types/code/tsconfig.json index 610eae1463..ae86da199a 100644 --- a/types/code/tsconfig.json +++ b/types/code/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/codemirror/tsconfig.json b/types/codemirror/tsconfig.json index fdf3bf2d28..2ff349d98e 100644 --- a/types/codemirror/tsconfig.json +++ b/types/codemirror/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/codependency/tsconfig.json b/types/codependency/tsconfig.json index f770e7ed61..990aecea5d 100644 --- a/types/codependency/tsconfig.json +++ b/types/codependency/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/coffeeify/tsconfig.json b/types/coffeeify/tsconfig.json index 2ab8b32406..0ed14ee2f2 100644 --- a/types/coffeeify/tsconfig.json +++ b/types/coffeeify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/coinbase/tsconfig.json b/types/coinbase/tsconfig.json index 3732908a04..6868f0e3cf 100644 --- a/types/coinbase/tsconfig.json +++ b/types/coinbase/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/coinstring/tsconfig.json b/types/coinstring/tsconfig.json index 902dc00b80..43ca980dbb 100644 --- a/types/coinstring/tsconfig.json +++ b/types/coinstring/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/collections/tsconfig.json b/types/collections/tsconfig.json index 2916e1a806..466c5b12c4 100644 --- a/types/collections/tsconfig.json +++ b/types/collections/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/color-convert/tsconfig.json b/types/color-convert/tsconfig.json index 3ce21ead77..52c14017a1 100644 --- a/types/color-convert/tsconfig.json +++ b/types/color-convert/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/color-name/tsconfig.json b/types/color-name/tsconfig.json index a88783ad70..56777b5a12 100644 --- a/types/color-name/tsconfig.json +++ b/types/color-name/tsconfig.json @@ -2,7 +2,6 @@ "compilerOptions": { "baseUrl": "../", "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "lib": [ "es6" ], diff --git a/types/color-namer/tsconfig.json b/types/color-namer/tsconfig.json index cb048867ee..a70b1dc9ae 100644 --- a/types/color-namer/tsconfig.json +++ b/types/color-namer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/color-string/tsconfig.json b/types/color-string/tsconfig.json index a9ef4a043c..27f7f9f5f1 100644 --- a/types/color-string/tsconfig.json +++ b/types/color-string/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/color/tsconfig.json b/types/color/tsconfig.json index 2cd717e58a..0924b02ae0 100644 --- a/types/color/tsconfig.json +++ b/types/color/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/color/v0/tsconfig.json b/types/color/v0/tsconfig.json index f73dc07711..73f49d6375 100644 --- a/types/color/v0/tsconfig.json +++ b/types/color/v0/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/color/v1/tsconfig.json b/types/color/v1/tsconfig.json index 1e8e29f876..8d8204cf87 100644 --- a/types/color/v1/tsconfig.json +++ b/types/color/v1/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/color/v2/tsconfig.json b/types/color/v2/tsconfig.json index fef027287c..a0192bdcaa 100644 --- a/types/color/v2/tsconfig.json +++ b/types/color/v2/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/colorbrewer/tsconfig.json b/types/colorbrewer/tsconfig.json index da629b0ce4..561a5d114e 100644 --- a/types/colorbrewer/tsconfig.json +++ b/types/colorbrewer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/colors/tsconfig.json b/types/colors/tsconfig.json index 7b92f3a446..99d78ad72d 100644 --- a/types/colors/tsconfig.json +++ b/types/colors/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/com.darktalker.cordova.screenshot/tsconfig.json b/types/com.darktalker.cordova.screenshot/tsconfig.json index 80a6fbfe64..d2b5aabb00 100644 --- a/types/com.darktalker.cordova.screenshot/tsconfig.json +++ b/types/com.darktalker.cordova.screenshot/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/combine-source-map/tsconfig.json b/types/combine-source-map/tsconfig.json index 0c89da9ae0..dfb725b738 100644 --- a/types/combine-source-map/tsconfig.json +++ b/types/combine-source-map/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/combined-stream/tsconfig.json b/types/combined-stream/tsconfig.json index 6d88a54646..bc69eb2505 100644 --- a/types/combined-stream/tsconfig.json +++ b/types/combined-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/combokeys/tsconfig.json b/types/combokeys/tsconfig.json index 0c36d58c5a..b1fecec3b7 100644 --- a/types/combokeys/tsconfig.json +++ b/types/combokeys/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cometd/tsconfig.json b/types/cometd/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/cometd/tsconfig.json +++ b/types/cometd/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/command-line-args/tsconfig.json b/types/command-line-args/tsconfig.json index 742434add7..92c02160ae 100644 --- a/types/command-line-args/tsconfig.json +++ b/types/command-line-args/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/command-line-commands/tsconfig.json b/types/command-line-commands/tsconfig.json index 43a82ddc71..fd8670e4a1 100644 --- a/types/command-line-commands/tsconfig.json +++ b/types/command-line-commands/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/commangular/tsconfig.json b/types/commangular/tsconfig.json index f2d837d87a..bd900bd300 100644 --- a/types/commangular/tsconfig.json +++ b/types/commangular/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/comment-json/tsconfig.json b/types/comment-json/tsconfig.json index 4512d870b9..0745d1cfc0 100644 --- a/types/comment-json/tsconfig.json +++ b/types/comment-json/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/common-tags/tsconfig.json b/types/common-tags/tsconfig.json index 84732128c2..21158de285 100644 --- a/types/common-tags/tsconfig.json +++ b/types/common-tags/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/commonmark/tsconfig.json b/types/commonmark/tsconfig.json index f25b7b8e9d..682d69fed4 100644 --- a/types/commonmark/tsconfig.json +++ b/types/commonmark/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/compare-version/tsconfig.json b/types/compare-version/tsconfig.json index 28e391540f..5dcb7c3156 100644 --- a/types/compare-version/tsconfig.json +++ b/types/compare-version/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/complex/tsconfig.json b/types/complex/tsconfig.json index ec9be90750..b8a54e716a 100644 --- a/types/complex/tsconfig.json +++ b/types/complex/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/component-emitter/tsconfig.json b/types/component-emitter/tsconfig.json index e6a5fec6c6..71ded6be82 100644 --- a/types/component-emitter/tsconfig.json +++ b/types/component-emitter/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/compose-function/tsconfig.json b/types/compose-function/tsconfig.json index 8a4ad44fa7..cdbf9e9709 100644 --- a/types/compose-function/tsconfig.json +++ b/types/compose-function/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/compressible/tsconfig.json b/types/compressible/tsconfig.json index c2ab1306cc..8e036c88d9 100644 --- a/types/compressible/tsconfig.json +++ b/types/compressible/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/compression-webpack-plugin/tsconfig.json b/types/compression-webpack-plugin/tsconfig.json index 1e166ce2bc..b80c7a1977 100644 --- a/types/compression-webpack-plugin/tsconfig.json +++ b/types/compression-webpack-plugin/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/compression/tsconfig.json b/types/compression/tsconfig.json index c0102986f8..63ff5e3bc8 100644 --- a/types/compression/tsconfig.json +++ b/types/compression/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/compute-stdev/tsconfig.json b/types/compute-stdev/tsconfig.json index aa0baf9c99..3bb4070ae7 100644 --- a/types/compute-stdev/tsconfig.json +++ b/types/compute-stdev/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/concat-stream/tsconfig.json b/types/concat-stream/tsconfig.json index 0cba6d2e70..20373a2de3 100644 --- a/types/concat-stream/tsconfig.json +++ b/types/concat-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/concaveman/tsconfig.json b/types/concaveman/tsconfig.json index 392fb91c60..6312321a70 100644 --- a/types/concaveman/tsconfig.json +++ b/types/concaveman/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/conf/tsconfig.json b/types/conf/tsconfig.json index aa03ea90e1..84d6bf7657 100644 --- a/types/conf/tsconfig.json +++ b/types/conf/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/conf/v0/tsconfig.json b/types/conf/v0/tsconfig.json index 8b4a8695b8..004bd4a1b5 100644 --- a/types/conf/v0/tsconfig.json +++ b/types/conf/v0/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/confidence/tsconfig.json b/types/confidence/tsconfig.json index 7504130a82..8996cbd660 100644 --- a/types/confidence/tsconfig.json +++ b/types/confidence/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/config/tsconfig.json b/types/config/tsconfig.json index 2717a0380e..a595ffb10c 100644 --- a/types/config/tsconfig.json +++ b/types/config/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/configstore/tsconfig.json b/types/configstore/tsconfig.json index 3401254406..8479846189 100644 --- a/types/configstore/tsconfig.json +++ b/types/configstore/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/confit/tsconfig.json b/types/confit/tsconfig.json index ab805bf10d..6d141ea715 100644 --- a/types/confit/tsconfig.json +++ b/types/confit/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/connect-busboy/tsconfig.json b/types/connect-busboy/tsconfig.json index cb2e739029..cc3365d6d9 100644 --- a/types/connect-busboy/tsconfig.json +++ b/types/connect-busboy/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/connect-ensure-login/tsconfig.json b/types/connect-ensure-login/tsconfig.json index 7351d8357b..95f39e8bf0 100644 --- a/types/connect-ensure-login/tsconfig.json +++ b/types/connect-ensure-login/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/connect-flash/tsconfig.json b/types/connect-flash/tsconfig.json index fa58928986..0d8c04c7de 100644 --- a/types/connect-flash/tsconfig.json +++ b/types/connect-flash/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/connect-history-api-fallback/tsconfig.json b/types/connect-history-api-fallback/tsconfig.json index dff6edbdd1..ad8919e94e 100644 --- a/types/connect-history-api-fallback/tsconfig.json +++ b/types/connect-history-api-fallback/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/connect-livereload/tsconfig.json b/types/connect-livereload/tsconfig.json index 92d8c225c2..599ea294bf 100644 --- a/types/connect-livereload/tsconfig.json +++ b/types/connect-livereload/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/connect-modrewrite/tsconfig.json b/types/connect-modrewrite/tsconfig.json index be62ccb0d3..235df5d93e 100644 --- a/types/connect-modrewrite/tsconfig.json +++ b/types/connect-modrewrite/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/connect-mongo/tsconfig.json b/types/connect-mongo/tsconfig.json index cb44c8c3ed..ca12068b57 100644 --- a/types/connect-mongo/tsconfig.json +++ b/types/connect-mongo/tsconfig.json @@ -19,8 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/connect-pg-simple/tsconfig.json b/types/connect-pg-simple/tsconfig.json index e2194628bc..ed22faf257 100644 --- a/types/connect-pg-simple/tsconfig.json +++ b/types/connect-pg-simple/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/connect-redis/tsconfig.json b/types/connect-redis/tsconfig.json index 69af94ebe8..b47af7235d 100644 --- a/types/connect-redis/tsconfig.json +++ b/types/connect-redis/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/connect-slashes/tsconfig.json b/types/connect-slashes/tsconfig.json index a07f0a4477..18eed04f1a 100644 --- a/types/connect-slashes/tsconfig.json +++ b/types/connect-slashes/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/connect-timeout/tsconfig.json b/types/connect-timeout/tsconfig.json index 701d7beedf..79082f279a 100644 --- a/types/connect-timeout/tsconfig.json +++ b/types/connect-timeout/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/connect/tsconfig.json b/types/connect/tsconfig.json index 9fdfae264f..bcd813bc77 100644 --- a/types/connect/tsconfig.json +++ b/types/connect/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/console-stamp/tsconfig.json b/types/console-stamp/tsconfig.json index c18c0edc84..e4112e2035 100644 --- a/types/console-stamp/tsconfig.json +++ b/types/console-stamp/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/consolidate/tsconfig.json b/types/consolidate/tsconfig.json index 2ed641f4b3..aab02b23e5 100644 --- a/types/consolidate/tsconfig.json +++ b/types/consolidate/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/consul/tsconfig.json b/types/consul/tsconfig.json index 96142fb5d0..9401826c02 100644 --- a/types/consul/tsconfig.json +++ b/types/consul/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/content-disposition/tsconfig.json b/types/content-disposition/tsconfig.json index b0c721f43f..25125c4ab6 100644 --- a/types/content-disposition/tsconfig.json +++ b/types/content-disposition/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/content-type/tsconfig.json b/types/content-type/tsconfig.json index 40c18138d3..139851cbde 100644 --- a/types/content-type/tsconfig.json +++ b/types/content-type/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/contentful-resolve-response/tsconfig.json b/types/contentful-resolve-response/tsconfig.json index 09811fc7ba..f15c47db0a 100644 --- a/types/contentful-resolve-response/tsconfig.json +++ b/types/contentful-resolve-response/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/contextjs/tsconfig.json b/types/contextjs/tsconfig.json index ba45f1d91a..3054b8f3ca 100644 --- a/types/contextjs/tsconfig.json +++ b/types/contextjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/continuation-local-storage/tsconfig.json b/types/continuation-local-storage/tsconfig.json index 7ff6d996f3..f1305a49af 100644 --- a/types/continuation-local-storage/tsconfig.json +++ b/types/continuation-local-storage/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/convert-hrtime/tsconfig.json b/types/convert-hrtime/tsconfig.json index 8ca78a7377..9d2b304763 100644 --- a/types/convert-hrtime/tsconfig.json +++ b/types/convert-hrtime/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/convert-layout/tsconfig.json b/types/convert-layout/tsconfig.json index 4dda95576b..e9ef959215 100644 --- a/types/convert-layout/tsconfig.json +++ b/types/convert-layout/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/convert-source-map/tsconfig.json b/types/convert-source-map/tsconfig.json index e7fb07ca0c..a9125c586c 100644 --- a/types/convert-source-map/tsconfig.json +++ b/types/convert-source-map/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/convict/tsconfig.json b/types/convict/tsconfig.json index 7177956370..75e1402283 100644 --- a/types/convict/tsconfig.json +++ b/types/convict/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cookie-parser/tsconfig.json b/types/cookie-parser/tsconfig.json index a182eeaaa3..20cf8359b5 100644 --- a/types/cookie-parser/tsconfig.json +++ b/types/cookie-parser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cookie-session/tsconfig.json b/types/cookie-session/tsconfig.json index a046c14075..bacf93c9f4 100644 --- a/types/cookie-session/tsconfig.json +++ b/types/cookie-session/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cookie-signature/tsconfig.json b/types/cookie-signature/tsconfig.json index 04c9a9bc73..38aab055c7 100644 --- a/types/cookie-signature/tsconfig.json +++ b/types/cookie-signature/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cookie/tsconfig.json b/types/cookie/tsconfig.json index 2c101fadf8..f1a68c4f57 100644 --- a/types/cookie/tsconfig.json +++ b/types/cookie/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cookie_js/tsconfig.json b/types/cookie_js/tsconfig.json index cfb0fd4eb8..d181ce7661 100644 --- a/types/cookie_js/tsconfig.json +++ b/types/cookie_js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cookies/tsconfig.json b/types/cookies/tsconfig.json index 6cbd9c2cff..d7a17c23bc 100644 --- a/types/cookies/tsconfig.json +++ b/types/cookies/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/copy-paste/tsconfig.json b/types/copy-paste/tsconfig.json index ae30962d67..7c78f81542 100644 --- a/types/copy-paste/tsconfig.json +++ b/types/copy-paste/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/copy-text-to-clipboard/tsconfig.json b/types/copy-text-to-clipboard/tsconfig.json index a04fdc0b8e..2889d9fdc6 100644 --- a/types/copy-text-to-clipboard/tsconfig.json +++ b/types/copy-text-to-clipboard/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/copy-webpack-plugin/tsconfig.json b/types/copy-webpack-plugin/tsconfig.json index 8bb618a386..026508651e 100644 --- a/types/copy-webpack-plugin/tsconfig.json +++ b/types/copy-webpack-plugin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-ionic/tsconfig.json b/types/cordova-ionic/tsconfig.json index 67164add65..52153dc3a6 100644 --- a/types/cordova-ionic/tsconfig.json +++ b/types/cordova-ionic/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-app-version/tsconfig.json b/types/cordova-plugin-app-version/tsconfig.json index 22d3a48e1d..bf9fa4b727 100644 --- a/types/cordova-plugin-app-version/tsconfig.json +++ b/types/cordova-plugin-app-version/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-background-mode/tsconfig.json b/types/cordova-plugin-background-mode/tsconfig.json index 9a2df069f6..2f4b1be013 100644 --- a/types/cordova-plugin-background-mode/tsconfig.json +++ b/types/cordova-plugin-background-mode/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-badge/tsconfig.json b/types/cordova-plugin-badge/tsconfig.json index 8fd3f33576..1354c708fd 100644 --- a/types/cordova-plugin-badge/tsconfig.json +++ b/types/cordova-plugin-badge/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-ble-central/tsconfig.json b/types/cordova-plugin-ble-central/tsconfig.json index 3c31e21f9e..84cd1205c3 100644 --- a/types/cordova-plugin-ble-central/tsconfig.json +++ b/types/cordova-plugin-ble-central/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-canvascamera/tsconfig.json b/types/cordova-plugin-canvascamera/tsconfig.json index 487b814e24..dcc6bf63a2 100644 --- a/types/cordova-plugin-canvascamera/tsconfig.json +++ b/types/cordova-plugin-canvascamera/tsconfig.json @@ -11,7 +11,6 @@ "strictFunctionTypes": true, "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-device-name/tsconfig.json b/types/cordova-plugin-device-name/tsconfig.json index a1c3a4bf29..c74e58b914 100644 --- a/types/cordova-plugin-device-name/tsconfig.json +++ b/types/cordova-plugin-device-name/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-email-composer/tsconfig.json b/types/cordova-plugin-email-composer/tsconfig.json index 44cd31aecf..9de9930ed1 100644 --- a/types/cordova-plugin-email-composer/tsconfig.json +++ b/types/cordova-plugin-email-composer/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-file-opener2/tsconfig.json b/types/cordova-plugin-file-opener2/tsconfig.json index 25d0779575..0b84dfe84e 100644 --- a/types/cordova-plugin-file-opener2/tsconfig.json +++ b/types/cordova-plugin-file-opener2/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-ibeacon/tsconfig.json b/types/cordova-plugin-ibeacon/tsconfig.json index b5423bd3ce..ba0aa9b7cf 100644 --- a/types/cordova-plugin-ibeacon/tsconfig.json +++ b/types/cordova-plugin-ibeacon/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-insomnia/tsconfig.json b/types/cordova-plugin-insomnia/tsconfig.json index 63dbb10719..9704e7c020 100644 --- a/types/cordova-plugin-insomnia/tsconfig.json +++ b/types/cordova-plugin-insomnia/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-keyboard/tsconfig.json b/types/cordova-plugin-keyboard/tsconfig.json index dd15c4b9c0..730b84c530 100644 --- a/types/cordova-plugin-keyboard/tsconfig.json +++ b/types/cordova-plugin-keyboard/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-mapsforge/tsconfig.json b/types/cordova-plugin-mapsforge/tsconfig.json index 589214939d..2be513a0d3 100644 --- a/types/cordova-plugin-mapsforge/tsconfig.json +++ b/types/cordova-plugin-mapsforge/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-ms-adal/tsconfig.json b/types/cordova-plugin-ms-adal/tsconfig.json index c49b79dbbc..9ebb3fca10 100644 --- a/types/cordova-plugin-ms-adal/tsconfig.json +++ b/types/cordova-plugin-ms-adal/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-native-keyboard/tsconfig.json b/types/cordova-plugin-native-keyboard/tsconfig.json index 7d6b7d30ab..72ec2f6371 100644 --- a/types/cordova-plugin-native-keyboard/tsconfig.json +++ b/types/cordova-plugin-native-keyboard/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-ouralabs/tsconfig.json b/types/cordova-plugin-ouralabs/tsconfig.json index 4a333de1ae..2cbd8ea053 100644 --- a/types/cordova-plugin-ouralabs/tsconfig.json +++ b/types/cordova-plugin-ouralabs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-qrscanner/tsconfig.json b/types/cordova-plugin-qrscanner/tsconfig.json index 729bd22650..e2ef38fa17 100644 --- a/types/cordova-plugin-qrscanner/tsconfig.json +++ b/types/cordova-plugin-qrscanner/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-spinner/tsconfig.json b/types/cordova-plugin-spinner/tsconfig.json index 4beead8631..19ec9b294f 100644 --- a/types/cordova-plugin-spinner/tsconfig.json +++ b/types/cordova-plugin-spinner/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-websql/tsconfig.json b/types/cordova-plugin-websql/tsconfig.json index 35d55b1bcb..db8d59bbe6 100644 --- a/types/cordova-plugin-websql/tsconfig.json +++ b/types/cordova-plugin-websql/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-plugin-x-socialsharing/tsconfig.json b/types/cordova-plugin-x-socialsharing/tsconfig.json index d5ae67f587..e2c4bc63d9 100644 --- a/types/cordova-plugin-x-socialsharing/tsconfig.json +++ b/types/cordova-plugin-x-socialsharing/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-sqlite-storage/tsconfig.json b/types/cordova-sqlite-storage/tsconfig.json index 1cd9548087..a9eb2af0ad 100644 --- a/types/cordova-sqlite-storage/tsconfig.json +++ b/types/cordova-sqlite-storage/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova-universal-links-plugin/tsconfig.json b/types/cordova-universal-links-plugin/tsconfig.json index 29ccaf6d57..066b757235 100644 --- a/types/cordova-universal-links-plugin/tsconfig.json +++ b/types/cordova-universal-links-plugin/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova/tsconfig.json b/types/cordova/tsconfig.json index 11e7c87397..591c25a1bb 100644 --- a/types/cordova/tsconfig.json +++ b/types/cordova/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordova_app_version_plugin/tsconfig.json b/types/cordova_app_version_plugin/tsconfig.json index c0f2279ce6..2f439d4979 100644 --- a/types/cordova_app_version_plugin/tsconfig.json +++ b/types/cordova_app_version_plugin/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cordovarduino/tsconfig.json b/types/cordovarduino/tsconfig.json index bfd40c8cee..cb0cf33a1a 100644 --- a/types/cordovarduino/tsconfig.json +++ b/types/cordovarduino/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/core-js/tsconfig.json b/types/core-js/tsconfig.json index ce3411f183..a342d6c1bd 100644 --- a/types/core-js/tsconfig.json +++ b/types/core-js/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cors/tsconfig.json b/types/cors/tsconfig.json index c0a8ce0c52..e9e1db77eb 100644 --- a/types/cors/tsconfig.json +++ b/types/cors/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cote/tsconfig.json b/types/cote/tsconfig.json index 4790b11aa5..c25e78e090 100644 --- a/types/cote/tsconfig.json +++ b/types/cote/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/couchbase/tsconfig.json b/types/couchbase/tsconfig.json index cf19e79d12..66ef360c2c 100644 --- a/types/couchbase/tsconfig.json +++ b/types/couchbase/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/countdown/tsconfig.json b/types/countdown/tsconfig.json index 21aa002443..bf1074d820 100644 --- a/types/countdown/tsconfig.json +++ b/types/countdown/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/counterpart/tsconfig.json b/types/counterpart/tsconfig.json index 9a07a722df..1a771cd73c 100644 --- a/types/counterpart/tsconfig.json +++ b/types/counterpart/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/countries-and-timezones/tsconfig.json b/types/countries-and-timezones/tsconfig.json index ef7c8d2eb0..e5f7728b57 100644 --- a/types/countries-and-timezones/tsconfig.json +++ b/types/countries-and-timezones/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/country-list/tsconfig.json b/types/country-list/tsconfig.json index 12c80648b7..30433764bf 100644 --- a/types/country-list/tsconfig.json +++ b/types/country-list/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/country-select-js/tsconfig.json b/types/country-select-js/tsconfig.json index a7bf843a06..56cb852a6d 100644 --- a/types/country-select-js/tsconfig.json +++ b/types/country-select-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/coverup/tsconfig.json b/types/coverup/tsconfig.json index fbef238950..de9e5868b7 100644 --- a/types/coverup/tsconfig.json +++ b/types/coverup/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cp-file/tsconfig.json b/types/cp-file/tsconfig.json index e91ced1737..12138d0002 100644 --- a/types/cp-file/tsconfig.json +++ b/types/cp-file/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cpx/tsconfig.json b/types/cpx/tsconfig.json index 8001a3fdea..26e3595fbf 100644 --- a/types/cpx/tsconfig.json +++ b/types/cpx/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cpy/tsconfig.json b/types/cpy/tsconfig.json index f7a536d8b5..90098461b2 100644 --- a/types/cpy/tsconfig.json +++ b/types/cpy/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cqrs-domain/tsconfig.json b/types/cqrs-domain/tsconfig.json index 8a2e98724d..e6b7a8677c 100644 --- a/types/cqrs-domain/tsconfig.json +++ b/types/cqrs-domain/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cradle/tsconfig.json b/types/cradle/tsconfig.json index ea956b2e2f..694d713edf 100644 --- a/types/cradle/tsconfig.json +++ b/types/cradle/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/crc/tsconfig.json b/types/crc/tsconfig.json index 2b2be4c34d..96511b6609 100644 --- a/types/crc/tsconfig.json +++ b/types/crc/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/create-error/tsconfig.json b/types/create-error/tsconfig.json index c5351c2e5a..7ff8a82807 100644 --- a/types/create-error/tsconfig.json +++ b/types/create-error/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/create-react-class/tsconfig.json b/types/create-react-class/tsconfig.json index 71314e3d35..8efa535580 100644 --- a/types/create-react-class/tsconfig.json +++ b/types/create-react-class/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "preserve" }, "files": [ diff --git a/types/createjs-lib/tsconfig.json b/types/createjs-lib/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/createjs-lib/tsconfig.json +++ b/types/createjs-lib/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/createjs/tsconfig.json b/types/createjs/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/createjs/tsconfig.json +++ b/types/createjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/credential/tsconfig.json b/types/credential/tsconfig.json index f2866ca2d6..fb8e758820 100644 --- a/types/credential/tsconfig.json +++ b/types/credential/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/credit-card-type/tsconfig.json b/types/credit-card-type/tsconfig.json index 9af8700b89..0a3b957a29 100644 --- a/types/credit-card-type/tsconfig.json +++ b/types/credit-card-type/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cron/tsconfig.json b/types/cron/tsconfig.json index ce814daac4..19a72853db 100644 --- a/types/cron/tsconfig.json +++ b/types/cron/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cropperjs/tsconfig.json b/types/cropperjs/tsconfig.json index 928c16ebf8..ea6b7edb26 100644 --- a/types/cropperjs/tsconfig.json +++ b/types/cropperjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/croppie/tsconfig.json b/types/croppie/tsconfig.json index f0bbbaaad6..aa4a07017d 100644 --- a/types/croppie/tsconfig.json +++ b/types/croppie/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cross-spawn/tsconfig.json b/types/cross-spawn/tsconfig.json index 6e4bd2b252..4ea02ed0df 100644 --- a/types/cross-spawn/tsconfig.json +++ b/types/cross-spawn/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cross-storage/tsconfig.json b/types/cross-storage/tsconfig.json index dc6b6a3c54..eb05417639 100644 --- a/types/cross-storage/tsconfig.json +++ b/types/cross-storage/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/crossfilter/tsconfig.json b/types/crossfilter/tsconfig.json index 8a107d0e84..bc0573220f 100644 --- a/types/crossfilter/tsconfig.json +++ b/types/crossfilter/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/crossroads/tsconfig.json b/types/crossroads/tsconfig.json index e1bb7591ed..b948857129 100644 --- a/types/crossroads/tsconfig.json +++ b/types/crossroads/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cryptiles/tsconfig.json b/types/cryptiles/tsconfig.json index 5309e478b8..6ae78bacb4 100644 --- a/types/cryptiles/tsconfig.json +++ b/types/cryptiles/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/crypto-js/tsconfig.json b/types/crypto-js/tsconfig.json index 04f4de4b4e..62ec3d1e40 100644 --- a/types/crypto-js/tsconfig.json +++ b/types/crypto-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cryptojs/tsconfig.json b/types/cryptojs/tsconfig.json index 63a696b449..6747ffb9c5 100644 --- a/types/cryptojs/tsconfig.json +++ b/types/cryptojs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cson/tsconfig.json b/types/cson/tsconfig.json index b7012ed2ba..a5ca0a8041 100644 --- a/types/cson/tsconfig.json +++ b/types/cson/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/csprng/tsconfig.json b/types/csprng/tsconfig.json index 20e30e0d3c..b921bb3b7c 100644 --- a/types/csprng/tsconfig.json +++ b/types/csprng/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/csrf/tsconfig.json b/types/csrf/tsconfig.json index 57efe7e073..423d71f3c2 100644 --- a/types/csrf/tsconfig.json +++ b/types/csrf/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/css-font-loading-module/tsconfig.json b/types/css-font-loading-module/tsconfig.json index 2c64ee6074..b45d115596 100644 --- a/types/css-font-loading-module/tsconfig.json +++ b/types/css-font-loading-module/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/css-modules-require-hook/tsconfig.json b/types/css-modules-require-hook/tsconfig.json index 269853fbce..e7f91df2f8 100644 --- a/types/css-modules-require-hook/tsconfig.json +++ b/types/css-modules-require-hook/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/css-modules/tsconfig.json b/types/css-modules/tsconfig.json index c6294d2857..e079616b1d 100644 --- a/types/css-modules/tsconfig.json +++ b/types/css-modules/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/css/tsconfig.json b/types/css/tsconfig.json index 50451f88d4..7a69ddb612 100644 --- a/types/css/tsconfig.json +++ b/types/css/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cssbeautify/tsconfig.json b/types/cssbeautify/tsconfig.json index 627f481a2b..a8c452dc97 100644 --- a/types/cssbeautify/tsconfig.json +++ b/types/cssbeautify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/csurf/tsconfig.json b/types/csurf/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/csurf/tsconfig.json +++ b/types/csurf/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/csv-parse/tsconfig.json b/types/csv-parse/tsconfig.json index fe155d7602..2b52f434a2 100644 --- a/types/csv-parse/tsconfig.json +++ b/types/csv-parse/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/csv-stringify/tsconfig.json b/types/csv-stringify/tsconfig.json index 8c66a29cda..766e9c084e 100644 --- a/types/csv-stringify/tsconfig.json +++ b/types/csv-stringify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/csvrow/tsconfig.json b/types/csvrow/tsconfig.json index 76cb98cf19..8de28c4466 100644 --- a/types/csvrow/tsconfig.json +++ b/types/csvrow/tsconfig.json @@ -14,7 +14,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/csvtojson/tsconfig.json b/types/csvtojson/tsconfig.json index 3dde8e70e7..91b15a3856 100644 --- a/types/csvtojson/tsconfig.json +++ b/types/csvtojson/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cucumber/tsconfig.json b/types/cucumber/tsconfig.json index 53ede2654b..e2f9cd081b 100644 --- a/types/cucumber/tsconfig.json +++ b/types/cucumber/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cucumber/v1/tsconfig.json b/types/cucumber/v1/tsconfig.json index 495158d6b0..343c701491 100644 --- a/types/cucumber/v1/tsconfig.json +++ b/types/cucumber/v1/tsconfig.json @@ -23,8 +23,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cucumber/v3/tsconfig.json b/types/cucumber/v3/tsconfig.json index e10dd587c0..badf9c82ed 100644 --- a/types/cucumber/v3/tsconfig.json +++ b/types/cucumber/v3/tsconfig.json @@ -23,8 +23,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cuid/tsconfig.json b/types/cuid/tsconfig.json index 26c0b1289e..6aebd0a158 100644 --- a/types/cuid/tsconfig.json +++ b/types/cuid/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/currency-formatter/tsconfig.json b/types/currency-formatter/tsconfig.json index 21957b7d91..47674cfe0d 100644 --- a/types/currency-formatter/tsconfig.json +++ b/types/currency-formatter/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/custom-error-generator/tsconfig.json b/types/custom-error-generator/tsconfig.json index 99512cdf78..ab16a76d97 100644 --- a/types/custom-error-generator/tsconfig.json +++ b/types/custom-error-generator/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cwise-compiler/tsconfig.json b/types/cwise-compiler/tsconfig.json index 09b88da3d2..083c5f1666 100644 --- a/types/cwise-compiler/tsconfig.json +++ b/types/cwise-compiler/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cwise-parser/tsconfig.json b/types/cwise-parser/tsconfig.json index b8d5702283..226bb609fb 100644 --- a/types/cwise-parser/tsconfig.json +++ b/types/cwise-parser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cwise/tsconfig.json b/types/cwise/tsconfig.json index d545fa98d3..c1ea871113 100644 --- a/types/cwise/tsconfig.json +++ b/types/cwise/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cybozulabs-md5/tsconfig.json b/types/cybozulabs-md5/tsconfig.json index 53d546abf1..a85459ac83 100644 --- a/types/cybozulabs-md5/tsconfig.json +++ b/types/cybozulabs-md5/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/cytoscape/tsconfig.json b/types/cytoscape/tsconfig.json index 8796925930..348734c733 100644 --- a/types/cytoscape/tsconfig.json +++ b/types/cytoscape/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-array/tsconfig.json b/types/d3-array/tsconfig.json index 58e25ed31f..a1dbb238ee 100644 --- a/types/d3-array/tsconfig.json +++ b/types/d3-array/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-axis/tsconfig.json b/types/d3-axis/tsconfig.json index 6bb2a44fd4..5b54d1f622 100644 --- a/types/d3-axis/tsconfig.json +++ b/types/d3-axis/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-box/tsconfig.json b/types/d3-box/tsconfig.json index d0ea7a30a8..d6411b9a05 100644 --- a/types/d3-box/tsconfig.json +++ b/types/d3-box/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-brush/tsconfig.json b/types/d3-brush/tsconfig.json index 52ad4235a8..2aeb012361 100644 --- a/types/d3-brush/tsconfig.json +++ b/types/d3-brush/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-chord/tsconfig.json b/types/d3-chord/tsconfig.json index c5fe3e9133..eff4938f78 100644 --- a/types/d3-chord/tsconfig.json +++ b/types/d3-chord/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-collection/tsconfig.json b/types/d3-collection/tsconfig.json index 134b625635..c2ae30cdbd 100644 --- a/types/d3-collection/tsconfig.json +++ b/types/d3-collection/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-color/tsconfig.json b/types/d3-color/tsconfig.json index a6695317db..d783922755 100644 --- a/types/d3-color/tsconfig.json +++ b/types/d3-color/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-contour/tsconfig.json b/types/d3-contour/tsconfig.json index deb7c3dc8f..345a064caa 100644 --- a/types/d3-contour/tsconfig.json +++ b/types/d3-contour/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-dispatch/tsconfig.json b/types/d3-dispatch/tsconfig.json index 44d0f4c3e8..b270a9c1a0 100644 --- a/types/d3-dispatch/tsconfig.json +++ b/types/d3-dispatch/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-drag/tsconfig.json b/types/d3-drag/tsconfig.json index f8e6c58777..cb6cab8ba0 100644 --- a/types/d3-drag/tsconfig.json +++ b/types/d3-drag/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-dsv/tsconfig.json b/types/d3-dsv/tsconfig.json index da64649d23..af657464cf 100644 --- a/types/d3-dsv/tsconfig.json +++ b/types/d3-dsv/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-dsv/v0/tsconfig.json b/types/d3-dsv/v0/tsconfig.json index 1a0cae31df..e0ae8b7a42 100644 --- a/types/d3-dsv/v0/tsconfig.json +++ b/types/d3-dsv/v0/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-ease/tsconfig.json b/types/d3-ease/tsconfig.json index ea4d66c4dd..6d0831f1a5 100644 --- a/types/d3-ease/tsconfig.json +++ b/types/d3-ease/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-fetch/tsconfig.json b/types/d3-fetch/tsconfig.json index f30552f20d..8151f587a2 100644 --- a/types/d3-fetch/tsconfig.json +++ b/types/d3-fetch/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-force/tsconfig.json b/types/d3-force/tsconfig.json index cb3b3630c3..3d407406eb 100644 --- a/types/d3-force/tsconfig.json +++ b/types/d3-force/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-format/tsconfig.json b/types/d3-format/tsconfig.json index cd2ccee91b..6017e0916f 100644 --- a/types/d3-format/tsconfig.json +++ b/types/d3-format/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-geo/tsconfig.json b/types/d3-geo/tsconfig.json index ea909a0598..f3661c3ad2 100644 --- a/types/d3-geo/tsconfig.json +++ b/types/d3-geo/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-hexbin/tsconfig.json b/types/d3-hexbin/tsconfig.json index 5f58387e06..773221263b 100644 --- a/types/d3-hexbin/tsconfig.json +++ b/types/d3-hexbin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-hierarchy/tsconfig.json b/types/d3-hierarchy/tsconfig.json index 88974b9359..7fbc1fb5df 100644 --- a/types/d3-hierarchy/tsconfig.json +++ b/types/d3-hierarchy/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-hsv/tsconfig.json b/types/d3-hsv/tsconfig.json index 3249f8d778..c92ce346b2 100644 --- a/types/d3-hsv/tsconfig.json +++ b/types/d3-hsv/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-interpolate/tsconfig.json b/types/d3-interpolate/tsconfig.json index 6a3fd2a0b5..14435aff3d 100644 --- a/types/d3-interpolate/tsconfig.json +++ b/types/d3-interpolate/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-path/tsconfig.json b/types/d3-path/tsconfig.json index 6651f7ec3c..5f3fa1ca3e 100644 --- a/types/d3-path/tsconfig.json +++ b/types/d3-path/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-polygon/tsconfig.json b/types/d3-polygon/tsconfig.json index 3ac84426f5..79bd8a43b8 100644 --- a/types/d3-polygon/tsconfig.json +++ b/types/d3-polygon/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-quadtree/tsconfig.json b/types/d3-quadtree/tsconfig.json index 3a54e793e7..cbbb70a658 100644 --- a/types/d3-quadtree/tsconfig.json +++ b/types/d3-quadtree/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-queue/tsconfig.json b/types/d3-queue/tsconfig.json index e48b49503e..72f00c11e5 100644 --- a/types/d3-queue/tsconfig.json +++ b/types/d3-queue/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-random/tsconfig.json b/types/d3-random/tsconfig.json index f497ce18bf..a8db248667 100644 --- a/types/d3-random/tsconfig.json +++ b/types/d3-random/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-request/tsconfig.json b/types/d3-request/tsconfig.json index 741908230f..a52d00ffaa 100644 --- a/types/d3-request/tsconfig.json +++ b/types/d3-request/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-sankey/tsconfig.json b/types/d3-sankey/tsconfig.json index 5067a33516..503145683b 100644 --- a/types/d3-sankey/tsconfig.json +++ b/types/d3-sankey/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-scale-chromatic/tsconfig.json b/types/d3-scale-chromatic/tsconfig.json index 404fba89ea..f17bd93eb5 100644 --- a/types/d3-scale-chromatic/tsconfig.json +++ b/types/d3-scale-chromatic/tsconfig.json @@ -14,11 +14,10 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "d3-scale-chromatic-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/d3-scale/tsconfig.json b/types/d3-scale/tsconfig.json index 2fe9977909..4fb09e2d39 100644 --- a/types/d3-scale/tsconfig.json +++ b/types/d3-scale/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-scale/v1/tsconfig.json b/types/d3-scale/v1/tsconfig.json index d0a2eef03f..dda3239a94 100644 --- a/types/d3-scale/v1/tsconfig.json +++ b/types/d3-scale/v1/tsconfig.json @@ -14,15 +14,16 @@ "../../" ], "paths": { - "d3-scale": ["d3-scale/v1"] + "d3-scale": [ + "d3-scale/v1" + ] }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "d3-scale-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/d3-selection-multi/tsconfig.json b/types/d3-selection-multi/tsconfig.json index 51dfdb320f..7344010335 100644 --- a/types/d3-selection-multi/tsconfig.json +++ b/types/d3-selection-multi/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-selection/tsconfig.json b/types/d3-selection/tsconfig.json index 9ee4a0eef4..c76fd0532c 100644 --- a/types/d3-selection/tsconfig.json +++ b/types/d3-selection/tsconfig.json @@ -15,11 +15,10 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "d3-selection-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/d3-shape/tsconfig.json b/types/d3-shape/tsconfig.json index 95b8e8a112..0436aafd66 100644 --- a/types/d3-shape/tsconfig.json +++ b/types/d3-shape/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-time-format/tsconfig.json b/types/d3-time-format/tsconfig.json index 829d92b69e..93e1519c0f 100644 --- a/types/d3-time-format/tsconfig.json +++ b/types/d3-time-format/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-time/tsconfig.json b/types/d3-time/tsconfig.json index aa5250e8df..963c0df157 100644 --- a/types/d3-time/tsconfig.json +++ b/types/d3-time/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-timer/tsconfig.json b/types/d3-timer/tsconfig.json index 6f04f3f1de..f3af0c7d8e 100644 --- a/types/d3-timer/tsconfig.json +++ b/types/d3-timer/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-tip/tsconfig.json b/types/d3-tip/tsconfig.json index 7a4d78071c..8bd5f064c9 100644 --- a/types/d3-tip/tsconfig.json +++ b/types/d3-tip/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-transition/tsconfig.json b/types/d3-transition/tsconfig.json index 43d4e23565..f23a386a94 100644 --- a/types/d3-transition/tsconfig.json +++ b/types/d3-transition/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-voronoi/tsconfig.json b/types/d3-voronoi/tsconfig.json index 88819747f1..ada834dec3 100644 --- a/types/d3-voronoi/tsconfig.json +++ b/types/d3-voronoi/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3-zoom/tsconfig.json b/types/d3-zoom/tsconfig.json index 460c577983..ed184bf861 100644 --- a/types/d3-zoom/tsconfig.json +++ b/types/d3-zoom/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3.cloud.layout/tsconfig.json b/types/d3.cloud.layout/tsconfig.json index 5dc4a6e41b..ffb26214cc 100644 --- a/types/d3.cloud.layout/tsconfig.json +++ b/types/d3.cloud.layout/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3.slider/tsconfig.json b/types/d3.slider/tsconfig.json index 487fbb4be2..a2a0a2c0c7 100644 --- a/types/d3.slider/tsconfig.json +++ b/types/d3.slider/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3/tsconfig.json b/types/d3/tsconfig.json index adea130e6c..8ec0a8e64e 100644 --- a/types/d3/tsconfig.json +++ b/types/d3/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3/v3/tsconfig.json b/types/d3/v3/tsconfig.json index 4912912a48..dd4cea8078 100644 --- a/types/d3/v3/tsconfig.json +++ b/types/d3/v3/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3/v4/tsconfig.json b/types/d3/v4/tsconfig.json index f454459222..d4341019c7 100644 --- a/types/d3/v4/tsconfig.json +++ b/types/d3/v4/tsconfig.json @@ -14,16 +14,19 @@ "../../" ], "paths": { - "d3-scale": ["d3-scale/v1"], - "d3": ["d3/v4"] + "d3-scale": [ + "d3-scale/v1" + ], + "d3": [ + "d3/v4" + ] }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "d3-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/d3kit/tsconfig.json b/types/d3kit/tsconfig.json index 3288c90ae9..40e266f6f9 100644 --- a/types/d3kit/tsconfig.json +++ b/types/d3kit/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3kit/v1/tsconfig.json b/types/d3kit/v1/tsconfig.json index 0856962263..f2112d2661 100644 --- a/types/d3kit/v1/tsconfig.json +++ b/types/d3kit/v1/tsconfig.json @@ -23,8 +23,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/d3pie/tsconfig.json b/types/d3pie/tsconfig.json index ee657eb9ed..c654f02557 100644 --- a/types/d3pie/tsconfig.json +++ b/types/d3pie/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dagre-d3/tsconfig.json b/types/dagre-d3/tsconfig.json index c67751ed03..584a8cc848 100644 --- a/types/dagre-d3/tsconfig.json +++ b/types/dagre-d3/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dagre-layout/tsconfig.json b/types/dagre-layout/tsconfig.json index b1b3ec1692..12bfb07f57 100644 --- a/types/dagre-layout/tsconfig.json +++ b/types/dagre-layout/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dagre/tsconfig.json b/types/dagre/tsconfig.json index 07d7208f87..b5802bd42e 100644 --- a/types/dagre/tsconfig.json +++ b/types/dagre/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dargs/tsconfig.json b/types/dargs/tsconfig.json index eb152319a9..88aef9d923 100644 --- a/types/dargs/tsconfig.json +++ b/types/dargs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dashify/tsconfig.json b/types/dashify/tsconfig.json index 4ca9ab12f2..81e84c030c 100644 --- a/types/dashify/tsconfig.json +++ b/types/dashify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dat-gui/tsconfig.json b/types/dat-gui/tsconfig.json index b8138868cc..4961272694 100644 --- a/types/dat-gui/tsconfig.json +++ b/types/dat-gui/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/data-driven/tsconfig.json b/types/data-driven/tsconfig.json index 4423546191..7e3cb6a15c 100644 --- a/types/data-driven/tsconfig.json +++ b/types/data-driven/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/datadog-metrics/tsconfig.json b/types/datadog-metrics/tsconfig.json index 3cb76e9dfd..ca3613429a 100644 --- a/types/datadog-metrics/tsconfig.json +++ b/types/datadog-metrics/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/datatables.net-buttons/tsconfig.json b/types/datatables.net-buttons/tsconfig.json index 47ef321009..3e8d4ce82c 100644 --- a/types/datatables.net-buttons/tsconfig.json +++ b/types/datatables.net-buttons/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/datatables.net-fixedheader/tsconfig.json b/types/datatables.net-fixedheader/tsconfig.json index e42c69588e..5c747aa854 100644 --- a/types/datatables.net-fixedheader/tsconfig.json +++ b/types/datatables.net-fixedheader/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/datatables.net-rowgroup/tsconfig.json b/types/datatables.net-rowgroup/tsconfig.json index 66d4610072..09e77d7042 100644 --- a/types/datatables.net-rowgroup/tsconfig.json +++ b/types/datatables.net-rowgroup/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/datatables.net-rowreorder/tsconfig.json b/types/datatables.net-rowreorder/tsconfig.json index 3f2a9668a1..c16752cd22 100644 --- a/types/datatables.net-rowreorder/tsconfig.json +++ b/types/datatables.net-rowreorder/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/datatables.net-select/tsconfig.json b/types/datatables.net-select/tsconfig.json index 63aaf5e9df..50398d173e 100644 --- a/types/datatables.net-select/tsconfig.json +++ b/types/datatables.net-select/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/datatables.net/tsconfig.json b/types/datatables.net/tsconfig.json index 8aafdcfc1c..04972add17 100644 --- a/types/datatables.net/tsconfig.json +++ b/types/datatables.net/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/date-arithmetic/tsconfig.json b/types/date-arithmetic/tsconfig.json index 2e9dea5326..d8942e343c 100644 --- a/types/date-arithmetic/tsconfig.json +++ b/types/date-arithmetic/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/date.format.js/tsconfig.json b/types/date.format.js/tsconfig.json index a835b70fa3..a7a5e7f404 100644 --- a/types/date.format.js/tsconfig.json +++ b/types/date.format.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dateformat/tsconfig.json b/types/dateformat/tsconfig.json index 0511224dad..1c5fc06611 100644 --- a/types/dateformat/tsconfig.json +++ b/types/dateformat/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/datejs/tsconfig.json b/types/datejs/tsconfig.json index eb53ed05f1..5d17ca2da9 100644 --- a/types/datejs/tsconfig.json +++ b/types/datejs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/daterangepicker/tsconfig.json b/types/daterangepicker/tsconfig.json index 621dd6dada..1ed4157bc7 100644 --- a/types/daterangepicker/tsconfig.json +++ b/types/daterangepicker/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/db-migrate-base/tsconfig.json b/types/db-migrate-base/tsconfig.json index 0d756c7d5c..f4c835bb88 100644 --- a/types/db-migrate-base/tsconfig.json +++ b/types/db-migrate-base/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/db-migrate-pg/tsconfig.json b/types/db-migrate-pg/tsconfig.json index 3243faf3dd..c63efcd105 100644 --- a/types/db-migrate-pg/tsconfig.json +++ b/types/db-migrate-pg/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/db.js/tsconfig.json b/types/db.js/tsconfig.json index 10ea07f745..75989af0b3 100644 --- a/types/db.js/tsconfig.json +++ b/types/db.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dc/tsconfig.json b/types/dc/tsconfig.json index 290a1e994d..863d600736 100644 --- a/types/dc/tsconfig.json +++ b/types/dc/tsconfig.json @@ -24,7 +24,6 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/deasync/tsconfig.json b/types/deasync/tsconfig.json index d62c8d7f8e..d61004bac3 100644 --- a/types/deasync/tsconfig.json +++ b/types/deasync/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/debessmann/tsconfig.json b/types/debessmann/tsconfig.json index 1dc931d093..b8b4c01d06 100644 --- a/types/debessmann/tsconfig.json +++ b/types/debessmann/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/debounce/tsconfig.json b/types/debounce/tsconfig.json index 4dd1415a27..bf08d46e44 100644 --- a/types/debounce/tsconfig.json +++ b/types/debounce/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/debug/tsconfig.json b/types/debug/tsconfig.json index 33cacd7464..7caca45f35 100644 --- a/types/debug/tsconfig.json +++ b/types/debug/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/decamelize/tsconfig.json b/types/decamelize/tsconfig.json index 9c034b4839..54bea1b020 100644 --- a/types/decamelize/tsconfig.json +++ b/types/decamelize/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/decay/tsconfig.json b/types/decay/tsconfig.json index 1300da9349..d35511f505 100644 --- a/types/decay/tsconfig.json +++ b/types/decay/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/decompress/tsconfig.json b/types/decompress/tsconfig.json index a76b0817fd..3ddd8e5cd5 100644 --- a/types/decompress/tsconfig.json +++ b/types/decompress/tsconfig.json @@ -14,7 +14,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/decorum/tsconfig.json b/types/decorum/tsconfig.json index 40ba95f9ea..82792e10c5 100644 --- a/types/decorum/tsconfig.json +++ b/types/decorum/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dedent/tsconfig.json b/types/dedent/tsconfig.json index 61234daf73..30c39b0a23 100644 --- a/types/dedent/tsconfig.json +++ b/types/dedent/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/deep-assign/tsconfig.json b/types/deep-assign/tsconfig.json index f8a0647dca..76d4b1b23e 100644 --- a/types/deep-assign/tsconfig.json +++ b/types/deep-assign/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/deep-diff/tsconfig.json b/types/deep-diff/tsconfig.json index 76c498035e..95cd2d22ac 100644 --- a/types/deep-diff/tsconfig.json +++ b/types/deep-diff/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/deep-equal/tsconfig.json b/types/deep-equal/tsconfig.json index 9c016f9281..e5c20aa772 100644 --- a/types/deep-equal/tsconfig.json +++ b/types/deep-equal/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/deep-extend/tsconfig.json b/types/deep-extend/tsconfig.json index ff77090b23..768b1ac92d 100644 --- a/types/deep-extend/tsconfig.json +++ b/types/deep-extend/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/deep-freeze-es6/tsconfig.json b/types/deep-freeze-es6/tsconfig.json index f47120248f..cf9a3b32f5 100644 --- a/types/deep-freeze-es6/tsconfig.json +++ b/types/deep-freeze-es6/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/deep-freeze-strict/tsconfig.json b/types/deep-freeze-strict/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/deep-freeze-strict/tsconfig.json +++ b/types/deep-freeze-strict/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/deep-freeze/tsconfig.json b/types/deep-freeze/tsconfig.json index bd681a7f3b..3fe6438f96 100644 --- a/types/deep-freeze/tsconfig.json +++ b/types/deep-freeze/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/deepmerge/tsconfig.json b/types/deepmerge/tsconfig.json index fd45a1df17..b863d1bcb9 100644 --- a/types/deepmerge/tsconfig.json +++ b/types/deepmerge/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/defaults/tsconfig.json b/types/defaults/tsconfig.json index 90757c2104..4a66176c28 100644 --- a/types/defaults/tsconfig.json +++ b/types/defaults/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/defer-promise/tsconfig.json b/types/defer-promise/tsconfig.json index ef7ffa0690..354e3ad6fc 100644 --- a/types/defer-promise/tsconfig.json +++ b/types/defer-promise/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/define-lazy-prop/tsconfig.json b/types/define-lazy-prop/tsconfig.json index 8b8f252553..e72c943c52 100644 --- a/types/define-lazy-prop/tsconfig.json +++ b/types/define-lazy-prop/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/defined/tsconfig.json b/types/defined/tsconfig.json index 3f8607f716..35b5bb7c83 100644 --- a/types/defined/tsconfig.json +++ b/types/defined/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/deku/tsconfig.json b/types/deku/tsconfig.json index 67cbce0a6a..ad8473665d 100644 --- a/types/deku/tsconfig.json +++ b/types/deku/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/del/tsconfig.json b/types/del/tsconfig.json index 8d4988bb00..6143d08346 100644 --- a/types/del/tsconfig.json +++ b/types/del/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/del/v2/tsconfig.json b/types/del/v2/tsconfig.json index 00f2f32920..568d1a8a21 100644 --- a/types/del/v2/tsconfig.json +++ b/types/del/v2/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/delaunator/tsconfig.json b/types/delaunator/tsconfig.json index 97bca0c508..a9c94600d8 100644 --- a/types/delaunator/tsconfig.json +++ b/types/delaunator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/delay/tsconfig.json b/types/delay/tsconfig.json index 039ccc4860..cb0da53652 100644 --- a/types/delay/tsconfig.json +++ b/types/delay/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/denodeify/tsconfig.json b/types/denodeify/tsconfig.json index 309f54e7c1..04d0008cd5 100644 --- a/types/denodeify/tsconfig.json +++ b/types/denodeify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/deoxxa-content-type/tsconfig.json b/types/deoxxa-content-type/tsconfig.json index 10d2335f0f..5f50fa4676 100644 --- a/types/deoxxa-content-type/tsconfig.json +++ b/types/deoxxa-content-type/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/depcheck/tsconfig.json b/types/depcheck/tsconfig.json index 14f56cc2b5..490d7cc2bb 100644 --- a/types/depcheck/tsconfig.json +++ b/types/depcheck/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/depd/tsconfig.json b/types/depd/tsconfig.json index 3164f96fa6..cea39d4996 100644 --- a/types/depd/tsconfig.json +++ b/types/depd/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/deployjava/tsconfig.json b/types/deployjava/tsconfig.json index 7241ae5513..934531a4ee 100644 --- a/types/deployjava/tsconfig.json +++ b/types/deployjava/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/destroy-on-hwm/tsconfig.json b/types/destroy-on-hwm/tsconfig.json index 54b7ae1b87..8f77b1b9a4 100644 --- a/types/destroy-on-hwm/tsconfig.json +++ b/types/destroy-on-hwm/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/destroy/tsconfig.json b/types/destroy/tsconfig.json index 4d57e05510..d3c5ca771d 100644 --- a/types/destroy/tsconfig.json +++ b/types/destroy/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/detect-browser/tsconfig.json b/types/detect-browser/tsconfig.json index 745bcc8128..b1319407fc 100644 --- a/types/detect-browser/tsconfig.json +++ b/types/detect-browser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/detect-hover/tsconfig.json b/types/detect-hover/tsconfig.json index b2f4b457c6..69abd062cd 100644 --- a/types/detect-hover/tsconfig.json +++ b/types/detect-hover/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/detect-indent/tsconfig.json b/types/detect-indent/tsconfig.json index e75f82a918..3119632150 100644 --- a/types/detect-indent/tsconfig.json +++ b/types/detect-indent/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/detect-indent/v0/tsconfig.json b/types/detect-indent/v0/tsconfig.json index a646b4f457..6fb921c298 100644 --- a/types/detect-indent/v0/tsconfig.json +++ b/types/detect-indent/v0/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/detect-it/tsconfig.json b/types/detect-it/tsconfig.json index c74d5b9c65..28787b09b8 100644 --- a/types/detect-it/tsconfig.json +++ b/types/detect-it/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/detect-newline/tsconfig.json b/types/detect-newline/tsconfig.json index 1ee86197af..a94c517f93 100644 --- a/types/detect-newline/tsconfig.json +++ b/types/detect-newline/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/detect-passive-events/tsconfig.json b/types/detect-passive-events/tsconfig.json index 6e57a4488c..83ddf05856 100644 --- a/types/detect-passive-events/tsconfig.json +++ b/types/detect-passive-events/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/detect-pointer/tsconfig.json b/types/detect-pointer/tsconfig.json index de5138f95a..50b7d6cb7d 100644 --- a/types/detect-pointer/tsconfig.json +++ b/types/detect-pointer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/detect-port/tsconfig.json b/types/detect-port/tsconfig.json index 353d626311..9d400580a4 100644 --- a/types/detect-port/tsconfig.json +++ b/types/detect-port/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/detect-touch-events/tsconfig.json b/types/detect-touch-events/tsconfig.json index cfd46b1f2b..03b3cc49cb 100644 --- a/types/detect-touch-events/tsconfig.json +++ b/types/detect-touch-events/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/devexpress-web/tsconfig.json b/types/devexpress-web/tsconfig.json index 22b3c9ce8c..3510853ddd 100644 --- a/types/devexpress-web/tsconfig.json +++ b/types/devexpress-web/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/devexpress-web/v161/tsconfig.json b/types/devexpress-web/v161/tsconfig.json index 1875485bf1..0c6ad80e42 100644 --- a/types/devexpress-web/v161/tsconfig.json +++ b/types/devexpress-web/v161/tsconfig.json @@ -23,8 +23,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/devexpress-web/v162/tsconfig.json b/types/devexpress-web/v162/tsconfig.json index b0e0cd1a6f..0878906afb 100644 --- a/types/devexpress-web/v162/tsconfig.json +++ b/types/devexpress-web/v162/tsconfig.json @@ -23,8 +23,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/devtools-detect/tsconfig.json b/types/devtools-detect/tsconfig.json index cbf7e862ac..8ab64cb68c 100644 --- a/types/devtools-detect/tsconfig.json +++ b/types/devtools-detect/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/df-visible/tsconfig.json b/types/df-visible/tsconfig.json index 3ada905eca..ca15676b02 100644 --- a/types/df-visible/tsconfig.json +++ b/types/df-visible/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dhtmlxgantt/tsconfig.json b/types/dhtmlxgantt/tsconfig.json index 280ae19957..f897e58d02 100644 --- a/types/dhtmlxgantt/tsconfig.json +++ b/types/dhtmlxgantt/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dhtmlxscheduler/tsconfig.json b/types/dhtmlxscheduler/tsconfig.json index 71b2f56ab6..8d145fb613 100644 --- a/types/dhtmlxscheduler/tsconfig.json +++ b/types/dhtmlxscheduler/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/di-lite/tsconfig.json b/types/di-lite/tsconfig.json index e76b11c158..7f10ef8967 100644 --- a/types/di-lite/tsconfig.json +++ b/types/di-lite/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/diacritics/tsconfig.json b/types/diacritics/tsconfig.json index f0b9510d2e..03b49dbe95 100644 --- a/types/diacritics/tsconfig.json +++ b/types/diacritics/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/diff-match-patch/tsconfig.json b/types/diff-match-patch/tsconfig.json index a28e29633b..11f60e2489 100644 --- a/types/diff-match-patch/tsconfig.json +++ b/types/diff-match-patch/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/diff/tsconfig.json b/types/diff/tsconfig.json index bf2e3af341..9a1fdba840 100644 --- a/types/diff/tsconfig.json +++ b/types/diff/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/diff2html/tsconfig.json b/types/diff2html/tsconfig.json index 7eb376bb33..bb9662b5b6 100644 --- a/types/diff2html/tsconfig.json +++ b/types/diff2html/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dir-resolve/tsconfig.json b/types/dir-resolve/tsconfig.json index 1a2677f4da..129d8a0aa9 100644 --- a/types/dir-resolve/tsconfig.json +++ b/types/dir-resolve/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/discontinuous-range/tsconfig.json b/types/discontinuous-range/tsconfig.json index 64edbc248e..26c43bf7f0 100644 --- a/types/discontinuous-range/tsconfig.json +++ b/types/discontinuous-range/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/disposable-email-domains/tsconfig.json b/types/disposable-email-domains/tsconfig.json index 3fd51dba9b..70b9e249d1 100644 --- a/types/disposable-email-domains/tsconfig.json +++ b/types/disposable-email-domains/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/doccookies/tsconfig.json b/types/doccookies/tsconfig.json index 9df6ed48d5..e4de927a2f 100644 --- a/types/doccookies/tsconfig.json +++ b/types/doccookies/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dock-spawn/tsconfig.json b/types/dock-spawn/tsconfig.json index c79bde1059..a5c6c7b144 100644 --- a/types/dock-spawn/tsconfig.json +++ b/types/dock-spawn/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dockerode/tsconfig.json b/types/dockerode/tsconfig.json index 85e6705d47..3334b9b296 100644 --- a/types/dockerode/tsconfig.json +++ b/types/dockerode/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/docopt/tsconfig.json b/types/docopt/tsconfig.json index ac4ca64e76..bc71021fcd 100644 --- a/types/docopt/tsconfig.json +++ b/types/docopt/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/doctrine/tsconfig.json b/types/doctrine/tsconfig.json index cf7070091c..1b9e7702c2 100644 --- a/types/doctrine/tsconfig.json +++ b/types/doctrine/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/documentdb-server/tsconfig.json b/types/documentdb-server/tsconfig.json index 9320c53f1b..98dcf6bf5c 100644 --- a/types/documentdb-server/tsconfig.json +++ b/types/documentdb-server/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/documentdb-session/tsconfig.json b/types/documentdb-session/tsconfig.json index 45398d91dd..40ab7520b7 100644 --- a/types/documentdb-session/tsconfig.json +++ b/types/documentdb-session/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/documentdb/tsconfig.json b/types/documentdb/tsconfig.json index f602f0c74d..48c13eac51 100644 --- a/types/documentdb/tsconfig.json +++ b/types/documentdb/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dojo/tsconfig.json b/types/dojo/tsconfig.json index d7f9e50b42..983ded2a9c 100644 --- a/types/dojo/tsconfig.json +++ b/types/dojo/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dom-inputevent/tsconfig.json b/types/dom-inputevent/tsconfig.json index cd56b783f6..a309b9ec2e 100644 --- a/types/dom-inputevent/tsconfig.json +++ b/types/dom-inputevent/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dom4/tsconfig.json b/types/dom4/tsconfig.json index 579670df92..3db581ed36 100644 --- a/types/dom4/tsconfig.json +++ b/types/dom4/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/domo/tsconfig.json b/types/domo/tsconfig.json index d98ca4d683..1700042ecc 100644 --- a/types/domo/tsconfig.json +++ b/types/domo/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dompurify/tsconfig.json b/types/dompurify/tsconfig.json index e43c9febde..f10fdda910 100644 --- a/types/dompurify/tsconfig.json +++ b/types/dompurify/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/domready/tsconfig.json b/types/domready/tsconfig.json index 08391e9dd2..1495d185a6 100644 --- a/types/domready/tsconfig.json +++ b/types/domready/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/domurl/tsconfig.json b/types/domurl/tsconfig.json index 450c43b839..c678dbc069 100644 --- a/types/domurl/tsconfig.json +++ b/types/domurl/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/donna/tsconfig.json b/types/donna/tsconfig.json index c683e15ca5..6e06e71c36 100644 --- a/types/donna/tsconfig.json +++ b/types/donna/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dookie/tsconfig.json b/types/dookie/tsconfig.json index e4f71c26fa..a788cba5bc 100644 --- a/types/dookie/tsconfig.json +++ b/types/dookie/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dot-object/tsconfig.json b/types/dot-object/tsconfig.json index 941ba764dc..f58205cdaf 100644 --- a/types/dot-object/tsconfig.json +++ b/types/dot-object/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dot-prop/tsconfig.json b/types/dot-prop/tsconfig.json index 73180091a1..cbacf32b41 100644 --- a/types/dot-prop/tsconfig.json +++ b/types/dot-prop/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dot-prop/v2/tsconfig.json b/types/dot-prop/v2/tsconfig.json index 66701208fc..f5770f3083 100644 --- a/types/dot-prop/v2/tsconfig.json +++ b/types/dot-prop/v2/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dot/tsconfig.json b/types/dot/tsconfig.json index dc732938b9..2c1a595ac6 100644 --- a/types/dot/tsconfig.json +++ b/types/dot/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dotdir-regex/tsconfig.json b/types/dotdir-regex/tsconfig.json index 05a1fa51fc..54d5ea00f8 100644 --- a/types/dotdir-regex/tsconfig.json +++ b/types/dotdir-regex/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dotdotdot/tsconfig.json b/types/dotdotdot/tsconfig.json index 646dc386bb..8be8dc5245 100644 --- a/types/dotdotdot/tsconfig.json +++ b/types/dotdotdot/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dotenv-safe/tsconfig.json b/types/dotenv-safe/tsconfig.json index 3deacfa95d..46b51afc29 100644 --- a/types/dotenv-safe/tsconfig.json +++ b/types/dotenv-safe/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dotenv/tsconfig.json b/types/dotenv/tsconfig.json index f5e49e1b84..5c51b4d698 100644 --- a/types/dotenv/tsconfig.json +++ b/types/dotenv/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dotenv/v2/tsconfig.json b/types/dotenv/v2/tsconfig.json index c7b540d409..facb307571 100644 --- a/types/dotenv/v2/tsconfig.json +++ b/types/dotenv/v2/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dotfile-regex/tsconfig.json b/types/dotfile-regex/tsconfig.json index 74e46144e6..045d02db37 100644 --- a/types/dotfile-regex/tsconfig.json +++ b/types/dotfile-regex/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dottie/tsconfig.json b/types/dottie/tsconfig.json index 34b719f7be..f770bbf57d 100644 --- a/types/dottie/tsconfig.json +++ b/types/dottie/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/double-ended-queue/tsconfig.json b/types/double-ended-queue/tsconfig.json index 5289474c22..4c2f67fbe4 100644 --- a/types/double-ended-queue/tsconfig.json +++ b/types/double-ended-queue/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/doublearray/tsconfig.json b/types/doublearray/tsconfig.json index 60fcedffa5..fbc5ab9e55 100644 --- a/types/doublearray/tsconfig.json +++ b/types/doublearray/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/doubleclick-gpt/tsconfig.json b/types/doubleclick-gpt/tsconfig.json index 0cadcea552..d240d560ce 100644 --- a/types/doubleclick-gpt/tsconfig.json +++ b/types/doubleclick-gpt/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/download/tsconfig.json b/types/download/tsconfig.json index 4c2a798181..edb8b7f471 100644 --- a/types/download/tsconfig.json +++ b/types/download/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/downloadjs/tsconfig.json b/types/downloadjs/tsconfig.json index ef9a4f48df..15703cf41a 100644 --- a/types/downloadjs/tsconfig.json +++ b/types/downloadjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/draft-js/tsconfig.json b/types/draft-js/tsconfig.json index 6b00c0304b..58fc6cd302 100644 --- a/types/draft-js/tsconfig.json +++ b/types/draft-js/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/drag-timetable/tsconfig.json b/types/drag-timetable/tsconfig.json index bb865cb850..875c35f69a 100644 --- a/types/drag-timetable/tsconfig.json +++ b/types/drag-timetable/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/draggabilly/tsconfig.json b/types/draggabilly/tsconfig.json index ce7ce9796a..d34c51c338 100644 --- a/types/draggabilly/tsconfig.json +++ b/types/draggabilly/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dragster/tsconfig.json b/types/dragster/tsconfig.json index a01e46114a..c415da2b1a 100644 --- a/types/dragster/tsconfig.json +++ b/types/dragster/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dragula/tsconfig.json b/types/dragula/tsconfig.json index 2a559a985a..8179057247 100644 --- a/types/dragula/tsconfig.json +++ b/types/dragula/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dropboxjs/tsconfig.json b/types/dropboxjs/tsconfig.json index eacfcbef6a..c1c700cf02 100644 --- a/types/dropboxjs/tsconfig.json +++ b/types/dropboxjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dropkickjs/tsconfig.json b/types/dropkickjs/tsconfig.json index 236482a1b4..31076fcede 100644 --- a/types/dropkickjs/tsconfig.json +++ b/types/dropkickjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dropzone/tsconfig.json b/types/dropzone/tsconfig.json index 122461bf99..552b864cb7 100644 --- a/types/dropzone/tsconfig.json +++ b/types/dropzone/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dropzone/v4/tsconfig.json b/types/dropzone/v4/tsconfig.json index aae03fcbc2..d88ab721fd 100644 --- a/types/dropzone/v4/tsconfig.json +++ b/types/dropzone/v4/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "dropzone": [ "dropzone/v4" diff --git a/types/dsv/tsconfig.json b/types/dsv/tsconfig.json index caec8c18be..ba47a0e093 100644 --- a/types/dsv/tsconfig.json +++ b/types/dsv/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dts-bundle/tsconfig.json b/types/dts-bundle/tsconfig.json index e0f3943154..a380447ece 100644 --- a/types/dts-bundle/tsconfig.json +++ b/types/dts-bundle/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dts-generator/tsconfig.json b/types/dts-generator/tsconfig.json index 2095dbfe71..97bc3726f6 100644 --- a/types/dts-generator/tsconfig.json +++ b/types/dts-generator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/duplexer2/tsconfig.json b/types/duplexer2/tsconfig.json index f6c3a3bd6f..90332a13a9 100644 --- a/types/duplexer2/tsconfig.json +++ b/types/duplexer2/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/duplexer3/tsconfig.json b/types/duplexer3/tsconfig.json index bffe49054d..1b3e73cc33 100644 --- a/types/duplexer3/tsconfig.json +++ b/types/duplexer3/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/duplexify/tsconfig.json b/types/duplexify/tsconfig.json index 77cccda4d5..72c801f5ab 100644 --- a/types/duplexify/tsconfig.json +++ b/types/duplexify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/duplicate-package-checker-webpack-plugin/tsconfig.json b/types/duplicate-package-checker-webpack-plugin/tsconfig.json index 835669e473..7174bf68ea 100644 --- a/types/duplicate-package-checker-webpack-plugin/tsconfig.json +++ b/types/duplicate-package-checker-webpack-plugin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/durandal/tsconfig.json b/types/durandal/tsconfig.json index 19a01dfff9..d34d6a1d77 100644 --- a/types/durandal/tsconfig.json +++ b/types/durandal/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/durandal/v1/tsconfig.json b/types/durandal/v1/tsconfig.json index f0245c65e7..d39bcbc18d 100644 --- a/types/durandal/v1/tsconfig.json +++ b/types/durandal/v1/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/dustjs-linkedin/tsconfig.json b/types/dustjs-linkedin/tsconfig.json index a0f0dca49a..36a7497468 100644 --- a/types/dustjs-linkedin/tsconfig.json +++ b/types/dustjs-linkedin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dvtng-jss/tsconfig.json b/types/dvtng-jss/tsconfig.json index c7b51d7005..24d96dad5a 100644 --- a/types/dvtng-jss/tsconfig.json +++ b/types/dvtng-jss/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dw-bxslider-4/tsconfig.json b/types/dw-bxslider-4/tsconfig.json index e5465c64d5..64526359b3 100644 --- a/types/dw-bxslider-4/tsconfig.json +++ b/types/dw-bxslider-4/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dwt/tsconfig.json b/types/dwt/tsconfig.json index bc93f94dcd..db2ac6bbf4 100644 --- a/types/dwt/tsconfig.json +++ b/types/dwt/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dwt/v12/tsconfig.json b/types/dwt/v12/tsconfig.json index 7ef5ca74c2..f856dd2657 100644 --- a/types/dwt/v12/tsconfig.json +++ b/types/dwt/v12/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dygraphs/tsconfig.json b/types/dygraphs/tsconfig.json index d6df213d34..c3ff239b4b 100644 --- a/types/dygraphs/tsconfig.json +++ b/types/dygraphs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dymo-label-framework/tsconfig.json b/types/dymo-label-framework/tsconfig.json index 54a508bf9f..23ac4038d1 100644 --- a/types/dymo-label-framework/tsconfig.json +++ b/types/dymo-label-framework/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dynatable/tsconfig.json b/types/dynatable/tsconfig.json index ca539d36d9..04ffb1120a 100644 --- a/types/dynatable/tsconfig.json +++ b/types/dynatable/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/dynogels/tsconfig.json b/types/dynogels/tsconfig.json index 07145428de..40297f0a43 100644 --- a/types/dynogels/tsconfig.json +++ b/types/dynogels/tsconfig.json @@ -14,8 +14,7 @@ "types": [], "noEmit": true, "strictFunctionTypes": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/each/tsconfig.json b/types/each/tsconfig.json index 0148832306..4b80cb809d 100644 --- a/types/each/tsconfig.json +++ b/types/each/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/earcut/tsconfig.json b/types/earcut/tsconfig.json index 24dddd5a2b..51a94956f3 100644 --- a/types/earcut/tsconfig.json +++ b/types/earcut/tsconfig.json @@ -14,7 +14,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/easeljs/tsconfig.json b/types/easeljs/tsconfig.json index 7b9d6a37f8..1925fa9a78 100644 --- a/types/easeljs/tsconfig.json +++ b/types/easeljs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/easy-api-request/tsconfig.json b/types/easy-api-request/tsconfig.json index 682a4930a0..8cc26d7811 100644 --- a/types/easy-api-request/tsconfig.json +++ b/types/easy-api-request/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/easy-jsend/tsconfig.json b/types/easy-jsend/tsconfig.json index 4a69b01d6e..3efc497aaf 100644 --- a/types/easy-jsend/tsconfig.json +++ b/types/easy-jsend/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/easy-session/tsconfig.json b/types/easy-session/tsconfig.json index 1e2dce35c0..99d70bf37b 100644 --- a/types/easy-session/tsconfig.json +++ b/types/easy-session/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/easy-table/tsconfig.json b/types/easy-table/tsconfig.json index 1c1ae66ab8..4013bbca85 100644 --- a/types/easy-table/tsconfig.json +++ b/types/easy-table/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/easy-xapi-utils/tsconfig.json b/types/easy-xapi-utils/tsconfig.json index 2d2ccd5660..6cd04a79b9 100644 --- a/types/easy-xapi-utils/tsconfig.json +++ b/types/easy-xapi-utils/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/easy-xapi/tsconfig.json b/types/easy-xapi/tsconfig.json index d77f1bf681..fa0e8da402 100644 --- a/types/easy-xapi/tsconfig.json +++ b/types/easy-xapi/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ebongarde-root/tsconfig.json b/types/ebongarde-root/tsconfig.json index e18dcd54f4..4765268055 100644 --- a/types/ebongarde-root/tsconfig.json +++ b/types/ebongarde-root/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/echarts/tsconfig.json b/types/echarts/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/echarts/tsconfig.json +++ b/types/echarts/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/ecurve/tsconfig.json b/types/ecurve/tsconfig.json index a63c9a4fb5..b3d1d586fe 100644 --- a/types/ecurve/tsconfig.json +++ b/types/ecurve/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ed25519/tsconfig.json b/types/ed25519/tsconfig.json index 31cc84042c..51dbef3590 100644 --- a/types/ed25519/tsconfig.json +++ b/types/ed25519/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ed2curve/tsconfig.json b/types/ed2curve/tsconfig.json index 41c38b86dc..e6d5e9bc62 100644 --- a/types/ed2curve/tsconfig.json +++ b/types/ed2curve/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/egg-mock/tsconfig.json b/types/egg-mock/tsconfig.json index b1c6e12ced..86b33fc149 100644 --- a/types/egg-mock/tsconfig.json +++ b/types/egg-mock/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/egg.js/tsconfig.json b/types/egg.js/tsconfig.json index 45a13df64d..c7364d3f99 100644 --- a/types/egg.js/tsconfig.json +++ b/types/egg.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/egjs__axes/tsconfig.json b/types/egjs__axes/tsconfig.json index 6abab016ee..3086687bc3 100644 --- a/types/egjs__axes/tsconfig.json +++ b/types/egjs__axes/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@egjs/component": [ "egjs__component" diff --git a/types/egjs__component/tsconfig.json b/types/egjs__component/tsconfig.json index cc2373f384..778e5a9f16 100644 --- a/types/egjs__component/tsconfig.json +++ b/types/egjs__component/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@egjs/component": [ "egjs__component" diff --git a/types/ej.web.all/tsconfig.json b/types/ej.web.all/tsconfig.json index fd4e862f17..0a0a2b79e4 100644 --- a/types/ej.web.all/tsconfig.json +++ b/types/ej.web.all/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ejs-locals/tsconfig.json b/types/ejs-locals/tsconfig.json index f52e703a13..7f549cd0a6 100644 --- a/types/ejs-locals/tsconfig.json +++ b/types/ejs-locals/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ejs/tsconfig.json b/types/ejs/tsconfig.json index 07c96c4dc5..ea91455364 100644 --- a/types/ejs/tsconfig.json +++ b/types/ejs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ejson/tsconfig.json b/types/ejson/tsconfig.json index 37caf6d903..3769f3db66 100644 --- a/types/ejson/tsconfig.json +++ b/types/ejson/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/elastic.js/tsconfig.json b/types/elastic.js/tsconfig.json index 498af2bd5c..6a705c4c27 100644 --- a/types/elastic.js/tsconfig.json +++ b/types/elastic.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/elasticsearch/tsconfig.json b/types/elasticsearch/tsconfig.json index 53c7b4e86d..e595648732 100644 --- a/types/elasticsearch/tsconfig.json +++ b/types/elasticsearch/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/electron-config/tsconfig.json b/types/electron-config/tsconfig.json index 928f18f011..8462205033 100644 --- a/types/electron-config/tsconfig.json +++ b/types/electron-config/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/electron-debug/tsconfig.json b/types/electron-debug/tsconfig.json index 8422bbf834..65a83c7c64 100644 --- a/types/electron-debug/tsconfig.json +++ b/types/electron-debug/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/electron-devtools-installer/tsconfig.json b/types/electron-devtools-installer/tsconfig.json index 1a943c0c96..77fbb1d7c5 100644 --- a/types/electron-devtools-installer/tsconfig.json +++ b/types/electron-devtools-installer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/electron-is-dev/tsconfig.json b/types/electron-is-dev/tsconfig.json index 1201808cbe..1260f76477 100644 --- a/types/electron-is-dev/tsconfig.json +++ b/types/electron-is-dev/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/electron-json-storage/tsconfig.json b/types/electron-json-storage/tsconfig.json index a66e96746a..d5bbe0168b 100644 --- a/types/electron-json-storage/tsconfig.json +++ b/types/electron-json-storage/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/electron-notifications/tsconfig.json b/types/electron-notifications/tsconfig.json index 486d6311e7..b5d1926fe9 100644 --- a/types/electron-notifications/tsconfig.json +++ b/types/electron-notifications/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/electron-notify/tsconfig.json b/types/electron-notify/tsconfig.json index d265180995..49580cd305 100644 --- a/types/electron-notify/tsconfig.json +++ b/types/electron-notify/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/electron-packager/tsconfig.json b/types/electron-packager/tsconfig.json index a279fa7571..76f19f8f73 100644 --- a/types/electron-packager/tsconfig.json +++ b/types/electron-packager/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/electron-settings/tsconfig.json b/types/electron-settings/tsconfig.json index 655cfc5dc8..badf76a8d0 100644 --- a/types/electron-settings/tsconfig.json +++ b/types/electron-settings/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/electron-settings/v2/tsconfig.json b/types/electron-settings/v2/tsconfig.json index 8e5453808e..810fdbd504 100644 --- a/types/electron-settings/v2/tsconfig.json +++ b/types/electron-settings/v2/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/electron-spellchecker/tsconfig.json b/types/electron-spellchecker/tsconfig.json index 6494f31e81..cc5add76a0 100644 --- a/types/electron-spellchecker/tsconfig.json +++ b/types/electron-spellchecker/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/electron-store/tsconfig.json b/types/electron-store/tsconfig.json index f5eb483b5e..6f21caec55 100644 --- a/types/electron-store/tsconfig.json +++ b/types/electron-store/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/electron-util/tsconfig.json b/types/electron-util/tsconfig.json index 49206d08cd..8ec587ccdf 100644 --- a/types/electron-util/tsconfig.json +++ b/types/electron-util/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/electron-window-state/tsconfig.json b/types/electron-window-state/tsconfig.json index 3099f275a8..3843443cda 100644 --- a/types/electron-window-state/tsconfig.json +++ b/types/electron-window-state/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/electron-winstaller/tsconfig.json b/types/electron-winstaller/tsconfig.json index 41b83013bf..af16777473 100644 --- a/types/electron-winstaller/tsconfig.json +++ b/types/electron-winstaller/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/element-ready/tsconfig.json b/types/element-ready/tsconfig.json index fcd6b1d926..e5067c7ccf 100644 --- a/types/element-ready/tsconfig.json +++ b/types/element-ready/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/element-resize-detector/tsconfig.json b/types/element-resize-detector/tsconfig.json index 919187d401..460cefc43e 100644 --- a/types/element-resize-detector/tsconfig.json +++ b/types/element-resize-detector/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/element-resize-event/tsconfig.json b/types/element-resize-event/tsconfig.json index f0d3918e5a..9d86e4632f 100644 --- a/types/element-resize-event/tsconfig.json +++ b/types/element-resize-event/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/elm/tsconfig.json b/types/elm/tsconfig.json index c82a960fb7..bca395d3c2 100644 --- a/types/elm/tsconfig.json +++ b/types/elm/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/email-templates/tsconfig.json b/types/email-templates/tsconfig.json index cb8601eaae..5a2994bb04 100644 --- a/types/email-templates/tsconfig.json +++ b/types/email-templates/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ember-data/tsconfig.json b/types/ember-data/tsconfig.json index 0845f9e795..bbcd08ef8a 100644 --- a/types/ember-data/tsconfig.json +++ b/types/ember-data/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ember-feature-flags/tsconfig.json b/types/ember-feature-flags/tsconfig.json index d71fce7001..af809bcdbe 100644 --- a/types/ember-feature-flags/tsconfig.json +++ b/types/ember-feature-flags/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ember-mocha/tsconfig.json b/types/ember-mocha/tsconfig.json index 7c2a404282..6c99518050 100644 --- a/types/ember-mocha/tsconfig.json +++ b/types/ember-mocha/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ember-modal-dialog/tsconfig.json b/types/ember-modal-dialog/tsconfig.json index 1826d665c7..c17fe35445 100644 --- a/types/ember-modal-dialog/tsconfig.json +++ b/types/ember-modal-dialog/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ember-qunit/tsconfig.json b/types/ember-qunit/tsconfig.json index c09b50cd66..f7f3923136 100644 --- a/types/ember-qunit/tsconfig.json +++ b/types/ember-qunit/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ember-qunit/v2/tsconfig.json b/types/ember-qunit/v2/tsconfig.json index 2d4c3deabd..1a71d59c4a 100644 --- a/types/ember-qunit/v2/tsconfig.json +++ b/types/ember-qunit/v2/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ember-test-helpers/tsconfig.json b/types/ember-test-helpers/tsconfig.json index 9bd7a250d9..78ca69344a 100644 --- a/types/ember-test-helpers/tsconfig.json +++ b/types/ember-test-helpers/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ember-testing-helpers/tsconfig.json b/types/ember-testing-helpers/tsconfig.json index 8cb8c83838..725957a948 100644 --- a/types/ember-testing-helpers/tsconfig.json +++ b/types/ember-testing-helpers/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ember/tsconfig.json b/types/ember/tsconfig.json index d8580b0760..19c8cf4b50 100755 --- a/types/ember/tsconfig.json +++ b/types/ember/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ember/v1/tsconfig.json b/types/ember/v1/tsconfig.json index c817172bbf..7be1f0660b 100644 --- a/types/ember/v1/tsconfig.json +++ b/types/ember/v1/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/emissary/tsconfig.json b/types/emissary/tsconfig.json index b8d3d5241a..b6d04f07a7 100644 --- a/types/emissary/tsconfig.json +++ b/types/emissary/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/emoji-mart/tsconfig.json b/types/emoji-mart/tsconfig.json index b0e8df2d67..6ecc944e77 100644 --- a/types/emoji-mart/tsconfig.json +++ b/types/emoji-mart/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/emojione/tsconfig.json b/types/emojione/tsconfig.json index 3dc6a32fc9..f74fb50d6f 100644 --- a/types/emojione/tsconfig.json +++ b/types/emojione/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/empower/tsconfig.json b/types/empower/tsconfig.json index ac5a3bd4d8..9d9d553fc0 100644 --- a/types/empower/tsconfig.json +++ b/types/empower/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/emscripten/tsconfig.json b/types/emscripten/tsconfig.json index 55db0defd3..d17ea9a00a 100644 --- a/types/emscripten/tsconfig.json +++ b/types/emscripten/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/encoding-japanese/tsconfig.json b/types/encoding-japanese/tsconfig.json index 90acb7e3aa..b3b7a2861f 100644 --- a/types/encoding-japanese/tsconfig.json +++ b/types/encoding-japanese/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/end-of-stream/tsconfig.json b/types/end-of-stream/tsconfig.json index 10cf712c76..b46ee0c768 100644 --- a/types/end-of-stream/tsconfig.json +++ b/types/end-of-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/engine.io-client/tsconfig.json b/types/engine.io-client/tsconfig.json index e473bfebe5..cb3a024a3e 100644 --- a/types/engine.io-client/tsconfig.json +++ b/types/engine.io-client/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/engine.io/tsconfig.json b/types/engine.io/tsconfig.json index 5e35fcea3a..b31b3394b0 100644 --- a/types/engine.io/tsconfig.json +++ b/types/engine.io/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/enhanced-resolve/tsconfig.json b/types/enhanced-resolve/tsconfig.json index 784aadf889..9c87f7e7a1 100644 --- a/types/enhanced-resolve/tsconfig.json +++ b/types/enhanced-resolve/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/enigma.js/tsconfig.json b/types/enigma.js/tsconfig.json index 10d59e2fab..b3b93456f0 100644 --- a/types/enigma.js/tsconfig.json +++ b/types/enigma.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ent/tsconfig.json b/types/ent/tsconfig.json index ff83547680..53249c7605 100644 --- a/types/ent/tsconfig.json +++ b/types/ent/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/entities/tsconfig.json b/types/entities/tsconfig.json index 90c9f78f64..1a88ad9778 100644 --- a/types/entities/tsconfig.json +++ b/types/entities/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/env-to-object/tsconfig.json b/types/env-to-object/tsconfig.json index 9154d82826..2e59eff3e4 100644 --- a/types/env-to-object/tsconfig.json +++ b/types/env-to-object/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/envify/tsconfig.json b/types/envify/tsconfig.json index bfa88f845a..381ca464c9 100644 --- a/types/envify/tsconfig.json +++ b/types/envify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/enzyme-adapter-react-15.4/tsconfig.json b/types/enzyme-adapter-react-15.4/tsconfig.json index 51543ab615..dd18c943b6 100644 --- a/types/enzyme-adapter-react-15.4/tsconfig.json +++ b/types/enzyme-adapter-react-15.4/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/enzyme-adapter-react-15/tsconfig.json b/types/enzyme-adapter-react-15/tsconfig.json index fbd8458aac..97eb2c66a1 100644 --- a/types/enzyme-adapter-react-15/tsconfig.json +++ b/types/enzyme-adapter-react-15/tsconfig.json @@ -17,7 +17,6 @@ "strictNullChecks": true, "strictFunctionTypes": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/enzyme-adapter-react-16/tsconfig.json b/types/enzyme-adapter-react-16/tsconfig.json index 2f1b7b089c..202f19500d 100644 --- a/types/enzyme-adapter-react-16/tsconfig.json +++ b/types/enzyme-adapter-react-16/tsconfig.json @@ -17,7 +17,6 @@ "strictNullChecks": true, "strictFunctionTypes": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/enzyme-to-json/tsconfig.json b/types/enzyme-to-json/tsconfig.json index be2b7c3113..948a88349a 100644 --- a/types/enzyme-to-json/tsconfig.json +++ b/types/enzyme-to-json/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/enzyme/tsconfig.json b/types/enzyme/tsconfig.json index f8618a73da..096b64a111 100644 --- a/types/enzyme/tsconfig.json +++ b/types/enzyme/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/eonasdan-bootstrap-datetimepicker/tsconfig.json b/types/eonasdan-bootstrap-datetimepicker/tsconfig.json index ae702872b6..d2f659f25f 100644 --- a/types/eonasdan-bootstrap-datetimepicker/tsconfig.json +++ b/types/eonasdan-bootstrap-datetimepicker/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/epiceditor/tsconfig.json b/types/epiceditor/tsconfig.json index 2d3338100c..ccd9f7cce0 100644 --- a/types/epiceditor/tsconfig.json +++ b/types/epiceditor/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/epilogue/tsconfig.json b/types/epilogue/tsconfig.json index ab9ee2a292..9c4182c09e 100644 --- a/types/epilogue/tsconfig.json +++ b/types/epilogue/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/epub/tsconfig.json b/types/epub/tsconfig.json index 35b9ccc362..90ba263b21 100644 --- a/types/epub/tsconfig.json +++ b/types/epub/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/eq.js/tsconfig.json b/types/eq.js/tsconfig.json index 1fa222c5f8..3d35e3fefa 100644 --- a/types/eq.js/tsconfig.json +++ b/types/eq.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/errorhandler/tsconfig.json b/types/errorhandler/tsconfig.json index d827ee2b51..dc08f31d21 100644 --- a/types/errorhandler/tsconfig.json +++ b/types/errorhandler/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/es6-collections/tsconfig.json b/types/es6-collections/tsconfig.json index 4297f94f93..c2b2ba64d7 100644 --- a/types/es6-collections/tsconfig.json +++ b/types/es6-collections/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/es6-promisify/tsconfig.json b/types/es6-promisify/tsconfig.json index ad7eafa8c2..707e6094d3 100644 --- a/types/es6-promisify/tsconfig.json +++ b/types/es6-promisify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/es6-shim/tsconfig.json b/types/es6-shim/tsconfig.json index 54aeed6ac4..f11dcede04 100644 --- a/types/es6-shim/tsconfig.json +++ b/types/es6-shim/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/es6-weak-map/tsconfig.json b/types/es6-weak-map/tsconfig.json index 4c0232519a..2652a8f513 100644 --- a/types/es6-weak-map/tsconfig.json +++ b/types/es6-weak-map/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/escape-html/tsconfig.json b/types/escape-html/tsconfig.json index 34e696e44e..336fcb1583 100644 --- a/types/escape-html/tsconfig.json +++ b/types/escape-html/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/escape-latex/tsconfig.json b/types/escape-latex/tsconfig.json index 1484ee5040..2c782b99a5 100644 --- a/types/escape-latex/tsconfig.json +++ b/types/escape-latex/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/escape-string-regexp/tsconfig.json b/types/escape-string-regexp/tsconfig.json index 30e6ca0344..46d2b8fec7 100644 --- a/types/escape-string-regexp/tsconfig.json +++ b/types/escape-string-regexp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/escodegen/tsconfig.json b/types/escodegen/tsconfig.json index 9256804b2a..4755f2604a 100644 --- a/types/escodegen/tsconfig.json +++ b/types/escodegen/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/eslint-plugin-prettier/tsconfig.json b/types/eslint-plugin-prettier/tsconfig.json index a04dd71953..67ba3c86f6 100644 --- a/types/eslint-plugin-prettier/tsconfig.json +++ b/types/eslint-plugin-prettier/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/eslint/tsconfig.json b/types/eslint/tsconfig.json index 4f53b4a06b..136d08687b 100644 --- a/types/eslint/tsconfig.json +++ b/types/eslint/tsconfig.json @@ -14,11 +14,10 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "eslint-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/esprima-walk/tsconfig.json b/types/esprima-walk/tsconfig.json index db6207d8ff..7314e2d509 100644 --- a/types/esprima-walk/tsconfig.json +++ b/types/esprima-walk/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/esprima/tsconfig.json b/types/esprima/tsconfig.json index 16cac910ee..2ac3b4bb46 100644 --- a/types/esprima/tsconfig.json +++ b/types/esprima/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/esprima/v2/tsconfig.json b/types/esprima/v2/tsconfig.json index ff4deff6d5..a3c195ca3c 100644 --- a/types/esprima/v2/tsconfig.json +++ b/types/esprima/v2/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/espruino/tsconfig.json b/types/espruino/tsconfig.json index 9766072d18..ac560ce6db 100644 --- a/types/espruino/tsconfig.json +++ b/types/espruino/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/esri-leaflet-geocoder/tsconfig.json b/types/esri-leaflet-geocoder/tsconfig.json index ef48041716..6bdfac4c4d 100644 --- a/types/esri-leaflet-geocoder/tsconfig.json +++ b/types/esri-leaflet-geocoder/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/esri-leaflet/tsconfig.json b/types/esri-leaflet/tsconfig.json index adfbf16e8b..596c74f0a2 100644 --- a/types/esri-leaflet/tsconfig.json +++ b/types/esri-leaflet/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/estraverse/tsconfig.json b/types/estraverse/tsconfig.json index d69033219b..0a199a8857 100644 --- a/types/estraverse/tsconfig.json +++ b/types/estraverse/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/estree/tsconfig.json b/types/estree/tsconfig.json index d840cbe748..9e10c93348 100644 --- a/types/estree/tsconfig.json +++ b/types/estree/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/etag/tsconfig.json b/types/etag/tsconfig.json index 692a356590..5df46bdfe9 100644 --- a/types/etag/tsconfig.json +++ b/types/etag/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ethjs-signer/tsconfig.json b/types/ethjs-signer/tsconfig.json index c68bd2742f..b9548b9847 100644 --- a/types/ethjs-signer/tsconfig.json +++ b/types/ethjs-signer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/eureka-js-client/tsconfig.json b/types/eureka-js-client/tsconfig.json index 0863854329..8a981b029d 100644 --- a/types/eureka-js-client/tsconfig.json +++ b/types/eureka-js-client/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/evaporate/tsconfig.json b/types/evaporate/tsconfig.json index 5fb5abffa1..9164730455 100644 --- a/types/evaporate/tsconfig.json +++ b/types/evaporate/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/event-emitter/tsconfig.json b/types/event-emitter/tsconfig.json index 8e8bbb8316..ef667ae292 100644 --- a/types/event-emitter/tsconfig.json +++ b/types/event-emitter/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "all-off.d.ts", diff --git a/types/event-kit/tsconfig.json b/types/event-kit/tsconfig.json index b83f78d573..859443e52b 100644 --- a/types/event-kit/tsconfig.json +++ b/types/event-kit/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/event-loop-lag/tsconfig.json b/types/event-loop-lag/tsconfig.json index 0a80b389ad..39962c46ae 100644 --- a/types/event-loop-lag/tsconfig.json +++ b/types/event-loop-lag/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/event-stream/tsconfig.json b/types/event-stream/tsconfig.json index 5612b82ced..6f3624e82f 100644 --- a/types/event-stream/tsconfig.json +++ b/types/event-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/event-to-promise/tsconfig.json b/types/event-to-promise/tsconfig.json index e3bd1d3c46..d47bd1672d 100644 --- a/types/event-to-promise/tsconfig.json +++ b/types/event-to-promise/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/events/tsconfig.json b/types/events/tsconfig.json index 35b4a183b7..4b590d076b 100644 --- a/types/events/tsconfig.json +++ b/types/events/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/evernote/tsconfig.json b/types/evernote/tsconfig.json index 3815e7d498..2c89a52715 100644 --- a/types/evernote/tsconfig.json +++ b/types/evernote/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/exceljs/tsconfig.json b/types/exceljs/tsconfig.json index c8cdf0d345..a477befe57 100644 --- a/types/exceljs/tsconfig.json +++ b/types/exceljs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/execa/tsconfig.json b/types/execa/tsconfig.json index 61568807ee..2d20077a4f 100644 --- a/types/execa/tsconfig.json +++ b/types/execa/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/exit-hook/tsconfig.json b/types/exit-hook/tsconfig.json index 637da53ef1..34396672b0 100644 --- a/types/exit-hook/tsconfig.json +++ b/types/exit-hook/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/exit/tsconfig.json b/types/exit/tsconfig.json index 942627fd28..4343e78761 100644 --- a/types/exit/tsconfig.json +++ b/types/exit/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/exorcist/tsconfig.json b/types/exorcist/tsconfig.json index b6c15addd0..c32fd613f3 100644 --- a/types/exorcist/tsconfig.json +++ b/types/exorcist/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/expect.js/tsconfig.json b/types/expect.js/tsconfig.json index d9f4950675..c8f60ed6e5 100644 --- a/types/expect.js/tsconfig.json +++ b/types/expect.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/expect/tsconfig.json b/types/expect/tsconfig.json index 225b2ac217..33e71dad4c 100644 --- a/types/expect/tsconfig.json +++ b/types/expect/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/expectations/tsconfig.json b/types/expectations/tsconfig.json index e22736f12d..857a8a1eef 100644 --- a/types/expectations/tsconfig.json +++ b/types/expectations/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/expo/tsconfig.json b/types/expo/tsconfig.json index 8590ce01f7..03b9c139b1 100644 --- a/types/expo/tsconfig.json +++ b/types/expo/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/expo/v23/tsconfig.json b/types/expo/v23/tsconfig.json index a2291cf3e2..3d85e281ed 100644 --- a/types/expo/v23/tsconfig.json +++ b/types/expo/v23/tsconfig.json @@ -23,8 +23,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/expo__vector-icons/tsconfig.json b/types/expo__vector-icons/tsconfig.json index a0aaaf4767..318f7f537c 100644 --- a/types/expo__vector-icons/tsconfig.json +++ b/types/expo__vector-icons/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/express-brute-memcached/tsconfig.json b/types/express-brute-memcached/tsconfig.json index 031f4178f1..c49c399e0d 100644 --- a/types/express-brute-memcached/tsconfig.json +++ b/types/express-brute-memcached/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-brute-mongo/tsconfig.json b/types/express-brute-mongo/tsconfig.json index 37f2386a8a..d57cb21dd2 100644 --- a/types/express-brute-mongo/tsconfig.json +++ b/types/express-brute-mongo/tsconfig.json @@ -19,8 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-brute-redis/tsconfig.json b/types/express-brute-redis/tsconfig.json index 3fdde618ad..a033b8f228 100644 --- a/types/express-brute-redis/tsconfig.json +++ b/types/express-brute-redis/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-brute/tsconfig.json b/types/express-brute/tsconfig.json index 42a510b1ed..30bf0ccf14 100644 --- a/types/express-brute/tsconfig.json +++ b/types/express-brute/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-busboy/tsconfig.json b/types/express-busboy/tsconfig.json index 3bd9a10474..add893c0dd 100644 --- a/types/express-busboy/tsconfig.json +++ b/types/express-busboy/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-cluster/tsconfig.json b/types/express-cluster/tsconfig.json index 85722d9956..5d27d3ec2e 100644 --- a/types/express-cluster/tsconfig.json +++ b/types/express-cluster/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-debug/tsconfig.json b/types/express-debug/tsconfig.json index 65dccfc944..9763943be8 100644 --- a/types/express-debug/tsconfig.json +++ b/types/express-debug/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-domain-middleware/tsconfig.json b/types/express-domain-middleware/tsconfig.json index e18ec4e697..454fedea14 100644 --- a/types/express-domain-middleware/tsconfig.json +++ b/types/express-domain-middleware/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-ejs-layouts/tsconfig.json b/types/express-ejs-layouts/tsconfig.json index 83f8ab2270..cdce7b38f4 100644 --- a/types/express-ejs-layouts/tsconfig.json +++ b/types/express-ejs-layouts/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-enforces-ssl/tsconfig.json b/types/express-enforces-ssl/tsconfig.json index 744f4f7b82..9e071e54fb 100644 --- a/types/express-enforces-ssl/tsconfig.json +++ b/types/express-enforces-ssl/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-fileupload/tsconfig.json b/types/express-fileupload/tsconfig.json index 34badd8266..ecbd735cea 100644 --- a/types/express-fileupload/tsconfig.json +++ b/types/express-fileupload/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-flash-2/tsconfig.json b/types/express-flash-2/tsconfig.json index fcfa6b81db..6a0ef5a28b 100644 --- a/types/express-flash-2/tsconfig.json +++ b/types/express-flash-2/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-flash-notification/tsconfig.json b/types/express-flash-notification/tsconfig.json index 4341feca18..a586316eff 100644 --- a/types/express-flash-notification/tsconfig.json +++ b/types/express-flash-notification/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-formidable/tsconfig.json b/types/express-formidable/tsconfig.json index 66ac147736..9deeebd96f 100644 --- a/types/express-formidable/tsconfig.json +++ b/types/express-formidable/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-graphql/tsconfig.json b/types/express-graphql/tsconfig.json index c46f5fc04a..7924c82706 100644 --- a/types/express-graphql/tsconfig.json +++ b/types/express-graphql/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-handlebars/tsconfig.json b/types/express-handlebars/tsconfig.json index 4233c4b5f8..9c6da1ba25 100644 --- a/types/express-handlebars/tsconfig.json +++ b/types/express-handlebars/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-jwt/tsconfig.json b/types/express-jwt/tsconfig.json index dff320327c..f91064aba5 100644 --- a/types/express-jwt/tsconfig.json +++ b/types/express-jwt/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-less/tsconfig.json b/types/express-less/tsconfig.json index 8d9e70440e..c8e44f8204 100644 --- a/types/express-less/tsconfig.json +++ b/types/express-less/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-minify/tsconfig.json b/types/express-minify/tsconfig.json index 48a257d074..65c999883e 100644 --- a/types/express-minify/tsconfig.json +++ b/types/express-minify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-mongo-sanitize/tsconfig.json b/types/express-mongo-sanitize/tsconfig.json index 52dd3131cd..236dffa3e2 100644 --- a/types/express-mongo-sanitize/tsconfig.json +++ b/types/express-mongo-sanitize/tsconfig.json @@ -14,7 +14,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/express-mung/tsconfig.json b/types/express-mung/tsconfig.json index 2a2d18d7be..9dd04b84e6 100644 --- a/types/express-mung/tsconfig.json +++ b/types/express-mung/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-myconnection/tsconfig.json b/types/express-myconnection/tsconfig.json index a4a0b3ee3c..b68ca7cb51 100644 --- a/types/express-myconnection/tsconfig.json +++ b/types/express-myconnection/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-mysql-session/tsconfig.json b/types/express-mysql-session/tsconfig.json index ea0fe2693f..f6d45a934d 100644 --- a/types/express-mysql-session/tsconfig.json +++ b/types/express-mysql-session/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-oauth-server/tsconfig.json b/types/express-oauth-server/tsconfig.json index b694bb7d6d..05c5c28b77 100644 --- a/types/express-oauth-server/tsconfig.json +++ b/types/express-oauth-server/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-openapi/tsconfig.json b/types/express-openapi/tsconfig.json index f4a2f9f9f5..a6cf4f3530 100644 --- a/types/express-openapi/tsconfig.json +++ b/types/express-openapi/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-partials/tsconfig.json b/types/express-partials/tsconfig.json index 191459d746..72e02dcdee 100644 --- a/types/express-partials/tsconfig.json +++ b/types/express-partials/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-promise-router/tsconfig.json b/types/express-promise-router/tsconfig.json index 8e2b57d951..fbcffb4345 100644 --- a/types/express-promise-router/tsconfig.json +++ b/types/express-promise-router/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-rate-limit/tsconfig.json b/types/express-rate-limit/tsconfig.json index f3029afb95..7dfb99a1d4 100644 --- a/types/express-rate-limit/tsconfig.json +++ b/types/express-rate-limit/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-route-fs/tsconfig.json b/types/express-route-fs/tsconfig.json index 5b4456a483..550f0d3b31 100644 --- a/types/express-route-fs/tsconfig.json +++ b/types/express-route-fs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-sanitized/tsconfig.json b/types/express-sanitized/tsconfig.json index 0c6bcf3836..9924f49f46 100644 --- a/types/express-sanitized/tsconfig.json +++ b/types/express-sanitized/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-serve-static-core/tsconfig.json b/types/express-serve-static-core/tsconfig.json index 40b2ef2060..73c2b38c7d 100644 --- a/types/express-serve-static-core/tsconfig.json +++ b/types/express-serve-static-core/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-session/tsconfig.json b/types/express-session/tsconfig.json index 190564ac5e..14c2e75bd5 100644 --- a/types/express-session/tsconfig.json +++ b/types/express-session/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-to-koa/tsconfig.json b/types/express-to-koa/tsconfig.json index 5b33c7ac55..cff403796c 100644 --- a/types/express-to-koa/tsconfig.json +++ b/types/express-to-koa/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-unless/tsconfig.json b/types/express-unless/tsconfig.json index 5cb90389b5..44038c38d3 100644 --- a/types/express-unless/tsconfig.json +++ b/types/express-unless/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-useragent/tsconfig.json b/types/express-useragent/tsconfig.json index 0cf85a5a95..3bbc5c5520 100644 --- a/types/express-useragent/tsconfig.json +++ b/types/express-useragent/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express-winston/tsconfig.json b/types/express-winston/tsconfig.json index 7ec0a4eff8..c327b47cda 100644 --- a/types/express-winston/tsconfig.json +++ b/types/express-winston/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/express/tsconfig.json b/types/express/tsconfig.json index 999dd53a3e..b38c24658e 100644 --- a/types/express/tsconfig.json +++ b/types/express/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/extend/tsconfig.json b/types/extend/tsconfig.json index 19ed5928ee..dce058009d 100644 --- a/types/extend/tsconfig.json +++ b/types/extend/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/extjs/tsconfig.json b/types/extjs/tsconfig.json index 20138aaa88..16cf9bcee6 100644 --- a/types/extjs/tsconfig.json +++ b/types/extjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/extract-stack/tsconfig.json b/types/extract-stack/tsconfig.json index 2779df149a..26f0c50479 100644 --- a/types/extract-stack/tsconfig.json +++ b/types/extract-stack/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/extract-text-webpack-plugin/tsconfig.json b/types/extract-text-webpack-plugin/tsconfig.json index 9a503d773a..dc6516b37e 100644 --- a/types/extract-text-webpack-plugin/tsconfig.json +++ b/types/extract-text-webpack-plugin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/extract-zip/tsconfig.json b/types/extract-zip/tsconfig.json index db692aa262..821ad3b5b3 100644 --- a/types/extract-zip/tsconfig.json +++ b/types/extract-zip/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/eyes/tsconfig.json b/types/eyes/tsconfig.json index cca90d6857..e0effcdb85 100644 --- a/types/eyes/tsconfig.json +++ b/types/eyes/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/f1/tsconfig.json b/types/f1/tsconfig.json index 45e94b199c..e54cd01b58 100644 --- a/types/f1/tsconfig.json +++ b/types/f1/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fabric/tsconfig.json b/types/fabric/tsconfig.json index 93924ce83d..fc7ce8ddc9 100644 --- a/types/fabric/tsconfig.json +++ b/types/fabric/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/facebook-js-sdk/tsconfig.json b/types/facebook-js-sdk/tsconfig.json index ed029f3557..2ac8efade5 100644 --- a/types/facebook-js-sdk/tsconfig.json +++ b/types/facebook-js-sdk/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/facebook-pixel/tsconfig.json b/types/facebook-pixel/tsconfig.json index 487b76e1e4..c4cc9bd7fa 100644 --- a/types/facebook-pixel/tsconfig.json +++ b/types/facebook-pixel/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/faker/tsconfig.json b/types/faker/tsconfig.json index cbf9fdad1c..33d32cb266 100644 --- a/types/faker/tsconfig.json +++ b/types/faker/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/faker/v3/tsconfig.json b/types/faker/v3/tsconfig.json index 53f848d0dc..5cfa258457 100644 --- a/types/faker/v3/tsconfig.json +++ b/types/faker/v3/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/falcor-express/tsconfig.json b/types/falcor-express/tsconfig.json index 1ba6e4c5c7..0f4a36624a 100644 --- a/types/falcor-express/tsconfig.json +++ b/types/falcor-express/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/falcor-http-datasource/tsconfig.json b/types/falcor-http-datasource/tsconfig.json index 948a3c2ffa..114a1e5046 100644 --- a/types/falcor-http-datasource/tsconfig.json +++ b/types/falcor-http-datasource/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/falcor-json-graph/tsconfig.json b/types/falcor-json-graph/tsconfig.json index 7ae61b9563..2753b64668 100644 --- a/types/falcor-json-graph/tsconfig.json +++ b/types/falcor-json-graph/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/falcor-router/tsconfig.json b/types/falcor-router/tsconfig.json index 4ca1b54a8b..4f37ee59be 100644 --- a/types/falcor-router/tsconfig.json +++ b/types/falcor-router/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/falcor/tsconfig.json b/types/falcor/tsconfig.json index 3444c09530..94084a9884 100644 --- a/types/falcor/tsconfig.json +++ b/types/falcor/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/famous/tsconfig.json b/types/famous/tsconfig.json index 37897f899c..e2760ecc02 100644 --- a/types/famous/tsconfig.json +++ b/types/famous/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fancy-log/tsconfig.json b/types/fancy-log/tsconfig.json index ec3b2f25de..8cc1c5b8e5 100644 --- a/types/fancy-log/tsconfig.json +++ b/types/fancy-log/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fancybox/tsconfig.json b/types/fancybox/tsconfig.json index 87689cdc4f..e8011cdd21 100644 --- a/types/fancybox/tsconfig.json +++ b/types/fancybox/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/farbtastic/tsconfig.json b/types/farbtastic/tsconfig.json index 8b812fadc8..91f8048ddb 100644 --- a/types/farbtastic/tsconfig.json +++ b/types/farbtastic/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fast-diff/tsconfig.json b/types/fast-diff/tsconfig.json index 6be0492a01..0c6f0c4ae2 100644 --- a/types/fast-diff/tsconfig.json +++ b/types/fast-diff/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fast-levenshtein/tsconfig.json b/types/fast-levenshtein/tsconfig.json index 6f108c6f06..1cb0e8b022 100644 --- a/types/fast-levenshtein/tsconfig.json +++ b/types/fast-levenshtein/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/fast-list/tsconfig.json b/types/fast-list/tsconfig.json index 94d28d10ba..ce90acb3cd 100644 --- a/types/fast-list/tsconfig.json +++ b/types/fast-list/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fast-stats/tsconfig.json b/types/fast-stats/tsconfig.json index 9439a56f37..c845c63f47 100644 --- a/types/fast-stats/tsconfig.json +++ b/types/fast-stats/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fastclick/tsconfig.json b/types/fastclick/tsconfig.json index 31d363d25c..494a7b78d7 100644 --- a/types/fastclick/tsconfig.json +++ b/types/fastclick/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/favico.js/tsconfig.json b/types/favico.js/tsconfig.json index 185be44519..15047d8dbf 100644 --- a/types/favico.js/tsconfig.json +++ b/types/favico.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fb/tsconfig.json b/types/fb/tsconfig.json index e38dd69198..9e8582a781 100644 --- a/types/fb/tsconfig.json +++ b/types/fb/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fbemitter/tsconfig.json b/types/fbemitter/tsconfig.json index 9ebe492c70..8032d97e7f 100644 --- a/types/fbemitter/tsconfig.json +++ b/types/fbemitter/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/featherlight/tsconfig.json b/types/featherlight/tsconfig.json index aa6c592a74..32c72beb9f 100644 --- a/types/featherlight/tsconfig.json +++ b/types/featherlight/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/feathersjs__authentication-client/tsconfig.json b/types/feathersjs__authentication-client/tsconfig.json index 77f8c05aef..86a5d990d8 100644 --- a/types/feathersjs__authentication-client/tsconfig.json +++ b/types/feathersjs__authentication-client/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@feathersjs/authentication-client": [ "feathersjs__authentication-client" diff --git a/types/feathersjs__authentication-jwt/tsconfig.json b/types/feathersjs__authentication-jwt/tsconfig.json index 6d4d54675f..5ed2a46955 100644 --- a/types/feathersjs__authentication-jwt/tsconfig.json +++ b/types/feathersjs__authentication-jwt/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@feathersjs/authentication-jwt": [ "feathersjs__authentication-jwt" diff --git a/types/feathersjs__authentication-local/tsconfig.json b/types/feathersjs__authentication-local/tsconfig.json index b68a9d954c..f6517787b4 100644 --- a/types/feathersjs__authentication-local/tsconfig.json +++ b/types/feathersjs__authentication-local/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@feathersjs/authentication-local": [ "feathersjs__authentication-local" diff --git a/types/feathersjs__authentication-oauth1/tsconfig.json b/types/feathersjs__authentication-oauth1/tsconfig.json index 1e7967d274..139783ebba 100644 --- a/types/feathersjs__authentication-oauth1/tsconfig.json +++ b/types/feathersjs__authentication-oauth1/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@feathersjs/authentication-oauth1": [ "feathersjs__authentication-oauth1" diff --git a/types/feathersjs__authentication-oauth2/tsconfig.json b/types/feathersjs__authentication-oauth2/tsconfig.json index 6fdc874a04..a0650a2123 100644 --- a/types/feathersjs__authentication-oauth2/tsconfig.json +++ b/types/feathersjs__authentication-oauth2/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@feathersjs/authentication-oauth2": [ "feathersjs__authentication-oauth2" diff --git a/types/feathersjs__authentication/tsconfig.json b/types/feathersjs__authentication/tsconfig.json index 6a7bb9fd07..136165d7ae 100644 --- a/types/feathersjs__authentication/tsconfig.json +++ b/types/feathersjs__authentication/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@feathersjs/authentication": [ "feathersjs__authentication" diff --git a/types/feathersjs__configuration/tsconfig.json b/types/feathersjs__configuration/tsconfig.json index 9d6cd3ea8f..66219a58d3 100644 --- a/types/feathersjs__configuration/tsconfig.json +++ b/types/feathersjs__configuration/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@feathersjs/configuration": [ "feathersjs__configuration" diff --git a/types/feathersjs__errors/tsconfig.json b/types/feathersjs__errors/tsconfig.json index 112341f970..f796bba231 100644 --- a/types/feathersjs__errors/tsconfig.json +++ b/types/feathersjs__errors/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@feathersjs/errors": [ "feathersjs__errors" diff --git a/types/feathersjs__express/tsconfig.json b/types/feathersjs__express/tsconfig.json index 11bee295a0..8564d13a65 100644 --- a/types/feathersjs__express/tsconfig.json +++ b/types/feathersjs__express/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@feathersjs/express": [ "feathersjs__express" diff --git a/types/feathersjs__feathers/tsconfig.json b/types/feathersjs__feathers/tsconfig.json index 883aecabb3..f7d218481f 100644 --- a/types/feathersjs__feathers/tsconfig.json +++ b/types/feathersjs__feathers/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@feathersjs/feathers": [ "feathersjs__feathers" diff --git a/types/feathersjs__primus-client/tsconfig.json b/types/feathersjs__primus-client/tsconfig.json index 504dce34d1..4ecb275180 100644 --- a/types/feathersjs__primus-client/tsconfig.json +++ b/types/feathersjs__primus-client/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@feathersjs/primus-client": [ "feathersjs__primus-client" diff --git a/types/feathersjs__primus/tsconfig.json b/types/feathersjs__primus/tsconfig.json index b7815424ec..9d6c7ec351 100644 --- a/types/feathersjs__primus/tsconfig.json +++ b/types/feathersjs__primus/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@feathersjs/primus": [ "feathersjs__primus" diff --git a/types/feathersjs__rest-client/tsconfig.json b/types/feathersjs__rest-client/tsconfig.json index 7a4207ff11..565175bb1b 100644 --- a/types/feathersjs__rest-client/tsconfig.json +++ b/types/feathersjs__rest-client/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@feathersjs/rest-client": [ "feathersjs__rest-client" diff --git a/types/feathersjs__socket-commons/tsconfig.json b/types/feathersjs__socket-commons/tsconfig.json index 8e63744a7f..7d495d1bae 100644 --- a/types/feathersjs__socket-commons/tsconfig.json +++ b/types/feathersjs__socket-commons/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@feathersjs/socket-commons": [ "feathersjs__socket-commons" diff --git a/types/feathersjs__socketio-client/tsconfig.json b/types/feathersjs__socketio-client/tsconfig.json index c526cdcb5c..13e41575a4 100644 --- a/types/feathersjs__socketio-client/tsconfig.json +++ b/types/feathersjs__socketio-client/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@feathersjs/socketio-client": [ "feathersjs__socketio-client" diff --git a/types/feathersjs__socketio/tsconfig.json b/types/feathersjs__socketio/tsconfig.json index 69a3f5c66f..25dfd99137 100644 --- a/types/feathersjs__socketio/tsconfig.json +++ b/types/feathersjs__socketio/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@feathersjs/socketio": [ "feathersjs__socketio" diff --git a/types/feedme/tsconfig.json b/types/feedme/tsconfig.json index cdd8460fac..7ab0d74a0e 100644 --- a/types/feedme/tsconfig.json +++ b/types/feedme/tsconfig.json @@ -14,7 +14,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": false }, "files": [ diff --git a/types/feedparser/tsconfig.json b/types/feedparser/tsconfig.json index d60dcdde12..0a7666d303 100644 --- a/types/feedparser/tsconfig.json +++ b/types/feedparser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fetch-jsonp/tsconfig.json b/types/fetch-jsonp/tsconfig.json index 2a4c7fd15f..885a787152 100644 --- a/types/fetch-jsonp/tsconfig.json +++ b/types/fetch-jsonp/tsconfig.json @@ -17,7 +17,6 @@ "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/fetch-mock/tsconfig.json b/types/fetch-mock/tsconfig.json index b43553f18a..0c410ec0ae 100644 --- a/types/fetch-mock/tsconfig.json +++ b/types/fetch-mock/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fetch.io/tsconfig.json b/types/fetch.io/tsconfig.json index caccfa9ed6..b47cf8f3bf 100644 --- a/types/fetch.io/tsconfig.json +++ b/types/fetch.io/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ffi/tsconfig.json b/types/ffi/tsconfig.json index 2802ced44b..73d314a1b0 100644 --- a/types/ffi/tsconfig.json +++ b/types/ffi/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ffmpeg-static/tsconfig.json b/types/ffmpeg-static/tsconfig.json index 1dcc13635e..8a1635e82c 100644 --- a/types/ffmpeg-static/tsconfig.json +++ b/types/ffmpeg-static/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ffprobe-static/tsconfig.json b/types/ffprobe-static/tsconfig.json index fe2dcc110e..fab3495614 100644 --- a/types/ffprobe-static/tsconfig.json +++ b/types/ffprobe-static/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fhir/tsconfig.json b/types/fhir/tsconfig.json index f8f2b46903..8b4970200f 100644 --- a/types/fhir/tsconfig.json +++ b/types/fhir/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fibers/tsconfig.json b/types/fibers/tsconfig.json index 9e73063f35..99e4865e3c 100644 --- a/types/fibers/tsconfig.json +++ b/types/fibers/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/field/tsconfig.json b/types/field/tsconfig.json index f4ee4fe059..219fa4963d 100644 --- a/types/field/tsconfig.json +++ b/types/field/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/figures/tsconfig.json b/types/figures/tsconfig.json index 34cd5b28e7..720529ea45 100644 --- a/types/figures/tsconfig.json +++ b/types/figures/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/file-exists/tsconfig.json b/types/file-exists/tsconfig.json index a1029d7f76..ffdee8351c 100644 --- a/types/file-exists/tsconfig.json +++ b/types/file-exists/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/file-saver/tsconfig.json b/types/file-saver/tsconfig.json index dcffa809ea..e4a4473e87 100644 --- a/types/file-saver/tsconfig.json +++ b/types/file-saver/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/file-type/tsconfig.json b/types/file-type/tsconfig.json index ab07d788b2..499b81459c 100644 --- a/types/file-type/tsconfig.json +++ b/types/file-type/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/file-url/tsconfig.json b/types/file-url/tsconfig.json index d42d45f1a9..4a6e413ce0 100644 --- a/types/file-url/tsconfig.json +++ b/types/file-url/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/filenamify/tsconfig.json b/types/filenamify/tsconfig.json index 1cd1fae6ab..0d41b23a0d 100644 --- a/types/filenamify/tsconfig.json +++ b/types/filenamify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/filesize/tsconfig.json b/types/filesize/tsconfig.json index 885c875de6..350e88d4ad 100644 --- a/types/filesize/tsconfig.json +++ b/types/filesize/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/filesystem/tsconfig.json b/types/filesystem/tsconfig.json index f9366bd879..6512ab1028 100644 --- a/types/filesystem/tsconfig.json +++ b/types/filesystem/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/filewriter/tsconfig.json b/types/filewriter/tsconfig.json index c1ce1dcc0a..7cba1a1289 100644 --- a/types/filewriter/tsconfig.json +++ b/types/filewriter/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fill-pdf/tsconfig.json b/types/fill-pdf/tsconfig.json index 7caa55c8f6..4cbe1dad24 100644 --- a/types/fill-pdf/tsconfig.json +++ b/types/fill-pdf/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/finalhandler/tsconfig.json b/types/finalhandler/tsconfig.json index dece053e4f..dd03198a83 100644 --- a/types/finalhandler/tsconfig.json +++ b/types/finalhandler/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/finch/tsconfig.json b/types/finch/tsconfig.json index 1f581e19fa..dfb658a6b2 100644 --- a/types/finch/tsconfig.json +++ b/types/finch/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/find-root/tsconfig.json b/types/find-root/tsconfig.json index d4589574b0..9293671d11 100644 --- a/types/find-root/tsconfig.json +++ b/types/find-root/tsconfig.json @@ -14,7 +14,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/find-up/tsconfig.json b/types/find-up/tsconfig.json index 4940987639..ea6bf9d1ad 100644 --- a/types/find-up/tsconfig.json +++ b/types/find-up/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/find/tsconfig.json b/types/find/tsconfig.json index 219a8c1831..fe3b8b7e2f 100644 --- a/types/find/tsconfig.json +++ b/types/find/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/findup-sync/tsconfig.json b/types/findup-sync/tsconfig.json index 9afac34cac..fd44ee7c99 100644 --- a/types/findup-sync/tsconfig.json +++ b/types/findup-sync/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fingerprintjs/tsconfig.json b/types/fingerprintjs/tsconfig.json index 1443b165be..35166934d4 100644 --- a/types/fingerprintjs/tsconfig.json +++ b/types/fingerprintjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fingerprintjs2/tsconfig.json b/types/fingerprintjs2/tsconfig.json index 1137ce7a3b..b274c3c488 100644 --- a/types/fingerprintjs2/tsconfig.json +++ b/types/fingerprintjs2/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/firebase-client/tsconfig.json b/types/firebase-client/tsconfig.json index 674b6d8e11..4510d3f56d 100644 --- a/types/firebase-client/tsconfig.json +++ b/types/firebase-client/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/firebase-token-generator/tsconfig.json b/types/firebase-token-generator/tsconfig.json index 8b11cf18fb..e6620557a2 100644 --- a/types/firebase-token-generator/tsconfig.json +++ b/types/firebase-token-generator/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/firebird/tsconfig.json b/types/firebird/tsconfig.json index b21033b4ae..e5e2d1b6ac 100644 --- a/types/firebird/tsconfig.json +++ b/types/firebird/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/firefox-webext-browser/tsconfig.json b/types/firefox-webext-browser/tsconfig.json index b3c2877928..82dd1256b5 100644 --- a/types/firefox-webext-browser/tsconfig.json +++ b/types/firefox-webext-browser/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/firefox/tsconfig.json b/types/firefox/tsconfig.json index 53908aec19..44ef93219e 100644 --- a/types/firefox/tsconfig.json +++ b/types/firefox/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/firmata/tsconfig.json b/types/firmata/tsconfig.json index 8a684319aa..109d49f85b 100644 --- a/types/firmata/tsconfig.json +++ b/types/firmata/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/first-mate/tsconfig.json b/types/first-mate/tsconfig.json index 7df84484f9..d9b53e9300 100644 --- a/types/first-mate/tsconfig.json +++ b/types/first-mate/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fixed-data-table-2/tsconfig.json b/types/fixed-data-table-2/tsconfig.json index 5cd1ad16ef..54122fd5dd 100644 --- a/types/fixed-data-table-2/tsconfig.json +++ b/types/fixed-data-table-2/tsconfig.json @@ -20,7 +20,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/fixed-data-table/tsconfig.json b/types/fixed-data-table/tsconfig.json index 73c385c8b6..02ba840d0b 100644 --- a/types/fixed-data-table/tsconfig.json +++ b/types/fixed-data-table/tsconfig.json @@ -20,7 +20,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/flake-idgen/tsconfig.json b/types/flake-idgen/tsconfig.json index 5f6690f284..0275fb0c23 100644 --- a/types/flake-idgen/tsconfig.json +++ b/types/flake-idgen/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/flat/tsconfig.json b/types/flat/tsconfig.json index 5641722c8a..7cc1467b3f 100644 --- a/types/flat/tsconfig.json +++ b/types/flat/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/flatbuffers/tsconfig.json b/types/flatbuffers/tsconfig.json index 9ec0f4dba5..fe3421fa5b 100644 --- a/types/flatbuffers/tsconfig.json +++ b/types/flatbuffers/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/flexslider/tsconfig.json b/types/flexslider/tsconfig.json index 0339ecf2bf..4ced617dd6 100644 --- a/types/flexslider/tsconfig.json +++ b/types/flexslider/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/flickity/tsconfig.json b/types/flickity/tsconfig.json index 387c655e41..e6d8dcef00 100644 --- a/types/flickity/tsconfig.json +++ b/types/flickity/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/flight/tsconfig.json b/types/flight/tsconfig.json index 36bfff03c9..18060e6903 100644 --- a/types/flight/tsconfig.json +++ b/types/flight/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/flightplan/tsconfig.json b/types/flightplan/tsconfig.json index 24de7ee0b1..be4eb41ec5 100644 --- a/types/flightplan/tsconfig.json +++ b/types/flightplan/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/flipsnap/tsconfig.json b/types/flipsnap/tsconfig.json index 8712fa1972..435b186eb4 100644 --- a/types/flipsnap/tsconfig.json +++ b/types/flipsnap/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/flot/tsconfig.json b/types/flot/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/flot/tsconfig.json +++ b/types/flot/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/flowjs/tsconfig.json b/types/flowjs/tsconfig.json index 6cb7be27d6..e797332c13 100644 --- a/types/flowjs/tsconfig.json +++ b/types/flowjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fluent-ffmpeg/tsconfig.json b/types/fluent-ffmpeg/tsconfig.json index 91b742fb17..657e97adf6 100644 --- a/types/fluent-ffmpeg/tsconfig.json +++ b/types/fluent-ffmpeg/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/flux/tsconfig.json b/types/flux/tsconfig.json index 60191d3789..dd78eff24c 100644 --- a/types/flux/tsconfig.json +++ b/types/flux/tsconfig.json @@ -16,7 +16,6 @@ "strictNullChecks": false, "strictFunctionTypes": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/fluxxor/tsconfig.json b/types/fluxxor/tsconfig.json index bd6b27cda1..7bc0068190 100644 --- a/types/fluxxor/tsconfig.json +++ b/types/fluxxor/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fm-websync/tsconfig.json b/types/fm-websync/tsconfig.json index 746eea4553..c0b2f14445 100644 --- a/types/fm-websync/tsconfig.json +++ b/types/fm-websync/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fontfaceobserver/tsconfig.json b/types/fontfaceobserver/tsconfig.json index 68e75c4b62..3695935f67 100644 --- a/types/fontfaceobserver/tsconfig.json +++ b/types/fontfaceobserver/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fontoxml/tsconfig.json b/types/fontoxml/tsconfig.json index f90f6bb073..6d62b697a0 100644 --- a/types/fontoxml/tsconfig.json +++ b/types/fontoxml/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/forever-monitor/tsconfig.json b/types/forever-monitor/tsconfig.json index 52bc473a2b..30bf59fa63 100644 --- a/types/forever-monitor/tsconfig.json +++ b/types/forever-monitor/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/forge-di/tsconfig.json b/types/forge-di/tsconfig.json index 1936a2e5a4..14aa632323 100644 --- a/types/forge-di/tsconfig.json +++ b/types/forge-di/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/form-data/tsconfig.json b/types/form-data/tsconfig.json index 2d98b9d238..d1cdfefaf0 100644 --- a/types/form-data/tsconfig.json +++ b/types/form-data/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/form-serializer/tsconfig.json b/types/form-serializer/tsconfig.json index 2a1a008cbf..0e7f5bba79 100644 --- a/types/form-serializer/tsconfig.json +++ b/types/form-serializer/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/form-urlencoded/tsconfig.json b/types/form-urlencoded/tsconfig.json index 5dd924ceb9..ed8d448443 100644 --- a/types/form-urlencoded/tsconfig.json +++ b/types/form-urlencoded/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/format-duration/tsconfig.json b/types/format-duration/tsconfig.json index 453b0def6d..d5347747a1 100644 --- a/types/format-duration/tsconfig.json +++ b/types/format-duration/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/format-io/tsconfig.json b/types/format-io/tsconfig.json index af99cdb3b1..a12183763e 100644 --- a/types/format-io/tsconfig.json +++ b/types/format-io/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/format-unicorn/tsconfig.json b/types/format-unicorn/tsconfig.json index a14223efb4..84864d0f7e 100644 --- a/types/format-unicorn/tsconfig.json +++ b/types/format-unicorn/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/formidable/tsconfig.json b/types/formidable/tsconfig.json index cca3f74f31..e5b9877247 100644 --- a/types/formidable/tsconfig.json +++ b/types/formidable/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/forms/tsconfig.json b/types/forms/tsconfig.json index aad7419eea..442854037d 100644 --- a/types/forms/tsconfig.json +++ b/types/forms/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/forwarded/tsconfig.json b/types/forwarded/tsconfig.json index 5fd0798e3f..58cbcdee21 100644 --- a/types/forwarded/tsconfig.json +++ b/types/forwarded/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fossil-delta/tsconfig.json b/types/fossil-delta/tsconfig.json index 01a233092c..29b7c7e933 100644 --- a/types/fossil-delta/tsconfig.json +++ b/types/fossil-delta/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/foundation/tsconfig.json b/types/foundation/tsconfig.json index a8fd93f7b1..5ddb587b52 100644 --- a/types/foundation/tsconfig.json +++ b/types/foundation/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fpsmeter/tsconfig.json b/types/fpsmeter/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/fpsmeter/tsconfig.json +++ b/types/fpsmeter/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/framebus/tsconfig.json b/types/framebus/tsconfig.json index aac56ce964..eec501f70b 100644 --- a/types/framebus/tsconfig.json +++ b/types/framebus/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/freedom/tsconfig.json b/types/freedom/tsconfig.json index 6377018113..dd0bd2e13c 100644 --- a/types/freedom/tsconfig.json +++ b/types/freedom/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/freeport/tsconfig.json b/types/freeport/tsconfig.json index ccd3f7b895..f6b6ef7b66 100644 --- a/types/freeport/tsconfig.json +++ b/types/freeport/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fresh/tsconfig.json b/types/fresh/tsconfig.json index 75aa6f7dbb..298a5c3fae 100644 --- a/types/fresh/tsconfig.json +++ b/types/fresh/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/friendly-errors-webpack-plugin/tsconfig.json b/types/friendly-errors-webpack-plugin/tsconfig.json index 4dc4ac0262..f519c3b954 100644 --- a/types/friendly-errors-webpack-plugin/tsconfig.json +++ b/types/friendly-errors-webpack-plugin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/frisby/tsconfig.json b/types/frisby/tsconfig.json index f126fc2232..725ebf48f1 100644 --- a/types/frisby/tsconfig.json +++ b/types/frisby/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/from/tsconfig.json b/types/from/tsconfig.json index 7f153fba36..649c0d1866 100644 --- a/types/from/tsconfig.json +++ b/types/from/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/from2/tsconfig.json b/types/from2/tsconfig.json index b5ef31433c..641eda4cf5 100644 --- a/types/from2/tsconfig.json +++ b/types/from2/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fromjs/tsconfig.json b/types/fromjs/tsconfig.json index 7166dc031c..4c5e05b65a 100644 --- a/types/fromjs/tsconfig.json +++ b/types/fromjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fromnow/tsconfig.json b/types/fromnow/tsconfig.json index 52471d205f..56e959f305 100644 --- a/types/fromnow/tsconfig.json +++ b/types/fromnow/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fs-cson/tsconfig.json b/types/fs-cson/tsconfig.json index 88fa1daf3c..05e0a15821 100644 --- a/types/fs-cson/tsconfig.json +++ b/types/fs-cson/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fs-ext/tsconfig.json b/types/fs-ext/tsconfig.json index 40fd47fbd8..18df84572d 100644 --- a/types/fs-ext/tsconfig.json +++ b/types/fs-ext/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fs-extra-promise-es6/tsconfig.json b/types/fs-extra-promise-es6/tsconfig.json index 7a94f2f204..b7e6f664f2 100644 --- a/types/fs-extra-promise-es6/tsconfig.json +++ b/types/fs-extra-promise-es6/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fs-extra-promise/tsconfig.json b/types/fs-extra-promise/tsconfig.json index 412ab9c171..4a4fc0f60b 100644 --- a/types/fs-extra-promise/tsconfig.json +++ b/types/fs-extra-promise/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fs-extra/tsconfig.json b/types/fs-extra/tsconfig.json index 6441117056..d43823dee8 100644 --- a/types/fs-extra/tsconfig.json +++ b/types/fs-extra/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fs-extra/v4/tsconfig.json b/types/fs-extra/v4/tsconfig.json index 053ba23f12..80435f4ede 100644 --- a/types/fs-extra/v4/tsconfig.json +++ b/types/fs-extra/v4/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fs-finder/tsconfig.json b/types/fs-finder/tsconfig.json index 8df4e87cd3..300e950feb 100644 --- a/types/fs-finder/tsconfig.json +++ b/types/fs-finder/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fs-mock/tsconfig.json b/types/fs-mock/tsconfig.json index 8967149914..f468b62a55 100644 --- a/types/fs-mock/tsconfig.json +++ b/types/fs-mock/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fs-plus/tsconfig.json b/types/fs-plus/tsconfig.json index ae0059f221..40360a794d 100644 --- a/types/fs-plus/tsconfig.json +++ b/types/fs-plus/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fs-promise/tsconfig.json b/types/fs-promise/tsconfig.json index 9a5d721107..377d4623d9 100644 --- a/types/fs-promise/tsconfig.json +++ b/types/fs-promise/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fs-readdir-recursive/tsconfig.json b/types/fs-readdir-recursive/tsconfig.json index 142c4bd90f..d33141f321 100644 --- a/types/fs-readdir-recursive/tsconfig.json +++ b/types/fs-readdir-recursive/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fs-readfile-promise/tsconfig.json b/types/fs-readfile-promise/tsconfig.json index 9b890c41f3..3496c329e5 100644 --- a/types/fs-readfile-promise/tsconfig.json +++ b/types/fs-readfile-promise/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fscreen/tsconfig.json b/types/fscreen/tsconfig.json index 7243196e30..2ecb50bbeb 100644 --- a/types/fscreen/tsconfig.json +++ b/types/fscreen/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fsevents/tsconfig.json b/types/fsevents/tsconfig.json index 003cbb5bd5..2937460740 100644 --- a/types/fsevents/tsconfig.json +++ b/types/fsevents/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ftdomdelegate/tsconfig.json b/types/ftdomdelegate/tsconfig.json index ea2d05abf2..0220e74665 100644 --- a/types/ftdomdelegate/tsconfig.json +++ b/types/ftdomdelegate/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ftp/tsconfig.json b/types/ftp/tsconfig.json index e8e843855e..6a0f57a1fc 100644 --- a/types/ftp/tsconfig.json +++ b/types/ftp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ftpd/tsconfig.json b/types/ftpd/tsconfig.json index c1b9a8fa8f..24702aad8b 100644 --- a/types/ftpd/tsconfig.json +++ b/types/ftpd/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fullname/tsconfig.json b/types/fullname/tsconfig.json index 8fb03b2727..a086692e32 100644 --- a/types/fullname/tsconfig.json +++ b/types/fullname/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fullpage.js/tsconfig.json b/types/fullpage.js/tsconfig.json index 615d06bafa..c8a11e250e 100644 --- a/types/fullpage.js/tsconfig.json +++ b/types/fullpage.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fusioncharts/tsconfig.json b/types/fusioncharts/tsconfig.json index a48802a4d4..f41f53056a 100644 --- a/types/fusioncharts/tsconfig.json +++ b/types/fusioncharts/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fuzzaldrin-plus/tsconfig.json b/types/fuzzaldrin-plus/tsconfig.json index ce5b104868..02e987df6d 100644 --- a/types/fuzzaldrin-plus/tsconfig.json +++ b/types/fuzzaldrin-plus/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fuzzaldrin/tsconfig.json b/types/fuzzaldrin/tsconfig.json index b62c85debf..9a5894b281 100644 --- a/types/fuzzaldrin/tsconfig.json +++ b/types/fuzzaldrin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fuzzyset.js/tsconfig.json b/types/fuzzyset.js/tsconfig.json index fc659fa22e..85e606ff8b 100644 --- a/types/fuzzyset.js/tsconfig.json +++ b/types/fuzzyset.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fuzzyset/tsconfig.json b/types/fuzzyset/tsconfig.json index f17bb2e723..4ccf3898d4 100644 --- a/types/fuzzyset/tsconfig.json +++ b/types/fuzzyset/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/fxn/tsconfig.json b/types/fxn/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/fxn/tsconfig.json +++ b/types/fxn/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/gae.channel.api/tsconfig.json b/types/gae.channel.api/tsconfig.json index 12057a214d..37424f5ae4 100644 --- a/types/gae.channel.api/tsconfig.json +++ b/types/gae.channel.api/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gamepad/tsconfig.json b/types/gamepad/tsconfig.json index 6189bd3866..4cb63f3d80 100644 --- a/types/gamepad/tsconfig.json +++ b/types/gamepad/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gamequery/tsconfig.json b/types/gamequery/tsconfig.json index bf4707af6f..9acbbdf6ea 100644 --- a/types/gamequery/tsconfig.json +++ b/types/gamequery/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gandi-livedns/tsconfig.json b/types/gandi-livedns/tsconfig.json index 1b8ab220e1..709af92138 100644 --- a/types/gandi-livedns/tsconfig.json +++ b/types/gandi-livedns/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gapi.analytics/tsconfig.json b/types/gapi.analytics/tsconfig.json index 2f420134d3..7ea23b6882 100644 --- a/types/gapi.analytics/tsconfig.json +++ b/types/gapi.analytics/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gapi.auth2/tsconfig.json b/types/gapi.auth2/tsconfig.json index 594913d8b0..8757ec8333 100644 --- a/types/gapi.auth2/tsconfig.json +++ b/types/gapi.auth2/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gapi.calendar/tsconfig.json b/types/gapi.calendar/tsconfig.json index 78c7e4a32e..2d138f7ac9 100644 --- a/types/gapi.calendar/tsconfig.json +++ b/types/gapi.calendar/tsconfig.json @@ -15,7 +15,6 @@ "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/gapi.client.acceleratedmobilepageurl/tsconfig.json b/types/gapi.client.acceleratedmobilepageurl/tsconfig.json index 7ca46199d1..0fd2965955 100644 --- a/types/gapi.client.acceleratedmobilepageurl/tsconfig.json +++ b/types/gapi.client.acceleratedmobilepageurl/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.adexchangebuyer/tsconfig.json b/types/gapi.client.adexchangebuyer/tsconfig.json index ecef1dc650..e5b042eba8 100644 --- a/types/gapi.client.adexchangebuyer/tsconfig.json +++ b/types/gapi.client.adexchangebuyer/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.adexchangebuyer2/tsconfig.json b/types/gapi.client.adexchangebuyer2/tsconfig.json index 6885a64bc3..8143251a27 100644 --- a/types/gapi.client.adexchangebuyer2/tsconfig.json +++ b/types/gapi.client.adexchangebuyer2/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.adexchangeseller/tsconfig.json b/types/gapi.client.adexchangeseller/tsconfig.json index b5c5e81e25..0f5a97fa3c 100644 --- a/types/gapi.client.adexchangeseller/tsconfig.json +++ b/types/gapi.client.adexchangeseller/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.adexperiencereport/tsconfig.json b/types/gapi.client.adexperiencereport/tsconfig.json index b0049ec537..206d4af70a 100644 --- a/types/gapi.client.adexperiencereport/tsconfig.json +++ b/types/gapi.client.adexperiencereport/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.admin/tsconfig.json b/types/gapi.client.admin/tsconfig.json index 339a673cf6..2f0376936f 100644 --- a/types/gapi.client.admin/tsconfig.json +++ b/types/gapi.client.admin/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.adsense/tsconfig.json b/types/gapi.client.adsense/tsconfig.json index ee48e54b1f..2166cc106d 100644 --- a/types/gapi.client.adsense/tsconfig.json +++ b/types/gapi.client.adsense/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.adsensehost/tsconfig.json b/types/gapi.client.adsensehost/tsconfig.json index 1bc4586345..6440280718 100644 --- a/types/gapi.client.adsensehost/tsconfig.json +++ b/types/gapi.client.adsensehost/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.analytics/tsconfig.json b/types/gapi.client.analytics/tsconfig.json index bf021b2158..b21d000ed3 100644 --- a/types/gapi.client.analytics/tsconfig.json +++ b/types/gapi.client.analytics/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.analyticsreporting/tsconfig.json b/types/gapi.client.analyticsreporting/tsconfig.json index 4f15864f1a..ab2b1caf97 100644 --- a/types/gapi.client.analyticsreporting/tsconfig.json +++ b/types/gapi.client.analyticsreporting/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.androiddeviceprovisioning/tsconfig.json b/types/gapi.client.androiddeviceprovisioning/tsconfig.json index 0bf5432081..12116a10cb 100644 --- a/types/gapi.client.androiddeviceprovisioning/tsconfig.json +++ b/types/gapi.client.androiddeviceprovisioning/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.androidenterprise/tsconfig.json b/types/gapi.client.androidenterprise/tsconfig.json index aa914d683d..d27797184a 100644 --- a/types/gapi.client.androidenterprise/tsconfig.json +++ b/types/gapi.client.androidenterprise/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.androidmanagement/tsconfig.json b/types/gapi.client.androidmanagement/tsconfig.json index 800f1fb763..1ffc42dd14 100644 --- a/types/gapi.client.androidmanagement/tsconfig.json +++ b/types/gapi.client.androidmanagement/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.androidpublisher/tsconfig.json b/types/gapi.client.androidpublisher/tsconfig.json index 141590dbbf..ecb1498903 100644 --- a/types/gapi.client.androidpublisher/tsconfig.json +++ b/types/gapi.client.androidpublisher/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.appengine/tsconfig.json b/types/gapi.client.appengine/tsconfig.json index b8ec56c5d7..b820e2611b 100644 --- a/types/gapi.client.appengine/tsconfig.json +++ b/types/gapi.client.appengine/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.appsactivity/tsconfig.json b/types/gapi.client.appsactivity/tsconfig.json index afcfd4b989..23925d5b3b 100644 --- a/types/gapi.client.appsactivity/tsconfig.json +++ b/types/gapi.client.appsactivity/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.appstate/tsconfig.json b/types/gapi.client.appstate/tsconfig.json index a751adc9f9..684a5c956e 100644 --- a/types/gapi.client.appstate/tsconfig.json +++ b/types/gapi.client.appstate/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.bigquery/tsconfig.json b/types/gapi.client.bigquery/tsconfig.json index f96f22a938..c68b4fcf23 100644 --- a/types/gapi.client.bigquery/tsconfig.json +++ b/types/gapi.client.bigquery/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.bigquerydatatransfer/tsconfig.json b/types/gapi.client.bigquerydatatransfer/tsconfig.json index dc90ae3640..b6861fc514 100644 --- a/types/gapi.client.bigquerydatatransfer/tsconfig.json +++ b/types/gapi.client.bigquerydatatransfer/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.blogger/tsconfig.json b/types/gapi.client.blogger/tsconfig.json index 14c778be8f..001618422c 100644 --- a/types/gapi.client.blogger/tsconfig.json +++ b/types/gapi.client.blogger/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.books/tsconfig.json b/types/gapi.client.books/tsconfig.json index d5b6f224fd..49e413d1bf 100644 --- a/types/gapi.client.books/tsconfig.json +++ b/types/gapi.client.books/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.calendar/tsconfig.json b/types/gapi.client.calendar/tsconfig.json index 4a3cc57200..e8247f5377 100644 --- a/types/gapi.client.calendar/tsconfig.json +++ b/types/gapi.client.calendar/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.civicinfo/tsconfig.json b/types/gapi.client.civicinfo/tsconfig.json index c144ad988f..26caf528cc 100644 --- a/types/gapi.client.civicinfo/tsconfig.json +++ b/types/gapi.client.civicinfo/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.classroom/tsconfig.json b/types/gapi.client.classroom/tsconfig.json index 1c09dcba49..f72a3246ed 100644 --- a/types/gapi.client.classroom/tsconfig.json +++ b/types/gapi.client.classroom/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.cloudbilling/tsconfig.json b/types/gapi.client.cloudbilling/tsconfig.json index bf15149044..83c05e6b40 100644 --- a/types/gapi.client.cloudbilling/tsconfig.json +++ b/types/gapi.client.cloudbilling/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.cloudbuild/tsconfig.json b/types/gapi.client.cloudbuild/tsconfig.json index 193b0bb7bc..c6363df89b 100644 --- a/types/gapi.client.cloudbuild/tsconfig.json +++ b/types/gapi.client.cloudbuild/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.clouddebugger/tsconfig.json b/types/gapi.client.clouddebugger/tsconfig.json index 773cb6f623..33f64ad59e 100644 --- a/types/gapi.client.clouddebugger/tsconfig.json +++ b/types/gapi.client.clouddebugger/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.clouderrorreporting/tsconfig.json b/types/gapi.client.clouderrorreporting/tsconfig.json index 5a0a7e1605..116e148c0c 100644 --- a/types/gapi.client.clouderrorreporting/tsconfig.json +++ b/types/gapi.client.clouderrorreporting/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.cloudfunctions/tsconfig.json b/types/gapi.client.cloudfunctions/tsconfig.json index d0ad0ec792..46bb12a627 100644 --- a/types/gapi.client.cloudfunctions/tsconfig.json +++ b/types/gapi.client.cloudfunctions/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.cloudiot/tsconfig.json b/types/gapi.client.cloudiot/tsconfig.json index 6619e1273b..7b54703058 100644 --- a/types/gapi.client.cloudiot/tsconfig.json +++ b/types/gapi.client.cloudiot/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.cloudkms/tsconfig.json b/types/gapi.client.cloudkms/tsconfig.json index 30e1a47d30..d27d0bbaa3 100644 --- a/types/gapi.client.cloudkms/tsconfig.json +++ b/types/gapi.client.cloudkms/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.cloudmonitoring/tsconfig.json b/types/gapi.client.cloudmonitoring/tsconfig.json index aa98b060a4..54e7d1567b 100644 --- a/types/gapi.client.cloudmonitoring/tsconfig.json +++ b/types/gapi.client.cloudmonitoring/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.cloudresourcemanager/tsconfig.json b/types/gapi.client.cloudresourcemanager/tsconfig.json index bf64d30483..41c45ac865 100644 --- a/types/gapi.client.cloudresourcemanager/tsconfig.json +++ b/types/gapi.client.cloudresourcemanager/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.cloudtasks/tsconfig.json b/types/gapi.client.cloudtasks/tsconfig.json index a2d8c58245..dae7618ff1 100644 --- a/types/gapi.client.cloudtasks/tsconfig.json +++ b/types/gapi.client.cloudtasks/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.cloudtrace/tsconfig.json b/types/gapi.client.cloudtrace/tsconfig.json index deb00da08f..cc8c41940a 100644 --- a/types/gapi.client.cloudtrace/tsconfig.json +++ b/types/gapi.client.cloudtrace/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.clouduseraccounts/tsconfig.json b/types/gapi.client.clouduseraccounts/tsconfig.json index 7ef79a3b37..f06f628609 100644 --- a/types/gapi.client.clouduseraccounts/tsconfig.json +++ b/types/gapi.client.clouduseraccounts/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.compute/tsconfig.json b/types/gapi.client.compute/tsconfig.json index f0d8a0d986..18e4ca6050 100644 --- a/types/gapi.client.compute/tsconfig.json +++ b/types/gapi.client.compute/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.consumersurveys/tsconfig.json b/types/gapi.client.consumersurveys/tsconfig.json index cd7fe30013..714956c5c1 100644 --- a/types/gapi.client.consumersurveys/tsconfig.json +++ b/types/gapi.client.consumersurveys/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.container/tsconfig.json b/types/gapi.client.container/tsconfig.json index 119d6c3ba5..0308b2a560 100644 --- a/types/gapi.client.container/tsconfig.json +++ b/types/gapi.client.container/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.content/tsconfig.json b/types/gapi.client.content/tsconfig.json index 032eaa64a4..a247481450 100644 --- a/types/gapi.client.content/tsconfig.json +++ b/types/gapi.client.content/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.customsearch/tsconfig.json b/types/gapi.client.customsearch/tsconfig.json index c59bef0b1a..8280f86eaa 100644 --- a/types/gapi.client.customsearch/tsconfig.json +++ b/types/gapi.client.customsearch/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.dataflow/tsconfig.json b/types/gapi.client.dataflow/tsconfig.json index 8e23104a37..6522ceb5d4 100644 --- a/types/gapi.client.dataflow/tsconfig.json +++ b/types/gapi.client.dataflow/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.dataproc/tsconfig.json b/types/gapi.client.dataproc/tsconfig.json index 31c48ab1f7..bb10e0d757 100644 --- a/types/gapi.client.dataproc/tsconfig.json +++ b/types/gapi.client.dataproc/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.datastore/tsconfig.json b/types/gapi.client.datastore/tsconfig.json index 7fce15fad9..a719e54035 100644 --- a/types/gapi.client.datastore/tsconfig.json +++ b/types/gapi.client.datastore/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.deploymentmanager/tsconfig.json b/types/gapi.client.deploymentmanager/tsconfig.json index f2b606045e..e666803af6 100644 --- a/types/gapi.client.deploymentmanager/tsconfig.json +++ b/types/gapi.client.deploymentmanager/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.dfareporting/tsconfig.json b/types/gapi.client.dfareporting/tsconfig.json index f5a5e85bff..b323df27c4 100644 --- a/types/gapi.client.dfareporting/tsconfig.json +++ b/types/gapi.client.dfareporting/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.discovery/tsconfig.json b/types/gapi.client.discovery/tsconfig.json index 8bdae68cac..f80e8b97af 100644 --- a/types/gapi.client.discovery/tsconfig.json +++ b/types/gapi.client.discovery/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.dlp/tsconfig.json b/types/gapi.client.dlp/tsconfig.json index 28654dd0d1..a6f87ae754 100644 --- a/types/gapi.client.dlp/tsconfig.json +++ b/types/gapi.client.dlp/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.dns/tsconfig.json b/types/gapi.client.dns/tsconfig.json index 032a207928..5d0eafa155 100644 --- a/types/gapi.client.dns/tsconfig.json +++ b/types/gapi.client.dns/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.doubleclickbidmanager/tsconfig.json b/types/gapi.client.doubleclickbidmanager/tsconfig.json index 081c1f2e74..dfbfab8519 100644 --- a/types/gapi.client.doubleclickbidmanager/tsconfig.json +++ b/types/gapi.client.doubleclickbidmanager/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.doubleclicksearch/tsconfig.json b/types/gapi.client.doubleclicksearch/tsconfig.json index a76616840d..1354de8813 100644 --- a/types/gapi.client.doubleclicksearch/tsconfig.json +++ b/types/gapi.client.doubleclicksearch/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.drive/tsconfig.json b/types/gapi.client.drive/tsconfig.json index 05060ca3af..0cdc6f7fab 100644 --- a/types/gapi.client.drive/tsconfig.json +++ b/types/gapi.client.drive/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.firebasedynamiclinks/tsconfig.json b/types/gapi.client.firebasedynamiclinks/tsconfig.json index 9ad2b5eac8..b4616b1ac4 100644 --- a/types/gapi.client.firebasedynamiclinks/tsconfig.json +++ b/types/gapi.client.firebasedynamiclinks/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.firebaseremoteconfig/tsconfig.json b/types/gapi.client.firebaseremoteconfig/tsconfig.json index 40ed96539d..1fa55e9c5c 100644 --- a/types/gapi.client.firebaseremoteconfig/tsconfig.json +++ b/types/gapi.client.firebaseremoteconfig/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.firebaserules/tsconfig.json b/types/gapi.client.firebaserules/tsconfig.json index 981e890c45..531c7b9c33 100644 --- a/types/gapi.client.firebaserules/tsconfig.json +++ b/types/gapi.client.firebaserules/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.firestore/tsconfig.json b/types/gapi.client.firestore/tsconfig.json index 4973b52381..54cb67c9b2 100644 --- a/types/gapi.client.firestore/tsconfig.json +++ b/types/gapi.client.firestore/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.fitness/tsconfig.json b/types/gapi.client.fitness/tsconfig.json index 38f88be095..0b1a941e04 100644 --- a/types/gapi.client.fitness/tsconfig.json +++ b/types/gapi.client.fitness/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.fusiontables/tsconfig.json b/types/gapi.client.fusiontables/tsconfig.json index ccc96c9ba0..78d5b14a5d 100644 --- a/types/gapi.client.fusiontables/tsconfig.json +++ b/types/gapi.client.fusiontables/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.games/tsconfig.json b/types/gapi.client.games/tsconfig.json index c166ca72a7..d22702d2ea 100644 --- a/types/gapi.client.games/tsconfig.json +++ b/types/gapi.client.games/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.gamesconfiguration/tsconfig.json b/types/gapi.client.gamesconfiguration/tsconfig.json index 815cced1eb..bdc823e6cf 100644 --- a/types/gapi.client.gamesconfiguration/tsconfig.json +++ b/types/gapi.client.gamesconfiguration/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.gamesmanagement/tsconfig.json b/types/gapi.client.gamesmanagement/tsconfig.json index 0a7c716384..78df6ae3df 100644 --- a/types/gapi.client.gamesmanagement/tsconfig.json +++ b/types/gapi.client.gamesmanagement/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.genomics/tsconfig.json b/types/gapi.client.genomics/tsconfig.json index 5ce49ae151..8a285dbda4 100644 --- a/types/gapi.client.genomics/tsconfig.json +++ b/types/gapi.client.genomics/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.gmail/tsconfig.json b/types/gapi.client.gmail/tsconfig.json index 993382c1a5..b810b9f7be 100644 --- a/types/gapi.client.gmail/tsconfig.json +++ b/types/gapi.client.gmail/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.groupsmigration/tsconfig.json b/types/gapi.client.groupsmigration/tsconfig.json index f911d8b0d0..88a0064350 100644 --- a/types/gapi.client.groupsmigration/tsconfig.json +++ b/types/gapi.client.groupsmigration/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.groupssettings/tsconfig.json b/types/gapi.client.groupssettings/tsconfig.json index cfc7f790d6..6723bfb2d7 100644 --- a/types/gapi.client.groupssettings/tsconfig.json +++ b/types/gapi.client.groupssettings/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.iam/tsconfig.json b/types/gapi.client.iam/tsconfig.json index 16013cf2d4..2b567973a1 100644 --- a/types/gapi.client.iam/tsconfig.json +++ b/types/gapi.client.iam/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.identitytoolkit/tsconfig.json b/types/gapi.client.identitytoolkit/tsconfig.json index 665942fe98..ff88e1866a 100644 --- a/types/gapi.client.identitytoolkit/tsconfig.json +++ b/types/gapi.client.identitytoolkit/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.kgsearch/tsconfig.json b/types/gapi.client.kgsearch/tsconfig.json index ea233a6419..4bad676e7d 100644 --- a/types/gapi.client.kgsearch/tsconfig.json +++ b/types/gapi.client.kgsearch/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.language/tsconfig.json b/types/gapi.client.language/tsconfig.json index 2b9df43adb..8162238282 100644 --- a/types/gapi.client.language/tsconfig.json +++ b/types/gapi.client.language/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.licensing/tsconfig.json b/types/gapi.client.licensing/tsconfig.json index 2062e11df6..13e001e436 100644 --- a/types/gapi.client.licensing/tsconfig.json +++ b/types/gapi.client.licensing/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.logging/tsconfig.json b/types/gapi.client.logging/tsconfig.json index 30c1d9cd1c..c6ebe96413 100644 --- a/types/gapi.client.logging/tsconfig.json +++ b/types/gapi.client.logging/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.manufacturers/tsconfig.json b/types/gapi.client.manufacturers/tsconfig.json index a0f3dcb6be..d8a0388fe1 100644 --- a/types/gapi.client.manufacturers/tsconfig.json +++ b/types/gapi.client.manufacturers/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.mirror/tsconfig.json b/types/gapi.client.mirror/tsconfig.json index 52ff31962a..f894696074 100644 --- a/types/gapi.client.mirror/tsconfig.json +++ b/types/gapi.client.mirror/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.ml/tsconfig.json b/types/gapi.client.ml/tsconfig.json index 3f8f98f9d3..1d21245a4e 100644 --- a/types/gapi.client.ml/tsconfig.json +++ b/types/gapi.client.ml/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.monitoring/tsconfig.json b/types/gapi.client.monitoring/tsconfig.json index 0f40410ea1..f44fad6650 100644 --- a/types/gapi.client.monitoring/tsconfig.json +++ b/types/gapi.client.monitoring/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.oauth2/tsconfig.json b/types/gapi.client.oauth2/tsconfig.json index e0db730e80..f9dd5407e1 100644 --- a/types/gapi.client.oauth2/tsconfig.json +++ b/types/gapi.client.oauth2/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.oslogin/tsconfig.json b/types/gapi.client.oslogin/tsconfig.json index d0512f2a9b..f81538e45a 100644 --- a/types/gapi.client.oslogin/tsconfig.json +++ b/types/gapi.client.oslogin/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.pagespeedonline/tsconfig.json b/types/gapi.client.pagespeedonline/tsconfig.json index a56ae8eb21..9e4bc08b88 100644 --- a/types/gapi.client.pagespeedonline/tsconfig.json +++ b/types/gapi.client.pagespeedonline/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.partners/tsconfig.json b/types/gapi.client.partners/tsconfig.json index ffcef1527d..e12985473a 100644 --- a/types/gapi.client.partners/tsconfig.json +++ b/types/gapi.client.partners/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.people/tsconfig.json b/types/gapi.client.people/tsconfig.json index 65c26e2e37..924219ea32 100644 --- a/types/gapi.client.people/tsconfig.json +++ b/types/gapi.client.people/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.playcustomapp/tsconfig.json b/types/gapi.client.playcustomapp/tsconfig.json index 933673854d..ebe1466518 100644 --- a/types/gapi.client.playcustomapp/tsconfig.json +++ b/types/gapi.client.playcustomapp/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.playmoviespartner/tsconfig.json b/types/gapi.client.playmoviespartner/tsconfig.json index 3ef754e191..425943632e 100644 --- a/types/gapi.client.playmoviespartner/tsconfig.json +++ b/types/gapi.client.playmoviespartner/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.plus/tsconfig.json b/types/gapi.client.plus/tsconfig.json index 576c937104..9f6c29a6dc 100644 --- a/types/gapi.client.plus/tsconfig.json +++ b/types/gapi.client.plus/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.plusdomains/tsconfig.json b/types/gapi.client.plusdomains/tsconfig.json index 56557f1fe0..03d93d8899 100644 --- a/types/gapi.client.plusdomains/tsconfig.json +++ b/types/gapi.client.plusdomains/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.prediction/tsconfig.json b/types/gapi.client.prediction/tsconfig.json index 3077afc226..c05f0c2439 100644 --- a/types/gapi.client.prediction/tsconfig.json +++ b/types/gapi.client.prediction/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.proximitybeacon/tsconfig.json b/types/gapi.client.proximitybeacon/tsconfig.json index 0615652a78..19b9be85a2 100644 --- a/types/gapi.client.proximitybeacon/tsconfig.json +++ b/types/gapi.client.proximitybeacon/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.pubsub/tsconfig.json b/types/gapi.client.pubsub/tsconfig.json index 50798418ff..e45351fb03 100644 --- a/types/gapi.client.pubsub/tsconfig.json +++ b/types/gapi.client.pubsub/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.qpxexpress/tsconfig.json b/types/gapi.client.qpxexpress/tsconfig.json index 8d0bc8414b..d3b8b13c66 100644 --- a/types/gapi.client.qpxexpress/tsconfig.json +++ b/types/gapi.client.qpxexpress/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.reseller/tsconfig.json b/types/gapi.client.reseller/tsconfig.json index fc68d23c53..8ab2c25ee6 100644 --- a/types/gapi.client.reseller/tsconfig.json +++ b/types/gapi.client.reseller/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.resourceviews/tsconfig.json b/types/gapi.client.resourceviews/tsconfig.json index 1954aa9170..6300fd1151 100644 --- a/types/gapi.client.resourceviews/tsconfig.json +++ b/types/gapi.client.resourceviews/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.runtimeconfig/tsconfig.json b/types/gapi.client.runtimeconfig/tsconfig.json index f306447ecb..dadf837be7 100644 --- a/types/gapi.client.runtimeconfig/tsconfig.json +++ b/types/gapi.client.runtimeconfig/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.safebrowsing/tsconfig.json b/types/gapi.client.safebrowsing/tsconfig.json index d4fef368c8..74e51a2cbc 100644 --- a/types/gapi.client.safebrowsing/tsconfig.json +++ b/types/gapi.client.safebrowsing/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.script/tsconfig.json b/types/gapi.client.script/tsconfig.json index 7d36f916b1..319dd1964c 100644 --- a/types/gapi.client.script/tsconfig.json +++ b/types/gapi.client.script/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.searchconsole/tsconfig.json b/types/gapi.client.searchconsole/tsconfig.json index b7e6c12490..bd5b102658 100644 --- a/types/gapi.client.searchconsole/tsconfig.json +++ b/types/gapi.client.searchconsole/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.servicecontrol/tsconfig.json b/types/gapi.client.servicecontrol/tsconfig.json index d49010f92f..bd6d6cb319 100644 --- a/types/gapi.client.servicecontrol/tsconfig.json +++ b/types/gapi.client.servicecontrol/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.servicemanagement/tsconfig.json b/types/gapi.client.servicemanagement/tsconfig.json index bf2babb733..4b2f3f3033 100644 --- a/types/gapi.client.servicemanagement/tsconfig.json +++ b/types/gapi.client.servicemanagement/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.serviceuser/tsconfig.json b/types/gapi.client.serviceuser/tsconfig.json index ca53c7b183..761c8e6ff0 100644 --- a/types/gapi.client.serviceuser/tsconfig.json +++ b/types/gapi.client.serviceuser/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.sheets/tsconfig.json b/types/gapi.client.sheets/tsconfig.json index 1d3e881b9d..e33c680c3b 100644 --- a/types/gapi.client.sheets/tsconfig.json +++ b/types/gapi.client.sheets/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.siteverification/tsconfig.json b/types/gapi.client.siteverification/tsconfig.json index a8a7d2ca1a..3e16fff5e6 100644 --- a/types/gapi.client.siteverification/tsconfig.json +++ b/types/gapi.client.siteverification/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.slides/tsconfig.json b/types/gapi.client.slides/tsconfig.json index 67cef5659a..7c80804a9b 100644 --- a/types/gapi.client.slides/tsconfig.json +++ b/types/gapi.client.slides/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.sourcerepo/tsconfig.json b/types/gapi.client.sourcerepo/tsconfig.json index 95662d947f..28567a5918 100644 --- a/types/gapi.client.sourcerepo/tsconfig.json +++ b/types/gapi.client.sourcerepo/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.spanner/tsconfig.json b/types/gapi.client.spanner/tsconfig.json index 1a1ff65ad6..f2881e121f 100644 --- a/types/gapi.client.spanner/tsconfig.json +++ b/types/gapi.client.spanner/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.spectrum/tsconfig.json b/types/gapi.client.spectrum/tsconfig.json index d011e50d68..d848a3e2bf 100644 --- a/types/gapi.client.spectrum/tsconfig.json +++ b/types/gapi.client.spectrum/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.speech/tsconfig.json b/types/gapi.client.speech/tsconfig.json index 40c1c0386d..d306132ca3 100644 --- a/types/gapi.client.speech/tsconfig.json +++ b/types/gapi.client.speech/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.sqladmin/tsconfig.json b/types/gapi.client.sqladmin/tsconfig.json index 3ecdc24928..cb549f0610 100644 --- a/types/gapi.client.sqladmin/tsconfig.json +++ b/types/gapi.client.sqladmin/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.storage/tsconfig.json b/types/gapi.client.storage/tsconfig.json index c7bea50dd7..385c1ec29b 100644 --- a/types/gapi.client.storage/tsconfig.json +++ b/types/gapi.client.storage/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.storagetransfer/tsconfig.json b/types/gapi.client.storagetransfer/tsconfig.json index a6fcdaa7fe..6667668558 100644 --- a/types/gapi.client.storagetransfer/tsconfig.json +++ b/types/gapi.client.storagetransfer/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.streetviewpublish/tsconfig.json b/types/gapi.client.streetviewpublish/tsconfig.json index 780af27cc9..22dbf97452 100644 --- a/types/gapi.client.streetviewpublish/tsconfig.json +++ b/types/gapi.client.streetviewpublish/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.surveys/tsconfig.json b/types/gapi.client.surveys/tsconfig.json index 75ad3c18bd..7ebcd996c0 100644 --- a/types/gapi.client.surveys/tsconfig.json +++ b/types/gapi.client.surveys/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.tagmanager/tsconfig.json b/types/gapi.client.tagmanager/tsconfig.json index 9b9e86b11a..778fe51625 100644 --- a/types/gapi.client.tagmanager/tsconfig.json +++ b/types/gapi.client.tagmanager/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.taskqueue/tsconfig.json b/types/gapi.client.taskqueue/tsconfig.json index ee54bf18cb..a4e8bb673a 100644 --- a/types/gapi.client.taskqueue/tsconfig.json +++ b/types/gapi.client.taskqueue/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.tasks/tsconfig.json b/types/gapi.client.tasks/tsconfig.json index 7d9fb8a32d..f836df6fa5 100644 --- a/types/gapi.client.tasks/tsconfig.json +++ b/types/gapi.client.tasks/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.testing/tsconfig.json b/types/gapi.client.testing/tsconfig.json index ab82eee9be..67009c1a89 100644 --- a/types/gapi.client.testing/tsconfig.json +++ b/types/gapi.client.testing/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.toolresults/tsconfig.json b/types/gapi.client.toolresults/tsconfig.json index 7eac8dd678..9ca885401a 100644 --- a/types/gapi.client.toolresults/tsconfig.json +++ b/types/gapi.client.toolresults/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.translate/tsconfig.json b/types/gapi.client.translate/tsconfig.json index c677c65b30..3eaeb43e7e 100644 --- a/types/gapi.client.translate/tsconfig.json +++ b/types/gapi.client.translate/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.urlshortener/tsconfig.json b/types/gapi.client.urlshortener/tsconfig.json index 91e231c6ae..81b85bb376 100644 --- a/types/gapi.client.urlshortener/tsconfig.json +++ b/types/gapi.client.urlshortener/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.vault/tsconfig.json b/types/gapi.client.vault/tsconfig.json index c57aa9ac5e..a5b74d6c6e 100644 --- a/types/gapi.client.vault/tsconfig.json +++ b/types/gapi.client.vault/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.videointelligence/tsconfig.json b/types/gapi.client.videointelligence/tsconfig.json index 4274056d08..0c56166786 100644 --- a/types/gapi.client.videointelligence/tsconfig.json +++ b/types/gapi.client.videointelligence/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.vision/tsconfig.json b/types/gapi.client.vision/tsconfig.json index 3db7a9f0ae..55958ec5d7 100644 --- a/types/gapi.client.vision/tsconfig.json +++ b/types/gapi.client.vision/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.webfonts/tsconfig.json b/types/gapi.client.webfonts/tsconfig.json index 35eb4f3573..a71d43a04e 100644 --- a/types/gapi.client.webfonts/tsconfig.json +++ b/types/gapi.client.webfonts/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.webmasters/tsconfig.json b/types/gapi.client.webmasters/tsconfig.json index ed4d12edf2..91d34de5b3 100644 --- a/types/gapi.client.webmasters/tsconfig.json +++ b/types/gapi.client.webmasters/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.youtube/tsconfig.json b/types/gapi.client.youtube/tsconfig.json index 69c7503ec1..cd757bd384 100644 --- a/types/gapi.client.youtube/tsconfig.json +++ b/types/gapi.client.youtube/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.youtubeanalytics/tsconfig.json b/types/gapi.client.youtubeanalytics/tsconfig.json index 455e3dc970..264fbff108 100644 --- a/types/gapi.client.youtubeanalytics/tsconfig.json +++ b/types/gapi.client.youtubeanalytics/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client.youtubereporting/tsconfig.json b/types/gapi.client.youtubereporting/tsconfig.json index 20524d4d05..a160687d23 100644 --- a/types/gapi.client.youtubereporting/tsconfig.json +++ b/types/gapi.client.youtubereporting/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.client/tsconfig.json b/types/gapi.client/tsconfig.json index b0836a651d..d53b6cfde3 100644 --- a/types/gapi.client/tsconfig.json +++ b/types/gapi.client/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/gapi.drive/tsconfig.json b/types/gapi.drive/tsconfig.json index 6c3650f3d6..4e5f340f58 100644 --- a/types/gapi.drive/tsconfig.json +++ b/types/gapi.drive/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gapi.pagespeedonline/tsconfig.json b/types/gapi.pagespeedonline/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/gapi.pagespeedonline/tsconfig.json +++ b/types/gapi.pagespeedonline/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/gapi.people/tsconfig.json b/types/gapi.people/tsconfig.json index 371c13635b..1fbbd65218 100644 --- a/types/gapi.people/tsconfig.json +++ b/types/gapi.people/tsconfig.json @@ -15,7 +15,6 @@ "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/gapi.plus/tsconfig.json b/types/gapi.plus/tsconfig.json index 90258a43c7..1ecc447591 100644 --- a/types/gapi.plus/tsconfig.json +++ b/types/gapi.plus/tsconfig.json @@ -15,7 +15,6 @@ "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/gapi.translate/tsconfig.json b/types/gapi.translate/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/gapi.translate/tsconfig.json +++ b/types/gapi.translate/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/gapi.urlshortener/tsconfig.json b/types/gapi.urlshortener/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/gapi.urlshortener/tsconfig.json +++ b/types/gapi.urlshortener/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/gapi.youtube/tsconfig.json b/types/gapi.youtube/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/gapi.youtube/tsconfig.json +++ b/types/gapi.youtube/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/gapi.youtubeanalytics/tsconfig.json b/types/gapi.youtubeanalytics/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/gapi.youtubeanalytics/tsconfig.json +++ b/types/gapi.youtubeanalytics/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/gapi/tsconfig.json b/types/gapi/tsconfig.json index c0518c28b2..18f0162c51 100644 --- a/types/gapi/tsconfig.json +++ b/types/gapi/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gaussian/tsconfig.json b/types/gaussian/tsconfig.json index 125874fdd0..30e363a435 100644 --- a/types/gaussian/tsconfig.json +++ b/types/gaussian/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/geetest/tsconfig.json b/types/geetest/tsconfig.json index d77714c750..17e9320d39 100644 --- a/types/geetest/tsconfig.json +++ b/types/geetest/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gen-readlines/tsconfig.json b/types/gen-readlines/tsconfig.json index e33972871a..ad224ae02e 100644 --- a/types/gen-readlines/tsconfig.json +++ b/types/gen-readlines/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/generic-functions/tsconfig.json b/types/generic-functions/tsconfig.json index 8194acf8f1..7476e09445 100644 --- a/types/generic-functions/tsconfig.json +++ b/types/generic-functions/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/generic-pool/tsconfig.json b/types/generic-pool/tsconfig.json index f7814076e4..070951dc15 100644 --- a/types/generic-pool/tsconfig.json +++ b/types/generic-pool/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gently/tsconfig.json b/types/gently/tsconfig.json index a204c2dbe2..0bb239c702 100644 --- a/types/gently/tsconfig.json +++ b/types/gently/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/geodesy/tsconfig.json b/types/geodesy/tsconfig.json index 44f04c33a8..3b785b83fb 100644 --- a/types/geodesy/tsconfig.json +++ b/types/geodesy/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/geoip-lite/tsconfig.json b/types/geoip-lite/tsconfig.json index 2048399bfd..28668d80f3 100644 --- a/types/geoip-lite/tsconfig.json +++ b/types/geoip-lite/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/geojson/tsconfig.json b/types/geojson/tsconfig.json index 18526751b5..071f17c65d 100644 --- a/types/geojson/tsconfig.json +++ b/types/geojson/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/geojson2osm/tsconfig.json b/types/geojson2osm/tsconfig.json index b6301a0296..98f1b66e4e 100644 --- a/types/geojson2osm/tsconfig.json +++ b/types/geojson2osm/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/geokdbush/tsconfig.json b/types/geokdbush/tsconfig.json index 29ef327d5b..655591f4e8 100644 --- a/types/geokdbush/tsconfig.json +++ b/types/geokdbush/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/geometry-dom/tsconfig.json b/types/geometry-dom/tsconfig.json index ed33cabecd..f845e8f11a 100644 --- a/types/geometry-dom/tsconfig.json +++ b/types/geometry-dom/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/geopattern/tsconfig.json b/types/geopattern/tsconfig.json index ffde596485..6804c9374d 100644 --- a/types/geopattern/tsconfig.json +++ b/types/geopattern/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/get-node-dimensions/tsconfig.json b/types/get-node-dimensions/tsconfig.json index 04ee74158c..63d26048ed 100644 --- a/types/get-node-dimensions/tsconfig.json +++ b/types/get-node-dimensions/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/get-port/tsconfig.json b/types/get-port/tsconfig.json index 459facdfa8..c221d4e9fd 100644 --- a/types/get-port/tsconfig.json +++ b/types/get-port/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/get-stdin/tsconfig.json b/types/get-stdin/tsconfig.json index 6c25eedcf8..1052b48f11 100644 --- a/types/get-stdin/tsconfig.json +++ b/types/get-stdin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/get-stream/tsconfig.json b/types/get-stream/tsconfig.json index 9c36478bae..7d3b35d42d 100644 --- a/types/get-stream/tsconfig.json +++ b/types/get-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/getos/tsconfig.json b/types/getos/tsconfig.json index 7d14fec0fc..fbcc09cf87 100644 --- a/types/getos/tsconfig.json +++ b/types/getos/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gettext.js/tsconfig.json b/types/gettext.js/tsconfig.json index 87273714e2..3812c6244c 100644 --- a/types/gettext.js/tsconfig.json +++ b/types/gettext.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gifffer/tsconfig.json b/types/gifffer/tsconfig.json index 20a6f19517..aeeb7d4d77 100644 --- a/types/gifffer/tsconfig.json +++ b/types/gifffer/tsconfig.json @@ -15,11 +15,10 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "gifffer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gijgo/tsconfig.json b/types/gijgo/tsconfig.json index 6bb0ae1403..36530a70b9 100644 --- a/types/gijgo/tsconfig.json +++ b/types/gijgo/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/giraffe/tsconfig.json b/types/giraffe/tsconfig.json index a469396dd4..0602e0fbb5 100644 --- a/types/giraffe/tsconfig.json +++ b/types/giraffe/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/git-config/tsconfig.json b/types/git-config/tsconfig.json index 605c7505c3..48e528d1cc 100644 --- a/types/git-config/tsconfig.json +++ b/types/git-config/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/git-remote-origin-url/tsconfig.json b/types/git-remote-origin-url/tsconfig.json index 9d83cc0c47..063c49bfe3 100644 --- a/types/git-remote-origin-url/tsconfig.json +++ b/types/git-remote-origin-url/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/git-rev/tsconfig.json b/types/git-rev/tsconfig.json index 7a8cbf36cf..95396b43c2 100644 --- a/types/git-rev/tsconfig.json +++ b/types/git-rev/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/git/tsconfig.json b/types/git/tsconfig.json index 959a2ac25e..397dfc4ac3 100644 --- a/types/git/tsconfig.json +++ b/types/git/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/github-username-regex/tsconfig.json b/types/github-username-regex/tsconfig.json index 4564596c08..88dde1a00c 100644 --- a/types/github-username-regex/tsconfig.json +++ b/types/github-username-regex/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gl-matrix/tsconfig.json b/types/gl-matrix/tsconfig.json index fd83be79a8..ec26405a08 100644 --- a/types/gl-matrix/tsconfig.json +++ b/types/gl-matrix/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gldatepicker/tsconfig.json b/types/gldatepicker/tsconfig.json index 8d80a4c096..93ae16bff0 100644 --- a/types/gldatepicker/tsconfig.json +++ b/types/gldatepicker/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/glidejs/tsconfig.json b/types/glidejs/tsconfig.json index 5d075c7637..5659d4d355 100644 --- a/types/glidejs/tsconfig.json +++ b/types/glidejs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/glob-base/tsconfig.json b/types/glob-base/tsconfig.json index 2013ef4332..b5cd160770 100644 --- a/types/glob-base/tsconfig.json +++ b/types/glob-base/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/glob-expand/tsconfig.json b/types/glob-expand/tsconfig.json index 670f966d8f..4c028e61f8 100644 --- a/types/glob-expand/tsconfig.json +++ b/types/glob-expand/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/glob-parent/tsconfig.json b/types/glob-parent/tsconfig.json index ee2853601f..1a38c21a8f 100644 --- a/types/glob-parent/tsconfig.json +++ b/types/glob-parent/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/glob-stream/tsconfig.json b/types/glob-stream/tsconfig.json index c199b4c07c..06d8e7ca71 100644 --- a/types/glob-stream/tsconfig.json +++ b/types/glob-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/glob/tsconfig.json b/types/glob/tsconfig.json index 8e1cef6b05..46faaf718d 100644 --- a/types/glob/tsconfig.json +++ b/types/glob/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/global-tunnel-ng/tsconfig.json b/types/global-tunnel-ng/tsconfig.json index 362aca1f3f..e36f343474 100644 --- a/types/global-tunnel-ng/tsconfig.json +++ b/types/global-tunnel-ng/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/globalize-compiler/tsconfig.json b/types/globalize-compiler/tsconfig.json index 6c21504dec..7c4ac18956 100644 --- a/types/globalize-compiler/tsconfig.json +++ b/types/globalize-compiler/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/globalize/tsconfig.json b/types/globalize/tsconfig.json index a05e92e969..b83bbf7b09 100644 --- a/types/globalize/tsconfig.json +++ b/types/globalize/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/globby/tsconfig.json b/types/globby/tsconfig.json index 3992324f85..5cc0a3fe62 100644 --- a/types/globby/tsconfig.json +++ b/types/globby/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/globule/tsconfig.json b/types/globule/tsconfig.json index 973d69a02d..9e410fc88b 100644 --- a/types/globule/tsconfig.json +++ b/types/globule/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gm/tsconfig.json b/types/gm/tsconfig.json index e7b6667e75..234c57dbf5 100644 --- a/types/gm/tsconfig.json +++ b/types/gm/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/go/tsconfig.json b/types/go/tsconfig.json index 02839eea7b..3c8880bab1 100644 --- a/types/go/tsconfig.json +++ b/types/go/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google-adwords-scripts/tsconfig.json b/types/google-adwords-scripts/tsconfig.json index a515e74b27..748cf4a694 100644 --- a/types/google-adwords-scripts/tsconfig.json +++ b/types/google-adwords-scripts/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google-apps-script-oauth2/tsconfig.json b/types/google-apps-script-oauth2/tsconfig.json index db6e6d4421..d836bc05ae 100644 --- a/types/google-apps-script-oauth2/tsconfig.json +++ b/types/google-apps-script-oauth2/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google-apps-script/tsconfig.json b/types/google-apps-script/tsconfig.json index 483cc8d9d7..d61786dd17 100644 --- a/types/google-apps-script/tsconfig.json +++ b/types/google-apps-script/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google-closure-compiler/tsconfig.json b/types/google-closure-compiler/tsconfig.json index 5e74e98a7e..a4c312936e 100644 --- a/types/google-closure-compiler/tsconfig.json +++ b/types/google-closure-compiler/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google-cloud__datastore/tsconfig.json b/types/google-cloud__datastore/tsconfig.json index 1fb6feb9ab..a65f9d3218 100644 --- a/types/google-cloud__datastore/tsconfig.json +++ b/types/google-cloud__datastore/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google-cloud__pubsub/tsconfig.json b/types/google-cloud__pubsub/tsconfig.json index 0d2fd84b97..f71eb2a331 100644 --- a/types/google-cloud__pubsub/tsconfig.json +++ b/types/google-cloud__pubsub/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google-cloud__storage/tsconfig.json b/types/google-cloud__storage/tsconfig.json index bc37173f6e..fe05cce995 100644 --- a/types/google-cloud__storage/tsconfig.json +++ b/types/google-cloud__storage/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google-drive-realtime-api/tsconfig.json b/types/google-drive-realtime-api/tsconfig.json index 0cc6a81613..17d47ba0dc 100644 --- a/types/google-drive-realtime-api/tsconfig.json +++ b/types/google-drive-realtime-api/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google-earth/tsconfig.json b/types/google-earth/tsconfig.json index d59ac2953b..1ed0784589 100644 --- a/types/google-earth/tsconfig.json +++ b/types/google-earth/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google-images/tsconfig.json b/types/google-images/tsconfig.json index 9f12194366..017e9116b8 100644 --- a/types/google-images/tsconfig.json +++ b/types/google-images/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google-libphonenumber/tsconfig.json b/types/google-libphonenumber/tsconfig.json index 39c07d5ffb..e6e1f550b1 100644 --- a/types/google-libphonenumber/tsconfig.json +++ b/types/google-libphonenumber/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google-map-react/tsconfig.json b/types/google-map-react/tsconfig.json index 4f02fa811b..0fc3a3107f 100644 --- a/types/google-map-react/tsconfig.json +++ b/types/google-map-react/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google-maps/tsconfig.json b/types/google-maps/tsconfig.json index 606c1d115c..e43916774d 100644 --- a/types/google-maps/tsconfig.json +++ b/types/google-maps/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google-protobuf/tsconfig.json b/types/google-protobuf/tsconfig.json index 958728f6a6..b20bd4433e 100644 --- a/types/google-protobuf/tsconfig.json +++ b/types/google-protobuf/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google.analytics/tsconfig.json b/types/google.analytics/tsconfig.json index a678b0c7e3..45e71871b6 100644 --- a/types/google.analytics/tsconfig.json +++ b/types/google.analytics/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google.feeds/tsconfig.json b/types/google.feeds/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/google.feeds/tsconfig.json +++ b/types/google.feeds/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/google.fonts/tsconfig.json b/types/google.fonts/tsconfig.json index 4177da42c1..c4aa4943d3 100644 --- a/types/google.fonts/tsconfig.json +++ b/types/google.fonts/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google.geolocation/tsconfig.json b/types/google.geolocation/tsconfig.json index 360cecb0c9..71c8196435 100644 --- a/types/google.geolocation/tsconfig.json +++ b/types/google.geolocation/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google.picker/tsconfig.json b/types/google.picker/tsconfig.json index ddb1723be6..33502e21db 100644 --- a/types/google.picker/tsconfig.json +++ b/types/google.picker/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/google.visualization/tsconfig.json b/types/google.visualization/tsconfig.json index 4dc584c1d4..ad7ea5ef90 100644 --- a/types/google.visualization/tsconfig.json +++ b/types/google.visualization/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/googlemaps.infobubble/tsconfig.json b/types/googlemaps.infobubble/tsconfig.json index d1bc655d54..12fd60b566 100644 --- a/types/googlemaps.infobubble/tsconfig.json +++ b/types/googlemaps.infobubble/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/googlemaps/tsconfig.json b/types/googlemaps/tsconfig.json index 024177069c..7cd79e5d79 100644 --- a/types/googlemaps/tsconfig.json +++ b/types/googlemaps/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/got/tsconfig.json b/types/got/tsconfig.json index f13cc4607a..743441a0b9 100644 --- a/types/got/tsconfig.json +++ b/types/got/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/graceful-fs/tsconfig.json b/types/graceful-fs/tsconfig.json index c3fa569830..6c2ec1116e 100644 --- a/types/graceful-fs/tsconfig.json +++ b/types/graceful-fs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/graceful-fs/v2/tsconfig.json b/types/graceful-fs/v2/tsconfig.json index 6eb67ef820..d22f218ed4 100644 --- a/types/graceful-fs/v2/tsconfig.json +++ b/types/graceful-fs/v2/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/graham_scan/tsconfig.json b/types/graham_scan/tsconfig.json index 3cf0c64668..3a7a6efef0 100644 --- a/types/graham_scan/tsconfig.json +++ b/types/graham_scan/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/graphite-udp/tsconfig.json b/types/graphite-udp/tsconfig.json index f0804cdc58..936a1657f4 100644 --- a/types/graphite-udp/tsconfig.json +++ b/types/graphite-udp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/graphlib/tsconfig.json b/types/graphlib/tsconfig.json index 389baac591..994651b021 100644 --- a/types/graphlib/tsconfig.json +++ b/types/graphlib/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/graphql-date/tsconfig.json b/types/graphql-date/tsconfig.json index 603ec788c9..c55674e246 100644 --- a/types/graphql-date/tsconfig.json +++ b/types/graphql-date/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/graphql-iso-date/tsconfig.json b/types/graphql-iso-date/tsconfig.json index 57320b7caa..1ea5d6fc91 100644 --- a/types/graphql-iso-date/tsconfig.json +++ b/types/graphql-iso-date/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/graphql-relay/tsconfig.json b/types/graphql-relay/tsconfig.json index b94d59db9d..bf5b3ba6b6 100644 --- a/types/graphql-relay/tsconfig.json +++ b/types/graphql-relay/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/graphql-type-json/tsconfig.json b/types/graphql-type-json/tsconfig.json index 5eac54c86a..479196f574 100644 --- a/types/graphql-type-json/tsconfig.json +++ b/types/graphql-type-json/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/graphql/tsconfig.json b/types/graphql/tsconfig.json index 29525d3350..72f0de0665 100644 --- a/types/graphql/tsconfig.json +++ b/types/graphql/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/graphviz/tsconfig.json b/types/graphviz/tsconfig.json index 74188c2437..ec9897523b 100644 --- a/types/graphviz/tsconfig.json +++ b/types/graphviz/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/grasp/tsconfig.json b/types/grasp/tsconfig.json index 2a87034f8c..a2955269a5 100644 --- a/types/grasp/tsconfig.json +++ b/types/grasp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gravatar-url/tsconfig.json b/types/gravatar-url/tsconfig.json index 7dc0c7a0d6..8e61e09590 100644 --- a/types/gravatar-url/tsconfig.json +++ b/types/gravatar-url/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gravatar/tsconfig.json b/types/gravatar/tsconfig.json index eade609d2e..d90f933a40 100644 --- a/types/gravatar/tsconfig.json +++ b/types/gravatar/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/greasemonkey/tsconfig.json b/types/greasemonkey/tsconfig.json index 84c32d764f..f051af1bc4 100644 --- a/types/greasemonkey/tsconfig.json +++ b/types/greasemonkey/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/grecaptcha/tsconfig.json b/types/grecaptcha/tsconfig.json index 485acc7e0f..0265247984 100644 --- a/types/grecaptcha/tsconfig.json +++ b/types/grecaptcha/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/grecaptcha/v0/tsconfig.json b/types/grecaptcha/v0/tsconfig.json index af6bc27262..b75ce228e8 100644 --- a/types/grecaptcha/v0/tsconfig.json +++ b/types/grecaptcha/v0/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gregorian-calendar/tsconfig.json b/types/gregorian-calendar/tsconfig.json index a80ec039b1..2cad93c35f 100644 --- a/types/gregorian-calendar/tsconfig.json +++ b/types/gregorian-calendar/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/grid-styled/tsconfig.json b/types/grid-styled/tsconfig.json index 260e5ea359..ddc6a0e9f2 100644 --- a/types/grid-styled/tsconfig.json +++ b/types/grid-styled/tsconfig.json @@ -15,11 +15,10 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ "index.d.ts", "grid-styled-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/gridfs-stream/tsconfig.json b/types/gridfs-stream/tsconfig.json index e3b113310a..c6d9bffb02 100644 --- a/types/gridfs-stream/tsconfig.json +++ b/types/gridfs-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gridstack/tsconfig.json b/types/gridstack/tsconfig.json index 9350c8721c..1e4548ab3a 100644 --- a/types/gridstack/tsconfig.json +++ b/types/gridstack/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/grunt/tsconfig.json b/types/grunt/tsconfig.json index 53469dd2a1..af329ced3c 100644 --- a/types/grunt/tsconfig.json +++ b/types/grunt/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gsap/tsconfig.json b/types/gsap/tsconfig.json index ee453d0872..85301a0877 100644 --- a/types/gsap/tsconfig.json +++ b/types/gsap/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/guid/tsconfig.json b/types/guid/tsconfig.json index 20c94adc76..96b2e27f93 100644 --- a/types/guid/tsconfig.json +++ b/types/guid/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-angular-templatecache/tsconfig.json b/types/gulp-angular-templatecache/tsconfig.json index f5590d4937..3971eae080 100644 --- a/types/gulp-angular-templatecache/tsconfig.json +++ b/types/gulp-angular-templatecache/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-autoprefixer/tsconfig.json b/types/gulp-autoprefixer/tsconfig.json index de7d30ff47..52fd74103c 100644 --- a/types/gulp-autoprefixer/tsconfig.json +++ b/types/gulp-autoprefixer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-babel/tsconfig.json b/types/gulp-babel/tsconfig.json index 8a7d7b25a8..e177253e87 100644 --- a/types/gulp-babel/tsconfig.json +++ b/types/gulp-babel/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-batch/tsconfig.json b/types/gulp-batch/tsconfig.json index 00e877c977..8b5bce2f98 100644 --- a/types/gulp-batch/tsconfig.json +++ b/types/gulp-batch/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/gulp-bump/tsconfig.json b/types/gulp-bump/tsconfig.json index cb385de9a7..a652799d36 100644 --- a/types/gulp-bump/tsconfig.json +++ b/types/gulp-bump/tsconfig.json @@ -15,7 +15,6 @@ "strictNullChecks": true, "strictFunctionTypes": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/gulp-cache/tsconfig.json b/types/gulp-cache/tsconfig.json index cee084a998..e947f63db5 100644 --- a/types/gulp-cache/tsconfig.json +++ b/types/gulp-cache/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-cached/tsconfig.json b/types/gulp-cached/tsconfig.json index f7b99d2469..cdec085a2b 100644 --- a/types/gulp-cached/tsconfig.json +++ b/types/gulp-cached/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-changed/tsconfig.json b/types/gulp-changed/tsconfig.json index 80c8583bbf..d04c43b32e 100644 --- a/types/gulp-changed/tsconfig.json +++ b/types/gulp-changed/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-cheerio/tsconfig.json b/types/gulp-cheerio/tsconfig.json index 9d1f810c6c..be78d9969c 100644 --- a/types/gulp-cheerio/tsconfig.json +++ b/types/gulp-cheerio/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-clean-dest/tsconfig.json b/types/gulp-clean-dest/tsconfig.json index 518b39f91d..8e6d932b7e 100644 --- a/types/gulp-clean-dest/tsconfig.json +++ b/types/gulp-clean-dest/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-coffeeify/tsconfig.json b/types/gulp-coffeeify/tsconfig.json index 1b5f540107..241ff2e5f8 100644 --- a/types/gulp-coffeeify/tsconfig.json +++ b/types/gulp-coffeeify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-coffeelint/tsconfig.json b/types/gulp-coffeelint/tsconfig.json index 695aa2525d..94e2edb626 100644 --- a/types/gulp-coffeelint/tsconfig.json +++ b/types/gulp-coffeelint/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-concat/tsconfig.json b/types/gulp-concat/tsconfig.json index 62d0e3f55f..b28024194c 100644 --- a/types/gulp-concat/tsconfig.json +++ b/types/gulp-concat/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-connect/tsconfig.json b/types/gulp-connect/tsconfig.json index 2ec8e07735..fca451bd85 100644 --- a/types/gulp-connect/tsconfig.json +++ b/types/gulp-connect/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-copy/tsconfig.json b/types/gulp-copy/tsconfig.json index 69b46a3185..0c92078d28 100644 --- a/types/gulp-copy/tsconfig.json +++ b/types/gulp-copy/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-csso/tsconfig.json b/types/gulp-csso/tsconfig.json index 0f0b1e02fc..d0e22a2035 100644 --- a/types/gulp-csso/tsconfig.json +++ b/types/gulp-csso/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-debug/tsconfig.json b/types/gulp-debug/tsconfig.json index 1a862e6e1e..3dbd5e8109 100644 --- a/types/gulp-debug/tsconfig.json +++ b/types/gulp-debug/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-diff/tsconfig.json b/types/gulp-diff/tsconfig.json index 82c8e71fb3..9e4474532a 100644 --- a/types/gulp-diff/tsconfig.json +++ b/types/gulp-diff/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-dtsm/tsconfig.json b/types/gulp-dtsm/tsconfig.json index 4e8ddf667c..dd1ca59de4 100644 --- a/types/gulp-dtsm/tsconfig.json +++ b/types/gulp-dtsm/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-espower/tsconfig.json b/types/gulp-espower/tsconfig.json index 720f5897c2..cf469c3b13 100644 --- a/types/gulp-espower/tsconfig.json +++ b/types/gulp-espower/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-file-include/tsconfig.json b/types/gulp-file-include/tsconfig.json index 4f8200bc86..ab226efcb3 100644 --- a/types/gulp-file-include/tsconfig.json +++ b/types/gulp-file-include/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-filter/tsconfig.json b/types/gulp-filter/tsconfig.json index 6120629011..f4f7d56d52 100644 --- a/types/gulp-filter/tsconfig.json +++ b/types/gulp-filter/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-flatten/tsconfig.json b/types/gulp-flatten/tsconfig.json index 2adbc5747c..ab4f9a894a 100644 --- a/types/gulp-flatten/tsconfig.json +++ b/types/gulp-flatten/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-gh-pages/tsconfig.json b/types/gulp-gh-pages/tsconfig.json index 3a8f402c8d..1ea7bf2217 100644 --- a/types/gulp-gh-pages/tsconfig.json +++ b/types/gulp-gh-pages/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-gzip/tsconfig.json b/types/gulp-gzip/tsconfig.json index 0bdb09cd02..4f3f5f8d77 100644 --- a/types/gulp-gzip/tsconfig.json +++ b/types/gulp-gzip/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-help-doc/tsconfig.json b/types/gulp-help-doc/tsconfig.json index 997b774603..b6f16b60a9 100644 --- a/types/gulp-help-doc/tsconfig.json +++ b/types/gulp-help-doc/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-help/tsconfig.json b/types/gulp-help/tsconfig.json index a525512784..a174bbab6e 100644 --- a/types/gulp-help/tsconfig.json +++ b/types/gulp-help/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-html-replace/tsconfig.json b/types/gulp-html-replace/tsconfig.json index f21adbe57d..fcf17ed178 100644 --- a/types/gulp-html-replace/tsconfig.json +++ b/types/gulp-html-replace/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-htmlmin/tsconfig.json b/types/gulp-htmlmin/tsconfig.json index e426cd715f..022acde96e 100644 --- a/types/gulp-htmlmin/tsconfig.json +++ b/types/gulp-htmlmin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-if/tsconfig.json b/types/gulp-if/tsconfig.json index 777df7124c..bb2544820b 100644 --- a/types/gulp-if/tsconfig.json +++ b/types/gulp-if/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-inject/tsconfig.json b/types/gulp-inject/tsconfig.json index 2af1ab9827..aacadf6415 100644 --- a/types/gulp-inject/tsconfig.json +++ b/types/gulp-inject/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-insert/tsconfig.json b/types/gulp-insert/tsconfig.json index 89c69015ed..6feda660ed 100644 --- a/types/gulp-insert/tsconfig.json +++ b/types/gulp-insert/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-install/tsconfig.json b/types/gulp-install/tsconfig.json index 5576cb02ae..e1b6063ac9 100644 --- a/types/gulp-install/tsconfig.json +++ b/types/gulp-install/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-istanbul/tsconfig.json b/types/gulp-istanbul/tsconfig.json index a73367da09..133f0cd935 100644 --- a/types/gulp-istanbul/tsconfig.json +++ b/types/gulp-istanbul/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-jade/tsconfig.json b/types/gulp-jade/tsconfig.json index aa9260a7c4..7e924cb11b 100644 --- a/types/gulp-jade/tsconfig.json +++ b/types/gulp-jade/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-jasmine-browser/tsconfig.json b/types/gulp-jasmine-browser/tsconfig.json index 3e09f9571f..55990f3261 100644 --- a/types/gulp-jasmine-browser/tsconfig.json +++ b/types/gulp-jasmine-browser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-jasmine/tsconfig.json b/types/gulp-jasmine/tsconfig.json index 4fc991e2ef..2214b37e87 100644 --- a/types/gulp-jasmine/tsconfig.json +++ b/types/gulp-jasmine/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-json-editor/tsconfig.json b/types/gulp-json-editor/tsconfig.json index 612fbf802c..4f224b2a01 100644 --- a/types/gulp-json-editor/tsconfig.json +++ b/types/gulp-json-editor/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-jsonminify/tsconfig.json b/types/gulp-jsonminify/tsconfig.json index 956c8eab43..080412463f 100644 --- a/types/gulp-jsonminify/tsconfig.json +++ b/types/gulp-jsonminify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-jspm/tsconfig.json b/types/gulp-jspm/tsconfig.json index c5e89286e7..b612a0a146 100644 --- a/types/gulp-jspm/tsconfig.json +++ b/types/gulp-jspm/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-less/tsconfig.json b/types/gulp-less/tsconfig.json index 24266e4482..e4c00666f5 100644 --- a/types/gulp-less/tsconfig.json +++ b/types/gulp-less/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-load-plugins/tsconfig.json b/types/gulp-load-plugins/tsconfig.json index 44c98dfb1d..880ad1acd1 100644 --- a/types/gulp-load-plugins/tsconfig.json +++ b/types/gulp-load-plugins/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-minify-css/tsconfig.json b/types/gulp-minify-css/tsconfig.json index 08ddc4b6de..ccb2e4b319 100644 --- a/types/gulp-minify-css/tsconfig.json +++ b/types/gulp-minify-css/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-minify-html/tsconfig.json b/types/gulp-minify-html/tsconfig.json index 5594b9006d..80ef59bff4 100644 --- a/types/gulp-minify-html/tsconfig.json +++ b/types/gulp-minify-html/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-mocha/tsconfig.json b/types/gulp-mocha/tsconfig.json index 0e919fbac5..52b200e921 100644 --- a/types/gulp-mocha/tsconfig.json +++ b/types/gulp-mocha/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-modernizr/tsconfig.json b/types/gulp-modernizr/tsconfig.json index 4c28752668..a2f50619a3 100644 --- a/types/gulp-modernizr/tsconfig.json +++ b/types/gulp-modernizr/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-msbuild/tsconfig.json b/types/gulp-msbuild/tsconfig.json index 560d597b85..e999f3b231 100644 --- a/types/gulp-msbuild/tsconfig.json +++ b/types/gulp-msbuild/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-mustache/tsconfig.json b/types/gulp-mustache/tsconfig.json index 4ebb11f698..f461c5d525 100644 --- a/types/gulp-mustache/tsconfig.json +++ b/types/gulp-mustache/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-newer/tsconfig.json b/types/gulp-newer/tsconfig.json index c5d2ed8894..c139e12412 100644 --- a/types/gulp-newer/tsconfig.json +++ b/types/gulp-newer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-ng-annotate/tsconfig.json b/types/gulp-ng-annotate/tsconfig.json index 7a35fde2b9..1b7db8f980 100644 --- a/types/gulp-ng-annotate/tsconfig.json +++ b/types/gulp-ng-annotate/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-nodemon/tsconfig.json b/types/gulp-nodemon/tsconfig.json index 5ff166eae3..af6e7a7991 100644 --- a/types/gulp-nodemon/tsconfig.json +++ b/types/gulp-nodemon/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-nunit-runner/tsconfig.json b/types/gulp-nunit-runner/tsconfig.json index e7daea0b13..97a0a7a8cb 100644 --- a/types/gulp-nunit-runner/tsconfig.json +++ b/types/gulp-nunit-runner/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-plumber/tsconfig.json b/types/gulp-plumber/tsconfig.json index a483c3197e..ad53d6fde5 100644 --- a/types/gulp-plumber/tsconfig.json +++ b/types/gulp-plumber/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-protractor/tsconfig.json b/types/gulp-protractor/tsconfig.json index 758e915a22..bb39acdbdc 100644 --- a/types/gulp-protractor/tsconfig.json +++ b/types/gulp-protractor/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-pug/tsconfig.json b/types/gulp-pug/tsconfig.json index c52e2c9cf0..b3b2597c1e 100644 --- a/types/gulp-pug/tsconfig.json +++ b/types/gulp-pug/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-remember/tsconfig.json b/types/gulp-remember/tsconfig.json index c3b4e15c77..02070e1b82 100644 --- a/types/gulp-remember/tsconfig.json +++ b/types/gulp-remember/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-rename/tsconfig.json b/types/gulp-rename/tsconfig.json index 3c33e8adf4..b9b34366ee 100644 --- a/types/gulp-rename/tsconfig.json +++ b/types/gulp-rename/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-replace/tsconfig.json b/types/gulp-replace/tsconfig.json index 81dc6799cb..5d188a1919 100644 --- a/types/gulp-replace/tsconfig.json +++ b/types/gulp-replace/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-rev-replace/tsconfig.json b/types/gulp-rev-replace/tsconfig.json index 54babfcd8a..c9a020605c 100644 --- a/types/gulp-rev-replace/tsconfig.json +++ b/types/gulp-rev-replace/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-rev/tsconfig.json b/types/gulp-rev/tsconfig.json index c5ca988faa..fac8396ef8 100644 --- a/types/gulp-rev/tsconfig.json +++ b/types/gulp-rev/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-ruby-sass/tsconfig.json b/types/gulp-ruby-sass/tsconfig.json index 562b5e91b4..947482e45c 100644 --- a/types/gulp-ruby-sass/tsconfig.json +++ b/types/gulp-ruby-sass/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-sass/tsconfig.json b/types/gulp-sass/tsconfig.json index 62e7bfb40f..311d0e2615 100644 --- a/types/gulp-sass/tsconfig.json +++ b/types/gulp-sass/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-shell/tsconfig.json b/types/gulp-shell/tsconfig.json index 4d73d765dd..d9797a8f28 100644 --- a/types/gulp-shell/tsconfig.json +++ b/types/gulp-shell/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-size/tsconfig.json b/types/gulp-size/tsconfig.json index ee2d5f0bc9..2d84cb001c 100644 --- a/types/gulp-size/tsconfig.json +++ b/types/gulp-size/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-sort/tsconfig.json b/types/gulp-sort/tsconfig.json index 19cd0ffa81..df1ddc44e4 100644 --- a/types/gulp-sort/tsconfig.json +++ b/types/gulp-sort/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-sourcemaps/tsconfig.json b/types/gulp-sourcemaps/tsconfig.json index fd79ffc3b1..198b428937 100644 --- a/types/gulp-sourcemaps/tsconfig.json +++ b/types/gulp-sourcemaps/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-strip-debug/tsconfig.json b/types/gulp-strip-debug/tsconfig.json index 6e8ef33fc2..ad5d90ca69 100644 --- a/types/gulp-strip-debug/tsconfig.json +++ b/types/gulp-strip-debug/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-svg-sprite/tsconfig.json b/types/gulp-svg-sprite/tsconfig.json index edfff724d1..ed703e4c09 100644 --- a/types/gulp-svg-sprite/tsconfig.json +++ b/types/gulp-svg-sprite/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-task-listing/tsconfig.json b/types/gulp-task-listing/tsconfig.json index 2b580f1f5f..6d99b2f3f2 100644 --- a/types/gulp-task-listing/tsconfig.json +++ b/types/gulp-task-listing/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-tsd/tsconfig.json b/types/gulp-tsd/tsconfig.json index 3ede2690c5..692c21e642 100644 --- a/types/gulp-tsd/tsconfig.json +++ b/types/gulp-tsd/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-uglify/tsconfig.json b/types/gulp-uglify/tsconfig.json index 282b6c138b..72fd35c65e 100644 --- a/types/gulp-uglify/tsconfig.json +++ b/types/gulp-uglify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-useref/tsconfig.json b/types/gulp-useref/tsconfig.json index b12ffbcda7..cdb7922c57 100644 --- a/types/gulp-useref/tsconfig.json +++ b/types/gulp-useref/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-util/tsconfig.json b/types/gulp-util/tsconfig.json index d3286da30b..f383866019 100644 --- a/types/gulp-util/tsconfig.json +++ b/types/gulp-util/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-watch/tsconfig.json b/types/gulp-watch/tsconfig.json index b1937b173a..079cb9d569 100644 --- a/types/gulp-watch/tsconfig.json +++ b/types/gulp-watch/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-zip/tsconfig.json b/types/gulp-zip/tsconfig.json index 8b43507914..a5f75d75fa 100644 --- a/types/gulp-zip/tsconfig.json +++ b/types/gulp-zip/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp/tsconfig.json b/types/gulp/tsconfig.json index dfba44bd86..b0ca843318 100644 --- a/types/gulp/tsconfig.json +++ b/types/gulp/tsconfig.json @@ -16,7 +16,6 @@ "strictNullChecks": true, "strictFunctionTypes": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/gulp/v3/tsconfig.json b/types/gulp/v3/tsconfig.json index d1a56e0a01..2948f23682 100644 --- a/types/gulp/v3/tsconfig.json +++ b/types/gulp/v3/tsconfig.json @@ -22,8 +22,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gzip-js/tsconfig.json b/types/gzip-js/tsconfig.json index 978dc916bd..c402315042 100644 --- a/types/gzip-js/tsconfig.json +++ b/types/gzip-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gzip-size/tsconfig.json b/types/gzip-size/tsconfig.json index 9779d93536..6d244facf6 100644 --- a/types/gzip-size/tsconfig.json +++ b/types/gzip-size/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gzip-size/v3/tsconfig.json b/types/gzip-size/v3/tsconfig.json index 1e806cb7bc..62a3e7db2b 100644 --- a/types/gzip-size/v3/tsconfig.json +++ b/types/gzip-size/v3/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/h2o2/tsconfig.json b/types/h2o2/tsconfig.json index 4b4260bc21..7cc2bc6d91 100644 --- a/types/h2o2/tsconfig.json +++ b/types/h2o2/tsconfig.json @@ -14,15 +14,18 @@ ], "types": [], "paths": { - "boom": ["boom/v4"], - "hapi": ["hapi/v16"] + "boom": [ + "boom/v4" + ], + "hapi": [ + "hapi/v16" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "h2o2-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/halfred/tsconfig.json b/types/halfred/tsconfig.json index 2e09cffd82..7d75a822cb 100644 --- a/types/halfred/tsconfig.json +++ b/types/halfred/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/halogen/tsconfig.json b/types/halogen/tsconfig.json index caaa6505d4..f234a05b87 100644 --- a/types/halogen/tsconfig.json +++ b/types/halogen/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/hammerjs/tsconfig.json b/types/hammerjs/tsconfig.json index e159cc1fe0..c0ba95885c 100644 --- a/types/hammerjs/tsconfig.json +++ b/types/hammerjs/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/hammerjs/v1/tsconfig.json b/types/hammerjs/v1/tsconfig.json index 665a768e1d..aeabf7ff07 100644 --- a/types/hammerjs/v1/tsconfig.json +++ b/types/hammerjs/v1/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/handlebars/tsconfig.json b/types/handlebars/tsconfig.json index 3fdef52d13..5f874f3996 100644 --- a/types/handlebars/tsconfig.json +++ b/types/handlebars/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/handlebars/v1/tsconfig.json b/types/handlebars/v1/tsconfig.json index 7b246f2c3a..96818b903b 100644 --- a/types/handlebars/v1/tsconfig.json +++ b/types/handlebars/v1/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/hapi-auth-basic/tsconfig.json b/types/hapi-auth-basic/tsconfig.json index 6d16801a90..9d6132482f 100644 --- a/types/hapi-auth-basic/tsconfig.json +++ b/types/hapi-auth-basic/tsconfig.json @@ -14,15 +14,18 @@ ], "types": [], "paths": { - "boom": ["boom/v4"], - "hapi": ["hapi/v16"] + "boom": [ + "boom/v4" + ], + "hapi": [ + "hapi/v16" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "hapi-auth-basic-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hapi-auth-jwt2/tsconfig.json b/types/hapi-auth-jwt2/tsconfig.json index cca5383217..1f8cc10075 100644 --- a/types/hapi-auth-jwt2/tsconfig.json +++ b/types/hapi-auth-jwt2/tsconfig.json @@ -14,15 +14,18 @@ ], "types": [], "paths": { - "boom": ["boom/v4"], - "hapi": ["hapi/v16"] + "boom": [ + "boom/v4" + ], + "hapi": [ + "hapi/v16" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "hapi-auth-jwt2-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hapi-decorators/tsconfig.json b/types/hapi-decorators/tsconfig.json index fa86375121..44437f4b9e 100644 --- a/types/hapi-decorators/tsconfig.json +++ b/types/hapi-decorators/tsconfig.json @@ -19,14 +19,15 @@ "boom": [ "boom/v4" ], - "hapi": ["hapi/v16"] + "hapi": [ + "hapi/v16" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "hapi-decorators-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hapi/tsconfig.json b/types/hapi/tsconfig.json index fd19f07bf6..54ac999c95 100644 --- a/types/hapi/tsconfig.json +++ b/types/hapi/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hapi/v12/tsconfig.json b/types/hapi/v12/tsconfig.json index 527a25a6be..c461c7d288 100644 --- a/types/hapi/v12/tsconfig.json +++ b/types/hapi/v12/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hapi/v15/tsconfig.json b/types/hapi/v15/tsconfig.json index f3eea23e6b..154b6a8f0e 100644 --- a/types/hapi/v15/tsconfig.json +++ b/types/hapi/v15/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hapi/v16/tsconfig.json b/types/hapi/v16/tsconfig.json index e54c0e1e63..12b95c134d 100644 --- a/types/hapi/v16/tsconfig.json +++ b/types/hapi/v16/tsconfig.json @@ -14,14 +14,15 @@ ], "types": [], "paths": { - "boom": ["boom/v4"], + "boom": [ + "boom/v4" + ], "hapi": [ "hapi/v16" ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", @@ -101,4 +102,4 @@ "test/server/table.ts", "test/server/version.ts" ] -} +} \ No newline at end of file diff --git a/types/hapi/v8/tsconfig.json b/types/hapi/v8/tsconfig.json index e56e64ba1e..7eb82005fd 100644 --- a/types/hapi/v8/tsconfig.json +++ b/types/hapi/v8/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/har-format/tsconfig.json b/types/har-format/tsconfig.json index e30aa982b8..f5029a7c18 100644 --- a/types/har-format/tsconfig.json +++ b/types/har-format/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hard-rejection/tsconfig.json b/types/hard-rejection/tsconfig.json index 1521f9e327..6c83946da7 100644 --- a/types/hard-rejection/tsconfig.json +++ b/types/hard-rejection/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/harmony-proxy/tsconfig.json b/types/harmony-proxy/tsconfig.json index 5225c0854d..2190dd8e23 100644 --- a/types/harmony-proxy/tsconfig.json +++ b/types/harmony-proxy/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/has-ansi/tsconfig.json b/types/has-ansi/tsconfig.json index e80018a785..d5b52a8974 100644 --- a/types/has-ansi/tsconfig.json +++ b/types/has-ansi/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hash-file/tsconfig.json b/types/hash-file/tsconfig.json index c300cccbda..67f8cfcf8c 100644 --- a/types/hash-file/tsconfig.json +++ b/types/hash-file/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hash-stream/tsconfig.json b/types/hash-stream/tsconfig.json index 61d4d3c12e..e1846bd608 100644 --- a/types/hash-stream/tsconfig.json +++ b/types/hash-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hasha/tsconfig.json b/types/hasha/tsconfig.json index ebef98b818..fe359d64a5 100644 --- a/types/hasha/tsconfig.json +++ b/types/hasha/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hasher/tsconfig.json b/types/hasher/tsconfig.json index b05767e01b..dae70f6dc4 100644 --- a/types/hasher/tsconfig.json +++ b/types/hasher/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hashids/tsconfig.json b/types/hashids/tsconfig.json index 7d308003bb..4d118acf1b 100644 --- a/types/hashids/tsconfig.json +++ b/types/hashids/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hashmap/tsconfig.json b/types/hashmap/tsconfig.json index 700a72e832..f2d00e0999 100644 --- a/types/hashmap/tsconfig.json +++ b/types/hashmap/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/hashmap/v1/tsconfig.json b/types/hashmap/v1/tsconfig.json index 6537d23b5d..a085a1d89d 100644 --- a/types/hashmap/v1/tsconfig.json +++ b/types/hashmap/v1/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hashset/tsconfig.json b/types/hashset/tsconfig.json index 9ac81f5b45..7bf84fd5f1 100644 --- a/types/hashset/tsconfig.json +++ b/types/hashset/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hashtable/tsconfig.json b/types/hashtable/tsconfig.json index eac4d4b6c8..497a9448bf 100644 --- a/types/hashtable/tsconfig.json +++ b/types/hashtable/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/haversine/tsconfig.json b/types/haversine/tsconfig.json index ed00b23d2c..6b8c2dfaf6 100644 --- a/types/haversine/tsconfig.json +++ b/types/haversine/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hbs/tsconfig.json b/types/hbs/tsconfig.json index 4ed61e005d..f16c9e251f 100644 --- a/types/hbs/tsconfig.json +++ b/types/hbs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/he/tsconfig.json b/types/he/tsconfig.json index 21526db543..6e02234def 100644 --- a/types/he/tsconfig.json +++ b/types/he/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/headroom/tsconfig.json b/types/headroom/tsconfig.json index 5184b6b443..eb03738511 100644 --- a/types/headroom/tsconfig.json +++ b/types/headroom/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/heap/tsconfig.json b/types/heap/tsconfig.json index a5dc20174d..ed8f269f6e 100644 --- a/types/heap/tsconfig.json +++ b/types/heap/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/heapdump/tsconfig.json b/types/heapdump/tsconfig.json index 703a603ae1..5e17c15567 100644 --- a/types/heapdump/tsconfig.json +++ b/types/heapdump/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/heatmap.js/tsconfig.json b/types/heatmap.js/tsconfig.json index d1e87ffb3d..2e22853a34 100644 --- a/types/heatmap.js/tsconfig.json +++ b/types/heatmap.js/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hedron/tsconfig.json b/types/hedron/tsconfig.json index 647d1d6a30..bed62b30c6 100644 --- a/types/hedron/tsconfig.json +++ b/types/hedron/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "preserve" }, "files": [ diff --git a/types/hellojs/tsconfig.json b/types/hellojs/tsconfig.json index 755aefce72..c3baa66581 100644 --- a/types/hellojs/tsconfig.json +++ b/types/hellojs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hellosign-embedded/tsconfig.json b/types/hellosign-embedded/tsconfig.json index 74d8ec66b4..4712a41816 100644 --- a/types/hellosign-embedded/tsconfig.json +++ b/types/hellosign-embedded/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/helmet/tsconfig.json b/types/helmet/tsconfig.json index f85a86b1c8..0a85e89659 100644 --- a/types/helmet/tsconfig.json +++ b/types/helmet/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/heredatalens/tsconfig.json b/types/heredatalens/tsconfig.json index 4e2e0cd1a3..5a2650b93f 100644 --- a/types/heredatalens/tsconfig.json +++ b/types/heredatalens/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/heremaps/tsconfig.json b/types/heremaps/tsconfig.json index 4ccebfba90..7f83e9f79c 100644 --- a/types/heremaps/tsconfig.json +++ b/types/heremaps/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/heroku-logger/tsconfig.json b/types/heroku-logger/tsconfig.json index ebd7c0041c..802ac41a2a 100644 --- a/types/heroku-logger/tsconfig.json +++ b/types/heroku-logger/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hex-rgba/tsconfig.json b/types/hex-rgba/tsconfig.json index 2f0ff73e60..3ede3bac4f 100644 --- a/types/hex-rgba/tsconfig.json +++ b/types/hex-rgba/tsconfig.json @@ -14,7 +14,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/hexo-bunyan/tsconfig.json b/types/hexo-bunyan/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/hexo-bunyan/tsconfig.json +++ b/types/hexo-bunyan/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/hexo-fs/tsconfig.json b/types/hexo-fs/tsconfig.json index b3014c52df..4d8c00b74e 100644 --- a/types/hexo-fs/tsconfig.json +++ b/types/hexo-fs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hexo-log/tsconfig.json b/types/hexo-log/tsconfig.json index 906e609902..b0af5da25b 100644 --- a/types/hexo-log/tsconfig.json +++ b/types/hexo-log/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/highcharts-ng/tsconfig.json b/types/highcharts-ng/tsconfig.json index f1f180976f..6f313e502a 100644 --- a/types/highcharts-ng/tsconfig.json +++ b/types/highcharts-ng/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/highcharts/tsconfig.json b/types/highcharts/tsconfig.json index 18d37382e5..ed1e69ef0c 100644 --- a/types/highcharts/tsconfig.json +++ b/types/highcharts/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/highland/tsconfig.json b/types/highland/tsconfig.json index 43fea750ce..369326fd9f 100644 --- a/types/highland/tsconfig.json +++ b/types/highland/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/highlight.js/tsconfig.json b/types/highlight.js/tsconfig.json index d13fff15ba..e3627e99ca 100644 --- a/types/highlight.js/tsconfig.json +++ b/types/highlight.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/highlight.js/v7/tsconfig.json b/types/highlight.js/v7/tsconfig.json index 2c89b93acb..10570c9f69 100644 --- a/types/highlight.js/v7/tsconfig.json +++ b/types/highlight.js/v7/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/hiredis/tsconfig.json b/types/hiredis/tsconfig.json index 8bc77b8339..927fdef018 100644 --- a/types/hiredis/tsconfig.json +++ b/types/hiredis/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/history.js/tsconfig.json b/types/history.js/tsconfig.json index 1972e4113e..4834d24b35 100644 --- a/types/history.js/tsconfig.json +++ b/types/history.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/history/tsconfig.json b/types/history/tsconfig.json index 2be65a13ed..f5638c9603 100644 --- a/types/history/tsconfig.json +++ b/types/history/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/history/v2/tsconfig.json b/types/history/v2/tsconfig.json index 94e2605881..4ee5476d05 100644 --- a/types/history/v2/tsconfig.json +++ b/types/history/v2/tsconfig.json @@ -23,8 +23,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/history/v3/tsconfig.json b/types/history/v3/tsconfig.json index 17f7dc237f..2075f25a15 100644 --- a/types/history/v3/tsconfig.json +++ b/types/history/v3/tsconfig.json @@ -23,8 +23,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hjson/tsconfig.json b/types/hjson/tsconfig.json index e2004c8716..5e6692a9bd 100644 --- a/types/hjson/tsconfig.json +++ b/types/hjson/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hls.js/tsconfig.json b/types/hls.js/tsconfig.json index f879abb0ef..ed68ee32f3 100644 --- a/types/hls.js/tsconfig.json +++ b/types/hls.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hoek/tsconfig.json b/types/hoek/tsconfig.json index 9cc6965f8f..06617f251f 100644 --- a/types/hoek/tsconfig.json +++ b/types/hoek/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/holderjs/tsconfig.json b/types/holderjs/tsconfig.json index b33ee1cfdb..1e1e58be2f 100644 --- a/types/holderjs/tsconfig.json +++ b/types/holderjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hooker/tsconfig.json b/types/hooker/tsconfig.json index 38bc5b093c..446825fb97 100644 --- a/types/hooker/tsconfig.json +++ b/types/hooker/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hopscotch/tsconfig.json b/types/hopscotch/tsconfig.json index c192e75957..d9fb810610 100644 --- a/types/hopscotch/tsconfig.json +++ b/types/hopscotch/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/howler/tsconfig.json b/types/howler/tsconfig.json index d9f51622a8..00ec7b93d7 100644 --- a/types/howler/tsconfig.json +++ b/types/howler/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hpp/tsconfig.json b/types/hpp/tsconfig.json index cbc4490a4e..0193bd22d2 100644 --- a/types/hpp/tsconfig.json +++ b/types/hpp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/html-entities/tsconfig.json b/types/html-entities/tsconfig.json index 57a35f13e7..ad38016e35 100644 --- a/types/html-entities/tsconfig.json +++ b/types/html-entities/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/html-minifier/tsconfig.json b/types/html-minifier/tsconfig.json index c8f5ba70d1..129a20c71f 100644 --- a/types/html-minifier/tsconfig.json +++ b/types/html-minifier/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/html-minifier/v1/tsconfig.json b/types/html-minifier/v1/tsconfig.json index df85608048..dd9586e561 100644 --- a/types/html-minifier/v1/tsconfig.json +++ b/types/html-minifier/v1/tsconfig.json @@ -22,8 +22,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/html-pdf/tsconfig.json b/types/html-pdf/tsconfig.json index 225bb52929..e6936f2588 100644 --- a/types/html-pdf/tsconfig.json +++ b/types/html-pdf/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/html-to-text/tsconfig.json b/types/html-to-text/tsconfig.json index fe209a615d..089a8e128e 100644 --- a/types/html-to-text/tsconfig.json +++ b/types/html-to-text/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/html-webpack-plugin/tsconfig.json b/types/html-webpack-plugin/tsconfig.json index 289455c231..61d842ab9c 100644 --- a/types/html-webpack-plugin/tsconfig.json +++ b/types/html-webpack-plugin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/html-webpack-template/tsconfig.json b/types/html-webpack-template/tsconfig.json index ddc0447c74..7b0b56e459 100644 --- a/types/html-webpack-template/tsconfig.json +++ b/types/html-webpack-template/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/html2canvas/tsconfig.json b/types/html2canvas/tsconfig.json index 9cf08eb266..0fcf24b6f8 100644 --- a/types/html2canvas/tsconfig.json +++ b/types/html2canvas/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/htmlbars-inline-precompile/tsconfig.json b/types/htmlbars-inline-precompile/tsconfig.json index c3eb8ef11f..fd03f6a476 100644 --- a/types/htmlbars-inline-precompile/tsconfig.json +++ b/types/htmlbars-inline-precompile/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/htmlescape/tsconfig.json b/types/htmlescape/tsconfig.json index abe0efa243..581a713fff 100644 --- a/types/htmlescape/tsconfig.json +++ b/types/htmlescape/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/htmlhint/tsconfig.json b/types/htmlhint/tsconfig.json index c2b3078f68..b8472efbda 100644 --- a/types/htmlhint/tsconfig.json +++ b/types/htmlhint/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/htmlparser2/tsconfig.json b/types/htmlparser2/tsconfig.json index c19c42d22b..c6ccfee7cc 100644 --- a/types/htmlparser2/tsconfig.json +++ b/types/htmlparser2/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/htmltojsx/tsconfig.json b/types/htmltojsx/tsconfig.json index b505e65bd9..5b0fc81735 100644 --- a/types/htmltojsx/tsconfig.json +++ b/types/htmltojsx/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/http-assert/tsconfig.json b/types/http-assert/tsconfig.json index a1be51026d..711327f38b 100644 --- a/types/http-assert/tsconfig.json +++ b/types/http-assert/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/http-aws-es/tsconfig.json b/types/http-aws-es/tsconfig.json index 44140847bb..5d248f0375 100644 --- a/types/http-aws-es/tsconfig.json +++ b/types/http-aws-es/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/http-codes/tsconfig.json b/types/http-codes/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/http-codes/tsconfig.json +++ b/types/http-codes/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/http-context/tsconfig.json b/types/http-context/tsconfig.json index ade1021328..a17901c227 100644 --- a/types/http-context/tsconfig.json +++ b/types/http-context/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/http-errors/tsconfig.json b/types/http-errors/tsconfig.json index 62465b68e8..430bec9565 100644 --- a/types/http-errors/tsconfig.json +++ b/types/http-errors/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/http-link-header/tsconfig.json b/types/http-link-header/tsconfig.json index 3094403bb9..3acfe11a33 100644 --- a/types/http-link-header/tsconfig.json +++ b/types/http-link-header/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/http-proxy-agent/tsconfig.json b/types/http-proxy-agent/tsconfig.json index f0e1f42aee..4c4a92955f 100644 --- a/types/http-proxy-agent/tsconfig.json +++ b/types/http-proxy-agent/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/http-proxy-middleware/tsconfig.json b/types/http-proxy-middleware/tsconfig.json index 714fe3ca42..459138e584 100644 --- a/types/http-proxy-middleware/tsconfig.json +++ b/types/http-proxy-middleware/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/http-proxy/tsconfig.json b/types/http-proxy/tsconfig.json index e8895667f5..24a9ed6c48 100644 --- a/types/http-proxy/tsconfig.json +++ b/types/http-proxy/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/http-server/tsconfig.json b/types/http-server/tsconfig.json index 1b90c09fa0..24ee3e9d0f 100644 --- a/types/http-server/tsconfig.json +++ b/types/http-server/tsconfig.json @@ -14,7 +14,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/http-status/tsconfig.json b/types/http-status/tsconfig.json index 2a9f60f0c2..acb7f89cde 100644 --- a/types/http-status/tsconfig.json +++ b/types/http-status/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/http-string-parser/tsconfig.json b/types/http-string-parser/tsconfig.json index 82cb0405e7..80f7cd176a 100644 --- a/types/http-string-parser/tsconfig.json +++ b/types/http-string-parser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/httperr/tsconfig.json b/types/httperr/tsconfig.json index ef117164fb..85505edbc8 100644 --- a/types/httperr/tsconfig.json +++ b/types/httperr/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hubot/tsconfig.json b/types/hubot/tsconfig.json index 8dbed319d9..9354cf926c 100644 --- a/types/hubot/tsconfig.json +++ b/types/hubot/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hubspot-pace/tsconfig.json b/types/hubspot-pace/tsconfig.json index f2c9f738e6..1d2a2ec99e 100644 --- a/types/hubspot-pace/tsconfig.json +++ b/types/hubspot-pace/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/humane/tsconfig.json b/types/humane/tsconfig.json index 02cee5bec2..7b2fc3e81b 100644 --- a/types/humane/tsconfig.json +++ b/types/humane/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/humanize-plus/tsconfig.json b/types/humanize-plus/tsconfig.json index 674bdb64f5..37b195e2cd 100644 --- a/types/humanize-plus/tsconfig.json +++ b/types/humanize-plus/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/humanize-string/tsconfig.json b/types/humanize-string/tsconfig.json index 2b97ea796b..715a620e55 100644 --- a/types/humanize-string/tsconfig.json +++ b/types/humanize-string/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/humanparser/tsconfig.json b/types/humanparser/tsconfig.json index 3b7ed6be21..1e12c171d0 100644 --- a/types/humanparser/tsconfig.json +++ b/types/humanparser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/humps/tsconfig.json b/types/humps/tsconfig.json index 79c40ebc87..ec1866d58c 100644 --- a/types/humps/tsconfig.json +++ b/types/humps/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hyco-ws/tsconfig.json b/types/hyco-ws/tsconfig.json index 468a3e9c69..cc21647f01 100644 --- a/types/hyco-ws/tsconfig.json +++ b/types/hyco-ws/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hyperscript/tsconfig.json b/types/hyperscript/tsconfig.json index 733e14bcda..dcd78c9f85 100644 --- a/types/hyperscript/tsconfig.json +++ b/types/hyperscript/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hypertext-application-language/tsconfig.json b/types/hypertext-application-language/tsconfig.json index 9c01e0594f..15621fa9c2 100644 --- a/types/hypertext-application-language/tsconfig.json +++ b/types/hypertext-application-language/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/hystrixjs/tsconfig.json b/types/hystrixjs/tsconfig.json index d534470204..c20199706f 100644 --- a/types/hystrixjs/tsconfig.json +++ b/types/hystrixjs/tsconfig.json @@ -16,8 +16,7 @@ "paths": {}, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/i18n-js/tsconfig.json b/types/i18n-js/tsconfig.json index 128a7ad06d..1ab98fadce 100644 --- a/types/i18n-js/tsconfig.json +++ b/types/i18n-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/i18n/tsconfig.json b/types/i18n/tsconfig.json index 4d7bacf4d0..4429a81fe6 100644 --- a/types/i18n/tsconfig.json +++ b/types/i18n/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/i18next-browser-languagedetector/tsconfig.json b/types/i18next-browser-languagedetector/tsconfig.json index 879c1d7ac7..32755315aa 100644 --- a/types/i18next-browser-languagedetector/tsconfig.json +++ b/types/i18next-browser-languagedetector/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/i18next-browser-languagedetector/v0/tsconfig.json b/types/i18next-browser-languagedetector/v0/tsconfig.json index 5396feadd6..9873c74134 100644 --- a/types/i18next-browser-languagedetector/v0/tsconfig.json +++ b/types/i18next-browser-languagedetector/v0/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/i18next-express-middleware/tsconfig.json b/types/i18next-express-middleware/tsconfig.json index 43460aefe2..5a13f1733d 100644 --- a/types/i18next-express-middleware/tsconfig.json +++ b/types/i18next-express-middleware/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/i18next-node-fs-backend/tsconfig.json b/types/i18next-node-fs-backend/tsconfig.json index f0f6ba8147..03b3347068 100644 --- a/types/i18next-node-fs-backend/tsconfig.json +++ b/types/i18next-node-fs-backend/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/i18next-sprintf-postprocessor/tsconfig.json b/types/i18next-sprintf-postprocessor/tsconfig.json index af3f004099..9a52882abe 100644 --- a/types/i18next-sprintf-postprocessor/tsconfig.json +++ b/types/i18next-sprintf-postprocessor/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/i18next-xhr-backend/tsconfig.json b/types/i18next-xhr-backend/tsconfig.json index 7c48abd709..a7ca4c2adb 100644 --- a/types/i18next-xhr-backend/tsconfig.json +++ b/types/i18next-xhr-backend/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/i18next/tsconfig.json b/types/i18next/tsconfig.json index b37ad92b9d..9eadf37b0f 100644 --- a/types/i18next/tsconfig.json +++ b/types/i18next/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/i18next/v2/tsconfig.json b/types/i18next/v2/tsconfig.json index 1533066fbb..00464c1701 100644 --- a/types/i18next/v2/tsconfig.json +++ b/types/i18next/v2/tsconfig.json @@ -24,7 +24,6 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/i2c-bus/tsconfig.json b/types/i2c-bus/tsconfig.json index 081ba2a5a6..8407ea3efd 100644 --- a/types/i2c-bus/tsconfig.json +++ b/types/i2c-bus/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "../async/index.d.ts", diff --git a/types/iban/tsconfig.json b/types/iban/tsconfig.json index 2e7f860867..352470aa0d 100644 --- a/types/iban/tsconfig.json +++ b/types/iban/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ibm-mobilefirst/tsconfig.json b/types/ibm-mobilefirst/tsconfig.json index 83ab44c9d5..eabcd34447 100644 --- a/types/ibm-mobilefirst/tsconfig.json +++ b/types/ibm-mobilefirst/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ibm_db/tsconfig.json b/types/ibm_db/tsconfig.json index 4b69bc8c6b..f92b637034 100644 --- a/types/ibm_db/tsconfig.json +++ b/types/ibm_db/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/icepick/tsconfig.json b/types/icepick/tsconfig.json index 93540a1c5f..530031866b 100644 --- a/types/icepick/tsconfig.json +++ b/types/icepick/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/icheck/tsconfig.json b/types/icheck/tsconfig.json index 0ec895d526..b700077c47 100644 --- a/types/icheck/tsconfig.json +++ b/types/icheck/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/iconv/tsconfig.json b/types/iconv/tsconfig.json index 78bd76e835..b97ea1a7f3 100644 --- a/types/iconv/tsconfig.json +++ b/types/iconv/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ids/tsconfig.json b/types/ids/tsconfig.json index c9e212f3ee..1c739774db 100644 --- a/types/ids/tsconfig.json +++ b/types/ids/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/iframe-resizer/tsconfig.json b/types/iframe-resizer/tsconfig.json index 7962a0d413..e8a87f1302 100644 --- a/types/iframe-resizer/tsconfig.json +++ b/types/iframe-resizer/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "exclude": [ "node_modules" diff --git a/types/ignite-ui/tsconfig.json b/types/ignite-ui/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/ignite-ui/tsconfig.json +++ b/types/ignite-ui/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/ignore-styles/tsconfig.json b/types/ignore-styles/tsconfig.json index 36263af6ad..8dd316cb95 100644 --- a/types/ignore-styles/tsconfig.json +++ b/types/ignore-styles/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/iltorb/tsconfig.json b/types/iltorb/tsconfig.json index 0c553243a8..6c079ff3f7 100644 --- a/types/iltorb/tsconfig.json +++ b/types/iltorb/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/image-size/tsconfig.json b/types/image-size/tsconfig.json index 009a4c9175..7a864603b7 100644 --- a/types/image-size/tsconfig.json +++ b/types/image-size/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/imagemagick-native/tsconfig.json b/types/imagemagick-native/tsconfig.json index c96e9d4a44..bfd2f88451 100644 --- a/types/imagemagick-native/tsconfig.json +++ b/types/imagemagick-native/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/imagemagick/tsconfig.json b/types/imagemagick/tsconfig.json index cbbc1c0d83..3a28cb5c59 100644 --- a/types/imagemagick/tsconfig.json +++ b/types/imagemagick/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/imagemapster/tsconfig.json b/types/imagemapster/tsconfig.json index 3198a00bc4..cb5e3bdff8 100644 --- a/types/imagemapster/tsconfig.json +++ b/types/imagemapster/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/images/tsconfig.json b/types/images/tsconfig.json index 368e3b87b5..75c7b85340 100644 --- a/types/images/tsconfig.json +++ b/types/images/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/imagesloaded/tsconfig.json b/types/imagesloaded/tsconfig.json index a9ae36e077..0673d1eaa2 100644 --- a/types/imagesloaded/tsconfig.json +++ b/types/imagesloaded/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/imap-simple/tsconfig.json b/types/imap-simple/tsconfig.json index 257a2ee006..859835549a 100644 --- a/types/imap-simple/tsconfig.json +++ b/types/imap-simple/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/imap/tsconfig.json b/types/imap/tsconfig.json index 655a1f4c54..987167daf3 100644 --- a/types/imap/tsconfig.json +++ b/types/imap/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/imgur-rest-api/tsconfig.json b/types/imgur-rest-api/tsconfig.json index 4835091ddb..f2803640de 100644 --- a/types/imgur-rest-api/tsconfig.json +++ b/types/imgur-rest-api/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/impress/tsconfig.json b/types/impress/tsconfig.json index 82aafbc612..a278db24c9 100644 --- a/types/impress/tsconfig.json +++ b/types/impress/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/in-range/tsconfig.json b/types/in-range/tsconfig.json index 0261e63a92..7d5182a929 100644 --- a/types/in-range/tsconfig.json +++ b/types/in-range/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/incremental-dom/tsconfig.json b/types/incremental-dom/tsconfig.json index d5ffa268df..8ba7d824d5 100644 --- a/types/incremental-dom/tsconfig.json +++ b/types/incremental-dom/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/indent-string/tsconfig.json b/types/indent-string/tsconfig.json index d9d3db42a6..4f2e008801 100644 --- a/types/indent-string/tsconfig.json +++ b/types/indent-string/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/inert/tsconfig.json b/types/inert/tsconfig.json index 4aba3d080a..c96c356741 100644 --- a/types/inert/tsconfig.json +++ b/types/inert/tsconfig.json @@ -17,14 +17,15 @@ "boom": [ "boom/v4" ], - "hapi": ["hapi/v16"] + "hapi": [ + "hapi/v16" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "inert-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/inflected/tsconfig.json b/types/inflected/tsconfig.json index ce1b449bd6..b0a3a1d8b5 100644 --- a/types/inflected/tsconfig.json +++ b/types/inflected/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/inflection/tsconfig.json b/types/inflection/tsconfig.json index 097bf72f01..e77c4028fc 100644 --- a/types/inflection/tsconfig.json +++ b/types/inflection/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/inherits/tsconfig.json b/types/inherits/tsconfig.json index f0bc28d26b..bdb4c4d873 100644 --- a/types/inherits/tsconfig.json +++ b/types/inherits/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ini/tsconfig.json b/types/ini/tsconfig.json index a2d9575bec..ccc924b3fc 100644 --- a/types/ini/tsconfig.json +++ b/types/ini/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/iniparser/tsconfig.json b/types/iniparser/tsconfig.json index 2dbbf3ac60..0d7970f93a 100644 --- a/types/iniparser/tsconfig.json +++ b/types/iniparser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/inline-css/tsconfig.json b/types/inline-css/tsconfig.json index 83f7ce2a21..4a13506061 100644 --- a/types/inline-css/tsconfig.json +++ b/types/inline-css/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/inline-style-prefixer/tsconfig.json b/types/inline-style-prefixer/tsconfig.json index 7ed78cd882..7d6d4209bc 100644 --- a/types/inline-style-prefixer/tsconfig.json +++ b/types/inline-style-prefixer/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/inquirer/tsconfig.json b/types/inquirer/tsconfig.json index 132e52a694..59793a86a1 100644 --- a/types/inquirer/tsconfig.json +++ b/types/inquirer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/insert-module-globals/tsconfig.json b/types/insert-module-globals/tsconfig.json index 4f6dc79b6c..a9b4f218da 100644 --- a/types/insert-module-globals/tsconfig.json +++ b/types/insert-module-globals/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/insight/tsconfig.json b/types/insight/tsconfig.json index c90e8883c8..7efb108eae 100644 --- a/types/insight/tsconfig.json +++ b/types/insight/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/integer/tsconfig.json b/types/integer/tsconfig.json index d8ff5490d1..60e0921a42 100644 --- a/types/integer/tsconfig.json +++ b/types/integer/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/interact.js/tsconfig.json b/types/interact.js/tsconfig.json index ec69c04168..6d4887d0f1 100644 --- a/types/interact.js/tsconfig.json +++ b/types/interact.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/intercom-web/tsconfig.json b/types/intercom-web/tsconfig.json index a6dafc828c..d77c89a53f 100755 --- a/types/intercom-web/tsconfig.json +++ b/types/intercom-web/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/intercomjs/tsconfig.json b/types/intercomjs/tsconfig.json index e04592b241..a74351a03a 100644 --- a/types/intercomjs/tsconfig.json +++ b/types/intercomjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/internal-ip/tsconfig.json b/types/internal-ip/tsconfig.json index 68e01ce09d..746718e07c 100644 --- a/types/internal-ip/tsconfig.json +++ b/types/internal-ip/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/intl-messageformat/tsconfig.json b/types/intl-messageformat/tsconfig.json index 5fa45ea6b4..61f9873265 100644 --- a/types/intl-messageformat/tsconfig.json +++ b/types/intl-messageformat/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/intl-tel-input/tsconfig.json b/types/intl-tel-input/tsconfig.json index 47bfb5d532..380d60229d 100644 --- a/types/intl-tel-input/tsconfig.json +++ b/types/intl-tel-input/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/intl/tsconfig.json b/types/intl/tsconfig.json index e387d699b0..30370fd405 100644 --- a/types/intl/tsconfig.json +++ b/types/intl/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/into-stream/tsconfig.json b/types/into-stream/tsconfig.json index 78424ed386..cc8a2cfa00 100644 --- a/types/into-stream/tsconfig.json +++ b/types/into-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/intro.js/tsconfig.json b/types/intro.js/tsconfig.json index 6f17df93d2..c86cbffec5 100644 --- a/types/intro.js/tsconfig.json +++ b/types/intro.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/invariant/tsconfig.json b/types/invariant/tsconfig.json index b9835c8ee2..1cd411b7f4 100644 --- a/types/invariant/tsconfig.json +++ b/types/invariant/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/inversify-devtools/tsconfig.json b/types/inversify-devtools/tsconfig.json index 43d9c7f198..4883fdc99e 100644 --- a/types/inversify-devtools/tsconfig.json +++ b/types/inversify-devtools/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ion.rangeslider/tsconfig.json b/types/ion.rangeslider/tsconfig.json index 8fa4b00b02..1affa9f527 100644 --- a/types/ion.rangeslider/tsconfig.json +++ b/types/ion.rangeslider/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ion.rangeslider/v1/tsconfig.json b/types/ion.rangeslider/v1/tsconfig.json index d567b18c5d..c63da8c0e1 100644 --- a/types/ion.rangeslider/v1/tsconfig.json +++ b/types/ion.rangeslider/v1/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ioredis/tsconfig.json b/types/ioredis/tsconfig.json index 7b17a6e338..f073160729 100644 --- a/types/ioredis/tsconfig.json +++ b/types/ioredis/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/iota.lib.js/tsconfig.json b/types/iota.lib.js/tsconfig.json index 5bb248e6c2..65e6fc26ae 100644 --- a/types/iota.lib.js/tsconfig.json +++ b/types/iota.lib.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ip-regex/tsconfig.json b/types/ip-regex/tsconfig.json index e3c27d39a7..e09382966a 100644 --- a/types/ip-regex/tsconfig.json +++ b/types/ip-regex/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ip/tsconfig.json b/types/ip/tsconfig.json index f6610d99f5..a445ebefe8 100644 --- a/types/ip/tsconfig.json +++ b/types/ip/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/irc/tsconfig.json b/types/irc/tsconfig.json index ba8bd73ab1..ac224646a3 100644 --- a/types/irc/tsconfig.json +++ b/types/irc/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/iron/tsconfig.json b/types/iron/tsconfig.json index e0ee70fb95..219dc88d81 100644 --- a/types/iron/tsconfig.json +++ b/types/iron/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-absolute-url/tsconfig.json b/types/is-absolute-url/tsconfig.json index b53f33f8d0..57c46bb32b 100644 --- a/types/is-absolute-url/tsconfig.json +++ b/types/is-absolute-url/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-alphanumerical/tsconfig.json b/types/is-alphanumerical/tsconfig.json index a0e28cd6c8..90b83f80fb 100644 --- a/types/is-alphanumerical/tsconfig.json +++ b/types/is-alphanumerical/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-archive/tsconfig.json b/types/is-archive/tsconfig.json index 992c7f96ab..ce2b001789 100644 --- a/types/is-archive/tsconfig.json +++ b/types/is-archive/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-array/tsconfig.json b/types/is-array/tsconfig.json index 32aaeff9f4..022fbc852e 100644 --- a/types/is-array/tsconfig.json +++ b/types/is-array/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-binary-path/tsconfig.json b/types/is-binary-path/tsconfig.json index e497433304..e0fd45ed1e 100644 --- a/types/is-binary-path/tsconfig.json +++ b/types/is-binary-path/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-compressed/tsconfig.json b/types/is-compressed/tsconfig.json index b90ecf1883..b44edb3059 100644 --- a/types/is-compressed/tsconfig.json +++ b/types/is-compressed/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-finite/tsconfig.json b/types/is-finite/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/is-finite/tsconfig.json +++ b/types/is-finite/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/is-glob/tsconfig.json b/types/is-glob/tsconfig.json index 5fc85d6db2..575fa07fe6 100644 --- a/types/is-glob/tsconfig.json +++ b/types/is-glob/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-hotkey/tsconfig.json b/types/is-hotkey/tsconfig.json index 50e9b5bb9c..329012fed8 100644 --- a/types/is-hotkey/tsconfig.json +++ b/types/is-hotkey/tsconfig.json @@ -15,11 +15,10 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "is-hotkey-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/is-ip/tsconfig.json b/types/is-ip/tsconfig.json index 32c6d2baf7..ea49885cbb 100644 --- a/types/is-ip/tsconfig.json +++ b/types/is-ip/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-my-json-valid/tsconfig.json b/types/is-my-json-valid/tsconfig.json index 13eedc22b1..687e2a6c57 100644 --- a/types/is-my-json-valid/tsconfig.json +++ b/types/is-my-json-valid/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-negated-glob/tsconfig.json b/types/is-negated-glob/tsconfig.json index 1083f6370c..b1b957a04e 100644 --- a/types/is-negated-glob/tsconfig.json +++ b/types/is-negated-glob/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-number/tsconfig.json b/types/is-number/tsconfig.json index 4eda636727..930df6698f 100644 --- a/types/is-number/tsconfig.json +++ b/types/is-number/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-object/tsconfig.json b/types/is-object/tsconfig.json index 319385646a..ccf24a171f 100644 --- a/types/is-object/tsconfig.json +++ b/types/is-object/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-path-cwd/tsconfig.json b/types/is-path-cwd/tsconfig.json index 0857fc254c..6f5a83c33d 100644 --- a/types/is-path-cwd/tsconfig.json +++ b/types/is-path-cwd/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-path-in-cwd/tsconfig.json b/types/is-path-in-cwd/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/is-path-in-cwd/tsconfig.json +++ b/types/is-path-in-cwd/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/is-promise/tsconfig.json b/types/is-promise/tsconfig.json index 62f75e7230..fbc17a9140 100644 --- a/types/is-promise/tsconfig.json +++ b/types/is-promise/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/is-relative-url/tsconfig.json b/types/is-relative-url/tsconfig.json index 3304129cf5..1a85dcf51a 100644 --- a/types/is-relative-url/tsconfig.json +++ b/types/is-relative-url/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-root-path/tsconfig.json b/types/is-root-path/tsconfig.json index 32de5659e2..28d7f23893 100644 --- a/types/is-root-path/tsconfig.json +++ b/types/is-root-path/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-root/tsconfig.json b/types/is-root/tsconfig.json index 2ec96b7950..a92ff73369 100644 --- a/types/is-root/tsconfig.json +++ b/types/is-root/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-scoped/tsconfig.json b/types/is-scoped/tsconfig.json index e7cd6d168f..2b6374b9f0 100644 --- a/types/is-scoped/tsconfig.json +++ b/types/is-scoped/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-stream/tsconfig.json b/types/is-stream/tsconfig.json index 711f3e885b..061e555f72 100644 --- a/types/is-stream/tsconfig.json +++ b/types/is-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-svg/tsconfig.json b/types/is-svg/tsconfig.json index ee19bf61d4..2621a88907 100644 --- a/types/is-svg/tsconfig.json +++ b/types/is-svg/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-text-path/tsconfig.json b/types/is-text-path/tsconfig.json index f68781ca5a..e6587abf96 100644 --- a/types/is-text-path/tsconfig.json +++ b/types/is-text-path/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-url-superb/tsconfig.json b/types/is-url-superb/tsconfig.json index 5af295cadb..3450e58a06 100644 --- a/types/is-url-superb/tsconfig.json +++ b/types/is-url-superb/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-url/tsconfig.json b/types/is-url/tsconfig.json index a7c0ef487f..56f15b7e2f 100644 --- a/types/is-url/tsconfig.json +++ b/types/is-url/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is-windows/tsconfig.json b/types/is-windows/tsconfig.json index 36ec2df909..8696d92fe0 100644 --- a/types/is-windows/tsconfig.json +++ b/types/is-windows/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/is/tsconfig.json b/types/is/tsconfig.json index 90cdd21fd2..9abe3bbe43 100644 --- a/types/is/tsconfig.json +++ b/types/is/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/isbn-utils/tsconfig.json b/types/isbn-utils/tsconfig.json index 0077524e45..9414c7c040 100644 --- a/types/isbn-utils/tsconfig.json +++ b/types/isbn-utils/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/iscroll/tsconfig.json b/types/iscroll/tsconfig.json index b7dad3520e..7a1ec2a51b 100644 --- a/types/iscroll/tsconfig.json +++ b/types/iscroll/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/iscroll/v4/tsconfig.json b/types/iscroll/v4/tsconfig.json index 4e6115127e..2b09269531 100644 --- a/types/iscroll/v4/tsconfig.json +++ b/types/iscroll/v4/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ismobilejs/tsconfig.json b/types/ismobilejs/tsconfig.json index 748e1fff6f..e35d648c53 100644 --- a/types/ismobilejs/tsconfig.json +++ b/types/ismobilejs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/iso-3166-2/tsconfig.json b/types/iso-3166-2/tsconfig.json index 2cdbb59c54..0e374a83fc 100644 --- a/types/iso-3166-2/tsconfig.json +++ b/types/iso-3166-2/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/iso8601-localizer/tsconfig.json b/types/iso8601-localizer/tsconfig.json index 01a65dcdc4..e245ca21c0 100644 --- a/types/iso8601-localizer/tsconfig.json +++ b/types/iso8601-localizer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/isomorphic-fetch/tsconfig.json b/types/isomorphic-fetch/tsconfig.json index 08c197c40f..f3cc715548 100644 --- a/types/isomorphic-fetch/tsconfig.json +++ b/types/isomorphic-fetch/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/isotope-layout/tsconfig.json b/types/isotope-layout/tsconfig.json index 50c41ebda1..8afefdbd01 100644 --- a/types/isotope-layout/tsconfig.json +++ b/types/isotope-layout/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/istanbul-lib-coverage/tsconfig.json b/types/istanbul-lib-coverage/tsconfig.json index 76754f3471..433ba89644 100644 --- a/types/istanbul-lib-coverage/tsconfig.json +++ b/types/istanbul-lib-coverage/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/istanbul-lib-hook/tsconfig.json b/types/istanbul-lib-hook/tsconfig.json index 45ad7e8ff7..c010a0879b 100644 --- a/types/istanbul-lib-hook/tsconfig.json +++ b/types/istanbul-lib-hook/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/istanbul-lib-instrument/tsconfig.json b/types/istanbul-lib-instrument/tsconfig.json index 751abe74b0..60629254a0 100644 --- a/types/istanbul-lib-instrument/tsconfig.json +++ b/types/istanbul-lib-instrument/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/istanbul-lib-report/tsconfig.json b/types/istanbul-lib-report/tsconfig.json index 644e91130d..782aa1860c 100644 --- a/types/istanbul-lib-report/tsconfig.json +++ b/types/istanbul-lib-report/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/istanbul-lib-source-maps/tsconfig.json b/types/istanbul-lib-source-maps/tsconfig.json index 9f1c37f7d7..ca94b106d7 100644 --- a/types/istanbul-lib-source-maps/tsconfig.json +++ b/types/istanbul-lib-source-maps/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/istanbul-middleware/tsconfig.json b/types/istanbul-middleware/tsconfig.json index 153ab73a0e..3bba961c04 100644 --- a/types/istanbul-middleware/tsconfig.json +++ b/types/istanbul-middleware/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/istanbul-reports/tsconfig.json b/types/istanbul-reports/tsconfig.json index 51c7eb3d46..1f43d5038d 100644 --- a/types/istanbul-reports/tsconfig.json +++ b/types/istanbul-reports/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/istanbul/tsconfig.json b/types/istanbul/tsconfig.json index ab009bb79a..723eb394c5 100644 --- a/types/istanbul/tsconfig.json +++ b/types/istanbul/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ityped/tsconfig.json b/types/ityped/tsconfig.json index 5530043548..2f2ceabe67 100644 --- a/types/ityped/tsconfig.json +++ b/types/ityped/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ix.js/tsconfig.json b/types/ix.js/tsconfig.json index 3196f7e1c3..c840c77d73 100644 --- a/types/ix.js/tsconfig.json +++ b/types/ix.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jade/tsconfig.json b/types/jade/tsconfig.json index b7a356ca2f..f1c2b94f05 100644 --- a/types/jade/tsconfig.json +++ b/types/jade/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jake/tsconfig.json b/types/jake/tsconfig.json index 0f6b6131c4..5a5e5fcbd8 100644 --- a/types/jake/tsconfig.json +++ b/types/jake/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jalaali-js/tsconfig.json b/types/jalaali-js/tsconfig.json index baf80ea66d..995b501496 100644 --- a/types/jalaali-js/tsconfig.json +++ b/types/jalaali-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/japanese-holidays/tsconfig.json b/types/japanese-holidays/tsconfig.json index 44daea5b5c..1d8aeb27d0 100644 --- a/types/japanese-holidays/tsconfig.json +++ b/types/japanese-holidays/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-ajax/tsconfig.json b/types/jasmine-ajax/tsconfig.json index a0fc138c79..01c73a745d 100644 --- a/types/jasmine-ajax/tsconfig.json +++ b/types/jasmine-ajax/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-data_driven_tests/tsconfig.json b/types/jasmine-data_driven_tests/tsconfig.json index 1e82970117..232e012191 100644 --- a/types/jasmine-data_driven_tests/tsconfig.json +++ b/types/jasmine-data_driven_tests/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-enzyme/tsconfig.json b/types/jasmine-enzyme/tsconfig.json index bf83f1b6f4..6b63fe9694 100644 --- a/types/jasmine-enzyme/tsconfig.json +++ b/types/jasmine-enzyme/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-es6-promise-matchers/tsconfig.json b/types/jasmine-es6-promise-matchers/tsconfig.json index 876eee95ac..98d8f03e42 100644 --- a/types/jasmine-es6-promise-matchers/tsconfig.json +++ b/types/jasmine-es6-promise-matchers/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-fixture/tsconfig.json b/types/jasmine-fixture/tsconfig.json index ca506e5adb..149810b10a 100644 --- a/types/jasmine-fixture/tsconfig.json +++ b/types/jasmine-fixture/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-given/tsconfig.json b/types/jasmine-given/tsconfig.json index 57bd58c328..d1b9541f2c 100644 --- a/types/jasmine-given/tsconfig.json +++ b/types/jasmine-given/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-jquery/tsconfig.json b/types/jasmine-jquery/tsconfig.json index dc5f7f00d7..ac43f3d18c 100644 --- a/types/jasmine-jquery/tsconfig.json +++ b/types/jasmine-jquery/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-matchers/tsconfig.json b/types/jasmine-matchers/tsconfig.json index fb7d43b96b..943271914e 100644 --- a/types/jasmine-matchers/tsconfig.json +++ b/types/jasmine-matchers/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-node/tsconfig.json b/types/jasmine-node/tsconfig.json index 2cc45d7d2a..2b68e61c60 100644 --- a/types/jasmine-node/tsconfig.json +++ b/types/jasmine-node/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jasmine-promise-matchers/tsconfig.json b/types/jasmine-promise-matchers/tsconfig.json index 66af9a8c08..0b264e6527 100644 --- a/types/jasmine-promise-matchers/tsconfig.json +++ b/types/jasmine-promise-matchers/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jasmine/tsconfig.json b/types/jasmine/tsconfig.json index 8cf9b9c42b..0f9f9d3fbe 100644 --- a/types/jasmine/tsconfig.json +++ b/types/jasmine/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/jasmine/v1/tsconfig.json b/types/jasmine/v1/tsconfig.json index 35dd7f72b3..99a9fb48b4 100644 --- a/types/jasmine/v1/tsconfig.json +++ b/types/jasmine/v1/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jasmine_dom_matchers/tsconfig.json b/types/jasmine_dom_matchers/tsconfig.json index c806488fe6..4b09a5d93a 100644 --- a/types/jasmine_dom_matchers/tsconfig.json +++ b/types/jasmine_dom_matchers/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jasminewd2/tsconfig.json b/types/jasminewd2/tsconfig.json index 595a34e1b8..2267f75819 100644 --- a/types/jasminewd2/tsconfig.json +++ b/types/jasminewd2/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/java-applet/tsconfig.json b/types/java-applet/tsconfig.json index ae0ec396fd..776886e3f1 100644 --- a/types/java-applet/tsconfig.json +++ b/types/java-applet/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/java/tsconfig.json b/types/java/tsconfig.json index 6c47c1241c..9f5ed2d241 100644 --- a/types/java/tsconfig.json +++ b/types/java/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/javascript-astar/tsconfig.json b/types/javascript-astar/tsconfig.json index 8c40ff7635..6ca80fa293 100644 --- a/types/javascript-astar/tsconfig.json +++ b/types/javascript-astar/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/javascript-bignum/tsconfig.json b/types/javascript-bignum/tsconfig.json index af86ab51b2..d6a0961172 100644 --- a/types/javascript-bignum/tsconfig.json +++ b/types/javascript-bignum/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/javascript-obfuscator/tsconfig.json b/types/javascript-obfuscator/tsconfig.json index 8c5281c864..5b53fa94db 100644 --- a/types/javascript-obfuscator/tsconfig.json +++ b/types/javascript-obfuscator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/javascript-state-machine/tsconfig.json b/types/javascript-state-machine/tsconfig.json index 44662c9100..75ccb2b212 100644 --- a/types/javascript-state-machine/tsconfig.json +++ b/types/javascript-state-machine/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jbinary/tsconfig.json b/types/jbinary/tsconfig.json index 6c9f35a340..d272b54223 100644 --- a/types/jbinary/tsconfig.json +++ b/types/jbinary/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jcanvas/tsconfig.json b/types/jcanvas/tsconfig.json index 4bd7257d69..9c6aa5edbe 100644 --- a/types/jcanvas/tsconfig.json +++ b/types/jcanvas/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jdataview/tsconfig.json b/types/jdataview/tsconfig.json index 67864c6551..230f748dfe 100644 --- a/types/jdataview/tsconfig.json +++ b/types/jdataview/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jdenticon/tsconfig.json b/types/jdenticon/tsconfig.json index 1ae5237495..cb462ee4d6 100644 --- a/types/jdenticon/tsconfig.json +++ b/types/jdenticon/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jee-jsf/tsconfig.json b/types/jee-jsf/tsconfig.json index 3742e2c21b..36364a83fa 100644 --- a/types/jee-jsf/tsconfig.json +++ b/types/jee-jsf/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jenkins/tsconfig.json b/types/jenkins/tsconfig.json index 44e042dc79..08dc07dbe9 100644 --- a/types/jenkins/tsconfig.json +++ b/types/jenkins/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jest-diff/tsconfig.json b/types/jest-diff/tsconfig.json index 8c945026ff..47bd8d3f9b 100644 --- a/types/jest-diff/tsconfig.json +++ b/types/jest-diff/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jest-docblock/tsconfig.json b/types/jest-docblock/tsconfig.json index e33cc9e573..4b1181bdad 100644 --- a/types/jest-docblock/tsconfig.json +++ b/types/jest-docblock/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jest-get-type/tsconfig.json b/types/jest-get-type/tsconfig.json index 9827885143..95278a69ce 100644 --- a/types/jest-get-type/tsconfig.json +++ b/types/jest-get-type/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jest-in-case/tsconfig.json b/types/jest-in-case/tsconfig.json index c84b4c71cd..5e4ec60fd2 100644 --- a/types/jest-in-case/tsconfig.json +++ b/types/jest-in-case/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jest-json-schema/tsconfig.json b/types/jest-json-schema/tsconfig.json index 72a4cfb23c..894638d9ca 100644 --- a/types/jest-json-schema/tsconfig.json +++ b/types/jest-json-schema/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jest-matcher-utils/tsconfig.json b/types/jest-matcher-utils/tsconfig.json index 3a647a09a9..33b27e6305 100644 --- a/types/jest-matcher-utils/tsconfig.json +++ b/types/jest-matcher-utils/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jest-matchers/tsconfig.json b/types/jest-matchers/tsconfig.json index b3c1b8d9b8..123b605779 100644 --- a/types/jest-matchers/tsconfig.json +++ b/types/jest-matchers/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jest-validate/tsconfig.json b/types/jest-validate/tsconfig.json index 0851710463..5b8abec385 100644 --- a/types/jest-validate/tsconfig.json +++ b/types/jest-validate/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jest/tsconfig.json b/types/jest/tsconfig.json index fe92564343..8a02004840 100644 --- a/types/jest/tsconfig.json +++ b/types/jest/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jest/v16/tsconfig.json b/types/jest/v16/tsconfig.json index 61038de4d6..faf67cd73a 100644 --- a/types/jest/v16/tsconfig.json +++ b/types/jest/v16/tsconfig.json @@ -23,8 +23,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jfp/tsconfig.json b/types/jfp/tsconfig.json index c75ebb5e7a..81402f37d4 100644 --- a/types/jfp/tsconfig.json +++ b/types/jfp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jfs/tsconfig.json b/types/jfs/tsconfig.json index 8206817563..2fd6c9f41b 100644 --- a/types/jfs/tsconfig.json +++ b/types/jfs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jjv/tsconfig.json b/types/jjv/tsconfig.json index 0f6e9fe75f..ce2a0343d8 100644 --- a/types/jjv/tsconfig.json +++ b/types/jjv/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jjve/tsconfig.json b/types/jjve/tsconfig.json index 823b7b8df1..12f97579f7 100644 --- a/types/jjve/tsconfig.json +++ b/types/jjve/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jmespath/tsconfig.json b/types/jmespath/tsconfig.json index 6b4bfc2810..1b416d36d1 100644 --- a/types/jmespath/tsconfig.json +++ b/types/jmespath/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/johnny-five/tsconfig.json b/types/johnny-five/tsconfig.json index f58cec6814..5218cc5e2b 100644 --- a/types/johnny-five/tsconfig.json +++ b/types/johnny-five/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/joi/tsconfig.json b/types/joi/tsconfig.json index 1229f9503e..f6b8f170dc 100644 --- a/types/joi/tsconfig.json +++ b/types/joi/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/joi/v10/tsconfig.json b/types/joi/v10/tsconfig.json index 52855d5713..c87b685d74 100644 --- a/types/joi/v10/tsconfig.json +++ b/types/joi/v10/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/joi/v6/tsconfig.json b/types/joi/v6/tsconfig.json index 13d053b4d4..75aacbeeea 100644 --- a/types/joi/v6/tsconfig.json +++ b/types/joi/v6/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/joigoose/tsconfig.json b/types/joigoose/tsconfig.json index 172e39fae9..05aa2fd1c2 100644 --- a/types/joigoose/tsconfig.json +++ b/types/joigoose/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/josa/tsconfig.json b/types/josa/tsconfig.json index 98786984f3..db8d436a42 100644 --- a/types/josa/tsconfig.json +++ b/types/josa/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jpeg-js/tsconfig.json b/types/jpeg-js/tsconfig.json index 09b8b89141..20d7ba3d8d 100644 --- a/types/jpeg-js/tsconfig.json +++ b/types/jpeg-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jpm/tsconfig.json b/types/jpm/tsconfig.json index 7934ed544d..257f95eafa 100644 --- a/types/jpm/tsconfig.json +++ b/types/jpm/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jqgrid/tsconfig.json b/types/jqgrid/tsconfig.json index 4872ce6ec3..fd6e8c36a2 100644 --- a/types/jqgrid/tsconfig.json +++ b/types/jqgrid/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jqrangeslider/tsconfig.json b/types/jqrangeslider/tsconfig.json index e7b62c7c06..9c8eabeb88 100644 --- a/types/jqrangeslider/tsconfig.json +++ b/types/jqrangeslider/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-ajax-chain/tsconfig.json b/types/jquery-ajax-chain/tsconfig.json index b7f9b3ac86..58a43cc65e 100644 --- a/types/jquery-ajax-chain/tsconfig.json +++ b/types/jquery-ajax-chain/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-alertable/tsconfig.json b/types/jquery-alertable/tsconfig.json index 026ddd56c1..ca545d4a12 100644 --- a/types/jquery-alertable/tsconfig.json +++ b/types/jquery-alertable/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-awesome-cursor/tsconfig.json b/types/jquery-awesome-cursor/tsconfig.json index b2e301a8b8..cb81088d83 100644 --- a/types/jquery-awesome-cursor/tsconfig.json +++ b/types/jquery-awesome-cursor/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-backstretch/tsconfig.json b/types/jquery-backstretch/tsconfig.json index 586b25464e..c2fb9bc82f 100644 --- a/types/jquery-backstretch/tsconfig.json +++ b/types/jquery-backstretch/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-countdown/tsconfig.json b/types/jquery-countdown/tsconfig.json index 48c8d25647..7c927d6429 100644 --- a/types/jquery-countdown/tsconfig.json +++ b/types/jquery-countdown/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-cropbox/tsconfig.json b/types/jquery-cropbox/tsconfig.json index 3434909492..8ff494d309 100644 --- a/types/jquery-cropbox/tsconfig.json +++ b/types/jquery-cropbox/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-deparam/tsconfig.json b/types/jquery-deparam/tsconfig.json index 9f1b087687..b7d9a9d091 100644 --- a/types/jquery-deparam/tsconfig.json +++ b/types/jquery-deparam/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-easy-loading/tsconfig.json b/types/jquery-easy-loading/tsconfig.json index 7e12f37ffe..c6c8a6a160 100644 --- a/types/jquery-easy-loading/tsconfig.json +++ b/types/jquery-easy-loading/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-editable-select/tsconfig.json b/types/jquery-editable-select/tsconfig.json index fc9904fdb8..a284c442fa 100644 --- a/types/jquery-editable-select/tsconfig.json +++ b/types/jquery-editable-select/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-fullscreen/tsconfig.json b/types/jquery-fullscreen/tsconfig.json index dc4e20c177..81b275bff5 100644 --- a/types/jquery-fullscreen/tsconfig.json +++ b/types/jquery-fullscreen/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-galleria/tsconfig.json b/types/jquery-galleria/tsconfig.json index 96c948f924..c082643a87 100644 --- a/types/jquery-galleria/tsconfig.json +++ b/types/jquery-galleria/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-handsontable/tsconfig.json b/types/jquery-handsontable/tsconfig.json index aa39ff119c..fac1311bb7 100644 --- a/types/jquery-handsontable/tsconfig.json +++ b/types/jquery-handsontable/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-jcrop/tsconfig.json b/types/jquery-jcrop/tsconfig.json index 895906f145..930b4f28af 100644 --- a/types/jquery-jcrop/tsconfig.json +++ b/types/jquery-jcrop/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-jsonrpcclient/tsconfig.json b/types/jquery-jsonrpcclient/tsconfig.json index b410a68acf..812781d6cc 100644 --- a/types/jquery-jsonrpcclient/tsconfig.json +++ b/types/jquery-jsonrpcclient/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-knob/tsconfig.json b/types/jquery-knob/tsconfig.json index d5913373b8..c177f5a019 100644 --- a/types/jquery-knob/tsconfig.json +++ b/types/jquery-knob/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-mask-plugin/tsconfig.json b/types/jquery-mask-plugin/tsconfig.json index 98c8d3d4e3..21be524f87 100644 --- a/types/jquery-mask-plugin/tsconfig.json +++ b/types/jquery-mask-plugin/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-maskmoney/tsconfig.json b/types/jquery-maskmoney/tsconfig.json index 7491e18491..c15d7578ab 100644 --- a/types/jquery-maskmoney/tsconfig.json +++ b/types/jquery-maskmoney/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-match-height/tsconfig.json b/types/jquery-match-height/tsconfig.json index 9c83d33574..103ae84843 100644 --- a/types/jquery-match-height/tsconfig.json +++ b/types/jquery-match-height/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-mockjax/tsconfig.json b/types/jquery-mockjax/tsconfig.json index 3f3116e2e7..42505b57a0 100644 --- a/types/jquery-mockjax/tsconfig.json +++ b/types/jquery-mockjax/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-mousewheel/tsconfig.json b/types/jquery-mousewheel/tsconfig.json index bae05cac1a..7fe74c814f 100644 --- a/types/jquery-mousewheel/tsconfig.json +++ b/types/jquery-mousewheel/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-notifier/tsconfig.json b/types/jquery-notifier/tsconfig.json index 40548bb50d..3044613c27 100644 --- a/types/jquery-notifier/tsconfig.json +++ b/types/jquery-notifier/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-param/tsconfig.json b/types/jquery-param/tsconfig.json index ab66910efe..65999b18ff 100644 --- a/types/jquery-param/tsconfig.json +++ b/types/jquery-param/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-sortable/tsconfig.json b/types/jquery-sortable/tsconfig.json index 1e6c616f02..2a77692104 100644 --- a/types/jquery-sortable/tsconfig.json +++ b/types/jquery-sortable/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-steps/tsconfig.json b/types/jquery-steps/tsconfig.json index e1a0b04e2b..5af8c482b0 100644 --- a/types/jquery-steps/tsconfig.json +++ b/types/jquery-steps/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-sticky/tsconfig.json b/types/jquery-sticky/tsconfig.json index fd83e8263c..1981e2e74c 100644 --- a/types/jquery-sticky/tsconfig.json +++ b/types/jquery-sticky/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-tags-input/tsconfig.json b/types/jquery-tags-input/tsconfig.json index 09fd291b0f..7597172c4a 100644 --- a/types/jquery-tags-input/tsconfig.json +++ b/types/jquery-tags-input/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-timeentry/tsconfig.json b/types/jquery-timeentry/tsconfig.json index 6993709bad..0869745caf 100644 --- a/types/jquery-timeentry/tsconfig.json +++ b/types/jquery-timeentry/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-toastmessage-plugin/tsconfig.json b/types/jquery-toastmessage-plugin/tsconfig.json index 7073dd1b27..79e81125ce 100644 --- a/types/jquery-toastmessage-plugin/tsconfig.json +++ b/types/jquery-toastmessage-plugin/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-truncate-html/tsconfig.json b/types/jquery-truncate-html/tsconfig.json index cfe4235e9a..c4ea956cac 100644 --- a/types/jquery-truncate-html/tsconfig.json +++ b/types/jquery-truncate-html/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-urlparam/tsconfig.json b/types/jquery-urlparam/tsconfig.json index 26820466ab..bdcb0ffebe 100644 --- a/types/jquery-urlparam/tsconfig.json +++ b/types/jquery-urlparam/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery-validation-unobtrusive/tsconfig.json b/types/jquery-validation-unobtrusive/tsconfig.json index 9b3eee130c..7cf39e48e0 100644 --- a/types/jquery-validation-unobtrusive/tsconfig.json +++ b/types/jquery-validation-unobtrusive/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.address/tsconfig.json b/types/jquery.address/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/jquery.address/tsconfig.json +++ b/types/jquery.address/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/jquery.are-you-sure/tsconfig.json b/types/jquery.are-you-sure/tsconfig.json index 1daf8cb533..165728a00e 100644 --- a/types/jquery.are-you-sure/tsconfig.json +++ b/types/jquery.are-you-sure/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.autosize/tsconfig.json b/types/jquery.autosize/tsconfig.json index 53f7cc67c8..6cb415b04c 100644 --- a/types/jquery.autosize/tsconfig.json +++ b/types/jquery.autosize/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.base64/tsconfig.json b/types/jquery.base64/tsconfig.json index 170b1338d6..157bbd92d9 100644 --- a/types/jquery.base64/tsconfig.json +++ b/types/jquery.base64/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.bbq/tsconfig.json b/types/jquery.bbq/tsconfig.json index 24233f0897..48e78a892d 100644 --- a/types/jquery.bbq/tsconfig.json +++ b/types/jquery.bbq/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.blockui/tsconfig.json b/types/jquery.blockui/tsconfig.json index 6a0de89f04..e46b2e83ec 100644 --- a/types/jquery.blockui/tsconfig.json +++ b/types/jquery.blockui/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.bootstrap.wizard/tsconfig.json b/types/jquery.bootstrap.wizard/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/jquery.bootstrap.wizard/tsconfig.json +++ b/types/jquery.bootstrap.wizard/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/jquery.cleditor/tsconfig.json b/types/jquery.cleditor/tsconfig.json index 5fedcfc36e..70f33953ab 100644 --- a/types/jquery.cleditor/tsconfig.json +++ b/types/jquery.cleditor/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.clientsidelogging/tsconfig.json b/types/jquery.clientsidelogging/tsconfig.json index fd8abca37d..80a2b6dbf4 100644 --- a/types/jquery.clientsidelogging/tsconfig.json +++ b/types/jquery.clientsidelogging/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.color/tsconfig.json b/types/jquery.color/tsconfig.json index 16b6c64b5e..35da9bb381 100644 --- a/types/jquery.color/tsconfig.json +++ b/types/jquery.color/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.colorbox/tsconfig.json b/types/jquery.colorbox/tsconfig.json index ebd35bce20..decbdf5578 100644 --- a/types/jquery.colorbox/tsconfig.json +++ b/types/jquery.colorbox/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.colorpicker/tsconfig.json b/types/jquery.colorpicker/tsconfig.json index 5912d60570..f0edccd4d6 100644 --- a/types/jquery.colorpicker/tsconfig.json +++ b/types/jquery.colorpicker/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.contextmenu/tsconfig.json b/types/jquery.contextmenu/tsconfig.json index 4ac31577f9..2de43ba64f 100644 --- a/types/jquery.contextmenu/tsconfig.json +++ b/types/jquery.contextmenu/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.cookie/tsconfig.json b/types/jquery.cookie/tsconfig.json index 2b976c3bb2..0b4c16e92a 100644 --- a/types/jquery.cookie/tsconfig.json +++ b/types/jquery.cookie/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.customselect/tsconfig.json b/types/jquery.customselect/tsconfig.json index 55a534bc45..ce71c3244f 100644 --- a/types/jquery.customselect/tsconfig.json +++ b/types/jquery.customselect/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.cycle/tsconfig.json b/types/jquery.cycle/tsconfig.json index 3bb6527980..b807c05700 100644 --- a/types/jquery.cycle/tsconfig.json +++ b/types/jquery.cycle/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.cycle2/tsconfig.json b/types/jquery.cycle2/tsconfig.json index 1c845b031f..8fe54da959 100644 --- a/types/jquery.cycle2/tsconfig.json +++ b/types/jquery.cycle2/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.dropotron/tsconfig.json b/types/jquery.dropotron/tsconfig.json index 3df7005b1a..c811e857c6 100644 --- a/types/jquery.dropotron/tsconfig.json +++ b/types/jquery.dropotron/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.dynatree/tsconfig.json b/types/jquery.dynatree/tsconfig.json index 6373d266c0..1963c75cb1 100644 --- a/types/jquery.dynatree/tsconfig.json +++ b/types/jquery.dynatree/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.elang/tsconfig.json b/types/jquery.elang/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/jquery.elang/tsconfig.json +++ b/types/jquery.elang/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/jquery.fancytree/tsconfig.json b/types/jquery.fancytree/tsconfig.json index 5e301086b7..bd2d2932ca 100644 --- a/types/jquery.fancytree/tsconfig.json +++ b/types/jquery.fancytree/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.fileupload/tsconfig.json b/types/jquery.fileupload/tsconfig.json index ac9c3306dd..ddefea0e79 100644 --- a/types/jquery.fileupload/tsconfig.json +++ b/types/jquery.fileupload/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.filtertable/tsconfig.json b/types/jquery.filtertable/tsconfig.json index 1208bc4f98..a0166c7d6b 100644 --- a/types/jquery.filtertable/tsconfig.json +++ b/types/jquery.filtertable/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.finger/tsconfig.json b/types/jquery.finger/tsconfig.json index b60410ab16..55be70767e 100644 --- a/types/jquery.finger/tsconfig.json +++ b/types/jquery.finger/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.flagstrap/tsconfig.json b/types/jquery.flagstrap/tsconfig.json index 25bf48af93..c4bf7e1a72 100644 --- a/types/jquery.flagstrap/tsconfig.json +++ b/types/jquery.flagstrap/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.form/tsconfig.json b/types/jquery.form/tsconfig.json index 9ea3a8c19e..02b4195224 100644 --- a/types/jquery.form/tsconfig.json +++ b/types/jquery.form/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.fullscreen/tsconfig.json b/types/jquery.fullscreen/tsconfig.json index 46a640c552..bc666dcb90 100644 --- a/types/jquery.fullscreen/tsconfig.json +++ b/types/jquery.fullscreen/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.gridster/tsconfig.json b/types/jquery.gridster/tsconfig.json index 72f940b715..b1e75c13e7 100644 --- a/types/jquery.gridster/tsconfig.json +++ b/types/jquery.gridster/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.growl/tsconfig.json b/types/jquery.growl/tsconfig.json index e28ff8e1cf..8416f143a7 100644 --- a/types/jquery.growl/tsconfig.json +++ b/types/jquery.growl/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.highlight-bartaz/tsconfig.json b/types/jquery.highlight-bartaz/tsconfig.json index c8ae44427c..4cbe9ddf76 100644 --- a/types/jquery.highlight-bartaz/tsconfig.json +++ b/types/jquery.highlight-bartaz/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.jnotify/tsconfig.json b/types/jquery.jnotify/tsconfig.json index d73b2d21b9..abfa7d2782 100644 --- a/types/jquery.jnotify/tsconfig.json +++ b/types/jquery.jnotify/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.joyride/tsconfig.json b/types/jquery.joyride/tsconfig.json index c1e0a54e00..cf307a3611 100644 --- a/types/jquery.joyride/tsconfig.json +++ b/types/jquery.joyride/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.jsignature/tsconfig.json b/types/jquery.jsignature/tsconfig.json index e0a05e7e70..c802539b0a 100644 --- a/types/jquery.jsignature/tsconfig.json +++ b/types/jquery.jsignature/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.leanmodal/tsconfig.json b/types/jquery.leanmodal/tsconfig.json index 91fbecca25..3625769dde 100644 --- a/types/jquery.leanmodal/tsconfig.json +++ b/types/jquery.leanmodal/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.livestampjs/tsconfig.json b/types/jquery.livestampjs/tsconfig.json index 6f8e48e2c5..4042cffe68 100644 --- a/types/jquery.livestampjs/tsconfig.json +++ b/types/jquery.livestampjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.menuaim/tsconfig.json b/types/jquery.menuaim/tsconfig.json index 937edcefb8..c63cface62 100644 --- a/types/jquery.menuaim/tsconfig.json +++ b/types/jquery.menuaim/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.mmenu/tsconfig.json b/types/jquery.mmenu/tsconfig.json index c7f027625c..f95d7a3e93 100644 --- a/types/jquery.mmenu/tsconfig.json +++ b/types/jquery.mmenu/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.notify/tsconfig.json b/types/jquery.notify/tsconfig.json index 07f6bf60ae..e703d61e37 100644 --- a/types/jquery.notify/tsconfig.json +++ b/types/jquery.notify/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.notifybar/tsconfig.json b/types/jquery.notifybar/tsconfig.json index 88ec6786be..7541f17487 100644 --- a/types/jquery.notifybar/tsconfig.json +++ b/types/jquery.notifybar/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.noty/tsconfig.json b/types/jquery.noty/tsconfig.json index b4076b50e2..fa1c069762 100644 --- a/types/jquery.noty/tsconfig.json +++ b/types/jquery.noty/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/jquery.payment/tsconfig.json b/types/jquery.payment/tsconfig.json index e73add9f7c..84e6f1c89a 100644 --- a/types/jquery.payment/tsconfig.json +++ b/types/jquery.payment/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.pjax/tsconfig.json b/types/jquery.pjax/tsconfig.json index 7081f4c0fe..5d692dbfe4 100644 --- a/types/jquery.pjax/tsconfig.json +++ b/types/jquery.pjax/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.placeholder/tsconfig.json b/types/jquery.placeholder/tsconfig.json index 2f77fd3f6e..40c034b33b 100644 --- a/types/jquery.placeholder/tsconfig.json +++ b/types/jquery.placeholder/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.pnotify/tsconfig.json b/types/jquery.pnotify/tsconfig.json index be462cb2a5..a7ad412326 100644 --- a/types/jquery.pnotify/tsconfig.json +++ b/types/jquery.pnotify/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.postmessage/tsconfig.json b/types/jquery.postmessage/tsconfig.json index a3f5056acf..dffccae0cd 100644 --- a/types/jquery.postmessage/tsconfig.json +++ b/types/jquery.postmessage/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.prettyphoto/tsconfig.json b/types/jquery.prettyphoto/tsconfig.json index 5417cd1ec3..c35b1d3718 100644 --- a/types/jquery.prettyphoto/tsconfig.json +++ b/types/jquery.prettyphoto/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.qrcode/tsconfig.json b/types/jquery.qrcode/tsconfig.json index 0b29ab63bc..bfa114d23a 100644 --- a/types/jquery.qrcode/tsconfig.json +++ b/types/jquery.qrcode/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.rateit/tsconfig.json b/types/jquery.rateit/tsconfig.json index 95c69f6aaa..a2ab54ec3b 100644 --- a/types/jquery.rateit/tsconfig.json +++ b/types/jquery.rateit/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.rowgrid/tsconfig.json b/types/jquery.rowgrid/tsconfig.json index 5022e720a4..452aaeee8b 100644 --- a/types/jquery.rowgrid/tsconfig.json +++ b/types/jquery.rowgrid/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.scrollto/tsconfig.json b/types/jquery.scrollto/tsconfig.json index e87036509d..587136c6c3 100644 --- a/types/jquery.scrollto/tsconfig.json +++ b/types/jquery.scrollto/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.simplemodal/tsconfig.json b/types/jquery.simplemodal/tsconfig.json index f494541240..24b60b0f81 100644 --- a/types/jquery.simplemodal/tsconfig.json +++ b/types/jquery.simplemodal/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.simplepagination/tsconfig.json b/types/jquery.simplepagination/tsconfig.json index 424e397b5a..fa188d40ae 100644 --- a/types/jquery.simplepagination/tsconfig.json +++ b/types/jquery.simplepagination/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.simulate/tsconfig.json b/types/jquery.simulate/tsconfig.json index 09236d4a4d..c1586267bc 100644 --- a/types/jquery.simulate/tsconfig.json +++ b/types/jquery.simulate/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.slimscroll/tsconfig.json b/types/jquery.slimscroll/tsconfig.json index 2a510b3ab0..d6acf16f4e 100644 --- a/types/jquery.slimscroll/tsconfig.json +++ b/types/jquery.slimscroll/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.soap/tsconfig.json b/types/jquery.soap/tsconfig.json index bd14eab5f7..30c25fedd2 100644 --- a/types/jquery.soap/tsconfig.json +++ b/types/jquery.soap/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.sortelements/tsconfig.json b/types/jquery.sortelements/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/jquery.sortelements/tsconfig.json +++ b/types/jquery.sortelements/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/jquery.stickem/tsconfig.json b/types/jquery.stickem/tsconfig.json index 120d2c1526..cadc467df6 100644 --- a/types/jquery.stickem/tsconfig.json +++ b/types/jquery.stickem/tsconfig.json @@ -15,11 +15,10 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "jquery.stickem-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jquery.superlink/tsconfig.json b/types/jquery.superlink/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/jquery.superlink/tsconfig.json +++ b/types/jquery.superlink/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/jquery.tagsmanager/tsconfig.json b/types/jquery.tagsmanager/tsconfig.json index f392a0fa22..26ae59c2ef 100644 --- a/types/jquery.tagsmanager/tsconfig.json +++ b/types/jquery.tagsmanager/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.tile/tsconfig.json b/types/jquery.tile/tsconfig.json index 00e7676d4a..4dd9e0f2ed 100644 --- a/types/jquery.tile/tsconfig.json +++ b/types/jquery.tile/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.timeago/tsconfig.json b/types/jquery.timeago/tsconfig.json index 417dc84d46..9d61fbd512 100644 --- a/types/jquery.timeago/tsconfig.json +++ b/types/jquery.timeago/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.timepicker/tsconfig.json b/types/jquery.timepicker/tsconfig.json index 05a7466732..6536dcca3b 100644 --- a/types/jquery.timepicker/tsconfig.json +++ b/types/jquery.timepicker/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.timer/tsconfig.json b/types/jquery.timer/tsconfig.json index 86bfbd69e7..166eec6bc1 100644 --- a/types/jquery.timer/tsconfig.json +++ b/types/jquery.timer/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.tinycarousel/tsconfig.json b/types/jquery.tinycarousel/tsconfig.json index fd0744014b..f8b4040854 100644 --- a/types/jquery.tinycarousel/tsconfig.json +++ b/types/jquery.tinycarousel/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.tinyscrollbar/tsconfig.json b/types/jquery.tinyscrollbar/tsconfig.json index 782a29b264..f318eedaa4 100644 --- a/types/jquery.tinyscrollbar/tsconfig.json +++ b/types/jquery.tinyscrollbar/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.tipsy/tsconfig.json b/types/jquery.tipsy/tsconfig.json index 5107f06d04..fc95477a54 100644 --- a/types/jquery.tipsy/tsconfig.json +++ b/types/jquery.tipsy/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.tools/tsconfig.json b/types/jquery.tools/tsconfig.json index ef601e0e3a..3b99d33c86 100644 --- a/types/jquery.tools/tsconfig.json +++ b/types/jquery.tools/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.total-storage/tsconfig.json b/types/jquery.total-storage/tsconfig.json index 3c62edadfa..ab78e13671 100644 --- a/types/jquery.total-storage/tsconfig.json +++ b/types/jquery.total-storage/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.transit/tsconfig.json b/types/jquery.transit/tsconfig.json index 628d53a263..ba68e939c7 100644 --- a/types/jquery.transit/tsconfig.json +++ b/types/jquery.transit/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.ui.datetimepicker/tsconfig.json b/types/jquery.ui.datetimepicker/tsconfig.json index 55a456ad6b..6d28673765 100644 --- a/types/jquery.ui.datetimepicker/tsconfig.json +++ b/types/jquery.ui.datetimepicker/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.ui.layout/tsconfig.json b/types/jquery.ui.layout/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/jquery.ui.layout/tsconfig.json +++ b/types/jquery.ui.layout/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/jquery.uniform/tsconfig.json b/types/jquery.uniform/tsconfig.json index eae4f481cb..0cd374ab15 100644 --- a/types/jquery.uniform/tsconfig.json +++ b/types/jquery.uniform/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.validation/tsconfig.json b/types/jquery.validation/tsconfig.json index 8f70b517be..83b1ac2d52 100644 --- a/types/jquery.validation/tsconfig.json +++ b/types/jquery.validation/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.watermark/tsconfig.json b/types/jquery.watermark/tsconfig.json index 59413b5d3b..9543996936 100644 --- a/types/jquery.watermark/tsconfig.json +++ b/types/jquery.watermark/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery.window/tsconfig.json b/types/jquery.window/tsconfig.json index 5ef472acc0..d8608684d5 100644 --- a/types/jquery.window/tsconfig.json +++ b/types/jquery.window/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery/tsconfig.json b/types/jquery/tsconfig.json index 4b70421330..e481dc63c6 100644 --- a/types/jquery/tsconfig.json +++ b/types/jquery/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery/v1/tsconfig.json b/types/jquery/v1/tsconfig.json index eb53f56f94..02855a9f8e 100644 --- a/types/jquery/v1/tsconfig.json +++ b/types/jquery/v1/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquery/v2/tsconfig.json b/types/jquery/v2/tsconfig.json index 35c2a9007d..03ea2df8de 100644 --- a/types/jquery/v2/tsconfig.json +++ b/types/jquery/v2/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jquerymobile/tsconfig.json b/types/jquerymobile/tsconfig.json index 47fb771e9e..fbbd8cb739 100644 --- a/types/jquerymobile/tsconfig.json +++ b/types/jquerymobile/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jqueryui/tsconfig.json b/types/jqueryui/tsconfig.json index 2b018f0062..ea7c9385c3 100644 --- a/types/jqueryui/tsconfig.json +++ b/types/jqueryui/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/js-base64/tsconfig.json b/types/js-base64/tsconfig.json index 3380190f21..00168e1dfa 100644 --- a/types/js-base64/tsconfig.json +++ b/types/js-base64/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/js-beautify/tsconfig.json b/types/js-beautify/tsconfig.json index cc2c018f82..28b0a603af 100644 --- a/types/js-beautify/tsconfig.json +++ b/types/js-beautify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/js-clipper/tsconfig.json b/types/js-clipper/tsconfig.json index c9858c90d5..b4074f17c1 100644 --- a/types/js-clipper/tsconfig.json +++ b/types/js-clipper/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/js-combinatorics/tsconfig.json b/types/js-combinatorics/tsconfig.json index fbba418acc..ff2a188dcb 100644 --- a/types/js-combinatorics/tsconfig.json +++ b/types/js-combinatorics/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/js-cookie/tsconfig.json b/types/js-cookie/tsconfig.json index a560d75efb..63cd342137 100644 --- a/types/js-cookie/tsconfig.json +++ b/types/js-cookie/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/js-data-angular/tsconfig.json b/types/js-data-angular/tsconfig.json index 11abc585bf..e5117ff27a 100644 --- a/types/js-data-angular/tsconfig.json +++ b/types/js-data-angular/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/js-fixtures/tsconfig.json b/types/js-fixtures/tsconfig.json index 4a4c40a440..2f4cb02c4b 100644 --- a/types/js-fixtures/tsconfig.json +++ b/types/js-fixtures/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/js-git/tsconfig.json b/types/js-git/tsconfig.json index 4c79ddd5b9..e53cf4f6d8 100644 --- a/types/js-git/tsconfig.json +++ b/types/js-git/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/js-md5/tsconfig.json b/types/js-md5/tsconfig.json index 6a77ef18a2..6348210a6b 100644 --- a/types/js-md5/tsconfig.json +++ b/types/js-md5/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/js-priority-queue/tsconfig.json b/types/js-priority-queue/tsconfig.json index c9efddc5ca..12e9d7f000 100644 --- a/types/js-priority-queue/tsconfig.json +++ b/types/js-priority-queue/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/js-quantities/tsconfig.json b/types/js-quantities/tsconfig.json index 1d1f7f7a20..1866fc5155 100644 --- a/types/js-quantities/tsconfig.json +++ b/types/js-quantities/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/js-schema/tsconfig.json b/types/js-schema/tsconfig.json index 2fccac00c6..1c26cda396 100644 --- a/types/js-schema/tsconfig.json +++ b/types/js-schema/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/js-search/tsconfig.json b/types/js-search/tsconfig.json index c940fa5db5..eb6253aec9 100644 --- a/types/js-search/tsconfig.json +++ b/types/js-search/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/js-sha512/tsconfig.json b/types/js-sha512/tsconfig.json index 7777de3803..029e3929be 100644 --- a/types/js-sha512/tsconfig.json +++ b/types/js-sha512/tsconfig.json @@ -20,4 +20,4 @@ "index.d.ts", "js-sha512-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/js-to-java/tsconfig.json b/types/js-to-java/tsconfig.json index 2aac508ed8..6a927d9578 100644 --- a/types/js-to-java/tsconfig.json +++ b/types/js-to-java/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/js-url/tsconfig.json b/types/js-url/tsconfig.json index a2cc751fb6..117bf43420 100644 --- a/types/js-url/tsconfig.json +++ b/types/js-url/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/js-yaml/tsconfig.json b/types/js-yaml/tsconfig.json index 8626455989..970534b505 100644 --- a/types/js-yaml/tsconfig.json +++ b/types/js-yaml/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/js.spec/tsconfig.json b/types/js.spec/tsconfig.json index a1b43854c1..4c1fa0174e 100644 --- a/types/js.spec/tsconfig.json +++ b/types/js.spec/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsbn/tsconfig.json b/types/jsbn/tsconfig.json index a6c95282f7..68fb5fc2d5 100644 --- a/types/jsbn/tsconfig.json +++ b/types/jsbn/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jschannel/tsconfig.json b/types/jschannel/tsconfig.json index 4ba367418e..58b8ca059e 100644 --- a/types/jschannel/tsconfig.json +++ b/types/jschannel/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jscrollpane/tsconfig.json b/types/jscrollpane/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/jscrollpane/tsconfig.json +++ b/types/jscrollpane/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/jsdeferred/tsconfig.json b/types/jsdeferred/tsconfig.json index 1cbd4c6293..7b6fbf8171 100644 --- a/types/jsdeferred/tsconfig.json +++ b/types/jsdeferred/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsdom/tsconfig.json b/types/jsdom/tsconfig.json index ef95267a70..fe7f9dd41f 100644 --- a/types/jsdom/tsconfig.json +++ b/types/jsdom/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsdom/v2/tsconfig.json b/types/jsdom/v2/tsconfig.json index 32ce5274b0..3027a13385 100644 --- a/types/jsdom/v2/tsconfig.json +++ b/types/jsdom/v2/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsen/tsconfig.json b/types/jsen/tsconfig.json index fb95888bdb..cf32dd60a8 100644 --- a/types/jsen/tsconfig.json +++ b/types/jsen/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsend/tsconfig.json b/types/jsend/tsconfig.json index 2aa1162a01..13a1b84a23 100644 --- a/types/jsend/tsconfig.json +++ b/types/jsend/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsesc/tsconfig.json b/types/jsesc/tsconfig.json index 656652f612..d9f4194987 100644 --- a/types/jsesc/tsconfig.json +++ b/types/jsesc/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsfl/tsconfig.json b/types/jsfl/tsconfig.json index 6c907b4e28..581bbb4199 100644 --- a/types/jsfl/tsconfig.json +++ b/types/jsfl/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsforce/tsconfig.json b/types/jsforce/tsconfig.json index 73623d7e99..0d480d799f 100644 --- a/types/jsforce/tsconfig.json +++ b/types/jsforce/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jshamcrest/tsconfig.json b/types/jshamcrest/tsconfig.json index 8972d0fa35..dd54b4d553 100644 --- a/types/jshamcrest/tsconfig.json +++ b/types/jshamcrest/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsmockito/tsconfig.json b/types/jsmockito/tsconfig.json index 85db6db99b..3b81da0df0 100644 --- a/types/jsmockito/tsconfig.json +++ b/types/jsmockito/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsnox/tsconfig.json b/types/jsnox/tsconfig.json index 2d6ef33c2f..03450f596c 100644 --- a/types/jsnox/tsconfig.json +++ b/types/jsnox/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/json-editor/tsconfig.json b/types/json-editor/tsconfig.json index 9bdce0acb6..accf3485bf 100644 --- a/types/json-editor/tsconfig.json +++ b/types/json-editor/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/json-js/tsconfig.json b/types/json-js/tsconfig.json index 1ca12a9cee..0bac144d32 100644 --- a/types/json-js/tsconfig.json +++ b/types/json-js/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/json-merge-patch/tsconfig.json b/types/json-merge-patch/tsconfig.json index f3a8a23907..2c3683dc41 100644 --- a/types/json-merge-patch/tsconfig.json +++ b/types/json-merge-patch/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/json-patch/tsconfig.json b/types/json-patch/tsconfig.json index ef71692ebc..bcd1d84d36 100644 --- a/types/json-patch/tsconfig.json +++ b/types/json-patch/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/json-pointer/tsconfig.json b/types/json-pointer/tsconfig.json index 1f38a08c46..f5b746e548 100644 --- a/types/json-pointer/tsconfig.json +++ b/types/json-pointer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/json-query/tsconfig.json b/types/json-query/tsconfig.json index 85f1dfd7f7..9a317f4d83 100644 --- a/types/json-query/tsconfig.json +++ b/types/json-query/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/json-rpc-ws/tsconfig.json b/types/json-rpc-ws/tsconfig.json index 9ee376affa..d062401159 100644 --- a/types/json-rpc-ws/tsconfig.json +++ b/types/json-rpc-ws/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/json-schema/tsconfig.json b/types/json-schema/tsconfig.json index dabf0dd1ee..443caf8239 100644 --- a/types/json-schema/tsconfig.json +++ b/types/json-schema/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/json-socket/tsconfig.json b/types/json-socket/tsconfig.json index a173dc8fb8..5901e0b745 100644 --- a/types/json-socket/tsconfig.json +++ b/types/json-socket/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/json-stable-stringify/tsconfig.json b/types/json-stable-stringify/tsconfig.json index 4b8cd49f28..bb605781c5 100644 --- a/types/json-stable-stringify/tsconfig.json +++ b/types/json-stable-stringify/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/json-stringify-safe/tsconfig.json b/types/json-stringify-safe/tsconfig.json index f86443faca..f4ca1b5e30 100644 --- a/types/json-stringify-safe/tsconfig.json +++ b/types/json-stringify-safe/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/json2md/tsconfig.json b/types/json2md/tsconfig.json index 44162d1678..e0fd95f150 100644 --- a/types/json2md/tsconfig.json +++ b/types/json2md/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/json5/tsconfig.json b/types/json5/tsconfig.json index 5bafbb80e7..bf318f8b10 100644 --- a/types/json5/tsconfig.json +++ b/types/json5/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsonata/tsconfig.json b/types/jsonata/tsconfig.json index 38ed068b63..c047ca52bf 100644 --- a/types/jsonata/tsconfig.json +++ b/types/jsonata/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsoneditor/tsconfig.json b/types/jsoneditor/tsconfig.json index 7afee352a9..299abd4f68 100644 --- a/types/jsoneditor/tsconfig.json +++ b/types/jsoneditor/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsoneditoronline/tsconfig.json b/types/jsoneditoronline/tsconfig.json index 134dd22ef9..25ef8ae26a 100644 --- a/types/jsoneditoronline/tsconfig.json +++ b/types/jsoneditoronline/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsonfile/tsconfig.json b/types/jsonfile/tsconfig.json index 268bc6f4d0..17ac9b0896 100644 --- a/types/jsonfile/tsconfig.json +++ b/types/jsonfile/tsconfig.json @@ -14,7 +14,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/jsonminify/tsconfig.json b/types/jsonminify/tsconfig.json index bc333f1dd1..0df74ef465 100644 --- a/types/jsonminify/tsconfig.json +++ b/types/jsonminify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsonnet/tsconfig.json b/types/jsonnet/tsconfig.json index e10b49c8ac..c30a5a2ffb 100644 --- a/types/jsonnet/tsconfig.json +++ b/types/jsonnet/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsonp/tsconfig.json b/types/jsonp/tsconfig.json index 988ca90c56..760822ff6b 100644 --- a/types/jsonp/tsconfig.json +++ b/types/jsonp/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsonpath/tsconfig.json b/types/jsonpath/tsconfig.json index 853c26cb04..04b06d5baf 100644 --- a/types/jsonpath/tsconfig.json +++ b/types/jsonpath/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsonrpc-serializer/tsconfig.json b/types/jsonrpc-serializer/tsconfig.json index 7558589d7b..f3a91d58c1 100644 --- a/types/jsonrpc-serializer/tsconfig.json +++ b/types/jsonrpc-serializer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsonstream/tsconfig.json b/types/jsonstream/tsconfig.json index 5ebb03c9dc..9fe19a4c05 100644 --- a/types/jsonstream/tsconfig.json +++ b/types/jsonstream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsonwebtoken/tsconfig.json b/types/jsonwebtoken/tsconfig.json index fcc3affcaf..c16a931577 100644 --- a/types/jsonwebtoken/tsconfig.json +++ b/types/jsonwebtoken/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jspdf/tsconfig.json b/types/jspdf/tsconfig.json index 6e5edabf45..697de6db64 100644 --- a/types/jspdf/tsconfig.json +++ b/types/jspdf/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsqrcode/tsconfig.json b/types/jsqrcode/tsconfig.json index 487b814e24..dcc6bf63a2 100644 --- a/types/jsqrcode/tsconfig.json +++ b/types/jsqrcode/tsconfig.json @@ -11,7 +11,6 @@ "strictFunctionTypes": true, "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsrender/tsconfig.json b/types/jsrender/tsconfig.json index 70dc2d65fe..71bcce3848 100644 --- a/types/jsrender/tsconfig.json +++ b/types/jsrender/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsreport-core/tsconfig.json b/types/jsreport-core/tsconfig.json index b10a124791..f5bbf3b5c9 100644 --- a/types/jsreport-core/tsconfig.json +++ b/types/jsreport-core/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsrp/tsconfig.json b/types/jsrp/tsconfig.json index 373b2161c7..eee1ca1391 100644 --- a/types/jsrp/tsconfig.json +++ b/types/jsrp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jss/tsconfig.json b/types/jss/tsconfig.json index c04079a405..89741f2b23 100644 --- a/types/jss/tsconfig.json +++ b/types/jss/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jssha/tsconfig.json b/types/jssha/tsconfig.json index d510b70414..9e54d3c27a 100644 --- a/types/jssha/tsconfig.json +++ b/types/jssha/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/jstimezonedetect/tsconfig.json b/types/jstimezonedetect/tsconfig.json index df242a4ba3..b774b2f27b 100644 --- a/types/jstimezonedetect/tsconfig.json +++ b/types/jstimezonedetect/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jstorage/tsconfig.json b/types/jstorage/tsconfig.json index 80858e1d65..7d03130196 100644 --- a/types/jstorage/tsconfig.json +++ b/types/jstorage/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jstree/tsconfig.json b/types/jstree/tsconfig.json index 6552fc878b..235aef261c 100644 --- a/types/jstree/tsconfig.json +++ b/types/jstree/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsts/tsconfig.json b/types/jsts/tsconfig.json index 66fe8f3951..ac8ce72682 100644 --- a/types/jsts/tsconfig.json +++ b/types/jsts/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsuite/tsconfig.json b/types/jsuite/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/jsuite/tsconfig.json +++ b/types/jsuite/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/jsuri/tsconfig.json b/types/jsuri/tsconfig.json index afbfd8a324..aa5a702117 100644 --- a/types/jsuri/tsconfig.json +++ b/types/jsuri/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsurl/tsconfig.json b/types/jsurl/tsconfig.json index 2423c10630..3b795be015 100644 --- a/types/jsurl/tsconfig.json +++ b/types/jsurl/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jsx-chai/tsconfig.json b/types/jsx-chai/tsconfig.json index 834397a636..5ff33d9bec 100644 --- a/types/jsx-chai/tsconfig.json +++ b/types/jsx-chai/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jszip/tsconfig.json b/types/jszip/tsconfig.json index 41412a6a91..c5a1abf752 100644 --- a/types/jszip/tsconfig.json +++ b/types/jszip/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jug/tsconfig.json b/types/jug/tsconfig.json index 22b58e92cd..ceaf8a8e0a 100644 --- a/types/jug/tsconfig.json +++ b/types/jug/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jui-core/tsconfig.json b/types/jui-core/tsconfig.json index 74b17d0023..67f1eb8560 100644 --- a/types/jui-core/tsconfig.json +++ b/types/jui-core/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jui-grid/tsconfig.json b/types/jui-grid/tsconfig.json index 27e8059449..44d9c93211 100644 --- a/types/jui-grid/tsconfig.json +++ b/types/jui-grid/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jui/tsconfig.json b/types/jui/tsconfig.json index c3a1433f50..6ea9a2ea6b 100644 --- a/types/jui/tsconfig.json +++ b/types/jui/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jump.js/tsconfig.json b/types/jump.js/tsconfig.json index 3ee1305fa6..58186807e9 100644 --- a/types/jump.js/tsconfig.json +++ b/types/jump.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jweixin/tsconfig.json b/types/jweixin/tsconfig.json index c4bb5b925b..d2740833c5 100644 --- a/types/jweixin/tsconfig.json +++ b/types/jweixin/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jwplayer/tsconfig.json b/types/jwplayer/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/jwplayer/tsconfig.json +++ b/types/jwplayer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/jws/tsconfig.json b/types/jws/tsconfig.json index e9dbaeac09..2a4c66dd50 100644 --- a/types/jws/tsconfig.json +++ b/types/jws/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jwt-client/tsconfig.json b/types/jwt-client/tsconfig.json index b8ddbc0257..3611c59237 100644 --- a/types/jwt-client/tsconfig.json +++ b/types/jwt-client/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jwt-decode/tsconfig.json b/types/jwt-decode/tsconfig.json index 3cc921989b..f53a16f5a6 100644 --- a/types/jwt-decode/tsconfig.json +++ b/types/jwt-decode/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jwt-decode/v1/tsconfig.json b/types/jwt-decode/v1/tsconfig.json index 73afba4a58..261fdece08 100644 --- a/types/jwt-decode/v1/tsconfig.json +++ b/types/jwt-decode/v1/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/jwt-simple/tsconfig.json b/types/jwt-simple/tsconfig.json index 9a3c56cf3e..52f84f6e77 100644 --- a/types/jwt-simple/tsconfig.json +++ b/types/jwt-simple/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/kafka-node/tsconfig.json b/types/kafka-node/tsconfig.json index 97ce936047..154c35e191 100644 --- a/types/kafka-node/tsconfig.json +++ b/types/kafka-node/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/karma-chai-sinon/tsconfig.json b/types/karma-chai-sinon/tsconfig.json index aa4d11fa60..86c4fa3299 100644 --- a/types/karma-chai-sinon/tsconfig.json +++ b/types/karma-chai-sinon/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/karma-chai/tsconfig.json b/types/karma-chai/tsconfig.json index 775b764e40..726bb90e80 100644 --- a/types/karma-chai/tsconfig.json +++ b/types/karma-chai/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/karma-coverage/tsconfig.json b/types/karma-coverage/tsconfig.json index 492678b674..fe130be15a 100644 --- a/types/karma-coverage/tsconfig.json +++ b/types/karma-coverage/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/karma-fixture/tsconfig.json b/types/karma-fixture/tsconfig.json index 9376aa9424..0b39c302b4 100644 --- a/types/karma-fixture/tsconfig.json +++ b/types/karma-fixture/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/karma-jasmine/tsconfig.json b/types/karma-jasmine/tsconfig.json index 6de5629a75..54f70b6c45 100644 --- a/types/karma-jasmine/tsconfig.json +++ b/types/karma-jasmine/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/karma-webpack/tsconfig.json b/types/karma-webpack/tsconfig.json index e019bd4bdf..86996cdcfa 100644 --- a/types/karma-webpack/tsconfig.json +++ b/types/karma-webpack/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/karma/tsconfig.json b/types/karma/tsconfig.json index 157092c790..23c81534d2 100644 --- a/types/karma/tsconfig.json +++ b/types/karma/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/katex/tsconfig.json b/types/katex/tsconfig.json index 3bad4a0cd9..2cf3297aca 100644 --- a/types/katex/tsconfig.json +++ b/types/katex/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/kcors/tsconfig.json b/types/kcors/tsconfig.json index 4eb388863a..3322dc4921 100644 --- a/types/kcors/tsconfig.json +++ b/types/kcors/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/kdbush/tsconfig.json b/types/kdbush/tsconfig.json index 79fe884afe..11107837a0 100644 --- a/types/kdbush/tsconfig.json +++ b/types/kdbush/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/kefir/tsconfig.json b/types/kefir/tsconfig.json index 7fc74e6713..e1d57fe2e3 100644 --- a/types/kefir/tsconfig.json +++ b/types/kefir/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/kendo-ui/tsconfig.json b/types/kendo-ui/tsconfig.json index 285d942999..e6e296e3ee 100644 --- a/types/kendo-ui/tsconfig.json +++ b/types/kendo-ui/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/keyboardjs/tsconfig.json b/types/keyboardjs/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/keyboardjs/tsconfig.json +++ b/types/keyboardjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/keygrip/tsconfig.json b/types/keygrip/tsconfig.json index 7c096ed3b4..6a68ad8ba2 100644 --- a/types/keygrip/tsconfig.json +++ b/types/keygrip/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/keymaster/tsconfig.json b/types/keymaster/tsconfig.json index 9fb59df1bc..c35aaa1b01 100644 --- a/types/keymaster/tsconfig.json +++ b/types/keymaster/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/keymirror/tsconfig.json b/types/keymirror/tsconfig.json index a237e2396d..4d6365bc4c 100644 --- a/types/keymirror/tsconfig.json +++ b/types/keymirror/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/keypress.js/tsconfig.json b/types/keypress.js/tsconfig.json index 00a88fbf72..1643b0a002 100644 --- a/types/keypress.js/tsconfig.json +++ b/types/keypress.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/keysym/tsconfig.json b/types/keysym/tsconfig.json index 0a853aa126..b2daaa6d31 100644 --- a/types/keysym/tsconfig.json +++ b/types/keysym/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/keytar/tsconfig.json b/types/keytar/tsconfig.json index 43efd1ec43..5a2fe428ff 100644 --- a/types/keytar/tsconfig.json +++ b/types/keytar/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/kii-cloud-sdk/tsconfig.json b/types/kii-cloud-sdk/tsconfig.json index 69b251f247..fd1b84aab9 100644 --- a/types/kii-cloud-sdk/tsconfig.json +++ b/types/kii-cloud-sdk/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/kik-browser/tsconfig.json b/types/kik-browser/tsconfig.json index 0a59996f8c..d832795617 100644 --- a/types/kik-browser/tsconfig.json +++ b/types/kik-browser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/kineticjs/tsconfig.json b/types/kineticjs/tsconfig.json index 976f2dc3d3..cee48ec061 100644 --- a/types/kineticjs/tsconfig.json +++ b/types/kineticjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/klaw-sync/tsconfig.json b/types/klaw-sync/tsconfig.json index fbca4d319c..f6fe9eb8bd 100644 --- a/types/klaw-sync/tsconfig.json +++ b/types/klaw-sync/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/klaw/tsconfig.json b/types/klaw/tsconfig.json index afa97d598d..1d3db09e05 100644 --- a/types/klaw/tsconfig.json +++ b/types/klaw/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/klaw/v1/tsconfig.json b/types/klaw/v1/tsconfig.json index 8af7f84870..35caa3f9ea 100644 --- a/types/klaw/v1/tsconfig.json +++ b/types/klaw/v1/tsconfig.json @@ -19,8 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/kms-json/tsconfig.json b/types/kms-json/tsconfig.json index ed29ab5a4d..51cf1b9814 100644 --- a/types/kms-json/tsconfig.json +++ b/types/kms-json/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/knex-postgis/tsconfig.json b/types/knex-postgis/tsconfig.json index a3172fd1a1..7d088da2f2 100644 --- a/types/knex-postgis/tsconfig.json +++ b/types/knex-postgis/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/knex/tsconfig.json b/types/knex/tsconfig.json index ceb9258104..8f0b7771d9 100644 --- a/types/knex/tsconfig.json +++ b/types/knex/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/knockback/tsconfig.json b/types/knockback/tsconfig.json index b4076b50e2..fa1c069762 100644 --- a/types/knockback/tsconfig.json +++ b/types/knockback/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/knockout-amd-helpers/tsconfig.json b/types/knockout-amd-helpers/tsconfig.json index 45078709f1..b79c6d90d2 100644 --- a/types/knockout-amd-helpers/tsconfig.json +++ b/types/knockout-amd-helpers/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/knockout-postbox/tsconfig.json b/types/knockout-postbox/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/knockout-postbox/tsconfig.json +++ b/types/knockout-postbox/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/knockout-secure-binding/tsconfig.json b/types/knockout-secure-binding/tsconfig.json index 379ad7d39b..111b6eeeee 100644 --- a/types/knockout-secure-binding/tsconfig.json +++ b/types/knockout-secure-binding/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/knockout-transformations/tsconfig.json b/types/knockout-transformations/tsconfig.json index b15f7bf06b..4e5e456ef6 100644 --- a/types/knockout-transformations/tsconfig.json +++ b/types/knockout-transformations/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/knockout.deferred.updates/tsconfig.json b/types/knockout.deferred.updates/tsconfig.json index d01b404ad5..e454e60d07 100644 --- a/types/knockout.deferred.updates/tsconfig.json +++ b/types/knockout.deferred.updates/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/knockout.editables/tsconfig.json b/types/knockout.editables/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/knockout.editables/tsconfig.json +++ b/types/knockout.editables/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/knockout.es5/tsconfig.json b/types/knockout.es5/tsconfig.json index 5df65298d6..794ea97505 100644 --- a/types/knockout.es5/tsconfig.json +++ b/types/knockout.es5/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/knockout.kogrid/tsconfig.json b/types/knockout.kogrid/tsconfig.json index d410f0d355..005a8c6eb1 100644 --- a/types/knockout.kogrid/tsconfig.json +++ b/types/knockout.kogrid/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/knockout.mapper/tsconfig.json b/types/knockout.mapper/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/knockout.mapper/tsconfig.json +++ b/types/knockout.mapper/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/knockout.mapping/tsconfig.json b/types/knockout.mapping/tsconfig.json index abc93c70b5..1ae87d442f 100644 --- a/types/knockout.mapping/tsconfig.json +++ b/types/knockout.mapping/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/knockout.projections/tsconfig.json b/types/knockout.projections/tsconfig.json index 963e6eed90..97fa4bbc5e 100644 --- a/types/knockout.projections/tsconfig.json +++ b/types/knockout.projections/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/knockout.punches/tsconfig.json b/types/knockout.punches/tsconfig.json index e0388f01e2..6851149d09 100644 --- a/types/knockout.punches/tsconfig.json +++ b/types/knockout.punches/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/knockout.rx/tsconfig.json b/types/knockout.rx/tsconfig.json index 737007087d..3a2a3fdb73 100644 --- a/types/knockout.rx/tsconfig.json +++ b/types/knockout.rx/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/knockout.validation/tsconfig.json b/types/knockout.validation/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/knockout.validation/tsconfig.json +++ b/types/knockout.validation/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/knockout.viewmodel/tsconfig.json b/types/knockout.viewmodel/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/knockout.viewmodel/tsconfig.json +++ b/types/knockout.viewmodel/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/knockout/tsconfig.json b/types/knockout/tsconfig.json index a37a6a6079..1a314f7b0e 100644 --- a/types/knockout/tsconfig.json +++ b/types/knockout/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/knockstrap/tsconfig.json b/types/knockstrap/tsconfig.json index 4572dcd8c4..4d09924e6d 100644 --- a/types/knockstrap/tsconfig.json +++ b/types/knockstrap/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/knuddels-userapps-api/tsconfig.json b/types/knuddels-userapps-api/tsconfig.json index 967fe5f571..96c3a04cc9 100644 --- a/types/knuddels-userapps-api/tsconfig.json +++ b/types/knuddels-userapps-api/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ko.plus/tsconfig.json b/types/ko.plus/tsconfig.json index 6395dd819f..7dbc42737f 100644 --- a/types/ko.plus/tsconfig.json +++ b/types/ko.plus/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-basic-auth/tsconfig.json b/types/koa-basic-auth/tsconfig.json index c6f340afe1..26e8260665 100644 --- a/types/koa-basic-auth/tsconfig.json +++ b/types/koa-basic-auth/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-bodyparser/tsconfig.json b/types/koa-bodyparser/tsconfig.json index e2af3dd2e0..1e7b5ee33e 100644 --- a/types/koa-bodyparser/tsconfig.json +++ b/types/koa-bodyparser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-cache-control/tsconfig.json b/types/koa-cache-control/tsconfig.json index 6c5cd8ce2b..3ecc5fd497 100644 --- a/types/koa-cache-control/tsconfig.json +++ b/types/koa-cache-control/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-compose/tsconfig.json b/types/koa-compose/tsconfig.json index dcb5315c10..59b13908a4 100644 --- a/types/koa-compose/tsconfig.json +++ b/types/koa-compose/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/koa-compress/tsconfig.json b/types/koa-compress/tsconfig.json index f52f464f96..332dd960c4 100644 --- a/types/koa-compress/tsconfig.json +++ b/types/koa-compress/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/koa-conditional-get/tsconfig.json b/types/koa-conditional-get/tsconfig.json index 36380b9cc4..e9cf7d274d 100644 --- a/types/koa-conditional-get/tsconfig.json +++ b/types/koa-conditional-get/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-csrf/tsconfig.json b/types/koa-csrf/tsconfig.json index ff82d8c580..e03b172a0e 100644 --- a/types/koa-csrf/tsconfig.json +++ b/types/koa-csrf/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-etag/tsconfig.json b/types/koa-etag/tsconfig.json index 511623a09e..0b29fceb73 100644 --- a/types/koa-etag/tsconfig.json +++ b/types/koa-etag/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-favicon/tsconfig.json b/types/koa-favicon/tsconfig.json index bab1d261b3..15566de398 100644 --- a/types/koa-favicon/tsconfig.json +++ b/types/koa-favicon/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-generic-session/tsconfig.json b/types/koa-generic-session/tsconfig.json index 5b694a7245..d16c12ef15 100644 --- a/types/koa-generic-session/tsconfig.json +++ b/types/koa-generic-session/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-hbs/tsconfig.json b/types/koa-hbs/tsconfig.json index e2651e411b..b286334455 100644 --- a/types/koa-hbs/tsconfig.json +++ b/types/koa-hbs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-helmet/tsconfig.json b/types/koa-helmet/tsconfig.json index 8f895a44bf..1024081843 100644 --- a/types/koa-helmet/tsconfig.json +++ b/types/koa-helmet/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-joi-router/tsconfig.json b/types/koa-joi-router/tsconfig.json index d5d1b300ec..a872570270 100644 --- a/types/koa-joi-router/tsconfig.json +++ b/types/koa-joi-router/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/koa-json-error/tsconfig.json b/types/koa-json-error/tsconfig.json index 620700358d..7aa60a506f 100644 --- a/types/koa-json-error/tsconfig.json +++ b/types/koa-json-error/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-json/tsconfig.json b/types/koa-json/tsconfig.json index a9350d68de..914c85a096 100644 --- a/types/koa-json/tsconfig.json +++ b/types/koa-json/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-logger-winston/tsconfig.json b/types/koa-logger-winston/tsconfig.json index 43a0fb6611..2f3ccb79ee 100644 --- a/types/koa-logger-winston/tsconfig.json +++ b/types/koa-logger-winston/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-logger/tsconfig.json b/types/koa-logger/tsconfig.json index a82734e6f3..28110f20ac 100644 --- a/types/koa-logger/tsconfig.json +++ b/types/koa-logger/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-morgan/tsconfig.json b/types/koa-morgan/tsconfig.json index a2b3ae7c8d..ecf170e923 100644 --- a/types/koa-morgan/tsconfig.json +++ b/types/koa-morgan/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-mount/tsconfig.json b/types/koa-mount/tsconfig.json index ba31b0009f..d19516145b 100644 --- a/types/koa-mount/tsconfig.json +++ b/types/koa-mount/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-multer/tsconfig.json b/types/koa-multer/tsconfig.json index 64394ca142..e076e0d54e 100644 --- a/types/koa-multer/tsconfig.json +++ b/types/koa-multer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-passport/tsconfig.json b/types/koa-passport/tsconfig.json index 0e27ba922a..fcd51d7953 100644 --- a/types/koa-passport/tsconfig.json +++ b/types/koa-passport/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-pino-logger/tsconfig.json b/types/koa-pino-logger/tsconfig.json index beb0397ac8..13810e891e 100644 --- a/types/koa-pino-logger/tsconfig.json +++ b/types/koa-pino-logger/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-pug/tsconfig.json b/types/koa-pug/tsconfig.json index c3faadb87c..ac317cd48f 100644 --- a/types/koa-pug/tsconfig.json +++ b/types/koa-pug/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-range/tsconfig.json b/types/koa-range/tsconfig.json index bbd6674449..37c1c00f19 100644 --- a/types/koa-range/tsconfig.json +++ b/types/koa-range/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-redis/tsconfig.json b/types/koa-redis/tsconfig.json index 5aa71b8c46..a49a3a13c1 100644 --- a/types/koa-redis/tsconfig.json +++ b/types/koa-redis/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-route/tsconfig.json b/types/koa-route/tsconfig.json index d9025db325..97dff8158a 100644 --- a/types/koa-route/tsconfig.json +++ b/types/koa-route/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-router/tsconfig.json b/types/koa-router/tsconfig.json index 22eb9a6790..76f07fef64 100644 --- a/types/koa-router/tsconfig.json +++ b/types/koa-router/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-send/tsconfig.json b/types/koa-send/tsconfig.json index b43b7d491e..202d12546a 100644 --- a/types/koa-send/tsconfig.json +++ b/types/koa-send/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-session-minimal/tsconfig.json b/types/koa-session-minimal/tsconfig.json index 1ce6059819..42cafb4d4a 100644 --- a/types/koa-session-minimal/tsconfig.json +++ b/types/koa-session-minimal/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-session/tsconfig.json b/types/koa-session/tsconfig.json index 21efde4293..3d8334f36e 100644 --- a/types/koa-session/tsconfig.json +++ b/types/koa-session/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-sslify/tsconfig.json b/types/koa-sslify/tsconfig.json index c41803dcde..775b453de9 100644 --- a/types/koa-sslify/tsconfig.json +++ b/types/koa-sslify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-static/tsconfig.json b/types/koa-static/tsconfig.json index 339209d9de..ce89a3c21f 100644 --- a/types/koa-static/tsconfig.json +++ b/types/koa-static/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-views/tsconfig.json b/types/koa-views/tsconfig.json index 31b4ec33f0..95d7a74d53 100644 --- a/types/koa-views/tsconfig.json +++ b/types/koa-views/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-webpack/tsconfig.json b/types/koa-webpack/tsconfig.json index 7ff0f551fe..621bc791d1 100644 --- a/types/koa-webpack/tsconfig.json +++ b/types/koa-webpack/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa-websocket/tsconfig.json b/types/koa-websocket/tsconfig.json index 4a0daa327f..87c9225d08 100644 --- a/types/koa-websocket/tsconfig.json +++ b/types/koa-websocket/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa/tsconfig.json b/types/koa/tsconfig.json index 730ff1452f..5c4ba0f656 100644 --- a/types/koa/tsconfig.json +++ b/types/koa/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/koa2-cors/tsconfig.json b/types/koa2-cors/tsconfig.json index 9266fd9244..6c1a4b2374 100644 --- a/types/koa2-cors/tsconfig.json +++ b/types/koa2-cors/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/koa__cors/tsconfig.json b/types/koa__cors/tsconfig.json index 38bf5b7cc1..220bebc26a 100644 --- a/types/koa__cors/tsconfig.json +++ b/types/koa__cors/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "@koa/cors": [ "koa__cors" diff --git a/types/kolite/tsconfig.json b/types/kolite/tsconfig.json index b353af59cf..1dc7da3187 100644 --- a/types/kolite/tsconfig.json +++ b/types/kolite/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/konami.js/tsconfig.json b/types/konami.js/tsconfig.json index 0d91607c95..b802a3109c 100644 --- a/types/konami.js/tsconfig.json +++ b/types/konami.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/kraken-js/tsconfig.json b/types/kraken-js/tsconfig.json index 15fd480c05..6ff537a6dc 100644 --- a/types/kraken-js/tsconfig.json +++ b/types/kraken-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/kramed/tsconfig.json b/types/kramed/tsconfig.json index 95206a5b55..b816669307 100644 --- a/types/kramed/tsconfig.json +++ b/types/kramed/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/kss/tsconfig.json b/types/kss/tsconfig.json index c5edb7df62..987701f0bb 100644 --- a/types/kss/tsconfig.json +++ b/types/kss/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/kue/tsconfig.json b/types/kue/tsconfig.json index 1fb275fc79..dab7ca300b 100644 --- a/types/kue/tsconfig.json +++ b/types/kue/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/kurento-utils/tsconfig.json b/types/kurento-utils/tsconfig.json index 023939e6a2..8920df3604 100644 --- a/types/kurento-utils/tsconfig.json +++ b/types/kurento-utils/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/kuromoji/tsconfig.json b/types/kuromoji/tsconfig.json index 442773f5e9..f74ea439af 100644 --- a/types/kuromoji/tsconfig.json +++ b/types/kuromoji/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lab/tsconfig.json b/types/lab/tsconfig.json index 7ddd8d3048..8e0ad06d10 100644 --- a/types/lab/tsconfig.json +++ b/types/lab/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ladda/tsconfig.json b/types/ladda/tsconfig.json index e14f07795b..2d878b6f9d 100644 --- a/types/ladda/tsconfig.json +++ b/types/ladda/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lasso/tsconfig.json b/types/lasso/tsconfig.json index 197a5bede9..d83095e1d3 100644 --- a/types/lasso/tsconfig.json +++ b/types/lasso/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "lasso-tests.ts", diff --git a/types/later/tsconfig.json b/types/later/tsconfig.json index 338433890b..5b74d9d144 100644 --- a/types/later/tsconfig.json +++ b/types/later/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/latinize/tsconfig.json b/types/latinize/tsconfig.json index 2e3c34b548..90b98478aa 100644 --- a/types/latinize/tsconfig.json +++ b/types/latinize/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/latlon-geohash/tsconfig.json b/types/latlon-geohash/tsconfig.json index d34a297b36..e31b03319d 100644 --- a/types/latlon-geohash/tsconfig.json +++ b/types/latlon-geohash/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/launchpad/tsconfig.json b/types/launchpad/tsconfig.json index 348675bca2..01333e0ca2 100644 --- a/types/launchpad/tsconfig.json +++ b/types/launchpad/tsconfig.json @@ -11,7 +11,6 @@ "strictFunctionTypes": true, "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "types": [], "baseUrl": "../", "typeRoots": [ diff --git a/types/lazy.js/tsconfig.json b/types/lazy.js/tsconfig.json index 4faba72fe2..0f2d64001d 100644 --- a/types/lazy.js/tsconfig.json +++ b/types/lazy.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lazypipe/tsconfig.json b/types/lazypipe/tsconfig.json index f9a761bb01..7eb8c93b6a 100644 --- a/types/lazypipe/tsconfig.json +++ b/types/lazypipe/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ldapjs/tsconfig.json b/types/ldapjs/tsconfig.json index 860c7deb89..1f1d5bafc9 100644 --- a/types/ldapjs/tsconfig.json +++ b/types/ldapjs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leadfoot/tsconfig.json b/types/leadfoot/tsconfig.json index 7390c30f18..5672c5bf4d 100644 --- a/types/leadfoot/tsconfig.json +++ b/types/leadfoot/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/leaflet-areaselect/tsconfig.json b/types/leaflet-areaselect/tsconfig.json index 54aa992c34..98aceb4b21 100644 --- a/types/leaflet-areaselect/tsconfig.json +++ b/types/leaflet-areaselect/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-curve/tsconfig.json b/types/leaflet-curve/tsconfig.json index 17abbb6dd6..6ca509b566 100644 --- a/types/leaflet-curve/tsconfig.json +++ b/types/leaflet-curve/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-draw/tsconfig.json b/types/leaflet-draw/tsconfig.json index d27f42eebf..5db4feb624 100644 --- a/types/leaflet-draw/tsconfig.json +++ b/types/leaflet-draw/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-editable/tsconfig.json b/types/leaflet-editable/tsconfig.json index 9565df6304..d03e43670e 100644 --- a/types/leaflet-editable/tsconfig.json +++ b/types/leaflet-editable/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-fullscreen/tsconfig.json b/types/leaflet-fullscreen/tsconfig.json index 4273a23910..102331a4af 100644 --- a/types/leaflet-fullscreen/tsconfig.json +++ b/types/leaflet-fullscreen/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-geocoder-mapzen/tsconfig.json b/types/leaflet-geocoder-mapzen/tsconfig.json index 197f88ad4f..9bf4ee0bfb 100644 --- a/types/leaflet-geocoder-mapzen/tsconfig.json +++ b/types/leaflet-geocoder-mapzen/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-gpx/tsconfig.json b/types/leaflet-gpx/tsconfig.json index 475ac13cda..08f5612820 100644 --- a/types/leaflet-gpx/tsconfig.json +++ b/types/leaflet-gpx/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-imageoverlay-rotated/tsconfig.json b/types/leaflet-imageoverlay-rotated/tsconfig.json index 4796b0511a..440971024d 100644 --- a/types/leaflet-imageoverlay-rotated/tsconfig.json +++ b/types/leaflet-imageoverlay-rotated/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-label/tsconfig.json b/types/leaflet-label/tsconfig.json index ba2680e88c..bf2cfa0f43 100644 --- a/types/leaflet-label/tsconfig.json +++ b/types/leaflet-label/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-mouse-position/tsconfig.json b/types/leaflet-mouse-position/tsconfig.json index 8322b38776..acf01e41a5 100644 --- a/types/leaflet-mouse-position/tsconfig.json +++ b/types/leaflet-mouse-position/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-polylinedecorator/tsconfig.json b/types/leaflet-polylinedecorator/tsconfig.json index 7f81263acb..f84b2a3913 100644 --- a/types/leaflet-polylinedecorator/tsconfig.json +++ b/types/leaflet-polylinedecorator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-providers/tsconfig.json b/types/leaflet-providers/tsconfig.json index b36bd5c2c4..bb2349b7d5 100644 --- a/types/leaflet-providers/tsconfig.json +++ b/types/leaflet-providers/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet-rotatedmarker/tsconfig.json b/types/leaflet-rotatedmarker/tsconfig.json index 195a3ec8ad..88b4b42c46 100644 --- a/types/leaflet-rotatedmarker/tsconfig.json +++ b/types/leaflet-rotatedmarker/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.awesome-markers/tsconfig.json b/types/leaflet.awesome-markers/tsconfig.json index 6d25407162..079cf577d2 100644 --- a/types/leaflet.awesome-markers/tsconfig.json +++ b/types/leaflet.awesome-markers/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.awesome-markers/v0/tsconfig.json b/types/leaflet.awesome-markers/v0/tsconfig.json index db5190d1ca..549076e43b 100644 --- a/types/leaflet.awesome-markers/v0/tsconfig.json +++ b/types/leaflet.awesome-markers/v0/tsconfig.json @@ -23,8 +23,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.fullscreen/tsconfig.json b/types/leaflet.fullscreen/tsconfig.json index 29a6ea1ec7..bb2cf83e37 100644 --- a/types/leaflet.fullscreen/tsconfig.json +++ b/types/leaflet.fullscreen/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.gridlayer.googlemutant/tsconfig.json b/types/leaflet.gridlayer.googlemutant/tsconfig.json index 73164f18ca..d739a04322 100644 --- a/types/leaflet.gridlayer.googlemutant/tsconfig.json +++ b/types/leaflet.gridlayer.googlemutant/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.heat/tsconfig.json b/types/leaflet.heat/tsconfig.json index cc206c4e7f..6e041d8ac2 100644 --- a/types/leaflet.heat/tsconfig.json +++ b/types/leaflet.heat/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.locatecontrol/tsconfig.json b/types/leaflet.locatecontrol/tsconfig.json index 6da0fdda3b..22ab0179b2 100644 --- a/types/leaflet.locatecontrol/tsconfig.json +++ b/types/leaflet.locatecontrol/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.markercluster.layersupport/tsconfig.json b/types/leaflet.markercluster.layersupport/tsconfig.json index 47502f355b..13ba48e6f4 100644 --- a/types/leaflet.markercluster.layersupport/tsconfig.json +++ b/types/leaflet.markercluster.layersupport/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.markercluster/tsconfig.json b/types/leaflet.markercluster/tsconfig.json index 67efe9169e..b1f7f8c1af 100644 --- a/types/leaflet.markercluster/tsconfig.json +++ b/types/leaflet.markercluster/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.pancontrol/tsconfig.json b/types/leaflet.pancontrol/tsconfig.json index 8341a27f73..d7fb9d543c 100644 --- a/types/leaflet.pancontrol/tsconfig.json +++ b/types/leaflet.pancontrol/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.pm/tsconfig.json b/types/leaflet.pm/tsconfig.json index ffe46ff393..b2313b93ee 100644 --- a/types/leaflet.pm/tsconfig.json +++ b/types/leaflet.pm/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet.polylinemeasure/tsconfig.json b/types/leaflet.polylinemeasure/tsconfig.json index 2a4070495c..0ab54d7e16 100644 --- a/types/leaflet.polylinemeasure/tsconfig.json +++ b/types/leaflet.polylinemeasure/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet/tsconfig.json b/types/leaflet/tsconfig.json index ab1f202443..55862abef1 100644 --- a/types/leaflet/tsconfig.json +++ b/types/leaflet/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leaflet/v0/tsconfig.json b/types/leaflet/v0/tsconfig.json index a2d29bb367..c8003b67d8 100644 --- a/types/leaflet/v0/tsconfig.json +++ b/types/leaflet/v0/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leapmotionts/tsconfig.json b/types/leapmotionts/tsconfig.json index b5fc5f85b4..7ac842a053 100644 --- a/types/leapmotionts/tsconfig.json +++ b/types/leapmotionts/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/legal-eagle/tsconfig.json b/types/legal-eagle/tsconfig.json index d41814f483..78c749f43f 100644 --- a/types/legal-eagle/tsconfig.json +++ b/types/legal-eagle/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/less-middleware/tsconfig.json b/types/less-middleware/tsconfig.json index fe169cfb2f..8a807955b0 100644 --- a/types/less-middleware/tsconfig.json +++ b/types/less-middleware/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/less/tsconfig.json b/types/less/tsconfig.json index 002ef68ece..635134c330 100644 --- a/types/less/tsconfig.json +++ b/types/less/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/less2sass/tsconfig.json b/types/less2sass/tsconfig.json index fef36e8edd..04d99cda84 100644 --- a/types/less2sass/tsconfig.json +++ b/types/less2sass/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lestate/tsconfig.json b/types/lestate/tsconfig.json index 8b6cfd98c1..152bf946a6 100644 --- a/types/lestate/tsconfig.json +++ b/types/lestate/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/level-sublevel/tsconfig.json b/types/level-sublevel/tsconfig.json index b9253b7772..4dad69a329 100644 --- a/types/level-sublevel/tsconfig.json +++ b/types/level-sublevel/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leveldown/tsconfig.json b/types/leveldown/tsconfig.json index 5c30c34f2f..68b5638f5b 100644 --- a/types/leveldown/tsconfig.json +++ b/types/leveldown/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/levelup/tsconfig.json b/types/levelup/tsconfig.json index ac406bd9b2..8825ba9b79 100644 --- a/types/levelup/tsconfig.json +++ b/types/levelup/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/leven/tsconfig.json b/types/leven/tsconfig.json index bcdc4add35..14d505d892 100644 --- a/types/leven/tsconfig.json +++ b/types/leven/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/levenshtein/tsconfig.json b/types/levenshtein/tsconfig.json index a02655c66d..da44f54a3e 100644 --- a/types/levenshtein/tsconfig.json +++ b/types/levenshtein/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/libpq/tsconfig.json b/types/libpq/tsconfig.json index 859660d83b..c2179c6020 100644 --- a/types/libpq/tsconfig.json +++ b/types/libpq/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/libxmljs/tsconfig.json b/types/libxmljs/tsconfig.json index e44e2461e1..7201fffe81 100644 --- a/types/libxmljs/tsconfig.json +++ b/types/libxmljs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/libxslt/tsconfig.json b/types/libxslt/tsconfig.json index 85f9f9b81d..a7f7f94ffc 100644 --- a/types/libxslt/tsconfig.json +++ b/types/libxslt/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/license-checker/tsconfig.json b/types/license-checker/tsconfig.json index f5b303f669..3cfded1e87 100644 --- a/types/license-checker/tsconfig.json +++ b/types/license-checker/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lil-uuid/tsconfig.json b/types/lil-uuid/tsconfig.json index a1a661c82a..d93027e2f2 100644 --- a/types/lil-uuid/tsconfig.json +++ b/types/lil-uuid/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lime-js/tsconfig.json b/types/lime-js/tsconfig.json index 4345d000d2..fb352deb87 100644 --- a/types/lime-js/tsconfig.json +++ b/types/lime-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/line-by-line/tsconfig.json b/types/line-by-line/tsconfig.json index 43e95d3ed0..c92dc43aac 100644 --- a/types/line-by-line/tsconfig.json +++ b/types/line-by-line/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/line-reader/tsconfig.json b/types/line-reader/tsconfig.json index 824b195e26..0bf05161de 100644 --- a/types/line-reader/tsconfig.json +++ b/types/line-reader/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/linkify-it/tsconfig.json b/types/linkify-it/tsconfig.json index bfc6f13f86..53501188a6 100644 --- a/types/linkify-it/tsconfig.json +++ b/types/linkify-it/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lls/tsconfig.json b/types/lls/tsconfig.json index 91a2928fd8..41aa184116 100644 --- a/types/lls/tsconfig.json +++ b/types/lls/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/load-json-file/tsconfig.json b/types/load-json-file/tsconfig.json index 0c3ea42200..9cbafc8746 100644 --- a/types/load-json-file/tsconfig.json +++ b/types/load-json-file/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/loader-runner/tsconfig.json b/types/loader-runner/tsconfig.json index 72472c0eb3..9a8894c61b 100644 --- a/types/loader-runner/tsconfig.json +++ b/types/loader-runner/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/loader-utils/tsconfig.json b/types/loader-utils/tsconfig.json index aed67fbc1b..91aa5704c4 100644 --- a/types/loader-utils/tsconfig.json +++ b/types/loader-utils/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/loadware/tsconfig.json b/types/loadware/tsconfig.json index 07bc5a8c23..5921615bf8 100644 --- a/types/loadware/tsconfig.json +++ b/types/loadware/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lobibox/tsconfig.json b/types/lobibox/tsconfig.json index ee14a0056b..ef1a1c2f64 100644 --- a/types/lobibox/tsconfig.json +++ b/types/lobibox/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/local-dynamo/tsconfig.json b/types/local-dynamo/tsconfig.json index d99efd9ac3..a66d5b4aef 100644 --- a/types/local-dynamo/tsconfig.json +++ b/types/local-dynamo/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/localized-countries/tsconfig.json b/types/localized-countries/tsconfig.json index bea6b3f1e4..61ec539732 100644 --- a/types/localized-countries/tsconfig.json +++ b/types/localized-countries/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/localizejs-library/tsconfig.json b/types/localizejs-library/tsconfig.json index b0d9382afe..a297d28148 100644 --- a/types/localizejs-library/tsconfig.json +++ b/types/localizejs-library/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/locate-path/tsconfig.json b/types/locate-path/tsconfig.json index 06d40b6727..355b51b851 100644 --- a/types/locate-path/tsconfig.json +++ b/types/locate-path/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lockfile/tsconfig.json b/types/lockfile/tsconfig.json index 86b31141a7..83b6126099 100644 --- a/types/lockfile/tsconfig.json +++ b/types/lockfile/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lockfile/v0/tsconfig.json b/types/lockfile/v0/tsconfig.json index 2cfa991fab..a5f99334c4 100644 --- a/types/lockfile/v0/tsconfig.json +++ b/types/lockfile/v0/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lockr/tsconfig.json b/types/lockr/tsconfig.json index c693013904..391de2fb03 100644 --- a/types/lockr/tsconfig.json +++ b/types/lockr/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/locutus/tsconfig.json b/types/locutus/tsconfig.json index 4a1db4fa50..2a54cd1721 100644 --- a/types/locutus/tsconfig.json +++ b/types/locutus/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lodash-es/tsconfig.json b/types/lodash-es/tsconfig.json index 192ee5b0af..fba6506cc9 100644 --- a/types/lodash-es/tsconfig.json +++ b/types/lodash-es/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lodash-webpack-plugin/tsconfig.json b/types/lodash-webpack-plugin/tsconfig.json index fd54c3b249..5a4f35d31e 100644 --- a/types/lodash-webpack-plugin/tsconfig.json +++ b/types/lodash-webpack-plugin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lodash.add/tsconfig.json b/types/lodash.add/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.add/tsconfig.json +++ b/types/lodash.add/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.after/tsconfig.json b/types/lodash.after/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.after/tsconfig.json +++ b/types/lodash.after/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.ary/tsconfig.json b/types/lodash.ary/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.ary/tsconfig.json +++ b/types/lodash.ary/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.assign/tsconfig.json b/types/lodash.assign/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.assign/tsconfig.json +++ b/types/lodash.assign/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.assignin/tsconfig.json b/types/lodash.assignin/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.assignin/tsconfig.json +++ b/types/lodash.assignin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.assigninwith/tsconfig.json b/types/lodash.assigninwith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.assigninwith/tsconfig.json +++ b/types/lodash.assigninwith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.assignwith/tsconfig.json b/types/lodash.assignwith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.assignwith/tsconfig.json +++ b/types/lodash.assignwith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.at/tsconfig.json b/types/lodash.at/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.at/tsconfig.json +++ b/types/lodash.at/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.attempt/tsconfig.json b/types/lodash.attempt/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.attempt/tsconfig.json +++ b/types/lodash.attempt/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.before/tsconfig.json b/types/lodash.before/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.before/tsconfig.json +++ b/types/lodash.before/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.bind/tsconfig.json b/types/lodash.bind/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.bind/tsconfig.json +++ b/types/lodash.bind/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.bindall/tsconfig.json b/types/lodash.bindall/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.bindall/tsconfig.json +++ b/types/lodash.bindall/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.bindkey/tsconfig.json b/types/lodash.bindkey/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.bindkey/tsconfig.json +++ b/types/lodash.bindkey/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.camelcase/tsconfig.json b/types/lodash.camelcase/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.camelcase/tsconfig.json +++ b/types/lodash.camelcase/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.capitalize/tsconfig.json b/types/lodash.capitalize/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.capitalize/tsconfig.json +++ b/types/lodash.capitalize/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.castarray/tsconfig.json b/types/lodash.castarray/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.castarray/tsconfig.json +++ b/types/lodash.castarray/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.ceil/tsconfig.json b/types/lodash.ceil/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.ceil/tsconfig.json +++ b/types/lodash.ceil/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.chunk/tsconfig.json b/types/lodash.chunk/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.chunk/tsconfig.json +++ b/types/lodash.chunk/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.clamp/tsconfig.json b/types/lodash.clamp/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.clamp/tsconfig.json +++ b/types/lodash.clamp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.clone/tsconfig.json b/types/lodash.clone/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.clone/tsconfig.json +++ b/types/lodash.clone/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.clonedeep/tsconfig.json b/types/lodash.clonedeep/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.clonedeep/tsconfig.json +++ b/types/lodash.clonedeep/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.clonedeepwith/tsconfig.json b/types/lodash.clonedeepwith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.clonedeepwith/tsconfig.json +++ b/types/lodash.clonedeepwith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.clonewith/tsconfig.json b/types/lodash.clonewith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.clonewith/tsconfig.json +++ b/types/lodash.clonewith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.compact/tsconfig.json b/types/lodash.compact/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.compact/tsconfig.json +++ b/types/lodash.compact/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.concat/tsconfig.json b/types/lodash.concat/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.concat/tsconfig.json +++ b/types/lodash.concat/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.cond/tsconfig.json b/types/lodash.cond/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.cond/tsconfig.json +++ b/types/lodash.cond/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.constant/tsconfig.json b/types/lodash.constant/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.constant/tsconfig.json +++ b/types/lodash.constant/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.countby/tsconfig.json b/types/lodash.countby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.countby/tsconfig.json +++ b/types/lodash.countby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.create/tsconfig.json b/types/lodash.create/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.create/tsconfig.json +++ b/types/lodash.create/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.curry/tsconfig.json b/types/lodash.curry/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.curry/tsconfig.json +++ b/types/lodash.curry/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.curryright/tsconfig.json b/types/lodash.curryright/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.curryright/tsconfig.json +++ b/types/lodash.curryright/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.debounce/tsconfig.json b/types/lodash.debounce/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.debounce/tsconfig.json +++ b/types/lodash.debounce/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.deburr/tsconfig.json b/types/lodash.deburr/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.deburr/tsconfig.json +++ b/types/lodash.deburr/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.defaults/tsconfig.json b/types/lodash.defaults/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.defaults/tsconfig.json +++ b/types/lodash.defaults/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.defaultsdeep/tsconfig.json b/types/lodash.defaultsdeep/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.defaultsdeep/tsconfig.json +++ b/types/lodash.defaultsdeep/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.defer/tsconfig.json b/types/lodash.defer/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.defer/tsconfig.json +++ b/types/lodash.defer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.delay/tsconfig.json b/types/lodash.delay/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.delay/tsconfig.json +++ b/types/lodash.delay/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.difference/tsconfig.json b/types/lodash.difference/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.difference/tsconfig.json +++ b/types/lodash.difference/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.differenceby/tsconfig.json b/types/lodash.differenceby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.differenceby/tsconfig.json +++ b/types/lodash.differenceby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.differencewith/tsconfig.json b/types/lodash.differencewith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.differencewith/tsconfig.json +++ b/types/lodash.differencewith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.divide/tsconfig.json b/types/lodash.divide/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.divide/tsconfig.json +++ b/types/lodash.divide/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.drop/tsconfig.json b/types/lodash.drop/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.drop/tsconfig.json +++ b/types/lodash.drop/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.dropright/tsconfig.json b/types/lodash.dropright/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.dropright/tsconfig.json +++ b/types/lodash.dropright/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.droprightwhile/tsconfig.json b/types/lodash.droprightwhile/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.droprightwhile/tsconfig.json +++ b/types/lodash.droprightwhile/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.dropwhile/tsconfig.json b/types/lodash.dropwhile/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.dropwhile/tsconfig.json +++ b/types/lodash.dropwhile/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.endswith/tsconfig.json b/types/lodash.endswith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.endswith/tsconfig.json +++ b/types/lodash.endswith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.eq/tsconfig.json b/types/lodash.eq/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.eq/tsconfig.json +++ b/types/lodash.eq/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.escape/tsconfig.json b/types/lodash.escape/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.escape/tsconfig.json +++ b/types/lodash.escape/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.escaperegexp/tsconfig.json b/types/lodash.escaperegexp/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.escaperegexp/tsconfig.json +++ b/types/lodash.escaperegexp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.every/tsconfig.json b/types/lodash.every/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.every/tsconfig.json +++ b/types/lodash.every/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.fill/tsconfig.json b/types/lodash.fill/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.fill/tsconfig.json +++ b/types/lodash.fill/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.filter/tsconfig.json b/types/lodash.filter/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.filter/tsconfig.json +++ b/types/lodash.filter/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.find/tsconfig.json b/types/lodash.find/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.find/tsconfig.json +++ b/types/lodash.find/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.findindex/tsconfig.json b/types/lodash.findindex/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.findindex/tsconfig.json +++ b/types/lodash.findindex/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.findkey/tsconfig.json b/types/lodash.findkey/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.findkey/tsconfig.json +++ b/types/lodash.findkey/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.findlast/tsconfig.json b/types/lodash.findlast/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.findlast/tsconfig.json +++ b/types/lodash.findlast/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.findlastindex/tsconfig.json b/types/lodash.findlastindex/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.findlastindex/tsconfig.json +++ b/types/lodash.findlastindex/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.findlastkey/tsconfig.json b/types/lodash.findlastkey/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.findlastkey/tsconfig.json +++ b/types/lodash.findlastkey/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.first/tsconfig.json b/types/lodash.first/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.first/tsconfig.json +++ b/types/lodash.first/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.flatmap/tsconfig.json b/types/lodash.flatmap/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.flatmap/tsconfig.json +++ b/types/lodash.flatmap/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.flatmapdeep/tsconfig.json b/types/lodash.flatmapdeep/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.flatmapdeep/tsconfig.json +++ b/types/lodash.flatmapdeep/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.flatmapdepth/tsconfig.json b/types/lodash.flatmapdepth/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.flatmapdepth/tsconfig.json +++ b/types/lodash.flatmapdepth/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.flatten/tsconfig.json b/types/lodash.flatten/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.flatten/tsconfig.json +++ b/types/lodash.flatten/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.flattendeep/tsconfig.json b/types/lodash.flattendeep/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.flattendeep/tsconfig.json +++ b/types/lodash.flattendeep/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.flattendepth/tsconfig.json b/types/lodash.flattendepth/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.flattendepth/tsconfig.json +++ b/types/lodash.flattendepth/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.flip/tsconfig.json b/types/lodash.flip/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.flip/tsconfig.json +++ b/types/lodash.flip/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.floor/tsconfig.json b/types/lodash.floor/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.floor/tsconfig.json +++ b/types/lodash.floor/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.flow/tsconfig.json b/types/lodash.flow/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.flow/tsconfig.json +++ b/types/lodash.flow/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.flowright/tsconfig.json b/types/lodash.flowright/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.flowright/tsconfig.json +++ b/types/lodash.flowright/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.foreach/tsconfig.json b/types/lodash.foreach/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.foreach/tsconfig.json +++ b/types/lodash.foreach/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.foreachright/tsconfig.json b/types/lodash.foreachright/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.foreachright/tsconfig.json +++ b/types/lodash.foreachright/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.forin/tsconfig.json b/types/lodash.forin/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.forin/tsconfig.json +++ b/types/lodash.forin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.forinright/tsconfig.json b/types/lodash.forinright/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.forinright/tsconfig.json +++ b/types/lodash.forinright/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.forown/tsconfig.json b/types/lodash.forown/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.forown/tsconfig.json +++ b/types/lodash.forown/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.forownright/tsconfig.json b/types/lodash.forownright/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.forownright/tsconfig.json +++ b/types/lodash.forownright/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.frompairs/tsconfig.json b/types/lodash.frompairs/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.frompairs/tsconfig.json +++ b/types/lodash.frompairs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.functions/tsconfig.json b/types/lodash.functions/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.functions/tsconfig.json +++ b/types/lodash.functions/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.functionsin/tsconfig.json b/types/lodash.functionsin/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.functionsin/tsconfig.json +++ b/types/lodash.functionsin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.get/tsconfig.json b/types/lodash.get/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.get/tsconfig.json +++ b/types/lodash.get/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.groupby/tsconfig.json b/types/lodash.groupby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.groupby/tsconfig.json +++ b/types/lodash.groupby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.gt/tsconfig.json b/types/lodash.gt/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.gt/tsconfig.json +++ b/types/lodash.gt/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.gte/tsconfig.json b/types/lodash.gte/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.gte/tsconfig.json +++ b/types/lodash.gte/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.has/tsconfig.json b/types/lodash.has/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.has/tsconfig.json +++ b/types/lodash.has/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.hasin/tsconfig.json b/types/lodash.hasin/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.hasin/tsconfig.json +++ b/types/lodash.hasin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.head/tsconfig.json b/types/lodash.head/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.head/tsconfig.json +++ b/types/lodash.head/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.identity/tsconfig.json b/types/lodash.identity/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.identity/tsconfig.json +++ b/types/lodash.identity/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.includes/tsconfig.json b/types/lodash.includes/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.includes/tsconfig.json +++ b/types/lodash.includes/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.indexof/tsconfig.json b/types/lodash.indexof/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.indexof/tsconfig.json +++ b/types/lodash.indexof/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.initial/tsconfig.json b/types/lodash.initial/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.initial/tsconfig.json +++ b/types/lodash.initial/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.inrange/tsconfig.json b/types/lodash.inrange/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.inrange/tsconfig.json +++ b/types/lodash.inrange/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.intersection/tsconfig.json b/types/lodash.intersection/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.intersection/tsconfig.json +++ b/types/lodash.intersection/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.intersectionby/tsconfig.json b/types/lodash.intersectionby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.intersectionby/tsconfig.json +++ b/types/lodash.intersectionby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.intersectionwith/tsconfig.json b/types/lodash.intersectionwith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.intersectionwith/tsconfig.json +++ b/types/lodash.intersectionwith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.invert/tsconfig.json b/types/lodash.invert/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.invert/tsconfig.json +++ b/types/lodash.invert/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.invertby/tsconfig.json b/types/lodash.invertby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.invertby/tsconfig.json +++ b/types/lodash.invertby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.invoke/tsconfig.json b/types/lodash.invoke/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.invoke/tsconfig.json +++ b/types/lodash.invoke/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.invokemap/tsconfig.json b/types/lodash.invokemap/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.invokemap/tsconfig.json +++ b/types/lodash.invokemap/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isarguments/tsconfig.json b/types/lodash.isarguments/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isarguments/tsconfig.json +++ b/types/lodash.isarguments/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isarray/tsconfig.json b/types/lodash.isarray/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isarray/tsconfig.json +++ b/types/lodash.isarray/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isarraybuffer/tsconfig.json b/types/lodash.isarraybuffer/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isarraybuffer/tsconfig.json +++ b/types/lodash.isarraybuffer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isarraylike/tsconfig.json b/types/lodash.isarraylike/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isarraylike/tsconfig.json +++ b/types/lodash.isarraylike/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isarraylikeobject/tsconfig.json b/types/lodash.isarraylikeobject/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isarraylikeobject/tsconfig.json +++ b/types/lodash.isarraylikeobject/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isboolean/tsconfig.json b/types/lodash.isboolean/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isboolean/tsconfig.json +++ b/types/lodash.isboolean/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isbuffer/tsconfig.json b/types/lodash.isbuffer/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isbuffer/tsconfig.json +++ b/types/lodash.isbuffer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isdate/tsconfig.json b/types/lodash.isdate/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isdate/tsconfig.json +++ b/types/lodash.isdate/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.iselement/tsconfig.json b/types/lodash.iselement/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.iselement/tsconfig.json +++ b/types/lodash.iselement/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isempty/tsconfig.json b/types/lodash.isempty/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isempty/tsconfig.json +++ b/types/lodash.isempty/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isequal/tsconfig.json b/types/lodash.isequal/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isequal/tsconfig.json +++ b/types/lodash.isequal/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isequalwith/tsconfig.json b/types/lodash.isequalwith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isequalwith/tsconfig.json +++ b/types/lodash.isequalwith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.iserror/tsconfig.json b/types/lodash.iserror/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.iserror/tsconfig.json +++ b/types/lodash.iserror/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isfinite/tsconfig.json b/types/lodash.isfinite/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isfinite/tsconfig.json +++ b/types/lodash.isfinite/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isfunction/tsconfig.json b/types/lodash.isfunction/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isfunction/tsconfig.json +++ b/types/lodash.isfunction/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isinteger/tsconfig.json b/types/lodash.isinteger/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isinteger/tsconfig.json +++ b/types/lodash.isinteger/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.islength/tsconfig.json b/types/lodash.islength/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.islength/tsconfig.json +++ b/types/lodash.islength/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.ismap/tsconfig.json b/types/lodash.ismap/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.ismap/tsconfig.json +++ b/types/lodash.ismap/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.ismatch/tsconfig.json b/types/lodash.ismatch/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.ismatch/tsconfig.json +++ b/types/lodash.ismatch/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.ismatchwith/tsconfig.json b/types/lodash.ismatchwith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.ismatchwith/tsconfig.json +++ b/types/lodash.ismatchwith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isnan/tsconfig.json b/types/lodash.isnan/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isnan/tsconfig.json +++ b/types/lodash.isnan/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isnative/tsconfig.json b/types/lodash.isnative/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isnative/tsconfig.json +++ b/types/lodash.isnative/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isnil/tsconfig.json b/types/lodash.isnil/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isnil/tsconfig.json +++ b/types/lodash.isnil/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isnull/tsconfig.json b/types/lodash.isnull/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isnull/tsconfig.json +++ b/types/lodash.isnull/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isnumber/tsconfig.json b/types/lodash.isnumber/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isnumber/tsconfig.json +++ b/types/lodash.isnumber/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isobject/tsconfig.json b/types/lodash.isobject/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isobject/tsconfig.json +++ b/types/lodash.isobject/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isobjectlike/tsconfig.json b/types/lodash.isobjectlike/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isobjectlike/tsconfig.json +++ b/types/lodash.isobjectlike/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isplainobject/tsconfig.json b/types/lodash.isplainobject/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isplainobject/tsconfig.json +++ b/types/lodash.isplainobject/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isregexp/tsconfig.json b/types/lodash.isregexp/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isregexp/tsconfig.json +++ b/types/lodash.isregexp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.issafeinteger/tsconfig.json b/types/lodash.issafeinteger/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.issafeinteger/tsconfig.json +++ b/types/lodash.issafeinteger/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isset/tsconfig.json b/types/lodash.isset/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isset/tsconfig.json +++ b/types/lodash.isset/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isstring/tsconfig.json b/types/lodash.isstring/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isstring/tsconfig.json +++ b/types/lodash.isstring/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.issymbol/tsconfig.json b/types/lodash.issymbol/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.issymbol/tsconfig.json +++ b/types/lodash.issymbol/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.istypedarray/tsconfig.json b/types/lodash.istypedarray/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.istypedarray/tsconfig.json +++ b/types/lodash.istypedarray/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isundefined/tsconfig.json b/types/lodash.isundefined/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isundefined/tsconfig.json +++ b/types/lodash.isundefined/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isweakmap/tsconfig.json b/types/lodash.isweakmap/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isweakmap/tsconfig.json +++ b/types/lodash.isweakmap/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.isweakset/tsconfig.json b/types/lodash.isweakset/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.isweakset/tsconfig.json +++ b/types/lodash.isweakset/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.iteratee/tsconfig.json b/types/lodash.iteratee/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.iteratee/tsconfig.json +++ b/types/lodash.iteratee/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.join/tsconfig.json b/types/lodash.join/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.join/tsconfig.json +++ b/types/lodash.join/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.kebabcase/tsconfig.json b/types/lodash.kebabcase/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.kebabcase/tsconfig.json +++ b/types/lodash.kebabcase/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.keyby/tsconfig.json b/types/lodash.keyby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.keyby/tsconfig.json +++ b/types/lodash.keyby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.keys/tsconfig.json b/types/lodash.keys/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.keys/tsconfig.json +++ b/types/lodash.keys/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.keysin/tsconfig.json b/types/lodash.keysin/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.keysin/tsconfig.json +++ b/types/lodash.keysin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.last/tsconfig.json b/types/lodash.last/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.last/tsconfig.json +++ b/types/lodash.last/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.lastindexof/tsconfig.json b/types/lodash.lastindexof/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.lastindexof/tsconfig.json +++ b/types/lodash.lastindexof/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.lowercase/tsconfig.json b/types/lodash.lowercase/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.lowercase/tsconfig.json +++ b/types/lodash.lowercase/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.lowerfirst/tsconfig.json b/types/lodash.lowerfirst/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.lowerfirst/tsconfig.json +++ b/types/lodash.lowerfirst/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.lt/tsconfig.json b/types/lodash.lt/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.lt/tsconfig.json +++ b/types/lodash.lt/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.lte/tsconfig.json b/types/lodash.lte/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.lte/tsconfig.json +++ b/types/lodash.lte/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.mapkeys/tsconfig.json b/types/lodash.mapkeys/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.mapkeys/tsconfig.json +++ b/types/lodash.mapkeys/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.mapvalues/tsconfig.json b/types/lodash.mapvalues/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.mapvalues/tsconfig.json +++ b/types/lodash.mapvalues/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.matches/tsconfig.json b/types/lodash.matches/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.matches/tsconfig.json +++ b/types/lodash.matches/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.matchesproperty/tsconfig.json b/types/lodash.matchesproperty/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.matchesproperty/tsconfig.json +++ b/types/lodash.matchesproperty/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.max/tsconfig.json b/types/lodash.max/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.max/tsconfig.json +++ b/types/lodash.max/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.maxby/tsconfig.json b/types/lodash.maxby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.maxby/tsconfig.json +++ b/types/lodash.maxby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.mean/tsconfig.json b/types/lodash.mean/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.mean/tsconfig.json +++ b/types/lodash.mean/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.meanby/tsconfig.json b/types/lodash.meanby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.meanby/tsconfig.json +++ b/types/lodash.meanby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.memoize/tsconfig.json b/types/lodash.memoize/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.memoize/tsconfig.json +++ b/types/lodash.memoize/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.merge/tsconfig.json b/types/lodash.merge/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.merge/tsconfig.json +++ b/types/lodash.merge/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.mergewith/tsconfig.json b/types/lodash.mergewith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.mergewith/tsconfig.json +++ b/types/lodash.mergewith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.method/tsconfig.json b/types/lodash.method/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.method/tsconfig.json +++ b/types/lodash.method/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.methodof/tsconfig.json b/types/lodash.methodof/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.methodof/tsconfig.json +++ b/types/lodash.methodof/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.min/tsconfig.json b/types/lodash.min/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.min/tsconfig.json +++ b/types/lodash.min/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.minby/tsconfig.json b/types/lodash.minby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.minby/tsconfig.json +++ b/types/lodash.minby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.mixin/tsconfig.json b/types/lodash.mixin/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.mixin/tsconfig.json +++ b/types/lodash.mixin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.negate/tsconfig.json b/types/lodash.negate/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.negate/tsconfig.json +++ b/types/lodash.negate/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.noop/tsconfig.json b/types/lodash.noop/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.noop/tsconfig.json +++ b/types/lodash.noop/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.now/tsconfig.json b/types/lodash.now/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.now/tsconfig.json +++ b/types/lodash.now/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.nth/tsconfig.json b/types/lodash.nth/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.nth/tsconfig.json +++ b/types/lodash.nth/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.ntharg/tsconfig.json b/types/lodash.ntharg/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.ntharg/tsconfig.json +++ b/types/lodash.ntharg/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.omit/tsconfig.json b/types/lodash.omit/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.omit/tsconfig.json +++ b/types/lodash.omit/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.omitby/tsconfig.json b/types/lodash.omitby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.omitby/tsconfig.json +++ b/types/lodash.omitby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.once/tsconfig.json b/types/lodash.once/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.once/tsconfig.json +++ b/types/lodash.once/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.orderby/tsconfig.json b/types/lodash.orderby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.orderby/tsconfig.json +++ b/types/lodash.orderby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.over/tsconfig.json b/types/lodash.over/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.over/tsconfig.json +++ b/types/lodash.over/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.overargs/tsconfig.json b/types/lodash.overargs/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.overargs/tsconfig.json +++ b/types/lodash.overargs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.overevery/tsconfig.json b/types/lodash.overevery/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.overevery/tsconfig.json +++ b/types/lodash.overevery/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.oversome/tsconfig.json b/types/lodash.oversome/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.oversome/tsconfig.json +++ b/types/lodash.oversome/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.pad/tsconfig.json b/types/lodash.pad/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.pad/tsconfig.json +++ b/types/lodash.pad/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.padend/tsconfig.json b/types/lodash.padend/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.padend/tsconfig.json +++ b/types/lodash.padend/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.padstart/tsconfig.json b/types/lodash.padstart/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.padstart/tsconfig.json +++ b/types/lodash.padstart/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.parseint/tsconfig.json b/types/lodash.parseint/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.parseint/tsconfig.json +++ b/types/lodash.parseint/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.partial/tsconfig.json b/types/lodash.partial/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.partial/tsconfig.json +++ b/types/lodash.partial/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.partialright/tsconfig.json b/types/lodash.partialright/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.partialright/tsconfig.json +++ b/types/lodash.partialright/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.partition/tsconfig.json b/types/lodash.partition/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.partition/tsconfig.json +++ b/types/lodash.partition/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.pick/tsconfig.json b/types/lodash.pick/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.pick/tsconfig.json +++ b/types/lodash.pick/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.pickby/tsconfig.json b/types/lodash.pickby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.pickby/tsconfig.json +++ b/types/lodash.pickby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.property/tsconfig.json b/types/lodash.property/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.property/tsconfig.json +++ b/types/lodash.property/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.propertyof/tsconfig.json b/types/lodash.propertyof/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.propertyof/tsconfig.json +++ b/types/lodash.propertyof/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.pull/tsconfig.json b/types/lodash.pull/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.pull/tsconfig.json +++ b/types/lodash.pull/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.pullall/tsconfig.json b/types/lodash.pullall/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.pullall/tsconfig.json +++ b/types/lodash.pullall/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.pullallby/tsconfig.json b/types/lodash.pullallby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.pullallby/tsconfig.json +++ b/types/lodash.pullallby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.pullallwith/tsconfig.json b/types/lodash.pullallwith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.pullallwith/tsconfig.json +++ b/types/lodash.pullallwith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.pullat/tsconfig.json b/types/lodash.pullat/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.pullat/tsconfig.json +++ b/types/lodash.pullat/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.random/tsconfig.json b/types/lodash.random/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.random/tsconfig.json +++ b/types/lodash.random/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.range/tsconfig.json b/types/lodash.range/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.range/tsconfig.json +++ b/types/lodash.range/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.rangeright/tsconfig.json b/types/lodash.rangeright/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.rangeright/tsconfig.json +++ b/types/lodash.rangeright/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.rearg/tsconfig.json b/types/lodash.rearg/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.rearg/tsconfig.json +++ b/types/lodash.rearg/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.reduce/tsconfig.json b/types/lodash.reduce/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.reduce/tsconfig.json +++ b/types/lodash.reduce/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.reduceright/tsconfig.json b/types/lodash.reduceright/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.reduceright/tsconfig.json +++ b/types/lodash.reduceright/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.reject/tsconfig.json b/types/lodash.reject/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.reject/tsconfig.json +++ b/types/lodash.reject/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.remove/tsconfig.json b/types/lodash.remove/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.remove/tsconfig.json +++ b/types/lodash.remove/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.repeat/tsconfig.json b/types/lodash.repeat/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.repeat/tsconfig.json +++ b/types/lodash.repeat/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.replace/tsconfig.json b/types/lodash.replace/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.replace/tsconfig.json +++ b/types/lodash.replace/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.rest/tsconfig.json b/types/lodash.rest/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.rest/tsconfig.json +++ b/types/lodash.rest/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.result/tsconfig.json b/types/lodash.result/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.result/tsconfig.json +++ b/types/lodash.result/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.reverse/tsconfig.json b/types/lodash.reverse/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.reverse/tsconfig.json +++ b/types/lodash.reverse/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.round/tsconfig.json b/types/lodash.round/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.round/tsconfig.json +++ b/types/lodash.round/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sample/tsconfig.json b/types/lodash.sample/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.sample/tsconfig.json +++ b/types/lodash.sample/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.samplesize/tsconfig.json b/types/lodash.samplesize/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.samplesize/tsconfig.json +++ b/types/lodash.samplesize/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.set/tsconfig.json b/types/lodash.set/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.set/tsconfig.json +++ b/types/lodash.set/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.setwith/tsconfig.json b/types/lodash.setwith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.setwith/tsconfig.json +++ b/types/lodash.setwith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.shuffle/tsconfig.json b/types/lodash.shuffle/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.shuffle/tsconfig.json +++ b/types/lodash.shuffle/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.size/tsconfig.json b/types/lodash.size/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.size/tsconfig.json +++ b/types/lodash.size/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.slice/tsconfig.json b/types/lodash.slice/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.slice/tsconfig.json +++ b/types/lodash.slice/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.snakecase/tsconfig.json b/types/lodash.snakecase/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.snakecase/tsconfig.json +++ b/types/lodash.snakecase/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.some/tsconfig.json b/types/lodash.some/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.some/tsconfig.json +++ b/types/lodash.some/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sortby/tsconfig.json b/types/lodash.sortby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.sortby/tsconfig.json +++ b/types/lodash.sortby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sortedindex/tsconfig.json b/types/lodash.sortedindex/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.sortedindex/tsconfig.json +++ b/types/lodash.sortedindex/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sortedindexby/tsconfig.json b/types/lodash.sortedindexby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.sortedindexby/tsconfig.json +++ b/types/lodash.sortedindexby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sortedindexof/tsconfig.json b/types/lodash.sortedindexof/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.sortedindexof/tsconfig.json +++ b/types/lodash.sortedindexof/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sortedlastindex/tsconfig.json b/types/lodash.sortedlastindex/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.sortedlastindex/tsconfig.json +++ b/types/lodash.sortedlastindex/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sortedlastindexby/tsconfig.json b/types/lodash.sortedlastindexby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.sortedlastindexby/tsconfig.json +++ b/types/lodash.sortedlastindexby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sortedlastindexof/tsconfig.json b/types/lodash.sortedlastindexof/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.sortedlastindexof/tsconfig.json +++ b/types/lodash.sortedlastindexof/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sorteduniq/tsconfig.json b/types/lodash.sorteduniq/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.sorteduniq/tsconfig.json +++ b/types/lodash.sorteduniq/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sorteduniqby/tsconfig.json b/types/lodash.sorteduniqby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.sorteduniqby/tsconfig.json +++ b/types/lodash.sorteduniqby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.split/tsconfig.json b/types/lodash.split/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.split/tsconfig.json +++ b/types/lodash.split/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.spread/tsconfig.json b/types/lodash.spread/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.spread/tsconfig.json +++ b/types/lodash.spread/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.startcase/tsconfig.json b/types/lodash.startcase/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.startcase/tsconfig.json +++ b/types/lodash.startcase/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.startswith/tsconfig.json b/types/lodash.startswith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.startswith/tsconfig.json +++ b/types/lodash.startswith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.subtract/tsconfig.json b/types/lodash.subtract/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.subtract/tsconfig.json +++ b/types/lodash.subtract/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sum/tsconfig.json b/types/lodash.sum/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.sum/tsconfig.json +++ b/types/lodash.sum/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.sumby/tsconfig.json b/types/lodash.sumby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.sumby/tsconfig.json +++ b/types/lodash.sumby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.tail/tsconfig.json b/types/lodash.tail/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.tail/tsconfig.json +++ b/types/lodash.tail/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.take/tsconfig.json b/types/lodash.take/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.take/tsconfig.json +++ b/types/lodash.take/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.takeright/tsconfig.json b/types/lodash.takeright/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.takeright/tsconfig.json +++ b/types/lodash.takeright/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.takerightwhile/tsconfig.json b/types/lodash.takerightwhile/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.takerightwhile/tsconfig.json +++ b/types/lodash.takerightwhile/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.takewhile/tsconfig.json b/types/lodash.takewhile/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.takewhile/tsconfig.json +++ b/types/lodash.takewhile/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.template/tsconfig.json b/types/lodash.template/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.template/tsconfig.json +++ b/types/lodash.template/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.throttle/tsconfig.json b/types/lodash.throttle/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.throttle/tsconfig.json +++ b/types/lodash.throttle/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.times/tsconfig.json b/types/lodash.times/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.times/tsconfig.json +++ b/types/lodash.times/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.toarray/tsconfig.json b/types/lodash.toarray/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.toarray/tsconfig.json +++ b/types/lodash.toarray/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.tofinite/tsconfig.json b/types/lodash.tofinite/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.tofinite/tsconfig.json +++ b/types/lodash.tofinite/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.tointeger/tsconfig.json b/types/lodash.tointeger/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.tointeger/tsconfig.json +++ b/types/lodash.tointeger/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.tolength/tsconfig.json b/types/lodash.tolength/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.tolength/tsconfig.json +++ b/types/lodash.tolength/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.tolower/tsconfig.json b/types/lodash.tolower/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.tolower/tsconfig.json +++ b/types/lodash.tolower/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.tonumber/tsconfig.json b/types/lodash.tonumber/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.tonumber/tsconfig.json +++ b/types/lodash.tonumber/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.topairs/tsconfig.json b/types/lodash.topairs/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.topairs/tsconfig.json +++ b/types/lodash.topairs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.topairsin/tsconfig.json b/types/lodash.topairsin/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.topairsin/tsconfig.json +++ b/types/lodash.topairsin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.topath/tsconfig.json b/types/lodash.topath/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.topath/tsconfig.json +++ b/types/lodash.topath/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.toplainobject/tsconfig.json b/types/lodash.toplainobject/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.toplainobject/tsconfig.json +++ b/types/lodash.toplainobject/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.tosafeinteger/tsconfig.json b/types/lodash.tosafeinteger/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.tosafeinteger/tsconfig.json +++ b/types/lodash.tosafeinteger/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.tostring/tsconfig.json b/types/lodash.tostring/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.tostring/tsconfig.json +++ b/types/lodash.tostring/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.toupper/tsconfig.json b/types/lodash.toupper/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.toupper/tsconfig.json +++ b/types/lodash.toupper/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.transform/tsconfig.json b/types/lodash.transform/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.transform/tsconfig.json +++ b/types/lodash.transform/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.trim/tsconfig.json b/types/lodash.trim/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.trim/tsconfig.json +++ b/types/lodash.trim/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.trimend/tsconfig.json b/types/lodash.trimend/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.trimend/tsconfig.json +++ b/types/lodash.trimend/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.trimstart/tsconfig.json b/types/lodash.trimstart/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.trimstart/tsconfig.json +++ b/types/lodash.trimstart/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.truncate/tsconfig.json b/types/lodash.truncate/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.truncate/tsconfig.json +++ b/types/lodash.truncate/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.unary/tsconfig.json b/types/lodash.unary/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.unary/tsconfig.json +++ b/types/lodash.unary/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.unescape/tsconfig.json b/types/lodash.unescape/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.unescape/tsconfig.json +++ b/types/lodash.unescape/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.union/tsconfig.json b/types/lodash.union/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.union/tsconfig.json +++ b/types/lodash.union/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.unionby/tsconfig.json b/types/lodash.unionby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.unionby/tsconfig.json +++ b/types/lodash.unionby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.unionwith/tsconfig.json b/types/lodash.unionwith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.unionwith/tsconfig.json +++ b/types/lodash.unionwith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.uniq/tsconfig.json b/types/lodash.uniq/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.uniq/tsconfig.json +++ b/types/lodash.uniq/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.uniqby/tsconfig.json b/types/lodash.uniqby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.uniqby/tsconfig.json +++ b/types/lodash.uniqby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.uniqueid/tsconfig.json b/types/lodash.uniqueid/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.uniqueid/tsconfig.json +++ b/types/lodash.uniqueid/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.uniqwith/tsconfig.json b/types/lodash.uniqwith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.uniqwith/tsconfig.json +++ b/types/lodash.uniqwith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.unset/tsconfig.json b/types/lodash.unset/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.unset/tsconfig.json +++ b/types/lodash.unset/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.unzip/tsconfig.json b/types/lodash.unzip/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.unzip/tsconfig.json +++ b/types/lodash.unzip/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.unzipwith/tsconfig.json b/types/lodash.unzipwith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.unzipwith/tsconfig.json +++ b/types/lodash.unzipwith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.update/tsconfig.json b/types/lodash.update/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.update/tsconfig.json +++ b/types/lodash.update/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.updatewith/tsconfig.json b/types/lodash.updatewith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.updatewith/tsconfig.json +++ b/types/lodash.updatewith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.uppercase/tsconfig.json b/types/lodash.uppercase/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.uppercase/tsconfig.json +++ b/types/lodash.uppercase/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.upperfirst/tsconfig.json b/types/lodash.upperfirst/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.upperfirst/tsconfig.json +++ b/types/lodash.upperfirst/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.values/tsconfig.json b/types/lodash.values/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.values/tsconfig.json +++ b/types/lodash.values/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.valuesin/tsconfig.json b/types/lodash.valuesin/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.valuesin/tsconfig.json +++ b/types/lodash.valuesin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.without/tsconfig.json b/types/lodash.without/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.without/tsconfig.json +++ b/types/lodash.without/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.words/tsconfig.json b/types/lodash.words/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.words/tsconfig.json +++ b/types/lodash.words/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.wrap/tsconfig.json b/types/lodash.wrap/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.wrap/tsconfig.json +++ b/types/lodash.wrap/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.xor/tsconfig.json b/types/lodash.xor/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.xor/tsconfig.json +++ b/types/lodash.xor/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.xorby/tsconfig.json b/types/lodash.xorby/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.xorby/tsconfig.json +++ b/types/lodash.xorby/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.xorwith/tsconfig.json b/types/lodash.xorwith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.xorwith/tsconfig.json +++ b/types/lodash.xorwith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.zip/tsconfig.json b/types/lodash.zip/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.zip/tsconfig.json +++ b/types/lodash.zip/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.zipobject/tsconfig.json b/types/lodash.zipobject/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.zipobject/tsconfig.json +++ b/types/lodash.zipobject/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.zipobjectdeep/tsconfig.json b/types/lodash.zipobjectdeep/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.zipobjectdeep/tsconfig.json +++ b/types/lodash.zipobjectdeep/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash.zipwith/tsconfig.json b/types/lodash.zipwith/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/lodash.zipwith/tsconfig.json +++ b/types/lodash.zipwith/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/lodash/tsconfig.json b/types/lodash/tsconfig.json index 7bd90cb77f..7ab3d8db99 100644 --- a/types/lodash/tsconfig.json +++ b/types/lodash/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lodash/v3/tsconfig.json b/types/lodash/v3/tsconfig.json index 1040ab2909..5c5613d3f6 100644 --- a/types/lodash/v3/tsconfig.json +++ b/types/lodash/v3/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/log-symbols/tsconfig.json b/types/log-symbols/tsconfig.json index ea0c26df1f..8677d194b0 100644 --- a/types/log-symbols/tsconfig.json +++ b/types/log-symbols/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/log-update/tsconfig.json b/types/log-update/tsconfig.json index adf2bc1f11..888455297b 100644 --- a/types/log-update/tsconfig.json +++ b/types/log-update/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/logat/tsconfig.json b/types/logat/tsconfig.json index 9d7c306b17..75453c3721 100644 --- a/types/logat/tsconfig.json +++ b/types/logat/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/logform/tsconfig.json b/types/logform/tsconfig.json index c8f0b78465..e583eef148 100644 --- a/types/logform/tsconfig.json +++ b/types/logform/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/logg/tsconfig.json b/types/logg/tsconfig.json index 3aa48bf94a..9dd1a361e7 100644 --- a/types/logg/tsconfig.json +++ b/types/logg/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/loggly/tsconfig.json b/types/loggly/tsconfig.json index 7f58c0566a..76b8a59ac2 100644 --- a/types/loggly/tsconfig.json +++ b/types/loggly/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/loglevel/tsconfig.json b/types/loglevel/tsconfig.json index 24356220d6..efcc4efad8 100644 --- a/types/loglevel/tsconfig.json +++ b/types/loglevel/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/logrotate-stream/tsconfig.json b/types/logrotate-stream/tsconfig.json index 71cfc9061a..2f82ad189f 100644 --- a/types/logrotate-stream/tsconfig.json +++ b/types/logrotate-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lokijs/tsconfig.json b/types/lokijs/tsconfig.json index 39e3841c03..96175c28a4 100644 --- a/types/lokijs/tsconfig.json +++ b/types/lokijs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lolex/tsconfig.json b/types/lolex/tsconfig.json index 6a181ec052..e9ab242410 100644 --- a/types/lolex/tsconfig.json +++ b/types/lolex/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/long/tsconfig.json b/types/long/tsconfig.json index 6a07cb3a61..2d90b2337f 100644 --- a/types/long/tsconfig.json +++ b/types/long/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/loopback-boot/tsconfig.json b/types/loopback-boot/tsconfig.json index 6f4a061162..2a7cbe1ca5 100644 --- a/types/loopback-boot/tsconfig.json +++ b/types/loopback-boot/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/loopback/tsconfig.json b/types/loopback/tsconfig.json index c823167232..b967450fde 100644 --- a/types/loopback/tsconfig.json +++ b/types/loopback/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lorem-ipsum/tsconfig.json b/types/lorem-ipsum/tsconfig.json index 5575163410..c1f3e00374 100644 --- a/types/lorem-ipsum/tsconfig.json +++ b/types/lorem-ipsum/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lory.js/tsconfig.json b/types/lory.js/tsconfig.json index 6421fd1c74..94d47b69ea 100644 --- a/types/lory.js/tsconfig.json +++ b/types/lory.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/loud-rejection/tsconfig.json b/types/loud-rejection/tsconfig.json index 10ea4f7604..56909e692c 100644 --- a/types/loud-rejection/tsconfig.json +++ b/types/loud-rejection/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lovefield/tsconfig.json b/types/lovefield/tsconfig.json index 08338eadd1..fa9ed6e11d 100644 --- a/types/lovefield/tsconfig.json +++ b/types/lovefield/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lowdb/tsconfig.json b/types/lowdb/tsconfig.json index 1de72964d4..ba8db2cede 100644 --- a/types/lowdb/tsconfig.json +++ b/types/lowdb/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lowlight/tsconfig.json b/types/lowlight/tsconfig.json index 0a49e6766b..31ecea4b06 100644 --- a/types/lowlight/tsconfig.json +++ b/types/lowlight/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lozad/tsconfig.json b/types/lozad/tsconfig.json index d61aba4331..9243f7f7d4 100644 --- a/types/lozad/tsconfig.json +++ b/types/lozad/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lru-cache/tsconfig.json b/types/lru-cache/tsconfig.json index f43250b4df..de5c387339 100644 --- a/types/lru-cache/tsconfig.json +++ b/types/lru-cache/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lscache/tsconfig.json b/types/lscache/tsconfig.json index 2d2820887b..50876365a3 100644 --- a/types/lscache/tsconfig.json +++ b/types/lscache/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ltx/tsconfig.json b/types/ltx/tsconfig.json index 6dc4e36d43..d4af416e4b 100644 --- a/types/ltx/tsconfig.json +++ b/types/ltx/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/luaparse/tsconfig.json b/types/luaparse/tsconfig.json index 20bb41fd6f..8e932f496e 100644 --- a/types/luaparse/tsconfig.json +++ b/types/luaparse/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lunr/tsconfig.json b/types/lunr/tsconfig.json index 703cfe59e2..87faffb76d 100644 --- a/types/lunr/tsconfig.json +++ b/types/lunr/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lunr/v0/tsconfig.json b/types/lunr/v0/tsconfig.json index e5e4452efe..a98126157c 100644 --- a/types/lunr/v0/tsconfig.json +++ b/types/lunr/v0/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lusca/tsconfig.json b/types/lusca/tsconfig.json index 121ac13cb6..5aa370882f 100644 --- a/types/lusca/tsconfig.json +++ b/types/lusca/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/luxon/tsconfig.json b/types/luxon/tsconfig.json index 5cc88630a1..a425d6f79f 100644 --- a/types/luxon/tsconfig.json +++ b/types/luxon/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lwip/tsconfig.json b/types/lwip/tsconfig.json index 9ee6b81563..769d843dfa 100644 --- a/types/lwip/tsconfig.json +++ b/types/lwip/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/lz-string/tsconfig.json b/types/lz-string/tsconfig.json index dde67f8095..40ca2ffb09 100644 --- a/types/lz-string/tsconfig.json +++ b/types/lz-string/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/magic-number/tsconfig.json b/types/magic-number/tsconfig.json index b1f79faabc..8dedeff2ce 100644 --- a/types/magic-number/tsconfig.json +++ b/types/magic-number/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/magicsuggest/tsconfig.json b/types/magicsuggest/tsconfig.json index c653b426c2..19b82ea9cd 100644 --- a/types/magicsuggest/tsconfig.json +++ b/types/magicsuggest/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/magnet-uri/tsconfig.json b/types/magnet-uri/tsconfig.json index 6e9dde38d8..e47bf7de89 100644 --- a/types/magnet-uri/tsconfig.json +++ b/types/magnet-uri/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mailcheck/tsconfig.json b/types/mailcheck/tsconfig.json index 29af1c15d0..9f3bada102 100644 --- a/types/mailcheck/tsconfig.json +++ b/types/mailcheck/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/maildev/tsconfig.json b/types/maildev/tsconfig.json index dff916fbd2..e7d5d8aa90 100644 --- a/types/maildev/tsconfig.json +++ b/types/maildev/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mailgen/tsconfig.json b/types/mailgen/tsconfig.json index 54d65b6c43..be58901e20 100644 --- a/types/mailgen/tsconfig.json +++ b/types/mailgen/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mailparser/tsconfig.json b/types/mailparser/tsconfig.json index 3570cc37d0..0e85dee795 100644 --- a/types/mailparser/tsconfig.json +++ b/types/mailparser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/main-bower-files/tsconfig.json b/types/main-bower-files/tsconfig.json index 03d4c7ad1f..bde61fa6db 100644 --- a/types/main-bower-files/tsconfig.json +++ b/types/main-bower-files/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mainloop.js/tsconfig.json b/types/mainloop.js/tsconfig.json index 784abcc46e..b8e7bf9fd5 100644 --- a/types/mainloop.js/tsconfig.json +++ b/types/mainloop.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/make-dir/tsconfig.json b/types/make-dir/tsconfig.json index 90fb4e1cdc..f1770d52af 100644 --- a/types/make-dir/tsconfig.json +++ b/types/make-dir/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/maker.js/tsconfig.json b/types/maker.js/tsconfig.json index 62757799a0..3f15fa99e1 100644 --- a/types/maker.js/tsconfig.json +++ b/types/maker.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mandrill-api/tsconfig.json b/types/mandrill-api/tsconfig.json index 26cc6e44e4..9855b826de 100644 --- a/types/mandrill-api/tsconfig.json +++ b/types/mandrill-api/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/map-obj/tsconfig.json b/types/map-obj/tsconfig.json index c640073717..70c0243a5b 100644 --- a/types/map-obj/tsconfig.json +++ b/types/map-obj/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mapbox-gl/tsconfig.json b/types/mapbox-gl/tsconfig.json index 347f097155..efdc02c245 100644 --- a/types/mapbox-gl/tsconfig.json +++ b/types/mapbox-gl/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mapbox/tsconfig.json b/types/mapbox/tsconfig.json index 97c6c610a8..9aec764a7c 100644 --- a/types/mapbox/tsconfig.json +++ b/types/mapbox/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mapbox__shelf-pack/tsconfig.json b/types/mapbox__shelf-pack/tsconfig.json index 6dd2d6f58f..49afd3f46e 100644 --- a/types/mapbox__shelf-pack/tsconfig.json +++ b/types/mapbox__shelf-pack/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mapnik/tsconfig.json b/types/mapnik/tsconfig.json index 4112c1aab4..17f20bab52 100644 --- a/types/mapnik/tsconfig.json +++ b/types/mapnik/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mapsjs/tsconfig.json b/types/mapsjs/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/mapsjs/tsconfig.json +++ b/types/mapsjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/mariasql/tsconfig.json b/types/mariasql/tsconfig.json index 353dfdd4b9..bab62b5218 100644 --- a/types/mariasql/tsconfig.json +++ b/types/mariasql/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mark.js/tsconfig.json b/types/mark.js/tsconfig.json index 9a75e5b93b..2e55bd5541 100644 --- a/types/mark.js/tsconfig.json +++ b/types/mark.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/markdown-it-anchor/tsconfig.json b/types/markdown-it-anchor/tsconfig.json index 8b1b51c3c4..df3de49f4a 100644 --- a/types/markdown-it-anchor/tsconfig.json +++ b/types/markdown-it-anchor/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/markdown-it-container/tsconfig.json b/types/markdown-it-container/tsconfig.json index 9d32044fcb..9dd6ec9ad2 100644 --- a/types/markdown-it-container/tsconfig.json +++ b/types/markdown-it-container/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/markdown-it/tsconfig.json b/types/markdown-it/tsconfig.json index 2cddb5aefd..fc493d2d9b 100644 --- a/types/markdown-it/tsconfig.json +++ b/types/markdown-it/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/markdownlint/tsconfig.json b/types/markdownlint/tsconfig.json index 193076542b..d5d0f1b043 100644 --- a/types/markdownlint/tsconfig.json +++ b/types/markdownlint/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/marked/tsconfig.json b/types/marked/tsconfig.json index 8380a3964f..222ab4e4f1 100644 --- a/types/marked/tsconfig.json +++ b/types/marked/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/marker-animate-unobtrusive/tsconfig.json b/types/marker-animate-unobtrusive/tsconfig.json index 1b1c994cb4..68e2526510 100644 --- a/types/marker-animate-unobtrusive/tsconfig.json +++ b/types/marker-animate-unobtrusive/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/markerclustererplus/tsconfig.json b/types/markerclustererplus/tsconfig.json index f4c0adbebc..0aca5b9a0a 100644 --- a/types/markerclustererplus/tsconfig.json +++ b/types/markerclustererplus/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/markitup/tsconfig.json b/types/markitup/tsconfig.json index 384fb13be7..daa2c18b72 100644 --- a/types/markitup/tsconfig.json +++ b/types/markitup/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/maskedinput/tsconfig.json b/types/maskedinput/tsconfig.json index 90ead5dea0..0884b77742 100644 --- a/types/maskedinput/tsconfig.json +++ b/types/maskedinput/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/masonry-layout/tsconfig.json b/types/masonry-layout/tsconfig.json index e0ebcb530e..a2133122a5 100644 --- a/types/masonry-layout/tsconfig.json +++ b/types/masonry-layout/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/massive/tsconfig.json b/types/massive/tsconfig.json index da316ae1a5..916b3e2b47 100644 --- a/types/massive/tsconfig.json +++ b/types/massive/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/massive/v3/tsconfig.json b/types/massive/v3/tsconfig.json index 334d74eea1..8cfaa77662 100644 --- a/types/massive/v3/tsconfig.json +++ b/types/massive/v3/tsconfig.json @@ -19,7 +19,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/match-media-mock/tsconfig.json b/types/match-media-mock/tsconfig.json index 9187747e27..adcb526b65 100644 --- a/types/match-media-mock/tsconfig.json +++ b/types/match-media-mock/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/material-components-web/tsconfig.json b/types/material-components-web/tsconfig.json index 8b1b69457e..6960b5a465 100644 --- a/types/material-components-web/tsconfig.json +++ b/types/material-components-web/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material-design-lite/tsconfig.json b/types/material-design-lite/tsconfig.json index 0672184541..96da690ed9 100644 --- a/types/material-design-lite/tsconfig.json +++ b/types/material-design-lite/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/material-ui-datatables/tsconfig.json b/types/material-ui-datatables/tsconfig.json index 1b91dcedd6..805afdbb17 100644 --- a/types/material-ui-datatables/tsconfig.json +++ b/types/material-ui-datatables/tsconfig.json @@ -15,8 +15,7 @@ "jsx": "react", "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/material-ui-pagination/tsconfig.json b/types/material-ui-pagination/tsconfig.json index eef315d2c9..c98526003d 100644 --- a/types/material-ui-pagination/tsconfig.json +++ b/types/material-ui-pagination/tsconfig.json @@ -21,7 +21,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material-ui/tsconfig.json b/types/material-ui/tsconfig.json index 0d3a5e6d32..7d478ab185 100644 --- a/types/material-ui/tsconfig.json +++ b/types/material-ui/tsconfig.json @@ -21,7 +21,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__animation/tsconfig.json b/types/material__animation/tsconfig.json index 0cbce49fc7..6b0aa4b945 100644 --- a/types/material__animation/tsconfig.json +++ b/types/material__animation/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__auto-init/tsconfig.json b/types/material__auto-init/tsconfig.json index 0cbce49fc7..6b0aa4b945 100644 --- a/types/material__auto-init/tsconfig.json +++ b/types/material__auto-init/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__base/tsconfig.json b/types/material__base/tsconfig.json index 3cd07b146b..8d115d4eb3 100644 --- a/types/material__base/tsconfig.json +++ b/types/material__base/tsconfig.json @@ -21,7 +21,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__checkbox/tsconfig.json b/types/material__checkbox/tsconfig.json index 06c0ac3c43..2af99c6e5e 100644 --- a/types/material__checkbox/tsconfig.json +++ b/types/material__checkbox/tsconfig.json @@ -22,7 +22,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__dialog/tsconfig.json b/types/material__dialog/tsconfig.json index 9f215e4ee0..826161ca25 100644 --- a/types/material__dialog/tsconfig.json +++ b/types/material__dialog/tsconfig.json @@ -23,7 +23,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__drawer/tsconfig.json b/types/material__drawer/tsconfig.json index 4a95cf90f8..3e2a955de5 100644 --- a/types/material__drawer/tsconfig.json +++ b/types/material__drawer/tsconfig.json @@ -30,7 +30,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__form-field/tsconfig.json b/types/material__form-field/tsconfig.json index 06c0ac3c43..2af99c6e5e 100644 --- a/types/material__form-field/tsconfig.json +++ b/types/material__form-field/tsconfig.json @@ -22,7 +22,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__grid-list/tsconfig.json b/types/material__grid-list/tsconfig.json index 06c0ac3c43..2af99c6e5e 100644 --- a/types/material__grid-list/tsconfig.json +++ b/types/material__grid-list/tsconfig.json @@ -22,7 +22,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__icon-toggle/tsconfig.json b/types/material__icon-toggle/tsconfig.json index 06c0ac3c43..2af99c6e5e 100644 --- a/types/material__icon-toggle/tsconfig.json +++ b/types/material__icon-toggle/tsconfig.json @@ -22,7 +22,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__linear-progress/tsconfig.json b/types/material__linear-progress/tsconfig.json index 06c0ac3c43..2af99c6e5e 100644 --- a/types/material__linear-progress/tsconfig.json +++ b/types/material__linear-progress/tsconfig.json @@ -22,7 +22,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__menu/tsconfig.json b/types/material__menu/tsconfig.json index 6eb7f942cc..74016e9380 100644 --- a/types/material__menu/tsconfig.json +++ b/types/material__menu/tsconfig.json @@ -24,7 +24,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__radio/tsconfig.json b/types/material__radio/tsconfig.json index 06c0ac3c43..2af99c6e5e 100644 --- a/types/material__radio/tsconfig.json +++ b/types/material__radio/tsconfig.json @@ -22,7 +22,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__ripple/tsconfig.json b/types/material__ripple/tsconfig.json index 9f215e4ee0..826161ca25 100644 --- a/types/material__ripple/tsconfig.json +++ b/types/material__ripple/tsconfig.json @@ -23,7 +23,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__select/tsconfig.json b/types/material__select/tsconfig.json index 06c0ac3c43..2af99c6e5e 100644 --- a/types/material__select/tsconfig.json +++ b/types/material__select/tsconfig.json @@ -22,7 +22,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__selection-control/tsconfig.json b/types/material__selection-control/tsconfig.json index 0cbce49fc7..6b0aa4b945 100644 --- a/types/material__selection-control/tsconfig.json +++ b/types/material__selection-control/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__slider/tsconfig.json b/types/material__slider/tsconfig.json index 06c0ac3c43..2af99c6e5e 100644 --- a/types/material__slider/tsconfig.json +++ b/types/material__slider/tsconfig.json @@ -22,7 +22,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__snackbar/tsconfig.json b/types/material__snackbar/tsconfig.json index 06c0ac3c43..2af99c6e5e 100644 --- a/types/material__snackbar/tsconfig.json +++ b/types/material__snackbar/tsconfig.json @@ -22,7 +22,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__tabs/tsconfig.json b/types/material__tabs/tsconfig.json index 69e44f2eef..6cf952642a 100644 --- a/types/material__tabs/tsconfig.json +++ b/types/material__tabs/tsconfig.json @@ -31,7 +31,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__textfield/tsconfig.json b/types/material__textfield/tsconfig.json index e9d0a01a13..d70d268d9a 100644 --- a/types/material__textfield/tsconfig.json +++ b/types/material__textfield/tsconfig.json @@ -30,7 +30,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/material__toolbar/tsconfig.json b/types/material__toolbar/tsconfig.json index 9f215e4ee0..826161ca25 100644 --- a/types/material__toolbar/tsconfig.json +++ b/types/material__toolbar/tsconfig.json @@ -23,7 +23,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/materialize-css/tsconfig.json b/types/materialize-css/tsconfig.json index e018875d4a..617d1b925a 100644 --- a/types/materialize-css/tsconfig.json +++ b/types/materialize-css/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/materialize-css/v0/tsconfig.json b/types/materialize-css/v0/tsconfig.json index a627672707..3d26746416 100644 --- a/types/materialize-css/v0/tsconfig.json +++ b/types/materialize-css/v0/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/math3d/tsconfig.json b/types/math3d/tsconfig.json index 9137199265..95a0a4148d 100644 --- a/types/math3d/tsconfig.json +++ b/types/math3d/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mathjax/tsconfig.json b/types/mathjax/tsconfig.json index 2112b99a25..dcf27a92fb 100644 --- a/types/mathjax/tsconfig.json +++ b/types/mathjax/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mathjs/tsconfig.json b/types/mathjs/tsconfig.json index b303869490..c2aefff773 100644 --- a/types/mathjs/tsconfig.json +++ b/types/mathjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/matter-js/tsconfig.json b/types/matter-js/tsconfig.json index b2badceadf..bac77b2a64 100644 --- a/types/matter-js/tsconfig.json +++ b/types/matter-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/maxmind/tsconfig.json b/types/maxmind/tsconfig.json index 6891fe1c23..0b1011f8f7 100644 --- a/types/maxmind/tsconfig.json +++ b/types/maxmind/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mcustomscrollbar/tsconfig.json b/types/mcustomscrollbar/tsconfig.json index d30025133e..b112ee023e 100644 --- a/types/mcustomscrollbar/tsconfig.json +++ b/types/mcustomscrollbar/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/md5/tsconfig.json b/types/md5/tsconfig.json index a8d504f6fd..0f2d4677ab 100644 --- a/types/md5/tsconfig.json +++ b/types/md5/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mdns/tsconfig.json b/types/mdns/tsconfig.json index 66eb855866..94e58f4170 100644 --- a/types/mdns/tsconfig.json +++ b/types/mdns/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mdurl/tsconfig.json b/types/mdurl/tsconfig.json index 38ef207a0a..cae963a9b0 100644 --- a/types/mdurl/tsconfig.json +++ b/types/mdurl/tsconfig.json @@ -14,7 +14,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/media-typer/tsconfig.json b/types/media-typer/tsconfig.json index 4a1fc1c9a7..fe5268288d 100644 --- a/types/media-typer/tsconfig.json +++ b/types/media-typer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/medium-editor/tsconfig.json b/types/medium-editor/tsconfig.json index 405b91f5c7..10748accf4 100644 --- a/types/medium-editor/tsconfig.json +++ b/types/medium-editor/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mem/tsconfig.json b/types/mem/tsconfig.json index b43f6271a3..3545985694 100644 --- a/types/mem/tsconfig.json +++ b/types/mem/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/memcached/tsconfig.json b/types/memcached/tsconfig.json index daeddba4b9..720907bb10 100644 --- a/types/memcached/tsconfig.json +++ b/types/memcached/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/memoizee/tsconfig.json b/types/memoizee/tsconfig.json index 9e24c851b1..b8aa9634f1 100644 --- a/types/memoizee/tsconfig.json +++ b/types/memoizee/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/memory-cache/tsconfig.json b/types/memory-cache/tsconfig.json index 12a7e2cd2f..1d0ac845ac 100644 --- a/types/memory-cache/tsconfig.json +++ b/types/memory-cache/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/memory-fs/tsconfig.json b/types/memory-fs/tsconfig.json index b2cc01072d..13eb7da317 100644 --- a/types/memory-fs/tsconfig.json +++ b/types/memory-fs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/memwatch-next/tsconfig.json b/types/memwatch-next/tsconfig.json index 36ae49fd1d..4541aaa1cf 100644 --- a/types/memwatch-next/tsconfig.json +++ b/types/memwatch-next/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/menubar/tsconfig.json b/types/menubar/tsconfig.json index 2e3879f42f..d9d6d843b4 100644 --- a/types/menubar/tsconfig.json +++ b/types/menubar/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/meow/tsconfig.json b/types/meow/tsconfig.json index a0ad2daded..33dd0b0883 100644 --- a/types/meow/tsconfig.json +++ b/types/meow/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/merge-descriptors/tsconfig.json b/types/merge-descriptors/tsconfig.json index 59d838f171..23f7dfbcce 100644 --- a/types/merge-descriptors/tsconfig.json +++ b/types/merge-descriptors/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/merge-stream/tsconfig.json b/types/merge-stream/tsconfig.json index f36f9609f1..d68bbea99f 100644 --- a/types/merge-stream/tsconfig.json +++ b/types/merge-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/merge2/tsconfig.json b/types/merge2/tsconfig.json index 7b84762f1a..e39e70032b 100644 --- a/types/merge2/tsconfig.json +++ b/types/merge2/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/merkle/tsconfig.json b/types/merkle/tsconfig.json index 0c54ad7910..f52ca0bab3 100644 --- a/types/merkle/tsconfig.json +++ b/types/merkle/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mersenne-twister/tsconfig.json b/types/mersenne-twister/tsconfig.json index 4d4863d526..418c7a0355 100644 --- a/types/mersenne-twister/tsconfig.json +++ b/types/mersenne-twister/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/meshblu/tsconfig.json b/types/meshblu/tsconfig.json index 89b1d2672e..a00e392388 100644 --- a/types/meshblu/tsconfig.json +++ b/types/meshblu/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mess/tsconfig.json b/types/mess/tsconfig.json index 813664418e..8ca702b9a4 100644 --- a/types/mess/tsconfig.json +++ b/types/mess/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/messenger/tsconfig.json b/types/messenger/tsconfig.json index ba06a057d8..15915e2f35 100644 --- a/types/messenger/tsconfig.json +++ b/types/messenger/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/meteor-accounts-phone/tsconfig.json b/types/meteor-accounts-phone/tsconfig.json index 84dc40357b..f6945ba442 100644 --- a/types/meteor-accounts-phone/tsconfig.json +++ b/types/meteor-accounts-phone/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/meteor-collection-hooks/tsconfig.json b/types/meteor-collection-hooks/tsconfig.json index a0a676b908..462b5cb2fe 100644 --- a/types/meteor-collection-hooks/tsconfig.json +++ b/types/meteor-collection-hooks/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/meteor-jboulhous-dev/tsconfig.json b/types/meteor-jboulhous-dev/tsconfig.json index d31afd862e..6a0bc28585 100644 --- a/types/meteor-jboulhous-dev/tsconfig.json +++ b/types/meteor-jboulhous-dev/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/meteor-persistent-session/tsconfig.json b/types/meteor-persistent-session/tsconfig.json index 683c700a9d..9f9adaeead 100644 --- a/types/meteor-persistent-session/tsconfig.json +++ b/types/meteor-persistent-session/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/meteor-prime8consulting-oauth2/tsconfig.json b/types/meteor-prime8consulting-oauth2/tsconfig.json index c389ce9cf9..1d71e79d3c 100644 --- a/types/meteor-prime8consulting-oauth2/tsconfig.json +++ b/types/meteor-prime8consulting-oauth2/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/meteor-publish-composite/tsconfig.json b/types/meteor-publish-composite/tsconfig.json index 0785ede5be..81c22f6ce3 100644 --- a/types/meteor-publish-composite/tsconfig.json +++ b/types/meteor-publish-composite/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/meteor-roles/tsconfig.json b/types/meteor-roles/tsconfig.json index 51a1ad5bde..037db6b9f4 100644 --- a/types/meteor-roles/tsconfig.json +++ b/types/meteor-roles/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/meteor/tsconfig.json b/types/meteor/tsconfig.json index 52e222c94e..b6cfc721f1 100644 --- a/types/meteor/tsconfig.json +++ b/types/meteor/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "accounts.d.ts", diff --git a/types/method-override/tsconfig.json b/types/method-override/tsconfig.json index 650db93067..1487adc964 100644 --- a/types/method-override/tsconfig.json +++ b/types/method-override/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/methods/tsconfig.json b/types/methods/tsconfig.json index 3a5f1b3b18..1b3353ca82 100644 --- a/types/methods/tsconfig.json +++ b/types/methods/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/metric-suffix/tsconfig.json b/types/metric-suffix/tsconfig.json index 47128d3617..fc4d7b871f 100644 --- a/types/metric-suffix/tsconfig.json +++ b/types/metric-suffix/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mfiles/tsconfig.json b/types/mfiles/tsconfig.json index 530a0d5827..295542875a 100644 --- a/types/mfiles/tsconfig.json +++ b/types/mfiles/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/micro/tsconfig.json b/types/micro/tsconfig.json index 2d341abe8d..7f1e37655b 100644 --- a/types/micro/tsconfig.json +++ b/types/micro/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/micromatch/tsconfig.json b/types/micromatch/tsconfig.json index 02774511a8..277346ea71 100644 --- a/types/micromatch/tsconfig.json +++ b/types/micromatch/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/micromatch/v2/tsconfig.json b/types/micromatch/v2/tsconfig.json index a0e11a8a22..e011e8c1cc 100644 --- a/types/micromatch/v2/tsconfig.json +++ b/types/micromatch/v2/tsconfig.json @@ -19,8 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/microrouter/tsconfig.json b/types/microrouter/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/microrouter/tsconfig.json +++ b/types/microrouter/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/microsoft-ajax/tsconfig.json b/types/microsoft-ajax/tsconfig.json index 1e27f3d6dd..3a8d8bcc37 100644 --- a/types/microsoft-ajax/tsconfig.json +++ b/types/microsoft-ajax/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/microsoft-live-connect/tsconfig.json b/types/microsoft-live-connect/tsconfig.json index 555540b344..7895e4debe 100644 --- a/types/microsoft-live-connect/tsconfig.json +++ b/types/microsoft-live-connect/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/microsoft-sdk-soap/tsconfig.json b/types/microsoft-sdk-soap/tsconfig.json index 6bc4ac7835..3eee7c6b1c 100644 --- a/types/microsoft-sdk-soap/tsconfig.json +++ b/types/microsoft-sdk-soap/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/microsoftteams/tsconfig.json b/types/microsoftteams/tsconfig.json index 6014c8e5d7..95b8785492 100644 --- a/types/microsoftteams/tsconfig.json +++ b/types/microsoftteams/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/microtime/tsconfig.json b/types/microtime/tsconfig.json index 7991d90494..c5989f5799 100644 --- a/types/microtime/tsconfig.json +++ b/types/microtime/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/milkcocoa/tsconfig.json b/types/milkcocoa/tsconfig.json index 22c7cb7830..def0b291ed 100644 --- a/types/milkcocoa/tsconfig.json +++ b/types/milkcocoa/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/milliseconds/tsconfig.json b/types/milliseconds/tsconfig.json index aa931efbdb..eb756035ba 100644 --- a/types/milliseconds/tsconfig.json +++ b/types/milliseconds/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mime-db/tsconfig.json b/types/mime-db/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/mime-db/tsconfig.json +++ b/types/mime-db/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/mime-types/tsconfig.json b/types/mime-types/tsconfig.json index f197d1a1a5..d197e5f93c 100644 --- a/types/mime-types/tsconfig.json +++ b/types/mime-types/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mime/tsconfig.json b/types/mime/tsconfig.json index 45e7b9f82f..8e0eb9488e 100644 --- a/types/mime/tsconfig.json +++ b/types/mime/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mimos/tsconfig.json b/types/mimos/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/mimos/tsconfig.json +++ b/types/mimos/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/mina/tsconfig.json b/types/mina/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/mina/tsconfig.json +++ b/types/mina/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/minilog/tsconfig.json b/types/minilog/tsconfig.json index eabf1dc6ad..b999744170 100644 --- a/types/minilog/tsconfig.json +++ b/types/minilog/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/minimatch/tsconfig.json b/types/minimatch/tsconfig.json index c0e55963be..7180fe6a29 100644 --- a/types/minimatch/tsconfig.json +++ b/types/minimatch/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/minimist-options/tsconfig.json b/types/minimist-options/tsconfig.json index 54036aa94c..97ee51708b 100644 --- a/types/minimist-options/tsconfig.json +++ b/types/minimist-options/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/minimist/tsconfig.json b/types/minimist/tsconfig.json index 55bf6c93ab..27be869de4 100644 --- a/types/minimist/tsconfig.json +++ b/types/minimist/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/minipass/tsconfig.json b/types/minipass/tsconfig.json index 4d54021296..9115c6fe85 100644 --- a/types/minipass/tsconfig.json +++ b/types/minipass/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mirrorx/tsconfig.json b/types/mirrorx/tsconfig.json index 8adf5ab4b5..e0b4babda6 100644 --- a/types/mirrorx/tsconfig.json +++ b/types/mirrorx/tsconfig.json @@ -21,7 +21,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/mithril-global/tsconfig.json b/types/mithril-global/tsconfig.json index 0a7b5cb267..f48de2bee8 100644 --- a/types/mithril-global/tsconfig.json +++ b/types/mithril-global/tsconfig.json @@ -11,7 +11,6 @@ "strictFunctionTypes": true, "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mithril/tsconfig.json b/types/mithril/tsconfig.json index e336b24f36..3164285eb5 100644 --- a/types/mithril/tsconfig.json +++ b/types/mithril/tsconfig.json @@ -10,7 +10,6 @@ "strictNullChecks": true, "strictFunctionTypes": false, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noEmit": true, "baseUrl": "../", "typeRoots": [ diff --git a/types/mitm/tsconfig.json b/types/mitm/tsconfig.json index 86cb3b52d7..bb19fc1d20 100644 --- a/types/mitm/tsconfig.json +++ b/types/mitm/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mixpanel/tsconfig.json b/types/mixpanel/tsconfig.json index c12c4200d9..f5cbbce2f5 100644 --- a/types/mixpanel/tsconfig.json +++ b/types/mixpanel/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mixto/tsconfig.json b/types/mixto/tsconfig.json index f780617abc..8cbc98843f 100644 --- a/types/mixto/tsconfig.json +++ b/types/mixto/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mkdirp/tsconfig.json b/types/mkdirp/tsconfig.json index 605500591f..a5bd09ff68 100644 --- a/types/mkdirp/tsconfig.json +++ b/types/mkdirp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mkpath/tsconfig.json b/types/mkpath/tsconfig.json index 8fdbb85d17..e114847c25 100644 --- a/types/mkpath/tsconfig.json +++ b/types/mkpath/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mmmagic/tsconfig.json b/types/mmmagic/tsconfig.json index 775da23960..074e791e6d 100644 --- a/types/mmmagic/tsconfig.json +++ b/types/mmmagic/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mobx-apollo/tsconfig.json b/types/mobx-apollo/tsconfig.json index 969ca52e32..cff69dc655 100644 --- a/types/mobx-apollo/tsconfig.json +++ b/types/mobx-apollo/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mocha-phantomjs/tsconfig.json b/types/mocha-phantomjs/tsconfig.json index 4ab29d667e..12d2f5cf28 100644 --- a/types/mocha-phantomjs/tsconfig.json +++ b/types/mocha-phantomjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mocha-steps/tsconfig.json b/types/mocha-steps/tsconfig.json index 8447cc6306..d8d2da980b 100644 --- a/types/mocha-steps/tsconfig.json +++ b/types/mocha-steps/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mocha/tsconfig.json b/types/mocha/tsconfig.json index 469634a2f1..6e88356fe4 100644 --- a/types/mocha/tsconfig.json +++ b/types/mocha/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mochaccino/tsconfig.json b/types/mochaccino/tsconfig.json index a309a1969a..3018a827ec 100644 --- a/types/mochaccino/tsconfig.json +++ b/types/mochaccino/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mock-aws-s3/tsconfig.json b/types/mock-aws-s3/tsconfig.json index 352631ebac..052dbc9fcf 100644 --- a/types/mock-aws-s3/tsconfig.json +++ b/types/mock-aws-s3/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mock-fs/tsconfig.json b/types/mock-fs/tsconfig.json index 03b1ec9bf9..b460b4d1d1 100644 --- a/types/mock-fs/tsconfig.json +++ b/types/mock-fs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mock-knex/tsconfig.json b/types/mock-knex/tsconfig.json index c06624f84a..73c75d8d0e 100644 --- a/types/mock-knex/tsconfig.json +++ b/types/mock-knex/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mock-raf/tsconfig.json b/types/mock-raf/tsconfig.json index 2430cbd74e..dfb1b63e78 100644 --- a/types/mock-raf/tsconfig.json +++ b/types/mock-raf/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mock-require/tsconfig.json b/types/mock-require/tsconfig.json index 3cd28faba0..1f6be404c6 100644 --- a/types/mock-require/tsconfig.json +++ b/types/mock-require/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mockdate/tsconfig.json b/types/mockdate/tsconfig.json index a5d4ba452b..062a1f1110 100644 --- a/types/mockdate/tsconfig.json +++ b/types/mockdate/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mockery/tsconfig.json b/types/mockery/tsconfig.json index 0b91197c4d..a8eef69452 100644 --- a/types/mockery/tsconfig.json +++ b/types/mockery/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mockjs/tsconfig.json b/types/mockjs/tsconfig.json index 6a407840b6..631ad48210 100644 --- a/types/mockjs/tsconfig.json +++ b/types/mockjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/modernizr/tsconfig.json b/types/modernizr/tsconfig.json index 5a57efda40..291b4008d2 100644 --- a/types/modernizr/tsconfig.json +++ b/types/modernizr/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/modesl/tsconfig.json b/types/modesl/tsconfig.json index 9454dd9a5a..3fc91a7f71 100644 --- a/types/modesl/tsconfig.json +++ b/types/modesl/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/moji/tsconfig.json b/types/moji/tsconfig.json index f529d10796..f3cddeb969 100644 --- a/types/moji/tsconfig.json +++ b/types/moji/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/moment-business-time/tsconfig.json b/types/moment-business-time/tsconfig.json index 06211c3c46..b993b8adc0 100644 --- a/types/moment-business-time/tsconfig.json +++ b/types/moment-business-time/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/moment-business/tsconfig.json b/types/moment-business/tsconfig.json index 2f206c8966..b7307b4121 100644 --- a/types/moment-business/tsconfig.json +++ b/types/moment-business/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/moment-duration-format/tsconfig.json b/types/moment-duration-format/tsconfig.json index 49adb2a08e..997b0f907e 100644 --- a/types/moment-duration-format/tsconfig.json +++ b/types/moment-duration-format/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/moment-holiday/tsconfig.json b/types/moment-holiday/tsconfig.json index 886bd77564..aebc8f8619 100644 --- a/types/moment-holiday/tsconfig.json +++ b/types/moment-holiday/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/moment-jalaali/tsconfig.json b/types/moment-jalaali/tsconfig.json index 4d2026fec3..6c52d43cbf 100644 --- a/types/moment-jalaali/tsconfig.json +++ b/types/moment-jalaali/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/moment-range/tsconfig.json b/types/moment-range/tsconfig.json index aa339a6027..1da3b569e0 100644 --- a/types/moment-range/tsconfig.json +++ b/types/moment-range/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/moment-round/tsconfig.json b/types/moment-round/tsconfig.json index 13758cbc39..f6761bd247 100644 --- a/types/moment-round/tsconfig.json +++ b/types/moment-round/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/moment-strftime2/tsconfig.json b/types/moment-strftime2/tsconfig.json index c4c30990bd..780f518cfa 100644 --- a/types/moment-strftime2/tsconfig.json +++ b/types/moment-strftime2/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/moment-timezone/tsconfig.json b/types/moment-timezone/tsconfig.json index 16a786e080..62cbfb4214 100644 --- a/types/moment-timezone/tsconfig.json +++ b/types/moment-timezone/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mongodb/tsconfig.json b/types/mongodb/tsconfig.json index b5c0a3c5de..8ed16ed7e6 100644 --- a/types/mongodb/tsconfig.json +++ b/types/mongodb/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mongodb/v1/tsconfig.json b/types/mongodb/v1/tsconfig.json index e082a3d12e..c20dfaa9c6 100644 --- a/types/mongodb/v1/tsconfig.json +++ b/types/mongodb/v1/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mongodb/v2/tsconfig.json b/types/mongodb/v2/tsconfig.json index 34cee3be18..7bfc92fc32 100644 --- a/types/mongodb/v2/tsconfig.json +++ b/types/mongodb/v2/tsconfig.json @@ -19,8 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-auto-increment/tsconfig.json b/types/mongoose-auto-increment/tsconfig.json index 451044e5e6..faef447b4d 100644 --- a/types/mongoose-auto-increment/tsconfig.json +++ b/types/mongoose-auto-increment/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-deep-populate/tsconfig.json b/types/mongoose-deep-populate/tsconfig.json index 6f3c2c0a9a..40544f37a1 100644 --- a/types/mongoose-deep-populate/tsconfig.json +++ b/types/mongoose-deep-populate/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-geojson-schema/tsconfig.json b/types/mongoose-geojson-schema/tsconfig.json index 4a9b4ef787..e2340e44a8 100644 --- a/types/mongoose-geojson-schema/tsconfig.json +++ b/types/mongoose-geojson-schema/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-mock/tsconfig.json b/types/mongoose-mock/tsconfig.json index 8555533c01..b3cacf1757 100644 --- a/types/mongoose-mock/tsconfig.json +++ b/types/mongoose-mock/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-paginate/tsconfig.json b/types/mongoose-paginate/tsconfig.json index c7d7fccdcc..3194368f11 100644 --- a/types/mongoose-paginate/tsconfig.json +++ b/types/mongoose-paginate/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-promise/tsconfig.json b/types/mongoose-promise/tsconfig.json index 1116f1ca84..68c68b35a1 100644 --- a/types/mongoose-promise/tsconfig.json +++ b/types/mongoose-promise/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-seeder/tsconfig.json b/types/mongoose-seeder/tsconfig.json index 7b4ef1eaa1..d5d44b75cc 100644 --- a/types/mongoose-seeder/tsconfig.json +++ b/types/mongoose-seeder/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-sequence/tsconfig.json b/types/mongoose-sequence/tsconfig.json index e9e23837ed..79efa97e34 100644 --- a/types/mongoose-sequence/tsconfig.json +++ b/types/mongoose-sequence/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-simple-random/tsconfig.json b/types/mongoose-simple-random/tsconfig.json index 7c2f108e9e..3b879fd8f0 100644 --- a/types/mongoose-simple-random/tsconfig.json +++ b/types/mongoose-simple-random/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mongoose-unique-validator/tsconfig.json b/types/mongoose-unique-validator/tsconfig.json index 8ab3ec79c9..02d461889d 100644 --- a/types/mongoose-unique-validator/tsconfig.json +++ b/types/mongoose-unique-validator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mongoose/tsconfig.json b/types/mongoose/tsconfig.json index 04f1bc2b3b..55e06ad201 100644 --- a/types/mongoose/tsconfig.json +++ b/types/mongoose/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mongoose/v3/tsconfig.json b/types/mongoose/v3/tsconfig.json index 505d24e636..2ea987dff7 100644 --- a/types/mongoose/v3/tsconfig.json +++ b/types/mongoose/v3/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mongoose/v4/tsconfig.json b/types/mongoose/v4/tsconfig.json index f2e0b541c8..ad36fd5ca3 100644 --- a/types/mongoose/v4/tsconfig.json +++ b/types/mongoose/v4/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/moo/tsconfig.json b/types/moo/tsconfig.json index 2203d94341..e2659ef342 100644 --- a/types/moo/tsconfig.json +++ b/types/moo/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/moonjs/tsconfig.json b/types/moonjs/tsconfig.json index f26c03118b..b66e636445 100644 --- a/types/moonjs/tsconfig.json +++ b/types/moonjs/tsconfig.json @@ -20,7 +20,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/morgan/tsconfig.json b/types/morgan/tsconfig.json index 40d97bcb99..87ca0a6d5d 100644 --- a/types/morgan/tsconfig.json +++ b/types/morgan/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/morris.js/tsconfig.json b/types/morris.js/tsconfig.json index 4be75cfd20..10aa9f3c2d 100644 --- a/types/morris.js/tsconfig.json +++ b/types/morris.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mousetrap/tsconfig.json b/types/mousetrap/tsconfig.json index 7cf51a0ec3..ade8c0d47d 100644 --- a/types/mousetrap/tsconfig.json +++ b/types/mousetrap/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/move-concurrently/tsconfig.json b/types/move-concurrently/tsconfig.json index d9ccd40b52..a0e00356c8 100644 --- a/types/move-concurrently/tsconfig.json +++ b/types/move-concurrently/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/moviedb/tsconfig.json b/types/moviedb/tsconfig.json index 9cd2ba13e8..5b182007ca 100644 --- a/types/moviedb/tsconfig.json +++ b/types/moviedb/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/moxios/tsconfig.json b/types/moxios/tsconfig.json index 000e8feeb0..a0224c335f 100644 --- a/types/moxios/tsconfig.json +++ b/types/moxios/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mozilla-readability/tsconfig.json b/types/mozilla-readability/tsconfig.json index 07af9472c3..6ec688cf2f 100644 --- a/types/mozilla-readability/tsconfig.json +++ b/types/mozilla-readability/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mpromise/tsconfig.json b/types/mpromise/tsconfig.json index e76a3809d8..6f5f9d6abc 100644 --- a/types/mpromise/tsconfig.json +++ b/types/mpromise/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mri/tsconfig.json b/types/mri/tsconfig.json index 60f8ce3044..9218819c6b 100644 --- a/types/mri/tsconfig.json +++ b/types/mri/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ms/tsconfig.json b/types/ms/tsconfig.json index 080a128095..aaaa9f14e8 100644 --- a/types/ms/tsconfig.json +++ b/types/ms/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/msgpack-lite/tsconfig.json b/types/msgpack-lite/tsconfig.json index 73b2be7f36..014ff12483 100644 --- a/types/msgpack-lite/tsconfig.json +++ b/types/msgpack-lite/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/msgpack/tsconfig.json b/types/msgpack/tsconfig.json index be68498cc9..b004630b6c 100644 --- a/types/msgpack/tsconfig.json +++ b/types/msgpack/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/msgpack5/tsconfig.json b/types/msgpack5/tsconfig.json index 73f103564f..f58f4a8a94 100644 --- a/types/msgpack5/tsconfig.json +++ b/types/msgpack5/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/msnodesql/tsconfig.json b/types/msnodesql/tsconfig.json index 5768b83caa..8eb58e9531 100644 --- a/types/msnodesql/tsconfig.json +++ b/types/msnodesql/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/msportalfx-test/tsconfig.json b/types/msportalfx-test/tsconfig.json index 043b903835..4df355d685 100644 --- a/types/msportalfx-test/tsconfig.json +++ b/types/msportalfx-test/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mssql/tsconfig.json b/types/mssql/tsconfig.json index ee8e17a585..51f03fd652 100644 --- a/types/mssql/tsconfig.json +++ b/types/mssql/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mu2/tsconfig.json b/types/mu2/tsconfig.json index 929e73f45b..3e01589707 100644 --- a/types/mu2/tsconfig.json +++ b/types/mu2/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/multer-gridfs-storage/tsconfig.json b/types/multer-gridfs-storage/tsconfig.json index 3644f79add..1daa734d97 100644 --- a/types/multer-gridfs-storage/tsconfig.json +++ b/types/multer-gridfs-storage/tsconfig.json @@ -19,8 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/multer-gridfs-storage/v1/tsconfig.json b/types/multer-gridfs-storage/v1/tsconfig.json index 00e1091a16..8fb06dfd29 100644 --- a/types/multer-gridfs-storage/v1/tsconfig.json +++ b/types/multer-gridfs-storage/v1/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/multer-s3/tsconfig.json b/types/multer-s3/tsconfig.json index 807cd374a5..812fd71b21 100644 --- a/types/multer-s3/tsconfig.json +++ b/types/multer-s3/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/multer/tsconfig.json b/types/multer/tsconfig.json index b62fe04125..33a047e9dd 100644 --- a/types/multer/tsconfig.json +++ b/types/multer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/multi-typeof/tsconfig.json b/types/multi-typeof/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/multi-typeof/tsconfig.json +++ b/types/multi-typeof/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/multimatch/tsconfig.json b/types/multimatch/tsconfig.json index 98647c67da..c7ee9e6f63 100644 --- a/types/multimatch/tsconfig.json +++ b/types/multimatch/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/multiparty/tsconfig.json b/types/multiparty/tsconfig.json index 2f73f00ca7..0adadcf9a3 100644 --- a/types/multiparty/tsconfig.json +++ b/types/multiparty/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/multiplexjs/tsconfig.json b/types/multiplexjs/tsconfig.json index 94e2a89169..bad1ec3652 100644 --- a/types/multiplexjs/tsconfig.json +++ b/types/multiplexjs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/multisort/tsconfig.json b/types/multisort/tsconfig.json index 2602e31746..c7e40754ad 100644 --- a/types/multisort/tsconfig.json +++ b/types/multisort/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/multistream/tsconfig.json b/types/multistream/tsconfig.json index cb9258d5c6..7606de5fc8 100644 --- a/types/multistream/tsconfig.json +++ b/types/multistream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/murmurhash-js/tsconfig.json b/types/murmurhash-js/tsconfig.json index 290fd09fe3..bcebcbf18e 100644 --- a/types/murmurhash-js/tsconfig.json +++ b/types/murmurhash-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/murmurhash3js/tsconfig.json b/types/murmurhash3js/tsconfig.json index 109bec1b1b..3f3a3a6fe3 100644 --- a/types/murmurhash3js/tsconfig.json +++ b/types/murmurhash3js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/musicmetadata/tsconfig.json b/types/musicmetadata/tsconfig.json index 55d870abf7..da6158b218 100644 --- a/types/musicmetadata/tsconfig.json +++ b/types/musicmetadata/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mustache/tsconfig.json b/types/mustache/tsconfig.json index c1bde7af8b..dd50c6f999 100644 --- a/types/mustache/tsconfig.json +++ b/types/mustache/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/mv/tsconfig.json b/types/mv/tsconfig.json index 2ce04b2cfa..fc51bf757d 100644 --- a/types/mv/tsconfig.json +++ b/types/mv/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mysql/tsconfig.json b/types/mysql/tsconfig.json index d2a4788d7c..010904ef8b 100644 --- a/types/mysql/tsconfig.json +++ b/types/mysql/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/mz/tsconfig.json b/types/mz/tsconfig.json index bdfa029d8b..f6a2ef5871 100644 --- a/types/mz/tsconfig.json +++ b/types/mz/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "fs.d.ts", diff --git a/types/n3/tsconfig.json b/types/n3/tsconfig.json index c7ec1df12b..4ba121903d 100644 --- a/types/n3/tsconfig.json +++ b/types/n3/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nano/tsconfig.json b/types/nano/tsconfig.json index f0d7a6a4a2..7586d0b0bf 100644 --- a/types/nano/tsconfig.json +++ b/types/nano/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nanoajax/tsconfig.json b/types/nanoajax/tsconfig.json index ee0559e4ba..0da0980613 100644 --- a/types/nanoajax/tsconfig.json +++ b/types/nanoajax/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nanoid/tsconfig.json b/types/nanoid/tsconfig.json index 6a7acb9122..cab6900700 100644 --- a/types/nanoid/tsconfig.json +++ b/types/nanoid/tsconfig.json @@ -14,7 +14,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/nanomsg/tsconfig.json b/types/nanomsg/tsconfig.json index 6f1a4347f9..e42b4841af 100644 --- a/types/nanomsg/tsconfig.json +++ b/types/nanomsg/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nanoscroller/tsconfig.json b/types/nanoscroller/tsconfig.json index 51d0db097f..7aeed7ab3d 100644 --- a/types/nanoscroller/tsconfig.json +++ b/types/nanoscroller/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nanp/tsconfig.json b/types/nanp/tsconfig.json index 0aae22261b..d873227232 100644 --- a/types/nanp/tsconfig.json +++ b/types/nanp/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nats-hemera/tsconfig.json b/types/nats-hemera/tsconfig.json index 4238f55a02..69c6083e56 100644 --- a/types/nats-hemera/tsconfig.json +++ b/types/nats-hemera/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/natsort/tsconfig.json b/types/natsort/tsconfig.json index 34d62a95ff..a23b1f358e 100644 --- a/types/natsort/tsconfig.json +++ b/types/natsort/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/natural-sort/tsconfig.json b/types/natural-sort/tsconfig.json index 2a06885468..b592fcdb65 100644 --- a/types/natural-sort/tsconfig.json +++ b/types/natural-sort/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/natural/tsconfig.json b/types/natural/tsconfig.json index a996ed84dc..c04f83d753 100644 --- a/types/natural/tsconfig.json +++ b/types/natural/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/navigation-react/tsconfig.json b/types/navigation-react/tsconfig.json index ec2d3dabb9..75ad101514 100644 --- a/types/navigation-react/tsconfig.json +++ b/types/navigation-react/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/navigation/tsconfig.json b/types/navigation/tsconfig.json index fc77d66124..8b8e594ec2 100644 --- a/types/navigation/tsconfig.json +++ b/types/navigation/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/navigo/tsconfig.json b/types/navigo/tsconfig.json index 670c3e99fb..c43965d118 100644 --- a/types/navigo/tsconfig.json +++ b/types/navigo/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nblas/tsconfig.json b/types/nblas/tsconfig.json index 6d5a0a0b0b..9da3a941dd 100644 --- a/types/nblas/tsconfig.json +++ b/types/nblas/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nconf/tsconfig.json b/types/nconf/tsconfig.json index 2d213b4bc2..134b7a4fb9 100644 --- a/types/nconf/tsconfig.json +++ b/types/nconf/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ncp/tsconfig.json b/types/ncp/tsconfig.json index cd3215ff35..ad2247a6c9 100644 --- a/types/ncp/tsconfig.json +++ b/types/ncp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ndarray/tsconfig.json b/types/ndarray/tsconfig.json index cfaf8d710e..9f2c134f3d 100644 --- a/types/ndarray/tsconfig.json +++ b/types/ndarray/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nearley/tsconfig.json b/types/nearley/tsconfig.json index d2ad939fb7..bce8ee061a 100644 --- a/types/nearley/tsconfig.json +++ b/types/nearley/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nedb-logger/tsconfig.json b/types/nedb-logger/tsconfig.json index 33e65ee249..857cf7bb11 100644 --- a/types/nedb-logger/tsconfig.json +++ b/types/nedb-logger/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nedb/tsconfig.json b/types/nedb/tsconfig.json index 71be3fc3dc..220dc976e1 100644 --- a/types/nedb/tsconfig.json +++ b/types/nedb/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/needle/tsconfig.json b/types/needle/tsconfig.json index 13fb81e8b3..b0f67719ed 100644 --- a/types/needle/tsconfig.json +++ b/types/needle/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/needle/v0/tsconfig.json b/types/needle/v0/tsconfig.json index 0cc54647f9..3ea9ca7f93 100644 --- a/types/needle/v0/tsconfig.json +++ b/types/needle/v0/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/needle/v1/tsconfig.json b/types/needle/v1/tsconfig.json index 9e199dda15..7918dc3952 100644 --- a/types/needle/v1/tsconfig.json +++ b/types/needle/v1/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/negotiator/tsconfig.json b/types/negotiator/tsconfig.json index 83e42b29aa..89c06ad77a 100644 --- a/types/negotiator/tsconfig.json +++ b/types/negotiator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/neo4j/tsconfig.json b/types/neo4j/tsconfig.json index 24d94b0134..fa1c26ea60 100644 --- a/types/neo4j/tsconfig.json +++ b/types/neo4j/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nes/tsconfig.json b/types/nes/tsconfig.json index 5fe10888ae..dc39b99fed 100644 --- a/types/nes/tsconfig.json +++ b/types/nes/tsconfig.json @@ -14,12 +14,15 @@ ], "types": [], "paths": { - "boom": ["boom/v4"], - "hapi": ["hapi/v16"] + "boom": [ + "boom/v4" + ], + "hapi": [ + "hapi/v16" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", @@ -38,4 +41,4 @@ "test/subscriptions-client.ts", "test/subscriptions-server.ts" ] -} +} \ No newline at end of file diff --git a/types/net-keepalive/tsconfig.json b/types/net-keepalive/tsconfig.json index 937edbecfb..7a0277396e 100644 --- a/types/net-keepalive/tsconfig.json +++ b/types/net-keepalive/tsconfig.json @@ -10,7 +10,6 @@ ], "types": [], "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, diff --git a/types/netmask/tsconfig.json b/types/netmask/tsconfig.json index db74d19edf..8666e91a29 100644 --- a/types/netmask/tsconfig.json +++ b/types/netmask/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/new-relic-browser/tsconfig.json b/types/new-relic-browser/tsconfig.json index ab3b384d26..bf58b9de75 100644 --- a/types/new-relic-browser/tsconfig.json +++ b/types/new-relic-browser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/newrelic/tsconfig.json b/types/newrelic/tsconfig.json index a8551b63bb..479dde054f 100644 --- a/types/newrelic/tsconfig.json +++ b/types/newrelic/tsconfig.json @@ -8,7 +8,6 @@ "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, - "esModuleInterop": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +20,4 @@ "index.d.ts", "newrelic-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/nexpect/tsconfig.json b/types/nexpect/tsconfig.json index 712c1fb7b4..d73f78e043 100644 --- a/types/nexpect/tsconfig.json +++ b/types/nexpect/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/next-redux-wrapper/tsconfig.json b/types/next-redux-wrapper/tsconfig.json index 3108e45df1..7cfafdcb96 100644 --- a/types/next-redux-wrapper/tsconfig.json +++ b/types/next-redux-wrapper/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/next/tsconfig.json b/types/next/tsconfig.json index 850e09cb80..05e0b4e7ad 100644 --- a/types/next/tsconfig.json +++ b/types/next/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ng-command/tsconfig.json b/types/ng-command/tsconfig.json index be46dfcb9b..f64e284ecb 100644 --- a/types/ng-command/tsconfig.json +++ b/types/ng-command/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ng-cordova/tsconfig.json b/types/ng-cordova/tsconfig.json index 0572c04f8b..d0885bd15f 100644 --- a/types/ng-cordova/tsconfig.json +++ b/types/ng-cordova/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ng-dialog/tsconfig.json b/types/ng-dialog/tsconfig.json index 187992997a..91539585a7 100644 --- a/types/ng-dialog/tsconfig.json +++ b/types/ng-dialog/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ng-facebook/tsconfig.json b/types/ng-facebook/tsconfig.json index 701a75e7e9..dc239cbe5a 100644 --- a/types/ng-facebook/tsconfig.json +++ b/types/ng-facebook/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ng-file-upload/tsconfig.json b/types/ng-file-upload/tsconfig.json index 4cc1ff73fa..b08385c840 100644 --- a/types/ng-file-upload/tsconfig.json +++ b/types/ng-file-upload/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ng-flow/tsconfig.json b/types/ng-flow/tsconfig.json index f10dd6c6a1..47d56906c5 100644 --- a/types/ng-flow/tsconfig.json +++ b/types/ng-flow/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ng-grid/tsconfig.json b/types/ng-grid/tsconfig.json index 84bb17f123..5fcf2d1373 100644 --- a/types/ng-grid/tsconfig.json +++ b/types/ng-grid/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ng-i18next/tsconfig.json b/types/ng-i18next/tsconfig.json index 038677906d..bf666912a5 100644 --- a/types/ng-i18next/tsconfig.json +++ b/types/ng-i18next/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ng-notify/tsconfig.json b/types/ng-notify/tsconfig.json index 28342f01d7..c8cf3b029a 100644 --- a/types/ng-notify/tsconfig.json +++ b/types/ng-notify/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ng-stomp/tsconfig.json b/types/ng-stomp/tsconfig.json index 2f1e898136..151a99eb53 100644 --- a/types/ng-stomp/tsconfig.json +++ b/types/ng-stomp/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ngbootbox/tsconfig.json b/types/ngbootbox/tsconfig.json index e4abac771c..a5e7d7d878 100644 --- a/types/ngbootbox/tsconfig.json +++ b/types/ngbootbox/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ngeohash/tsconfig.json b/types/ngeohash/tsconfig.json index 81b220b62e..7f248102e6 100644 --- a/types/ngeohash/tsconfig.json +++ b/types/ngeohash/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ngkookies/tsconfig.json b/types/ngkookies/tsconfig.json index 889586869b..79178992a5 100644 --- a/types/ngkookies/tsconfig.json +++ b/types/ngkookies/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ngmap/tsconfig.json b/types/ngmap/tsconfig.json index 1fe1544f80..0427e8a338 100644 --- a/types/ngmap/tsconfig.json +++ b/types/ngmap/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ngprogress-lite/tsconfig.json b/types/ngprogress-lite/tsconfig.json index 9e54886818..5e8b28fdb2 100644 --- a/types/ngprogress-lite/tsconfig.json +++ b/types/ngprogress-lite/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ngprogress/tsconfig.json b/types/ngprogress/tsconfig.json index 2a4888f759..237f5f5962 100644 --- a/types/ngprogress/tsconfig.json +++ b/types/ngprogress/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ngreact/tsconfig.json b/types/ngreact/tsconfig.json index e8f4365a16..39325499dd 100644 --- a/types/ngreact/tsconfig.json +++ b/types/ngreact/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/ngstorage/tsconfig.json b/types/ngstorage/tsconfig.json index dad284112c..5bdb5efc09 100644 --- a/types/ngstorage/tsconfig.json +++ b/types/ngstorage/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ngtoaster/tsconfig.json b/types/ngtoaster/tsconfig.json index b1b426ad7b..5bc6882baf 100644 --- a/types/ngtoaster/tsconfig.json +++ b/types/ngtoaster/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ngwysiwyg/tsconfig.json b/types/ngwysiwyg/tsconfig.json index b780ce798a..4292c2cff6 100644 --- a/types/ngwysiwyg/tsconfig.json +++ b/types/ngwysiwyg/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nightmare/tsconfig.json b/types/nightmare/tsconfig.json index a2e7b85879..4bce8306fd 100644 --- a/types/nightmare/tsconfig.json +++ b/types/nightmare/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nightwatch/tsconfig.json b/types/nightwatch/tsconfig.json index e08524ac5c..4b080c6048 100644 --- a/types/nightwatch/tsconfig.json +++ b/types/nightwatch/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/noble/tsconfig.json b/types/noble/tsconfig.json index 6ecc97642a..3539eef12c 100644 --- a/types/noble/tsconfig.json +++ b/types/noble/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nock/tsconfig.json b/types/nock/tsconfig.json index fbd88d8e06..30c4ce3aa7 100644 --- a/types/nock/tsconfig.json +++ b/types/nock/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nodal/tsconfig.json b/types/nodal/tsconfig.json index e386a34bd5..29407ab0a0 100644 --- a/types/nodal/tsconfig.json +++ b/types/nodal/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-7z/tsconfig.json b/types/node-7z/tsconfig.json index 31275e1a7b..87c09a2635 100644 --- a/types/node-7z/tsconfig.json +++ b/types/node-7z/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-array-ext/tsconfig.json b/types/node-array-ext/tsconfig.json index 54ad436976..b7713bacb2 100644 --- a/types/node-array-ext/tsconfig.json +++ b/types/node-array-ext/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-cache/tsconfig.json b/types/node-cache/tsconfig.json index 0d05a8b958..e024dba82d 100644 --- a/types/node-cache/tsconfig.json +++ b/types/node-cache/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-calendar/tsconfig.json b/types/node-calendar/tsconfig.json index ddb256ca4b..f70d2de8ee 100644 --- a/types/node-calendar/tsconfig.json +++ b/types/node-calendar/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-cleanup/tsconfig.json b/types/node-cleanup/tsconfig.json index eab90ee9cc..0b50b3555b 100644 --- a/types/node-cleanup/tsconfig.json +++ b/types/node-cleanup/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-common-errors/tsconfig.json b/types/node-common-errors/tsconfig.json index 361e724698..a862893b87 100644 --- a/types/node-common-errors/tsconfig.json +++ b/types/node-common-errors/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-config-manager/tsconfig.json b/types/node-config-manager/tsconfig.json index 91a3ae8510..c308808722 100644 --- a/types/node-config-manager/tsconfig.json +++ b/types/node-config-manager/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-cron/tsconfig.json b/types/node-cron/tsconfig.json index 5269f6d3a1..9fb50ab907 100644 --- a/types/node-cron/tsconfig.json +++ b/types/node-cron/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-dir/tsconfig.json b/types/node-dir/tsconfig.json index cdbe51bb62..b8e68860af 100644 --- a/types/node-dir/tsconfig.json +++ b/types/node-dir/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-dogstatsd/tsconfig.json b/types/node-dogstatsd/tsconfig.json index b6f2407301..98d50c65f8 100644 --- a/types/node-dogstatsd/tsconfig.json +++ b/types/node-dogstatsd/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-emoji/tsconfig.json b/types/node-emoji/tsconfig.json index 09552ed78b..448cf4351c 100644 --- a/types/node-emoji/tsconfig.json +++ b/types/node-emoji/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-fetch/tsconfig.json b/types/node-fetch/tsconfig.json index b68e127c1f..98a8d56ff1 100644 --- a/types/node-fetch/tsconfig.json +++ b/types/node-fetch/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-fibers/tsconfig.json b/types/node-fibers/tsconfig.json index 1f8e0571ac..a646c67d7f 100644 --- a/types/node-fibers/tsconfig.json +++ b/types/node-fibers/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-forge/tsconfig.json b/types/node-forge/tsconfig.json index fb3691ebef..8864280abf 100644 --- a/types/node-forge/tsconfig.json +++ b/types/node-forge/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-gcm/tsconfig.json b/types/node-gcm/tsconfig.json index 594e89999c..f68df952f2 100644 --- a/types/node-gcm/tsconfig.json +++ b/types/node-gcm/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-geocoder/tsconfig.json b/types/node-geocoder/tsconfig.json index 0ad4af9d61..8076dc932c 100644 --- a/types/node-geocoder/tsconfig.json +++ b/types/node-geocoder/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-getopt/tsconfig.json b/types/node-getopt/tsconfig.json index 399c277a9c..757df0d365 100644 --- a/types/node-getopt/tsconfig.json +++ b/types/node-getopt/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-hid/tsconfig.json b/types/node-hid/tsconfig.json index 65590474cb..3dce09c22b 100644 --- a/types/node-hid/tsconfig.json +++ b/types/node-hid/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-horseman/tsconfig.json b/types/node-horseman/tsconfig.json index a29f0ceb09..8ac7d67c3e 100644 --- a/types/node-horseman/tsconfig.json +++ b/types/node-horseman/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-hue-api/tsconfig.json b/types/node-hue-api/tsconfig.json index 0310c9fb67..6edecf355c 100644 --- a/types/node-hue-api/tsconfig.json +++ b/types/node-hue-api/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-int64/tsconfig.json b/types/node-int64/tsconfig.json index 361f4eb4e2..b7911dd7a2 100644 --- a/types/node-int64/tsconfig.json +++ b/types/node-int64/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-ipc/tsconfig.json b/types/node-ipc/tsconfig.json index f3a0189b05..d8a28a8334 100644 --- a/types/node-ipc/tsconfig.json +++ b/types/node-ipc/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-jsfl-runner/tsconfig.json b/types/node-jsfl-runner/tsconfig.json index f4353811a9..eb2c2d7fe9 100644 --- a/types/node-jsfl-runner/tsconfig.json +++ b/types/node-jsfl-runner/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-json-db/tsconfig.json b/types/node-json-db/tsconfig.json index dfd45628f8..1372add5aa 100644 --- a/types/node-json-db/tsconfig.json +++ b/types/node-json-db/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-mysql-wrapper/tsconfig.json b/types/node-mysql-wrapper/tsconfig.json index d49a9c6e0b..7e12021cdc 100644 --- a/types/node-mysql-wrapper/tsconfig.json +++ b/types/node-mysql-wrapper/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-notifier/tsconfig.json b/types/node-notifier/tsconfig.json index bab1531cf7..97b9bb617e 100644 --- a/types/node-notifier/tsconfig.json +++ b/types/node-notifier/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-persist/tsconfig.json b/types/node-persist/tsconfig.json index e0b20bbdc4..bcc3c3f2f9 100644 --- a/types/node-persist/tsconfig.json +++ b/types/node-persist/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-polyglot/tsconfig.json b/types/node-polyglot/tsconfig.json index 8927b0008b..ebf34971af 100644 --- a/types/node-polyglot/tsconfig.json +++ b/types/node-polyglot/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-powershell/tsconfig.json b/types/node-powershell/tsconfig.json index 2d2fc6f999..d24dc26304 100644 --- a/types/node-powershell/tsconfig.json +++ b/types/node-powershell/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-ral/tsconfig.json b/types/node-ral/tsconfig.json index de24642d5f..13eec57091 100644 --- a/types/node-ral/tsconfig.json +++ b/types/node-ral/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-red/tsconfig.json b/types/node-red/tsconfig.json index 2330c83cff..e92fbbd930 100644 --- a/types/node-red/tsconfig.json +++ b/types/node-red/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-rsa/tsconfig.json b/types/node-rsa/tsconfig.json index e1a294df26..662a3c6b6f 100644 --- a/types/node-rsa/tsconfig.json +++ b/types/node-rsa/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-sass-middleware/tsconfig.json b/types/node-sass-middleware/tsconfig.json index 930a88b720..f1c2b3a530 100644 --- a/types/node-sass-middleware/tsconfig.json +++ b/types/node-sass-middleware/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-sass/tsconfig.json b/types/node-sass/tsconfig.json index 4ee0b96bb1..a1e4cdb079 100644 --- a/types/node-sass/tsconfig.json +++ b/types/node-sass/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-schedule/tsconfig.json b/types/node-schedule/tsconfig.json index 37ff002d0e..7ff95758d0 100644 --- a/types/node-schedule/tsconfig.json +++ b/types/node-schedule/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-slack/tsconfig.json b/types/node-slack/tsconfig.json index db7ad8d561..b32803599a 100644 --- a/types/node-slack/tsconfig.json +++ b/types/node-slack/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-snap7/tsconfig.json b/types/node-snap7/tsconfig.json index 70d02cbaab..c78bc5a83f 100644 --- a/types/node-snap7/tsconfig.json +++ b/types/node-snap7/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-sprite-generator/tsconfig.json b/types/node-sprite-generator/tsconfig.json index cfd0f3ecb0..1a1abcf56b 100644 --- a/types/node-sprite-generator/tsconfig.json +++ b/types/node-sprite-generator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-static/tsconfig.json b/types/node-static/tsconfig.json index b6034feeaf..57a6d79f15 100644 --- a/types/node-static/tsconfig.json +++ b/types/node-static/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-statsd/tsconfig.json b/types/node-statsd/tsconfig.json index dea7e59d6c..a4f7cdba75 100644 --- a/types/node-statsd/tsconfig.json +++ b/types/node-statsd/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-telegram-bot-api/tsconfig.json b/types/node-telegram-bot-api/tsconfig.json index 62f52d6383..bb33d5e9b5 100644 --- a/types/node-telegram-bot-api/tsconfig.json +++ b/types/node-telegram-bot-api/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-uuid/tsconfig.json b/types/node-uuid/tsconfig.json index f5491454e9..52dc8180a0 100644 --- a/types/node-uuid/tsconfig.json +++ b/types/node-uuid/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-validator/tsconfig.json b/types/node-validator/tsconfig.json index 693678cdf3..eb98203673 100644 --- a/types/node-validator/tsconfig.json +++ b/types/node-validator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-vault/tsconfig.json b/types/node-vault/tsconfig.json index db340a253a..d2875ffa4a 100644 --- a/types/node-vault/tsconfig.json +++ b/types/node-vault/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-wit/tsconfig.json b/types/node-wit/tsconfig.json index 0f38fba2fb..4c183185fe 100644 --- a/types/node-wit/tsconfig.json +++ b/types/node-wit/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-xmpp-client/tsconfig.json b/types/node-xmpp-client/tsconfig.json index da73c1f290..35471e38d2 100644 --- a/types/node-xmpp-client/tsconfig.json +++ b/types/node-xmpp-client/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-xmpp-core/tsconfig.json b/types/node-xmpp-core/tsconfig.json index aab7c340f4..65e37ab467 100644 --- a/types/node-xmpp-core/tsconfig.json +++ b/types/node-xmpp-core/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node-zookeeper-client/tsconfig.json b/types/node-zookeeper-client/tsconfig.json index 89a844e122..0182035432 100644 --- a/types/node-zookeeper-client/tsconfig.json +++ b/types/node-zookeeper-client/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node/tsconfig.json b/types/node/tsconfig.json index 44d72e800a..9f4317b9f4 100644 --- a/types/node/tsconfig.json +++ b/types/node/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/node/v0/tsconfig.json b/types/node/v0/tsconfig.json index b3bde5e9c4..a4a370b7a7 100644 --- a/types/node/v0/tsconfig.json +++ b/types/node/v0/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node/v4/tsconfig.json b/types/node/v4/tsconfig.json index c5b84e1c76..c89540145a 100644 --- a/types/node/v4/tsconfig.json +++ b/types/node/v4/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node/v6/tsconfig.json b/types/node/v6/tsconfig.json index 452983f88b..8fc9488eac 100644 --- a/types/node/v6/tsconfig.json +++ b/types/node/v6/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/node/v7/tsconfig.json b/types/node/v7/tsconfig.json index 23318008ca..c5badcdaa5 100644 --- a/types/node/v7/tsconfig.json +++ b/types/node/v7/tsconfig.json @@ -23,7 +23,6 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/node/v8/tsconfig.json b/types/node/v8/tsconfig.json index ea093ad4a3..8deb391829 100644 --- a/types/node/v8/tsconfig.json +++ b/types/node/v8/tsconfig.json @@ -24,7 +24,6 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/node_redis/tsconfig.json b/types/node_redis/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/node_redis/tsconfig.json +++ b/types/node_redis/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/nodegit/tsconfig.json b/types/nodegit/tsconfig.json index 6f425f13a1..5d80518149 100644 --- a/types/nodegit/tsconfig.json +++ b/types/nodegit/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "annotated-commit.d.ts", diff --git a/types/nodemailer-direct-transport/tsconfig.json b/types/nodemailer-direct-transport/tsconfig.json index 98320cc735..a86a4a088a 100644 --- a/types/nodemailer-direct-transport/tsconfig.json +++ b/types/nodemailer-direct-transport/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nodemailer-mailgun-transport/tsconfig.json b/types/nodemailer-mailgun-transport/tsconfig.json index e5d64d4305..4098e7a2d4 100644 --- a/types/nodemailer-mailgun-transport/tsconfig.json +++ b/types/nodemailer-mailgun-transport/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nodemailer-pickup-transport/tsconfig.json b/types/nodemailer-pickup-transport/tsconfig.json index 5c029de666..913453977e 100644 --- a/types/nodemailer-pickup-transport/tsconfig.json +++ b/types/nodemailer-pickup-transport/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nodemailer-ses-transport/tsconfig.json b/types/nodemailer-ses-transport/tsconfig.json index db905153d0..bdaffbb222 100644 --- a/types/nodemailer-ses-transport/tsconfig.json +++ b/types/nodemailer-ses-transport/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nodemailer-smtp-pool/tsconfig.json b/types/nodemailer-smtp-pool/tsconfig.json index ed28a80cfd..63a47e4ce7 100644 --- a/types/nodemailer-smtp-pool/tsconfig.json +++ b/types/nodemailer-smtp-pool/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nodemailer-smtp-transport/tsconfig.json b/types/nodemailer-smtp-transport/tsconfig.json index 5a3c396e6f..4bce06278d 100644 --- a/types/nodemailer-smtp-transport/tsconfig.json +++ b/types/nodemailer-smtp-transport/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nodemailer-stub-transport/tsconfig.json b/types/nodemailer-stub-transport/tsconfig.json index 52b6f50f53..c8fed1b487 100644 --- a/types/nodemailer-stub-transport/tsconfig.json +++ b/types/nodemailer-stub-transport/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nodemailer/tsconfig.json b/types/nodemailer/tsconfig.json index e01403bac1..f2c1ffbbe8 100644 --- a/types/nodemailer/tsconfig.json +++ b/types/nodemailer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nodemailer/v3/tsconfig.json b/types/nodemailer/v3/tsconfig.json index 72c13e5afd..4ebef6b8cf 100644 --- a/types/nodemailer/v3/tsconfig.json +++ b/types/nodemailer/v3/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nodeunit/tsconfig.json b/types/nodeunit/tsconfig.json index 8500b806f3..3d52af1d14 100644 --- a/types/nodeunit/tsconfig.json +++ b/types/nodeunit/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/noisejs/tsconfig.json b/types/noisejs/tsconfig.json index cab62ac0cd..43e5b37e38 100644 --- a/types/noisejs/tsconfig.json +++ b/types/noisejs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nomnom/tsconfig.json b/types/nomnom/tsconfig.json index e67f844431..0c5b757ced 100644 --- a/types/nomnom/tsconfig.json +++ b/types/nomnom/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nopt/tsconfig.json b/types/nopt/tsconfig.json index 8c962d58a5..0dc537c0c8 100644 --- a/types/nopt/tsconfig.json +++ b/types/nopt/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/normalize-package-data/tsconfig.json b/types/normalize-package-data/tsconfig.json index 95a0703f81..3105673d24 100644 --- a/types/normalize-package-data/tsconfig.json +++ b/types/normalize-package-data/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/normalize-url/tsconfig.json b/types/normalize-url/tsconfig.json index 59d52868c4..1626fe81b7 100644 --- a/types/normalize-url/tsconfig.json +++ b/types/normalize-url/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/notie/tsconfig.json b/types/notie/tsconfig.json index 3ee5ae8275..0ab631c147 100644 --- a/types/notie/tsconfig.json +++ b/types/notie/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/notify/tsconfig.json b/types/notify/tsconfig.json index 2543739912..a6957993f9 100644 --- a/types/notify/tsconfig.json +++ b/types/notify/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/notifyjs-browser/tsconfig.json b/types/notifyjs-browser/tsconfig.json index e4aae3115f..53861036b0 100644 --- a/types/notifyjs-browser/tsconfig.json +++ b/types/notifyjs-browser/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/notifyjs/tsconfig.json b/types/notifyjs/tsconfig.json index 9c2928de69..0652ac5cfc 100644 --- a/types/notifyjs/tsconfig.json +++ b/types/notifyjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/notyf/tsconfig.json b/types/notyf/tsconfig.json index ac2fa96aad..18fb007211 100644 --- a/types/notyf/tsconfig.json +++ b/types/notyf/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nouislider/tsconfig.json b/types/nouislider/tsconfig.json index 43253dfc79..dd6994a4dd 100644 --- a/types/nouislider/tsconfig.json +++ b/types/nouislider/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nouislider/v7/tsconfig.json b/types/nouislider/v7/tsconfig.json index c38ff9e541..d24f6c55b0 100644 --- a/types/nouislider/v7/tsconfig.json +++ b/types/nouislider/v7/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nouislider/v8/tsconfig.json b/types/nouislider/v8/tsconfig.json index d0b146bb70..6dfd2ac510 100644 --- a/types/nouislider/v8/tsconfig.json +++ b/types/nouislider/v8/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/novnc-core/tsconfig.json b/types/novnc-core/tsconfig.json index 93eff8a1e4..3aed33120e 100644 --- a/types/novnc-core/tsconfig.json +++ b/types/novnc-core/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/npm-package-arg/tsconfig.json b/types/npm-package-arg/tsconfig.json index 7cc49c7366..1eea7a98ae 100644 --- a/types/npm-package-arg/tsconfig.json +++ b/types/npm-package-arg/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/npm-packlist/tsconfig.json b/types/npm-packlist/tsconfig.json index 29834afe3e..2c60fe863a 100644 --- a/types/npm-packlist/tsconfig.json +++ b/types/npm-packlist/tsconfig.json @@ -8,7 +8,6 @@ "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, - "esModuleInterop": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +20,4 @@ "index.d.ts", "npm-packlist-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/npm/tsconfig.json b/types/npm/tsconfig.json index 8f15ee25cf..01aebadc3e 100644 --- a/types/npm/tsconfig.json +++ b/types/npm/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nprogress/tsconfig.json b/types/nprogress/tsconfig.json index e8c393e92c..bd50ab2e1f 100644 --- a/types/nprogress/tsconfig.json +++ b/types/nprogress/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ns-api/tsconfig.json b/types/ns-api/tsconfig.json index 7569d8c5fa..6918e1e567 100644 --- a/types/ns-api/tsconfig.json +++ b/types/ns-api/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nslog/tsconfig.json b/types/nslog/tsconfig.json index a285b4a578..6cd009f29d 100644 --- a/types/nslog/tsconfig.json +++ b/types/nslog/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nsqjs/tsconfig.json b/types/nsqjs/tsconfig.json index 5a96224386..2e65f5637c 100644 --- a/types/nsqjs/tsconfig.json +++ b/types/nsqjs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/number-is-nan/tsconfig.json b/types/number-is-nan/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/number-is-nan/tsconfig.json +++ b/types/number-is-nan/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/number-to-words/tsconfig.json b/types/number-to-words/tsconfig.json index c14a5e19f2..49b562b085 100644 --- a/types/number-to-words/tsconfig.json +++ b/types/number-to-words/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/numeral/tsconfig.json b/types/numeral/tsconfig.json index e47443e0f5..332485f391 100644 --- a/types/numeral/tsconfig.json +++ b/types/numeral/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/numjs/tsconfig.json b/types/numjs/tsconfig.json index 7b5455900f..f76db6c4ca 100644 --- a/types/numjs/tsconfig.json +++ b/types/numjs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nunjucks-date/tsconfig.json b/types/nunjucks-date/tsconfig.json index a4174f7bc8..c5851d125c 100644 --- a/types/nunjucks-date/tsconfig.json +++ b/types/nunjucks-date/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nunjucks/tsconfig.json b/types/nunjucks/tsconfig.json index 70ac043ff8..4324f01fa8 100644 --- a/types/nunjucks/tsconfig.json +++ b/types/nunjucks/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nvd3/tsconfig.json b/types/nvd3/tsconfig.json index 910a98d99c..a2aa830e00 100644 --- a/types/nvd3/tsconfig.json +++ b/types/nvd3/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nw.gui/tsconfig.json b/types/nw.gui/tsconfig.json index 0570b20e56..ec66284c38 100644 --- a/types/nw.gui/tsconfig.json +++ b/types/nw.gui/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/nw.js/tsconfig.json b/types/nw.js/tsconfig.json index 035330976b..047aa3c15a 100644 --- a/types/nw.js/tsconfig.json +++ b/types/nw.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/o.js/tsconfig.json b/types/o.js/tsconfig.json index 536d5abe8c..a3159265ee 100644 --- a/types/o.js/tsconfig.json +++ b/types/o.js/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/oauth.js/tsconfig.json b/types/oauth.js/tsconfig.json index 2b9b599818..39891ddb92 100644 --- a/types/oauth.js/tsconfig.json +++ b/types/oauth.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/oauth2-server/tsconfig.json b/types/oauth2-server/tsconfig.json index ee86fffc4f..b245965239 100644 --- a/types/oauth2-server/tsconfig.json +++ b/types/oauth2-server/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "target": "es6" }, "files": [ diff --git a/types/oauth2orize/tsconfig.json b/types/oauth2orize/tsconfig.json index f2a562ac68..7903eeb77f 100644 --- a/types/oauth2orize/tsconfig.json +++ b/types/oauth2orize/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/obelisk.js/tsconfig.json b/types/obelisk.js/tsconfig.json index 3005f5052f..f95e82cb80 100644 --- a/types/obelisk.js/tsconfig.json +++ b/types/obelisk.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/object-assign/tsconfig.json b/types/object-assign/tsconfig.json index 14dd544d25..f00a78b509 100644 --- a/types/object-assign/tsconfig.json +++ b/types/object-assign/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/object-diff/tsconfig.json b/types/object-diff/tsconfig.json index d49649e67a..3fdf287fcf 100644 --- a/types/object-diff/tsconfig.json +++ b/types/object-diff/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/object-hash/tsconfig.json b/types/object-hash/tsconfig.json index fe16726761..7f1eb2a0f1 100644 --- a/types/object-hash/tsconfig.json +++ b/types/object-hash/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/object-inspect/tsconfig.json b/types/object-inspect/tsconfig.json index bcdc9ceafa..295f490d24 100644 --- a/types/object-inspect/tsconfig.json +++ b/types/object-inspect/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/object-map/tsconfig.json b/types/object-map/tsconfig.json index b395a58165..88256eb7f9 100644 --- a/types/object-map/tsconfig.json +++ b/types/object-map/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/object-path/tsconfig.json b/types/object-path/tsconfig.json index 776b12f2ed..14192cc5b0 100644 --- a/types/object-path/tsconfig.json +++ b/types/object-path/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/object-refs/tsconfig.json b/types/object-refs/tsconfig.json index 0fa906064e..3d9337cf0a 100644 --- a/types/object-refs/tsconfig.json +++ b/types/object-refs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/oblo-util/tsconfig.json b/types/oblo-util/tsconfig.json index 9d878f810c..c424a7fff8 100644 --- a/types/oblo-util/tsconfig.json +++ b/types/oblo-util/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/oboe/tsconfig.json b/types/oboe/tsconfig.json index 08c0ffd5df..1c02019149 100644 --- a/types/oboe/tsconfig.json +++ b/types/oboe/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/observe-js/tsconfig.json b/types/observe-js/tsconfig.json index 19dbac24df..23b2a5106e 100644 --- a/types/observe-js/tsconfig.json +++ b/types/observe-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/oclazyload/tsconfig.json b/types/oclazyload/tsconfig.json index c3be409f70..3ada1d6bee 100644 --- a/types/oclazyload/tsconfig.json +++ b/types/oclazyload/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/odata/tsconfig.json b/types/odata/tsconfig.json index 635168e418..d7ea224b4e 100644 --- a/types/odata/tsconfig.json +++ b/types/odata/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ofe/tsconfig.json b/types/ofe/tsconfig.json index 13f2ecddb1..dbd94babca 100644 --- a/types/ofe/tsconfig.json +++ b/types/ofe/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/office-js/tsconfig.json b/types/office-js/tsconfig.json index 45e8292315..28a0881837 100644 --- a/types/office-js/tsconfig.json +++ b/types/office-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/offline-js/tsconfig.json b/types/offline-js/tsconfig.json index 63c0c3d772..e7d567565c 100644 --- a/types/offline-js/tsconfig.json +++ b/types/offline-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/oibackoff/tsconfig.json b/types/oibackoff/tsconfig.json index bf94e5b8a8..d1f4fd90d8 100644 --- a/types/oibackoff/tsconfig.json +++ b/types/oibackoff/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/oidc-token-manager/tsconfig.json b/types/oidc-token-manager/tsconfig.json index 0069da49f5..9a1d07adb6 100644 --- a/types/oidc-token-manager/tsconfig.json +++ b/types/oidc-token-manager/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ol/tsconfig.json b/types/ol/tsconfig.json index 4c7846cda7..6402adb0f7 100644 --- a/types/ol/tsconfig.json +++ b/types/ol/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/on-finished/tsconfig.json b/types/on-finished/tsconfig.json index 7e49b150bb..14e726f8c4 100644 --- a/types/on-finished/tsconfig.json +++ b/types/on-finished/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/on-headers/tsconfig.json b/types/on-headers/tsconfig.json index 25c2e3c8d5..a0e5fc13dd 100644 --- a/types/on-headers/tsconfig.json +++ b/types/on-headers/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/once/tsconfig.json b/types/once/tsconfig.json index 67de4d3961..e6b9784107 100644 --- a/types/once/tsconfig.json +++ b/types/once/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/onesignal-cordova-plugin/tsconfig.json b/types/onesignal-cordova-plugin/tsconfig.json index ce255e192d..a256428f0e 100644 --- a/types/onesignal-cordova-plugin/tsconfig.json +++ b/types/onesignal-cordova-plugin/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/onetime/tsconfig.json b/types/onetime/tsconfig.json index f283f14841..84d3da86b8 100644 --- a/types/onetime/tsconfig.json +++ b/types/onetime/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/oniguruma/tsconfig.json b/types/oniguruma/tsconfig.json index 28d398ed22..b807c6e5de 100644 --- a/types/oniguruma/tsconfig.json +++ b/types/oniguruma/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/onoff/tsconfig.json b/types/onoff/tsconfig.json index ae7322e35a..cbe0820a5a 100644 --- a/types/onoff/tsconfig.json +++ b/types/onoff/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/open/tsconfig.json b/types/open/tsconfig.json index 62cd144b3b..1395893dcb 100644 --- a/types/open/tsconfig.json +++ b/types/open/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/opener/tsconfig.json b/types/opener/tsconfig.json index fd2c277637..8f8b166751 100644 --- a/types/opener/tsconfig.json +++ b/types/opener/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/openfin/tsconfig.json b/types/openfin/tsconfig.json index 48d26affcc..fd3199ceb7 100644 --- a/types/openfin/tsconfig.json +++ b/types/openfin/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/openfin/v15/tsconfig.json b/types/openfin/v15/tsconfig.json index 17537fec00..103e765e43 100644 --- a/types/openfin/v15/tsconfig.json +++ b/types/openfin/v15/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/openfin/v16/tsconfig.json b/types/openfin/v16/tsconfig.json index f6d5d45a8a..cfb0b2d238 100644 --- a/types/openfin/v16/tsconfig.json +++ b/types/openfin/v16/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/openjscad/tsconfig.json b/types/openjscad/tsconfig.json index 44ef0db880..971a3ee55a 100644 --- a/types/openjscad/tsconfig.json +++ b/types/openjscad/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/openlayers/tsconfig.json b/types/openlayers/tsconfig.json index 3bc277ecae..5b45cb31b9 100644 --- a/types/openlayers/tsconfig.json +++ b/types/openlayers/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/openlayers/v2/tsconfig.json b/types/openlayers/v2/tsconfig.json index 3725c17b1f..67c0f29fd4 100644 --- a/types/openlayers/v2/tsconfig.json +++ b/types/openlayers/v2/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/openlayers/v3/tsconfig.json b/types/openlayers/v3/tsconfig.json index 40f3d72c1a..052323b232 100644 --- a/types/openlayers/v3/tsconfig.json +++ b/types/openlayers/v3/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/openpgp/tsconfig.json b/types/openpgp/tsconfig.json index 0d89f5cddd..8ed156faf3 100644 --- a/types/openpgp/tsconfig.json +++ b/types/openpgp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/openstack-wrapper/tsconfig.json b/types/openstack-wrapper/tsconfig.json index 42501aaebd..f6fa4b227b 100644 --- a/types/openstack-wrapper/tsconfig.json +++ b/types/openstack-wrapper/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/opentok/tsconfig.json b/types/opentok/tsconfig.json index 867816c287..0e035c2a4c 100644 --- a/types/opentok/tsconfig.json +++ b/types/opentok/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/opentype.js/tsconfig.json b/types/opentype.js/tsconfig.json index 20de3c612b..ae36366993 100644 --- a/types/opentype.js/tsconfig.json +++ b/types/opentype.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/openui5/tsconfig.json b/types/openui5/tsconfig.json index 406a9171dd..e61a38f38c 100644 --- a/types/openui5/tsconfig.json +++ b/types/openui5/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/opn/tsconfig.json b/types/opn/tsconfig.json index dc544741ee..7551867ee1 100644 --- a/types/opn/tsconfig.json +++ b/types/opn/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/optics-agent/tsconfig.json b/types/optics-agent/tsconfig.json index adb6fdbba4..010406be2f 100644 --- a/types/optics-agent/tsconfig.json +++ b/types/optics-agent/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/optimist/tsconfig.json b/types/optimist/tsconfig.json index f16b4b49e4..da5b6d43c7 100644 --- a/types/optimist/tsconfig.json +++ b/types/optimist/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/optimize-css-assets-webpack-plugin/tsconfig.json b/types/optimize-css-assets-webpack-plugin/tsconfig.json index 5420b382e4..bb2c39172f 100644 --- a/types/optimize-css-assets-webpack-plugin/tsconfig.json +++ b/types/optimize-css-assets-webpack-plugin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ora/tsconfig.json b/types/ora/tsconfig.json index 2480951ab5..4092876efe 100644 --- a/types/ora/tsconfig.json +++ b/types/ora/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ora/v0/tsconfig.json b/types/ora/v0/tsconfig.json index d8ac13a91d..b614f6cbc4 100644 --- a/types/ora/v0/tsconfig.json +++ b/types/ora/v0/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/oracledb/tsconfig.json b/types/oracledb/tsconfig.json index 7a878379cd..2e6eeb9b95 100644 --- a/types/oracledb/tsconfig.json +++ b/types/oracledb/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/orchestrator/tsconfig.json b/types/orchestrator/tsconfig.json index 1da510b3ca..3cfb6b0cdb 100644 --- a/types/orchestrator/tsconfig.json +++ b/types/orchestrator/tsconfig.json @@ -15,8 +15,7 @@ "strictNullChecks": false, "strictFunctionTypes": true, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/orderedmap/tsconfig.json b/types/orderedmap/tsconfig.json index 5ab20ebbc3..d8428d94cc 100644 --- a/types/orderedmap/tsconfig.json +++ b/types/orderedmap/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/orientjs/tsconfig.json b/types/orientjs/tsconfig.json index a8418ce64b..87bfdfd2a8 100644 --- a/types/orientjs/tsconfig.json +++ b/types/orientjs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/os-homedir/tsconfig.json b/types/os-homedir/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/os-homedir/tsconfig.json +++ b/types/os-homedir/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/os-locale/tsconfig.json b/types/os-locale/tsconfig.json index 6e168a01ce..fbf08733cf 100644 --- a/types/os-locale/tsconfig.json +++ b/types/os-locale/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/os-locale/v1/tsconfig.json b/types/os-locale/v1/tsconfig.json index c53210a218..acb67ee603 100644 --- a/types/os-locale/v1/tsconfig.json +++ b/types/os-locale/v1/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/os-name/tsconfig.json b/types/os-name/tsconfig.json index 9220809237..f48355e962 100644 --- a/types/os-name/tsconfig.json +++ b/types/os-name/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/os-tmpdir/tsconfig.json b/types/os-tmpdir/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/os-tmpdir/tsconfig.json +++ b/types/os-tmpdir/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/osmosis/tsconfig.json b/types/osmosis/tsconfig.json index f5eb196c89..9627f6d5fe 100644 --- a/types/osmosis/tsconfig.json +++ b/types/osmosis/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/osmtogeojson/tsconfig.json b/types/osmtogeojson/tsconfig.json index e708a2429b..c50e45768c 100644 --- a/types/osmtogeojson/tsconfig.json +++ b/types/osmtogeojson/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/osrm/tsconfig.json b/types/osrm/tsconfig.json index 3ebd7db8b3..8a581c7423 100644 --- a/types/osrm/tsconfig.json +++ b/types/osrm/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/otplib/tsconfig.json b/types/otplib/tsconfig.json index 2b3c420d67..4aa529c51c 100644 --- a/types/otplib/tsconfig.json +++ b/types/otplib/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/owasp-password-strength-test/tsconfig.json b/types/owasp-password-strength-test/tsconfig.json index d10909118e..926835b3e5 100644 --- a/types/owasp-password-strength-test/tsconfig.json +++ b/types/owasp-password-strength-test/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/owl.carousel/tsconfig.json b/types/owl.carousel/tsconfig.json index fb9f9f4f6e..4205eff11f 100644 --- a/types/owl.carousel/tsconfig.json +++ b/types/owl.carousel/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/owlcarousel/tsconfig.json b/types/owlcarousel/tsconfig.json index db23d47838..4438ba88ae 100644 --- a/types/owlcarousel/tsconfig.json +++ b/types/owlcarousel/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-all/tsconfig.json b/types/p-all/tsconfig.json index 5d706ed217..5cc346c4e3 100644 --- a/types/p-all/tsconfig.json +++ b/types/p-all/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-any/tsconfig.json b/types/p-any/tsconfig.json index 56f19a51e5..67d983361a 100644 --- a/types/p-any/tsconfig.json +++ b/types/p-any/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-cancelable/tsconfig.json b/types/p-cancelable/tsconfig.json index eb9e9b9b33..504511081d 100644 --- a/types/p-cancelable/tsconfig.json +++ b/types/p-cancelable/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-debounce/tsconfig.json b/types/p-debounce/tsconfig.json index d8f3a41d21..4de0f115d8 100644 --- a/types/p-debounce/tsconfig.json +++ b/types/p-debounce/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-defer/tsconfig.json b/types/p-defer/tsconfig.json index d48a07b169..06eb650dbe 100644 --- a/types/p-defer/tsconfig.json +++ b/types/p-defer/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-do-whilst/tsconfig.json b/types/p-do-whilst/tsconfig.json index fa551d6727..87392769da 100644 --- a/types/p-do-whilst/tsconfig.json +++ b/types/p-do-whilst/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-each-series/tsconfig.json b/types/p-each-series/tsconfig.json index d62549d651..e8cd900d05 100644 --- a/types/p-each-series/tsconfig.json +++ b/types/p-each-series/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-event/tsconfig.json b/types/p-event/tsconfig.json index 8d282c8736..0e047aa84b 100644 --- a/types/p-event/tsconfig.json +++ b/types/p-event/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-every/tsconfig.json b/types/p-every/tsconfig.json index 87b3f1c968..979927093f 100644 --- a/types/p-every/tsconfig.json +++ b/types/p-every/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-lazy/tsconfig.json b/types/p-lazy/tsconfig.json index 24a3174936..73b2e31142 100644 --- a/types/p-lazy/tsconfig.json +++ b/types/p-lazy/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-limit/tsconfig.json b/types/p-limit/tsconfig.json index e438eda453..4634bf6300 100644 --- a/types/p-limit/tsconfig.json +++ b/types/p-limit/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-loading/tsconfig.json b/types/p-loading/tsconfig.json index fa6843d54f..09fd52fdda 100644 --- a/types/p-loading/tsconfig.json +++ b/types/p-loading/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-locate/tsconfig.json b/types/p-locate/tsconfig.json index 794031a75b..1f3e8a7711 100644 --- a/types/p-locate/tsconfig.json +++ b/types/p-locate/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-log/tsconfig.json b/types/p-log/tsconfig.json index 1d875c64b1..891d94fce3 100644 --- a/types/p-log/tsconfig.json +++ b/types/p-log/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-map-series/tsconfig.json b/types/p-map-series/tsconfig.json index 6594c24661..b06e222983 100644 --- a/types/p-map-series/tsconfig.json +++ b/types/p-map-series/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-map/tsconfig.json b/types/p-map/tsconfig.json index d156c77951..ed62309b29 100644 --- a/types/p-map/tsconfig.json +++ b/types/p-map/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-one/tsconfig.json b/types/p-one/tsconfig.json index 525393d638..27a6a05ac7 100644 --- a/types/p-one/tsconfig.json +++ b/types/p-one/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-props/tsconfig.json b/types/p-props/tsconfig.json index 56998f169a..8ef73ae141 100644 --- a/types/p-props/tsconfig.json +++ b/types/p-props/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-queue/tsconfig.json b/types/p-queue/tsconfig.json index dd19b0083f..b3dd5e5314 100644 --- a/types/p-queue/tsconfig.json +++ b/types/p-queue/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-reduce/tsconfig.json b/types/p-reduce/tsconfig.json index 2debc8d66f..d06d04e5e7 100644 --- a/types/p-reduce/tsconfig.json +++ b/types/p-reduce/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-reflect/tsconfig.json b/types/p-reflect/tsconfig.json index b7c6dc1702..0bd514215f 100644 --- a/types/p-reflect/tsconfig.json +++ b/types/p-reflect/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-retry/tsconfig.json b/types/p-retry/tsconfig.json index 21687875fa..8bd6ddd6b5 100644 --- a/types/p-retry/tsconfig.json +++ b/types/p-retry/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-series/tsconfig.json b/types/p-series/tsconfig.json index 45a2be71c5..7ac0ed4d4c 100644 --- a/types/p-series/tsconfig.json +++ b/types/p-series/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-settle/tsconfig.json b/types/p-settle/tsconfig.json index 1e8220467f..ba288104e0 100644 --- a/types/p-settle/tsconfig.json +++ b/types/p-settle/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-some/tsconfig.json b/types/p-some/tsconfig.json index d6e4b1b63e..d8bca7e13a 100644 --- a/types/p-some/tsconfig.json +++ b/types/p-some/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-tap/tsconfig.json b/types/p-tap/tsconfig.json index ed4f136d0b..1d4042647f 100644 --- a/types/p-tap/tsconfig.json +++ b/types/p-tap/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-throttle/tsconfig.json b/types/p-throttle/tsconfig.json index f30c9ed4e3..81852e4d18 100644 --- a/types/p-throttle/tsconfig.json +++ b/types/p-throttle/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-timeout/tsconfig.json b/types/p-timeout/tsconfig.json index 40bb9b3b8b..d16042504a 100644 --- a/types/p-timeout/tsconfig.json +++ b/types/p-timeout/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-try/tsconfig.json b/types/p-try/tsconfig.json index 7cd170e0da..b8ca67f073 100644 --- a/types/p-try/tsconfig.json +++ b/types/p-try/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-wait-for/tsconfig.json b/types/p-wait-for/tsconfig.json index e3e3bb7597..7df0af64a1 100644 --- a/types/p-wait-for/tsconfig.json +++ b/types/p-wait-for/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p-whilst/tsconfig.json b/types/p-whilst/tsconfig.json index 8fd1bb42ba..3309a228fc 100644 --- a/types/p-whilst/tsconfig.json +++ b/types/p-whilst/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/p2/tsconfig.json b/types/p2/tsconfig.json index 576a91b7c6..c40f2ddd89 100644 --- a/types/p2/tsconfig.json +++ b/types/p2/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/package-json/tsconfig.json b/types/package-json/tsconfig.json index c033223c6d..7bca217f58 100644 --- a/types/package-json/tsconfig.json +++ b/types/package-json/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/packery/tsconfig.json b/types/packery/tsconfig.json index 3e17d32ee6..85c7e3ae6a 100644 --- a/types/packery/tsconfig.json +++ b/types/packery/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pad/tsconfig.json b/types/pad/tsconfig.json index fd8ce70400..6a6ef6d4c7 100644 --- a/types/pad/tsconfig.json +++ b/types/pad/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/page-icon/tsconfig.json b/types/page-icon/tsconfig.json index 143c1b0232..f5dc72cbcd 100644 --- a/types/page-icon/tsconfig.json +++ b/types/page-icon/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/page/tsconfig.json b/types/page/tsconfig.json index f3ffce244f..3a774901be 100644 --- a/types/page/tsconfig.json +++ b/types/page/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/paho-mqtt/tsconfig.json b/types/paho-mqtt/tsconfig.json index f08ccecb7a..7e9a7ce4e6 100644 --- a/types/paho-mqtt/tsconfig.json +++ b/types/paho-mqtt/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pako/tsconfig.json b/types/pako/tsconfig.json index b1e866a0a9..011a39c83c 100644 --- a/types/pako/tsconfig.json +++ b/types/pako/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pangu/tsconfig.json b/types/pangu/tsconfig.json index 83ce22a7b2..91b1b9f43a 100644 --- a/types/pangu/tsconfig.json +++ b/types/pangu/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/papaparse/tsconfig.json b/types/papaparse/tsconfig.json index 80238273d7..1684012a56 100644 --- a/types/papaparse/tsconfig.json +++ b/types/papaparse/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/paper/tsconfig.json b/types/paper/tsconfig.json index 6f21980e93..ba81ca6cf0 100644 --- a/types/paper/tsconfig.json +++ b/types/paper/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/paralleljs/tsconfig.json b/types/paralleljs/tsconfig.json index d074b65fd1..0cea925bbd 100644 --- a/types/paralleljs/tsconfig.json +++ b/types/paralleljs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/parent-package-json/tsconfig.json b/types/parent-package-json/tsconfig.json index b07b7e1918..c3c9be507a 100644 --- a/types/parent-package-json/tsconfig.json +++ b/types/parent-package-json/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/parse-git-config/tsconfig.json b/types/parse-git-config/tsconfig.json index ec4ea443ed..5295cbc1ee 100644 --- a/types/parse-git-config/tsconfig.json +++ b/types/parse-git-config/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/parse-glob/tsconfig.json b/types/parse-glob/tsconfig.json index 62c72fdf23..0f620fa4e7 100644 --- a/types/parse-glob/tsconfig.json +++ b/types/parse-glob/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/parse-json/tsconfig.json b/types/parse-json/tsconfig.json index 153bd71944..d163b65cda 100644 --- a/types/parse-json/tsconfig.json +++ b/types/parse-json/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/parse-link-header/tsconfig.json b/types/parse-link-header/tsconfig.json index 7156e907bc..82b1addcbd 100644 --- a/types/parse-link-header/tsconfig.json +++ b/types/parse-link-header/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/parse-mockdb/tsconfig.json b/types/parse-mockdb/tsconfig.json index 9990f2ee1e..47ec90a997 100644 --- a/types/parse-mockdb/tsconfig.json +++ b/types/parse-mockdb/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/parse-ms/tsconfig.json b/types/parse-ms/tsconfig.json index 28c9a4810e..a4d7591291 100644 --- a/types/parse-ms/tsconfig.json +++ b/types/parse-ms/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/parse-torrent-file/tsconfig.json b/types/parse-torrent-file/tsconfig.json index bce67a0d57..dcd42f04f0 100644 --- a/types/parse-torrent-file/tsconfig.json +++ b/types/parse-torrent-file/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/parse-torrent/tsconfig.json b/types/parse-torrent/tsconfig.json index f82d5a8bfc..1a2750195a 100644 --- a/types/parse-torrent/tsconfig.json +++ b/types/parse-torrent/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/parse-unit/tsconfig.json b/types/parse-unit/tsconfig.json index 3257f3b69e..081dcee45d 100644 --- a/types/parse-unit/tsconfig.json +++ b/types/parse-unit/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/parse/tsconfig.json b/types/parse/tsconfig.json index 8e41c1dede..53ec60085d 100644 --- a/types/parse/tsconfig.json +++ b/types/parse/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/parseurl/tsconfig.json b/types/parseurl/tsconfig.json index 4f7ce9cbac..f47e85f978 100644 --- a/types/parseurl/tsconfig.json +++ b/types/parseurl/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/parsimmon/tsconfig.json b/types/parsimmon/tsconfig.json index 6e85d7e3ca..7fec29b8cc 100644 --- a/types/parsimmon/tsconfig.json +++ b/types/parsimmon/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-anonymous/tsconfig.json b/types/passport-anonymous/tsconfig.json index b667acd694..1d8859e706 100644 --- a/types/passport-anonymous/tsconfig.json +++ b/types/passport-anonymous/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-beam/tsconfig.json b/types/passport-beam/tsconfig.json index bb65e62fbc..7b3fc8e513 100644 --- a/types/passport-beam/tsconfig.json +++ b/types/passport-beam/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-discord/tsconfig.json b/types/passport-discord/tsconfig.json index dcb1ac3502..38a8051fb9 100644 --- a/types/passport-discord/tsconfig.json +++ b/types/passport-discord/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-facebook-token/tsconfig.json b/types/passport-facebook-token/tsconfig.json index 2b877f282b..e1d020177a 100644 --- a/types/passport-facebook-token/tsconfig.json +++ b/types/passport-facebook-token/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-facebook/tsconfig.json b/types/passport-facebook/tsconfig.json index 9153763af2..dcc610efec 100644 --- a/types/passport-facebook/tsconfig.json +++ b/types/passport-facebook/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-github/tsconfig.json b/types/passport-github/tsconfig.json index deac088de3..0e7ac43e0e 100644 --- a/types/passport-github/tsconfig.json +++ b/types/passport-github/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-github2/tsconfig.json b/types/passport-github2/tsconfig.json index ec58c6f1da..ae03d3bb32 100644 --- a/types/passport-github2/tsconfig.json +++ b/types/passport-github2/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-google-oauth/tsconfig.json b/types/passport-google-oauth/tsconfig.json index ef36d15b4a..adde576621 100644 --- a/types/passport-google-oauth/tsconfig.json +++ b/types/passport-google-oauth/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-google-oauth2/tsconfig.json b/types/passport-google-oauth2/tsconfig.json index 7c144ffdff..ee60531f41 100644 --- a/types/passport-google-oauth2/tsconfig.json +++ b/types/passport-google-oauth2/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-http-bearer/tsconfig.json b/types/passport-http-bearer/tsconfig.json index 6ae99f8758..b6033075ab 100644 --- a/types/passport-http-bearer/tsconfig.json +++ b/types/passport-http-bearer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-http/tsconfig.json b/types/passport-http/tsconfig.json index e158bcb014..d1a35a3390 100644 --- a/types/passport-http/tsconfig.json +++ b/types/passport-http/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-jwt/tsconfig.json b/types/passport-jwt/tsconfig.json index 6170656dd1..906f33004d 100644 --- a/types/passport-jwt/tsconfig.json +++ b/types/passport-jwt/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-kakao/tsconfig.json b/types/passport-kakao/tsconfig.json index 0657b076b8..6240d3f149 100644 --- a/types/passport-kakao/tsconfig.json +++ b/types/passport-kakao/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-local-mongoose/tsconfig.json b/types/passport-local-mongoose/tsconfig.json index 6ba09ff095..c0806a2177 100644 --- a/types/passport-local-mongoose/tsconfig.json +++ b/types/passport-local-mongoose/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-local/tsconfig.json b/types/passport-local/tsconfig.json index fa2f7824d5..340ecca02d 100644 --- a/types/passport-local/tsconfig.json +++ b/types/passport-local/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-naver/tsconfig.json b/types/passport-naver/tsconfig.json index e09b5e2a55..3412d6be4a 100644 --- a/types/passport-naver/tsconfig.json +++ b/types/passport-naver/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-oauth2-client-password/tsconfig.json b/types/passport-oauth2-client-password/tsconfig.json index 19cc572681..e7cc4cc177 100644 --- a/types/passport-oauth2-client-password/tsconfig.json +++ b/types/passport-oauth2-client-password/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-oauth2/tsconfig.json b/types/passport-oauth2/tsconfig.json index cc083b7bf7..5e71cf6328 100644 --- a/types/passport-oauth2/tsconfig.json +++ b/types/passport-oauth2/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-saml/tsconfig.json b/types/passport-saml/tsconfig.json index f7e6b952d4..0809dbbaf7 100644 --- a/types/passport-saml/tsconfig.json +++ b/types/passport-saml/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-steam/tsconfig.json b/types/passport-steam/tsconfig.json index 618ce103d0..94a0d709a4 100644 --- a/types/passport-steam/tsconfig.json +++ b/types/passport-steam/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-strategy/tsconfig.json b/types/passport-strategy/tsconfig.json index 912569eef3..b9d033a50e 100644 --- a/types/passport-strategy/tsconfig.json +++ b/types/passport-strategy/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-twitter/tsconfig.json b/types/passport-twitter/tsconfig.json index 94c7367c2e..4034aa5640 100644 --- a/types/passport-twitter/tsconfig.json +++ b/types/passport-twitter/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport-unique-token/tsconfig.json b/types/passport-unique-token/tsconfig.json index 5c70a8debd..405438dd5a 100644 --- a/types/passport-unique-token/tsconfig.json +++ b/types/passport-unique-token/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/passport/tsconfig.json b/types/passport/tsconfig.json index 085a0730d1..08fe485f60 100644 --- a/types/passport/tsconfig.json +++ b/types/passport/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/password-hash-and-salt/tsconfig.json b/types/password-hash-and-salt/tsconfig.json index 4269a10725..a2a0427f51 100644 --- a/types/password-hash-and-salt/tsconfig.json +++ b/types/password-hash-and-salt/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/password-hash/tsconfig.json b/types/password-hash/tsconfig.json index a0fb6b0e8f..b0e161a8a2 100644 --- a/types/password-hash/tsconfig.json +++ b/types/password-hash/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/path-exists/tsconfig.json b/types/path-exists/tsconfig.json index 50ce9f3349..d9e230ee27 100644 --- a/types/path-exists/tsconfig.json +++ b/types/path-exists/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/path-exists/v1/tsconfig.json b/types/path-exists/v1/tsconfig.json index f8059a64b7..3a52689e9c 100644 --- a/types/path-exists/v1/tsconfig.json +++ b/types/path-exists/v1/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/path-is-absolute/tsconfig.json b/types/path-is-absolute/tsconfig.json index 63bd03ece3..c3b15bff95 100644 --- a/types/path-is-absolute/tsconfig.json +++ b/types/path-is-absolute/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/path-parse/tsconfig.json b/types/path-parse/tsconfig.json index e89835c7e5..9123b62477 100644 --- a/types/path-parse/tsconfig.json +++ b/types/path-parse/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pathfinding/tsconfig.json b/types/pathfinding/tsconfig.json index 76d2cec85c..0428d67daa 100644 --- a/types/pathfinding/tsconfig.json +++ b/types/pathfinding/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pathjs/tsconfig.json b/types/pathjs/tsconfig.json index a8c29ed915..60a8aba82a 100644 --- a/types/pathjs/tsconfig.json +++ b/types/pathjs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pathwatcher/tsconfig.json b/types/pathwatcher/tsconfig.json index 3c46805477..f63edaf188 100644 --- a/types/pathwatcher/tsconfig.json +++ b/types/pathwatcher/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pause/tsconfig.json b/types/pause/tsconfig.json index 14acafe4a9..76c0af48a3 100644 --- a/types/pause/tsconfig.json +++ b/types/pause/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/payment/tsconfig.json b/types/payment/tsconfig.json index 499c49ce64..4f1166c44f 100644 --- a/types/payment/tsconfig.json +++ b/types/payment/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/paypal-cordova-plugin/tsconfig.json b/types/paypal-cordova-plugin/tsconfig.json index cddf3ab053..67ee653902 100644 --- a/types/paypal-cordova-plugin/tsconfig.json +++ b/types/paypal-cordova-plugin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/paypal-rest-sdk/tsconfig.json b/types/paypal-rest-sdk/tsconfig.json index 4026071a14..4e1922b8ba 100644 --- a/types/paypal-rest-sdk/tsconfig.json +++ b/types/paypal-rest-sdk/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pbf/tsconfig.json b/types/pbf/tsconfig.json index c6bd76c88a..b9ec4bce50 100644 --- a/types/pbf/tsconfig.json +++ b/types/pbf/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pdfjs-dist/tsconfig.json b/types/pdfjs-dist/tsconfig.json index 17f7d8cfca..d189de9f02 100644 --- a/types/pdfjs-dist/tsconfig.json +++ b/types/pdfjs-dist/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pdfkit/tsconfig.json b/types/pdfkit/tsconfig.json index 490ef6e892..f14037a57f 100644 --- a/types/pdfkit/tsconfig.json +++ b/types/pdfkit/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pdfobject/tsconfig.json b/types/pdfobject/tsconfig.json index dcb101218a..178c186ae8 100644 --- a/types/pdfobject/tsconfig.json +++ b/types/pdfobject/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pebblekitjs/tsconfig.json b/types/pebblekitjs/tsconfig.json index fb45867efd..e09e806e3b 100644 --- a/types/pebblekitjs/tsconfig.json +++ b/types/pebblekitjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/peer-dial/tsconfig.json b/types/peer-dial/tsconfig.json index f9ec138996..4672562aef 100644 --- a/types/peer-dial/tsconfig.json +++ b/types/peer-dial/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/peerjs/tsconfig.json b/types/peerjs/tsconfig.json index 7400e9a78c..41e815c2c3 100644 --- a/types/peerjs/tsconfig.json +++ b/types/peerjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pegjs/tsconfig.json b/types/pegjs/tsconfig.json index 49e431cdc2..ea5f1cc8e4 100644 --- a/types/pegjs/tsconfig.json +++ b/types/pegjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pem/tsconfig.json b/types/pem/tsconfig.json index f7d45f9f7d..509312522f 100644 --- a/types/pem/tsconfig.json +++ b/types/pem/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/persona/tsconfig.json b/types/persona/tsconfig.json index 5726175930..cadf2878fc 100644 --- a/types/persona/tsconfig.json +++ b/types/persona/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pet-finder-api/tsconfig.json b/types/pet-finder-api/tsconfig.json index 605722a75f..66a88e70be 100644 --- a/types/pet-finder-api/tsconfig.json +++ b/types/pet-finder-api/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pg-ears/tsconfig.json b/types/pg-ears/tsconfig.json index 3a5bd63fe8..a98396e776 100644 --- a/types/pg-ears/tsconfig.json +++ b/types/pg-ears/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pg-escape/tsconfig.json b/types/pg-escape/tsconfig.json index a32fb19012..b5afa8ea9a 100644 --- a/types/pg-escape/tsconfig.json +++ b/types/pg-escape/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pg-pool/tsconfig.json b/types/pg-pool/tsconfig.json index ffc4440460..5381ba2842 100644 --- a/types/pg-pool/tsconfig.json +++ b/types/pg-pool/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pg-query-stream/tsconfig.json b/types/pg-query-stream/tsconfig.json index d6da0a5ff2..8137847846 100644 --- a/types/pg-query-stream/tsconfig.json +++ b/types/pg-query-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pg-types/tsconfig.json b/types/pg-types/tsconfig.json index b8e5677970..1ab38690e5 100644 --- a/types/pg-types/tsconfig.json +++ b/types/pg-types/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pg/tsconfig.json b/types/pg/tsconfig.json index a836da031a..92ec2db62b 100644 --- a/types/pg/tsconfig.json +++ b/types/pg/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pg/v6/tsconfig.json b/types/pg/v6/tsconfig.json index 6f8e496a3a..4e12c2c891 100644 --- a/types/pg/v6/tsconfig.json +++ b/types/pg/v6/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pgwmodal/tsconfig.json b/types/pgwmodal/tsconfig.json index 8b0d9007a5..5ad4cd4a98 100644 --- a/types/pgwmodal/tsconfig.json +++ b/types/pgwmodal/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/phantom/tsconfig.json b/types/phantom/tsconfig.json index db99b55c3e..39ae0edc93 100644 --- a/types/phantom/tsconfig.json +++ b/types/phantom/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/phantomcss/tsconfig.json b/types/phantomcss/tsconfig.json index f1ed6ac3c6..cba4e19ecd 100644 --- a/types/phantomcss/tsconfig.json +++ b/types/phantomcss/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/phantomjs/tsconfig.json b/types/phantomjs/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/phantomjs/tsconfig.json +++ b/types/phantomjs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/phoenix/tsconfig.json b/types/phoenix/tsconfig.json index 2ab9a802b8..40bfbb22b6 100644 --- a/types/phoenix/tsconfig.json +++ b/types/phoenix/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/phone-formatter/tsconfig.json b/types/phone-formatter/tsconfig.json index 1446ec115e..48f951581e 100644 --- a/types/phone-formatter/tsconfig.json +++ b/types/phone-formatter/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/phone/tsconfig.json b/types/phone/tsconfig.json index bab413270c..1890b13a08 100644 --- a/types/phone/tsconfig.json +++ b/types/phone/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/phonegap-facebook-plugin/tsconfig.json b/types/phonegap-facebook-plugin/tsconfig.json index 9a06dc0e67..0a1d090d05 100644 --- a/types/phonegap-facebook-plugin/tsconfig.json +++ b/types/phonegap-facebook-plugin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/phonegap-nfc/tsconfig.json b/types/phonegap-nfc/tsconfig.json index 3a44f3b88e..72b1f019d8 100644 --- a/types/phonegap-nfc/tsconfig.json +++ b/types/phonegap-nfc/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/phonegap-plugin-barcodescanner/tsconfig.json b/types/phonegap-plugin-barcodescanner/tsconfig.json index 62862eeea7..ec6d41e488 100644 --- a/types/phonegap-plugin-barcodescanner/tsconfig.json +++ b/types/phonegap-plugin-barcodescanner/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/phonegap/tsconfig.json b/types/phonegap/tsconfig.json index e513609ef9..714111c6e0 100644 --- a/types/phonegap/tsconfig.json +++ b/types/phonegap/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/phonon/tsconfig.json b/types/phonon/tsconfig.json index 27fdea2d6f..bbadd8d12a 100644 --- a/types/phonon/tsconfig.json +++ b/types/phonon/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/photonui/tsconfig.json b/types/photonui/tsconfig.json index 444824f4f7..7aa685b04b 100644 --- a/types/photonui/tsconfig.json +++ b/types/photonui/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/photoswipe/tsconfig.json b/types/photoswipe/tsconfig.json index 126ce7e39f..9e83ea1174 100644 --- a/types/photoswipe/tsconfig.json +++ b/types/photoswipe/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/physijs/tsconfig.json b/types/physijs/tsconfig.json index 20053336be..6d446c60b3 100644 --- a/types/physijs/tsconfig.json +++ b/types/physijs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pi-spi/tsconfig.json b/types/pi-spi/tsconfig.json index b2ec839104..0dada24fe6 100644 --- a/types/pi-spi/tsconfig.json +++ b/types/pi-spi/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pick-weight/tsconfig.json b/types/pick-weight/tsconfig.json index 2d02a2adef..86f4110d99 100644 --- a/types/pick-weight/tsconfig.json +++ b/types/pick-weight/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pickadate/tsconfig.json b/types/pickadate/tsconfig.json index a96115048d..7b19418034 100644 --- a/types/pickadate/tsconfig.json +++ b/types/pickadate/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/picturefill/tsconfig.json b/types/picturefill/tsconfig.json index 84ef59b7ce..1435f75db0 100644 --- a/types/picturefill/tsconfig.json +++ b/types/picturefill/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pidusage/tsconfig.json b/types/pidusage/tsconfig.json index 25c6d2eddf..256715e11c 100644 --- a/types/pidusage/tsconfig.json +++ b/types/pidusage/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pify/tsconfig.json b/types/pify/tsconfig.json index 13826105d6..bf0a1104aa 100644 --- a/types/pify/tsconfig.json +++ b/types/pify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pigpio/tsconfig.json b/types/pigpio/tsconfig.json index 7358a555c4..e5b61af015 100644 --- a/types/pigpio/tsconfig.json +++ b/types/pigpio/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pikaday-time/tsconfig.json b/types/pikaday-time/tsconfig.json index 198426c4ce..bf96d27d1a 100644 --- a/types/pikaday-time/tsconfig.json +++ b/types/pikaday-time/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pikaday/tsconfig.json b/types/pikaday/tsconfig.json index e127c57ad1..3c936ab905 100644 --- a/types/pikaday/tsconfig.json +++ b/types/pikaday/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pinkyswear/tsconfig.json b/types/pinkyswear/tsconfig.json index 8e67838864..c815468eb3 100644 --- a/types/pinkyswear/tsconfig.json +++ b/types/pinkyswear/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pino-multi-stream/tsconfig.json b/types/pino-multi-stream/tsconfig.json index a421b036f3..df16842f19 100644 --- a/types/pino-multi-stream/tsconfig.json +++ b/types/pino-multi-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pino/tsconfig.json b/types/pino/tsconfig.json index 46cfc15004..78c8106f18 100644 --- a/types/pino/tsconfig.json +++ b/types/pino/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pino/v3/tsconfig.json b/types/pino/v3/tsconfig.json index ed2f81e7b8..cc1e05b0f1 100644 --- a/types/pino/v3/tsconfig.json +++ b/types/pino/v3/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pinterest-sdk/tsconfig.json b/types/pinterest-sdk/tsconfig.json index 1665ad68fc..17bc0c1135 100644 --- a/types/pinterest-sdk/tsconfig.json +++ b/types/pinterest-sdk/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pinyin/tsconfig.json b/types/pinyin/tsconfig.json index 1f1295881d..2fc91705ca 100644 --- a/types/pinyin/tsconfig.json +++ b/types/pinyin/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/piwik-tracker/tsconfig.json b/types/piwik-tracker/tsconfig.json index a66212950b..5f3f92ee94 100644 --- a/types/piwik-tracker/tsconfig.json +++ b/types/piwik-tracker/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pixelmatch/tsconfig.json b/types/pixelmatch/tsconfig.json index f922c8c0b3..ef11da582a 100644 --- a/types/pixelmatch/tsconfig.json +++ b/types/pixelmatch/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pixi.js/tsconfig.json b/types/pixi.js/tsconfig.json index 76ed9779cf..742fa02137 100644 --- a/types/pixi.js/tsconfig.json +++ b/types/pixi.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pkg-dir/tsconfig.json b/types/pkg-dir/tsconfig.json index 496ac52b2b..a5647ed0eb 100644 --- a/types/pkg-dir/tsconfig.json +++ b/types/pkg-dir/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pkijs/tsconfig.json b/types/pkijs/tsconfig.json index 885bd7a0d8..2a4d04ec08 100644 --- a/types/pkijs/tsconfig.json +++ b/types/pkijs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/platform/tsconfig.json b/types/platform/tsconfig.json index be37a03253..95084ee11c 100644 --- a/types/platform/tsconfig.json +++ b/types/platform/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/playcanvas/tsconfig.json b/types/playcanvas/tsconfig.json index 2eb564bd87..ef89113006 100644 --- a/types/playcanvas/tsconfig.json +++ b/types/playcanvas/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/playerframework/tsconfig.json b/types/playerframework/tsconfig.json index 984c1f5ae4..56c01ef247 100644 --- a/types/playerframework/tsconfig.json +++ b/types/playerframework/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pleasejs/tsconfig.json b/types/pleasejs/tsconfig.json index 57104ee53b..94046488fe 100644 --- a/types/pleasejs/tsconfig.json +++ b/types/pleasejs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/plotly.js/tsconfig.json b/types/plotly.js/tsconfig.json index 6d2562291f..dd21321c49 100644 --- a/types/plotly.js/tsconfig.json +++ b/types/plotly.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/plugapi/tsconfig.json b/types/plugapi/tsconfig.json index 2e234835bd..e0f04186ed 100644 --- a/types/plugapi/tsconfig.json +++ b/types/plugapi/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/plugin-error/tsconfig.json b/types/plugin-error/tsconfig.json index a8d393375f..9c57996e49 100644 --- a/types/plugin-error/tsconfig.json +++ b/types/plugin-error/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/plupload/tsconfig.json b/types/plupload/tsconfig.json index 01f211f578..fc46738339 100644 --- a/types/plupload/tsconfig.json +++ b/types/plupload/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pluralize/tsconfig.json b/types/pluralize/tsconfig.json index 4c8f0ed41e..112ed18147 100644 --- a/types/pluralize/tsconfig.json +++ b/types/pluralize/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/png-async/tsconfig.json b/types/png-async/tsconfig.json index 96cc95167c..181b899496 100644 --- a/types/png-async/tsconfig.json +++ b/types/png-async/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pngjs/tsconfig.json b/types/pngjs/tsconfig.json index 229283a536..4a2c2d47fd 100644 --- a/types/pngjs/tsconfig.json +++ b/types/pngjs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pngjs2/tsconfig.json b/types/pngjs2/tsconfig.json index 07948ed5e6..cbefc10524 100644 --- a/types/pngjs2/tsconfig.json +++ b/types/pngjs2/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/podcast/tsconfig.json b/types/podcast/tsconfig.json index 7e348b4913..8e4c29f1e9 100644 --- a/types/podcast/tsconfig.json +++ b/types/podcast/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/podium/tsconfig.json b/types/podium/tsconfig.json index d7580cd819..a383a8d04c 100644 --- a/types/podium/tsconfig.json +++ b/types/podium/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/point-in-polygon/tsconfig.json b/types/point-in-polygon/tsconfig.json index 12a529f109..a17d220c7e 100644 --- a/types/point-in-polygon/tsconfig.json +++ b/types/point-in-polygon/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/polylabel/tsconfig.json b/types/polylabel/tsconfig.json index b101936e68..a9f8f55e42 100644 --- a/types/polylabel/tsconfig.json +++ b/types/polylabel/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/polyline/tsconfig.json b/types/polyline/tsconfig.json index 032d5b9180..267af0e29a 100644 --- a/types/polyline/tsconfig.json +++ b/types/polyline/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/polymer-ts/tsconfig.json b/types/polymer-ts/tsconfig.json index 48b262e0c8..67ef43b3be 100644 --- a/types/polymer-ts/tsconfig.json +++ b/types/polymer-ts/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/polymer/tsconfig.json b/types/polymer/tsconfig.json index 4b79861705..172edc052b 100644 --- a/types/polymer/tsconfig.json +++ b/types/polymer/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/popcorn/tsconfig.json b/types/popcorn/tsconfig.json index b4076b50e2..fa1c069762 100644 --- a/types/popcorn/tsconfig.json +++ b/types/popcorn/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/portscanner/tsconfig.json b/types/portscanner/tsconfig.json index 6e71168863..0a2ba9f13b 100644 --- a/types/portscanner/tsconfig.json +++ b/types/portscanner/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/postal/tsconfig.json b/types/postal/tsconfig.json index d9b73de77d..69e3362d73 100644 --- a/types/postal/tsconfig.json +++ b/types/postal/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/postal/v0/tsconfig.json b/types/postal/v0/tsconfig.json index 417249bc92..207cc2f60b 100644 --- a/types/postal/v0/tsconfig.json +++ b/types/postal/v0/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/postmark/tsconfig.json b/types/postmark/tsconfig.json index aa22026f4e..86df19a17f 100644 --- a/types/postmark/tsconfig.json +++ b/types/postmark/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pouch-redux-middleware/tsconfig.json b/types/pouch-redux-middleware/tsconfig.json index 46f40a7938..f9cf608a5e 100644 --- a/types/pouch-redux-middleware/tsconfig.json +++ b/types/pouch-redux-middleware/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-adapter-fruitdown/tsconfig.json b/types/pouchdb-adapter-fruitdown/tsconfig.json index 3a95c3d2aa..c3357ce2d2 100644 --- a/types/pouchdb-adapter-fruitdown/tsconfig.json +++ b/types/pouchdb-adapter-fruitdown/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-adapter-http/tsconfig.json b/types/pouchdb-adapter-http/tsconfig.json index 43d474c91b..dd66d20097 100644 --- a/types/pouchdb-adapter-http/tsconfig.json +++ b/types/pouchdb-adapter-http/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-adapter-idb/tsconfig.json b/types/pouchdb-adapter-idb/tsconfig.json index bb163bf1ad..ce5edaa36c 100644 --- a/types/pouchdb-adapter-idb/tsconfig.json +++ b/types/pouchdb-adapter-idb/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-adapter-leveldb/tsconfig.json b/types/pouchdb-adapter-leveldb/tsconfig.json index 1a145b0469..4c3ceef40c 100644 --- a/types/pouchdb-adapter-leveldb/tsconfig.json +++ b/types/pouchdb-adapter-leveldb/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-adapter-localstorage/tsconfig.json b/types/pouchdb-adapter-localstorage/tsconfig.json index cdd0d4a974..b5c18c4a9f 100644 --- a/types/pouchdb-adapter-localstorage/tsconfig.json +++ b/types/pouchdb-adapter-localstorage/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-adapter-memory/tsconfig.json b/types/pouchdb-adapter-memory/tsconfig.json index 09c2bc23ce..0bf83e3b74 100644 --- a/types/pouchdb-adapter-memory/tsconfig.json +++ b/types/pouchdb-adapter-memory/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-adapter-node-websql/tsconfig.json b/types/pouchdb-adapter-node-websql/tsconfig.json index 85265196b1..a154ce42e3 100644 --- a/types/pouchdb-adapter-node-websql/tsconfig.json +++ b/types/pouchdb-adapter-node-websql/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-adapter-websql/tsconfig.json b/types/pouchdb-adapter-websql/tsconfig.json index 1b70d6ae7a..a4dd9848fc 100644 --- a/types/pouchdb-adapter-websql/tsconfig.json +++ b/types/pouchdb-adapter-websql/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-browser/tsconfig.json b/types/pouchdb-browser/tsconfig.json index 2689817b3b..892bc704d0 100644 --- a/types/pouchdb-browser/tsconfig.json +++ b/types/pouchdb-browser/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-core/tsconfig.json b/types/pouchdb-core/tsconfig.json index 53b2e522d3..61dd8ca4d1 100644 --- a/types/pouchdb-core/tsconfig.json +++ b/types/pouchdb-core/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-find/tsconfig.json b/types/pouchdb-find/tsconfig.json index 633e57958e..3db7946c2a 100644 --- a/types/pouchdb-find/tsconfig.json +++ b/types/pouchdb-find/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-http/tsconfig.json b/types/pouchdb-http/tsconfig.json index a4e8be6142..0e67095870 100644 --- a/types/pouchdb-http/tsconfig.json +++ b/types/pouchdb-http/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-mapreduce/tsconfig.json b/types/pouchdb-mapreduce/tsconfig.json index 0ee8aba915..1af053e93b 100644 --- a/types/pouchdb-mapreduce/tsconfig.json +++ b/types/pouchdb-mapreduce/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-node/tsconfig.json b/types/pouchdb-node/tsconfig.json index bfce778e16..c1304343b6 100644 --- a/types/pouchdb-node/tsconfig.json +++ b/types/pouchdb-node/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-replication/tsconfig.json b/types/pouchdb-replication/tsconfig.json index d4646381cc..6a64902380 100644 --- a/types/pouchdb-replication/tsconfig.json +++ b/types/pouchdb-replication/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb-upsert/tsconfig.json b/types/pouchdb-upsert/tsconfig.json index 99c7fc25b8..ff5dc47e0c 100644 --- a/types/pouchdb-upsert/tsconfig.json +++ b/types/pouchdb-upsert/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pouchdb/tsconfig.json b/types/pouchdb/tsconfig.json index 0b932bc155..6894fb45dc 100644 --- a/types/pouchdb/tsconfig.json +++ b/types/pouchdb/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/power-assert-formatter/tsconfig.json b/types/power-assert-formatter/tsconfig.json index 838e3eb3bc..93cc04326a 100644 --- a/types/power-assert-formatter/tsconfig.json +++ b/types/power-assert-formatter/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/power-assert/tsconfig.json b/types/power-assert/tsconfig.json index f4eb6ee125..9093028de3 100644 --- a/types/power-assert/tsconfig.json +++ b/types/power-assert/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/precise/tsconfig.json b/types/precise/tsconfig.json index 0ad3319223..e400470ee5 100644 --- a/types/precise/tsconfig.json +++ b/types/precise/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/precond/tsconfig.json b/types/precond/tsconfig.json index 376f45bf15..8158d9149d 100644 --- a/types/precond/tsconfig.json +++ b/types/precond/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/preloadjs/tsconfig.json b/types/preloadjs/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/preloadjs/tsconfig.json +++ b/types/preloadjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/prelude-ls/tsconfig.json b/types/prelude-ls/tsconfig.json index 79cee0c5db..7c846df940 100644 --- a/types/prelude-ls/tsconfig.json +++ b/types/prelude-ls/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prettier/tsconfig.json b/types/prettier/tsconfig.json index b4fe5b746c..c3ff9609e6 100644 --- a/types/prettier/tsconfig.json +++ b/types/prettier/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pretty-bytes/tsconfig.json b/types/pretty-bytes/tsconfig.json index deec7037a2..fd11c640b4 100644 --- a/types/pretty-bytes/tsconfig.json +++ b/types/pretty-bytes/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pretty-format/tsconfig.json b/types/pretty-format/tsconfig.json index 0c54a65fd4..b51d58bdbb 100644 --- a/types/pretty-format/tsconfig.json +++ b/types/pretty-format/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pretty-ms/tsconfig.json b/types/pretty-ms/tsconfig.json index 42961708ac..da88b941c7 100644 --- a/types/pretty-ms/tsconfig.json +++ b/types/pretty-ms/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prettyjson/tsconfig.json b/types/prettyjson/tsconfig.json index c344cc2742..8169c27bba 100644 --- a/types/prettyjson/tsconfig.json +++ b/types/prettyjson/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/printf/tsconfig.json b/types/printf/tsconfig.json index 19c87443f7..620efed257 100644 --- a/types/printf/tsconfig.json +++ b/types/printf/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/priorityqueuejs/tsconfig.json b/types/priorityqueuejs/tsconfig.json index 93882d576f..565b6f8339 100644 --- a/types/priorityqueuejs/tsconfig.json +++ b/types/priorityqueuejs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prismjs/tsconfig.json b/types/prismjs/tsconfig.json index 03ba8fadf4..c5385df0ce 100644 --- a/types/prismjs/tsconfig.json +++ b/types/prismjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/private-ip/tsconfig.json b/types/private-ip/tsconfig.json index 5a0e21cf48..33e37f45f5 100644 --- a/types/private-ip/tsconfig.json +++ b/types/private-ip/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/procfs-stats/tsconfig.json b/types/procfs-stats/tsconfig.json index 8a501b61b3..92d82b595d 100644 --- a/types/procfs-stats/tsconfig.json +++ b/types/procfs-stats/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/progress/tsconfig.json b/types/progress/tsconfig.json index 65e98d96ce..8621f46a57 100644 --- a/types/progress/tsconfig.json +++ b/types/progress/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/progressbar/tsconfig.json b/types/progressbar/tsconfig.json index 7aef8bf887..b541482303 100644 --- a/types/progressbar/tsconfig.json +++ b/types/progressbar/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/progressjs/tsconfig.json b/types/progressjs/tsconfig.json index fc6f9032d4..371d303dae 100644 --- a/types/progressjs/tsconfig.json +++ b/types/progressjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/proj4/tsconfig.json b/types/proj4/tsconfig.json index 1ab5dd3aca..a55659d52c 100644 --- a/types/proj4/tsconfig.json +++ b/types/proj4/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/proj4leaflet/tsconfig.json b/types/proj4leaflet/tsconfig.json index 71ce31477e..697b96a93a 100644 --- a/types/proj4leaflet/tsconfig.json +++ b/types/proj4leaflet/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/project-oxford/tsconfig.json b/types/project-oxford/tsconfig.json index 8fc5270b59..4dbec7201d 100644 --- a/types/project-oxford/tsconfig.json +++ b/types/project-oxford/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/promise-dag/tsconfig.json b/types/promise-dag/tsconfig.json index a67918464c..c98c23daeb 100644 --- a/types/promise-dag/tsconfig.json +++ b/types/promise-dag/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/promise-pg/tsconfig.json b/types/promise-pg/tsconfig.json index 3738fbe7d4..33ce665884 100644 --- a/types/promise-pg/tsconfig.json +++ b/types/promise-pg/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/promise-polyfill/tsconfig.json b/types/promise-polyfill/tsconfig.json index eeae37f208..7fc4ac5f7b 100644 --- a/types/promise-polyfill/tsconfig.json +++ b/types/promise-polyfill/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/promise-pool/tsconfig.json b/types/promise-pool/tsconfig.json index 1dee50ec2c..98ab2ed31d 100644 --- a/types/promise-pool/tsconfig.json +++ b/types/promise-pool/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/promise-queue/tsconfig.json b/types/promise-queue/tsconfig.json index ff00e6ae4d..e1f2e1fada 100644 --- a/types/promise-queue/tsconfig.json +++ b/types/promise-queue/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/promise-retry/tsconfig.json b/types/promise-retry/tsconfig.json index 108576d80a..660e112726 100644 --- a/types/promise-retry/tsconfig.json +++ b/types/promise-retry/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/promise.prototype.finally/tsconfig.json b/types/promise.prototype.finally/tsconfig.json index 8624f013f1..7562ea9a0e 100644 --- a/types/promise.prototype.finally/tsconfig.json +++ b/types/promise.prototype.finally/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/promised-temp/tsconfig.json b/types/promised-temp/tsconfig.json index 0bd5275fad..95c3dbb03c 100644 --- a/types/promised-temp/tsconfig.json +++ b/types/promised-temp/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/promisify-node/tsconfig.json b/types/promisify-node/tsconfig.json index f54f1e857d..a6cb4941e3 100644 --- a/types/promisify-node/tsconfig.json +++ b/types/promisify-node/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/promisify-supertest/tsconfig.json b/types/promisify-supertest/tsconfig.json index 3709bcb2a7..5c827afe3d 100644 --- a/types/promisify-supertest/tsconfig.json +++ b/types/promisify-supertest/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prompt-sync-history/tsconfig.json b/types/prompt-sync-history/tsconfig.json index 7a8b0e911b..eee808c57f 100644 --- a/types/prompt-sync-history/tsconfig.json +++ b/types/prompt-sync-history/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prompt-sync/tsconfig.json b/types/prompt-sync/tsconfig.json index ef1a66e7b2..4e3cc7be7f 100644 --- a/types/prompt-sync/tsconfig.json +++ b/types/prompt-sync/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/promptly/tsconfig.json b/types/promptly/tsconfig.json index 2c4bb2d18f..1743c8cfae 100644 --- a/types/promptly/tsconfig.json +++ b/types/promptly/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prop-types/tsconfig.json b/types/prop-types/tsconfig.json index 6274310dfb..fc9e42b6d6 100644 --- a/types/prop-types/tsconfig.json +++ b/types/prop-types/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "lib": [ "es6" ] diff --git a/types/properties-reader/tsconfig.json b/types/properties-reader/tsconfig.json index ac7cfabcca..18f69d9755 100644 --- a/types/properties-reader/tsconfig.json +++ b/types/properties-reader/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-collab/tsconfig.json b/types/prosemirror-collab/tsconfig.json index 9da4d55b1c..42b55853a5 100644 --- a/types/prosemirror-collab/tsconfig.json +++ b/types/prosemirror-collab/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-commands/tsconfig.json b/types/prosemirror-commands/tsconfig.json index 8c66702f55..0d89f90c3b 100644 --- a/types/prosemirror-commands/tsconfig.json +++ b/types/prosemirror-commands/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-gapcursor/tsconfig.json b/types/prosemirror-gapcursor/tsconfig.json index 81051ed6d5..957316926f 100644 --- a/types/prosemirror-gapcursor/tsconfig.json +++ b/types/prosemirror-gapcursor/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-history/tsconfig.json b/types/prosemirror-history/tsconfig.json index 04d438cbec..011798770e 100644 --- a/types/prosemirror-history/tsconfig.json +++ b/types/prosemirror-history/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-inputrules/tsconfig.json b/types/prosemirror-inputrules/tsconfig.json index 1a2521fb30..bb5e0cc19b 100644 --- a/types/prosemirror-inputrules/tsconfig.json +++ b/types/prosemirror-inputrules/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-keymap/tsconfig.json b/types/prosemirror-keymap/tsconfig.json index f4a0154e83..266a148c55 100644 --- a/types/prosemirror-keymap/tsconfig.json +++ b/types/prosemirror-keymap/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-markdown/tsconfig.json b/types/prosemirror-markdown/tsconfig.json index b4c5979ef2..1fe943489c 100644 --- a/types/prosemirror-markdown/tsconfig.json +++ b/types/prosemirror-markdown/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-menu/tsconfig.json b/types/prosemirror-menu/tsconfig.json index 312b620e50..3f43e1e2eb 100644 --- a/types/prosemirror-menu/tsconfig.json +++ b/types/prosemirror-menu/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-model/tsconfig.json b/types/prosemirror-model/tsconfig.json index 0818485734..6ae1c43b0c 100644 --- a/types/prosemirror-model/tsconfig.json +++ b/types/prosemirror-model/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-schema-basic/tsconfig.json b/types/prosemirror-schema-basic/tsconfig.json index b14e21e203..44a2b36f28 100644 --- a/types/prosemirror-schema-basic/tsconfig.json +++ b/types/prosemirror-schema-basic/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-schema-list/tsconfig.json b/types/prosemirror-schema-list/tsconfig.json index 6a2f8c5c7e..3bc76fb24f 100644 --- a/types/prosemirror-schema-list/tsconfig.json +++ b/types/prosemirror-schema-list/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-state/tsconfig.json b/types/prosemirror-state/tsconfig.json index b9eb8cebbb..31354bc4ba 100644 --- a/types/prosemirror-state/tsconfig.json +++ b/types/prosemirror-state/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-tables/tsconfig.json b/types/prosemirror-tables/tsconfig.json index 6039b257f6..956d15d5b9 100644 --- a/types/prosemirror-tables/tsconfig.json +++ b/types/prosemirror-tables/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-transform/tsconfig.json b/types/prosemirror-transform/tsconfig.json index b38cbe15db..c5799c88a6 100644 --- a/types/prosemirror-transform/tsconfig.json +++ b/types/prosemirror-transform/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/prosemirror-view/tsconfig.json b/types/prosemirror-view/tsconfig.json index 27ca267974..80349461cb 100644 --- a/types/prosemirror-view/tsconfig.json +++ b/types/prosemirror-view/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/protractor-browser-logs/tsconfig.json b/types/protractor-browser-logs/tsconfig.json index 3609f79a73..f0cfe8c279 100644 --- a/types/protractor-browser-logs/tsconfig.json +++ b/types/protractor-browser-logs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/protractor-helpers/tsconfig.json b/types/protractor-helpers/tsconfig.json index 011710d5ec..6a0cde55eb 100644 --- a/types/protractor-helpers/tsconfig.json +++ b/types/protractor-helpers/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/protractor-http-mock/tsconfig.json b/types/protractor-http-mock/tsconfig.json index e901bf0729..be5b803a40 100644 --- a/types/protractor-http-mock/tsconfig.json +++ b/types/protractor-http-mock/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/provinces/tsconfig.json b/types/provinces/tsconfig.json index afb8986660..20f56bbafd 100644 --- a/types/provinces/tsconfig.json +++ b/types/provinces/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/proxy-addr/tsconfig.json b/types/proxy-addr/tsconfig.json index 809cf3d0b6..2fa7369df3 100644 --- a/types/proxy-addr/tsconfig.json +++ b/types/proxy-addr/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/proxyquire/tsconfig.json b/types/proxyquire/tsconfig.json index d3a8d9b5d4..91f5321dca 100644 --- a/types/proxyquire/tsconfig.json +++ b/types/proxyquire/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pty.js/tsconfig.json b/types/pty.js/tsconfig.json index 1484657577..bea732e24f 100644 --- a/types/pty.js/tsconfig.json +++ b/types/pty.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/public-ip/tsconfig.json b/types/public-ip/tsconfig.json index 57230ba254..272171128a 100644 --- a/types/public-ip/tsconfig.json +++ b/types/public-ip/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pubnub/tsconfig.json b/types/pubnub/tsconfig.json index b8a4d1d681..17bf98f558 100644 --- a/types/pubnub/tsconfig.json +++ b/types/pubnub/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pubsub-js/tsconfig.json b/types/pubsub-js/tsconfig.json index a83540e471..bccf35e64b 100644 --- a/types/pubsub-js/tsconfig.json +++ b/types/pubsub-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pug/tsconfig.json b/types/pug/tsconfig.json index 1d456b72d9..efae8f261c 100644 --- a/types/pug/tsconfig.json +++ b/types/pug/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pulltorefreshjs/tsconfig.json b/types/pulltorefreshjs/tsconfig.json index f20918e9b2..000858aefb 100644 --- a/types/pulltorefreshjs/tsconfig.json +++ b/types/pulltorefreshjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pump/tsconfig.json b/types/pump/tsconfig.json index e10b3daf90..64e36bc754 100644 --- a/types/pump/tsconfig.json +++ b/types/pump/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pupa/tsconfig.json b/types/pupa/tsconfig.json index d4d761ce00..9f7e0652f6 100644 --- a/types/pupa/tsconfig.json +++ b/types/pupa/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/puppeteer/tsconfig.json b/types/puppeteer/tsconfig.json index ad10a6c9cb..1231a85489 100644 --- a/types/puppeteer/tsconfig.json +++ b/types/puppeteer/tsconfig.json @@ -17,8 +17,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/puppeteer/v0/tsconfig.json b/types/puppeteer/v0/tsconfig.json index 9a629aeb86..ac0a6aa9bb 100644 --- a/types/puppeteer/v0/tsconfig.json +++ b/types/puppeteer/v0/tsconfig.json @@ -25,8 +25,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pure-render-decorator/tsconfig.json b/types/pure-render-decorator/tsconfig.json index d2f5f65ca2..75214d18ff 100644 --- a/types/pure-render-decorator/tsconfig.json +++ b/types/pure-render-decorator/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/purl/tsconfig.json b/types/purl/tsconfig.json index d5ca9f7f4b..ed87062a7f 100644 --- a/types/purl/tsconfig.json +++ b/types/purl/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pusher-js/tsconfig.json b/types/pusher-js/tsconfig.json index a9549bd6dd..8827ec25e0 100644 --- a/types/pusher-js/tsconfig.json +++ b/types/pusher-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/pvutils/tsconfig.json b/types/pvutils/tsconfig.json index d0eef064de..1715d090ce 100644 --- a/types/pvutils/tsconfig.json +++ b/types/pvutils/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/python-shell/tsconfig.json b/types/python-shell/tsconfig.json index 86c2287a0d..6a36da55e1 100644 --- a/types/python-shell/tsconfig.json +++ b/types/python-shell/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/q-io/tsconfig.json b/types/q-io/tsconfig.json index 1e26749126..a4c26f2b30 100644 --- a/types/q-io/tsconfig.json +++ b/types/q-io/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/q-retry/tsconfig.json b/types/q-retry/tsconfig.json index dc1ed9b23b..516bc59abf 100644 --- a/types/q-retry/tsconfig.json +++ b/types/q-retry/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/q/tsconfig.json b/types/q/tsconfig.json index 5e1034f46b..d78aa85a14 100644 --- a/types/q/tsconfig.json +++ b/types/q/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/q/v0/tsconfig.json b/types/q/v0/tsconfig.json index 31ac046a31..681e8e1f2e 100644 --- a/types/q/v0/tsconfig.json +++ b/types/q/v0/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/qhistory/tsconfig.json b/types/qhistory/tsconfig.json index 83a801697e..98850cf651 100644 --- a/types/qhistory/tsconfig.json +++ b/types/qhistory/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/qlik-engineapi/tsconfig.json b/types/qlik-engineapi/tsconfig.json index 67fd16bdeb..2486e3c1a1 100644 --- a/types/qlik-engineapi/tsconfig.json +++ b/types/qlik-engineapi/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/qlik-visualizationextensions/tsconfig.json b/types/qlik-visualizationextensions/tsconfig.json index e36779b393..fcda37b74c 100644 --- a/types/qlik-visualizationextensions/tsconfig.json +++ b/types/qlik-visualizationextensions/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/qlik/tsconfig.json b/types/qlik/tsconfig.json index 17e3a3a1d4..9ce852a121 100644 --- a/types/qlik/tsconfig.json +++ b/types/qlik/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/qr-image/tsconfig.json b/types/qr-image/tsconfig.json index cee4442bdc..c7703160db 100644 --- a/types/qr-image/tsconfig.json +++ b/types/qr-image/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/qrcode.react/tsconfig.json b/types/qrcode.react/tsconfig.json index 692ea041c5..43b0544543 100644 --- a/types/qrcode.react/tsconfig.json +++ b/types/qrcode.react/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/qrcode/tsconfig.json b/types/qrcode/tsconfig.json index 4484cf4d0e..9731101a88 100644 --- a/types/qrcode/tsconfig.json +++ b/types/qrcode/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/qs/tsconfig.json b/types/qs/tsconfig.json index c099312aae..afbace4b52 100644 --- a/types/qs/tsconfig.json +++ b/types/qs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/qtip2/tsconfig.json b/types/qtip2/tsconfig.json index fd9faf89ca..065a751433 100644 --- a/types/qtip2/tsconfig.json +++ b/types/qtip2/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/query-string/tsconfig.json b/types/query-string/tsconfig.json index 3561904b2b..83d5a52072 100644 --- a/types/query-string/tsconfig.json +++ b/types/query-string/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/quick-lru/tsconfig.json b/types/quick-lru/tsconfig.json index 6859298d65..c75dcdb96b 100644 --- a/types/quick-lru/tsconfig.json +++ b/types/quick-lru/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/quill/tsconfig.json b/types/quill/tsconfig.json index f2d74f4b36..a5297158c9 100644 --- a/types/quill/tsconfig.json +++ b/types/quill/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/quixote/tsconfig.json b/types/quixote/tsconfig.json index a416fc7e5c..54bd1570ba 100644 --- a/types/quixote/tsconfig.json +++ b/types/quixote/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/qunit/tsconfig.json b/types/qunit/tsconfig.json index ce7bde690c..15ac0ffa44 100644 --- a/types/qunit/tsconfig.json +++ b/types/qunit/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/qunit/v1/tsconfig.json b/types/qunit/v1/tsconfig.json index ebddc9933c..4ed39548dd 100644 --- a/types/qunit/v1/tsconfig.json +++ b/types/qunit/v1/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/quoted-printable/tsconfig.json b/types/quoted-printable/tsconfig.json index f3f12d3b37..7bc181f40b 100644 --- a/types/quoted-printable/tsconfig.json +++ b/types/quoted-printable/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/qwest/tsconfig.json b/types/qwest/tsconfig.json index 8a6279a79a..d8cfd81322 100644 --- a/types/qwest/tsconfig.json +++ b/types/qwest/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/r-script/tsconfig.json b/types/r-script/tsconfig.json index 46bbf5d53a..82beae3043 100644 --- a/types/r-script/tsconfig.json +++ b/types/r-script/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rabbit.js/tsconfig.json b/types/rabbit.js/tsconfig.json index 1c6363cf3a..93e2112a25 100644 --- a/types/rabbit.js/tsconfig.json +++ b/types/rabbit.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ractive/tsconfig.json b/types/ractive/tsconfig.json index 0b1ecb1fbf..a66823796c 100644 --- a/types/ractive/tsconfig.json +++ b/types/ractive/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/radium/tsconfig.json b/types/radium/tsconfig.json index fe28635422..73d842bda6 100644 --- a/types/radium/tsconfig.json +++ b/types/radium/tsconfig.json @@ -17,8 +17,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/radius/tsconfig.json b/types/radius/tsconfig.json index e4aa8cb383..9720137921 100644 --- a/types/radius/tsconfig.json +++ b/types/radius/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ramda/tsconfig.json b/types/ramda/tsconfig.json index b3781f3314..4de4f10d8f 100644 --- a/types/ramda/tsconfig.json +++ b/types/ramda/tsconfig.json @@ -15,11 +15,10 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "ramda-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/random-js/tsconfig.json b/types/random-js/tsconfig.json index 570d0c82a0..7f60c90d1b 100644 --- a/types/random-js/tsconfig.json +++ b/types/random-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/random-seed/tsconfig.json b/types/random-seed/tsconfig.json index 5a1df347cd..0c0fcd958b 100644 --- a/types/random-seed/tsconfig.json +++ b/types/random-seed/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/random-string/tsconfig.json b/types/random-string/tsconfig.json index 9bb3b8da44..444464e11e 100644 --- a/types/random-string/tsconfig.json +++ b/types/random-string/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/randomcolor/tsconfig.json b/types/randomcolor/tsconfig.json index 0ceaeaf8cf..b3a176e1fc 100644 --- a/types/randomcolor/tsconfig.json +++ b/types/randomcolor/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/randomstring/tsconfig.json b/types/randomstring/tsconfig.json index d1e21fe8bc..7a159e3797 100644 --- a/types/randomstring/tsconfig.json +++ b/types/randomstring/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/range-parser/tsconfig.json b/types/range-parser/tsconfig.json index 34afaa3188..15585886a9 100644 --- a/types/range-parser/tsconfig.json +++ b/types/range-parser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rangy/tsconfig.json b/types/rangy/tsconfig.json index 2b7a94d3c4..4eb68b3ddc 100644 --- a/types/rangy/tsconfig.json +++ b/types/rangy/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rangyinputs/tsconfig.json b/types/rangyinputs/tsconfig.json index 8ed5fac9cd..8db995320f 100644 --- a/types/rangyinputs/tsconfig.json +++ b/types/rangyinputs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/raphael/tsconfig.json b/types/raphael/tsconfig.json index c48094a86b..2225a4e61a 100644 --- a/types/raphael/tsconfig.json +++ b/types/raphael/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rappid/tsconfig.json b/types/rappid/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/rappid/tsconfig.json +++ b/types/rappid/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/raspi-board/tsconfig.json b/types/raspi-board/tsconfig.json index d445c2e7a3..a55a514726 100644 --- a/types/raspi-board/tsconfig.json +++ b/types/raspi-board/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/raspi-gpio/tsconfig.json b/types/raspi-gpio/tsconfig.json index 8f13193910..480f995bc6 100644 --- a/types/raspi-gpio/tsconfig.json +++ b/types/raspi-gpio/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/raspi-i2c/tsconfig.json b/types/raspi-i2c/tsconfig.json index 2c371c52cb..4e201f4496 100644 --- a/types/raspi-i2c/tsconfig.json +++ b/types/raspi-i2c/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/raspi-led/tsconfig.json b/types/raspi-led/tsconfig.json index 7820064819..7e9d3a0fcc 100644 --- a/types/raspi-led/tsconfig.json +++ b/types/raspi-led/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/raspi-onewire/tsconfig.json b/types/raspi-onewire/tsconfig.json index 0f7e781370..d7df314b58 100644 --- a/types/raspi-onewire/tsconfig.json +++ b/types/raspi-onewire/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/raspi-peripheral/tsconfig.json b/types/raspi-peripheral/tsconfig.json index 262dfe65ab..4b24a67971 100644 --- a/types/raspi-peripheral/tsconfig.json +++ b/types/raspi-peripheral/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/raspi-pwm/tsconfig.json b/types/raspi-pwm/tsconfig.json index cb04441554..5e38158098 100644 --- a/types/raspi-pwm/tsconfig.json +++ b/types/raspi-pwm/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/raspi-serial/tsconfig.json b/types/raspi-serial/tsconfig.json index 3d34b95ae2..c2a6058397 100644 --- a/types/raspi-serial/tsconfig.json +++ b/types/raspi-serial/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/raspi-soft-pwm/tsconfig.json b/types/raspi-soft-pwm/tsconfig.json index be512facda..aab55c4028 100644 --- a/types/raspi-soft-pwm/tsconfig.json +++ b/types/raspi-soft-pwm/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/raspi/tsconfig.json b/types/raspi/tsconfig.json index a0a4b8c7e1..6906d607cf 100644 --- a/types/raspi/tsconfig.json +++ b/types/raspi/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ratelimiter/tsconfig.json b/types/ratelimiter/tsconfig.json index f12fb1e8de..7e4e18ce50 100644 --- a/types/ratelimiter/tsconfig.json +++ b/types/ratelimiter/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/raty/tsconfig.json b/types/raty/tsconfig.json index 2181426f02..d367e9932e 100644 --- a/types/raty/tsconfig.json +++ b/types/raty/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/raven-for-redux/tsconfig.json b/types/raven-for-redux/tsconfig.json index 27d70eb769..acd330dac5 100644 --- a/types/raven-for-redux/tsconfig.json +++ b/types/raven-for-redux/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/raven/tsconfig.json b/types/raven/tsconfig.json index 7cb5191080..caa66d1660 100644 --- a/types/raven/tsconfig.json +++ b/types/raven/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/raygun4js/tsconfig.json b/types/raygun4js/tsconfig.json index a21a9f09ba..13eb0470bc 100644 --- a/types/raygun4js/tsconfig.json +++ b/types/raygun4js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rbac-a/tsconfig.json b/types/rbac-a/tsconfig.json index 6ac59a93d5..911e4f77e6 100644 --- a/types/rbac-a/tsconfig.json +++ b/types/rbac-a/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rbush/tsconfig.json b/types/rbush/tsconfig.json index 8eb8ae3920..fd02361312 100644 --- a/types/rbush/tsconfig.json +++ b/types/rbush/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rc-select/tsconfig.json b/types/rc-select/tsconfig.json index 3febdbac14..9f4f75be56 100644 --- a/types/rc-select/tsconfig.json +++ b/types/rc-select/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rc-slider/tsconfig.json b/types/rc-slider/tsconfig.json index 4f99fe54bc..8a4133645c 100644 --- a/types/rc-slider/tsconfig.json +++ b/types/rc-slider/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/rc-tooltip/tsconfig.json b/types/rc-tooltip/tsconfig.json index 98758d8cc7..6ac85da4a7 100644 --- a/types/rc-tooltip/tsconfig.json +++ b/types/rc-tooltip/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/rc-tree/tsconfig.json b/types/rc-tree/tsconfig.json index 328de7f19d..f0e6f8f352 100644 --- a/types/rc-tree/tsconfig.json +++ b/types/rc-tree/tsconfig.json @@ -18,8 +18,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rc/tsconfig.json b/types/rc/tsconfig.json index 0408f4d727..dbd3d2ed1f 100644 --- a/types/rc/tsconfig.json +++ b/types/rc/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rcloader/tsconfig.json b/types/rcloader/tsconfig.json index de232d1af1..09cf468a7b 100644 --- a/types/rcloader/tsconfig.json +++ b/types/rcloader/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rdf-data-model/tsconfig.json b/types/rdf-data-model/tsconfig.json index 1c54cb1a94..be6946484f 100644 --- a/types/rdf-data-model/tsconfig.json +++ b/types/rdf-data-model/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rdf-js/tsconfig.json b/types/rdf-js/tsconfig.json index 57d7bb3c05..d010928403 100644 --- a/types/rdf-js/tsconfig.json +++ b/types/rdf-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-addons-create-fragment/tsconfig.json b/types/react-addons-create-fragment/tsconfig.json index 19a01dfff9..d34d6a1d77 100644 --- a/types/react-addons-create-fragment/tsconfig.json +++ b/types/react-addons-create-fragment/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/react-addons-css-transition-group/tsconfig.json b/types/react-addons-css-transition-group/tsconfig.json index 19a01dfff9..d34d6a1d77 100644 --- a/types/react-addons-css-transition-group/tsconfig.json +++ b/types/react-addons-css-transition-group/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/react-addons-linked-state-mixin/tsconfig.json b/types/react-addons-linked-state-mixin/tsconfig.json index 19a01dfff9..d34d6a1d77 100644 --- a/types/react-addons-linked-state-mixin/tsconfig.json +++ b/types/react-addons-linked-state-mixin/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/react-addons-perf/tsconfig.json b/types/react-addons-perf/tsconfig.json index ce3aaab32f..b2099f42a4 100644 --- a/types/react-addons-perf/tsconfig.json +++ b/types/react-addons-perf/tsconfig.json @@ -17,7 +17,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/react-addons-pure-render-mixin/tsconfig.json b/types/react-addons-pure-render-mixin/tsconfig.json index 19a01dfff9..d34d6a1d77 100644 --- a/types/react-addons-pure-render-mixin/tsconfig.json +++ b/types/react-addons-pure-render-mixin/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/react-addons-shallow-compare/tsconfig.json b/types/react-addons-shallow-compare/tsconfig.json index b5bc120ac8..f6f4aec748 100644 --- a/types/react-addons-shallow-compare/tsconfig.json +++ b/types/react-addons-shallow-compare/tsconfig.json @@ -20,7 +20,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "preserve" } } \ No newline at end of file diff --git a/types/react-addons-test-utils/tsconfig.json b/types/react-addons-test-utils/tsconfig.json index 19a01dfff9..d34d6a1d77 100644 --- a/types/react-addons-test-utils/tsconfig.json +++ b/types/react-addons-test-utils/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/react-addons-transition-group/tsconfig.json b/types/react-addons-transition-group/tsconfig.json index 19a01dfff9..d34d6a1d77 100644 --- a/types/react-addons-transition-group/tsconfig.json +++ b/types/react-addons-transition-group/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/react-addons-update/tsconfig.json b/types/react-addons-update/tsconfig.json index 19a01dfff9..d34d6a1d77 100644 --- a/types/react-addons-update/tsconfig.json +++ b/types/react-addons-update/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/react-alert/tsconfig.json b/types/react-alert/tsconfig.json index 839209b7dc..755c2cd68b 100644 --- a/types/react-alert/tsconfig.json +++ b/types/react-alert/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-alice-carousel/tsconfig.json b/types/react-alice-carousel/tsconfig.json index bc37758fc3..22f3238121 100644 --- a/types/react-alice-carousel/tsconfig.json +++ b/types/react-alice-carousel/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-app/tsconfig.json b/types/react-app/tsconfig.json index 3ec85b9bf8..f8571fc792 100644 --- a/types/react-app/tsconfig.json +++ b/types/react-app/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-aria-menubutton/tsconfig.json b/types/react-aria-menubutton/tsconfig.json index e9d596e375..2dbf395f45 100644 --- a/types/react-aria-menubutton/tsconfig.json +++ b/types/react-aria-menubutton/tsconfig.json @@ -16,8 +16,7 @@ "types": [], "jsx": "react", "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-autosuggest/tsconfig.json b/types/react-autosuggest/tsconfig.json index 2b69e68bf3..b85bc369dc 100644 --- a/types/react-autosuggest/tsconfig.json +++ b/types/react-autosuggest/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-beautiful-dnd/tsconfig.json b/types/react-beautiful-dnd/tsconfig.json index 4530e4d9b8..96c9d53cff 100644 --- a/types/react-beautiful-dnd/tsconfig.json +++ b/types/react-beautiful-dnd/tsconfig.json @@ -16,8 +16,7 @@ "types": [], "jsx": "react", "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-big-calendar/tsconfig.json b/types/react-big-calendar/tsconfig.json index 99826b4502..1a28fe79ae 100644 --- a/types/react-big-calendar/tsconfig.json +++ b/types/react-big-calendar/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-body-classname/tsconfig.json b/types/react-body-classname/tsconfig.json index e7bed7437e..eed9b65a7c 100644 --- a/types/react-body-classname/tsconfig.json +++ b/types/react-body-classname/tsconfig.json @@ -16,8 +16,7 @@ "types": [], "jsx": "react", "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-bootstrap-date-picker/tsconfig.json b/types/react-bootstrap-date-picker/tsconfig.json index 4b62f1b3f7..c8beba00b1 100644 --- a/types/react-bootstrap-date-picker/tsconfig.json +++ b/types/react-bootstrap-date-picker/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-bootstrap-daterangepicker/tsconfig.json b/types/react-bootstrap-daterangepicker/tsconfig.json index 39818df2a6..a8c612879c 100644 --- a/types/react-bootstrap-daterangepicker/tsconfig.json +++ b/types/react-bootstrap-daterangepicker/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-bootstrap-table/tsconfig.json b/types/react-bootstrap-table/tsconfig.json index fd3d5982ef..5947d4a26d 100644 --- a/types/react-bootstrap-table/tsconfig.json +++ b/types/react-bootstrap-table/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-bootstrap-table/v2/tsconfig.json b/types/react-bootstrap-table/v2/tsconfig.json index ca14332503..b1391c9c05 100644 --- a/types/react-bootstrap-table/v2/tsconfig.json +++ b/types/react-bootstrap-table/v2/tsconfig.json @@ -21,8 +21,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-bootstrap-typeahead/tsconfig.json b/types/react-bootstrap-typeahead/tsconfig.json index ce067d6689..370b25f75d 100644 --- a/types/react-bootstrap-typeahead/tsconfig.json +++ b/types/react-bootstrap-typeahead/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-bootstrap/tsconfig.json b/types/react-bootstrap/tsconfig.json index 52170e4830..6368cc93de 100644 --- a/types/react-bootstrap/tsconfig.json +++ b/types/react-bootstrap/tsconfig.json @@ -17,7 +17,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noUnusedLocals": false }, "files": [ diff --git a/types/react-breadcrumbs-dynamic/tsconfig.json b/types/react-breadcrumbs-dynamic/tsconfig.json index 8a8faf69a6..1bb8a2273c 100644 --- a/types/react-breadcrumbs-dynamic/tsconfig.json +++ b/types/react-breadcrumbs-dynamic/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-breadcrumbs/tsconfig.json b/types/react-breadcrumbs/tsconfig.json index b93f3da81d..15b3328f6b 100644 --- a/types/react-breadcrumbs/tsconfig.json +++ b/types/react-breadcrumbs/tsconfig.json @@ -24,7 +24,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-broadcast/tsconfig.json b/types/react-broadcast/tsconfig.json index 60a86c386a..9cfb3a43b0 100644 --- a/types/react-broadcast/tsconfig.json +++ b/types/react-broadcast/tsconfig.json @@ -16,7 +16,6 @@ "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/react-burger-menu/tsconfig.json b/types/react-burger-menu/tsconfig.json index aff886d199..e8f6d518a5 100644 --- a/types/react-burger-menu/tsconfig.json +++ b/types/react-burger-menu/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-bytesize-icons/tsconfig.json b/types/react-bytesize-icons/tsconfig.json index 8010451c5f..fdabe49e81 100644 --- a/types/react-bytesize-icons/tsconfig.json +++ b/types/react-bytesize-icons/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-calendar-heatmap/tsconfig.json b/types/react-calendar-heatmap/tsconfig.json index 7c2cd99718..f605aa4478 100644 --- a/types/react-calendar-heatmap/tsconfig.json +++ b/types/react-calendar-heatmap/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-calendar-timeline/tsconfig.json b/types/react-calendar-timeline/tsconfig.json index e5a81f1587..0338517fd1 100644 --- a/types/react-calendar-timeline/tsconfig.json +++ b/types/react-calendar-timeline/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-cartographer/tsconfig.json b/types/react-cartographer/tsconfig.json index 2e8720d967..dcf04419fe 100644 --- a/types/react-cartographer/tsconfig.json +++ b/types/react-cartographer/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-click-outside/tsconfig.json b/types/react-click-outside/tsconfig.json index 2ca464b34b..caf91fdc1d 100644 --- a/types/react-click-outside/tsconfig.json +++ b/types/react-click-outside/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-codemirror/tsconfig.json b/types/react-codemirror/tsconfig.json index f127379ce4..af24eb1e1f 100644 --- a/types/react-codemirror/tsconfig.json +++ b/types/react-codemirror/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-collapse/tsconfig.json b/types/react-collapse/tsconfig.json index e1c406e099..c3dbb022a3 100644 --- a/types/react-collapse/tsconfig.json +++ b/types/react-collapse/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-color/tsconfig.json b/types/react-color/tsconfig.json index 6d2d8c0281..f52a34c374 100644 --- a/types/react-color/tsconfig.json +++ b/types/react-color/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react", "noUnusedParameters": true, "noUnusedLocals": true diff --git a/types/react-confirm/tsconfig.json b/types/react-confirm/tsconfig.json index 4de5e08c45..10f1988053 100644 --- a/types/react-confirm/tsconfig.json +++ b/types/react-confirm/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-content-loader/tsconfig.json b/types/react-content-loader/tsconfig.json index 39d6a9d75a..6ec4332426 100644 --- a/types/react-content-loader/tsconfig.json +++ b/types/react-content-loader/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/react-copy-to-clipboard/tsconfig.json b/types/react-copy-to-clipboard/tsconfig.json index 131ab41240..99987e8aff 100644 --- a/types/react-copy-to-clipboard/tsconfig.json +++ b/types/react-copy-to-clipboard/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-cropper/tsconfig.json b/types/react-cropper/tsconfig.json index 7594ac5442..aab8a09ee5 100644 --- a/types/react-cropper/tsconfig.json +++ b/types/react-cropper/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-css-modules/tsconfig.json b/types/react-css-modules/tsconfig.json index af20eae1b1..0975a113c1 100644 --- a/types/react-css-modules/tsconfig.json +++ b/types/react-css-modules/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react", "experimentalDecorators": true }, diff --git a/types/react-css-transition-replace/tsconfig.json b/types/react-css-transition-replace/tsconfig.json index 28fdca36a7..7aff1dd2cc 100644 --- a/types/react-css-transition-replace/tsconfig.json +++ b/types/react-css-transition-replace/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-custom-scrollbars/tsconfig.json b/types/react-custom-scrollbars/tsconfig.json index 3b1d5a433a..a03a9609b1 100644 --- a/types/react-custom-scrollbars/tsconfig.json +++ b/types/react-custom-scrollbars/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-custom-scrollbars/v3/tsconfig.json b/types/react-custom-scrollbars/v3/tsconfig.json index f57ff94fcf..47d2b5bc45 100644 --- a/types/react-custom-scrollbars/v3/tsconfig.json +++ b/types/react-custom-scrollbars/v3/tsconfig.json @@ -24,7 +24,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-data-grid/tsconfig.json b/types/react-data-grid/tsconfig.json index 164a9e3303..a113c4a69e 100644 --- a/types/react-data-grid/tsconfig.json +++ b/types/react-data-grid/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-data-grid/v1/tsconfig.json b/types/react-data-grid/v1/tsconfig.json index e16c68f9eb..c2602fd049 100644 --- a/types/react-data-grid/v1/tsconfig.json +++ b/types/react-data-grid/v1/tsconfig.json @@ -17,7 +17,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "react-data-grid": [ "react-data-grid/v1" diff --git a/types/react-datagrid/tsconfig.json b/types/react-datagrid/tsconfig.json index 2bb8c4211c..111a9dd7ea 100644 --- a/types/react-datagrid/tsconfig.json +++ b/types/react-datagrid/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-date-range/tsconfig.json b/types/react-date-range/tsconfig.json index 57a4fe941c..91979c462d 100644 --- a/types/react-date-range/tsconfig.json +++ b/types/react-date-range/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-datepicker/tsconfig.json b/types/react-datepicker/tsconfig.json index f837f933ec..39a236a343 100644 --- a/types/react-datepicker/tsconfig.json +++ b/types/react-datepicker/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-daterange-picker/tsconfig.json b/types/react-daterange-picker/tsconfig.json index 2f62e76a6b..72fcee1873 100644 --- a/types/react-daterange-picker/tsconfig.json +++ b/types/react-daterange-picker/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-dates/tsconfig.json b/types/react-dates/tsconfig.json index 30d8a41725..82a46d3cd2 100644 --- a/types/react-dates/tsconfig.json +++ b/types/react-dates/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-daum-postcode/tsconfig.json b/types/react-daum-postcode/tsconfig.json index 9e639e241b..134796ae08 100644 --- a/types/react-daum-postcode/tsconfig.json +++ b/types/react-daum-postcode/tsconfig.json @@ -21,7 +21,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/react-dnd-html5-backend/tsconfig.json b/types/react-dnd-html5-backend/tsconfig.json index 18fefef18a..dca11ac9e1 100644 --- a/types/react-dnd-html5-backend/tsconfig.json +++ b/types/react-dnd-html5-backend/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-dnd-multi-backend/tsconfig.json b/types/react-dnd-multi-backend/tsconfig.json index abef2d8e50..7ee0ca562c 100644 --- a/types/react-dnd-multi-backend/tsconfig.json +++ b/types/react-dnd-multi-backend/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-dnd-test-backend/tsconfig.json b/types/react-dnd-test-backend/tsconfig.json index bc65096358..b83ff74de3 100644 --- a/types/react-dnd-test-backend/tsconfig.json +++ b/types/react-dnd-test-backend/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-dnd-touch-backend/tsconfig.json b/types/react-dnd-touch-backend/tsconfig.json index 14b02858d5..de3b6da377 100644 --- a/types/react-dnd-touch-backend/tsconfig.json +++ b/types/react-dnd-touch-backend/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-dnd/tsconfig.json b/types/react-dnd/tsconfig.json index 559dc32de8..0f441c38f4 100644 --- a/types/react-dnd/tsconfig.json +++ b/types/react-dnd/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-document-title/tsconfig.json b/types/react-document-title/tsconfig.json index 553fffc4ec..5d63d21fb6 100644 --- a/types/react-document-title/tsconfig.json +++ b/types/react-document-title/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-dom-factories/tsconfig.json b/types/react-dom-factories/tsconfig.json index 9ed92f90a5..fa72301516 100644 --- a/types/react-dom-factories/tsconfig.json +++ b/types/react-dom-factories/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-dom/tsconfig.json b/types/react-dom/tsconfig.json index 6f538370c7..0d21b07029 100644 --- a/types/react-dom/tsconfig.json +++ b/types/react-dom/tsconfig.json @@ -23,7 +23,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "preserve" } } \ No newline at end of file diff --git a/types/react-dom/v15/tsconfig.json b/types/react-dom/v15/tsconfig.json index 051926d31f..8f07ba2276 100644 --- a/types/react-dom/v15/tsconfig.json +++ b/types/react-dom/v15/tsconfig.json @@ -30,7 +30,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/react-dropzone/tsconfig.json b/types/react-dropzone/tsconfig.json index cb1d0ed443..0dbb3fedc8 100644 --- a/types/react-dropzone/tsconfig.json +++ b/types/react-dropzone/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-dropzone/v2/tsconfig.json b/types/react-dropzone/v2/tsconfig.json index 4fcfb1c416..3ea5a034b1 100644 --- a/types/react-dropzone/v2/tsconfig.json +++ b/types/react-dropzone/v2/tsconfig.json @@ -21,8 +21,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-dropzone/v3/tsconfig.json b/types/react-dropzone/v3/tsconfig.json index 79d579b424..46c4c4cbff 100644 --- a/types/react-dropzone/v3/tsconfig.json +++ b/types/react-dropzone/v3/tsconfig.json @@ -21,8 +21,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-dynamic-number/tsconfig.json b/types/react-dynamic-number/tsconfig.json index 5b563dabb3..f0d426113b 100644 --- a/types/react-dynamic-number/tsconfig.json +++ b/types/react-dynamic-number/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react", "strictFunctionTypes": true }, diff --git a/types/react-easy-chart/tsconfig.json b/types/react-easy-chart/tsconfig.json index 3424d6ec5d..06dd62395e 100644 --- a/types/react-easy-chart/tsconfig.json +++ b/types/react-easy-chart/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-event-listener/tsconfig.json b/types/react-event-listener/tsconfig.json index e3942956bd..79cad9b350 100644 --- a/types/react-event-listener/tsconfig.json +++ b/types/react-event-listener/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-fa/tsconfig.json b/types/react-fa/tsconfig.json index 239ae74c16..ee7e57f029 100644 --- a/types/react-fa/tsconfig.json +++ b/types/react-fa/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-facebook-login/tsconfig.json b/types/react-facebook-login/tsconfig.json index 56a7ac71be..4d76e11a0f 100644 --- a/types/react-facebook-login/tsconfig.json +++ b/types/react-facebook-login/tsconfig.json @@ -17,8 +17,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-faux-dom/tsconfig.json b/types/react-faux-dom/tsconfig.json index e1fa17fe85..198db32576 100644 --- a/types/react-faux-dom/tsconfig.json +++ b/types/react-faux-dom/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-file-input/tsconfig.json b/types/react-file-input/tsconfig.json index dc48ce1765..8455a75373 100644 --- a/types/react-file-input/tsconfig.json +++ b/types/react-file-input/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-file-reader-input/tsconfig.json b/types/react-file-reader-input/tsconfig.json index fd16c142a7..020a2e0930 100644 --- a/types/react-file-reader-input/tsconfig.json +++ b/types/react-file-reader-input/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-flags-select/tsconfig.json b/types/react-flags-select/tsconfig.json index 58d5e1b668..f1b35fc914 100644 --- a/types/react-flags-select/tsconfig.json +++ b/types/react-flags-select/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-flatpickr/tsconfig.json b/types/react-flatpickr/tsconfig.json index 3822782936..dbde62f5d3 100644 --- a/types/react-flatpickr/tsconfig.json +++ b/types/react-flatpickr/tsconfig.json @@ -16,8 +16,7 @@ "types": [], "jsx": "react", "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-flex/tsconfig.json b/types/react-flex/tsconfig.json index 9e7c9867d6..2020f9dda4 100644 --- a/types/react-flex/tsconfig.json +++ b/types/react-flex/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "preserve" }, "files": [ diff --git a/types/react-flexr/tsconfig.json b/types/react-flexr/tsconfig.json index c1ea7ad8fe..56580115a2 100644 --- a/types/react-flexr/tsconfig.json +++ b/types/react-flexr/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-fontawesome/tsconfig.json b/types/react-fontawesome/tsconfig.json index fa397d8a5f..c94422a8b8 100644 --- a/types/react-fontawesome/tsconfig.json +++ b/types/react-fontawesome/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-form/tsconfig.json b/types/react-form/tsconfig.json index cc5dcb26ba..d6c6d41dca 100644 --- a/types/react-form/tsconfig.json +++ b/types/react-form/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-form/v1/tsconfig.json b/types/react-form/v1/tsconfig.json index 978f7f0673..0823491b1a 100644 --- a/types/react-form/v1/tsconfig.json +++ b/types/react-form/v1/tsconfig.json @@ -17,7 +17,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "react-form": [ "react-form/v1" diff --git a/types/react-foundation/tsconfig.json b/types/react-foundation/tsconfig.json index 319ef45694..565dbdcece 100644 --- a/types/react-foundation/tsconfig.json +++ b/types/react-foundation/tsconfig.json @@ -17,7 +17,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noUnusedLocals": false }, "files": [ diff --git a/types/react-geosuggest/tsconfig.json b/types/react-geosuggest/tsconfig.json index 262fa75ee4..304546787b 100644 --- a/types/react-geosuggest/tsconfig.json +++ b/types/react-geosuggest/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-google-recaptcha/tsconfig.json b/types/react-google-recaptcha/tsconfig.json index 4f519873bc..52df741020 100644 --- a/types/react-google-recaptcha/tsconfig.json +++ b/types/react-google-recaptcha/tsconfig.json @@ -16,8 +16,7 @@ "types": [], "jsx": "react", "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-gravatar/tsconfig.json b/types/react-gravatar/tsconfig.json index 59e0af6a9b..cd0f8f5f34 100644 --- a/types/react-gravatar/tsconfig.json +++ b/types/react-gravatar/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-grid-layout/tsconfig.json b/types/react-grid-layout/tsconfig.json index c337a8dceb..c6f201354f 100644 --- a/types/react-grid-layout/tsconfig.json +++ b/types/react-grid-layout/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-hamburger-menu/tsconfig.json b/types/react-hamburger-menu/tsconfig.json index a254b9f4bb..54703bb696 100644 --- a/types/react-hamburger-menu/tsconfig.json +++ b/types/react-hamburger-menu/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-helmet/tsconfig.json b/types/react-helmet/tsconfig.json index 26cb9dbb4c..e0c7684aae 100644 --- a/types/react-helmet/tsconfig.json +++ b/types/react-helmet/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-helmet/v4/tsconfig.json b/types/react-helmet/v4/tsconfig.json index 3f541f396f..6f93ba793e 100644 --- a/types/react-helmet/v4/tsconfig.json +++ b/types/react-helmet/v4/tsconfig.json @@ -21,8 +21,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-highlight-words/tsconfig.json b/types/react-highlight-words/tsconfig.json index f01085be0d..1617289fa7 100644 --- a/types/react-highlight-words/tsconfig.json +++ b/types/react-highlight-words/tsconfig.json @@ -16,8 +16,7 @@ "types": [], "jsx": "react", "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-highlighter/tsconfig.json b/types/react-highlighter/tsconfig.json index 36510b6cc1..45e30a642e 100644 --- a/types/react-highlighter/tsconfig.json +++ b/types/react-highlighter/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-holder/tsconfig.json b/types/react-holder/tsconfig.json index 1b16b51f6d..e8ee50c417 100644 --- a/types/react-holder/tsconfig.json +++ b/types/react-holder/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-hot-loader/tsconfig.json b/types/react-hot-loader/tsconfig.json index fcd362bb8c..5e898cb303 100644 --- a/types/react-hot-loader/tsconfig.json +++ b/types/react-hot-loader/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-hyperscript/tsconfig.json b/types/react-hyperscript/tsconfig.json index 89cc9e1517..a16169c511 100644 --- a/types/react-hyperscript/tsconfig.json +++ b/types/react-hyperscript/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-i18next/tsconfig.json b/types/react-i18next/tsconfig.json index 7c180ea76a..f90b5c3ff0 100644 --- a/types/react-i18next/tsconfig.json +++ b/types/react-i18next/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react", "experimentalDecorators": true }, diff --git a/types/react-i18next/v1/tsconfig.json b/types/react-i18next/v1/tsconfig.json index b733293e90..b16cb92b25 100644 --- a/types/react-i18next/v1/tsconfig.json +++ b/types/react-i18next/v1/tsconfig.json @@ -24,7 +24,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react", "experimentalDecorators": true }, diff --git a/types/react-i18next/v4/tsconfig.json b/types/react-i18next/v4/tsconfig.json index 3fa0ff8181..b2c29f0bea 100644 --- a/types/react-i18next/v4/tsconfig.json +++ b/types/react-i18next/v4/tsconfig.json @@ -21,7 +21,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react", "experimentalDecorators": true }, diff --git a/types/react-icon-base/tsconfig.json b/types/react-icon-base/tsconfig.json index c47d7e66ef..4e98b45572 100644 --- a/types/react-icon-base/tsconfig.json +++ b/types/react-icon-base/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "preserve" }, "files": [ diff --git a/types/react-icons/tsconfig.json b/types/react-icons/tsconfig.json index 1117475feb..30695260df 100644 --- a/types/react-icons/tsconfig.json +++ b/types/react-icons/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "preserve" }, "files": [ diff --git a/types/react-image-gallery/tsconfig.json b/types/react-image-gallery/tsconfig.json index d42a2dc0d8..d822cade87 100644 --- a/types/react-image-gallery/tsconfig.json +++ b/types/react-image-gallery/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-imageloader/tsconfig.json b/types/react-imageloader/tsconfig.json index 2072e936c9..10c47efd69 100644 --- a/types/react-imageloader/tsconfig.json +++ b/types/react-imageloader/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-infinite-scroller/tsconfig.json b/types/react-infinite-scroller/tsconfig.json index d3b357a8ad..9094853395 100644 --- a/types/react-infinite-scroller/tsconfig.json +++ b/types/react-infinite-scroller/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-infinite/tsconfig.json b/types/react-infinite/tsconfig.json index 38915e5d07..c3ec7e4192 100644 --- a/types/react-infinite/tsconfig.json +++ b/types/react-infinite/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-input-calendar/tsconfig.json b/types/react-input-calendar/tsconfig.json index b7becae449..216b0bcfe9 100644 --- a/types/react-input-calendar/tsconfig.json +++ b/types/react-input-calendar/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-input-mask/tsconfig.json b/types/react-input-mask/tsconfig.json index ffbee32962..be2a7cc230 100644 --- a/types/react-input-mask/tsconfig.json +++ b/types/react-input-mask/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-intl-redux/tsconfig.json b/types/react-intl-redux/tsconfig.json index 4bf5f624a2..06eacd254a 100644 --- a/types/react-intl-redux/tsconfig.json +++ b/types/react-intl-redux/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-intl/tsconfig.json b/types/react-intl/tsconfig.json index f943e36591..30bb669631 100644 --- a/types/react-intl/tsconfig.json +++ b/types/react-intl/tsconfig.json @@ -20,7 +20,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/react-intl/v1/tsconfig.json b/types/react-intl/v1/tsconfig.json index 7ac64f1af9..1f63dae6a5 100644 --- a/types/react-intl/v1/tsconfig.json +++ b/types/react-intl/v1/tsconfig.json @@ -21,7 +21,6 @@ }, "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react", "experimentalDecorators": true }, diff --git a/types/react-is-deprecated/tsconfig.json b/types/react-is-deprecated/tsconfig.json index 7cc62d4f7f..ce2c7d740a 100644 --- a/types/react-is-deprecated/tsconfig.json +++ b/types/react-is-deprecated/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-joyride/tsconfig.json b/types/react-joyride/tsconfig.json index ef4ff9b9ee..b468366153 100644 --- a/types/react-joyride/tsconfig.json +++ b/types/react-joyride/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-json-pretty/tsconfig.json b/types/react-json-pretty/tsconfig.json index 929b115a79..17b15160c6 100644 --- a/types/react-json-pretty/tsconfig.json +++ b/types/react-json-pretty/tsconfig.json @@ -17,8 +17,7 @@ "jsx": "preserve", "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-json-tree/tsconfig.json b/types/react-json-tree/tsconfig.json index e9f7954643..134e10e324 100644 --- a/types/react-json-tree/tsconfig.json +++ b/types/react-json-tree/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-json/tsconfig.json b/types/react-json/tsconfig.json index 2c8eb0b159..b9ee513a9d 100644 --- a/types/react-json/tsconfig.json +++ b/types/react-json/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-jsonschema-form/tsconfig.json b/types/react-jsonschema-form/tsconfig.json index aa6b886675..a4f7127522 100644 --- a/types/react-jsonschema-form/tsconfig.json +++ b/types/react-jsonschema-form/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-lazyload/tsconfig.json b/types/react-lazyload/tsconfig.json index 836d652b93..48e56bab80 100644 --- a/types/react-lazyload/tsconfig.json +++ b/types/react-lazyload/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-leaflet/tsconfig.json b/types/react-leaflet/tsconfig.json index c6a123ac19..75ce9f7598 100644 --- a/types/react-leaflet/tsconfig.json +++ b/types/react-leaflet/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-list/tsconfig.json b/types/react-list/tsconfig.json index 15b1d876e6..040c8c5fc9 100644 --- a/types/react-list/tsconfig.json +++ b/types/react-list/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-loadable/tsconfig.json b/types/react-loadable/tsconfig.json index bb968d3b23..9d46ae0de9 100644 --- a/types/react-loadable/tsconfig.json +++ b/types/react-loadable/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-loader/tsconfig.json b/types/react-loader/tsconfig.json index bc0150abd0..dbe08293df 100644 --- a/types/react-loader/tsconfig.json +++ b/types/react-loader/tsconfig.json @@ -15,8 +15,7 @@ "jsx": "react", "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-maskedinput/tsconfig.json b/types/react-maskedinput/tsconfig.json index 9935dfab63..a5544e917d 100644 --- a/types/react-maskedinput/tsconfig.json +++ b/types/react-maskedinput/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-mce/tsconfig.json b/types/react-mce/tsconfig.json index 5abea1ff98..7db60d34d1 100644 --- a/types/react-mce/tsconfig.json +++ b/types/react-mce/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-mdl/tsconfig.json b/types/react-mdl/tsconfig.json index 6fc7a2a4b6..45017dc8c9 100644 --- a/types/react-mdl/tsconfig.json +++ b/types/react-mdl/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-measure/tsconfig.json b/types/react-measure/tsconfig.json index 3a29cd4f8f..63aa208f05 100644 --- a/types/react-measure/tsconfig.json +++ b/types/react-measure/tsconfig.json @@ -17,8 +17,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-mixin/tsconfig.json b/types/react-mixin/tsconfig.json index dd0908f60c..fd65a09710 100644 --- a/types/react-mixin/tsconfig.json +++ b/types/react-mixin/tsconfig.json @@ -17,8 +17,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-modal/tsconfig.json b/types/react-modal/tsconfig.json index 716fa04a21..8c1dd5988b 100644 --- a/types/react-modal/tsconfig.json +++ b/types/react-modal/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-monaco-editor/tsconfig.json b/types/react-monaco-editor/tsconfig.json index 64ea75ce0b..8d55416feb 100644 --- a/types/react-monaco-editor/tsconfig.json +++ b/types/react-monaco-editor/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-motion-slider/tsconfig.json b/types/react-motion-slider/tsconfig.json index 89e30e32e0..aaf0d16bdb 100644 --- a/types/react-motion-slider/tsconfig.json +++ b/types/react-motion-slider/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-motion/tsconfig.json b/types/react-motion/tsconfig.json index f9f4077a58..9adebe9fd2 100644 --- a/types/react-motion/tsconfig.json +++ b/types/react-motion/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-native-collapsible/tsconfig.json b/types/react-native-collapsible/tsconfig.json index 51f7a382eb..c9cb0c9278 100644 --- a/types/react-native-collapsible/tsconfig.json +++ b/types/react-native-collapsible/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-communications/tsconfig.json b/types/react-native-communications/tsconfig.json index 409090cf33..f66d5a80ce 100644 --- a/types/react-native-communications/tsconfig.json +++ b/types/react-native-communications/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-datepicker/tsconfig.json b/types/react-native-datepicker/tsconfig.json index 82bdba1219..b1dd56e20d 100644 --- a/types/react-native-datepicker/tsconfig.json +++ b/types/react-native-datepicker/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-doc-viewer/tsconfig.json b/types/react-native-doc-viewer/tsconfig.json index 9f162c3d5c..86d578084a 100644 --- a/types/react-native-doc-viewer/tsconfig.json +++ b/types/react-native-doc-viewer/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react-native" }, "files": [ diff --git a/types/react-native-document-picker/tsconfig.json b/types/react-native-document-picker/tsconfig.json index c15fde8611..25f0fcb7b7 100644 --- a/types/react-native-document-picker/tsconfig.json +++ b/types/react-native-document-picker/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-drawer-layout/tsconfig.json b/types/react-native-drawer-layout/tsconfig.json index b9f5068f0e..a0d6721b68 100644 --- a/types/react-native-drawer-layout/tsconfig.json +++ b/types/react-native-drawer-layout/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-drawer/tsconfig.json b/types/react-native-drawer/tsconfig.json index c44a87ca38..1617e4715b 100644 --- a/types/react-native-drawer/tsconfig.json +++ b/types/react-native-drawer/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-fabric/tsconfig.json b/types/react-native-fabric/tsconfig.json index b27e85ccf7..f3dcb77b3d 100644 --- a/types/react-native-fabric/tsconfig.json +++ b/types/react-native-fabric/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-native-fbsdk/tsconfig.json b/types/react-native-fbsdk/tsconfig.json index 04da79a438..0eae296778 100644 --- a/types/react-native-fbsdk/tsconfig.json +++ b/types/react-native-fbsdk/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react-native" }, "files": [ diff --git a/types/react-native-fetch-blob/tsconfig.json b/types/react-native-fetch-blob/tsconfig.json index a2d48e72fe..c2cf564bb7 100644 --- a/types/react-native-fetch-blob/tsconfig.json +++ b/types/react-native-fetch-blob/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-native-fs/tsconfig.json b/types/react-native-fs/tsconfig.json index 7f018a6770..f491bb6a7a 100644 --- a/types/react-native-fs/tsconfig.json +++ b/types/react-native-fs/tsconfig.json @@ -17,8 +17,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-native-google-signin/tsconfig.json b/types/react-native-google-signin/tsconfig.json index 885d5909f3..3c99f9f985 100644 --- a/types/react-native-google-signin/tsconfig.json +++ b/types/react-native-google-signin/tsconfig.json @@ -14,7 +14,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true, "jsx": "react-native" }, diff --git a/types/react-native-keep-awake/tsconfig.json b/types/react-native-keep-awake/tsconfig.json index 1fb7035348..6a53a9effa 100644 --- a/types/react-native-keep-awake/tsconfig.json +++ b/types/react-native-keep-awake/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-linear-gradient/tsconfig.json b/types/react-native-linear-gradient/tsconfig.json index 64f451aff0..60d93ae024 100644 --- a/types/react-native-linear-gradient/tsconfig.json +++ b/types/react-native-linear-gradient/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react-native" }, "files": [ diff --git a/types/react-native-material-design-searchbar/tsconfig.json b/types/react-native-material-design-searchbar/tsconfig.json index fad3a98354..41e6dc8bab 100644 --- a/types/react-native-material-design-searchbar/tsconfig.json +++ b/types/react-native-material-design-searchbar/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-material-kit/tsconfig.json b/types/react-native-material-kit/tsconfig.json index 383eabe485..f18bd089b8 100644 --- a/types/react-native-material-kit/tsconfig.json +++ b/types/react-native-material-kit/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react-native" }, "files": [ diff --git a/types/react-native-material-ui/tsconfig.json b/types/react-native-material-ui/tsconfig.json index 4df81b6245..7c215a4a8b 100644 --- a/types/react-native-material-ui/tsconfig.json +++ b/types/react-native-material-ui/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-mixpanel/tsconfig.json b/types/react-native-mixpanel/tsconfig.json index a422356e3d..e0eed7022f 100644 --- a/types/react-native-mixpanel/tsconfig.json +++ b/types/react-native-mixpanel/tsconfig.json @@ -14,7 +14,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/react-native-modalbox/tsconfig.json b/types/react-native-modalbox/tsconfig.json index 35c3a77f61..1c41f2e346 100644 --- a/types/react-native-modalbox/tsconfig.json +++ b/types/react-native-modalbox/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-navigation/tsconfig.json b/types/react-native-navigation/tsconfig.json index d5f6739538..a8e66bb44a 100644 --- a/types/react-native-navigation/tsconfig.json +++ b/types/react-native-navigation/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react-native" }, "files": [ diff --git a/types/react-native-orientation/tsconfig.json b/types/react-native-orientation/tsconfig.json index 60db21ec6d..bd692e954d 100644 --- a/types/react-native-orientation/tsconfig.json +++ b/types/react-native-orientation/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-native-popup-dialog/tsconfig.json b/types/react-native-popup-dialog/tsconfig.json index abc3eb6980..f870dbf139 100644 --- a/types/react-native-popup-dialog/tsconfig.json +++ b/types/react-native-popup-dialog/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-push-notification/tsconfig.json b/types/react-native-push-notification/tsconfig.json index d387ecd667..55402caca2 100644 --- a/types/react-native-push-notification/tsconfig.json +++ b/types/react-native-push-notification/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-qrcode/tsconfig.json b/types/react-native-qrcode/tsconfig.json index 24e59a7544..b21253194b 100644 --- a/types/react-native-qrcode/tsconfig.json +++ b/types/react-native-qrcode/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-safari-view/tsconfig.json b/types/react-native-safari-view/tsconfig.json index f7e512ef69..4f04c6e8b6 100644 --- a/types/react-native-safari-view/tsconfig.json +++ b/types/react-native-safari-view/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-scrollable-tab-view/tsconfig.json b/types/react-native-scrollable-tab-view/tsconfig.json index 12ae0f8f4a..6b88cdde66 100644 --- a/types/react-native-scrollable-tab-view/tsconfig.json +++ b/types/react-native-scrollable-tab-view/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-sensor-manager/tsconfig.json b/types/react-native-sensor-manager/tsconfig.json index 772569be5c..97c238c779 100644 --- a/types/react-native-sensor-manager/tsconfig.json +++ b/types/react-native-sensor-manager/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-native-snap-carousel/tsconfig.json b/types/react-native-snap-carousel/tsconfig.json index 19669fe055..4cba7b2f97 100644 --- a/types/react-native-snap-carousel/tsconfig.json +++ b/types/react-native-snap-carousel/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-sortable-grid/tsconfig.json b/types/react-native-sortable-grid/tsconfig.json index 1906a4418a..4a2ec708aa 100644 --- a/types/react-native-sortable-grid/tsconfig.json +++ b/types/react-native-sortable-grid/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-native-sortable-list/tsconfig.json b/types/react-native-sortable-list/tsconfig.json index 5676c069cc..52474bc36f 100644 --- a/types/react-native-sortable-list/tsconfig.json +++ b/types/react-native-sortable-list/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-svg-uri/tsconfig.json b/types/react-native-svg-uri/tsconfig.json index 6e769a820e..dad8bbe54a 100644 --- a/types/react-native-svg-uri/tsconfig.json +++ b/types/react-native-svg-uri/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react-native" }, "files": [ diff --git a/types/react-native-swiper/tsconfig.json b/types/react-native-swiper/tsconfig.json index 361058eef8..68d1350773 100644 --- a/types/react-native-swiper/tsconfig.json +++ b/types/react-native-swiper/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-tab-navigator/tsconfig.json b/types/react-native-tab-navigator/tsconfig.json index 7b3482ebf0..b8e913c472 100644 --- a/types/react-native-tab-navigator/tsconfig.json +++ b/types/react-native-tab-navigator/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-tab-view/tsconfig.json b/types/react-native-tab-view/tsconfig.json index 6c5efd8081..8841b6a2b4 100644 --- a/types/react-native-tab-view/tsconfig.json +++ b/types/react-native-tab-view/tsconfig.json @@ -15,8 +15,7 @@ "types": [], "noEmit": true, "strictFunctionTypes": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-native-touch-id/tsconfig.json b/types/react-native-touch-id/tsconfig.json index 715654db9b..f927782930 100644 --- a/types/react-native-touch-id/tsconfig.json +++ b/types/react-native-touch-id/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-native-vector-icons/tsconfig.json b/types/react-native-vector-icons/tsconfig.json index ca8bfa043b..f66f39ed95 100644 --- a/types/react-native-vector-icons/tsconfig.json +++ b/types/react-native-vector-icons/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native-video/tsconfig.json b/types/react-native-video/tsconfig.json index 87e421f751..a2e2a80edd 100644 --- a/types/react-native-video/tsconfig.json +++ b/types/react-native-video/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-native/tsconfig.json b/types/react-native/tsconfig.json index 674c8e65bf..508ac06f1a 100644 --- a/types/react-native/tsconfig.json +++ b/types/react-native/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-navigation/tsconfig.json b/types/react-navigation/tsconfig.json index f779d8886b..ac0fcf1f1f 100644 --- a/types/react-navigation/tsconfig.json +++ b/types/react-navigation/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-notification-system-redux/tsconfig.json b/types/react-notification-system-redux/tsconfig.json index 09316d1f0a..e401225f10 100644 --- a/types/react-notification-system-redux/tsconfig.json +++ b/types/react-notification-system-redux/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-notification-system/tsconfig.json b/types/react-notification-system/tsconfig.json index 09c3eb8841..033a759d60 100644 --- a/types/react-notification-system/tsconfig.json +++ b/types/react-notification-system/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-numeric-input/tsconfig.json b/types/react-numeric-input/tsconfig.json index 6cb9afc5c1..486a7bcd12 100644 --- a/types/react-numeric-input/tsconfig.json +++ b/types/react-numeric-input/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-onclickoutside/tsconfig.json b/types/react-onclickoutside/tsconfig.json index a9e2719543..701a5cf764 100644 --- a/types/react-onclickoutside/tsconfig.json +++ b/types/react-onclickoutside/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-onclickoutside/v5/tsconfig.json b/types/react-onclickoutside/v5/tsconfig.json index b556104845..9de01e61ab 100644 --- a/types/react-onclickoutside/v5/tsconfig.json +++ b/types/react-onclickoutside/v5/tsconfig.json @@ -21,7 +21,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-onsenui/tsconfig.json b/types/react-onsenui/tsconfig.json index 4905933974..7835344791 100644 --- a/types/react-onsenui/tsconfig.json +++ b/types/react-onsenui/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-overlays/tsconfig.json b/types/react-overlays/tsconfig.json index ff95732c63..33066cce2e 100644 --- a/types/react-overlays/tsconfig.json +++ b/types/react-overlays/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-paginate/tsconfig.json b/types/react-paginate/tsconfig.json index 7c7e06ff5e..5653cee275 100644 --- a/types/react-paginate/tsconfig.json +++ b/types/react-paginate/tsconfig.json @@ -20,7 +20,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" } } \ No newline at end of file diff --git a/types/react-pointable/tsconfig.json b/types/react-pointable/tsconfig.json index 8b527c8891..f45312f83e 100644 --- a/types/react-pointable/tsconfig.json +++ b/types/react-pointable/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-portal/tsconfig.json b/types/react-portal/tsconfig.json index 9ad14743e2..84bec30f58 100644 --- a/types/react-portal/tsconfig.json +++ b/types/react-portal/tsconfig.json @@ -13,7 +13,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "lib": [ "es6", "dom" diff --git a/types/react-props-decorators/tsconfig.json b/types/react-props-decorators/tsconfig.json index 6ad67a4d9c..92243c709c 100644 --- a/types/react-props-decorators/tsconfig.json +++ b/types/react-props-decorators/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-recaptcha/tsconfig.json b/types/react-recaptcha/tsconfig.json index 5fe1c34378..0206cb26c5 100644 --- a/types/react-recaptcha/tsconfig.json +++ b/types/react-recaptcha/tsconfig.json @@ -16,8 +16,7 @@ "types": [], "jsx": "react", "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-redux-i18n/tsconfig.json b/types/react-redux-i18n/tsconfig.json index ca8e3691b4..8afdf46c9c 100644 --- a/types/react-redux-i18n/tsconfig.json +++ b/types/react-redux-i18n/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-redux-toastr/tsconfig.json b/types/react-redux-toastr/tsconfig.json index 228fb2bcc8..8760f15ade 100644 --- a/types/react-redux-toastr/tsconfig.json +++ b/types/react-redux-toastr/tsconfig.json @@ -17,8 +17,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-redux/tsconfig.json b/types/react-redux/tsconfig.json index 64433dbb42..981f3c9b0f 100644 --- a/types/react-redux/tsconfig.json +++ b/types/react-redux/tsconfig.json @@ -21,7 +21,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/react-relay/tsconfig.json b/types/react-relay/tsconfig.json index bf3dc05339..642df480df 100644 --- a/types/react-relay/tsconfig.json +++ b/types/react-relay/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-resolver/tsconfig.json b/types/react-resolver/tsconfig.json index f54448dae8..fce9a29e5e 100644 --- a/types/react-resolver/tsconfig.json +++ b/types/react-resolver/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-responsive/tsconfig.json b/types/react-responsive/tsconfig.json index a099ee5d0e..6599624bbe 100644 --- a/types/react-responsive/tsconfig.json +++ b/types/react-responsive/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-responsive/v1/tsconfig.json b/types/react-responsive/v1/tsconfig.json index 5a359a977f..a5f0d8891a 100644 --- a/types/react-responsive/v1/tsconfig.json +++ b/types/react-responsive/v1/tsconfig.json @@ -24,7 +24,6 @@ }, "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-router-bootstrap/tsconfig.json b/types/react-router-bootstrap/tsconfig.json index 0583c384f6..870c37c742 100644 --- a/types/react-router-bootstrap/tsconfig.json +++ b/types/react-router-bootstrap/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-router-config/tsconfig.json b/types/react-router-config/tsconfig.json index 82c77037df..49ab50e7b0 100644 --- a/types/react-router-config/tsconfig.json +++ b/types/react-router-config/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "preserve" }, "files": [ diff --git a/types/react-router-dom/tsconfig.json b/types/react-router-dom/tsconfig.json index b194a014dc..4c308400b7 100644 --- a/types/react-router-dom/tsconfig.json +++ b/types/react-router-dom/tsconfig.json @@ -16,7 +16,6 @@ "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/react-router-native/tsconfig.json b/types/react-router-native/tsconfig.json index 115a454187..7b5d8f9fe3 100644 --- a/types/react-router-native/tsconfig.json +++ b/types/react-router-native/tsconfig.json @@ -16,7 +16,6 @@ "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/react-router-navigation-core/tsconfig.json b/types/react-router-navigation-core/tsconfig.json index c3890eb1fe..b356b2d5c5 100644 --- a/types/react-router-navigation-core/tsconfig.json +++ b/types/react-router-navigation-core/tsconfig.json @@ -16,7 +16,6 @@ "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/react-router-navigation/tsconfig.json b/types/react-router-navigation/tsconfig.json index 31f32114c0..e10c25a443 100644 --- a/types/react-router-navigation/tsconfig.json +++ b/types/react-router-navigation/tsconfig.json @@ -16,7 +16,6 @@ "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noEmit": true }, "files": [ diff --git a/types/react-router-redux/tsconfig.json b/types/react-router-redux/tsconfig.json index fba7117c16..58bf304abc 100644 --- a/types/react-router-redux/tsconfig.json +++ b/types/react-router-redux/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-router-redux/v3/tsconfig.json b/types/react-router-redux/v3/tsconfig.json index e6ebc919e1..e9e48c7e58 100644 --- a/types/react-router-redux/v3/tsconfig.json +++ b/types/react-router-redux/v3/tsconfig.json @@ -26,8 +26,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-router-redux/v4/tsconfig.json b/types/react-router-redux/v4/tsconfig.json index 2ff6844055..427325c7fc 100644 --- a/types/react-router-redux/v4/tsconfig.json +++ b/types/react-router-redux/v4/tsconfig.json @@ -26,8 +26,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-router/tsconfig.json b/types/react-router/tsconfig.json index 4f55c5fb1c..d62619d931 100644 --- a/types/react-router/tsconfig.json +++ b/types/react-router/tsconfig.json @@ -16,7 +16,6 @@ "noImplicitAny": true, "noImplicitThis": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noEmit": true, "experimentalDecorators": true }, diff --git a/types/react-router/v2/tsconfig.json b/types/react-router/v2/tsconfig.json index f4c8a30073..9e007bef15 100644 --- a/types/react-router/v2/tsconfig.json +++ b/types/react-router/v2/tsconfig.json @@ -26,8 +26,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/react-router/v3/tsconfig.json b/types/react-router/v3/tsconfig.json index 1d3ddf2cc0..a620b2e01b 100644 --- a/types/react-router/v3/tsconfig.json +++ b/types/react-router/v3/tsconfig.json @@ -30,8 +30,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-s-alert/tsconfig.json b/types/react-s-alert/tsconfig.json index eacaa2f4e8..58dec67591 100644 --- a/types/react-s-alert/tsconfig.json +++ b/types/react-s-alert/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-scroll/tsconfig.json b/types/react-scroll/tsconfig.json index be5101711f..4e8422e85d 100644 --- a/types/react-scroll/tsconfig.json +++ b/types/react-scroll/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-scrollbar/tsconfig.json b/types/react-scrollbar/tsconfig.json index 3dc2258567..d9586168d7 100644 --- a/types/react-scrollbar/tsconfig.json +++ b/types/react-scrollbar/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-select/tsconfig.json b/types/react-select/tsconfig.json index 9158ae101e..727747e72c 100644 --- a/types/react-select/tsconfig.json +++ b/types/react-select/tsconfig.json @@ -20,7 +20,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/react-side-effect/tsconfig.json b/types/react-side-effect/tsconfig.json index e5a0ae6fc5..f64b0cedec 100644 --- a/types/react-side-effect/tsconfig.json +++ b/types/react-side-effect/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-sidebar/tsconfig.json b/types/react-sidebar/tsconfig.json index 72cf019a8b..8481bb2fa3 100644 --- a/types/react-sidebar/tsconfig.json +++ b/types/react-sidebar/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-sketchapp/tsconfig.json b/types/react-sketchapp/tsconfig.json index ee2e4fd7a9..6dc8b9460a 100644 --- a/types/react-sketchapp/tsconfig.json +++ b/types/react-sketchapp/tsconfig.json @@ -4,7 +4,6 @@ "module": "commonjs", "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "baseUrl": "../", "jsx": "preserve", "typeRoots": [ diff --git a/types/react-slick/tsconfig.json b/types/react-slick/tsconfig.json index 7be1247f88..7d8d0c0dbc 100644 --- a/types/react-slick/tsconfig.json +++ b/types/react-slick/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-smooth-scrollbar/tsconfig.json b/types/react-smooth-scrollbar/tsconfig.json index 3b950bc1e4..7069af35d0 100644 --- a/types/react-smooth-scrollbar/tsconfig.json +++ b/types/react-smooth-scrollbar/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-sortable-hoc/tsconfig.json b/types/react-sortable-hoc/tsconfig.json index 7e6511c11b..89aef58db4 100644 --- a/types/react-sortable-hoc/tsconfig.json +++ b/types/react-sortable-hoc/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-sortable-pane/tsconfig.json b/types/react-sortable-pane/tsconfig.json index aeb93be68e..bc07e7267a 100644 --- a/types/react-sortable-pane/tsconfig.json +++ b/types/react-sortable-pane/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-sortable-tree/tsconfig.json b/types/react-sortable-tree/tsconfig.json index ba1fea9eaf..abf3027b1e 100644 --- a/types/react-sortable-tree/tsconfig.json +++ b/types/react-sortable-tree/tsconfig.json @@ -16,8 +16,7 @@ "jsx": "react", "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-spinkit/tsconfig.json b/types/react-spinkit/tsconfig.json index 5898e0a2b9..a78e0a8350 100644 --- a/types/react-spinkit/tsconfig.json +++ b/types/react-spinkit/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-spinkit/v1/tsconfig.json b/types/react-spinkit/v1/tsconfig.json index 9e47e5233f..9e75ac7eee 100644 --- a/types/react-spinkit/v1/tsconfig.json +++ b/types/react-spinkit/v1/tsconfig.json @@ -24,8 +24,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-sticky/tsconfig.json b/types/react-sticky/tsconfig.json index 228be56f40..42ca8483c7 100644 --- a/types/react-sticky/tsconfig.json +++ b/types/react-sticky/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-stripe-elements/tsconfig.json b/types/react-stripe-elements/tsconfig.json index c687200bc4..7b41414c95 100644 --- a/types/react-stripe-elements/tsconfig.json +++ b/types/react-stripe-elements/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-svg-pan-zoom/tsconfig.json b/types/react-svg-pan-zoom/tsconfig.json index 30d4833817..9768940812 100644 --- a/types/react-svg-pan-zoom/tsconfig.json +++ b/types/react-svg-pan-zoom/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-swf/tsconfig.json b/types/react-swf/tsconfig.json index 5de4ce4f53..088289e3b4 100644 --- a/types/react-swf/tsconfig.json +++ b/types/react-swf/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-swipe/tsconfig.json b/types/react-swipe/tsconfig.json index 929998a56c..592223407e 100644 --- a/types/react-swipe/tsconfig.json +++ b/types/react-swipe/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-swipeable-views/tsconfig.json b/types/react-swipeable-views/tsconfig.json index 7f4c7c4ce6..3d4711fc53 100644 --- a/types/react-swipeable-views/tsconfig.json +++ b/types/react-swipeable-views/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-swipeable/tsconfig.json b/types/react-swipeable/tsconfig.json index 1a3953c812..f3f7bf5b1a 100644 --- a/types/react-swipeable/tsconfig.json +++ b/types/react-swipeable/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-syntax-highlighter/tsconfig.json b/types/react-syntax-highlighter/tsconfig.json index f0a2eb5b06..b83dacca56 100644 --- a/types/react-syntax-highlighter/tsconfig.json +++ b/types/react-syntax-highlighter/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-table/tsconfig.json b/types/react-table/tsconfig.json index bcbdae3857..de6f3f8e69 100644 --- a/types/react-table/tsconfig.json +++ b/types/react-table/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-tabs/tsconfig.json b/types/react-tabs/tsconfig.json index d32fbb0b3c..5c1f1aa63c 100644 --- a/types/react-tabs/tsconfig.json +++ b/types/react-tabs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-tag-input/tsconfig.json b/types/react-tag-input/tsconfig.json index dff73a5f42..9a30e8a334 100644 --- a/types/react-tag-input/tsconfig.json +++ b/types/react-tag-input/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-tagcloud/tsconfig.json b/types/react-tagcloud/tsconfig.json index e45d285354..0d496a97a1 100644 --- a/types/react-tagcloud/tsconfig.json +++ b/types/react-tagcloud/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-tagsinput/tsconfig.json b/types/react-tagsinput/tsconfig.json index b17090bf2b..6c13888335 100644 --- a/types/react-tagsinput/tsconfig.json +++ b/types/react-tagsinput/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-tap-event-plugin/tsconfig.json b/types/react-tap-event-plugin/tsconfig.json index 9921a0516f..38f0ad79b8 100644 --- a/types/react-tap-event-plugin/tsconfig.json +++ b/types/react-tap-event-plugin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-test-renderer/tsconfig.json b/types/react-test-renderer/tsconfig.json index 62847003bd..0c2d149f79 100644 --- a/types/react-test-renderer/tsconfig.json +++ b/types/react-test-renderer/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-test-renderer/v15/tsconfig.json b/types/react-test-renderer/v15/tsconfig.json index 6c6c9927a0..4be2e2797f 100644 --- a/types/react-test-renderer/v15/tsconfig.json +++ b/types/react-test-renderer/v15/tsconfig.json @@ -23,8 +23,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-tether/tsconfig.json b/types/react-tether/tsconfig.json index a346fe707c..3190ba8cf1 100644 --- a/types/react-tether/tsconfig.json +++ b/types/react-tether/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-textarea-autosize/tsconfig.json b/types/react-textarea-autosize/tsconfig.json index 6f50ce5e42..0946f43d10 100644 --- a/types/react-textarea-autosize/tsconfig.json +++ b/types/react-textarea-autosize/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-toastr/tsconfig.json b/types/react-toastr/tsconfig.json index 9d34197b01..c29213d19e 100644 --- a/types/react-toastr/tsconfig.json +++ b/types/react-toastr/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-toggle/tsconfig.json b/types/react-toggle/tsconfig.json index 4500f8ea1f..e744478741 100644 --- a/types/react-toggle/tsconfig.json +++ b/types/react-toggle/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-toggle/v2/tsconfig.json b/types/react-toggle/v2/tsconfig.json index dbd41a3738..996290fe7b 100644 --- a/types/react-toggle/v2/tsconfig.json +++ b/types/react-toggle/v2/tsconfig.json @@ -21,7 +21,6 @@ }, "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-tooltip/tsconfig.json b/types/react-tooltip/tsconfig.json index a42834eaf0..17a730e3b5 100644 --- a/types/react-tooltip/tsconfig.json +++ b/types/react-tooltip/tsconfig.json @@ -17,8 +17,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-touch/tsconfig.json b/types/react-touch/tsconfig.json index 2a77a06269..807d0d7a2c 100644 --- a/types/react-touch/tsconfig.json +++ b/types/react-touch/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-tracking/tsconfig.json b/types/react-tracking/tsconfig.json index 5dcd1fa6b4..4200651a42 100644 --- a/types/react-tracking/tsconfig.json +++ b/types/react-tracking/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "experimentalDecorators": true, "jsx": "preserve" }, diff --git a/types/react-transition-group/tsconfig.json b/types/react-transition-group/tsconfig.json index 701e0fcfba..7b17b06580 100644 --- a/types/react-transition-group/tsconfig.json +++ b/types/react-transition-group/tsconfig.json @@ -17,8 +17,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-transition-group/v1/tsconfig.json b/types/react-transition-group/v1/tsconfig.json index 8ae121e18e..22f6d9caeb 100644 --- a/types/react-transition-group/v1/tsconfig.json +++ b/types/react-transition-group/v1/tsconfig.json @@ -23,8 +23,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-treeview/tsconfig.json b/types/react-treeview/tsconfig.json index a6c454bdcd..f1bf7481d5 100644 --- a/types/react-treeview/tsconfig.json +++ b/types/react-treeview/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-truncate/tsconfig.json b/types/react-truncate/tsconfig.json index 5f4a674b24..b36c957da6 100644 --- a/types/react-truncate/tsconfig.json +++ b/types/react-truncate/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-user-tour/tsconfig.json b/types/react-user-tour/tsconfig.json index 29eef2c510..032fc4c393 100644 --- a/types/react-user-tour/tsconfig.json +++ b/types/react-user-tour/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/react-virtual-keyboard/tsconfig.json b/types/react-virtual-keyboard/tsconfig.json index c8b43a15e7..b9d7188150 100644 --- a/types/react-virtual-keyboard/tsconfig.json +++ b/types/react-virtual-keyboard/tsconfig.json @@ -20,7 +20,6 @@ "types": [], "noEmit": true, "jsx": "react", - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/react-virtualized-select/tsconfig.json b/types/react-virtualized-select/tsconfig.json index d24d6ab1b3..677bdcf43d 100644 --- a/types/react-virtualized-select/tsconfig.json +++ b/types/react-virtualized-select/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-virtualized/tsconfig.json b/types/react-virtualized/tsconfig.json index 853a800ef8..4457f73e3d 100644 --- a/types/react-virtualized/tsconfig.json +++ b/types/react-virtualized/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-weui/tsconfig.json b/types/react-weui/tsconfig.json index 6d292d375a..824352a6af 100644 --- a/types/react-weui/tsconfig.json +++ b/types/react-weui/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-widgets-moment/tsconfig.json b/types/react-widgets-moment/tsconfig.json index b98e15fc03..647a13700c 100644 --- a/types/react-widgets-moment/tsconfig.json +++ b/types/react-widgets-moment/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react-widgets/tsconfig.json b/types/react-widgets/tsconfig.json index 2ff1d31ea5..1acb188974 100644 --- a/types/react-widgets/tsconfig.json +++ b/types/react-widgets/tsconfig.json @@ -16,11 +16,10 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "react-widgets-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-youtube/tsconfig.json b/types/react-youtube/tsconfig.json index 42ff06f458..e6ddd061cc 100644 --- a/types/react-youtube/tsconfig.json +++ b/types/react-youtube/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/react/tsconfig.json b/types/react/tsconfig.json index 1b79768acc..46866c10b1 100644 --- a/types/react/tsconfig.json +++ b/types/react/tsconfig.json @@ -22,7 +22,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "preserve" } } \ No newline at end of file diff --git a/types/react/v15/tsconfig.json b/types/react/v15/tsconfig.json index c2d4169d33..f9c13ee9f2 100644 --- a/types/react/v15/tsconfig.json +++ b/types/react/v15/tsconfig.json @@ -27,7 +27,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "preserve" } } \ No newline at end of file diff --git a/types/reactable/tsconfig.json b/types/reactable/tsconfig.json index 45d6422faa..cf703a49d8 100644 --- a/types/reactable/tsconfig.json +++ b/types/reactable/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/reactcss/tsconfig.json b/types/reactcss/tsconfig.json index 2d17d40010..770887668d 100644 --- a/types/reactcss/tsconfig.json +++ b/types/reactcss/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/reactstrap/tsconfig.json b/types/reactstrap/tsconfig.json index d6485370c0..eab2583792 100644 --- a/types/reactstrap/tsconfig.json +++ b/types/reactstrap/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/reactstrap/v4/tsconfig.json b/types/reactstrap/v4/tsconfig.json index 28bacae6ce..574c767ff5 100644 --- a/types/reactstrap/v4/tsconfig.json +++ b/types/reactstrap/v4/tsconfig.json @@ -21,8 +21,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/read-chunk/tsconfig.json b/types/read-chunk/tsconfig.json index 452a52a6ec..041ee0f648 100644 --- a/types/read-chunk/tsconfig.json +++ b/types/read-chunk/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/read-package-tree/tsconfig.json b/types/read-package-tree/tsconfig.json index a1ac1c2c9e..3e4f94e46c 100644 --- a/types/read-package-tree/tsconfig.json +++ b/types/read-package-tree/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/read-pkg-up/tsconfig.json b/types/read-pkg-up/tsconfig.json index 75a20b3452..a9c2341011 100644 --- a/types/read-pkg-up/tsconfig.json +++ b/types/read-pkg-up/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/read-pkg/tsconfig.json b/types/read-pkg/tsconfig.json index 72016bbd28..47ef4e3ddc 100644 --- a/types/read-pkg/tsconfig.json +++ b/types/read-pkg/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/read/tsconfig.json b/types/read/tsconfig.json index c4e3523f3b..31e23cb479 100644 --- a/types/read/tsconfig.json +++ b/types/read/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/readdir-enhanced/tsconfig.json b/types/readdir-enhanced/tsconfig.json index f0164f1dc2..493568f9b0 100644 --- a/types/readdir-enhanced/tsconfig.json +++ b/types/readdir-enhanced/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/readdir-stream/tsconfig.json b/types/readdir-stream/tsconfig.json index ff1417fa6b..f4fcaeade4 100644 --- a/types/readdir-stream/tsconfig.json +++ b/types/readdir-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/readline-sync/tsconfig.json b/types/readline-sync/tsconfig.json index a778f3c93f..24375b96f0 100644 --- a/types/readline-sync/tsconfig.json +++ b/types/readline-sync/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/readline-transform/tsconfig.json b/types/readline-transform/tsconfig.json index 76521c5b6a..4bf70a9d30 100644 --- a/types/readline-transform/tsconfig.json +++ b/types/readline-transform/tsconfig.json @@ -4,7 +4,6 @@ "lib": [ "es6" ], - "esModuleInterop": true, "noImplicitAny": true, "noImplicitThis": true, "strictFunctionTypes": true, @@ -21,4 +20,4 @@ "index.d.ts", "readline-transform-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/reapop/tsconfig.json b/types/reapop/tsconfig.json index 1c8bd2fbce..4ce459396a 100644 --- a/types/reapop/tsconfig.json +++ b/types/reapop/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/rebass/tsconfig.json b/types/rebass/tsconfig.json index 1dc8e1e8cc..080a1661b3 100644 --- a/types/rebass/tsconfig.json +++ b/types/rebass/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/recase/tsconfig.json b/types/recase/tsconfig.json index 89f3926313..3f0d64b1f1 100644 --- a/types/recase/tsconfig.json +++ b/types/recase/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/recharts/tsconfig.json b/types/recharts/tsconfig.json index a28c3f929a..9c1f91ee8c 100644 --- a/types/recharts/tsconfig.json +++ b/types/recharts/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/recompose/tsconfig.json b/types/recompose/tsconfig.json index fa74170d77..4c56e4b125 100644 --- a/types/recompose/tsconfig.json +++ b/types/recompose/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/reconnectingwebsocket/tsconfig.json b/types/reconnectingwebsocket/tsconfig.json index f74b5c632d..da8f1df1aa 100644 --- a/types/reconnectingwebsocket/tsconfig.json +++ b/types/reconnectingwebsocket/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/recursive-readdir/tsconfig.json b/types/recursive-readdir/tsconfig.json index 0b4e4b0a0d..f1304716ce 100644 --- a/types/recursive-readdir/tsconfig.json +++ b/types/recursive-readdir/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/recursive-readdir/v1/tsconfig.json b/types/recursive-readdir/v1/tsconfig.json index 72ca783b70..e87a74efb6 100644 --- a/types/recursive-readdir/v1/tsconfig.json +++ b/types/recursive-readdir/v1/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redis-errors/tsconfig.json b/types/redis-errors/tsconfig.json index 718c47bb91..cef54ec9cc 100644 --- a/types/redis-errors/tsconfig.json +++ b/types/redis-errors/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redis-mock/tsconfig.json b/types/redis-mock/tsconfig.json index 74c4dba656..0805bfe42f 100644 --- a/types/redis-mock/tsconfig.json +++ b/types/redis-mock/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redis-rate-limiter/tsconfig.json b/types/redis-rate-limiter/tsconfig.json index d877fb21fe..67b67da4d0 100644 --- a/types/redis-rate-limiter/tsconfig.json +++ b/types/redis-rate-limiter/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redis-scripto/tsconfig.json b/types/redis-scripto/tsconfig.json index 2727940664..23c922eaf8 100644 --- a/types/redis-scripto/tsconfig.json +++ b/types/redis-scripto/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redis/tsconfig.json b/types/redis/tsconfig.json index c1a11581b9..0dd504314b 100644 --- a/types/redis/tsconfig.json +++ b/types/redis/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redlock/tsconfig.json b/types/redlock/tsconfig.json index 2eb40f95cc..4b4801f74c 100644 --- a/types/redlock/tsconfig.json +++ b/types/redlock/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redlock/v2/tsconfig.json b/types/redlock/v2/tsconfig.json index be14228ac7..8efab0972e 100644 --- a/types/redlock/v2/tsconfig.json +++ b/types/redlock/v2/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redom/tsconfig.json b/types/redom/tsconfig.json index 8629b9887a..16556c03b9 100644 --- a/types/redom/tsconfig.json +++ b/types/redom/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/reduce-reducers/tsconfig.json b/types/reduce-reducers/tsconfig.json index 14aba39daf..938f4e9c10 100644 --- a/types/reduce-reducers/tsconfig.json +++ b/types/reduce-reducers/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-action-utils/tsconfig.json b/types/redux-action-utils/tsconfig.json index e659b458be..a4d94be1cd 100644 --- a/types/redux-action-utils/tsconfig.json +++ b/types/redux-action-utils/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-action/tsconfig.json b/types/redux-action/tsconfig.json index ad5ca6b231..779d9d65a8 100644 --- a/types/redux-action/tsconfig.json +++ b/types/redux-action/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-actions/tsconfig.json b/types/redux-actions/tsconfig.json index 03ff013494..ea4f7f1a53 100644 --- a/types/redux-actions/tsconfig.json +++ b/types/redux-actions/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-auth-wrapper/tsconfig.json b/types/redux-auth-wrapper/tsconfig.json index 96934fca40..22ce438a7b 100644 --- a/types/redux-auth-wrapper/tsconfig.json +++ b/types/redux-auth-wrapper/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/redux-auth-wrapper/v1/tsconfig.json b/types/redux-auth-wrapper/v1/tsconfig.json index 9f7838c9dd..cafddbaf87 100644 --- a/types/redux-auth-wrapper/v1/tsconfig.json +++ b/types/redux-auth-wrapper/v1/tsconfig.json @@ -27,7 +27,6 @@ }, "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/redux-batched-subscribe/tsconfig.json b/types/redux-batched-subscribe/tsconfig.json index f9f82d82cc..81ec34caf6 100644 --- a/types/redux-batched-subscribe/tsconfig.json +++ b/types/redux-batched-subscribe/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-debounced/tsconfig.json b/types/redux-debounced/tsconfig.json index b203048f0c..88d5f414c2 100644 --- a/types/redux-debounced/tsconfig.json +++ b/types/redux-debounced/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-devtools-dock-monitor/tsconfig.json b/types/redux-devtools-dock-monitor/tsconfig.json index c9e6214e00..23b61b4e99 100644 --- a/types/redux-devtools-dock-monitor/tsconfig.json +++ b/types/redux-devtools-dock-monitor/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-devtools-log-monitor/tsconfig.json b/types/redux-devtools-log-monitor/tsconfig.json index 7321dac5e1..e7d0f18465 100644 --- a/types/redux-devtools-log-monitor/tsconfig.json +++ b/types/redux-devtools-log-monitor/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-devtools/tsconfig.json b/types/redux-devtools/tsconfig.json index bdb07a2c65..81b47be2b4 100644 --- a/types/redux-devtools/tsconfig.json +++ b/types/redux-devtools/tsconfig.json @@ -20,7 +20,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/redux-doghouse/tsconfig.json b/types/redux-doghouse/tsconfig.json index 0e72ee5e9b..5eac70b6a7 100644 --- a/types/redux-doghouse/tsconfig.json +++ b/types/redux-doghouse/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-first-router-link/tsconfig.json b/types/redux-first-router-link/tsconfig.json index 88c7210ee6..ed8cc75176 100644 --- a/types/redux-first-router-link/tsconfig.json +++ b/types/redux-first-router-link/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/redux-first-router/tsconfig.json b/types/redux-first-router/tsconfig.json index c628c22e2d..774422aa4e 100644 --- a/types/redux-first-router/tsconfig.json +++ b/types/redux-first-router/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-form/tsconfig.json b/types/redux-form/tsconfig.json index 62b18fd4d9..ea57d2a38a 100644 --- a/types/redux-form/tsconfig.json +++ b/types/redux-form/tsconfig.json @@ -17,8 +17,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-form/v4/tsconfig.json b/types/redux-form/v4/tsconfig.json index b67bb4689c..c93094c30e 100644 --- a/types/redux-form/v4/tsconfig.json +++ b/types/redux-form/v4/tsconfig.json @@ -21,7 +21,6 @@ }, "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/redux-form/v6/tsconfig.json b/types/redux-form/v6/tsconfig.json index ce8aaf2c43..c4c9025157 100644 --- a/types/redux-form/v6/tsconfig.json +++ b/types/redux-form/v6/tsconfig.json @@ -25,8 +25,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-immutable-state-invariant/tsconfig.json b/types/redux-immutable-state-invariant/tsconfig.json index ce98328e6c..040146ce54 100644 --- a/types/redux-immutable-state-invariant/tsconfig.json +++ b/types/redux-immutable-state-invariant/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-immutable/tsconfig.json b/types/redux-immutable/tsconfig.json index cf39fe7ac0..8236260774 100644 --- a/types/redux-immutable/tsconfig.json +++ b/types/redux-immutable/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-infinite-scroll/tsconfig.json b/types/redux-infinite-scroll/tsconfig.json index da336ba0df..e2e6972d28 100644 --- a/types/redux-infinite-scroll/tsconfig.json +++ b/types/redux-infinite-scroll/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-injectable-store/tsconfig.json b/types/redux-injectable-store/tsconfig.json index f9974da57b..9a421d910e 100644 --- a/types/redux-injectable-store/tsconfig.json +++ b/types/redux-injectable-store/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-little-router/tsconfig.json b/types/redux-little-router/tsconfig.json index bb5d21b2ed..30884e8741 100644 --- a/types/redux-little-router/tsconfig.json +++ b/types/redux-little-router/tsconfig.json @@ -16,11 +16,10 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "redux-little-router-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/redux-localstorage-debounce/tsconfig.json b/types/redux-localstorage-debounce/tsconfig.json index 788069f7e0..bcb66cf55f 100644 --- a/types/redux-localstorage-debounce/tsconfig.json +++ b/types/redux-localstorage-debounce/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-localstorage-filter/tsconfig.json b/types/redux-localstorage-filter/tsconfig.json index fbfa113eef..e9fe93855f 100644 --- a/types/redux-localstorage-filter/tsconfig.json +++ b/types/redux-localstorage-filter/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-localstorage/tsconfig.json b/types/redux-localstorage/tsconfig.json index 0d0e43a117..06f38e605b 100644 --- a/types/redux-localstorage/tsconfig.json +++ b/types/redux-localstorage/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-logger/tsconfig.json b/types/redux-logger/tsconfig.json index 4fc1d849ff..7441f646d7 100644 --- a/types/redux-logger/tsconfig.json +++ b/types/redux-logger/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-mock-store/tsconfig.json b/types/redux-mock-store/tsconfig.json index 67cc7bcff0..4324410e6a 100644 --- a/types/redux-mock-store/tsconfig.json +++ b/types/redux-mock-store/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-optimistic-ui/tsconfig.json b/types/redux-optimistic-ui/tsconfig.json index c106f2f07c..65208605a4 100644 --- a/types/redux-optimistic-ui/tsconfig.json +++ b/types/redux-optimistic-ui/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-pack/tsconfig.json b/types/redux-pack/tsconfig.json index c3070dabac..bd6f463e9f 100644 --- a/types/redux-pack/tsconfig.json +++ b/types/redux-pack/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-persist-transform-encrypt/tsconfig.json b/types/redux-persist-transform-encrypt/tsconfig.json index 024bb3436c..b5408e3bcc 100644 --- a/types/redux-persist-transform-encrypt/tsconfig.json +++ b/types/redux-persist-transform-encrypt/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noUnusedParameters": true, "noUnusedLocals": true }, diff --git a/types/redux-persist-transform-filter/tsconfig.json b/types/redux-persist-transform-filter/tsconfig.json index 2f6c7f399c..9055213c6e 100644 --- a/types/redux-persist-transform-filter/tsconfig.json +++ b/types/redux-persist-transform-filter/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noUnusedParameters": true, "noUnusedLocals": true }, diff --git a/types/redux-promise-middleware/tsconfig.json b/types/redux-promise-middleware/tsconfig.json index 98eaece961..dd3a20f59c 100644 --- a/types/redux-promise-middleware/tsconfig.json +++ b/types/redux-promise-middleware/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-promise/tsconfig.json b/types/redux-promise/tsconfig.json index cf69bdd753..497d126d7c 100644 --- a/types/redux-promise/tsconfig.json +++ b/types/redux-promise/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-recycle/tsconfig.json b/types/redux-recycle/tsconfig.json index 6ebdcc6b55..32970840b6 100644 --- a/types/redux-recycle/tsconfig.json +++ b/types/redux-recycle/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-router/tsconfig.json b/types/redux-router/tsconfig.json index e2d9f341e5..766e518a6d 100644 --- a/types/redux-router/tsconfig.json +++ b/types/redux-router/tsconfig.json @@ -23,8 +23,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-socket.io/tsconfig.json b/types/redux-socket.io/tsconfig.json index 7ef46f1377..25afcc62af 100644 --- a/types/redux-socket.io/tsconfig.json +++ b/types/redux-socket.io/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-storage-engine-jsurl/tsconfig.json b/types/redux-storage-engine-jsurl/tsconfig.json index b8c1873257..a2582f5934 100644 --- a/types/redux-storage-engine-jsurl/tsconfig.json +++ b/types/redux-storage-engine-jsurl/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-storage-engine-localstorage/tsconfig.json b/types/redux-storage-engine-localstorage/tsconfig.json index 2c2ad5e30d..985659f008 100644 --- a/types/redux-storage-engine-localstorage/tsconfig.json +++ b/types/redux-storage-engine-localstorage/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-storage/tsconfig.json b/types/redux-storage/tsconfig.json index 6b57d50473..420cfbf70d 100644 --- a/types/redux-storage/tsconfig.json +++ b/types/redux-storage/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/redux-ui/tsconfig.json b/types/redux-ui/tsconfig.json index 0f42a7b1df..bcc9a33a4c 100644 --- a/types/redux-ui/tsconfig.json +++ b/types/redux-ui/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "experimentalDecorators": true }, "files": [ diff --git a/types/ref-array/tsconfig.json b/types/ref-array/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/ref-array/tsconfig.json +++ b/types/ref-array/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/ref-struct/tsconfig.json b/types/ref-struct/tsconfig.json index 5c0572c9ab..5ebe7efa5f 100644 --- a/types/ref-struct/tsconfig.json +++ b/types/ref-struct/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ref-union/tsconfig.json b/types/ref-union/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/ref-union/tsconfig.json +++ b/types/ref-union/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/ref/tsconfig.json b/types/ref/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/ref/tsconfig.json +++ b/types/ref/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/reflux/tsconfig.json b/types/reflux/tsconfig.json index 851dd1a709..3ef22150e4 100644 --- a/types/reflux/tsconfig.json +++ b/types/reflux/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/relateurl/tsconfig.json b/types/relateurl/tsconfig.json index f83f5dd3c5..83c12cc2b8 100644 --- a/types/relateurl/tsconfig.json +++ b/types/relateurl/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/relaxed-json/tsconfig.json b/types/relaxed-json/tsconfig.json index ec326243eb..2f6aff8f29 100644 --- a/types/relaxed-json/tsconfig.json +++ b/types/relaxed-json/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/relay-runtime/tsconfig.json b/types/relay-runtime/tsconfig.json index 86c5093ab9..799a0e3263 100644 --- a/types/relay-runtime/tsconfig.json +++ b/types/relay-runtime/tsconfig.json @@ -17,8 +17,7 @@ "noEmit": true, "jsx": "react", "experimentalDecorators": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/remarkable/tsconfig.json b/types/remarkable/tsconfig.json index 48f5c8f145..33af23cbf9 100644 --- a/types/remarkable/tsconfig.json +++ b/types/remarkable/tsconfig.json @@ -24,4 +24,4 @@ "index.d.ts", "remarkable-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/remote-redux-devtools/tsconfig.json b/types/remote-redux-devtools/tsconfig.json index 82e049c1f3..fcf29900c5 100644 --- a/types/remote-redux-devtools/tsconfig.json +++ b/types/remote-redux-devtools/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/remove-markdown/tsconfig.json b/types/remove-markdown/tsconfig.json index 8546450532..499c750dbf 100644 --- a/types/remove-markdown/tsconfig.json +++ b/types/remove-markdown/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/replace-ext/tsconfig.json b/types/replace-ext/tsconfig.json index b942b8e882..571be7234b 100644 --- a/types/replace-ext/tsconfig.json +++ b/types/replace-ext/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/request-ip/tsconfig.json b/types/request-ip/tsconfig.json index d66c4839c4..c7f452cb05 100644 --- a/types/request-ip/tsconfig.json +++ b/types/request-ip/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/request-promise-native/tsconfig.json b/types/request-promise-native/tsconfig.json index 9d8d41aba0..f4369116db 100644 --- a/types/request-promise-native/tsconfig.json +++ b/types/request-promise-native/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/request-promise/tsconfig.json b/types/request-promise/tsconfig.json index 8cd046ed23..fc7e5e29e7 100644 --- a/types/request-promise/tsconfig.json +++ b/types/request-promise/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/request/tsconfig.json b/types/request/tsconfig.json index 34856cedef..4f51c5bc65 100644 --- a/types/request/tsconfig.json +++ b/types/request/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/requestretry/tsconfig.json b/types/requestretry/tsconfig.json index 2e4f31d17e..9bc3b6fce9 100644 --- a/types/requestretry/tsconfig.json +++ b/types/requestretry/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/require-dir/tsconfig.json b/types/require-dir/tsconfig.json index 104548d067..685e728b99 100644 --- a/types/require-dir/tsconfig.json +++ b/types/require-dir/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/require-directory/tsconfig.json b/types/require-directory/tsconfig.json index cad34d8a36..ce9a3901a7 100644 --- a/types/require-directory/tsconfig.json +++ b/types/require-directory/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/require-from-string/tsconfig.json b/types/require-from-string/tsconfig.json index 1c3c7d63c9..b95716556a 100644 --- a/types/require-from-string/tsconfig.json +++ b/types/require-from-string/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/require-relative/tsconfig.json b/types/require-relative/tsconfig.json index 36405ee86b..9e74b82aa0 100644 --- a/types/require-relative/tsconfig.json +++ b/types/require-relative/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/requirejs-domready/tsconfig.json b/types/requirejs-domready/tsconfig.json index d7614fe789..b73018a5f5 100644 --- a/types/requirejs-domready/tsconfig.json +++ b/types/requirejs-domready/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/requirejs/tsconfig.json b/types/requirejs/tsconfig.json index 571f2ba892..fdbc1258c3 100644 --- a/types/requirejs/tsconfig.json +++ b/types/requirejs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/resemblejs/tsconfig.json b/types/resemblejs/tsconfig.json index 1a13239213..6150ee7e8a 100644 --- a/types/resemblejs/tsconfig.json +++ b/types/resemblejs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/reservoir/tsconfig.json b/types/reservoir/tsconfig.json index ff04e5c9d5..92409b4c16 100644 --- a/types/reservoir/tsconfig.json +++ b/types/reservoir/tsconfig.json @@ -14,11 +14,10 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "reservoir-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/resolve-from/tsconfig.json b/types/resolve-from/tsconfig.json index 8925685abf..b1d826c64c 100644 --- a/types/resolve-from/tsconfig.json +++ b/types/resolve-from/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/resolve/tsconfig.json b/types/resolve/tsconfig.json index e2cdd37132..6623771719 100644 --- a/types/resolve/tsconfig.json +++ b/types/resolve/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/resourcejs/tsconfig.json b/types/resourcejs/tsconfig.json index 0b2d72c255..73568df473 100644 --- a/types/resourcejs/tsconfig.json +++ b/types/resourcejs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/response-time/tsconfig.json b/types/response-time/tsconfig.json index e266cc46b7..ddbe6803cc 100644 --- a/types/response-time/tsconfig.json +++ b/types/response-time/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rest/tsconfig.json b/types/rest/tsconfig.json index b312e7aee1..b200960527 100644 --- a/types/rest/tsconfig.json +++ b/types/rest/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/restangular/tsconfig.json b/types/restangular/tsconfig.json index 2e3366552f..18f92d2baa 100644 --- a/types/restangular/tsconfig.json +++ b/types/restangular/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/restful.js/tsconfig.json b/types/restful.js/tsconfig.json index e58fc2d902..f98da1a8a2 100644 --- a/types/restful.js/tsconfig.json +++ b/types/restful.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/restify-cookies/tsconfig.json b/types/restify-cookies/tsconfig.json index 217e18eddc..387ea2e99b 100644 --- a/types/restify-cookies/tsconfig.json +++ b/types/restify-cookies/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/restify-cors-middleware/tsconfig.json b/types/restify-cors-middleware/tsconfig.json index 9ec38d88d8..3d13513211 100644 --- a/types/restify-cors-middleware/tsconfig.json +++ b/types/restify-cors-middleware/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/restify-errors/tsconfig.json b/types/restify-errors/tsconfig.json index 3c631f8a9a..6d070b59f0 100644 --- a/types/restify-errors/tsconfig.json +++ b/types/restify-errors/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/restify-plugins/tsconfig.json b/types/restify-plugins/tsconfig.json index be69d64936..4974138ac0 100644 --- a/types/restify-plugins/tsconfig.json +++ b/types/restify-plugins/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/restify/tsconfig.json b/types/restify/tsconfig.json index 30b05a09c9..8611e47590 100644 --- a/types/restify/tsconfig.json +++ b/types/restify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/restify/v4/tsconfig.json b/types/restify/v4/tsconfig.json index 6edc1d2089..8b0d3d4f3e 100644 --- a/types/restify/v4/tsconfig.json +++ b/types/restify/v4/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/restler/tsconfig.json b/types/restler/tsconfig.json index 8cbc0d25a6..543b0a642f 100644 --- a/types/restler/tsconfig.json +++ b/types/restler/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/restling/tsconfig.json b/types/restling/tsconfig.json index c04ae22ce4..a508594ae4 100644 --- a/types/restling/tsconfig.json +++ b/types/restling/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/resumablejs/tsconfig.json b/types/resumablejs/tsconfig.json index 3633d793c8..1f4d1bb532 100644 --- a/types/resumablejs/tsconfig.json +++ b/types/resumablejs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rethinkdb/tsconfig.json b/types/rethinkdb/tsconfig.json index 1163b6d485..8573222bd2 100644 --- a/types/rethinkdb/tsconfig.json +++ b/types/rethinkdb/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/retry/tsconfig.json b/types/retry/tsconfig.json index bdcf4f6708..6e2c5d42d2 100644 --- a/types/retry/tsconfig.json +++ b/types/retry/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rev-hash/tsconfig.json b/types/rev-hash/tsconfig.json index 138d931aa4..1c473c7a2c 100644 --- a/types/rev-hash/tsconfig.json +++ b/types/rev-hash/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/revalidate/tsconfig.json b/types/revalidate/tsconfig.json index 0eaf9c51c9..60d404aab4 100644 --- a/types/revalidate/tsconfig.json +++ b/types/revalidate/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/revalidator/tsconfig.json b/types/revalidator/tsconfig.json index 08ca15314e..13116d109b 100644 --- a/types/revalidator/tsconfig.json +++ b/types/revalidator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/reveal/tsconfig.json b/types/reveal/tsconfig.json index d0a1cfd7a0..5ba4adb5fa 100644 --- a/types/reveal/tsconfig.json +++ b/types/reveal/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rewire/tsconfig.json b/types/rewire/tsconfig.json index 8dc23ae584..5c9bf9f935 100644 --- a/types/rewire/tsconfig.json +++ b/types/rewire/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rfc2047/tsconfig.json b/types/rfc2047/tsconfig.json index 6209160234..ab87f15e17 100644 --- a/types/rfc2047/tsconfig.json +++ b/types/rfc2047/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rheostat/tsconfig.json b/types/rheostat/tsconfig.json index 591c8805aa..649628d0d8 100644 --- a/types/rheostat/tsconfig.json +++ b/types/rheostat/tsconfig.json @@ -16,8 +16,7 @@ "types": [], "jsx": "react", "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rickshaw/tsconfig.json b/types/rickshaw/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/rickshaw/tsconfig.json +++ b/types/rickshaw/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/rimraf/tsconfig.json b/types/rimraf/tsconfig.json index 5595589312..94fee2f1a2 100644 --- a/types/rimraf/tsconfig.json +++ b/types/rimraf/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/riot-api-nodejs/tsconfig.json b/types/riot-api-nodejs/tsconfig.json index cb0a17cb75..3353d42a62 100644 --- a/types/riot-api-nodejs/tsconfig.json +++ b/types/riot-api-nodejs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/riot-games-api/tsconfig.json b/types/riot-games-api/tsconfig.json index 77ca214fc9..7cebc7c3eb 100644 --- a/types/riot-games-api/tsconfig.json +++ b/types/riot-games-api/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/riot/tsconfig.json b/types/riot/tsconfig.json index 912149cde3..88cbc64261 100644 --- a/types/riot/tsconfig.json +++ b/types/riot/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/riotcontrol/tsconfig.json b/types/riotcontrol/tsconfig.json index ffe262d77e..19ef4295e1 100644 --- a/types/riotcontrol/tsconfig.json +++ b/types/riotcontrol/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/riotjs/tsconfig.json b/types/riotjs/tsconfig.json index f14c85f60f..a0456ffb47 100644 --- a/types/riotjs/tsconfig.json +++ b/types/riotjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rison/tsconfig.json b/types/rison/tsconfig.json index 2a5565bc63..2fc235e21a 100644 --- a/types/rison/tsconfig.json +++ b/types/rison/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rivets/tsconfig.json b/types/rivets/tsconfig.json index 7bb46acc00..89bdb805b0 100644 --- a/types/rivets/tsconfig.json +++ b/types/rivets/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rollup-plugin-json/tsconfig.json b/types/rollup-plugin-json/tsconfig.json index 70ff307b62..3900abdb18 100644 --- a/types/rollup-plugin-json/tsconfig.json +++ b/types/rollup-plugin-json/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ronomon__crypto-async/tsconfig.json b/types/ronomon__crypto-async/tsconfig.json index 6c71b34482..4da367a2f4 100644 --- a/types/ronomon__crypto-async/tsconfig.json +++ b/types/ronomon__crypto-async/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rosie/tsconfig.json b/types/rosie/tsconfig.json index 9776f1d28a..524ab1dd60 100644 --- a/types/rosie/tsconfig.json +++ b/types/rosie/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/roslib/tsconfig.json b/types/roslib/tsconfig.json index b57d2636cd..32280e350a 100644 --- a/types/roslib/tsconfig.json +++ b/types/roslib/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rot-js/tsconfig.json b/types/rot-js/tsconfig.json index 1b3c729e3c..80c17f4094 100644 --- a/types/rot-js/tsconfig.json +++ b/types/rot-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/route-parser/tsconfig.json b/types/route-parser/tsconfig.json index 66a583bd80..a7a012d46a 100644 --- a/types/route-parser/tsconfig.json +++ b/types/route-parser/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/routie/tsconfig.json b/types/routie/tsconfig.json index 0eca0fc597..2c1585d546 100644 --- a/types/routie/tsconfig.json +++ b/types/routie/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/royalslider/tsconfig.json b/types/royalslider/tsconfig.json index 2603c522fa..e2c93f82fb 100644 --- a/types/royalslider/tsconfig.json +++ b/types/royalslider/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rpio/tsconfig.json b/types/rpio/tsconfig.json index 30db87ed9d..19ccfb02da 100644 --- a/types/rpio/tsconfig.json +++ b/types/rpio/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rrc/tsconfig.json b/types/rrc/tsconfig.json index 1076eda25c..bfec00e95d 100644 --- a/types/rrc/tsconfig.json +++ b/types/rrc/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rrule/tsconfig.json b/types/rrule/tsconfig.json index c4a3e8f84e..3e64a1d17a 100644 --- a/types/rrule/tsconfig.json +++ b/types/rrule/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rsmq-worker/tsconfig.json b/types/rsmq-worker/tsconfig.json index e07209e06e..e7a4f1b201 100644 --- a/types/rsmq-worker/tsconfig.json +++ b/types/rsmq-worker/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rsmq/tsconfig.json b/types/rsmq/tsconfig.json index 8a7b33f429..b71ff6f366 100644 --- a/types/rsmq/tsconfig.json +++ b/types/rsmq/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rss/tsconfig.json b/types/rss/tsconfig.json index dfd10dbe54..83cfd0b91e 100644 --- a/types/rss/tsconfig.json +++ b/types/rss/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rsvp/tsconfig.json b/types/rsvp/tsconfig.json index 5b50ec4c27..404ac62bf7 100755 --- a/types/rsvp/tsconfig.json +++ b/types/rsvp/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rsync/tsconfig.json b/types/rsync/tsconfig.json index 66800fe486..cd9b0e3df1 100644 --- a/types/rsync/tsconfig.json +++ b/types/rsync/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rtree/tsconfig.json b/types/rtree/tsconfig.json index 41a8e584c8..48b12fc5c1 100644 --- a/types/rtree/tsconfig.json +++ b/types/rtree/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/run-sequence/tsconfig.json b/types/run-sequence/tsconfig.json index 546d91574a..412efd6845 100644 --- a/types/run-sequence/tsconfig.json +++ b/types/run-sequence/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rwlock/tsconfig.json b/types/rwlock/tsconfig.json index b5da0775e0..84253a02f8 100644 --- a/types/rwlock/tsconfig.json +++ b/types/rwlock/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rx-angular/tsconfig.json b/types/rx-angular/tsconfig.json index 784257da5b..d878b590e2 100644 --- a/types/rx-angular/tsconfig.json +++ b/types/rx-angular/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rx-core-binding/tsconfig.json b/types/rx-core-binding/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/rx-core-binding/tsconfig.json +++ b/types/rx-core-binding/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/rx-core/tsconfig.json b/types/rx-core/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/rx-core/tsconfig.json +++ b/types/rx-core/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/rx-dom/tsconfig.json b/types/rx-dom/tsconfig.json index 68cdf04b8a..90dd5bd604 100644 --- a/types/rx-dom/tsconfig.json +++ b/types/rx-dom/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rx-jquery/tsconfig.json b/types/rx-jquery/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/rx-jquery/tsconfig.json +++ b/types/rx-jquery/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/rx-lite-aggregates/tsconfig.json b/types/rx-lite-aggregates/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/rx-lite-aggregates/tsconfig.json +++ b/types/rx-lite-aggregates/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/rx-lite-async/tsconfig.json b/types/rx-lite-async/tsconfig.json index 788b8a5aac..b184ac5f4d 100644 --- a/types/rx-lite-async/tsconfig.json +++ b/types/rx-lite-async/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rx-lite-backpressure/tsconfig.json b/types/rx-lite-backpressure/tsconfig.json index 52d5c7e69d..635940cdc4 100644 --- a/types/rx-lite-backpressure/tsconfig.json +++ b/types/rx-lite-backpressure/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rx-lite-coincidence/tsconfig.json b/types/rx-lite-coincidence/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/rx-lite-coincidence/tsconfig.json +++ b/types/rx-lite-coincidence/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/rx-lite-experimental/tsconfig.json b/types/rx-lite-experimental/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/rx-lite-experimental/tsconfig.json +++ b/types/rx-lite-experimental/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/rx-lite-joinpatterns/tsconfig.json b/types/rx-lite-joinpatterns/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/rx-lite-joinpatterns/tsconfig.json +++ b/types/rx-lite-joinpatterns/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/rx-lite-testing/tsconfig.json b/types/rx-lite-testing/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/rx-lite-testing/tsconfig.json +++ b/types/rx-lite-testing/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/rx-lite-time/tsconfig.json b/types/rx-lite-time/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/rx-lite-time/tsconfig.json +++ b/types/rx-lite-time/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/rx-lite-virtualtime/tsconfig.json b/types/rx-lite-virtualtime/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/rx-lite-virtualtime/tsconfig.json +++ b/types/rx-lite-virtualtime/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/rx-lite/tsconfig.json b/types/rx-lite/tsconfig.json index 04f7be735e..c5dc049245 100644 --- a/types/rx-lite/tsconfig.json +++ b/types/rx-lite/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rx-node/tsconfig.json b/types/rx-node/tsconfig.json index 8ce1d6965a..c759c65804 100644 --- a/types/rx-node/tsconfig.json +++ b/types/rx-node/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rx.wamp/tsconfig.json b/types/rx.wamp/tsconfig.json index e6e79f7e00..17bddf8adf 100644 --- a/types/rx.wamp/tsconfig.json +++ b/types/rx.wamp/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/rx/tsconfig.json b/types/rx/tsconfig.json index 3d2df78db9..abf333c6bf 100644 --- a/types/rx/tsconfig.json +++ b/types/rx/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/s3-download-stream/tsconfig.json b/types/s3-download-stream/tsconfig.json index d2d7d3763c..d970729d35 100644 --- a/types/s3-download-stream/tsconfig.json +++ b/types/s3-download-stream/tsconfig.json @@ -21,4 +21,4 @@ "index.d.ts", "s3-download-stream-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/s3-upload-stream/tsconfig.json b/types/s3-upload-stream/tsconfig.json index 87eb6e81c4..3fbd6ea5e7 100644 --- a/types/s3-upload-stream/tsconfig.json +++ b/types/s3-upload-stream/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/s3-uploader/tsconfig.json b/types/s3-uploader/tsconfig.json index 85a480aee7..ee4f9e2545 100644 --- a/types/s3-uploader/tsconfig.json +++ b/types/s3-uploader/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/s3rver/tsconfig.json b/types/s3rver/tsconfig.json index ee06db2e41..c180ab569a 100644 --- a/types/s3rver/tsconfig.json +++ b/types/s3rver/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/safari-extension-content/tsconfig.json b/types/safari-extension-content/tsconfig.json index 559cf71089..9ce37825af 100644 --- a/types/safari-extension-content/tsconfig.json +++ b/types/safari-extension-content/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/safari-extension/tsconfig.json b/types/safari-extension/tsconfig.json index 20530653ea..6e52871954 100644 --- a/types/safari-extension/tsconfig.json +++ b/types/safari-extension/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/safe-compare/tsconfig.json b/types/safe-compare/tsconfig.json index 51d7c7cc67..3aca8432c4 100644 --- a/types/safe-compare/tsconfig.json +++ b/types/safe-compare/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/safe-json-stringify/tsconfig.json b/types/safe-json-stringify/tsconfig.json index b5fec72164..eae116084a 100644 --- a/types/safe-json-stringify/tsconfig.json +++ b/types/safe-json-stringify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/safe-regex/tsconfig.json b/types/safe-regex/tsconfig.json index 03e63fbaa3..04fa523373 100644 --- a/types/safe-regex/tsconfig.json +++ b/types/safe-regex/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sails.io.js/tsconfig.json b/types/sails.io.js/tsconfig.json index e4cae8a146..5a0732ab29 100644 --- a/types/sails.io.js/tsconfig.json +++ b/types/sails.io.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/saml2-js/tsconfig.json b/types/saml2-js/tsconfig.json index 53c64dd857..6046bc78e4 100644 --- a/types/saml2-js/tsconfig.json +++ b/types/saml2-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/saml20/tsconfig.json b/types/saml20/tsconfig.json index 385d54d5f8..8b84de1f06 100644 --- a/types/saml20/tsconfig.json +++ b/types/saml20/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/samlp/tsconfig.json b/types/samlp/tsconfig.json index 8a567960e5..24ead78438 100644 --- a/types/samlp/tsconfig.json +++ b/types/samlp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sammy/tsconfig.json b/types/sammy/tsconfig.json index a0073a1330..caaa4f2c5a 100644 --- a/types/sammy/tsconfig.json +++ b/types/sammy/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sanctuary/tsconfig.json b/types/sanctuary/tsconfig.json index 91b28e6918..82b1098c6d 100644 --- a/types/sanctuary/tsconfig.json +++ b/types/sanctuary/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sandboxed-module/tsconfig.json b/types/sandboxed-module/tsconfig.json index 0e8476205f..51919f7b52 100644 --- a/types/sandboxed-module/tsconfig.json +++ b/types/sandboxed-module/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sane/tsconfig.json b/types/sane/tsconfig.json index 3e466e8d27..7bf9b5b5ee 100644 --- a/types/sane/tsconfig.json +++ b/types/sane/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sanitize-filename/tsconfig.json b/types/sanitize-filename/tsconfig.json index efc4857a6d..dd53a0c951 100644 --- a/types/sanitize-filename/tsconfig.json +++ b/types/sanitize-filename/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sanitize-html/tsconfig.json b/types/sanitize-html/tsconfig.json index 104c7ed9a6..2b29336785 100644 --- a/types/sanitize-html/tsconfig.json +++ b/types/sanitize-html/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sanitizer/tsconfig.json b/types/sanitizer/tsconfig.json index 77d98b9a88..52acfba3fd 100644 --- a/types/sanitizer/tsconfig.json +++ b/types/sanitizer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sap__xsenv/tsconfig.json b/types/sap__xsenv/tsconfig.json index 679c8c6d5c..ae69497056 100644 --- a/types/sap__xsenv/tsconfig.json +++ b/types/sap__xsenv/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sass-graph/tsconfig.json b/types/sass-graph/tsconfig.json index 9ec3a0dc95..bc2ee4bd6f 100644 --- a/types/sass-graph/tsconfig.json +++ b/types/sass-graph/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sat/tsconfig.json b/types/sat/tsconfig.json index 0919469846..7405ee4abf 100644 --- a/types/sat/tsconfig.json +++ b/types/sat/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/satnav/tsconfig.json b/types/satnav/tsconfig.json index d9b13fe869..84a0a6a1a9 100644 --- a/types/satnav/tsconfig.json +++ b/types/satnav/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sax/tsconfig.json b/types/sax/tsconfig.json index dd026353c5..5c19d2b034 100644 --- a/types/sax/tsconfig.json +++ b/types/sax/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/saywhen/tsconfig.json b/types/saywhen/tsconfig.json index 7c25d57f55..cbec63d715 100644 --- a/types/saywhen/tsconfig.json +++ b/types/saywhen/tsconfig.json @@ -5,7 +5,6 @@ "es6" ], "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noImplicitAny": true, "noImplicitThis": true, "noUnusedParameters": false, diff --git a/types/scalike/tsconfig.json b/types/scalike/tsconfig.json index d834fb2a14..5340905ccc 100644 --- a/types/scalike/tsconfig.json +++ b/types/scalike/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/screenfull/tsconfig.json b/types/screenfull/tsconfig.json index c2ddf52343..87cb31765a 100644 --- a/types/screenfull/tsconfig.json +++ b/types/screenfull/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/screeps-profiler/tsconfig.json b/types/screeps-profiler/tsconfig.json index e87ab4d0cd..c6043c7e53 100644 --- a/types/screeps-profiler/tsconfig.json +++ b/types/screeps-profiler/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/screeps/tsconfig.json b/types/screeps/tsconfig.json index 82dd26e310..110537a00d 100644 --- a/types/screeps/tsconfig.json +++ b/types/screeps/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/scriptjs/tsconfig.json b/types/scriptjs/tsconfig.json index 0fb38c7e6b..64e1591d1a 100644 --- a/types/scriptjs/tsconfig.json +++ b/types/scriptjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/scroll-into-view/tsconfig.json b/types/scroll-into-view/tsconfig.json index 15577df8c4..2c0ced7fc6 100644 --- a/types/scroll-into-view/tsconfig.json +++ b/types/scroll-into-view/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/scroller/tsconfig.json b/types/scroller/tsconfig.json index 7a1e50ca46..e0caa39d51 100644 --- a/types/scroller/tsconfig.json +++ b/types/scroller/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/scrollreveal/tsconfig.json b/types/scrollreveal/tsconfig.json index 69f40c619f..1d562add4b 100644 --- a/types/scrollreveal/tsconfig.json +++ b/types/scrollreveal/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/scrolltofixed/tsconfig.json b/types/scrolltofixed/tsconfig.json index b871407cb8..d0d9a6559f 100644 --- a/types/scrolltofixed/tsconfig.json +++ b/types/scrolltofixed/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/scrypt-async/tsconfig.json b/types/scrypt-async/tsconfig.json index 7574e54a0b..263f2f2691 100644 --- a/types/scrypt-async/tsconfig.json +++ b/types/scrypt-async/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/scryptsy/tsconfig.json b/types/scryptsy/tsconfig.json index 593ca077cf..fecf5b2016 100644 --- a/types/scryptsy/tsconfig.json +++ b/types/scryptsy/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/seamless-immutable/tsconfig.json b/types/seamless-immutable/tsconfig.json index 6e662d66c5..a14f1a72cb 100644 --- a/types/seamless-immutable/tsconfig.json +++ b/types/seamless-immutable/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/seamless/tsconfig.json b/types/seamless/tsconfig.json index 1a279564bd..5d2ce0da91 100644 --- a/types/seamless/tsconfig.json +++ b/types/seamless/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/seedrandom/tsconfig.json b/types/seedrandom/tsconfig.json index ccdaf22862..ae319353c2 100644 --- a/types/seedrandom/tsconfig.json +++ b/types/seedrandom/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/segment-analytics/tsconfig.json b/types/segment-analytics/tsconfig.json index 3e3f940a4c..97b4df7f1f 100644 --- a/types/segment-analytics/tsconfig.json +++ b/types/segment-analytics/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/select2/tsconfig.json b/types/select2/tsconfig.json index 1588400405..292cf878b4 100644 --- a/types/select2/tsconfig.json +++ b/types/select2/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/selectables/tsconfig.json b/types/selectables/tsconfig.json index 30072893d6..8ff709ea04 100644 --- a/types/selectables/tsconfig.json +++ b/types/selectables/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/selectize/tsconfig.json b/types/selectize/tsconfig.json index b3478eed9a..85e841a725 100644 --- a/types/selectize/tsconfig.json +++ b/types/selectize/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/selenium-webdriver/tsconfig.json b/types/selenium-webdriver/tsconfig.json index 64877173a1..0b343058de 100644 --- a/types/selenium-webdriver/tsconfig.json +++ b/types/selenium-webdriver/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/selenium-webdriver/v2/tsconfig.json b/types/selenium-webdriver/v2/tsconfig.json index bc7784bbc9..53d26538b0 100644 --- a/types/selenium-webdriver/v2/tsconfig.json +++ b/types/selenium-webdriver/v2/tsconfig.json @@ -23,8 +23,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-accordion/tsconfig.json b/types/semantic-ui-accordion/tsconfig.json index a797aa7d28..7fbe1aac16 100644 --- a/types/semantic-ui-accordion/tsconfig.json +++ b/types/semantic-ui-accordion/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-api/tsconfig.json b/types/semantic-ui-api/tsconfig.json index 1625edad5d..e12d11394d 100644 --- a/types/semantic-ui-api/tsconfig.json +++ b/types/semantic-ui-api/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-checkbox/tsconfig.json b/types/semantic-ui-checkbox/tsconfig.json index af17db6b0d..7a58bbf7d0 100644 --- a/types/semantic-ui-checkbox/tsconfig.json +++ b/types/semantic-ui-checkbox/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-dimmer/tsconfig.json b/types/semantic-ui-dimmer/tsconfig.json index ede5a3b5bd..e3dafc6576 100644 --- a/types/semantic-ui-dimmer/tsconfig.json +++ b/types/semantic-ui-dimmer/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-dropdown/tsconfig.json b/types/semantic-ui-dropdown/tsconfig.json index 104b1fb6a2..eed261529b 100644 --- a/types/semantic-ui-dropdown/tsconfig.json +++ b/types/semantic-ui-dropdown/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-embed/tsconfig.json b/types/semantic-ui-embed/tsconfig.json index 398cac7441..3391fdb1e0 100644 --- a/types/semantic-ui-embed/tsconfig.json +++ b/types/semantic-ui-embed/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-form/tsconfig.json b/types/semantic-ui-form/tsconfig.json index 00d3d6e4d3..1246f890df 100644 --- a/types/semantic-ui-form/tsconfig.json +++ b/types/semantic-ui-form/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-modal/tsconfig.json b/types/semantic-ui-modal/tsconfig.json index 97fa3fee1a..0284ee0abe 100644 --- a/types/semantic-ui-modal/tsconfig.json +++ b/types/semantic-ui-modal/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-nag/tsconfig.json b/types/semantic-ui-nag/tsconfig.json index 7f335355d1..32afe86c9e 100644 --- a/types/semantic-ui-nag/tsconfig.json +++ b/types/semantic-ui-nag/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-popup/tsconfig.json b/types/semantic-ui-popup/tsconfig.json index a255893d89..76a26453ac 100644 --- a/types/semantic-ui-popup/tsconfig.json +++ b/types/semantic-ui-popup/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-progress/tsconfig.json b/types/semantic-ui-progress/tsconfig.json index 03bfc3872f..d39cf7965a 100644 --- a/types/semantic-ui-progress/tsconfig.json +++ b/types/semantic-ui-progress/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-rating/tsconfig.json b/types/semantic-ui-rating/tsconfig.json index bb7af25878..9d971238f4 100644 --- a/types/semantic-ui-rating/tsconfig.json +++ b/types/semantic-ui-rating/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-search/tsconfig.json b/types/semantic-ui-search/tsconfig.json index 869c50b28f..6531032b45 100644 --- a/types/semantic-ui-search/tsconfig.json +++ b/types/semantic-ui-search/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-shape/tsconfig.json b/types/semantic-ui-shape/tsconfig.json index 6411d5dd44..a18daa3e72 100644 --- a/types/semantic-ui-shape/tsconfig.json +++ b/types/semantic-ui-shape/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-sidebar/tsconfig.json b/types/semantic-ui-sidebar/tsconfig.json index e3618f6282..0dedadb3f6 100644 --- a/types/semantic-ui-sidebar/tsconfig.json +++ b/types/semantic-ui-sidebar/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-site/tsconfig.json b/types/semantic-ui-site/tsconfig.json index 2f6432ab53..1731e241ee 100644 --- a/types/semantic-ui-site/tsconfig.json +++ b/types/semantic-ui-site/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-sticky/tsconfig.json b/types/semantic-ui-sticky/tsconfig.json index dd2837cd3c..21deb1a613 100644 --- a/types/semantic-ui-sticky/tsconfig.json +++ b/types/semantic-ui-sticky/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-tab/tsconfig.json b/types/semantic-ui-tab/tsconfig.json index 20e8b46165..b98b19dce6 100644 --- a/types/semantic-ui-tab/tsconfig.json +++ b/types/semantic-ui-tab/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-transition/tsconfig.json b/types/semantic-ui-transition/tsconfig.json index e173621b7a..f0309456ad 100644 --- a/types/semantic-ui-transition/tsconfig.json +++ b/types/semantic-ui-transition/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui-visibility/tsconfig.json b/types/semantic-ui-visibility/tsconfig.json index afd9d6d558..91b236b867 100644 --- a/types/semantic-ui-visibility/tsconfig.json +++ b/types/semantic-ui-visibility/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semantic-ui/tsconfig.json b/types/semantic-ui/tsconfig.json index a6947e4eec..1b40660b13 100644 --- a/types/semantic-ui/tsconfig.json +++ b/types/semantic-ui/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semaphore/tsconfig.json b/types/semaphore/tsconfig.json index 680401515b..e7a6e01db8 100644 --- a/types/semaphore/tsconfig.json +++ b/types/semaphore/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semver-compare/tsconfig.json b/types/semver-compare/tsconfig.json index 223fcd735d..097db624ec 100644 --- a/types/semver-compare/tsconfig.json +++ b/types/semver-compare/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semver-diff/tsconfig.json b/types/semver-diff/tsconfig.json index 83ac1314e3..5eadf2b0bc 100644 --- a/types/semver-diff/tsconfig.json +++ b/types/semver-diff/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/semver/tsconfig.json b/types/semver/tsconfig.json index 85806bc153..d469c27f7b 100644 --- a/types/semver/tsconfig.json +++ b/types/semver/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sencha_touch/tsconfig.json b/types/sencha_touch/tsconfig.json index 6d86faac84..8f83c336bd 100644 --- a/types/sencha_touch/tsconfig.json +++ b/types/sencha_touch/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/send/tsconfig.json b/types/send/tsconfig.json index 36ec5a0b60..2604b99b13 100644 --- a/types/send/tsconfig.json +++ b/types/send/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/seneca/tsconfig.json b/types/seneca/tsconfig.json index 20d02e7610..42534f118c 100644 --- a/types/seneca/tsconfig.json +++ b/types/seneca/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sequelize-fixtures/tsconfig.json b/types/sequelize-fixtures/tsconfig.json index 6e34c9b855..605c227eb0 100644 --- a/types/sequelize-fixtures/tsconfig.json +++ b/types/sequelize-fixtures/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sequelize/tsconfig.json b/types/sequelize/tsconfig.json index d81140bccc..891eee0127 100644 --- a/types/sequelize/tsconfig.json +++ b/types/sequelize/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/sequelize/v3/tsconfig.json b/types/sequelize/v3/tsconfig.json index d4a46aa2fc..8861a2847f 100644 --- a/types/sequelize/v3/tsconfig.json +++ b/types/sequelize/v3/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sequencify/tsconfig.json b/types/sequencify/tsconfig.json index dc5965a1ce..1f6ed9d033 100644 --- a/types/sequencify/tsconfig.json +++ b/types/sequencify/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/sequester/tsconfig.json b/types/sequester/tsconfig.json index 7e655cda91..2ab8914d80 100644 --- a/types/sequester/tsconfig.json +++ b/types/sequester/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/serialize-javascript/tsconfig.json b/types/serialize-javascript/tsconfig.json index 2d8377da33..90ee4fd0e0 100644 --- a/types/serialize-javascript/tsconfig.json +++ b/types/serialize-javascript/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/serialport/tsconfig.json b/types/serialport/tsconfig.json index 9c18015d9d..6b45037fcb 100644 --- a/types/serialport/tsconfig.json +++ b/types/serialport/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/serialport/v4/tsconfig.json b/types/serialport/v4/tsconfig.json index 2acfdf79ed..b6a10bc8fd 100644 --- a/types/serialport/v4/tsconfig.json +++ b/types/serialport/v4/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/serve-favicon/tsconfig.json b/types/serve-favicon/tsconfig.json index d74c0a723f..bc986a0d8b 100644 --- a/types/serve-favicon/tsconfig.json +++ b/types/serve-favicon/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/serve-index/tsconfig.json b/types/serve-index/tsconfig.json index fa8ed7a296..4a9d75b807 100644 --- a/types/serve-index/tsconfig.json +++ b/types/serve-index/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/serve-static/tsconfig.json b/types/serve-static/tsconfig.json index fccc7a5cc2..784b70c18c 100644 --- a/types/serve-static/tsconfig.json +++ b/types/serve-static/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/server-destroy/tsconfig.json b/types/server-destroy/tsconfig.json index f4bd0af2b7..e223a90271 100644 --- a/types/server-destroy/tsconfig.json +++ b/types/server-destroy/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/session-file-store/tsconfig.json b/types/session-file-store/tsconfig.json index f8711bf5b9..da4459f82c 100644 --- a/types/session-file-store/tsconfig.json +++ b/types/session-file-store/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/set-cookie-parser/tsconfig.json b/types/set-cookie-parser/tsconfig.json index f4b7cb41fd..fff750b6b2 100644 --- a/types/set-cookie-parser/tsconfig.json +++ b/types/set-cookie-parser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sha1/tsconfig.json b/types/sha1/tsconfig.json index 84e266a50c..66d7c98c86 100644 --- a/types/sha1/tsconfig.json +++ b/types/sha1/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/shallowequal/tsconfig.json b/types/shallowequal/tsconfig.json index 040f82c672..de32c6c47b 100644 --- a/types/shallowequal/tsconfig.json +++ b/types/shallowequal/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/shapefile/tsconfig.json b/types/shapefile/tsconfig.json index 3393c29d08..86a07711b7 100644 --- a/types/shapefile/tsconfig.json +++ b/types/shapefile/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sharedworker/tsconfig.json b/types/sharedworker/tsconfig.json index a8ce40386b..70a245cd0b 100644 --- a/types/sharedworker/tsconfig.json +++ b/types/sharedworker/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sharepoint/tsconfig.json b/types/sharepoint/tsconfig.json index 4568512ba1..d14ec5c043 100644 --- a/types/sharepoint/tsconfig.json +++ b/types/sharepoint/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sharp/tsconfig.json b/types/sharp/tsconfig.json index 7554fb40c1..47060ab248 100644 --- a/types/sharp/tsconfig.json +++ b/types/sharp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sheetify/tsconfig.json b/types/sheetify/tsconfig.json index 03134f3776..7766333ac2 100644 --- a/types/sheetify/tsconfig.json +++ b/types/sheetify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/shell-escape/tsconfig.json b/types/shell-escape/tsconfig.json index 8b0b2e3338..98a8c3ebea 100644 --- a/types/shell-escape/tsconfig.json +++ b/types/shell-escape/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/shell-quote/tsconfig.json b/types/shell-quote/tsconfig.json index 98070ae83b..f0fbfe221c 100644 --- a/types/shell-quote/tsconfig.json +++ b/types/shell-quote/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/shelljs/tsconfig.json b/types/shelljs/tsconfig.json index 8484083636..7343a42a7e 100644 --- a/types/shelljs/tsconfig.json +++ b/types/shelljs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/shimmer/tsconfig.json b/types/shimmer/tsconfig.json index c4e43dea36..3883d26b91 100644 --- a/types/shimmer/tsconfig.json +++ b/types/shimmer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/shipit-utils/tsconfig.json b/types/shipit-utils/tsconfig.json index 2263ef018b..f3bcf2485b 100644 --- a/types/shipit-utils/tsconfig.json +++ b/types/shipit-utils/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/shipit/tsconfig.json b/types/shipit/tsconfig.json index 2bac3f4ea3..a9df5d067d 100644 --- a/types/shipit/tsconfig.json +++ b/types/shipit/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/shopify-buy/tsconfig.json b/types/shopify-buy/tsconfig.json index da27bc84e6..0b825b7bce 100644 --- a/types/shopify-buy/tsconfig.json +++ b/types/shopify-buy/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/shortid/tsconfig.json b/types/shortid/tsconfig.json index e733ebb5cb..290e89d36b 100644 --- a/types/shortid/tsconfig.json +++ b/types/shortid/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/shot/tsconfig.json b/types/shot/tsconfig.json index e60a760d85..d04d18c38b 100644 --- a/types/shot/tsconfig.json +++ b/types/shot/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/should-sinon/tsconfig.json b/types/should-sinon/tsconfig.json index cd50c8572c..33eb26e8c4 100644 --- a/types/should-sinon/tsconfig.json +++ b/types/should-sinon/tsconfig.json @@ -14,11 +14,10 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "should-sinon-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/showdown/tsconfig.json b/types/showdown/tsconfig.json index f0a636bab3..a59161d9be 100644 --- a/types/showdown/tsconfig.json +++ b/types/showdown/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/shrink-ray/tsconfig.json b/types/shrink-ray/tsconfig.json index ee1ec7cce9..d964de9f10 100644 --- a/types/shrink-ray/tsconfig.json +++ b/types/shrink-ray/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/shuffle-array/tsconfig.json b/types/shuffle-array/tsconfig.json index 5ac707af5b..d827278def 100644 --- a/types/shuffle-array/tsconfig.json +++ b/types/shuffle-array/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/siema/tsconfig.json b/types/siema/tsconfig.json index 1b48627f55..f07f878c5d 100644 --- a/types/siema/tsconfig.json +++ b/types/siema/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/siesta/tsconfig.json b/types/siesta/tsconfig.json index de435fcb74..f95db413fb 100644 --- a/types/siesta/tsconfig.json +++ b/types/siesta/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sigmajs/tsconfig.json b/types/sigmajs/tsconfig.json index cbfb94a022..b97df29ddf 100644 --- a/types/sigmajs/tsconfig.json +++ b/types/sigmajs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sigmund/tsconfig.json b/types/sigmund/tsconfig.json index 0941018189..e9afeef691 100644 --- a/types/sigmund/tsconfig.json +++ b/types/sigmund/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/signalr-no-jquery/tsconfig.json b/types/signalr-no-jquery/tsconfig.json index 8b3065eb8f..43b6a8ee0d 100644 --- a/types/signalr-no-jquery/tsconfig.json +++ b/types/signalr-no-jquery/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/signalr/tsconfig.json b/types/signalr/tsconfig.json index 33e13bb193..8a10547fd6 100644 --- a/types/signalr/tsconfig.json +++ b/types/signalr/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/signalr/v1/tsconfig.json b/types/signalr/v1/tsconfig.json index 5cffdbec63..1650a8f9b9 100644 --- a/types/signalr/v1/tsconfig.json +++ b/types/signalr/v1/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/signals/tsconfig.json b/types/signals/tsconfig.json index 6482d74115..2b3b16639c 100644 --- a/types/signals/tsconfig.json +++ b/types/signals/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/signature_pad/tsconfig.json b/types/signature_pad/tsconfig.json index e9afdfd6c9..a20f8b2dfe 100644 --- a/types/signature_pad/tsconfig.json +++ b/types/signature_pad/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/simple-assign/tsconfig.json b/types/simple-assign/tsconfig.json index cd8da7d060..000826bf23 100644 --- a/types/simple-assign/tsconfig.json +++ b/types/simple-assign/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/simple-cw-node/tsconfig.json b/types/simple-cw-node/tsconfig.json index 5d46cc37e4..360dbd62bb 100644 --- a/types/simple-cw-node/tsconfig.json +++ b/types/simple-cw-node/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/simple-lru/tsconfig.json b/types/simple-lru/tsconfig.json index 6393c1ef7f..bb7678005c 100644 --- a/types/simple-lru/tsconfig.json +++ b/types/simple-lru/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/simple-mock/tsconfig.json b/types/simple-mock/tsconfig.json index c4cbb9811d..8d9ce9318c 100644 --- a/types/simple-mock/tsconfig.json +++ b/types/simple-mock/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/simple-oauth2/tsconfig.json b/types/simple-oauth2/tsconfig.json index 8bcdc6bb9e..c42e2834d6 100644 --- a/types/simple-oauth2/tsconfig.json +++ b/types/simple-oauth2/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/simple-peer/tsconfig.json b/types/simple-peer/tsconfig.json index 842adad137..8e1240c525 100644 --- a/types/simple-peer/tsconfig.json +++ b/types/simple-peer/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/simple-url-cache/tsconfig.json b/types/simple-url-cache/tsconfig.json index 2352d61598..6ca7ca0b80 100644 --- a/types/simple-url-cache/tsconfig.json +++ b/types/simple-url-cache/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/simple-xml/tsconfig.json b/types/simple-xml/tsconfig.json index d8df90c25d..b11921bcf8 100644 --- a/types/simple-xml/tsconfig.json +++ b/types/simple-xml/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/simplebar/tsconfig.json b/types/simplebar/tsconfig.json index beead7e73a..467b6358e4 100644 --- a/types/simplebar/tsconfig.json +++ b/types/simplebar/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/simplebar/v1/tsconfig.json b/types/simplebar/v1/tsconfig.json index 974e79cb0b..f5a517a975 100644 --- a/types/simplebar/v1/tsconfig.json +++ b/types/simplebar/v1/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/simplemde/tsconfig.json b/types/simplemde/tsconfig.json index bfc4181e18..08410a11dc 100644 --- a/types/simplemde/tsconfig.json +++ b/types/simplemde/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/simplesmtp/tsconfig.json b/types/simplesmtp/tsconfig.json index e2fce4948c..6ccfb59f40 100644 --- a/types/simplesmtp/tsconfig.json +++ b/types/simplesmtp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/simplestorage.js/tsconfig.json b/types/simplestorage.js/tsconfig.json index 5652340792..d756b30635 100644 --- a/types/simplestorage.js/tsconfig.json +++ b/types/simplestorage.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sinon-as-promised/tsconfig.json b/types/sinon-as-promised/tsconfig.json index 744417ff14..9fe2c226ec 100644 --- a/types/sinon-as-promised/tsconfig.json +++ b/types/sinon-as-promised/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sinon-chai/tsconfig.json b/types/sinon-chai/tsconfig.json index 691892d292..58b1749eb6 100644 --- a/types/sinon-chai/tsconfig.json +++ b/types/sinon-chai/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sinon-chrome/tsconfig.json b/types/sinon-chrome/tsconfig.json index 4f4e399b67..8179710487 100644 --- a/types/sinon-chrome/tsconfig.json +++ b/types/sinon-chrome/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sinon-express-mock/tsconfig.json b/types/sinon-express-mock/tsconfig.json index 2b43955892..87074c925a 100644 --- a/types/sinon-express-mock/tsconfig.json +++ b/types/sinon-express-mock/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sinon-mongoose/tsconfig.json b/types/sinon-mongoose/tsconfig.json index 4d2d564fc9..31123d641b 100644 --- a/types/sinon-mongoose/tsconfig.json +++ b/types/sinon-mongoose/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sinon-stub-promise/tsconfig.json b/types/sinon-stub-promise/tsconfig.json index 60272a70a0..ec05f389e5 100644 --- a/types/sinon-stub-promise/tsconfig.json +++ b/types/sinon-stub-promise/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sinon-test/tsconfig.json b/types/sinon-test/tsconfig.json index 4d23c019f4..d4b45dfb80 100644 --- a/types/sinon-test/tsconfig.json +++ b/types/sinon-test/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sinon/tsconfig.json b/types/sinon/tsconfig.json index 6bccda9c81..2c9b85ec00 100644 --- a/types/sinon/tsconfig.json +++ b/types/sinon/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sip.js/tsconfig.json b/types/sip.js/tsconfig.json index a47f88c042..ea3b5a009c 100644 --- a/types/sip.js/tsconfig.json +++ b/types/sip.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sipml/tsconfig.json b/types/sipml/tsconfig.json index 504c04f727..9731eedc18 100644 --- a/types/sipml/tsconfig.json +++ b/types/sipml/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sitemap2/tsconfig.json b/types/sitemap2/tsconfig.json index 36083ddcbb..dfdc030de9 100644 --- a/types/sitemap2/tsconfig.json +++ b/types/sitemap2/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sizzle/tsconfig.json b/types/sizzle/tsconfig.json index 8919d41622..2c3aae44e5 100644 --- a/types/sizzle/tsconfig.json +++ b/types/sizzle/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sjcl/tsconfig.json b/types/sjcl/tsconfig.json index 8dc79ca8af..e1a6628713 100644 --- a/types/sjcl/tsconfig.json +++ b/types/sjcl/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/skatejs/tsconfig.json b/types/skatejs/tsconfig.json index 4ebef1d933..9f4db47554 100644 --- a/types/skatejs/tsconfig.json +++ b/types/skatejs/tsconfig.json @@ -17,7 +17,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "experimentalDecorators": true }, "files": [ diff --git a/types/ski/tsconfig.json b/types/ski/tsconfig.json index ea3d95c968..a523a14f5d 100644 --- a/types/ski/tsconfig.json +++ b/types/ski/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/skyway/tsconfig.json b/types/skyway/tsconfig.json index 000b23019b..28f48c9f91 100644 --- a/types/skyway/tsconfig.json +++ b/types/skyway/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/slack-node/tsconfig.json b/types/slack-node/tsconfig.json index 8dd0dc0200..66c41e14ca 100644 --- a/types/slack-node/tsconfig.json +++ b/types/slack-node/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/slack-winston/tsconfig.json b/types/slack-winston/tsconfig.json index 72e8ad807d..ce19979192 100644 --- a/types/slack-winston/tsconfig.json +++ b/types/slack-winston/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/slackify-html/tsconfig.json b/types/slackify-html/tsconfig.json index 2bdd1a67ee..587cafc4af 100644 --- a/types/slackify-html/tsconfig.json +++ b/types/slackify-html/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/slate-irc/tsconfig.json b/types/slate-irc/tsconfig.json index 0b2ee18841..7cc47ac753 100644 --- a/types/slate-irc/tsconfig.json +++ b/types/slate-irc/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sleep/tsconfig.json b/types/sleep/tsconfig.json index 68b1bb755f..e852889ba0 100644 --- a/types/sleep/tsconfig.json +++ b/types/sleep/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/slick-carousel/tsconfig.json b/types/slick-carousel/tsconfig.json index 93841cf465..eac3bfb435 100644 --- a/types/slick-carousel/tsconfig.json +++ b/types/slick-carousel/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/slickgrid/tsconfig.json b/types/slickgrid/tsconfig.json index 5a0379abbb..4609f7987e 100644 --- a/types/slickgrid/tsconfig.json +++ b/types/slickgrid/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/slideout/tsconfig.json b/types/slideout/tsconfig.json index a09c45f8cd..fa40f2a294 100644 --- a/types/slideout/tsconfig.json +++ b/types/slideout/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/slimerjs/tsconfig.json b/types/slimerjs/tsconfig.json index 3b75b01c5d..0d9e8b3602 100644 --- a/types/slimerjs/tsconfig.json +++ b/types/slimerjs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/slocket/tsconfig.json b/types/slocket/tsconfig.json index c351599095..719eba3d10 100644 --- a/types/slocket/tsconfig.json +++ b/types/slocket/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/slug/tsconfig.json b/types/slug/tsconfig.json index 2ccb1c0371..9fffc268fa 100644 --- a/types/slug/tsconfig.json +++ b/types/slug/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/smart-fox-server/tsconfig.json b/types/smart-fox-server/tsconfig.json index e30bc1d69a..1c0bd310b8 100644 --- a/types/smart-fox-server/tsconfig.json +++ b/types/smart-fox-server/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/smoothscroll-polyfill/tsconfig.json b/types/smoothscroll-polyfill/tsconfig.json index bd789c08a2..f21a2ae0ef 100644 --- a/types/smoothscroll-polyfill/tsconfig.json +++ b/types/smoothscroll-polyfill/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/smtp-server/tsconfig.json b/types/smtp-server/tsconfig.json index 1b852d3cb0..1301c38576 100644 --- a/types/smtp-server/tsconfig.json +++ b/types/smtp-server/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/smtp-server/v1/tsconfig.json b/types/smtp-server/v1/tsconfig.json index b1dc362ab8..b038c6c6f8 100644 --- a/types/smtp-server/v1/tsconfig.json +++ b/types/smtp-server/v1/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/smtpapi/tsconfig.json b/types/smtpapi/tsconfig.json index b87794c028..16bd06b68c 100644 --- a/types/smtpapi/tsconfig.json +++ b/types/smtpapi/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/snapsvg/tsconfig.json b/types/snapsvg/tsconfig.json index 411d49f296..7ee69cd259 100644 --- a/types/snapsvg/tsconfig.json +++ b/types/snapsvg/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/snazzy-info-window/tsconfig.json b/types/snazzy-info-window/tsconfig.json index 537c7624b4..0fa4776bac 100644 --- a/types/snazzy-info-window/tsconfig.json +++ b/types/snazzy-info-window/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/snekfetch/tsconfig.json b/types/snekfetch/tsconfig.json index 58206daccc..37402433cc 100644 --- a/types/snekfetch/tsconfig.json +++ b/types/snekfetch/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/snoowrap/tsconfig.json b/types/snoowrap/tsconfig.json index 3503aa1723..80f4cc5617 100644 --- a/types/snoowrap/tsconfig.json +++ b/types/snoowrap/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "noUnusedLocals": true }, "files": [ diff --git a/types/snowboy/tsconfig.json b/types/snowboy/tsconfig.json index beec93bce3..1a013bcb02 100644 --- a/types/snowboy/tsconfig.json +++ b/types/snowboy/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/socket.io-client/tsconfig.json b/types/socket.io-client/tsconfig.json index 959aebca1b..972f8843d6 100644 --- a/types/socket.io-client/tsconfig.json +++ b/types/socket.io-client/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/socket.io-parser/tsconfig.json b/types/socket.io-parser/tsconfig.json index 46a6fffc8d..ff1a74f45e 100644 --- a/types/socket.io-parser/tsconfig.json +++ b/types/socket.io-parser/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/socket.io-redis/tsconfig.json b/types/socket.io-redis/tsconfig.json index 63313c05ec..2d96ef817a 100644 --- a/types/socket.io-redis/tsconfig.json +++ b/types/socket.io-redis/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/socket.io.users/tsconfig.json b/types/socket.io.users/tsconfig.json index 7ab3bd080d..3261ff53d5 100644 --- a/types/socket.io.users/tsconfig.json +++ b/types/socket.io.users/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/socket.io/tsconfig.json b/types/socket.io/tsconfig.json index 7345d645e5..ec123a68f8 100644 --- a/types/socket.io/tsconfig.json +++ b/types/socket.io/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/socketio-jwt-auth/tsconfig.json b/types/socketio-jwt-auth/tsconfig.json index 1c8402a670..d9d832b68e 100644 --- a/types/socketio-jwt-auth/tsconfig.json +++ b/types/socketio-jwt-auth/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/socketio-wildcard/tsconfig.json b/types/socketio-wildcard/tsconfig.json index 925e21d2e5..38896916e2 100644 --- a/types/socketio-wildcard/tsconfig.json +++ b/types/socketio-wildcard/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/socketty/tsconfig.json b/types/socketty/tsconfig.json index 5ead60c0fc..b8623c87c6 100644 --- a/types/socketty/tsconfig.json +++ b/types/socketty/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sockjs-client/tsconfig.json b/types/sockjs-client/tsconfig.json index ac9710c14a..a0b95f5afb 100644 --- a/types/sockjs-client/tsconfig.json +++ b/types/sockjs-client/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sockjs/tsconfig.json b/types/sockjs/tsconfig.json index 66b535d9e0..1b3c61fb34 100644 --- a/types/sockjs/tsconfig.json +++ b/types/sockjs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/solution-center-communicator/tsconfig.json b/types/solution-center-communicator/tsconfig.json index d2627e6c05..c5429cdf1a 100644 --- a/types/solution-center-communicator/tsconfig.json +++ b/types/solution-center-communicator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sort-array/tsconfig.json b/types/sort-array/tsconfig.json index b759d8db46..dcd496828f 100644 --- a/types/sort-array/tsconfig.json +++ b/types/sort-array/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sortablejs/tsconfig.json b/types/sortablejs/tsconfig.json index bb6e4c1c0d..a5e89ba671 100644 --- a/types/sortablejs/tsconfig.json +++ b/types/sortablejs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/soundjs/tsconfig.json b/types/soundjs/tsconfig.json index e3ccb82655..c4e228a18c 100644 --- a/types/soundjs/tsconfig.json +++ b/types/soundjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/soundmanager2/tsconfig.json b/types/soundmanager2/tsconfig.json index e6d6b76dde..c08c3d6185 100644 --- a/types/soundmanager2/tsconfig.json +++ b/types/soundmanager2/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/source-list-map/tsconfig.json b/types/source-list-map/tsconfig.json index e924dfe4d5..c18f940040 100644 --- a/types/source-list-map/tsconfig.json +++ b/types/source-list-map/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/source-map-support/tsconfig.json b/types/source-map-support/tsconfig.json index 1404b8324b..c5cd7b0000 100644 --- a/types/source-map-support/tsconfig.json +++ b/types/source-map-support/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/space-pen/tsconfig.json b/types/space-pen/tsconfig.json index 42e901d55e..2aa1f65d64 100644 --- a/types/space-pen/tsconfig.json +++ b/types/space-pen/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/spark-md5/tsconfig.json b/types/spark-md5/tsconfig.json index 67659659bc..8eac67ed47 100644 --- a/types/spark-md5/tsconfig.json +++ b/types/spark-md5/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sparkly/tsconfig.json b/types/sparkly/tsconfig.json index f50bc3772e..3408085ad7 100644 --- a/types/sparkly/tsconfig.json +++ b/types/sparkly/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sparkpost/tsconfig.json b/types/sparkpost/tsconfig.json index c7d02396a3..6aeba9cb91 100644 --- a/types/sparkpost/tsconfig.json +++ b/types/sparkpost/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sparkpost/v1/tsconfig.json b/types/sparkpost/v1/tsconfig.json index 6be9896dea..114bc5e757 100644 --- a/types/sparkpost/v1/tsconfig.json +++ b/types/sparkpost/v1/tsconfig.json @@ -22,8 +22,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sparqljs/tsconfig.json b/types/sparqljs/tsconfig.json index 26b4e54dc6..3a44e32e68 100644 --- a/types/sparqljs/tsconfig.json +++ b/types/sparqljs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/spatialite/tsconfig.json b/types/spatialite/tsconfig.json index f50a5c18bc..0da1bd78cf 100644 --- a/types/spatialite/tsconfig.json +++ b/types/spatialite/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/spdx-correct/tsconfig.json b/types/spdx-correct/tsconfig.json index 5f67419265..4daa583e23 100644 --- a/types/spdx-correct/tsconfig.json +++ b/types/spdx-correct/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/spdx-satisfies/tsconfig.json b/types/spdx-satisfies/tsconfig.json index 2c924ccdc9..d1d82811e2 100644 --- a/types/spdx-satisfies/tsconfig.json +++ b/types/spdx-satisfies/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/spdy/tsconfig.json b/types/spdy/tsconfig.json index bbab83a0a7..a8ffb74515 100644 --- a/types/spdy/tsconfig.json +++ b/types/spdy/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/speakeasy/tsconfig.json b/types/speakeasy/tsconfig.json index 5425305ee3..e27d664bc4 100644 --- a/types/speakeasy/tsconfig.json +++ b/types/speakeasy/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/speakingurl/tsconfig.json b/types/speakingurl/tsconfig.json index 1049a75f38..150dcf9b21 100644 --- a/types/speakingurl/tsconfig.json +++ b/types/speakingurl/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/spectacle/tsconfig.json b/types/spectacle/tsconfig.json index 517d917a91..46722f9753 100644 --- a/types/spectacle/tsconfig.json +++ b/types/spectacle/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/spectrum/tsconfig.json b/types/spectrum/tsconfig.json index 96bdddce61..31b495ebf9 100644 --- a/types/spectrum/tsconfig.json +++ b/types/spectrum/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/split.js/tsconfig.json b/types/split.js/tsconfig.json index 564b7b2d43..31fbcaf148 100644 --- a/types/split.js/tsconfig.json +++ b/types/split.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/split/tsconfig.json b/types/split/tsconfig.json index f22979b681..968ce531dc 100644 --- a/types/split/tsconfig.json +++ b/types/split/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/split2/tsconfig.json b/types/split2/tsconfig.json index 82a5314ca1..533f82b81a 100644 --- a/types/split2/tsconfig.json +++ b/types/split2/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/spotify-api/tsconfig.json b/types/spotify-api/tsconfig.json index d0dfd44b35..6fc2a9e8ac 100644 --- a/types/spotify-api/tsconfig.json +++ b/types/spotify-api/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/spotify-web-playback-sdk/tsconfig.json b/types/spotify-web-playback-sdk/tsconfig.json index c4562ccbfb..b742fcb876 100644 --- a/types/spotify-web-playback-sdk/tsconfig.json +++ b/types/spotify-web-playback-sdk/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sprintf-js/tsconfig.json b/types/sprintf-js/tsconfig.json index c13c854d81..2fcd8a7156 100644 --- a/types/sprintf-js/tsconfig.json +++ b/types/sprintf-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sprintf/tsconfig.json b/types/sprintf/tsconfig.json index f0fc939bb9..b56426bd80 100644 --- a/types/sprintf/tsconfig.json +++ b/types/sprintf/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sql.js/tsconfig.json b/types/sql.js/tsconfig.json index c7d92578f0..aa744160cb 100644 --- a/types/sql.js/tsconfig.json +++ b/types/sql.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sqlite3/tsconfig.json b/types/sqlite3/tsconfig.json index 1e0f76573e..f3b9bf2d28 100644 --- a/types/sqlite3/tsconfig.json +++ b/types/sqlite3/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sqlstring/tsconfig.json b/types/sqlstring/tsconfig.json index 15a7dabe84..a4d4ce7e89 100644 --- a/types/sqlstring/tsconfig.json +++ b/types/sqlstring/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sqs-consumer/tsconfig.json b/types/sqs-consumer/tsconfig.json index 10dd63c1e9..adeb275ec5 100644 --- a/types/sqs-consumer/tsconfig.json +++ b/types/sqs-consumer/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sqs-producer/tsconfig.json b/types/sqs-producer/tsconfig.json index 5c729caabe..68c2013ba1 100644 --- a/types/sqs-producer/tsconfig.json +++ b/types/sqs-producer/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/squirejs/tsconfig.json b/types/squirejs/tsconfig.json index 18670feab2..d8ef5e1b75 100644 --- a/types/squirejs/tsconfig.json +++ b/types/squirejs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/srp/tsconfig.json b/types/srp/tsconfig.json index 5e0d922b20..81d00268b1 100644 --- a/types/srp/tsconfig.json +++ b/types/srp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ssh-key-decrypt/tsconfig.json b/types/ssh-key-decrypt/tsconfig.json index ea20ac09be..b05d121ace 100644 --- a/types/ssh-key-decrypt/tsconfig.json +++ b/types/ssh-key-decrypt/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ssh2-sftp-client/tsconfig.json b/types/ssh2-sftp-client/tsconfig.json index 660c65ec72..809639cd51 100644 --- a/types/ssh2-sftp-client/tsconfig.json +++ b/types/ssh2-sftp-client/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ssh2-streams/tsconfig.json b/types/ssh2-streams/tsconfig.json index d191d32a62..c72956547a 100644 --- a/types/ssh2-streams/tsconfig.json +++ b/types/ssh2-streams/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ssh2/tsconfig.json b/types/ssh2/tsconfig.json index b7d361ffe1..13d68aa813 100644 --- a/types/ssh2/tsconfig.json +++ b/types/ssh2/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sshpk/tsconfig.json b/types/sshpk/tsconfig.json index ae0ed98e9e..7b38e1dc9b 100644 --- a/types/sshpk/tsconfig.json +++ b/types/sshpk/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stack-mapper/tsconfig.json b/types/stack-mapper/tsconfig.json index 177035b5b9..f47d33d03e 100644 --- a/types/stack-mapper/tsconfig.json +++ b/types/stack-mapper/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stack-trace/tsconfig.json b/types/stack-trace/tsconfig.json index 82a1d19c43..fd6b41724d 100644 --- a/types/stack-trace/tsconfig.json +++ b/types/stack-trace/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stack-utils/tsconfig.json b/types/stack-utils/tsconfig.json index e99ac31c68..4f74db4b57 100644 --- a/types/stack-utils/tsconfig.json +++ b/types/stack-utils/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stacktrace-js/tsconfig.json b/types/stacktrace-js/tsconfig.json index 4d8738227d..bbc97ddb49 100644 --- a/types/stacktrace-js/tsconfig.json +++ b/types/stacktrace-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stale-lru-cache/tsconfig.json b/types/stale-lru-cache/tsconfig.json index 5cb96af388..fdd40eaaea 100644 --- a/types/stale-lru-cache/tsconfig.json +++ b/types/stale-lru-cache/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stampit/tsconfig.json b/types/stampit/tsconfig.json index c077934aac..ee248728d6 100644 --- a/types/stampit/tsconfig.json +++ b/types/stampit/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stamplay-js-sdk/tsconfig.json b/types/stamplay-js-sdk/tsconfig.json index a8d75a776a..e75cfd6828 100644 --- a/types/stamplay-js-sdk/tsconfig.json +++ b/types/stamplay-js-sdk/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stat-mode/tsconfig.json b/types/stat-mode/tsconfig.json index bd95948d1c..5b51263a17 100644 --- a/types/stat-mode/tsconfig.json +++ b/types/stat-mode/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/static-eval/tsconfig.json b/types/static-eval/tsconfig.json index b011db3543..8f182c2170 100644 --- a/types/static-eval/tsconfig.json +++ b/types/static-eval/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stats.js/tsconfig.json b/types/stats.js/tsconfig.json index 1ce35425e1..7471c6140b 100644 --- a/types/stats.js/tsconfig.json +++ b/types/stats.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/statsd-client/tsconfig.json b/types/statsd-client/tsconfig.json index bb0a8a2ba6..81a84eea79 100644 --- a/types/statsd-client/tsconfig.json +++ b/types/statsd-client/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/statuses/tsconfig.json b/types/statuses/tsconfig.json index 63ac349b02..f307775277 100644 --- a/types/statuses/tsconfig.json +++ b/types/statuses/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/std-mocks/tsconfig.json b/types/std-mocks/tsconfig.json index 6286da9ada..73ed32806c 100644 --- a/types/std-mocks/tsconfig.json +++ b/types/std-mocks/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/steam/tsconfig.json b/types/steam/tsconfig.json index 32c579cb36..e821778fbf 100644 --- a/types/steam/tsconfig.json +++ b/types/steam/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/steed/tsconfig.json b/types/steed/tsconfig.json index e5f7d1cf58..04c8b69bd3 100644 --- a/types/steed/tsconfig.json +++ b/types/steed/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stemmer/tsconfig.json b/types/stemmer/tsconfig.json index 0f17c0f146..f6a1494f12 100644 --- a/types/stemmer/tsconfig.json +++ b/types/stemmer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sticky-cluster/tsconfig.json b/types/sticky-cluster/tsconfig.json index ff3ca4badd..189e887431 100644 --- a/types/sticky-cluster/tsconfig.json +++ b/types/sticky-cluster/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stompjs/tsconfig.json b/types/stompjs/tsconfig.json index e450706f2d..bb2b4ad2a4 100644 --- a/types/stompjs/tsconfig.json +++ b/types/stompjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stoppable/tsconfig.json b/types/stoppable/tsconfig.json index 6cef67e8b6..e6a0ead204 100644 --- a/types/stoppable/tsconfig.json +++ b/types/stoppable/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/storejs/tsconfig.json b/types/storejs/tsconfig.json index 0624143c91..df8e4268e3 100644 --- a/types/storejs/tsconfig.json +++ b/types/storejs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/storejs/v1/tsconfig.json b/types/storejs/v1/tsconfig.json index ae6d367885..2d062255ed 100644 --- a/types/storejs/v1/tsconfig.json +++ b/types/storejs/v1/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/storybook__addon-a11y/tsconfig.json b/types/storybook__addon-a11y/tsconfig.json index 43484db618..c37bd5436c 100644 --- a/types/storybook__addon-a11y/tsconfig.json +++ b/types/storybook__addon-a11y/tsconfig.json @@ -23,8 +23,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/storybook__addon-actions/tsconfig.json b/types/storybook__addon-actions/tsconfig.json index a7c484aab1..89249e8386 100644 --- a/types/storybook__addon-actions/tsconfig.json +++ b/types/storybook__addon-actions/tsconfig.json @@ -24,8 +24,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/storybook__addon-backgrounds/tsconfig.json b/types/storybook__addon-backgrounds/tsconfig.json index 39ffc3183a..cfc58e4a8c 100644 --- a/types/storybook__addon-backgrounds/tsconfig.json +++ b/types/storybook__addon-backgrounds/tsconfig.json @@ -23,8 +23,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/storybook__addon-info/tsconfig.json b/types/storybook__addon-info/tsconfig.json index 8ea798e377..ad08c9163b 100644 --- a/types/storybook__addon-info/tsconfig.json +++ b/types/storybook__addon-info/tsconfig.json @@ -23,8 +23,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/storybook__addon-knobs/tsconfig.json b/types/storybook__addon-knobs/tsconfig.json index 43d809e7df..fb2307556f 100644 --- a/types/storybook__addon-knobs/tsconfig.json +++ b/types/storybook__addon-knobs/tsconfig.json @@ -24,8 +24,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/storybook__addon-links/tsconfig.json b/types/storybook__addon-links/tsconfig.json index 8f399074f3..bb3183eaec 100644 --- a/types/storybook__addon-links/tsconfig.json +++ b/types/storybook__addon-links/tsconfig.json @@ -23,8 +23,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/storybook__addon-notes/tsconfig.json b/types/storybook__addon-notes/tsconfig.json index 6b80454b4b..2bc7d76ea8 100644 --- a/types/storybook__addon-notes/tsconfig.json +++ b/types/storybook__addon-notes/tsconfig.json @@ -24,8 +24,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/storybook__addon-options/tsconfig.json b/types/storybook__addon-options/tsconfig.json index 13ed6cecc8..936a535725 100644 --- a/types/storybook__addon-options/tsconfig.json +++ b/types/storybook__addon-options/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/storybook__react/tsconfig.json b/types/storybook__react/tsconfig.json index 3e97c20db9..906319ce4c 100644 --- a/types/storybook__react/tsconfig.json +++ b/types/storybook__react/tsconfig.json @@ -21,8 +21,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/storybook__vue/tsconfig.json b/types/storybook__vue/tsconfig.json index 5659b7cc84..a472ebed8a 100644 --- a/types/storybook__vue/tsconfig.json +++ b/types/storybook__vue/tsconfig.json @@ -20,8 +20,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stream-buffers/tsconfig.json b/types/stream-buffers/tsconfig.json index 1829ba6547..1a7291fb16 100644 --- a/types/stream-buffers/tsconfig.json +++ b/types/stream-buffers/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stream-meter/tsconfig.json b/types/stream-meter/tsconfig.json index bcd6cde297..8b20593c10 100644 --- a/types/stream-meter/tsconfig.json +++ b/types/stream-meter/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stream-series/tsconfig.json b/types/stream-series/tsconfig.json index eb8763229a..63b2241d3f 100644 --- a/types/stream-series/tsconfig.json +++ b/types/stream-series/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stream-to-array/tsconfig.json b/types/stream-to-array/tsconfig.json index 32e34557d8..48b3165006 100644 --- a/types/stream-to-array/tsconfig.json +++ b/types/stream-to-array/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stream-to-array/v0/tsconfig.json b/types/stream-to-array/v0/tsconfig.json index 0a237512bb..1865c9cf98 100644 --- a/types/stream-to-array/v0/tsconfig.json +++ b/types/stream-to-array/v0/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/streaming-json-stringify/tsconfig.json b/types/streaming-json-stringify/tsconfig.json index 032b31181f..b99f577e68 100644 --- a/types/streaming-json-stringify/tsconfig.json +++ b/types/streaming-json-stringify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/streamjs/tsconfig.json b/types/streamjs/tsconfig.json index 1643a0803c..21fc98e70b 100644 --- a/types/streamjs/tsconfig.json +++ b/types/streamjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/strftime/tsconfig.json b/types/strftime/tsconfig.json index 705df3931e..b20e8d1a04 100644 --- a/types/strftime/tsconfig.json +++ b/types/strftime/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/string-hash/tsconfig.json b/types/string-hash/tsconfig.json index f9e122d17e..8755e54064 100644 --- a/types/string-hash/tsconfig.json +++ b/types/string-hash/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/string-similarity/tsconfig.json b/types/string-similarity/tsconfig.json index ff9daac26b..a2a3f2f5eb 100644 --- a/types/string-similarity/tsconfig.json +++ b/types/string-similarity/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/string-template/tsconfig.json b/types/string-template/tsconfig.json index cdaa77fbbf..936a491f8c 100644 --- a/types/string-template/tsconfig.json +++ b/types/string-template/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/string/tsconfig.json b/types/string/tsconfig.json index aa3e463b95..578bc74d25 100644 --- a/types/string/tsconfig.json +++ b/types/string/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/string_score/tsconfig.json b/types/string_score/tsconfig.json index 91909a22db..95d3c06126 100644 --- a/types/string_score/tsconfig.json +++ b/types/string_score/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stringify-object/tsconfig.json b/types/stringify-object/tsconfig.json index dd51ce88e8..7a0b87b2a2 100644 --- a/types/stringify-object/tsconfig.json +++ b/types/stringify-object/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/strip-ansi/tsconfig.json b/types/strip-ansi/tsconfig.json index 7e1f2ed95e..6653db94fb 100644 --- a/types/strip-ansi/tsconfig.json +++ b/types/strip-ansi/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/strip-bom/tsconfig.json b/types/strip-bom/tsconfig.json index d13346fffa..9a62caf4e6 100644 --- a/types/strip-bom/tsconfig.json +++ b/types/strip-bom/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/strip-json-comments/tsconfig.json b/types/strip-json-comments/tsconfig.json index 0333f7f56e..02b42695a4 100644 --- a/types/strip-json-comments/tsconfig.json +++ b/types/strip-json-comments/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stripe-checkout/tsconfig.json b/types/stripe-checkout/tsconfig.json index b46c916c9a..e60ee3b3dd 100644 --- a/types/stripe-checkout/tsconfig.json +++ b/types/stripe-checkout/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stripe-v2/tsconfig.json b/types/stripe-v2/tsconfig.json index 1967670a85..ac2d6c810b 100644 --- a/types/stripe-v2/tsconfig.json +++ b/types/stripe-v2/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stripe-v3/tsconfig.json b/types/stripe-v3/tsconfig.json index 99ea509045..1cdf786f22 100644 --- a/types/stripe-v3/tsconfig.json +++ b/types/stripe-v3/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stripe/tsconfig.json b/types/stripe/tsconfig.json index d600c2c48f..f2ac469aad 100644 --- a/types/stripe/tsconfig.json +++ b/types/stripe/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/strong-cluster-control/tsconfig.json b/types/strong-cluster-control/tsconfig.json index 9fedfeddcd..2f89742361 100644 --- a/types/strong-cluster-control/tsconfig.json +++ b/types/strong-cluster-control/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/strophe/tsconfig.json b/types/strophe/tsconfig.json index 98d9dbdf4e..8c8038227a 100644 --- a/types/strophe/tsconfig.json +++ b/types/strophe/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/styled-jsx/tsconfig.json b/types/styled-jsx/tsconfig.json index abef3d951a..6e599795bf 100644 --- a/types/styled-jsx/tsconfig.json +++ b/types/styled-jsx/tsconfig.json @@ -15,7 +15,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/stylelint-webpack-plugin/tsconfig.json b/types/stylelint-webpack-plugin/tsconfig.json index 926c3600f9..bad8f14fff 100644 --- a/types/stylelint-webpack-plugin/tsconfig.json +++ b/types/stylelint-webpack-plugin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stylelint/tsconfig.json b/types/stylelint/tsconfig.json index aa71e6e25c..aad83e1984 100644 --- a/types/stylelint/tsconfig.json +++ b/types/stylelint/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/stylus/tsconfig.json b/types/stylus/tsconfig.json index e559d7f1ba..d739ff9edd 100644 --- a/types/stylus/tsconfig.json +++ b/types/stylus/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/subsume/tsconfig.json b/types/subsume/tsconfig.json index d346ed296b..b29ec71ee8 100644 --- a/types/subsume/tsconfig.json +++ b/types/subsume/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/succinct/tsconfig.json b/types/succinct/tsconfig.json index 6d30f782a8..b75d1bb908 100644 --- a/types/succinct/tsconfig.json +++ b/types/succinct/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sudo-block/tsconfig.json b/types/sudo-block/tsconfig.json index ea33ca3f2f..f7a67ab9d9 100644 --- a/types/sudo-block/tsconfig.json +++ b/types/sudo-block/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/suitescript/tsconfig.json b/types/suitescript/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/suitescript/tsconfig.json +++ b/types/suitescript/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/sumo-logger/tsconfig.json b/types/sumo-logger/tsconfig.json index 60a1130a58..99995493eb 100644 --- a/types/sumo-logger/tsconfig.json +++ b/types/sumo-logger/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/superagent-no-cache/tsconfig.json b/types/superagent-no-cache/tsconfig.json index da42ec34f7..9047a8ff6c 100644 --- a/types/superagent-no-cache/tsconfig.json +++ b/types/superagent-no-cache/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/superagent-prefix/tsconfig.json b/types/superagent-prefix/tsconfig.json index 8a99f7f0bd..aa53ebadaf 100644 --- a/types/superagent-prefix/tsconfig.json +++ b/types/superagent-prefix/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/superagent/tsconfig.json b/types/superagent/tsconfig.json index 57c8fccc02..e27bc6e788 100644 --- a/types/superagent/tsconfig.json +++ b/types/superagent/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/superagent/v2/tsconfig.json b/types/superagent/v2/tsconfig.json index 29adcf28dc..b58424d51b 100644 --- a/types/superagent/v2/tsconfig.json +++ b/types/superagent/v2/tsconfig.json @@ -23,8 +23,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/supercluster/tsconfig.json b/types/supercluster/tsconfig.json index 6005259e9f..243cdf4117 100644 --- a/types/supercluster/tsconfig.json +++ b/types/supercluster/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/supertest-as-promised/tsconfig.json b/types/supertest-as-promised/tsconfig.json index ba7aa25f13..29e8790308 100644 --- a/types/supertest-as-promised/tsconfig.json +++ b/types/supertest-as-promised/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/supertest/tsconfig.json b/types/supertest/tsconfig.json index fbdb3202fa..8f674d2202 100644 --- a/types/supertest/tsconfig.json +++ b/types/supertest/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/supports-color/tsconfig.json b/types/supports-color/tsconfig.json index 5dcbca91e0..5084245065 100644 --- a/types/supports-color/tsconfig.json +++ b/types/supports-color/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/svg-injector/tsconfig.json b/types/svg-injector/tsconfig.json index 9b904fec27..5b186e06f2 100644 --- a/types/svg-injector/tsconfig.json +++ b/types/svg-injector/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/svg-parser/tsconfig.json b/types/svg-parser/tsconfig.json index 138353d5fc..c5497750f7 100644 --- a/types/svg-parser/tsconfig.json +++ b/types/svg-parser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/svg-sprite/tsconfig.json b/types/svg-sprite/tsconfig.json index 9fdf0b6980..42c44c1ece 100644 --- a/types/svg-sprite/tsconfig.json +++ b/types/svg-sprite/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/svg2png/tsconfig.json b/types/svg2png/tsconfig.json index c683abf942..fc6537e29b 100644 --- a/types/svg2png/tsconfig.json +++ b/types/svg2png/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/svg4everybody/tsconfig.json b/types/svg4everybody/tsconfig.json index a12501ccd5..b6158fd4e9 100644 --- a/types/svg4everybody/tsconfig.json +++ b/types/svg4everybody/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/svgjs.draggable/tsconfig.json b/types/svgjs.draggable/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/svgjs.draggable/tsconfig.json +++ b/types/svgjs.draggable/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/svgjs.resize/tsconfig.json b/types/svgjs.resize/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/svgjs.resize/tsconfig.json +++ b/types/svgjs.resize/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/svgo/tsconfig.json b/types/svgo/tsconfig.json index 0ac1849980..ec4687a1d9 100644 --- a/types/svgo/tsconfig.json +++ b/types/svgo/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/swag/tsconfig.json b/types/swag/tsconfig.json index 0ac74e8fae..b2eebb5fc1 100644 --- a/types/swag/tsconfig.json +++ b/types/swag/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/swagger-express-middleware/tsconfig.json b/types/swagger-express-middleware/tsconfig.json index 8f40e379c1..efd56f5cc9 100644 --- a/types/swagger-express-middleware/tsconfig.json +++ b/types/swagger-express-middleware/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/swagger-express-mw/tsconfig.json b/types/swagger-express-mw/tsconfig.json index 49e10dbf21..1d597728f7 100644 --- a/types/swagger-express-mw/tsconfig.json +++ b/types/swagger-express-mw/tsconfig.json @@ -14,15 +14,18 @@ ], "types": [], "paths": { - "boom": ["boom/v4"], - "hapi": ["hapi/v16"] + "boom": [ + "boom/v4" + ], + "hapi": [ + "hapi/v16" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "swagger-express-mw-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/swagger-hapi/tsconfig.json b/types/swagger-hapi/tsconfig.json index 5fd0c591fb..410688bcf1 100644 --- a/types/swagger-hapi/tsconfig.json +++ b/types/swagger-hapi/tsconfig.json @@ -14,15 +14,18 @@ ], "types": [], "paths": { - "boom": ["boom/v4"], - "hapi": ["hapi/v16"] + "boom": [ + "boom/v4" + ], + "hapi": [ + "hapi/v16" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "swagger-hapi-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/swagger-jsdoc/tsconfig.json b/types/swagger-jsdoc/tsconfig.json index 8060b5675c..109b47bad0 100644 --- a/types/swagger-jsdoc/tsconfig.json +++ b/types/swagger-jsdoc/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/swagger-node-runner/tsconfig.json b/types/swagger-node-runner/tsconfig.json index e349e4cc6a..e559433107 100644 --- a/types/swagger-node-runner/tsconfig.json +++ b/types/swagger-node-runner/tsconfig.json @@ -14,15 +14,18 @@ ], "types": [], "paths": { - "boom": ["boom/v4"], - "hapi": ["hapi/v16"] + "boom": [ + "boom/v4" + ], + "hapi": [ + "hapi/v16" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "swagger-node-runner-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/swagger-parser/tsconfig.json b/types/swagger-parser/tsconfig.json index 8a2e67d8bc..bd15ee7e32 100644 --- a/types/swagger-parser/tsconfig.json +++ b/types/swagger-parser/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/swagger-restify-mw/tsconfig.json b/types/swagger-restify-mw/tsconfig.json index e80378cda0..8c5f09a930 100644 --- a/types/swagger-restify-mw/tsconfig.json +++ b/types/swagger-restify-mw/tsconfig.json @@ -14,15 +14,18 @@ ], "types": [], "paths": { - "boom": ["boom/v4"], - "hapi": ["hapi/v16"] + "boom": [ + "boom/v4" + ], + "hapi": [ + "hapi/v16" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "swagger-restify-mw-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/swagger-sails-hook/tsconfig.json b/types/swagger-sails-hook/tsconfig.json index 4e48ad232d..508453b078 100644 --- a/types/swagger-sails-hook/tsconfig.json +++ b/types/swagger-sails-hook/tsconfig.json @@ -14,15 +14,18 @@ ], "types": [], "paths": { - "boom": ["boom/v4"], - "hapi": ["hapi/v16"] + "boom": [ + "boom/v4" + ], + "hapi": [ + "hapi/v16" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "swagger-sails-hook-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/swagger-schema-official/tsconfig.json b/types/swagger-schema-official/tsconfig.json index 517693eec1..475a0c4579 100644 --- a/types/swagger-schema-official/tsconfig.json +++ b/types/swagger-schema-official/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/swagger-tools/tsconfig.json b/types/swagger-tools/tsconfig.json index 1ac581a6a4..f00040387f 100644 --- a/types/swagger-tools/tsconfig.json +++ b/types/swagger-tools/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/swaggerize-express/tsconfig.json b/types/swaggerize-express/tsconfig.json index b4291a08a9..1ec57ed7db 100644 --- a/types/swaggerize-express/tsconfig.json +++ b/types/swaggerize-express/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/swfobject/tsconfig.json b/types/swfobject/tsconfig.json index 72d38b165e..905fa4c7c5 100644 --- a/types/swfobject/tsconfig.json +++ b/types/swfobject/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/swiftclick/tsconfig.json b/types/swiftclick/tsconfig.json index aa64896742..903e78b3ae 100644 --- a/types/swiftclick/tsconfig.json +++ b/types/swiftclick/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/swig-email-templates/tsconfig.json b/types/swig-email-templates/tsconfig.json index becbb0b020..b25f125136 100644 --- a/types/swig-email-templates/tsconfig.json +++ b/types/swig-email-templates/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/swig/tsconfig.json b/types/swig/tsconfig.json index 650458f3fc..29202d9a09 100644 --- a/types/swig/tsconfig.json +++ b/types/swig/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/swipe/tsconfig.json b/types/swipe/tsconfig.json index bca03d685f..dd8718e5a4 100644 --- a/types/swipe/tsconfig.json +++ b/types/swipe/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/swiper/tsconfig.json b/types/swiper/tsconfig.json index ac040ef01e..8bde882886 100644 --- a/types/swiper/tsconfig.json +++ b/types/swiper/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/swiper/v2/tsconfig.json b/types/swiper/v2/tsconfig.json index ef11afdc92..3b7f35d0f2 100644 --- a/types/swiper/v2/tsconfig.json +++ b/types/swiper/v2/tsconfig.json @@ -23,8 +23,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/swipeview/tsconfig.json b/types/swipeview/tsconfig.json index 281d980146..482e330299 100644 --- a/types/swipeview/tsconfig.json +++ b/types/swipeview/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/switchery/tsconfig.json b/types/switchery/tsconfig.json index cb03c7a674..cd6c171807 100644 --- a/types/switchery/tsconfig.json +++ b/types/switchery/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/swiz/tsconfig.json b/types/swiz/tsconfig.json index 9bca3616e5..9f07ba0306 100644 --- a/types/swiz/tsconfig.json +++ b/types/swiz/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/sylvester/tsconfig.json b/types/sylvester/tsconfig.json index 8ebbbb3c5f..1bdc202b83 100644 --- a/types/sylvester/tsconfig.json +++ b/types/sylvester/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/synaptic/tsconfig.json b/types/synaptic/tsconfig.json index 7c57170f80..a8a8ffa40a 100644 --- a/types/synaptic/tsconfig.json +++ b/types/synaptic/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/systeminformation/tsconfig.json b/types/systeminformation/tsconfig.json index eb2cfa6d98..d1b0e46f7a 100644 --- a/types/systeminformation/tsconfig.json +++ b/types/systeminformation/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/systemjs/tsconfig.json b/types/systemjs/tsconfig.json index 36e37a6353..95bed64e3b 100644 --- a/types/systemjs/tsconfig.json +++ b/types/systemjs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/table/tsconfig.json b/types/table/tsconfig.json index 95f2b7ae31..6aee73e7c0 100644 --- a/types/table/tsconfig.json +++ b/types/table/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tabris-plugin-firebase/tsconfig.json b/types/tabris-plugin-firebase/tsconfig.json index 5c6678995a..cac6477844 100644 --- a/types/tabris-plugin-firebase/tsconfig.json +++ b/types/tabris-plugin-firebase/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tabtab/tsconfig.json b/types/tabtab/tsconfig.json index 548d2f9c95..b2098e5326 100644 --- a/types/tabtab/tsconfig.json +++ b/types/tabtab/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tabulator/tsconfig.json b/types/tabulator/tsconfig.json index 1c655aeea9..d094f72c74 100644 --- a/types/tabulator/tsconfig.json +++ b/types/tabulator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tapable/tsconfig.json b/types/tapable/tsconfig.json index f2b458cf79..c1a629a0a0 100644 --- a/types/tapable/tsconfig.json +++ b/types/tapable/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tape/tsconfig.json b/types/tape/tsconfig.json index 89a3bb0284..14b29b4be3 100644 --- a/types/tape/tsconfig.json +++ b/types/tape/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tar-fs/tsconfig.json b/types/tar-fs/tsconfig.json index c7f77701e8..83965ab819 100644 --- a/types/tar-fs/tsconfig.json +++ b/types/tar-fs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tar/tsconfig.json b/types/tar/tsconfig.json index b3bb78f6d4..103befc21b 100644 --- a/types/tar/tsconfig.json +++ b/types/tar/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tcp-ping/tsconfig.json b/types/tcp-ping/tsconfig.json index e0fba82053..f070f6f798 100644 --- a/types/tcp-ping/tsconfig.json +++ b/types/tcp-ping/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tea-merge/tsconfig.json b/types/tea-merge/tsconfig.json index cbf7f19402..0af0988abf 100644 --- a/types/tea-merge/tsconfig.json +++ b/types/tea-merge/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tedious-connection-pool/tsconfig.json b/types/tedious-connection-pool/tsconfig.json index bfddd0d319..cd636ad876 100644 --- a/types/tedious-connection-pool/tsconfig.json +++ b/types/tedious-connection-pool/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tedious/tsconfig.json b/types/tedious/tsconfig.json index 3c37a7f097..6b1c2d58eb 100644 --- a/types/tedious/tsconfig.json +++ b/types/tedious/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/teechart/tsconfig.json b/types/teechart/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/teechart/tsconfig.json +++ b/types/teechart/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/telebot/tsconfig.json b/types/telebot/tsconfig.json index 0c0e132d22..df24dd318b 100644 --- a/types/telebot/tsconfig.json +++ b/types/telebot/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/temp-fs/tsconfig.json b/types/temp-fs/tsconfig.json index c8e72528eb..7f99f0f62a 100644 --- a/types/temp-fs/tsconfig.json +++ b/types/temp-fs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/temp-write/tsconfig.json b/types/temp-write/tsconfig.json index 068b8c9313..e841595edb 100644 --- a/types/temp-write/tsconfig.json +++ b/types/temp-write/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/temp/tsconfig.json b/types/temp/tsconfig.json index dd0badc02d..f7e1902067 100644 --- a/types/temp/tsconfig.json +++ b/types/temp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tempfile/tsconfig.json b/types/tempfile/tsconfig.json index 908ce7c602..2f31cafb72 100644 --- a/types/tempfile/tsconfig.json +++ b/types/tempfile/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tempy/tsconfig.json b/types/tempy/tsconfig.json index c3d9febb36..d6216873d6 100644 --- a/types/tempy/tsconfig.json +++ b/types/tempy/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/terminal-menu/tsconfig.json b/types/terminal-menu/tsconfig.json index 33f19c3050..0ffdb3da4c 100644 --- a/types/terminal-menu/tsconfig.json +++ b/types/terminal-menu/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tesseract.js/tsconfig.json b/types/tesseract.js/tsconfig.json index 235f0535ae..0214ea15e4 100644 --- a/types/tesseract.js/tsconfig.json +++ b/types/tesseract.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/testingbot-api/tsconfig.json b/types/testingbot-api/tsconfig.json index 8bc227236a..f0bd06bb1b 100644 --- a/types/testingbot-api/tsconfig.json +++ b/types/testingbot-api/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tether-drop/tsconfig.json b/types/tether-drop/tsconfig.json index 44334974f3..c1dc9928ec 100644 --- a/types/tether-drop/tsconfig.json +++ b/types/tether-drop/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tether-shepherd/tsconfig.json b/types/tether-shepherd/tsconfig.json index 2871f60a0c..ff7a78897d 100644 --- a/types/tether-shepherd/tsconfig.json +++ b/types/tether-shepherd/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tether/tsconfig.json b/types/tether/tsconfig.json index 64c07ade1b..5286a98289 100644 --- a/types/tether/tsconfig.json +++ b/types/tether/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/text-buffer/tsconfig.json b/types/text-buffer/tsconfig.json index 6edde7770a..c11c286ff7 100644 --- a/types/text-buffer/tsconfig.json +++ b/types/text-buffer/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/text-encoding-utf-8/tsconfig.json b/types/text-encoding-utf-8/tsconfig.json index c9a2142c8b..f9d410c8c5 100644 --- a/types/text-encoding-utf-8/tsconfig.json +++ b/types/text-encoding-utf-8/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/text-encoding/tsconfig.json b/types/text-encoding/tsconfig.json index c7809cd82f..898180941a 100644 --- a/types/text-encoding/tsconfig.json +++ b/types/text-encoding/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/three/tsconfig.json b/types/three/tsconfig.json index 80a1e81675..2c62dbad6b 100644 --- a/types/three/tsconfig.json +++ b/types/three/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/thrift/tsconfig.json b/types/thrift/tsconfig.json index 84dc940440..9bcbced4ee 100644 --- a/types/thrift/tsconfig.json +++ b/types/thrift/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/throng/tsconfig.json b/types/throng/tsconfig.json index 7aad41aa3d..20b9b46d85 100644 --- a/types/throng/tsconfig.json +++ b/types/throng/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/throttle-debounce/tsconfig.json b/types/throttle-debounce/tsconfig.json index d34cb0ed14..cf362d7611 100644 --- a/types/throttle-debounce/tsconfig.json +++ b/types/throttle-debounce/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/throttle/tsconfig.json b/types/throttle/tsconfig.json index 86acaff2d4..f05aae2e84 100644 --- a/types/throttle/tsconfig.json +++ b/types/throttle/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/through/tsconfig.json b/types/through/tsconfig.json index f98cfa1871..88c7abb2fd 100644 --- a/types/through/tsconfig.json +++ b/types/through/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/through2-map/tsconfig.json b/types/through2-map/tsconfig.json index b1486f7a4c..282a192f4d 100644 --- a/types/through2-map/tsconfig.json +++ b/types/through2-map/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/through2/tsconfig.json b/types/through2/tsconfig.json index 7da0c73936..c5c6eaa6b1 100644 --- a/types/through2/tsconfig.json +++ b/types/through2/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/through2/v0/tsconfig.json b/types/through2/v0/tsconfig.json index 7dc3436c47..ea1529c9fe 100644 --- a/types/through2/v0/tsconfig.json +++ b/types/through2/v0/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tile-reduce/tsconfig.json b/types/tile-reduce/tsconfig.json index b613614587..2afad7ef56 100644 --- a/types/tile-reduce/tsconfig.json +++ b/types/tile-reduce/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tilebelt/tsconfig.json b/types/tilebelt/tsconfig.json index f8c5acc3fe..f6c2ff2e44 100644 --- a/types/tilebelt/tsconfig.json +++ b/types/tilebelt/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/time-span/tsconfig.json b/types/time-span/tsconfig.json index 49a9d4a315..b17a400526 100644 --- a/types/time-span/tsconfig.json +++ b/types/time-span/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/timelinejs/tsconfig.json b/types/timelinejs/tsconfig.json index 19e69c4a75..82cb5dd197 100644 --- a/types/timelinejs/tsconfig.json +++ b/types/timelinejs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/timelinejs3/tsconfig.json b/types/timelinejs3/tsconfig.json index 28ea7628cd..7f26ea1538 100644 --- a/types/timelinejs3/tsconfig.json +++ b/types/timelinejs3/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/timer-machine/tsconfig.json b/types/timer-machine/tsconfig.json index 007ef6f39a..31cb1bb2e9 100644 --- a/types/timer-machine/tsconfig.json +++ b/types/timer-machine/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/timezone-js/tsconfig.json b/types/timezone-js/tsconfig.json index ff8274ccc5..dac1b5d822 100644 --- a/types/timezone-js/tsconfig.json +++ b/types/timezone-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tinder/tsconfig.json b/types/tinder/tsconfig.json index 870774f961..992b6386e5 100644 --- a/types/tinder/tsconfig.json +++ b/types/tinder/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tinycolor2/tsconfig.json b/types/tinycolor2/tsconfig.json index 6ceed62685..c0f4741d8a 100644 --- a/types/tinycolor2/tsconfig.json +++ b/types/tinycolor2/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tinycopy/tsconfig.json b/types/tinycopy/tsconfig.json index 985f99fbd1..8e9af169a5 100644 --- a/types/tinycopy/tsconfig.json +++ b/types/tinycopy/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tinymce/tsconfig.json b/types/tinymce/tsconfig.json index f102a3e9ea..f0922aa2af 100644 --- a/types/tinymce/tsconfig.json +++ b/types/tinymce/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/titanium/tsconfig.json b/types/titanium/tsconfig.json index 03b7668aa7..86e5902e63 100644 --- a/types/titanium/tsconfig.json +++ b/types/titanium/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/title/tsconfig.json b/types/title/tsconfig.json index ff3cc0a7b6..ea4f963262 100644 --- a/types/title/tsconfig.json +++ b/types/title/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tldjs/tsconfig.json b/types/tldjs/tsconfig.json index e61a71171f..160d2d2816 100644 --- a/types/tldjs/tsconfig.json +++ b/types/tldjs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tmp/tsconfig.json b/types/tmp/tsconfig.json index 14f56a3a67..0633fc875e 100644 --- a/types/tmp/tsconfig.json +++ b/types/tmp/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/to-absolute-glob/tsconfig.json b/types/to-absolute-glob/tsconfig.json index 861f6febe3..52294f500d 100644 --- a/types/to-absolute-glob/tsconfig.json +++ b/types/to-absolute-glob/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/to-camel-case/tsconfig.json b/types/to-camel-case/tsconfig.json index 17cac3f445..4353053896 100644 --- a/types/to-camel-case/tsconfig.json +++ b/types/to-camel-case/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/to-markdown/tsconfig.json b/types/to-markdown/tsconfig.json index 8d3577a904..ee0626d37e 100644 --- a/types/to-markdown/tsconfig.json +++ b/types/to-markdown/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/to-title-case-gouch/tsconfig.json b/types/to-title-case-gouch/tsconfig.json index 58128ea67e..e888de43b8 100644 --- a/types/to-title-case-gouch/tsconfig.json +++ b/types/to-title-case-gouch/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/toastr/tsconfig.json b/types/toastr/tsconfig.json index 7263cfe1f5..6714a59824 100644 --- a/types/toastr/tsconfig.json +++ b/types/toastr/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tocktimer/tsconfig.json b/types/tocktimer/tsconfig.json index cd019e10a6..27e7f3a17e 100644 --- a/types/tocktimer/tsconfig.json +++ b/types/tocktimer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tooltipster/tsconfig.json b/types/tooltipster/tsconfig.json index 6f3a24c11a..4f2b8baead 100644 --- a/types/tooltipster/tsconfig.json +++ b/types/tooltipster/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/topojson/tsconfig.json b/types/topojson/tsconfig.json index 185fa25f29..339e9a307d 100644 --- a/types/topojson/tsconfig.json +++ b/types/topojson/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/torrent-stream/tsconfig.json b/types/torrent-stream/tsconfig.json index b9e95a04a5..cf5dc64a44 100644 --- a/types/torrent-stream/tsconfig.json +++ b/types/torrent-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/touch-events/tsconfig.json b/types/touch-events/tsconfig.json index 2371a5a475..8ac8a7c23e 100644 --- a/types/touch-events/tsconfig.json +++ b/types/touch-events/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/touch/tsconfig.json b/types/touch/tsconfig.json index 1a65ccec08..dfac4eaa59 100644 --- a/types/touch/tsconfig.json +++ b/types/touch/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tough-cookie/tsconfig.json b/types/tough-cookie/tsconfig.json index 9b0984c3e4..970d0303b9 100644 --- a/types/tough-cookie/tsconfig.json +++ b/types/tough-cookie/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/traceback/tsconfig.json b/types/traceback/tsconfig.json index ca7a7d8100..3467f3ed5e 100644 --- a/types/traceback/tsconfig.json +++ b/types/traceback/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tracking/tsconfig.json b/types/tracking/tsconfig.json index afe13bead7..31c4aecc19 100644 --- a/types/tracking/tsconfig.json +++ b/types/tracking/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/transducers-js/tsconfig.json b/types/transducers-js/tsconfig.json index cfcf7aa566..e22b22820c 100644 --- a/types/transducers-js/tsconfig.json +++ b/types/transducers-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/transducers.js/tsconfig.json b/types/transducers.js/tsconfig.json index 2d50094c17..64328c8755 100644 --- a/types/transducers.js/tsconfig.json +++ b/types/transducers.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/trash/tsconfig.json b/types/trash/tsconfig.json index d71fd341ba..98e9a458d1 100644 --- a/types/trash/tsconfig.json +++ b/types/trash/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/traverse/tsconfig.json b/types/traverse/tsconfig.json index 3daa104e93..d2d7dfea04 100644 --- a/types/traverse/tsconfig.json +++ b/types/traverse/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/traverson/tsconfig.json b/types/traverson/tsconfig.json index 1774998595..615fd9677e 100644 --- a/types/traverson/tsconfig.json +++ b/types/traverson/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/trayballoon/tsconfig.json b/types/trayballoon/tsconfig.json index a0296ce538..e5e8cc7fa6 100644 --- a/types/trayballoon/tsconfig.json +++ b/types/trayballoon/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tress/tsconfig.json b/types/tress/tsconfig.json index 6d4e66eae5..f126983d63 100644 --- a/types/tress/tsconfig.json +++ b/types/tress/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/trim/tsconfig.json b/types/trim/tsconfig.json index 2867a79362..bcea356412 100644 --- a/types/trim/tsconfig.json +++ b/types/trim/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/trunk8/tsconfig.json b/types/trunk8/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/trunk8/tsconfig.json +++ b/types/trunk8/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/tspromise/tsconfig.json b/types/tspromise/tsconfig.json index ad57e05f05..d2af852afd 100644 --- a/types/tspromise/tsconfig.json +++ b/types/tspromise/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tunnel/tsconfig.json b/types/tunnel/tsconfig.json index 2f53c941db..55219f49a6 100644 --- a/types/tunnel/tsconfig.json +++ b/types/tunnel/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tus-js-client/tsconfig.json b/types/tus-js-client/tsconfig.json index 818b68345b..ca60cc6a34 100644 --- a/types/tus-js-client/tsconfig.json +++ b/types/tus-js-client/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tv4/tsconfig.json b/types/tv4/tsconfig.json index be7057b74a..17ed10aeac 100644 --- a/types/tv4/tsconfig.json +++ b/types/tv4/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/tween.js/tsconfig.json b/types/tween.js/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/tween.js/tsconfig.json +++ b/types/tween.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/tweenjs/tsconfig.json b/types/tweenjs/tsconfig.json index a6dffcf27e..606261f03f 100644 --- a/types/tweenjs/tsconfig.json +++ b/types/tweenjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tweezer.js/tsconfig.json b/types/tweezer.js/tsconfig.json index d7f08e37e0..a2fe795fb5 100644 --- a/types/tweezer.js/tsconfig.json +++ b/types/tweezer.js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/twig/tsconfig.json b/types/twig/tsconfig.json index fae9ca2a3d..e51c10b126 100644 --- a/types/twig/tsconfig.json +++ b/types/twig/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/twilio/tsconfig.json b/types/twilio/tsconfig.json index 8fbf116322..893fb3276f 100644 --- a/types/twilio/tsconfig.json +++ b/types/twilio/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/twit/tsconfig.json b/types/twit/tsconfig.json index df8e9d8378..e9c475d064 100644 --- a/types/twit/tsconfig.json +++ b/types/twit/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/twitter-stream-channels/tsconfig.json b/types/twitter-stream-channels/tsconfig.json index 478d997dab..176fe10f41 100644 --- a/types/twitter-stream-channels/tsconfig.json +++ b/types/twitter-stream-channels/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/twitter-text/tsconfig.json b/types/twitter-text/tsconfig.json index ec41be151c..d91d87aa20 100644 --- a/types/twitter-text/tsconfig.json +++ b/types/twitter-text/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/twitter/tsconfig.json b/types/twitter/tsconfig.json index d228e8c395..f57f1c2156 100644 --- a/types/twitter/tsconfig.json +++ b/types/twitter/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/twix/tsconfig.json b/types/twix/tsconfig.json index b1f64cc6b8..b8f65213a1 100644 --- a/types/twix/tsconfig.json +++ b/types/twix/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/type-check/tsconfig.json b/types/type-check/tsconfig.json index bcb697439d..05111076bd 100644 --- a/types/type-check/tsconfig.json +++ b/types/type-check/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/type-detect/tsconfig.json b/types/type-detect/tsconfig.json index 91f26499c5..f8ac2f8c7d 100644 --- a/types/type-detect/tsconfig.json +++ b/types/type-detect/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/type-detect/v0/tsconfig.json b/types/type-detect/v0/tsconfig.json index 5144584a15..bae202904b 100644 --- a/types/type-detect/v0/tsconfig.json +++ b/types/type-detect/v0/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/type-is/tsconfig.json b/types/type-is/tsconfig.json index ba6c39bca7..9c0663c3e2 100644 --- a/types/type-is/tsconfig.json +++ b/types/type-is/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/type-name/tsconfig.json b/types/type-name/tsconfig.json index e3b952d4aa..e1b8d8d5d0 100644 --- a/types/type-name/tsconfig.json +++ b/types/type-name/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/typeahead/tsconfig.json b/types/typeahead/tsconfig.json index 9d1a941276..2699625f50 100644 --- a/types/typeahead/tsconfig.json +++ b/types/typeahead/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/typedarray-pool/tsconfig.json b/types/typedarray-pool/tsconfig.json index c7e2699b25..6a915ea9b1 100644 --- a/types/typedarray-pool/tsconfig.json +++ b/types/typedarray-pool/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/typescript-deferred/tsconfig.json b/types/typescript-deferred/tsconfig.json index 61f4d38fad..4e7d5da179 100644 --- a/types/typescript-deferred/tsconfig.json +++ b/types/typescript-deferred/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/tz-format/tsconfig.json b/types/tz-format/tsconfig.json index 5481b086d2..524fdf38df 100644 --- a/types/tz-format/tsconfig.json +++ b/types/tz-format/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ua-parser-js/tsconfig.json b/types/ua-parser-js/tsconfig.json index 17bc4f67df..fadebdfdbb 100644 --- a/types/ua-parser-js/tsconfig.json +++ b/types/ua-parser-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/uglify-js/tsconfig.json b/types/uglify-js/tsconfig.json index d667312eee..314b32b709 100644 --- a/types/uglify-js/tsconfig.json +++ b/types/uglify-js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/uglifycss/tsconfig.json b/types/uglifycss/tsconfig.json index 4a7cce2a35..a5b1cb6a01 100644 --- a/types/uglifycss/tsconfig.json +++ b/types/uglifycss/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ui-grid/tsconfig.json b/types/ui-grid/tsconfig.json index ef77dd39a9..cd43ea45d4 100644 --- a/types/ui-grid/tsconfig.json +++ b/types/ui-grid/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ui-router-extras/tsconfig.json b/types/ui-router-extras/tsconfig.json index 231026d43d..fa8f22e667 100644 --- a/types/ui-router-extras/tsconfig.json +++ b/types/ui-router-extras/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ui-select/tsconfig.json b/types/ui-select/tsconfig.json index a123cddabd..c6188861f2 100644 --- a/types/ui-select/tsconfig.json +++ b/types/ui-select/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/uid-safe/tsconfig.json b/types/uid-safe/tsconfig.json index f067c19d1a..4a0a4a03a4 100644 --- a/types/uid-safe/tsconfig.json +++ b/types/uid-safe/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/uikit/tsconfig.json b/types/uikit/tsconfig.json index 5d740a8d70..486a3184e8 100644 --- a/types/uikit/tsconfig.json +++ b/types/uikit/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/uinput/tsconfig.json b/types/uinput/tsconfig.json index 1d32c0c813..8caa0180e4 100644 --- a/types/uinput/tsconfig.json +++ b/types/uinput/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ultra-strftime/tsconfig.json b/types/ultra-strftime/tsconfig.json index 57f8d8b8d0..3b9461c0b6 100644 --- a/types/ultra-strftime/tsconfig.json +++ b/types/ultra-strftime/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/umbraco/tsconfig.json b/types/umbraco/tsconfig.json index e82793e67d..286d8c0496 100644 --- a/types/umbraco/tsconfig.json +++ b/types/umbraco/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/umd/tsconfig.json b/types/umd/tsconfig.json index c63568281f..fcfcb24f99 100644 --- a/types/umd/tsconfig.json +++ b/types/umd/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/umzug/tsconfig.json b/types/umzug/tsconfig.json index 739e24bf95..1d66f656f8 100644 --- a/types/umzug/tsconfig.json +++ b/types/umzug/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/underscore-ko/tsconfig.json b/types/underscore-ko/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/underscore-ko/tsconfig.json +++ b/types/underscore-ko/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/underscore.string/tsconfig.json b/types/underscore.string/tsconfig.json index e5ec05a6cd..b2222f4d8b 100644 --- a/types/underscore.string/tsconfig.json +++ b/types/underscore.string/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/underscore/tsconfig.json b/types/underscore/tsconfig.json index 60e9ebadea..4bbbc86417 100644 --- a/types/underscore/tsconfig.json +++ b/types/underscore/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/undertaker-registry/tsconfig.json b/types/undertaker-registry/tsconfig.json index 6c3d77c7d9..4cedc8febc 100644 --- a/types/undertaker-registry/tsconfig.json +++ b/types/undertaker-registry/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/undertaker/tsconfig.json b/types/undertaker/tsconfig.json index 68e4a7ed54..55aaee01b5 100644 --- a/types/undertaker/tsconfig.json +++ b/types/undertaker/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/uniq/tsconfig.json b/types/uniq/tsconfig.json index 5a03f34de5..db4cf0e58f 100644 --- a/types/uniq/tsconfig.json +++ b/types/uniq/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/uniqid/tsconfig.json b/types/uniqid/tsconfig.json index 52a0d13ed7..e081325ae9 100644 --- a/types/uniqid/tsconfig.json +++ b/types/uniqid/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/unique-hash-stream/tsconfig.json b/types/unique-hash-stream/tsconfig.json index 78cb8ee911..0a8fe10caa 100644 --- a/types/unique-hash-stream/tsconfig.json +++ b/types/unique-hash-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/unique-random/tsconfig.json b/types/unique-random/tsconfig.json index c4e557233a..7ee86c0a03 100644 --- a/types/unique-random/tsconfig.json +++ b/types/unique-random/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/unist/tsconfig.json b/types/unist/tsconfig.json index 5e4bf41f26..c9f03c2264 100644 --- a/types/unist/tsconfig.json +++ b/types/unist/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/unity-webapi/tsconfig.json b/types/unity-webapi/tsconfig.json index 16a4608c94..c400be527d 100644 --- a/types/unity-webapi/tsconfig.json +++ b/types/unity-webapi/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/universal-analytics/tsconfig.json b/types/universal-analytics/tsconfig.json index 88b3e84b77..6e301dc22c 100644 --- a/types/universal-analytics/tsconfig.json +++ b/types/universal-analytics/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/universal-router/tsconfig.json b/types/universal-router/tsconfig.json index 9a7afa5762..c83170c372 100644 --- a/types/universal-router/tsconfig.json +++ b/types/universal-router/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/unorm/tsconfig.json b/types/unorm/tsconfig.json index 739d770d24..55846e2d3e 100644 --- a/types/unorm/tsconfig.json +++ b/types/unorm/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/untildify/tsconfig.json b/types/untildify/tsconfig.json index fe9f91320f..75bfdd7d3e 100644 --- a/types/untildify/tsconfig.json +++ b/types/untildify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/unused-filename/tsconfig.json b/types/unused-filename/tsconfig.json index d1c0ccc36d..da9da24039 100644 --- a/types/unused-filename/tsconfig.json +++ b/types/unused-filename/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/unzip/tsconfig.json b/types/unzip/tsconfig.json index 9756abf7b2..b5207a6cdc 100644 --- a/types/unzip/tsconfig.json +++ b/types/unzip/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/unzipper/tsconfig.json b/types/unzipper/tsconfig.json index fc15123a8f..a41980ad8f 100644 --- a/types/unzipper/tsconfig.json +++ b/types/unzipper/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/update-notifier/tsconfig.json b/types/update-notifier/tsconfig.json index c8c630a5f8..df8ad3f8ed 100644 --- a/types/update-notifier/tsconfig.json +++ b/types/update-notifier/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/update-notifier/v1/tsconfig.json b/types/update-notifier/v1/tsconfig.json index 0e2bb8ce18..9f2a8e1504 100644 --- a/types/update-notifier/v1/tsconfig.json +++ b/types/update-notifier/v1/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "paths": { "update-notifier": [ "update-notifier/v1" diff --git a/types/upng-js/tsconfig.json b/types/upng-js/tsconfig.json index ebc1982388..d038a0bfc4 100644 --- a/types/upng-js/tsconfig.json +++ b/types/upng-js/tsconfig.json @@ -14,11 +14,10 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ "index.d.ts", "upng-js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/uppercamelcase/tsconfig.json b/types/uppercamelcase/tsconfig.json index b25e657d12..07fc20a92b 100644 --- a/types/uppercamelcase/tsconfig.json +++ b/types/uppercamelcase/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/urbanairship-cordova/tsconfig.json b/types/urbanairship-cordova/tsconfig.json index 00b9bb4d88..d00b30f908 100644 --- a/types/urbanairship-cordova/tsconfig.json +++ b/types/urbanairship-cordova/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/uri-templates/tsconfig.json b/types/uri-templates/tsconfig.json index c301e5c001..fde5970591 100644 --- a/types/uri-templates/tsconfig.json +++ b/types/uri-templates/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/urijs/tsconfig.json b/types/urijs/tsconfig.json index 3b1778a8d2..17ecc01182 100644 --- a/types/urijs/tsconfig.json +++ b/types/urijs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/uritemplate/tsconfig.json b/types/uritemplate/tsconfig.json index f270fd785c..d2778846fe 100644 --- a/types/uritemplate/tsconfig.json +++ b/types/uritemplate/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/url-assembler/tsconfig.json b/types/url-assembler/tsconfig.json index eaac8e24ca..5b754bb418 100644 --- a/types/url-assembler/tsconfig.json +++ b/types/url-assembler/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/url-join/tsconfig.json b/types/url-join/tsconfig.json index e62cf8ccbc..fdbf7a8a9c 100644 --- a/types/url-join/tsconfig.json +++ b/types/url-join/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/url-metadata/tsconfig.json b/types/url-metadata/tsconfig.json index fd3e4ae03a..60f06925f1 100644 --- a/types/url-metadata/tsconfig.json +++ b/types/url-metadata/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/url-parse/tsconfig.json b/types/url-parse/tsconfig.json index fc8eb1efd5..ca6fdbf187 100644 --- a/types/url-parse/tsconfig.json +++ b/types/url-parse/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/url-regex/tsconfig.json b/types/url-regex/tsconfig.json index 7477c5fc2b..e78f1f0e5d 100644 --- a/types/url-regex/tsconfig.json +++ b/types/url-regex/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/url-search-params/tsconfig.json b/types/url-search-params/tsconfig.json index 740ca83a3c..c67e1d9f93 100644 --- a/types/url-search-params/tsconfig.json +++ b/types/url-search-params/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/url-template/tsconfig.json b/types/url-template/tsconfig.json index 38953b850d..b6851260ad 100644 --- a/types/url-template/tsconfig.json +++ b/types/url-template/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/urlrouter/tsconfig.json b/types/urlrouter/tsconfig.json index 50a3f65086..dbb5bdd0f0 100644 --- a/types/urlrouter/tsconfig.json +++ b/types/urlrouter/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/urlsafe-base64/tsconfig.json b/types/urlsafe-base64/tsconfig.json index e6f2a198e1..a3a79d6fb0 100644 --- a/types/urlsafe-base64/tsconfig.json +++ b/types/urlsafe-base64/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/usage/tsconfig.json b/types/usage/tsconfig.json index 7561c99214..417ff3267d 100644 --- a/types/usage/tsconfig.json +++ b/types/usage/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/usb/tsconfig.json b/types/usb/tsconfig.json index 9f947b89c9..ba316ad2d1 100644 --- a/types/usb/tsconfig.json +++ b/types/usb/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/user-home/tsconfig.json b/types/user-home/tsconfig.json index 5c0c14bf5a..dd35bdbe98 100644 --- a/types/user-home/tsconfig.json +++ b/types/user-home/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/useragent/tsconfig.json b/types/useragent/tsconfig.json index fd725c4da8..5ce0443620 100644 --- a/types/useragent/tsconfig.json +++ b/types/useragent/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/username/tsconfig.json b/types/username/tsconfig.json index 0a46097968..f1ff2eeb4a 100644 --- a/types/username/tsconfig.json +++ b/types/username/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/utf8/tsconfig.json b/types/utf8/tsconfig.json index b4634105f5..673b72ce14 100644 --- a/types/utf8/tsconfig.json +++ b/types/utf8/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/util-deprecate/tsconfig.json b/types/util-deprecate/tsconfig.json index 7b8b39ca61..cdfa8aa957 100644 --- a/types/util-deprecate/tsconfig.json +++ b/types/util-deprecate/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/util.promisify/tsconfig.json b/types/util.promisify/tsconfig.json index b8cee6891a..041c10a94c 100644 --- a/types/util.promisify/tsconfig.json +++ b/types/util.promisify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/utils-merge/tsconfig.json b/types/utils-merge/tsconfig.json index fa40077e48..a841cf3ef3 100644 --- a/types/utils-merge/tsconfig.json +++ b/types/utils-merge/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/uuid-1345/tsconfig.json b/types/uuid-1345/tsconfig.json index 6fd0136d4e..cd69f6f3b8 100644 --- a/types/uuid-1345/tsconfig.json +++ b/types/uuid-1345/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/uuid-js/tsconfig.json b/types/uuid-js/tsconfig.json index ee78ac4113..959ae5bc26 100644 --- a/types/uuid-js/tsconfig.json +++ b/types/uuid-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/uuid-validate/tsconfig.json b/types/uuid-validate/tsconfig.json index a129079a1a..037d808448 100644 --- a/types/uuid-validate/tsconfig.json +++ b/types/uuid-validate/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/uuid/tsconfig.json b/types/uuid/tsconfig.json index af61a51407..ce6d909022 100644 --- a/types/uuid/tsconfig.json +++ b/types/uuid/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/uuid/v2/tsconfig.json b/types/uuid/v2/tsconfig.json index ffa82a6a67..06847b515e 100644 --- a/types/uuid/v2/tsconfig.json +++ b/types/uuid/v2/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/uws/tsconfig.json b/types/uws/tsconfig.json index 1c38e2d321..fe7f021800 100644 --- a/types/uws/tsconfig.json +++ b/types/uws/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/v8-profiler/tsconfig.json b/types/v8-profiler/tsconfig.json index f4ea0c2893..0d065aaad5 100644 --- a/types/v8-profiler/tsconfig.json +++ b/types/v8-profiler/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/valdr-message/tsconfig.json b/types/valdr-message/tsconfig.json index 34ef984b98..ca46410452 100644 --- a/types/valdr-message/tsconfig.json +++ b/types/valdr-message/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/valdr/tsconfig.json b/types/valdr/tsconfig.json index 594114402f..0f55a41f43 100644 --- a/types/valdr/tsconfig.json +++ b/types/valdr/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/valerie/tsconfig.json b/types/valerie/tsconfig.json index fcbf37aabd..e943ca70f9 100644 --- a/types/valerie/tsconfig.json +++ b/types/valerie/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vali-date/tsconfig.json b/types/vali-date/tsconfig.json index 93c4d19b26..b3097ec0ab 100644 --- a/types/vali-date/tsconfig.json +++ b/types/vali-date/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/valid-url/tsconfig.json b/types/valid-url/tsconfig.json index 332b718e04..9ae1f983bc 100644 --- a/types/valid-url/tsconfig.json +++ b/types/valid-url/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/validator/tsconfig.json b/types/validator/tsconfig.json index d68741ab73..720a2e79c8 100644 --- a/types/validator/tsconfig.json +++ b/types/validator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/validatorjs/tsconfig.json b/types/validatorjs/tsconfig.json index c3d504dcda..3fda638aea 100644 --- a/types/validatorjs/tsconfig.json +++ b/types/validatorjs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vanilla-modal/tsconfig.json b/types/vanilla-modal/tsconfig.json index f7e86c13ff..72925ecc29 100644 --- a/types/vanilla-modal/tsconfig.json +++ b/types/vanilla-modal/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vanilla-tilt/tsconfig.json b/types/vanilla-tilt/tsconfig.json index ef19bb7da0..71d85c07ab 100644 --- a/types/vanilla-tilt/tsconfig.json +++ b/types/vanilla-tilt/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vary/tsconfig.json b/types/vary/tsconfig.json index 59cc82837f..8dc896220b 100644 --- a/types/vary/tsconfig.json +++ b/types/vary/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vast-client/tsconfig.json b/types/vast-client/tsconfig.json index 3a09e03c3c..106b26913c 100644 --- a/types/vast-client/tsconfig.json +++ b/types/vast-client/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vec3/tsconfig.json b/types/vec3/tsconfig.json index b1fb708c01..05cbd739f7 100644 --- a/types/vec3/tsconfig.json +++ b/types/vec3/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vectorious/tsconfig.json b/types/vectorious/tsconfig.json index 5bea81f889..6b0974b0ac 100644 --- a/types/vectorious/tsconfig.json +++ b/types/vectorious/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vega/tsconfig.json b/types/vega/tsconfig.json index 9dcac260ef..f49e5e811b 100644 --- a/types/vega/tsconfig.json +++ b/types/vega/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/velocity-animate/tsconfig.json b/types/velocity-animate/tsconfig.json index 7c187828bf..a43f8fa036 100644 --- a/types/velocity-animate/tsconfig.json +++ b/types/velocity-animate/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/verror/tsconfig.json b/types/verror/tsconfig.json index b153f53b9f..478972649d 100644 --- a/types/verror/tsconfig.json +++ b/types/verror/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vertx3-eventbus-client/tsconfig.json b/types/vertx3-eventbus-client/tsconfig.json index e9b964e3c3..b7e963d3d4 100644 --- a/types/vertx3-eventbus-client/tsconfig.json +++ b/types/vertx3-eventbus-client/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vex-js/tsconfig.json b/types/vex-js/tsconfig.json index 430a00a8d5..bb63a4aad4 100644 --- a/types/vex-js/tsconfig.json +++ b/types/vex-js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vexflow/tsconfig.json b/types/vexflow/tsconfig.json index b5ba3901e8..6ca1cf5f8a 100644 --- a/types/vexflow/tsconfig.json +++ b/types/vexflow/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vfile-location/tsconfig.json b/types/vfile-location/tsconfig.json index 7252641d87..4b6325d09e 100644 --- a/types/vfile-location/tsconfig.json +++ b/types/vfile-location/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vfile/tsconfig.json b/types/vfile/tsconfig.json index e62d572e9b..7f30404056 100644 --- a/types/vfile/tsconfig.json +++ b/types/vfile/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/victor/tsconfig.json b/types/victor/tsconfig.json index 9b86a76639..8ce6a32927 100644 --- a/types/victor/tsconfig.json +++ b/types/victor/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/victory/tsconfig.json b/types/victory/tsconfig.json index dbbaf6add2..a12b6074c7 100644 --- a/types/victory/tsconfig.json +++ b/types/victory/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "jsx": "react" }, "files": [ diff --git a/types/video.js/tsconfig.json b/types/video.js/tsconfig.json index da68448904..3946d11571 100644 --- a/types/video.js/tsconfig.json +++ b/types/video.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/viewability-helper/tsconfig.json b/types/viewability-helper/tsconfig.json index a37725baf8..fd64db5703 100644 --- a/types/viewability-helper/tsconfig.json +++ b/types/viewability-helper/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/viewerjs/tsconfig.json b/types/viewerjs/tsconfig.json index 2c141853b1..144a0a0fc1 100644 --- a/types/viewerjs/tsconfig.json +++ b/types/viewerjs/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/viewporter/tsconfig.json b/types/viewporter/tsconfig.json index fea9cb0f51..cd83af4238 100644 --- a/types/viewporter/tsconfig.json +++ b/types/viewporter/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vimeo/tsconfig.json b/types/vimeo/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/vimeo/tsconfig.json +++ b/types/vimeo/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/vimeo__player/tsconfig.json b/types/vimeo__player/tsconfig.json index a68c91b1a3..d2875c251f 100644 --- a/types/vimeo__player/tsconfig.json +++ b/types/vimeo__player/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vinyl-buffer/tsconfig.json b/types/vinyl-buffer/tsconfig.json index 56c104a5cc..e96042ec50 100644 --- a/types/vinyl-buffer/tsconfig.json +++ b/types/vinyl-buffer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vinyl-fs/tsconfig.json b/types/vinyl-fs/tsconfig.json index 29fcea4ba0..6f041838fd 100644 --- a/types/vinyl-fs/tsconfig.json +++ b/types/vinyl-fs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vinyl-paths/tsconfig.json b/types/vinyl-paths/tsconfig.json index 6c6875786c..520193e6cf 100644 --- a/types/vinyl-paths/tsconfig.json +++ b/types/vinyl-paths/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vinyl-source-stream/tsconfig.json b/types/vinyl-source-stream/tsconfig.json index 86849e80e8..8167f27eeb 100644 --- a/types/vinyl-source-stream/tsconfig.json +++ b/types/vinyl-source-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vinyl/tsconfig.json b/types/vinyl/tsconfig.json index affd19f7aa..7386da20a1 100644 --- a/types/vinyl/tsconfig.json +++ b/types/vinyl/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vinyl/v0/tsconfig.json b/types/vinyl/v0/tsconfig.json index 929b893957..a8d30ed9bb 100644 --- a/types/vinyl/v0/tsconfig.json +++ b/types/vinyl/v0/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/virtual-dom/tsconfig.json b/types/virtual-dom/tsconfig.json index 57e997f685..e48bf32e57 100644 --- a/types/virtual-dom/tsconfig.json +++ b/types/virtual-dom/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/virtual-keyboard/tsconfig.json b/types/virtual-keyboard/tsconfig.json index 92516f353a..b1eaf0612a 100644 --- a/types/virtual-keyboard/tsconfig.json +++ b/types/virtual-keyboard/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/vis/tsconfig.json b/types/vis/tsconfig.json index 35a94f84d2..50fd412eee 100644 --- a/types/vis/tsconfig.json +++ b/types/vis/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vision/tsconfig.json b/types/vision/tsconfig.json index 2457f046cf..594ecb91ae 100644 --- a/types/vision/tsconfig.json +++ b/types/vision/tsconfig.json @@ -14,15 +14,18 @@ ], "types": [], "paths": { - "boom": ["boom/v4"], - "hapi": ["hapi/v16"] + "boom": [ + "boom/v4" + ], + "hapi": [ + "hapi/v16" + ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "vision-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/vitalsigns/tsconfig.json b/types/vitalsigns/tsconfig.json index 84bc8daefd..35eb17732d 100644 --- a/types/vitalsigns/tsconfig.json +++ b/types/vitalsigns/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vivus/tsconfig.json b/types/vivus/tsconfig.json index 219e514b68..a66fa1e203 100644 --- a/types/vivus/tsconfig.json +++ b/types/vivus/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vkbeautify/tsconfig.json b/types/vkbeautify/tsconfig.json index 03fe9fedaf..a795394230 100644 --- a/types/vkbeautify/tsconfig.json +++ b/types/vkbeautify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/voca/tsconfig.json b/types/voca/tsconfig.json index e2cbf65168..8cd5ac1f19 100644 --- a/types/voca/tsconfig.json +++ b/types/voca/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/void-elements/tsconfig.json b/types/void-elements/tsconfig.json index 1df313454e..469052dfe7 100644 --- a/types/void-elements/tsconfig.json +++ b/types/void-elements/tsconfig.json @@ -8,7 +8,6 @@ "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, - "esModuleInterop": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +20,4 @@ "index.d.ts", "void-elements-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/voronoi-diagram/tsconfig.json b/types/voronoi-diagram/tsconfig.json index 12eb3f0b52..74bb32af15 100644 --- a/types/voronoi-diagram/tsconfig.json +++ b/types/voronoi-diagram/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vortex-web-client/tsconfig.json b/types/vortex-web-client/tsconfig.json index ce17ad0232..de0989c9b1 100644 --- a/types/vortex-web-client/tsconfig.json +++ b/types/vortex-web-client/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/voximplant-websdk/tsconfig.json b/types/voximplant-websdk/tsconfig.json index df66438237..28c84ce5a7 100644 --- a/types/voximplant-websdk/tsconfig.json +++ b/types/voximplant-websdk/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vue-resource/tsconfig.json b/types/vue-resource/tsconfig.json index 5c248ee34e..62b9761326 100644 --- a/types/vue-resource/tsconfig.json +++ b/types/vue-resource/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vue-scrollto/tsconfig.json b/types/vue-scrollto/tsconfig.json index c855fcc8fc..720520bdac 100644 --- a/types/vue-scrollto/tsconfig.json +++ b/types/vue-scrollto/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/vuex-i18n/tsconfig.json b/types/vuex-i18n/tsconfig.json index 063a09918d..9f8f6eb2fd 100644 --- a/types/vuex-i18n/tsconfig.json +++ b/types/vuex-i18n/tsconfig.json @@ -16,8 +16,7 @@ "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/w2ui/tsconfig.json b/types/w2ui/tsconfig.json index daa4d80fad..e5a6f41e44 100644 --- a/types/w2ui/tsconfig.json +++ b/types/w2ui/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/w3c-generic-sensor/tsconfig.json b/types/w3c-generic-sensor/tsconfig.json index 604d3c63c3..4a33837faa 100644 --- a/types/w3c-generic-sensor/tsconfig.json +++ b/types/w3c-generic-sensor/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/w3c-image-capture/tsconfig.json b/types/w3c-image-capture/tsconfig.json index 60aaabe0e8..d9d2c4b574 100644 --- a/types/w3c-image-capture/tsconfig.json +++ b/types/w3c-image-capture/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/w3c-screen-orientation/tsconfig.json b/types/w3c-screen-orientation/tsconfig.json index fdbf5ace6e..fa84e114b1 100644 --- a/types/w3c-screen-orientation/tsconfig.json +++ b/types/w3c-screen-orientation/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/w3c-web-usb/tsconfig.json b/types/w3c-web-usb/tsconfig.json index d6a5a0c8ac..dc162699e6 100644 --- a/types/w3c-web-usb/tsconfig.json +++ b/types/w3c-web-usb/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/waitme/tsconfig.json b/types/waitme/tsconfig.json index 7d10c325d3..3ca35aebea 100644 --- a/types/waitme/tsconfig.json +++ b/types/waitme/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wake_on_lan/tsconfig.json b/types/wake_on_lan/tsconfig.json index 502a9625fd..0b9e2067fd 100644 --- a/types/wake_on_lan/tsconfig.json +++ b/types/wake_on_lan/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wallabyjs/tsconfig.json b/types/wallabyjs/tsconfig.json index c3465b310e..903d0deaf0 100644 --- a/types/wallabyjs/tsconfig.json +++ b/types/wallabyjs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wallpaper/tsconfig.json b/types/wallpaper/tsconfig.json index 04f9bf385c..ace8bd1f01 100644 --- a/types/wallpaper/tsconfig.json +++ b/types/wallpaper/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wampy/tsconfig.json b/types/wampy/tsconfig.json index 50fc531710..b324433f07 100644 --- a/types/wampy/tsconfig.json +++ b/types/wampy/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/warning/tsconfig.json b/types/warning/tsconfig.json index 51ecd5f0c5..68b31c6a27 100644 --- a/types/warning/tsconfig.json +++ b/types/warning/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/watch/tsconfig.json b/types/watch/tsconfig.json index 0951f2ae4b..776b11b37f 100644 --- a/types/watch/tsconfig.json +++ b/types/watch/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/watchify/tsconfig.json b/types/watchify/tsconfig.json index 224cf4ffd4..73fd603cc8 100644 --- a/types/watchify/tsconfig.json +++ b/types/watchify/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/watchpack/tsconfig.json b/types/watchpack/tsconfig.json index cd7d18ed93..a9011453a0 100644 --- a/types/watchpack/tsconfig.json +++ b/types/watchpack/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/waterline/tsconfig.json b/types/waterline/tsconfig.json index 836daa79e3..2cdcfaa2d4 100644 --- a/types/waterline/tsconfig.json +++ b/types/waterline/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/watson-developer-cloud/tsconfig.json b/types/watson-developer-cloud/tsconfig.json index 2343c037c6..005bf02ffe 100644 --- a/types/watson-developer-cloud/tsconfig.json +++ b/types/watson-developer-cloud/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/waypoints/tsconfig.json b/types/waypoints/tsconfig.json index e0c26c5097..4acd5d77b4 100644 --- a/types/waypoints/tsconfig.json +++ b/types/waypoints/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wcwidth/tsconfig.json b/types/wcwidth/tsconfig.json index 7583c539b4..8088cd3cc1 100644 --- a/types/wcwidth/tsconfig.json +++ b/types/wcwidth/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/weak/tsconfig.json b/types/weak/tsconfig.json index 5118b7cd06..1e75cff1e1 100644 --- a/types/weak/tsconfig.json +++ b/types/weak/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/weapp-api/tsconfig.json b/types/weapp-api/tsconfig.json index 53181e7140..ef43ffab75 100644 --- a/types/weapp-api/tsconfig.json +++ b/types/weapp-api/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/web-animations-js/tsconfig.json b/types/web-animations-js/tsconfig.json index d5ca47dc24..defb1340f7 100644 --- a/types/web-animations-js/tsconfig.json +++ b/types/web-animations-js/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/web-bluetooth/tsconfig.json b/types/web-bluetooth/tsconfig.json index 51b4d904d9..cb97fe1d0e 100644 --- a/types/web-bluetooth/tsconfig.json +++ b/types/web-bluetooth/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webappsec-credential-management/tsconfig.json b/types/webappsec-credential-management/tsconfig.json index 9647444457..dba66cad28 100644 --- a/types/webappsec-credential-management/tsconfig.json +++ b/types/webappsec-credential-management/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webassembly-js-api/tsconfig.json b/types/webassembly-js-api/tsconfig.json index 9802a74b03..286d2c0fb4 100644 --- a/types/webassembly-js-api/tsconfig.json +++ b/types/webassembly-js-api/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webcl/tsconfig.json b/types/webcl/tsconfig.json index 3aed0c2e27..cd88a172a7 100644 --- a/types/webcl/tsconfig.json +++ b/types/webcl/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webcomponents.js/tsconfig.json b/types/webcomponents.js/tsconfig.json index 5e929791b7..7905e2ea0d 100644 --- a/types/webcomponents.js/tsconfig.json +++ b/types/webcomponents.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webcrypto/tsconfig.json b/types/webcrypto/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/webcrypto/tsconfig.json +++ b/types/webcrypto/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/webdriverio/tsconfig.json b/types/webdriverio/tsconfig.json index 03c5a63ec2..654e7fc599 100644 --- a/types/webdriverio/tsconfig.json +++ b/types/webdriverio/tsconfig.json @@ -16,7 +16,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "target": "es2015" }, "files": [ diff --git a/types/webfontloader/tsconfig.json b/types/webfontloader/tsconfig.json index f2eceb3810..11a2a05131 100644 --- a/types/webfontloader/tsconfig.json +++ b/types/webfontloader/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webgl-ext/tsconfig.json b/types/webgl-ext/tsconfig.json index c6f8843f7a..6c8b906888 100644 --- a/types/webgl-ext/tsconfig.json +++ b/types/webgl-ext/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webgl2/tsconfig.json b/types/webgl2/tsconfig.json index 1610e90df4..097828d97b 100644 --- a/types/webgl2/tsconfig.json +++ b/types/webgl2/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webmidi/tsconfig.json b/types/webmidi/tsconfig.json index d8866e8bf0..f7669ef043 100644 --- a/types/webmidi/tsconfig.json +++ b/types/webmidi/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack-bundle-analyzer/tsconfig.json b/types/webpack-bundle-analyzer/tsconfig.json index efaef323a6..a1bea1a472 100644 --- a/types/webpack-bundle-analyzer/tsconfig.json +++ b/types/webpack-bundle-analyzer/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack-chain/tsconfig.json b/types/webpack-chain/tsconfig.json index ac5b5af8a0..45d1deba96 100644 --- a/types/webpack-chain/tsconfig.json +++ b/types/webpack-chain/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack-chunk-hash/tsconfig.json b/types/webpack-chunk-hash/tsconfig.json index 138bc94dc8..3d85a2216d 100644 --- a/types/webpack-chunk-hash/tsconfig.json +++ b/types/webpack-chunk-hash/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack-cleanup-plugin/tsconfig.json b/types/webpack-cleanup-plugin/tsconfig.json index 3421df6c6b..3e45140ded 100644 --- a/types/webpack-cleanup-plugin/tsconfig.json +++ b/types/webpack-cleanup-plugin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack-dev-middleware/tsconfig.json b/types/webpack-dev-middleware/tsconfig.json index f65edd0eff..1688c1d7f3 100644 --- a/types/webpack-dev-middleware/tsconfig.json +++ b/types/webpack-dev-middleware/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack-dev-middleware/v1/tsconfig.json b/types/webpack-dev-middleware/v1/tsconfig.json index b1e6c31942..32d37ba3c6 100644 --- a/types/webpack-dev-middleware/v1/tsconfig.json +++ b/types/webpack-dev-middleware/v1/tsconfig.json @@ -19,8 +19,7 @@ }, "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack-dev-server/tsconfig.json b/types/webpack-dev-server/tsconfig.json index ad6295996f..93410e23ab 100644 --- a/types/webpack-dev-server/tsconfig.json +++ b/types/webpack-dev-server/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack-dotenv-plugin/tsconfig.json b/types/webpack-dotenv-plugin/tsconfig.json index 32a3d18337..f0b09e0b58 100644 --- a/types/webpack-dotenv-plugin/tsconfig.json +++ b/types/webpack-dotenv-plugin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack-env/tsconfig.json b/types/webpack-env/tsconfig.json index 51bb72d45f..aaf60b78e5 100644 --- a/types/webpack-env/tsconfig.json +++ b/types/webpack-env/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack-fail-plugin/tsconfig.json b/types/webpack-fail-plugin/tsconfig.json index 7637957700..ebd98cd575 100644 --- a/types/webpack-fail-plugin/tsconfig.json +++ b/types/webpack-fail-plugin/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack-hot-middleware/tsconfig.json b/types/webpack-hot-middleware/tsconfig.json index 0170009379..a1d77f8b64 100644 --- a/types/webpack-hot-middleware/tsconfig.json +++ b/types/webpack-hot-middleware/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack-manifest-plugin/tsconfig.json b/types/webpack-manifest-plugin/tsconfig.json index e39a8941f9..bc7e4e0c08 100644 --- a/types/webpack-manifest-plugin/tsconfig.json +++ b/types/webpack-manifest-plugin/tsconfig.json @@ -14,7 +14,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/webpack-merge/tsconfig.json b/types/webpack-merge/tsconfig.json index 2d44b17510..750b2e26f0 100644 --- a/types/webpack-merge/tsconfig.json +++ b/types/webpack-merge/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack-merge/v0/tsconfig.json b/types/webpack-merge/v0/tsconfig.json index aec7b6ab4c..f977c6a9f2 100644 --- a/types/webpack-merge/v0/tsconfig.json +++ b/types/webpack-merge/v0/tsconfig.json @@ -22,8 +22,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack-node-externals/tsconfig.json b/types/webpack-node-externals/tsconfig.json index aef0527d73..f8b3349a6b 100644 --- a/types/webpack-node-externals/tsconfig.json +++ b/types/webpack-node-externals/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack-notifier/tsconfig.json b/types/webpack-notifier/tsconfig.json index b4e32ec724..ca18204781 100644 --- a/types/webpack-notifier/tsconfig.json +++ b/types/webpack-notifier/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack-sources/tsconfig.json b/types/webpack-sources/tsconfig.json index daef83194f..10a0ad4302 100644 --- a/types/webpack-sources/tsconfig.json +++ b/types/webpack-sources/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack-stream/tsconfig.json b/types/webpack-stream/tsconfig.json index f5356da28b..b166f37967 100644 --- a/types/webpack-stream/tsconfig.json +++ b/types/webpack-stream/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack-validator/tsconfig.json b/types/webpack-validator/tsconfig.json index 703f9135eb..63f41272d6 100644 --- a/types/webpack-validator/tsconfig.json +++ b/types/webpack-validator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webpack/tsconfig.json b/types/webpack/tsconfig.json index 45d3fa8887..4cf3324827 100644 --- a/types/webpack/tsconfig.json +++ b/types/webpack/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webrtc/tsconfig.json b/types/webrtc/tsconfig.json index 24a48fd35e..b8074fbae2 100644 --- a/types/webrtc/tsconfig.json +++ b/types/webrtc/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/website-scraper/tsconfig.json b/types/website-scraper/tsconfig.json index eb9ddfea7b..19651124e1 100644 --- a/types/website-scraper/tsconfig.json +++ b/types/website-scraper/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/websocket/tsconfig.json b/types/websocket/tsconfig.json index c4a7965e55..b567131872 100644 --- a/types/websocket/tsconfig.json +++ b/types/websocket/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webspeechapi/tsconfig.json b/types/webspeechapi/tsconfig.json index 1435974552..f1a86255f3 100644 --- a/types/webspeechapi/tsconfig.json +++ b/types/webspeechapi/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/websql/tsconfig.json b/types/websql/tsconfig.json index fdcf91758e..e82ff7c0ec 100644 --- a/types/websql/tsconfig.json +++ b/types/websql/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webtorrent/tsconfig.json b/types/webtorrent/tsconfig.json index 00006dbf7a..3648235528 100644 --- a/types/webtorrent/tsconfig.json +++ b/types/webtorrent/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/webvr-api/tsconfig.json b/types/webvr-api/tsconfig.json index 0c8de8fcd9..38b2249654 100644 --- a/types/webvr-api/tsconfig.json +++ b/types/webvr-api/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/week/tsconfig.json b/types/week/tsconfig.json index fb8eb4d398..75a301476e 100644 --- a/types/week/tsconfig.json +++ b/types/week/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/weighted/tsconfig.json b/types/weighted/tsconfig.json index 4a23926d2b..b9f440df8f 100644 --- a/types/weighted/tsconfig.json +++ b/types/weighted/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/weixin-app/tsconfig.json b/types/weixin-app/tsconfig.json index 18fd585a99..4b2efcd908 100644 --- a/types/weixin-app/tsconfig.json +++ b/types/weixin-app/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wellknown/tsconfig.json b/types/wellknown/tsconfig.json index 47ae05b741..55ca4fc95d 100644 --- a/types/wellknown/tsconfig.json +++ b/types/wellknown/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/whatwg-streams/tsconfig.json b/types/whatwg-streams/tsconfig.json index 51e3a6d6d7..bf84ec6496 100644 --- a/types/whatwg-streams/tsconfig.json +++ b/types/whatwg-streams/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wheel/tsconfig.json b/types/wheel/tsconfig.json index b350ba1d89..2e0f811c37 100644 --- a/types/wheel/tsconfig.json +++ b/types/wheel/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/when/tsconfig.json b/types/when/tsconfig.json index f3cd85259d..f903b8862c 100644 --- a/types/when/tsconfig.json +++ b/types/when/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/which/tsconfig.json b/types/which/tsconfig.json index e7cff3184d..2ee304960e 100644 --- a/types/which/tsconfig.json +++ b/types/which/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/why-did-you-update/tsconfig.json b/types/why-did-you-update/tsconfig.json index b560619601..936ab93030 100644 --- a/types/why-did-you-update/tsconfig.json +++ b/types/why-did-you-update/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wicg-mediasession/tsconfig.json b/types/wicg-mediasession/tsconfig.json index edf2737293..2d8373286c 100644 --- a/types/wicg-mediasession/tsconfig.json +++ b/types/wicg-mediasession/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wiiu/tsconfig.json b/types/wiiu/tsconfig.json index 4396ef637c..06a693d673 100644 --- a/types/wiiu/tsconfig.json +++ b/types/wiiu/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/window-or-global/tsconfig.json b/types/window-or-global/tsconfig.json index 768229cc53..9148664a63 100644 --- a/types/window-or-global/tsconfig.json +++ b/types/window-or-global/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/window-size/tsconfig.json b/types/window-size/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/window-size/tsconfig.json +++ b/types/window-size/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/windows-1251/tsconfig.json b/types/windows-1251/tsconfig.json index cac223b52f..153d7d27e5 100644 --- a/types/windows-1251/tsconfig.json +++ b/types/windows-1251/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/windows-service/tsconfig.json b/types/windows-service/tsconfig.json index 2681d880a2..16d0a0e664 100644 --- a/types/windows-service/tsconfig.json +++ b/types/windows-service/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/winjs/tsconfig.json b/types/winjs/tsconfig.json index 19a01dfff9..d34d6a1d77 100644 --- a/types/winjs/tsconfig.json +++ b/types/winjs/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/winjs/v1/tsconfig.json b/types/winjs/v1/tsconfig.json index 2dbeefcadf..f43a6835b9 100644 --- a/types/winjs/v1/tsconfig.json +++ b/types/winjs/v1/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/winjs/v2/tsconfig.json b/types/winjs/v2/tsconfig.json index 9225246fe9..0fe784e5eb 100644 --- a/types/winjs/v2/tsconfig.json +++ b/types/winjs/v2/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/winreg/tsconfig.json b/types/winreg/tsconfig.json index c745c11a01..c1aaeb509e 100644 --- a/types/winreg/tsconfig.json +++ b/types/winreg/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/winrt-uwp/tsconfig.json b/types/winrt-uwp/tsconfig.json index ac5d4ad13d..0ecda7bfce 100644 --- a/types/winrt-uwp/tsconfig.json +++ b/types/winrt-uwp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/winrt/tsconfig.json b/types/winrt/tsconfig.json index 0a84251dbb..361d559f74 100644 --- a/types/winrt/tsconfig.json +++ b/types/winrt/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/winston-dynamodb/tsconfig.json b/types/winston-dynamodb/tsconfig.json index 40a9e240bf..11a92fe7be 100644 --- a/types/winston-dynamodb/tsconfig.json +++ b/types/winston-dynamodb/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/winston/tsconfig.json b/types/winston/tsconfig.json index 29d82282fb..390e22a274 100644 --- a/types/winston/tsconfig.json +++ b/types/winston/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wiredep/tsconfig.json b/types/wiredep/tsconfig.json index df4b4fd5f6..f7f4e66431 100644 --- a/types/wiredep/tsconfig.json +++ b/types/wiredep/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wiring-pi/tsconfig.json b/types/wiring-pi/tsconfig.json index ae5e273510..c0b1d996a4 100644 --- a/types/wiring-pi/tsconfig.json +++ b/types/wiring-pi/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wnumb/tsconfig.json b/types/wnumb/tsconfig.json index 3cc7088ea3..59a26d6c92 100644 --- a/types/wnumb/tsconfig.json +++ b/types/wnumb/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wonder.js/tsconfig.json b/types/wonder.js/tsconfig.json index a67079670c..01c8dfa305 100644 --- a/types/wonder.js/tsconfig.json +++ b/types/wonder.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/word-list-json/tsconfig.json b/types/word-list-json/tsconfig.json index 32158b8412..3bbe8a5d08 100644 --- a/types/word-list-json/tsconfig.json +++ b/types/word-list-json/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wordcloud/tsconfig.json b/types/wordcloud/tsconfig.json index 98547b616f..e4d3526e5e 100644 --- a/types/wordcloud/tsconfig.json +++ b/types/wordcloud/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/words-to-numbers/tsconfig.json b/types/words-to-numbers/tsconfig.json index ea994452f2..90601f2599 100644 --- a/types/words-to-numbers/tsconfig.json +++ b/types/words-to-numbers/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wrap-ansi/tsconfig.json b/types/wrap-ansi/tsconfig.json index 2fdcdc24f9..8df3c547cc 100644 --- a/types/wrap-ansi/tsconfig.json +++ b/types/wrap-ansi/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wreck/tsconfig.json b/types/wreck/tsconfig.json index 69f20514b1..7b9aa920a7 100644 --- a/types/wreck/tsconfig.json +++ b/types/wreck/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wrench/tsconfig.json b/types/wrench/tsconfig.json index de7db2f894..6f3e1e115c 100644 --- a/types/wrench/tsconfig.json +++ b/types/wrench/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/write-file-atomic/tsconfig.json b/types/write-file-atomic/tsconfig.json index aa82993a38..ef38fa7e14 100644 --- a/types/write-file-atomic/tsconfig.json +++ b/types/write-file-atomic/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/write-json-file/tsconfig.json b/types/write-json-file/tsconfig.json index 301e2f89f9..7eca588265 100644 --- a/types/write-json-file/tsconfig.json +++ b/types/write-json-file/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ws/tsconfig.json b/types/ws/tsconfig.json index e3daeefc35..7ad5917bb1 100644 --- a/types/ws/tsconfig.json +++ b/types/ws/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wtfnode/tsconfig.json b/types/wtfnode/tsconfig.json index bd23bd1fc0..aebc38afe0 100644 --- a/types/wtfnode/tsconfig.json +++ b/types/wtfnode/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wu/tsconfig.json b/types/wu/tsconfig.json index 709b7b7be1..87598365cb 100644 --- a/types/wu/tsconfig.json +++ b/types/wu/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/wx-js-sdk-dt/tsconfig.json b/types/wx-js-sdk-dt/tsconfig.json index 6213a39aa7..b97e63e9c3 100644 --- a/types/wx-js-sdk-dt/tsconfig.json +++ b/types/wx-js-sdk-dt/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/x-editable/tsconfig.json b/types/x-editable/tsconfig.json index 182c396698..086e95a8b0 100644 --- a/types/x-editable/tsconfig.json +++ b/types/x-editable/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/x-ray-crawler/tsconfig.json b/types/x-ray-crawler/tsconfig.json index f71f2e661f..26247c6108 100644 --- a/types/x-ray-crawler/tsconfig.json +++ b/types/x-ray-crawler/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/x-ray/tsconfig.json b/types/x-ray/tsconfig.json index 2e17e1babc..d7865de910 100644 --- a/types/x-ray/tsconfig.json +++ b/types/x-ray/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xdate/tsconfig.json b/types/xdate/tsconfig.json index ef5d21bae8..6862404dfa 100644 --- a/types/xdate/tsconfig.json +++ b/types/xdate/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xdg-basedir/tsconfig.json b/types/xdg-basedir/tsconfig.json index 0e5b0bc4d6..67144b1f3f 100644 --- a/types/xdg-basedir/tsconfig.json +++ b/types/xdg-basedir/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xdomain/tsconfig.json b/types/xdomain/tsconfig.json index 31728666f2..b13ad1fc53 100644 --- a/types/xdomain/tsconfig.json +++ b/types/xdomain/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xml-parser/tsconfig.json b/types/xml-parser/tsconfig.json index 178feab95b..25b8ca0c57 100644 --- a/types/xml-parser/tsconfig.json +++ b/types/xml-parser/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xml/tsconfig.json b/types/xml/tsconfig.json index c4d5915c66..408f1bde77 100644 --- a/types/xml/tsconfig.json +++ b/types/xml/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xml2js/tsconfig.json b/types/xml2js/tsconfig.json index d8bc65d352..b6c83dabe5 100644 --- a/types/xml2js/tsconfig.json +++ b/types/xml2js/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xml2json/tsconfig.json b/types/xml2json/tsconfig.json index 3732af080e..97da8f14ed 100644 --- a/types/xml2json/tsconfig.json +++ b/types/xml2json/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xmlbuilder/tsconfig.json b/types/xmlbuilder/tsconfig.json index bebd886f51..5b01beda43 100644 --- a/types/xmlbuilder/tsconfig.json +++ b/types/xmlbuilder/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xmldoc/tsconfig.json b/types/xmldoc/tsconfig.json index c8e417723f..ec85b52f4f 100644 --- a/types/xmldoc/tsconfig.json +++ b/types/xmldoc/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xmldom/tsconfig.json b/types/xmldom/tsconfig.json index 4d87b18b43..eca77a2584 100644 --- a/types/xmldom/tsconfig.json +++ b/types/xmldom/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xmlpoke/tsconfig.json b/types/xmlpoke/tsconfig.json index 5ee2971212..70dbf19b60 100644 --- a/types/xmlpoke/tsconfig.json +++ b/types/xmlpoke/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xmlrpc/tsconfig.json b/types/xmlrpc/tsconfig.json index a90bc75672..dc38849c0e 100644 --- a/types/xmlrpc/tsconfig.json +++ b/types/xmlrpc/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xmltojson/tsconfig.json b/types/xmltojson/tsconfig.json index bc48765563..8614f0feb8 100644 --- a/types/xmltojson/tsconfig.json +++ b/types/xmltojson/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xmpp__jid/tsconfig.json b/types/xmpp__jid/tsconfig.json index 0400530759..827e25b4fd 100644 --- a/types/xmpp__jid/tsconfig.json +++ b/types/xmpp__jid/tsconfig.json @@ -19,8 +19,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xregexp/tsconfig.json b/types/xregexp/tsconfig.json index 4c08ac93c6..08c3876c26 100644 --- a/types/xregexp/tsconfig.json +++ b/types/xregexp/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xrm/tsconfig.json b/types/xrm/tsconfig.json index 36df26d142..3cf6656150 100644 --- a/types/xrm/tsconfig.json +++ b/types/xrm/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/xrm/v6/tsconfig.json b/types/xrm/v6/tsconfig.json index 01d24f2e11..474c263825 100644 --- a/types/xrm/v6/tsconfig.json +++ b/types/xrm/v6/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xrm/v7/tsconfig.json b/types/xrm/v7/tsconfig.json index fad275bc21..7049164db5 100644 --- a/types/xrm/v7/tsconfig.json +++ b/types/xrm/v7/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xrm/v8/tsconfig.json b/types/xrm/v8/tsconfig.json index 9dbcd1c985..b8c9b525fc 100644 --- a/types/xrm/v8/tsconfig.json +++ b/types/xrm/v8/tsconfig.json @@ -24,7 +24,6 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/xsd-schema-validator/tsconfig.json b/types/xsd-schema-validator/tsconfig.json index 2105a8dc2e..cd7f750ca7 100644 --- a/types/xsd-schema-validator/tsconfig.json +++ b/types/xsd-schema-validator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xsockets/tsconfig.json b/types/xsockets/tsconfig.json index 1894ff303c..7d2656429b 100644 --- a/types/xsockets/tsconfig.json +++ b/types/xsockets/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xss-filters/tsconfig.json b/types/xss-filters/tsconfig.json index 8dd5270571..5a09180498 100644 --- a/types/xss-filters/tsconfig.json +++ b/types/xss-filters/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xtend/tsconfig.json b/types/xtend/tsconfig.json index 96f4e8849c..68d8e3dea0 100644 --- a/types/xtend/tsconfig.json +++ b/types/xtend/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/xxhashjs/tsconfig.json b/types/xxhashjs/tsconfig.json index 92d223a31e..10233fe7f4 100644 --- a/types/xxhashjs/tsconfig.json +++ b/types/xxhashjs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/yallist/tsconfig.json b/types/yallist/tsconfig.json index 67d337e9e7..e1b421b78c 100644 --- a/types/yallist/tsconfig.json +++ b/types/yallist/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/yamljs/tsconfig.json b/types/yamljs/tsconfig.json index edf0dc76d6..d617b3128e 100644 --- a/types/yamljs/tsconfig.json +++ b/types/yamljs/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/yandex-maps/tsconfig.json b/types/yandex-maps/tsconfig.json index 1bf62d4f77..d156097923 100644 --- a/types/yandex-maps/tsconfig.json +++ b/types/yandex-maps/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/yandex-money-sdk/tsconfig.json b/types/yandex-money-sdk/tsconfig.json index cabc632737..e8b7aa37e5 100644 --- a/types/yandex-money-sdk/tsconfig.json +++ b/types/yandex-money-sdk/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/yargs/tsconfig.json b/types/yargs/tsconfig.json index 061816ea36..003b792854 100644 --- a/types/yargs/tsconfig.json +++ b/types/yargs/tsconfig.json @@ -14,11 +14,10 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "yargs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/yargs/v10/tsconfig.json b/types/yargs/v10/tsconfig.json index f83a62301f..b615180ff7 100644 --- a/types/yargs/v10/tsconfig.json +++ b/types/yargs/v10/tsconfig.json @@ -19,11 +19,10 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "yargs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/yargs/v8/tsconfig.json b/types/yargs/v8/tsconfig.json index 49013b4a70..744f9ddc55 100644 --- a/types/yargs/v8/tsconfig.json +++ b/types/yargs/v8/tsconfig.json @@ -19,8 +19,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/yayson/tsconfig.json b/types/yayson/tsconfig.json index 984d064d08..7c8cdbf4a8 100644 --- a/types/yayson/tsconfig.json +++ b/types/yayson/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/ydn-db/tsconfig.json b/types/ydn-db/tsconfig.json index 09ea3337b4..be8afe510b 100644 --- a/types/ydn-db/tsconfig.json +++ b/types/ydn-db/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/yeoman-generator/tsconfig.json b/types/yeoman-generator/tsconfig.json index 8539b6dd4f..ab104bd246 100644 --- a/types/yeoman-generator/tsconfig.json +++ b/types/yeoman-generator/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/yeoman-test/tsconfig.json b/types/yeoman-test/tsconfig.json index c5cb141439..43c2be3164 100644 --- a/types/yeoman-test/tsconfig.json +++ b/types/yeoman-test/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/yog-bigpipe/tsconfig.json b/types/yog-bigpipe/tsconfig.json index c45bd9de69..74dfc3ae1e 100644 --- a/types/yog-bigpipe/tsconfig.json +++ b/types/yog-bigpipe/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/yog-log/tsconfig.json b/types/yog-log/tsconfig.json index 8e78df5624..056d458bf6 100644 --- a/types/yog-log/tsconfig.json +++ b/types/yog-log/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/yog2-kernel/tsconfig.json b/types/yog2-kernel/tsconfig.json index b3b149bdcb..56155a7fec 100644 --- a/types/yog2-kernel/tsconfig.json +++ b/types/yog2-kernel/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/yosay/tsconfig.json b/types/yosay/tsconfig.json index 20a91a2203..884e37fabf 100644 --- a/types/yosay/tsconfig.json +++ b/types/yosay/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/youtube-dl/tsconfig.json b/types/youtube-dl/tsconfig.json index 38ff7be5c1..e4e1a8f527 100644 --- a/types/youtube-dl/tsconfig.json +++ b/types/youtube-dl/tsconfig.json @@ -18,7 +18,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/youtube/tsconfig.json b/types/youtube/tsconfig.json index bbed57fc93..82e6284376 100644 --- a/types/youtube/tsconfig.json +++ b/types/youtube/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/yui/tsconfig.json b/types/yui/tsconfig.json index 352332b6c7..02963e3afd 100644 --- a/types/yui/tsconfig.json +++ b/types/yui/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts" diff --git a/types/yup/tsconfig.json b/types/yup/tsconfig.json index 4c10bc70c7..2f701d2d03 100644 --- a/types/yup/tsconfig.json +++ b/types/yup/tsconfig.json @@ -14,7 +14,6 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true, "strictFunctionTypes": true }, "files": [ diff --git a/types/z-schema/tsconfig.json b/types/z-schema/tsconfig.json index e96a6c3643..54782d4c86 100644 --- a/types/z-schema/tsconfig.json +++ b/types/z-schema/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/zapier-platform-core/tsconfig.json b/types/zapier-platform-core/tsconfig.json index d4ce3793e1..c197914893 100644 --- a/types/zapier-platform-core/tsconfig.json +++ b/types/zapier-platform-core/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/zen-observable/tsconfig.json b/types/zen-observable/tsconfig.json index b31226f4a1..8f7b9ad757 100644 --- a/types/zen-observable/tsconfig.json +++ b/types/zen-observable/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/zen-push/tsconfig.json b/types/zen-push/tsconfig.json index ab99022dc4..7f5c9dded5 100644 --- a/types/zen-push/tsconfig.json +++ b/types/zen-push/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/zenscroll/tsconfig.json b/types/zenscroll/tsconfig.json index 0629a445a4..4d5538d022 100644 --- a/types/zenscroll/tsconfig.json +++ b/types/zenscroll/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/zepto/tsconfig.json b/types/zepto/tsconfig.json index c2da9656bf..cc7da64133 100644 --- a/types/zepto/tsconfig.json +++ b/types/zepto/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/zeroclipboard/tsconfig.json b/types/zeroclipboard/tsconfig.json index 4844201b54..135f2186a1 100644 --- a/types/zeroclipboard/tsconfig.json +++ b/types/zeroclipboard/tsconfig.json @@ -19,7 +19,6 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true } } \ No newline at end of file diff --git a/types/zeroclipboard/v1/tsconfig.json b/types/zeroclipboard/v1/tsconfig.json index 70c6d4cc6a..357f8f8784 100644 --- a/types/zeroclipboard/v1/tsconfig.json +++ b/types/zeroclipboard/v1/tsconfig.json @@ -20,8 +20,7 @@ ] }, "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/zeromq/tsconfig.json b/types/zeromq/tsconfig.json index 8191817265..ada0d8a1c7 100644 --- a/types/zeromq/tsconfig.json +++ b/types/zeromq/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/zip.js/tsconfig.json b/types/zip.js/tsconfig.json index ef85f2f086..a655a790d8 100644 --- a/types/zip.js/tsconfig.json +++ b/types/zip.js/tsconfig.json @@ -15,8 +15,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/zipcodes/tsconfig.json b/types/zipcodes/tsconfig.json index 8c2869c026..5958e9b659 100644 --- a/types/zipcodes/tsconfig.json +++ b/types/zipcodes/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/zipkin-context-cls/tsconfig.json b/types/zipkin-context-cls/tsconfig.json index 5b2ca84bc2..57430d50b2 100644 --- a/types/zipkin-context-cls/tsconfig.json +++ b/types/zipkin-context-cls/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/zipkin-instrumentation-express/tsconfig.json b/types/zipkin-instrumentation-express/tsconfig.json index 16d973e846..fe28fc0e75 100644 --- a/types/zipkin-instrumentation-express/tsconfig.json +++ b/types/zipkin-instrumentation-express/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/zipkin-instrumentation-fetch/tsconfig.json b/types/zipkin-instrumentation-fetch/tsconfig.json index c334eb552c..56ca69ea74 100644 --- a/types/zipkin-instrumentation-fetch/tsconfig.json +++ b/types/zipkin-instrumentation-fetch/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/zipkin-transport-http/tsconfig.json b/types/zipkin-transport-http/tsconfig.json index 8d1b312d10..7ed663b14b 100644 --- a/types/zipkin-transport-http/tsconfig.json +++ b/types/zipkin-transport-http/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/zmq/tsconfig.json b/types/zmq/tsconfig.json index 1224fce889..03a35a4048 100644 --- a/types/zmq/tsconfig.json +++ b/types/zmq/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/zookeeper/tsconfig.json b/types/zookeeper/tsconfig.json index c3c04d56cc..8a2da6e565 100644 --- a/types/zookeeper/tsconfig.json +++ b/types/zookeeper/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/zui/tsconfig.json b/types/zui/tsconfig.json index 32b9886589..a2d866908a 100644 --- a/types/zui/tsconfig.json +++ b/types/zui/tsconfig.json @@ -16,8 +16,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/zxcvbn/tsconfig.json b/types/zxcvbn/tsconfig.json index 9361d06492..c31dddc18b 100644 --- a/types/zxcvbn/tsconfig.json +++ b/types/zxcvbn/tsconfig.json @@ -14,8 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", From 5cea434a40cf6b96c396eb98598bf7e1f78afcde Mon Sep 17 00:00:00 2001 From: Christopher McGinnis Date: Wed, 14 Feb 2018 15:08:12 -0800 Subject: [PATCH 439/463] Added tests, fixed errant import and foreign return type --- types/knex/index.d.ts | 3 +-- types/knex/knex-tests.ts | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/types/knex/index.d.ts b/types/knex/index.d.ts index 9c405f1d9c..138e2e586c 100644 --- a/types/knex/index.d.ts +++ b/types/knex/index.d.ts @@ -13,7 +13,6 @@ import events = require("events"); import stream = require ("stream"); import Bluebird = require("bluebird"); -import { ColumnBuilder } from "knex"; type Callback = Function; type Client = Function; @@ -441,7 +440,7 @@ declare namespace Knex { index(columnNames: (string | Raw)[], indexName?: string, indexType?: string): TableBuilder; unique(columnNames: (string | Raw)[], indexName?: string): TableBuilder; foreign(column: string, foreignKeyName?: string): ForeignConstraintBuilder; - foreign(columns: string[], foreignKeyName?: string): ForeignConstraintBuilder; + foreign(columns: string[], foreignKeyName?: string): MultikeyForeignConstraintBuilder; dropForeign(columnNames: string[], foreignKeyName?: string): TableBuilder; dropUnique(columnNames: (string | Raw)[], indexName?: string): TableBuilder; dropPrimary(constraintName?: string): TableBuilder; diff --git a/types/knex/knex-tests.ts b/types/knex/knex-tests.ts index 3aaefb6909..c817483d48 100644 --- a/types/knex/knex-tests.ts +++ b/types/knex/knex-tests.ts @@ -1039,6 +1039,10 @@ knex.schema .dropTableIfExists('A') .createTable('A', table => { table.integer('C').unsigned().references('B.id').notNullable(); + table.integer('D').primary('PK').notNullable(); + table.string('E').unique('UX').nullable(); + table.foreign('E', 'FK').references('F.id'); + table.timestamp('T', false).notNullable(); }); From 2ea886bcc4cd3d46d37e96e7026a353a7ed22688 Mon Sep 17 00:00:00 2001 From: Ralph Gutkowski Date: Thu, 15 Feb 2018 01:33:50 +0000 Subject: [PATCH 440/463] Add tests --- types/knex/knex-tests.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/knex/knex-tests.ts b/types/knex/knex-tests.ts index 3aaefb6909..4e44f8e6b8 100644 --- a/types/knex/knex-tests.ts +++ b/types/knex/knex-tests.ts @@ -160,6 +160,7 @@ var knex = Knex({ // Knex Query Builder knex.select('title', 'author', 'year').from('books'); +knex.select({ name: 'title', writer: 'author' }).from(knex.raw('books')); knex.select().table('books'); knex.avg('sum_column1').from(function() { From 6e6cd093148ae5adbdd17230a5490a22352702dc Mon Sep 17 00:00:00 2001 From: SoraYama Date: Thu, 15 Feb 2018 10:02:13 +0800 Subject: [PATCH 441/463] remove redundant return JSDoc tag --- types/urllib/index.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/types/urllib/index.d.ts b/types/urllib/index.d.ts index 296eacebdf..f9e7100b8c 100644 --- a/types/urllib/index.d.ts +++ b/types/urllib/index.d.ts @@ -244,7 +244,6 @@ export class HttpClient2 extends EventEmitter { /** * Create a HttpClient incetance. - * @param options - * @return HttpClient incetance. + * @param options @see RequestOptions */ export function create(options?: RequestOptions): HttpClient; From 0a610caae603623ee18e1c642e88a9b19f6da80e Mon Sep 17 00:00:00 2001 From: Marcin Baszczewski Date: Thu, 15 Feb 2018 09:37:02 +0100 Subject: [PATCH 442/463] add missing "remove" event API: https://node-postgres.com/api/pool#-code-pool-on-39-remove-39-client-client-gt-void-gt-void-code- --- types/pg/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/pg/index.d.ts b/types/pg/index.d.ts index 3876468087..b2b8af73e5 100644 --- a/types/pg/index.d.ts +++ b/types/pg/index.d.ts @@ -113,7 +113,7 @@ export class Pool extends events.EventEmitter { query(queryText: string, values: any[], callback: (err: Error, result: QueryResult) => void): Query; on(event: "error", listener: (err: Error, client: PoolClient) => void): this; - on(event: "connect" | "acquire", listener: (client: PoolClient) => void): this; + on(event: "connect" | "acquire" | "remove", listener: (client: PoolClient) => void): this; } export class ClientBase extends events.EventEmitter { From f1dade361c5093fce639d4ae1435faf17dd56950 Mon Sep 17 00:00:00 2001 From: Anton Vasin Date: Thu, 15 Feb 2018 14:45:50 +0300 Subject: [PATCH 443/463] Update props to reflect latest changes --- types/grid-styled/index.d.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/types/grid-styled/index.d.ts b/types/grid-styled/index.d.ts index 5b5a3d4d90..bea89b9237 100644 --- a/types/grid-styled/index.d.ts +++ b/types/grid-styled/index.d.ts @@ -37,29 +37,28 @@ export interface CommonProps { } export interface BoxProps -extends Omit, "width" | "wrap" | "is"> { + extends Omit, "width" | "wrap" | "is"> { flex: ResponsiveProp; order: ResponsiveProp; is: string | ComponentClass; } export interface FlexProps extends BoxProps { - wrap: ResponsiveProp | boolean; - direction: ResponsiveProp | boolean; align: ResponsiveProp | boolean; justify: ResponsiveProp | boolean; - column: boolean; + flexDirection: ResponsiveProp | boolean; + wrap: ResponsiveProp | boolean; } export type BoxComponent = StyledComponentClass< Partial, any - >; +>; export type FlexComponent = StyledComponentClass< Partial, any - >; +>; export interface Theme { breakpoints: string[]; From 8724e0c12856a5edbddd82b1afa09ebc1173409c Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Thu, 15 Feb 2018 07:14:23 -0800 Subject: [PATCH 444/463] Remove redundant jsdoc --- types/urllib/index.d.ts | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/types/urllib/index.d.ts b/types/urllib/index.d.ts index f9e7100b8c..c6a6f6a46e 100644 --- a/types/urllib/index.d.ts +++ b/types/urllib/index.d.ts @@ -114,7 +114,6 @@ export interface RequestOptions { } /** - * @param err Error * @param data Outgoing message * @param res http response */ @@ -131,38 +130,30 @@ export type Callback = (err: Error, data: any, res: http.IncomingMessage) => voi * urllib.request('http://httptest.cnodejs.net/test/post', args, function(err, data, res) {}); * * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see RequestOptions. */ export function request(url: string | url.URL, options?: RequestOptions): Promise; /** * @param url The URL to request, either a String or a Object that return by url.parse. - * @param callback @see Callback */ export function request(url: string | url.URL, callback: Callback): void; /** * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options @see RequestOptions. - * @param callback @see Callback */ export function request(url: string | url.URL, options: RequestOptions, callback: Callback): void; /** * Handle request with a callback. * @param url The URL to request, either a String or a Object that return by url.parse. - * @param callback @see Callback */ export function requestWithCallback(url: string | url.URL, callback: Callback): void; /** * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options @see RequestOptions. - * @param callback @see Callback */ export function requestWithCallback(url: string | url.URL, options: RequestOptions, callback: Callback): void; /** * yield urllib.requestThunk(url, args) * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options Optional, @see RequestOptions. */ export function requestThunk(url: string | url.URL, options?: RequestOptions): (callback: (...args: any[]) => void) => void; @@ -183,13 +174,10 @@ export function requestThunk(url: string | url.URL, options?: RequestOptions): ( export function curl(url: string | url.URL, options?: RequestOptions): Promise; /** * @param url The URL to request, either a String or a Object that return by url.parse. - * @param callback @see Callback */ export function curl(url: string | url.URL, callback: Callback): void; /** * @param url The URL to request, either a String or a Object that return by url.parse. - * @param options @see RequestOptions. - * @param callback @see Callback */ export function curl(url: string | url.URL, options: RequestOptions, callback: Callback): void; /** @@ -243,7 +231,6 @@ export class HttpClient2 extends EventEmitter { } /** - * Create a HttpClient incetance. - * @param options @see RequestOptions + * Create a HttpClient instance. */ export function create(options?: RequestOptions): HttpClient; From a02c0315c7f438f1ebebf4435f59c198b5ff02c4 Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Thu, 15 Feb 2018 17:31:10 +0200 Subject: [PATCH 445/463] Default properties --- .../activex-iwshruntimelibrary-tests.ts | 12 ++++++------ types/activex-iwshruntimelibrary/index.d.ts | 15 ++++----------- 2 files changed, 10 insertions(+), 17 deletions(-) diff --git a/types/activex-iwshruntimelibrary/activex-iwshruntimelibrary-tests.ts b/types/activex-iwshruntimelibrary/activex-iwshruntimelibrary-tests.ts index f39627cc1a..14a90f9a8a 100644 --- a/types/activex-iwshruntimelibrary/activex-iwshruntimelibrary-tests.ts +++ b/types/activex-iwshruntimelibrary/activex-iwshruntimelibrary-tests.ts @@ -4,11 +4,11 @@ const wshn = new ActiveXObject('WScript.Network'); // https://msdn.microsoft.com/en-us/library/wck0hkd7(v=vs.84).aspx // https://msdn.microsoft.com/en-us/library/tte130y1(v=vs.84).aspx // https://msdn.microsoft.com/en-us/library/3fxhka75(v=vs.84).aspx -(() => { +{ WScript.Echo('Domain = ' + wshn.UserDomain); WScript.Echo('Computer Name = ' + wshn.ComputerName); WScript.Echo('User Name = ' + wshn.UserName); -})(); +} // https://msdn.microsoft.com/en-us/library/zsdh7hkb(v=vs.84).aspx wshn.AddWindowsPrinterConnection('\\\\printserv\\DefaultPrinter'); @@ -18,7 +18,7 @@ wshn.AddPrinterConnection("LPT1", "\\\\Server\\Print1"); // https://msdn.microsoft.com/en-us/library/t9zt39at(v=vs.84).aspx // https://msdn.microsoft.com/en-us/library/zhds6k80(v=vs.84).aspx -(() => { +{ const drives = wshn.EnumNetworkDrives(); const printers = wshn.EnumPrinterConnections(); WScript.Echo("Network drive mappings:"); @@ -30,7 +30,7 @@ wshn.AddPrinterConnection("LPT1", "\\\\Server\\Print1"); for (let i = 0; i < printers.length; i += 2) { WScript.Echo(`Port ${printers.Item(i)} = ${printers.Item(i + 1)}`); } -})(); +} // https://msdn.microsoft.com/en-us/library/8kst88h6(v=vs.84).aspx wshn.MapNetworkDrive('E:', '\\\\Server\\Public'); @@ -42,8 +42,8 @@ wshn.RemoveNetworkDrive('E:'); wshn.RemovePrinterConnection('\\\\PRN-CORP1\\B41-4523-A', true, true); // https://msdn.microsoft.com/en-us/library/2ccwwdct(v=vs.84).aspx -(() => { +{ const printerPath = "\\\\research\\library1"; wshn.AddWindowsPrinterConnection(printerPath); wshn.SetDefaultPrinter(printerPath); -})(); +} diff --git a/types/activex-iwshruntimelibrary/index.d.ts b/types/activex-iwshruntimelibrary/index.d.ts index 904f25f102..d5b052eaae 100644 --- a/types/activex-iwshruntimelibrary/index.d.ts +++ b/types/activex-iwshruntimelibrary/index.d.ts @@ -98,22 +98,20 @@ declare namespace IWshRuntimeLibrary { } /** Generic Collection Object */ - class WshCollection { - private 'IWshRuntimeLibrary.WshCollection_typekey': WshCollection; - private constructor(); + interface WshCollection { Count(): number; Item(Index: any): any; readonly length: number; + (Index: any): any; } /** Environment Variables Collection Object */ - class WshEnvironment { - private 'IWshRuntimeLibrary.WshEnvironment_typekey': WshEnvironment; - private constructor(); + interface WshEnvironment { Count(): number; Item(Name: string): string; readonly length: number; Remove(Name: string): void; + (Name: string): string; } /** WSHExec object */ @@ -348,8 +346,3 @@ interface ActiveXObjectNameMap { 'WScript.Network': IWshRuntimeLibrary.WshNetwork; 'WScript.Shell': IWshRuntimeLibrary.WshShell; } - -interface EnumeratorConstructor { - new(col: IWshRuntimeLibrary.WshCollection): Enumerator; - new(col: IWshRuntimeLibrary.WshEnvironment): Enumerator; -} From dbc93ec906808f604542ab084978234ccdc7f745 Mon Sep 17 00:00:00 2001 From: Christopher Cordero Date: Thu, 15 Feb 2018 11:11:19 -0500 Subject: [PATCH 446/463] Add optional offset variables to DragPreviewOptions --- types/react-dnd/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/react-dnd/index.d.ts b/types/react-dnd/index.d.ts index 465b3aeca1..6625903ad1 100644 --- a/types/react-dnd/index.d.ts +++ b/types/react-dnd/index.d.ts @@ -125,6 +125,8 @@ declare module __ReactDnd { captureDraggingState?: boolean; anchorX?: number; anchorY?: number; + offsetX?: number; + offsetY?: number; } type ConnectDragSource = DragElementWrapper; From 51222f3dc981afb43d3cbeb342ead1d5c884e84c Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Thu, 15 Feb 2018 11:35:04 -0500 Subject: [PATCH 447/463] Add type definition for @rgrove/parse-xml. --- types/rgrove__parse-xml/index.d.ts | 53 +++++++++++++ .../rgrove__parse-xml-tests.ts | 8 ++ types/rgrove__parse-xml/tsconfig.json | 27 +++++++ types/rgrove__parse-xml/tslint.json | 79 +++++++++++++++++++ 4 files changed, 167 insertions(+) create mode 100644 types/rgrove__parse-xml/index.d.ts create mode 100644 types/rgrove__parse-xml/rgrove__parse-xml-tests.ts create mode 100644 types/rgrove__parse-xml/tsconfig.json create mode 100644 types/rgrove__parse-xml/tslint.json diff --git a/types/rgrove__parse-xml/index.d.ts b/types/rgrove__parse-xml/index.d.ts new file mode 100644 index 0000000000..c642415055 --- /dev/null +++ b/types/rgrove__parse-xml/index.d.ts @@ -0,0 +1,53 @@ +// Type definitions for @rgrove/parse-xml 1.1.1 +// Project: https://github.com/rgrove/parse-xml +// Definitions by: Pete Johanson +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +declare function parseXml(name: string, options?: parseXml.ParseOptions): parseXml.IDocument; + +declare namespace parseXml { + export interface INode { + parent?: INode; + type: string; + } + + export interface IDocument extends INode { + type: "document"; + children: Node[]; + } + + export interface ICData extends INode { + type: "cdata"; + text: string; + } + + export interface IComment extends INode { + type: "comment"; + content: string; + } + + export interface IText extends INode { + type: "text"; + text: string; + } + + export interface IElement extends INode { + type: "element"; + attributes: { [key: string]: string }; + children: INode[]; + name: string; + preserveWhitespace?: string; + } + + export type Node = ICData | IComment | IElement | IText; + + export interface ParseOptions { + ignoreUndefinedEntities?: boolean; + preserveCdata?: boolean; + preserveComments?: boolean; + resolveUndefinedEntity?: (ref: string) => string; + } +} + +export = parseXml diff --git a/types/rgrove__parse-xml/rgrove__parse-xml-tests.ts b/types/rgrove__parse-xml/rgrove__parse-xml-tests.ts new file mode 100644 index 0000000000..99fd5a4131 --- /dev/null +++ b/types/rgrove__parse-xml/rgrove__parse-xml-tests.ts @@ -0,0 +1,8 @@ +/// +import assert = require('assert'); +import parseXml = require('@rgrove/parse-xml'); + +let doc = parseXml(''); +doc.type === "document"; +assert.equal(doc.children[0].type, "element"); +assert.equal((doc.children[0] as parseXml.IElement).name, "party"); diff --git a/types/rgrove__parse-xml/tsconfig.json b/types/rgrove__parse-xml/tsconfig.json new file mode 100644 index 0000000000..b939e6d003 --- /dev/null +++ b/types/rgrove__parse-xml/tsconfig.json @@ -0,0 +1,27 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "paths": { + "@rgrove/parse-xml": ["rgrove__parse-xml"] + }, + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "rgrove__parse-xml-tests.ts" + ] +} diff --git a/types/rgrove__parse-xml/tslint.json b/types/rgrove__parse-xml/tslint.json new file mode 100644 index 0000000000..a41bf5d19a --- /dev/null +++ b/types/rgrove__parse-xml/tslint.json @@ -0,0 +1,79 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "adjacent-overload-signatures": false, + "array-type": false, + "arrow-return-shorthand": false, + "ban-types": false, + "callable-types": false, + "comment-format": false, + "dt-header": false, + "eofline": false, + "export-just-namespace": false, + "import-spacing": false, + "interface-name": false, + "interface-over-type-literal": false, + "jsdoc-format": false, + "max-line-length": false, + "member-access": false, + "new-parens": false, + "no-any-union": false, + "no-boolean-literal-compare": false, + "no-conditional-assignment": false, + "no-consecutive-blank-lines": false, + "no-construct": false, + "no-declare-current-package": false, + "no-duplicate-imports": false, + "no-duplicate-variable": false, + "no-empty-interface": false, + "no-for-in-array": false, + "no-inferrable-types": false, + "no-internal-module": false, + "no-irregular-whitespace": false, + "no-mergeable-namespace": false, + "no-misused-new": false, + "no-namespace": false, + "no-object-literal-type-assertion": false, + "no-padding": false, + "no-redundant-jsdoc": false, + "no-redundant-jsdoc-2": false, + "no-redundant-undefined": false, + "no-reference-import": false, + "no-relative-import-in-test": false, + "no-self-import": false, + "no-single-declare-module": false, + "no-string-throw": false, + "no-unnecessary-callback-wrapper": false, + "no-unnecessary-class": false, + "no-unnecessary-generics": false, + "no-unnecessary-qualifier": false, + "no-unnecessary-type-assertion": false, + "no-useless-files": false, + "no-var-keyword": false, + "no-var-requires": false, + "no-void-expression": false, + "no-trailing-whitespace": false, + "object-literal-key-quotes": false, + "object-literal-shorthand": false, + "one-line": false, + "one-variable-per-declaration": false, + "only-arrow-functions": false, + "prefer-conditional-expression": false, + "prefer-const": false, + "prefer-declare-function": false, + "prefer-for-of": false, + "prefer-method-signature": false, + "prefer-template": false, + "radix": false, + "semicolon": false, + "space-before-function-paren": false, + "space-within-parens": false, + "strict-export-declare-modifiers": false, + "trim-file": false, + "triple-equals": false, + "typedef-whitespace": false, + "unified-signatures": false, + "void-return": false, + "whitespace": false + } +} From f7e46ef1c4214f115d7e24b798ae6b2b0c1c3896 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Thu, 15 Feb 2018 19:28:25 +0100 Subject: [PATCH 448/463] Set source-maps to 0.6.x --- types/webpack/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/webpack/package.json b/types/webpack/package.json index 96c1491edd..59c231c54c 100644 --- a/types/webpack/package.json +++ b/types/webpack/package.json @@ -1,6 +1,6 @@ { "private": true, "dependencies": { - "source-map": "^0.7.0" + "source-map": "^0.6.0" } } From 4f6a0f0676c4dddbbbabc0a2100f670ddbc9d94e Mon Sep 17 00:00:00 2001 From: Openbyte Date: Thu, 15 Feb 2018 19:36:49 +0100 Subject: [PATCH 449/463] Added declarations for 'object-merge' --- types/object-merge/index.d.ts | 163 +++++++++++++++++++++++ types/object-merge/object-merge-tests.ts | 53 ++++++++ types/object-merge/tsconfig.json | 24 ++++ types/object-merge/tslint.json | 1 + 4 files changed, 241 insertions(+) create mode 100644 types/object-merge/index.d.ts create mode 100644 types/object-merge/object-merge-tests.ts create mode 100644 types/object-merge/tsconfig.json create mode 100644 types/object-merge/tslint.json diff --git a/types/object-merge/index.d.ts b/types/object-merge/index.d.ts new file mode 100644 index 0000000000..33ef99276d --- /dev/null +++ b/types/object-merge/index.d.ts @@ -0,0 +1,163 @@ +// Type definitions for object-merge 2.5.1 +// Project: https://github.com/matthewkastor/object-merge +// Definitions by: OpenByteDev +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + + +type ObjectMergeOptions = { depth: number|boolean, throwOnCircularRef: boolean }; + +interface ObjectMerge { + /** + * Merges JavaScript objects recursively without altering the objects merged. + * @namespace Merges JavaScript objects recursively without altering the objects merged. + * @author Matthew Kastor + * @param {ObjectMergeOptions} [opts] An options object created by + * objectMerge.createOptions. Options must be specified as the first argument + * and must be an object created with createOptions or else the object will + * not be recognized as an options object and will be merged instead. + * @param {Object} shadows [[shadows]...] One or more objects to merge. Each + * argument given will be treated as an object to merge. Each object + * overwrites the previous objects descendant properties if the property name + * matches. If objects properties are objects they will be merged recursively + * as well. + * @returns {Object} Returns a single merged object composed from clones of the + * input objects. + * @example + * var objectMerge = require('object-merge'); + * var x = { + * a : 'a', + * b : 'b', + * c : { + * d : 'd', + * e : 'e', + * f : { + * g : 'g' + * } + * } + * }; + * var y = { + * a : '`a', + * b : '`b', + * c : { + * d : '`d' + * } + * }; + * var z = { + * a : { + * b : '``b' + * }, + * fun : function foo () { + * return 'foo'; + * }, + * aps : Array.prototype.slice + * }; + * var out = objectMerge(x, y, z); + * // out.a will be { + * // b : '``b' + * // } + * // out.b will be '`b' + * // out.c will be { + * // d : '`d', + * // e : 'e', + * // f : { + * // g : 'g' + * // } + * // } + * // out.fun will be a clone of z.fun + * // out.aps will be equal to z.aps + */ + (opts: ObjectMergeOptions, ...shadows: object[]): object + /** + * Merges JavaScript objects recursively without altering the objects merged. + * @namespace Merges JavaScript objects recursively without altering the objects merged. + * @author Matthew Kastor + * @param {Object} shadows [[shadows]...] One or more objects to merge. Each + * argument given will be treated as an object to merge. Each object + * overwrites the previous objects descendant properties if the property name + * matches. If objects properties are objects they will be merged recursively + * as well. + * @returns {Object} Returns a single merged object composed from clones of the + * input objects. + * @example + * var objectMerge = require('object-merge'); + * var x = { + * a : 'a', + * b : 'b', + * c : { + * d : 'd', + * e : 'e', + * f : { + * g : 'g' + * } + * } + * }; + * var y = { + * a : '`a', + * b : '`b', + * c : { + * d : '`d' + * } + * }; + * var z = { + * a : { + * b : '``b' + * }, + * fun : function foo () { + * return 'foo'; + * }, + * aps : Array.prototype.slice + * }; + * var out = objectMerge(x, y, z); + * // out.a will be { + * // b : '``b' + * // } + * // out.b will be '`b' + * // out.c will be { + * // d : '`d', + * // e : 'e', + * // f : { + * // g : 'g' + * // } + * // } + * // out.fun will be a clone of z.fun + * // out.aps will be equal to z.aps + */ + (...shadows: object[]): object + /** + * Creates a new options object suitable for use with objectMerge. + * @memberOf objectMerge + * @param {Object} [opts] An object specifying the options. + * @param {Object} [opts.depth = false] Specifies the depth to traverse objects + * during merging. If this is set to false then there will be no depth limit. + * @param {Object} [opts.throwOnCircularRef = true] Set to false to suppress + * errors on circular references. + * @returns {ObjectMergeOptions} Returns an instance of ObjectMergeOptions + * to be used with objectMerge. + * @example + * var opts = objectMerge.createOptions({ + * depth : 2, + * throwOnCircularRef : false + * }); + * var obj1 = { + * a1 : { + * a2 : { + * a3 : {} + * } + * } + * }; + * var obj2 = { + * a1 : { + * a2 : { + * a3 : 'will not be in output' + * }, + * a22 : {} + * } + * }; + * objectMerge(opts, obj1, obj2); + */ + createOptions: (options:object) => ObjectMergeOptions +} + +declare const objectMerge: ObjectMerge; + +export default objectMerge; \ No newline at end of file diff --git a/types/object-merge/object-merge-tests.ts b/types/object-merge/object-merge-tests.ts new file mode 100644 index 0000000000..9c2adba824 --- /dev/null +++ b/types/object-merge/object-merge-tests.ts @@ -0,0 +1,53 @@ +import objectMerge from 'object-merge'; + +let x = { + a : 'a', + b : 'b', + c : { + d : 'd', + e : 'e', + f : { + g : 'g' + + } + } +}; +let y = { + a : '`a', + b : '`b', + c : { + d : '`d' + } +}; +let z = { + a : { + b : '``b' + }, + fun : function foo () { + return 'foo'; + }, + aps : Array.prototype.slice +}; + +let out = objectMerge(x, y, z); + + + +let a = { + 'a1' : { + 'a2' : { + 'a3' : {} + } + } +}; +let b = { + 'b1' : { + 'b2' : { + 'b3' : {} + } + } +}; +let opts = objectMerge.createOptions({depth : 2}); +let res = objectMerge(opts, a, b); + +objectMerge(a, b); \ No newline at end of file diff --git a/types/object-merge/tsconfig.json b/types/object-merge/tsconfig.json new file mode 100644 index 0000000000..c098631639 --- /dev/null +++ b/types/object-merge/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "object-merge-tests.ts" + ] +} \ No newline at end of file diff --git a/types/object-merge/tslint.json b/types/object-merge/tslint.json new file mode 100644 index 0000000000..4e88071852 --- /dev/null +++ b/types/object-merge/tslint.json @@ -0,0 +1 @@ +{"extends": "dtslint/dt.json"} From 8219cae7aeff5cf60f335dc670710325f6239731 Mon Sep 17 00:00:00 2001 From: Openbyte Date: Thu, 15 Feb 2018 20:05:57 +0100 Subject: [PATCH 450/463] removed linting errors --- types/object-merge/index.d.ts | 299 ++++++++++++----------- types/object-merge/object-merge-tests.ts | 36 ++- 2 files changed, 165 insertions(+), 170 deletions(-) diff --git a/types/object-merge/index.d.ts b/types/object-merge/index.d.ts index 33ef99276d..f200c1e268 100644 --- a/types/object-merge/index.d.ts +++ b/types/object-merge/index.d.ts @@ -1,163 +1,164 @@ -// Type definitions for object-merge 2.5.1 +// Type definitions for object-merge 2.5 // Project: https://github.com/matthewkastor/object-merge // Definitions by: OpenByteDev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 -type ObjectMergeOptions = { depth: number|boolean, throwOnCircularRef: boolean }; +interface ObjectMergeOptions { + depth: number|boolean; + throwOnCircularRef: boolean; +} interface ObjectMerge { /** - * Merges JavaScript objects recursively without altering the objects merged. - * @namespace Merges JavaScript objects recursively without altering the objects merged. - * @author Matthew Kastor - * @param {ObjectMergeOptions} [opts] An options object created by - * objectMerge.createOptions. Options must be specified as the first argument - * and must be an object created with createOptions or else the object will - * not be recognized as an options object and will be merged instead. - * @param {Object} shadows [[shadows]...] One or more objects to merge. Each - * argument given will be treated as an object to merge. Each object - * overwrites the previous objects descendant properties if the property name - * matches. If objects properties are objects they will be merged recursively - * as well. - * @returns {Object} Returns a single merged object composed from clones of the - * input objects. - * @example - * var objectMerge = require('object-merge'); - * var x = { - * a : 'a', - * b : 'b', - * c : { - * d : 'd', - * e : 'e', - * f : { - * g : 'g' - * } - * } - * }; - * var y = { - * a : '`a', - * b : '`b', - * c : { - * d : '`d' - * } - * }; - * var z = { - * a : { - * b : '``b' - * }, - * fun : function foo () { - * return 'foo'; - * }, - * aps : Array.prototype.slice - * }; - * var out = objectMerge(x, y, z); - * // out.a will be { - * // b : '``b' - * // } - * // out.b will be '`b' - * // out.c will be { - * // d : '`d', - * // e : 'e', - * // f : { - * // g : 'g' - * // } - * // } - * // out.fun will be a clone of z.fun - * // out.aps will be equal to z.aps - */ - (opts: ObjectMergeOptions, ...shadows: object[]): object + * Merges JavaScript objects recursively without altering the objects merged. + * @author Matthew Kastor + * @param [opts] An options object created by + * objectMerge.createOptions. Options must be specified as the first argument + * and must be an object created with createOptions or else the object will + * not be recognized as an options object and will be merged instead. + * @param shadows [[shadows]...] One or more objects to merge. Each + * argument given will be treated as an object to merge. Each object + * overwrites the previous objects descendant properties if the property name + * matches. If objects properties are objects they will be merged recursively + * as well. + * @returns Returns a single merged object composed from clones of the + * input objects. + * @example + * var objectMerge = require('object-merge'); + * var x = { + * a : 'a', + * b : 'b', + * c : { + * d : 'd', + * e : 'e', + * f : { + * g : 'g' + * } + * } + * }; + * var y = { + * a : '`a', + * b : '`b', + * c : { + * d : '`d' + * } + * }; + * var z = { + * a : { + * b : '``b' + * }, + * fun : function foo () { + * return 'foo'; + * }, + * aps : Array.prototype.slice + * }; + * var out = objectMerge(x, y, z); + * // out.a will be { + * // b : '``b' + * // } + * // out.b will be '`b' + * // out.c will be { + * // d : '`d', + * // e : 'e', + * // f : { + * // g : 'g' + * // } + * // } + * // out.fun will be a clone of z.fun + * // out.aps will be equal to z.aps + */ + (opts: ObjectMergeOptions, ...shadows: object[]): object; /** - * Merges JavaScript objects recursively without altering the objects merged. - * @namespace Merges JavaScript objects recursively without altering the objects merged. - * @author Matthew Kastor - * @param {Object} shadows [[shadows]...] One or more objects to merge. Each - * argument given will be treated as an object to merge. Each object - * overwrites the previous objects descendant properties if the property name - * matches. If objects properties are objects they will be merged recursively - * as well. - * @returns {Object} Returns a single merged object composed from clones of the - * input objects. - * @example - * var objectMerge = require('object-merge'); - * var x = { - * a : 'a', - * b : 'b', - * c : { - * d : 'd', - * e : 'e', - * f : { - * g : 'g' - * } - * } - * }; - * var y = { - * a : '`a', - * b : '`b', - * c : { - * d : '`d' - * } - * }; - * var z = { - * a : { - * b : '``b' - * }, - * fun : function foo () { - * return 'foo'; - * }, - * aps : Array.prototype.slice - * }; - * var out = objectMerge(x, y, z); - * // out.a will be { - * // b : '``b' - * // } - * // out.b will be '`b' - * // out.c will be { - * // d : '`d', - * // e : 'e', - * // f : { - * // g : 'g' - * // } - * // } - * // out.fun will be a clone of z.fun - * // out.aps will be equal to z.aps - */ - (...shadows: object[]): object + * Merges JavaScript objects recursively without altering the objects merged. + * @author Matthew Kastor + * @param shadows [[shadows]...] One or more objects to merge. Each + * argument given will be treated as an object to merge. Each object + * overwrites the previous objects descendant properties if the property name + * matches. If objects properties are objects they will be merged recursively + * as well. + * @returns Returns a single merged object composed from clones of the + * input objects. + * @example + * var objectMerge = require('object-merge'); + * var x = { + * a : 'a', + * b : 'b', + * c : { + * d : 'd', + * e : 'e', + * f : { + * g : 'g' + * } + * } + * }; + * var y = { + * a : '`a', + * b : '`b', + * c : { + * d : '`d' + * } + * }; + * var z = { + * a : { + * b : '``b' + * }, + * fun : function foo () { + * return 'foo'; + * }, + * aps : Array.prototype.slice + * }; + * var out = objectMerge(x, y, z); + * // out.a will be { + * // b : '``b' + * // } + * // out.b will be '`b' + * // out.c will be { + * // d : '`d', + * // e : 'e', + * // f : { + * // g : 'g' + * // } + * // } + * // out.fun will be a clone of z.fun + * // out.aps will be equal to z.aps + */ + (...shadows: object[]): object; /** - * Creates a new options object suitable for use with objectMerge. - * @memberOf objectMerge - * @param {Object} [opts] An object specifying the options. - * @param {Object} [opts.depth = false] Specifies the depth to traverse objects - * during merging. If this is set to false then there will be no depth limit. - * @param {Object} [opts.throwOnCircularRef = true] Set to false to suppress - * errors on circular references. - * @returns {ObjectMergeOptions} Returns an instance of ObjectMergeOptions - * to be used with objectMerge. - * @example - * var opts = objectMerge.createOptions({ - * depth : 2, - * throwOnCircularRef : false - * }); - * var obj1 = { - * a1 : { - * a2 : { - * a3 : {} - * } - * } - * }; - * var obj2 = { - * a1 : { - * a2 : { - * a3 : 'will not be in output' - * }, - * a22 : {} - * } - * }; - * objectMerge(opts, obj1, obj2); - */ - createOptions: (options:object) => ObjectMergeOptions + * Creates a new options object suitable for use with objectMerge. + * @param [opts] An object specifying the options. + * @param [opts.depth = false] Specifies the depth to traverse objects + * during merging. If this is set to false then there will be no depth limit. + * @param [opts.throwOnCircularRef = true] Set to false to suppress + * errors on circular references. + * @returns Returns an instance of ObjectMergeOptions + * to be used with objectMerge. + * @example + * var opts = objectMerge.createOptions({ + * depth : 2, + * throwOnCircularRef : false + * }); + * var obj1 = { + * a1 : { + * a2 : { + * a3 : {} + * } + * } + * }; + * var obj2 = { + * a1 : { + * a2 : { + * a3 : 'will not be in output' + * }, + * a22 : {} + * } + * }; + * objectMerge(opts, obj1, obj2); + */ + createOptions: (options: object) => ObjectMergeOptions; } declare const objectMerge: ObjectMerge; -export default objectMerge; \ No newline at end of file +export default objectMerge; diff --git a/types/object-merge/object-merge-tests.ts b/types/object-merge/object-merge-tests.ts index 9c2adba824..e0b2d69ad0 100644 --- a/types/object-merge/object-merge-tests.ts +++ b/types/object-merge/object-merge-tests.ts @@ -1,6 +1,6 @@ import objectMerge from 'object-merge'; -let x = { +const x = { a : 'a', b : 'b', c : { @@ -8,46 +8,40 @@ let x = { e : 'e', f : { g : 'g' - } } }; -let y = { +const y = { a : '`a', b : '`b', c : { d : '`d' } }; -let z = { +const z = { a : { b : '``b' }, - fun : function foo () { + fun : function foo() { return 'foo'; }, aps : Array.prototype.slice }; +const out = objectMerge(x, y, z); -let out = objectMerge(x, y, z); - - - -let a = { - 'a1' : { - 'a2' : { - 'a3' : {} +const a = { + a1 : { + a2 : { + a3 : {} } } }; -let b = { - 'b1' : { - 'b2' : { - 'b3' : {} +const b = { + b1 : { + b2 : { + b3 : {} } } }; -let opts = objectMerge.createOptions({depth : 2}); -let res = objectMerge(opts, a, b); - -objectMerge(a, b); \ No newline at end of file +const opts = objectMerge.createOptions({depth : 2}); +const res = objectMerge(opts, a, b); From 1d8e36534448331a3c1ffd7fb5501126ee7bb848 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Thu, 15 Feb 2018 14:39:50 -0500 Subject: [PATCH 451/463] Add new type for URITemplate input parameter. --- types/urijs/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/urijs/index.d.ts b/types/urijs/index.d.ts index 4b5e9706ff..61f1887948 100644 --- a/types/urijs/index.d.ts +++ b/types/urijs/index.d.ts @@ -236,9 +236,10 @@ declare namespace uri { type URITemplateValue = string | ReadonlyArray | { [key: string] : string } | undefined | null; type URITemplateCallback = (keyName: string) => URITemplateValue; + type URITemplateInput = { [key: string]: URITemplateValue | URITemplateCallback } | URITemplateCallback; interface URITemplate { - expand(data: { [key: string]: URITemplateValue | URITemplateCallback } | URITemplateCallback, opts?: Object) : URI; + expand(data: URITemplateInput, opts?: Object) : URI; } interface URITemplateStatic { From cdcb61923b42ea0426b88ada6011f3bf4fa8d2f9 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Thu, 15 Feb 2018 14:54:17 -0500 Subject: [PATCH 452/463] Re-enable full linting, and code fixes accordingly. --- types/rgrove__parse-xml/index.d.ts | 28 +++---- .../rgrove__parse-xml-tests.ts | 4 +- types/rgrove__parse-xml/tslint.json | 78 +------------------ 3 files changed, 17 insertions(+), 93 deletions(-) diff --git a/types/rgrove__parse-xml/index.d.ts b/types/rgrove__parse-xml/index.d.ts index c642415055..f8e9944047 100644 --- a/types/rgrove__parse-xml/index.d.ts +++ b/types/rgrove__parse-xml/index.d.ts @@ -1,48 +1,48 @@ -// Type definitions for @rgrove/parse-xml 1.1.1 +// Type definitions for @rgrove/parse-xml 1.1 // Project: https://github.com/rgrove/parse-xml // Definitions by: Pete Johanson // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 -declare function parseXml(name: string, options?: parseXml.ParseOptions): parseXml.IDocument; +declare function parseXml(name: string, options?: parseXml.ParseOptions): parseXml.Document; declare namespace parseXml { - export interface INode { - parent?: INode; + interface NodeBase { + parent?: NodeBase; type: string; } - export interface IDocument extends INode { + interface Document extends NodeBase { type: "document"; - children: Node[]; + children: NodeBase[]; } - export interface ICData extends INode { + interface CData extends NodeBase { type: "cdata"; text: string; } - export interface IComment extends INode { + interface Comment extends NodeBase { type: "comment"; content: string; } - export interface IText extends INode { + interface Text extends NodeBase { type: "text"; text: string; } - export interface IElement extends INode { + interface Element extends NodeBase { type: "element"; attributes: { [key: string]: string }; - children: INode[]; + children: NodeBase[]; name: string; preserveWhitespace?: string; } - export type Node = ICData | IComment | IElement | IText; + type Node = CData | Comment | Element | Text; - export interface ParseOptions { + interface ParseOptions { ignoreUndefinedEntities?: boolean; preserveCdata?: boolean; preserveComments?: boolean; @@ -50,4 +50,4 @@ declare namespace parseXml { } } -export = parseXml +export = parseXml; diff --git a/types/rgrove__parse-xml/rgrove__parse-xml-tests.ts b/types/rgrove__parse-xml/rgrove__parse-xml-tests.ts index 99fd5a4131..797465da3c 100644 --- a/types/rgrove__parse-xml/rgrove__parse-xml-tests.ts +++ b/types/rgrove__parse-xml/rgrove__parse-xml-tests.ts @@ -2,7 +2,7 @@ import assert = require('assert'); import parseXml = require('@rgrove/parse-xml'); -let doc = parseXml(''); +const doc = parseXml(''); doc.type === "document"; assert.equal(doc.children[0].type, "element"); -assert.equal((doc.children[0] as parseXml.IElement).name, "party"); +assert.equal((doc.children[0] as parseXml.Element).name, "party"); diff --git a/types/rgrove__parse-xml/tslint.json b/types/rgrove__parse-xml/tslint.json index a41bf5d19a..f93cf8562a 100644 --- a/types/rgrove__parse-xml/tslint.json +++ b/types/rgrove__parse-xml/tslint.json @@ -1,79 +1,3 @@ { - "extends": "dtslint/dt.json", - "rules": { - "adjacent-overload-signatures": false, - "array-type": false, - "arrow-return-shorthand": false, - "ban-types": false, - "callable-types": false, - "comment-format": false, - "dt-header": false, - "eofline": false, - "export-just-namespace": false, - "import-spacing": false, - "interface-name": false, - "interface-over-type-literal": false, - "jsdoc-format": false, - "max-line-length": false, - "member-access": false, - "new-parens": false, - "no-any-union": false, - "no-boolean-literal-compare": false, - "no-conditional-assignment": false, - "no-consecutive-blank-lines": false, - "no-construct": false, - "no-declare-current-package": false, - "no-duplicate-imports": false, - "no-duplicate-variable": false, - "no-empty-interface": false, - "no-for-in-array": false, - "no-inferrable-types": false, - "no-internal-module": false, - "no-irregular-whitespace": false, - "no-mergeable-namespace": false, - "no-misused-new": false, - "no-namespace": false, - "no-object-literal-type-assertion": false, - "no-padding": false, - "no-redundant-jsdoc": false, - "no-redundant-jsdoc-2": false, - "no-redundant-undefined": false, - "no-reference-import": false, - "no-relative-import-in-test": false, - "no-self-import": false, - "no-single-declare-module": false, - "no-string-throw": false, - "no-unnecessary-callback-wrapper": false, - "no-unnecessary-class": false, - "no-unnecessary-generics": false, - "no-unnecessary-qualifier": false, - "no-unnecessary-type-assertion": false, - "no-useless-files": false, - "no-var-keyword": false, - "no-var-requires": false, - "no-void-expression": false, - "no-trailing-whitespace": false, - "object-literal-key-quotes": false, - "object-literal-shorthand": false, - "one-line": false, - "one-variable-per-declaration": false, - "only-arrow-functions": false, - "prefer-conditional-expression": false, - "prefer-const": false, - "prefer-declare-function": false, - "prefer-for-of": false, - "prefer-method-signature": false, - "prefer-template": false, - "radix": false, - "semicolon": false, - "space-before-function-paren": false, - "space-within-parens": false, - "strict-export-declare-modifiers": false, - "trim-file": false, - "triple-equals": false, - "typedef-whitespace": false, - "unified-signatures": false, - "void-return": false, - "whitespace": false - } + "extends": "dtslint/dt.json" } From b004b3389668f861948078eb522b3a79df980957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Bezr=C4=85k?= Date: Thu, 15 Feb 2018 21:10:11 +0100 Subject: [PATCH 453/463] react-big-calendar: fix package version, cleanup tslint rules --- types/react-big-calendar/index.d.ts | 342 +++++++++--------- .../react-big-calendar-tests.tsx | 30 +- types/react-big-calendar/tslint.json | 80 +--- 3 files changed, 186 insertions(+), 266 deletions(-) diff --git a/types/react-big-calendar/index.d.ts b/types/react-big-calendar/index.d.ts index f40e10ffce..bcaee40549 100644 --- a/types/react-big-calendar/index.d.ts +++ b/types/react-big-calendar/index.d.ts @@ -1,197 +1,193 @@ -// Type definitions for react-big-calendar 0.18.0 +// Type definitions for react-big-calendar 0.18 // Project: https://github.com/intljusticemission/react-big-calendar -// Definitions by: Piotr Witek +// Definitions by: Piotr Witek // Austin Turner // Krzysztof Bezrąk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.6 -declare module 'react-big-calendar' { - import * as React from 'react'; +import * as React from 'react'; - export type stringOrDate = string | Date; - export type View = 'month' | 'week' | 'work_week' | 'day' | 'agenda'; - export type Navigate = 'PREV' | 'NEXT' | 'TODAY' | 'DATE'; - export interface Format { - /** - * Format for the day of the month heading in the Month view. - * e.g. "01", "02", "03", etc - */ - dateFormat?: string, +export type stringOrDate = string | Date; +export type View = 'month' | 'week' | 'work_week' | 'day' | 'agenda'; +export type Navigate = 'PREV' | 'NEXT' | 'TODAY' | 'DATE'; +export interface Format { + /** + * Format for the day of the month heading in the Month view. + * e.g. "01", "02", "03", etc + */ + dateFormat?: string; - /** - * A day of the week format for Week and Day headings, - * e.g. "Wed 01/04" - * - */ - dayFormat?: string, + /** + * A day of the week format for Week and Day headings, + * e.g. "Wed 01/04" + * + */ + dayFormat?: string; - /** - * Week day name format for the Month week day headings, - * e.g: "Sun", "Mon", "Tue", etc - * - */ - weekdayFormat?: string, + /** + * Week day name format for the Month week day headings, + * e.g: "Sun", "Mon", "Tue", etc + * + */ + weekdayFormat?: string; - /** - * The timestamp cell formats in Week and Time views, e.g. "4:00 AM" - */ - timeGutterFormat?: string, + /** + * The timestamp cell formats in Week and Time views, e.g. "4:00 AM" + */ + timeGutterFormat?: string; - /** - * Toolbar header format for the Month view, e.g "2015 April" - * - */ - monthHeaderFormat?: string, + /** + * Toolbar header format for the Month view, e.g "2015 April" + * + */ + monthHeaderFormat?: string; - /** - * Toolbar header format for the Week views, e.g. "Mar 29 - Apr 04" - */ - dayRangeHeaderFormat?: string, + /** + * Toolbar header format for the Week views, e.g. "Mar 29 - Apr 04" + */ + dayRangeHeaderFormat?: string; - /** - * Toolbar header format for the Day view, e.g. "Wednesday Apr 01" - */ - dayHeaderFormat?: string, + /** + * Toolbar header format for the Day view, e.g. "Wednesday Apr 01" + */ + dayHeaderFormat?: string; - /** - * Toolbar header format for the Agenda view, e.g. "4/1/2015 — 5/1/2015" - */ - agendaHeaderFormat?: string, + /** + * Toolbar header format for the Agenda view, e.g. "4/1/2015 — 5/1/2015" + */ + agendaHeaderFormat?: string; - /** - * A time range format for selecting time slots, e.g "8:00am — 2:00pm" - */ - selectRangeFormat?: string, + /** + * A time range format for selecting time slots, e.g "8:00am — 2:00pm" + */ + selectRangeFormat?: string; - agendaDateFormat?: string, - agendaTimeFormat?: string, - agendaTimeRangeFormat?: string, + agendaDateFormat?: string; + agendaTimeFormat?: string; + agendaTimeRangeFormat?: string; - /** - * Time range displayed on events. - */ - eventTimeRangeFormat?: string, + /** + * Time range displayed on events. + */ + eventTimeRangeFormat?: string; - /** - * An optional event time range for events that continue onto another day - */ - eventTimeRangeStartFormat?: string, + /** + * An optional event time range for events that continue onto another day + */ + eventTimeRangeStartFormat?: string; - /** - * An optional event time range for events that continue from another day - */ - eventTimeRangeEndFormat?: string, - } + /** + * An optional event time range for events that continue from another day + */ + eventTimeRangeEndFormat?: string; +} - export interface Components { - event?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - eventWrapper?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - dayWrapper?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - dateCellWrapper?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - toolbar?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - agenda?: { - date?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - time?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - event?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - }, - day?: { - header?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - event?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - }, - week?: { - header?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - event?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - }, - month?: { - header?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - dateHeader?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - event?: React.SFC | React.Component | React.ComponentClass | JSX.Element, - }, - } +export interface Components { + event?: React.SFC | React.Component | React.ComponentClass | JSX.Element; + eventWrapper?: React.SFC | React.Component | React.ComponentClass | JSX.Element; + dayWrapper?: React.SFC | React.Component | React.ComponentClass | JSX.Element; + dateCellWrapper?: React.SFC | React.Component | React.ComponentClass | JSX.Element; + toolbar?: React.SFC | React.Component | React.ComponentClass | JSX.Element; + agenda?: { + date?: React.SFC | React.Component | React.ComponentClass | JSX.Element; + time?: React.SFC | React.Component | React.ComponentClass | JSX.Element; + event?: React.SFC | React.Component | React.ComponentClass | JSX.Element; + }; + day?: { + header?: React.SFC | React.Component | React.ComponentClass | JSX.Element; + event?: React.SFC | React.Component | React.ComponentClass | JSX.Element; + }; + week?: { + header?: React.SFC | React.Component | React.ComponentClass | JSX.Element; + event?: React.SFC | React.Component | React.ComponentClass | JSX.Element; + }; + month?: { + header?: React.SFC | React.Component | React.ComponentClass | JSX.Element; + dateHeader?: React.SFC | React.Component | React.ComponentClass | JSX.Element; + event?: React.SFC | React.Component | React.ComponentClass | JSX.Element; + }; +} - export interface Messages { - date?: string, - time?: string, - event?: string, - allDay?: string, - week?: string, - work_week?: string, - day?: string, - month?: string, - previous?: string, - next?: string, - yesterday?: string, - tomorrow?: string, - today?: string, - agenda?: string, - showMore?: (count: number) => string; - } +export interface Messages { + date?: string; + time?: string; + event?: string; + allDay?: string; + week?: string; + work_week?: string; + day?: string; + month?: string; + previous?: string; + next?: string; + yesterday?: string; + tomorrow?: string; + today?: string; + agenda?: string; + showMore?: (count: number) => string; +} - export interface BigCalendarProps extends React.Props { - date?: stringOrDate; - now?: Date; - view?: View; - events?: Object[]; - onNavigate?: (newDate: Date, action: Navigate) => void; - onView?: (view: View) => void; - onDrillDown?: (date: Date, view: View) => void; - onSelectSlot?: (slotInfo: { start: stringOrDate, end: stringOrDate, slots: Date[] | string[], action: 'select' | 'click' | 'doubleClick' }) => void; - onDoubleClickEvent?: (event: Object, e: React.SyntheticEvent) => void; - onSelectEvent?: (event: Object, e: React.SyntheticEvent) => void; - onSelecting?: (range: { start: stringOrDate, end: stringOrDate }) => boolean | undefined | null; - selected?: any; - views?: View[] | { - month: boolean | React.SFC | React.Component, - week: boolean | React.SFC | React.Component, - myweek: boolean | React.SFC | React.Component, - }; - drilldownView?: View | null; - getDrilldownView?: ((targetDate: Date, currentViewName: View, configuredViewNames: View[]) => void) | null; - length?: number; - toolbar?: boolean; - popup?: boolean; - popupOffset?: number | { x: number, y: number }; - selectable?: boolean | 'ignoreEvents'; - longPressThreshold?: number; - step?: number; - timeslots?: number; - rtl?: boolean; - eventPropGetter?: (event: Object, start: stringOrDate, end: stringOrDate, isSelected: boolean) => { className?: string, style?: React.CSSProperties }; - slotPropGetter?: (date: Date) => { className?: string, style?: Object }; - dayPropGetter?: (date: Date) => { className?: string, style?: Object }; - showMultiDayTimes?: boolean; - min?: stringOrDate; - max?: stringOrDate; - scrollToTime?: Date; - culture?: string; - formats?: Format; - components?: Components; - messages?: Messages; - titleAccessor?: string | ((event: any) => string); - allDayAccessor?: string | ((event: any) => boolean); - startAccessor?: string | ((event: any) => Date); - endAccessor?: string | ((event: any) => Date); - resourceAccessor?: string | ((event: any) => any); - resources?: any[]; - resourceIdAccessor?: string | ((event: any) => any); - resourceTitleAccessor?: string | ((event: any) => string); - defaultView?: View; - defaultDate?: Date; - className?: string; - elementProps?: React.HTMLAttributes; - } +export interface BigCalendarProps extends React.Props { + date?: stringOrDate; + now?: Date; + view?: View; + events?: object[]; + onNavigate?: (newDate: Date, action: Navigate) => void; + onView?: (view: View) => void; + onDrillDown?: (date: Date, view: View) => void; + onSelectSlot?: (slotInfo: { start: stringOrDate, end: stringOrDate, slots: Date[] | string[], action: 'select' | 'click' | 'doubleClick' }) => void; + onDoubleClickEvent?: (event: object, e: React.SyntheticEvent) => void; + onSelectEvent?: (event: object, e: React.SyntheticEvent) => void; + onSelecting?: (range: { start: stringOrDate, end: stringOrDate }) => boolean | undefined | null; + selected?: any; + views?: View[] | { + month: boolean | React.SFC | React.Component, + week: boolean | React.SFC | React.Component, + myweek: boolean | React.SFC | React.Component, + }; + drilldownView?: View | null; + getDrilldownView?: ((targetDate: Date, currentViewName: View, configuredViewNames: View[]) => void) | null; + length?: number; + toolbar?: boolean; + popup?: boolean; + popupOffset?: number | { x: number, y: number }; + selectable?: boolean | 'ignoreEvents'; + longPressThreshold?: number; + step?: number; + timeslots?: number; + rtl?: boolean; + eventPropGetter?: (event: object, start: stringOrDate, end: stringOrDate, isSelected: boolean) => { className?: string, style?: React.CSSProperties }; + slotPropGetter?: (date: Date) => { className?: string, style?: object }; + dayPropGetter?: (date: Date) => { className?: string, style?: object }; + showMultiDayTimes?: boolean; + min?: stringOrDate; + max?: stringOrDate; + scrollToTime?: Date; + culture?: string; + formats?: Format; + components?: Components; + messages?: Messages; + titleAccessor?: string | ((event: any) => string); + allDayAccessor?: string | ((event: any) => boolean); + startAccessor?: string | ((event: any) => Date); + endAccessor?: string | ((event: any) => Date); + resourceAccessor?: string | ((event: any) => any); + resources?: any[]; + resourceIdAccessor?: string | ((event: any) => any); + resourceTitleAccessor?: string | ((event: any) => string); + defaultView?: View; + defaultDate?: Date; + className?: string; + elementProps?: React.HTMLAttributes; +} - class BigCalendar extends React.Component { - /** - * Setup the localizer by providing the moment Object - */ - static momentLocalizer(momentInstance: Object): void; - /** - * Setup the localizer by providing the globalize Object - */ - static globalizeLocalizer(globalizeInstance: Object): void; - } - - export default BigCalendar; +export default class BigCalendar extends React.Component { + /** + * Setup the localizer by providing the moment Object + */ + static momentLocalizer(momentInstance: object): void; + /** + * Setup the localizer by providing the globalize Object + */ + static globalizeLocalizer(globalizeInstance: object): void; } diff --git a/types/react-big-calendar/react-big-calendar-tests.tsx b/types/react-big-calendar/react-big-calendar-tests.tsx index f963ca4148..dbb1753332 100644 --- a/types/react-big-calendar/react-big-calendar-tests.tsx +++ b/types/react-big-calendar/react-big-calendar-tests.tsx @@ -13,13 +13,13 @@ BigCalendar.momentLocalizer(moment); // http://intljusticemission.github.io/react-big-calendar/examples/index.html class CalendarEvent { - public title: string; - public allDay: boolean; - public start: Date; - public end: Date; - public desc: string; + title: string; + allDay: boolean; + start: Date; + end: Date; + desc: string; - public constructor(_title: string, _start: Date, _end: Date, _allDay?: boolean, _desc?: string) { + constructor(_title: string, _start: Date, _end: Date, _allDay?: boolean, _desc?: string) { this.title = _title; this.allDay = _allDay || false; this.start = _start; @@ -106,7 +106,7 @@ console.log('Test Results -> FullAPIExample', fullApiExampleHtml); // Test fixtures function getEvents(): CalendarEvent[] { - var events: CalendarEvent[] = [ + const events: CalendarEvent[] = [ new CalendarEvent('All Day Event', new Date(2015, 3, 0), new Date(2015, 3, 0), true), new CalendarEvent('Long Event', new Date(2015, 3, 7), new Date(2015, 3, 10)), new CalendarEvent('DTS STARTS', new Date(2016, 2, 13, 0, 0, 0), new Date(2016, 2, 20, 0, 0, 0)), @@ -121,7 +121,7 @@ function getEvents(): CalendarEvent[] { new CalendarEvent('Birthday Party', new Date(2015, 3, 13, 7, 0, 0), new Date(2015, 3, 13, 10, 30, 0)), ]; return events; -}; +} class EventAgenda extends React.Component { render() { @@ -141,17 +141,17 @@ const customDayPropGetter = (date: Date) => { style: { border: 'solid 3px ' + (date.getDate() === 7 ? '#faa' : '#afa'), }, - } - else return {} -} + }; + else return {}; +}; const customSlotPropGetter = (date: Date) => { if (date.getDate() === 7 || date.getDate() === 15) return { className: 'special-day', - } - else return {} -} + }; + else return {}; +}; function Event(event: any) { return ( @@ -159,5 +159,5 @@ function Event(event: any) { {event.title} {event.desc && ': ' + event.desc} - ) + ); } diff --git a/types/react-big-calendar/tslint.json b/types/react-big-calendar/tslint.json index a41bf5d19a..e60c15844f 100644 --- a/types/react-big-calendar/tslint.json +++ b/types/react-big-calendar/tslint.json @@ -1,79 +1,3 @@ { - "extends": "dtslint/dt.json", - "rules": { - "adjacent-overload-signatures": false, - "array-type": false, - "arrow-return-shorthand": false, - "ban-types": false, - "callable-types": false, - "comment-format": false, - "dt-header": false, - "eofline": false, - "export-just-namespace": false, - "import-spacing": false, - "interface-name": false, - "interface-over-type-literal": false, - "jsdoc-format": false, - "max-line-length": false, - "member-access": false, - "new-parens": false, - "no-any-union": false, - "no-boolean-literal-compare": false, - "no-conditional-assignment": false, - "no-consecutive-blank-lines": false, - "no-construct": false, - "no-declare-current-package": false, - "no-duplicate-imports": false, - "no-duplicate-variable": false, - "no-empty-interface": false, - "no-for-in-array": false, - "no-inferrable-types": false, - "no-internal-module": false, - "no-irregular-whitespace": false, - "no-mergeable-namespace": false, - "no-misused-new": false, - "no-namespace": false, - "no-object-literal-type-assertion": false, - "no-padding": false, - "no-redundant-jsdoc": false, - "no-redundant-jsdoc-2": false, - "no-redundant-undefined": false, - "no-reference-import": false, - "no-relative-import-in-test": false, - "no-self-import": false, - "no-single-declare-module": false, - "no-string-throw": false, - "no-unnecessary-callback-wrapper": false, - "no-unnecessary-class": false, - "no-unnecessary-generics": false, - "no-unnecessary-qualifier": false, - "no-unnecessary-type-assertion": false, - "no-useless-files": false, - "no-var-keyword": false, - "no-var-requires": false, - "no-void-expression": false, - "no-trailing-whitespace": false, - "object-literal-key-quotes": false, - "object-literal-shorthand": false, - "one-line": false, - "one-variable-per-declaration": false, - "only-arrow-functions": false, - "prefer-conditional-expression": false, - "prefer-const": false, - "prefer-declare-function": false, - "prefer-for-of": false, - "prefer-method-signature": false, - "prefer-template": false, - "radix": false, - "semicolon": false, - "space-before-function-paren": false, - "space-within-parens": false, - "strict-export-declare-modifiers": false, - "trim-file": false, - "triple-equals": false, - "typedef-whitespace": false, - "unified-signatures": false, - "void-return": false, - "whitespace": false - } -} + "extends": "dtslint/dt.json" +} \ No newline at end of file From cc7375aeea8e03c760878c257e1a1180fce18272 Mon Sep 17 00:00:00 2001 From: Artur Sianiuk Date: Wed, 7 Feb 2018 19:25:55 +0300 Subject: [PATCH 454/463] added definition for autosuggest-highlight --- .../autosuggest-highlight-tests.ts | 11 +++++++++ types/autosuggest-highlight/index.d.ts | 7 ++++++ types/autosuggest-highlight/match/index.d.ts | 1 + types/autosuggest-highlight/parse/index.d.ts | 1 + types/autosuggest-highlight/tsconfig.json | 23 +++++++++++++++++++ types/autosuggest-highlight/tslint.json | 1 + 6 files changed, 44 insertions(+) create mode 100644 types/autosuggest-highlight/autosuggest-highlight-tests.ts create mode 100644 types/autosuggest-highlight/index.d.ts create mode 100644 types/autosuggest-highlight/match/index.d.ts create mode 100644 types/autosuggest-highlight/parse/index.d.ts create mode 100644 types/autosuggest-highlight/tsconfig.json create mode 100644 types/autosuggest-highlight/tslint.json diff --git a/types/autosuggest-highlight/autosuggest-highlight-tests.ts b/types/autosuggest-highlight/autosuggest-highlight-tests.ts new file mode 100644 index 0000000000..01cc135baf --- /dev/null +++ b/types/autosuggest-highlight/autosuggest-highlight-tests.ts @@ -0,0 +1,11 @@ +import match from 'autosuggest-highlight/match'; +import parse from 'autosuggest-highlight/parse'; + +function matchTest() { + let matches = match('some text', 'te'); // $ExpectType number[] | number[][] + matches = match('some sweet text', 's s'); // $ExpectType number[] | number[][] +} + +function parseTest() { + const parts = parse('Pretty cool text', [[7, 9], [12, 13]]); // $ExpectType { text: string; highlight: boolean; }[] +} diff --git a/types/autosuggest-highlight/index.d.ts b/types/autosuggest-highlight/index.d.ts new file mode 100644 index 0000000000..60f862c458 --- /dev/null +++ b/types/autosuggest-highlight/index.d.ts @@ -0,0 +1,7 @@ +// Type definitions for autosuggest-highlight 3.1 +// Project: https://github.com/moroshko/autosuggest-highlight#readme +// Definitions by: Artur Sianiuk +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +export { default as match } from './match'; +export { default as parse } from './parse'; diff --git a/types/autosuggest-highlight/match/index.d.ts b/types/autosuggest-highlight/match/index.d.ts new file mode 100644 index 0000000000..16060877a5 --- /dev/null +++ b/types/autosuggest-highlight/match/index.d.ts @@ -0,0 +1 @@ +export default function match(text: string, query: string): number[] | number[][]; diff --git a/types/autosuggest-highlight/parse/index.d.ts b/types/autosuggest-highlight/parse/index.d.ts new file mode 100644 index 0000000000..3544b5be7f --- /dev/null +++ b/types/autosuggest-highlight/parse/index.d.ts @@ -0,0 +1 @@ +export default function parse(text: string, matches: number[] | number[][]): { text: string; highlight: boolean; }[]; diff --git a/types/autosuggest-highlight/tsconfig.json b/types/autosuggest-highlight/tsconfig.json new file mode 100644 index 0000000000..d7f8b02cb7 --- /dev/null +++ b/types/autosuggest-highlight/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "autosuggest-highlight-tests.ts" + ] +} diff --git a/types/autosuggest-highlight/tslint.json b/types/autosuggest-highlight/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/autosuggest-highlight/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From d74751dfb11ae643574c1d5fd311ab45375e8cb1 Mon Sep 17 00:00:00 2001 From: Artur Sianiuk Date: Wed, 7 Feb 2018 19:41:44 +0300 Subject: [PATCH 455/463] fixed issues --- types/autosuggest-highlight/index.d.ts | 1 + types/autosuggest-highlight/tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/types/autosuggest-highlight/index.d.ts b/types/autosuggest-highlight/index.d.ts index 60f862c458..1a06173632 100644 --- a/types/autosuggest-highlight/index.d.ts +++ b/types/autosuggest-highlight/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/moroshko/autosuggest-highlight#readme // Definitions by: Artur Sianiuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 export { default as match } from './match'; export { default as parse } from './parse'; diff --git a/types/autosuggest-highlight/tsconfig.json b/types/autosuggest-highlight/tsconfig.json index d7f8b02cb7..2ce549d53c 100644 --- a/types/autosuggest-highlight/tsconfig.json +++ b/types/autosuggest-highlight/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", From 62fe0cdf8656c914223f27060b1d85d0c8b7b093 Mon Sep 17 00:00:00 2001 From: Artur Sianiuk Date: Thu, 15 Feb 2018 14:00:59 +0300 Subject: [PATCH 456/463] fixes according to code review --- types/autosuggest-highlight/autosuggest-highlight-tests.ts | 4 ++-- types/autosuggest-highlight/index.d.ts | 3 --- types/autosuggest-highlight/match/index.d.ts | 4 +++- types/autosuggest-highlight/parse/index.d.ts | 4 +++- types/autosuggest-highlight/tslint.json | 7 ++++++- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/types/autosuggest-highlight/autosuggest-highlight-tests.ts b/types/autosuggest-highlight/autosuggest-highlight-tests.ts index 01cc135baf..50283a24bd 100644 --- a/types/autosuggest-highlight/autosuggest-highlight-tests.ts +++ b/types/autosuggest-highlight/autosuggest-highlight-tests.ts @@ -1,5 +1,5 @@ -import match from 'autosuggest-highlight/match'; -import parse from 'autosuggest-highlight/parse'; +import match = require('autosuggest-highlight/match'); +import parse = require('autosuggest-highlight/parse'); function matchTest() { let matches = match('some text', 'te'); // $ExpectType number[] | number[][] diff --git a/types/autosuggest-highlight/index.d.ts b/types/autosuggest-highlight/index.d.ts index 1a06173632..e05c30d608 100644 --- a/types/autosuggest-highlight/index.d.ts +++ b/types/autosuggest-highlight/index.d.ts @@ -3,6 +3,3 @@ // Definitions by: Artur Sianiuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 - -export { default as match } from './match'; -export { default as parse } from './parse'; diff --git a/types/autosuggest-highlight/match/index.d.ts b/types/autosuggest-highlight/match/index.d.ts index 16060877a5..19d18c48b3 100644 --- a/types/autosuggest-highlight/match/index.d.ts +++ b/types/autosuggest-highlight/match/index.d.ts @@ -1 +1,3 @@ -export default function match(text: string, query: string): number[] | number[][]; +declare function match(text: string, query: string): number[] | number[][]; + +export = match; diff --git a/types/autosuggest-highlight/parse/index.d.ts b/types/autosuggest-highlight/parse/index.d.ts index 3544b5be7f..ab458aebb1 100644 --- a/types/autosuggest-highlight/parse/index.d.ts +++ b/types/autosuggest-highlight/parse/index.d.ts @@ -1 +1,3 @@ -export default function parse(text: string, matches: number[] | number[][]): { text: string; highlight: boolean; }[]; +declare function parse(text: string, matches: number[] | number[][]): { text: string; highlight: boolean; }[]; + +export = parse; diff --git a/types/autosuggest-highlight/tslint.json b/types/autosuggest-highlight/tslint.json index 3db14f85ea..946997cb87 100644 --- a/types/autosuggest-highlight/tslint.json +++ b/types/autosuggest-highlight/tslint.json @@ -1 +1,6 @@ -{ "extends": "dtslint/dt.json" } +{ + "extends": "dtslint/dt.json", + "rules": { + "no-useless-files": false + } +} From d3d669de1f85263a5a16d9bfd5139cb33cc69601 Mon Sep 17 00:00:00 2001 From: Artur Sianiuk Date: Thu, 15 Feb 2018 14:51:05 +0300 Subject: [PATCH 457/463] fixed test failure --- types/autosuggest-highlight/tsconfig.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/autosuggest-highlight/tsconfig.json b/types/autosuggest-highlight/tsconfig.json index 2ce549d53c..8201d360ec 100644 --- a/types/autosuggest-highlight/tsconfig.json +++ b/types/autosuggest-highlight/tsconfig.json @@ -19,6 +19,8 @@ }, "files": [ "index.d.ts", - "autosuggest-highlight-tests.ts" + "autosuggest-highlight-tests.ts", + "match/index.d.ts", + "parse/index.d.ts" ] } From 8ab60f4f010c125d960d27a0d20efa7cfacd7bb1 Mon Sep 17 00:00:00 2001 From: Artur Sianiuk Date: Thu, 15 Feb 2018 15:48:46 +0300 Subject: [PATCH 458/463] fixed test failure --- types/autosuggest-highlight/parse/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/autosuggest-highlight/parse/index.d.ts b/types/autosuggest-highlight/parse/index.d.ts index ab458aebb1..01038cd116 100644 --- a/types/autosuggest-highlight/parse/index.d.ts +++ b/types/autosuggest-highlight/parse/index.d.ts @@ -1,3 +1,3 @@ -declare function parse(text: string, matches: number[] | number[][]): { text: string; highlight: boolean; }[]; +declare function parse(text: string, matches: number[] | number[][]): Array<{ text: string; highlight: boolean; }>; export = parse; From 81b3b60696aeb6cab25c323219483f7fcf9c30ce Mon Sep 17 00:00:00 2001 From: Andy Date: Thu, 15 Feb 2018 13:25:49 -0800 Subject: [PATCH 459/463] lodash: Reduce number of files (#23672) --- types/lodash/array/chunk.d.ts | 37 - types/lodash/array/compact.d.ts | 27 - types/lodash/array/concat.d.ts | 39 - types/lodash/array/difference.d.ts | 37 - types/lodash/array/differenceBy.d.ts | 243 -- types/lodash/array/differenceWith.d.ts | 132 - types/lodash/array/drop.d.ts | 27 - types/lodash/array/dropRight.d.ts | 30 - types/lodash/array/dropRightWhile.d.ts | 47 - types/lodash/array/dropWhile.d.ts | 47 - types/lodash/array/fill.d.ts | 124 - types/lodash/array/findIndex.d.ts | 50 - types/lodash/array/findLastIndex.d.ts | 49 - types/lodash/array/first.d.ts | 23 - types/lodash/array/flatten.d.ts | 43 - types/lodash/array/flattenDeep.d.ts | 26 - types/lodash/array/flattenDepth.d.ts | 27 - types/lodash/array/fromPairs.d.ts | 59 - types/lodash/array/head.d.ts | 28 - types/lodash/array/indexOf.d.ts | 53 - types/lodash/array/initial.d.ts | 26 - types/lodash/array/intersection.d.ts | 33 - types/lodash/array/intersectionBy.d.ts | 134 - types/lodash/array/intersectionWith.d.ts | 133 - types/lodash/array/join.d.ts | 30 - types/lodash/array/last.d.ts | 26 - types/lodash/array/lastIndexOf.d.ts | 40 - types/lodash/array/nth.d.ts | 36 - types/lodash/array/pull.d.ts | 46 - types/lodash/array/pullAll.d.ts | 54 - types/lodash/array/pullAllBy.d.ts | 77 - types/lodash/array/pullAllWith.d.ts | 77 - types/lodash/array/pullAt.d.ts | 34 - types/lodash/array/remove.d.ts | 49 - types/lodash/array/reverse.d.ts | 27 - types/lodash/array/slice.d.ts | 40 - types/lodash/array/sortedIndex.d.ts | 45 - types/lodash/array/sortedIndexBy.d.ts | 97 - types/lodash/array/sortedIndexOf.d.ts | 42 - types/lodash/array/sortedLastIndex.d.ts | 43 - types/lodash/array/sortedLastIndexBy.d.ts | 48 - types/lodash/array/sortedLastIndexOf.d.ts | 42 - types/lodash/array/sortedUniq.d.ts | 34 - types/lodash/array/sortedUniqBy.d.ts | 66 - types/lodash/array/tail.d.ts | 26 - types/lodash/array/take.d.ts | 36 - types/lodash/array/takeRight.d.ts | 36 - types/lodash/array/takeRightWhile.d.ts | 47 - types/lodash/array/takeWhile.d.ts | 47 - types/lodash/array/union.d.ts | 33 - types/lodash/array/unionBy.d.ts | 164 - types/lodash/array/unionWith.d.ts | 103 - types/lodash/array/uniq.d.ts | 36 - types/lodash/array/uniqBy.d.ts | 71 - types/lodash/array/uniqWith.d.ts | 45 - types/lodash/array/unzip.d.ts | 27 - types/lodash/array/unzipWith.d.ts | 60 - types/lodash/array/without.d.ts | 36 - types/lodash/array/xor.d.ts | 32 - types/lodash/array/xorBy.d.ts | 104 - types/lodash/array/xorWith.d.ts | 103 - types/lodash/array/zip.d.ts | 129 - types/lodash/array/zipObject.d.ts | 58 - types/lodash/array/zipObjectDeep.d.ts | 36 - types/lodash/array/zipWith.d.ts | 187 - types/lodash/collection/countBy.d.ts | 121 - types/lodash/collection/each.d.ts | 40 - types/lodash/collection/eachRight.d.ts | 40 - types/lodash/collection/every.d.ts | 85 - types/lodash/collection/filter.d.ts | 143 - types/lodash/collection/find.d.ts | 131 - types/lodash/collection/findLast.d.ts | 121 - types/lodash/collection/flatMap.d.ts | 164 - types/lodash/collection/flatMapDeep.d.ts | 164 - types/lodash/collection/flatMapDepth.d.ts | 180 - types/lodash/collection/forEach.d.ts | 113 - types/lodash/collection/forEachRight.d.ts | 108 - types/lodash/collection/groupBy.d.ts | 121 - types/lodash/collection/includes.d.ts | 41 - types/lodash/collection/invokeMap.d.ts | 58 - types/lodash/collection/keyBy.d.ts | 121 - types/lodash/collection/map.d.ts | 180 - types/lodash/collection/orderBy.d.ts | 192 - types/lodash/collection/partition.d.ts | 72 - types/lodash/collection/reduce.d.ts | 220 - types/lodash/collection/reduceRight.d.ts | 217 - types/lodash/collection/reject.d.ts | 86 - types/lodash/collection/sample.d.ts | 74 - types/lodash/collection/sampleSize.d.ts | 60 - types/lodash/collection/shuffle.d.ts | 41 - types/lodash/collection/size.d.ts | 27 - types/lodash/collection/some.d.ts | 85 - types/lodash/collection/sortBy.d.ts | 84 - types/lodash/common/array.d.ts | 3845 +++++++++++++++++ types/lodash/common/collection.d.ts | 3091 +++++++++++++ .../{date/now.d.ts => common/date.d.ts} | 2 + types/lodash/common/function.d.ts | 1367 ++++++ types/lodash/common/lang.d.ts | 1937 +++++++++ types/lodash/common/math.d.ts | 536 +++ .../random.d.ts => common/number.d.ts} | 97 + types/lodash/common/object.d.ts | 3653 ++++++++++++++++ types/lodash/common/seq.d.ts | 198 + types/lodash/common/string.d.ts | 1059 +++++ types/lodash/common/util.d.ts | 1455 +++++++ types/lodash/function/after.d.ts | 30 - types/lodash/function/ary.d.ts | 30 - types/lodash/function/before.d.ts | 32 - types/lodash/function/bind.d.ts | 50 - types/lodash/function/bindKey.d.ts | 51 - types/lodash/function/curry.d.ts | 203 - types/lodash/function/curryRight.d.ts | 132 - types/lodash/function/debounce.d.ts | 67 - types/lodash/function/defer.d.ts | 31 - types/lodash/function/delay.d.ts | 38 - types/lodash/function/flip.d.ts | 28 - types/lodash/function/memoize.d.ts | 37 - types/lodash/function/negate.d.ts | 20 - types/lodash/function/once.d.ts | 20 - types/lodash/function/overArgs.d.ts | 31 - types/lodash/function/partial.d.ts | 159 - types/lodash/function/partialRight.d.ts | 150 - types/lodash/function/rearg.d.ts | 28 - types/lodash/function/rest.d.ts | 33 - types/lodash/function/spread.d.ts | 44 - types/lodash/function/throttle.d.ts | 58 - types/lodash/function/unary.d.ts | 32 - types/lodash/function/wrap.d.ts | 61 - types/lodash/index.d.ts | 348 +- types/lodash/lang/castArray.d.ts | 26 - types/lodash/lang/clone.d.ts | 31 - types/lodash/lang/cloneDeep.d.ts | 26 - types/lodash/lang/cloneDeepWith.d.ts | 51 - types/lodash/lang/cloneWith.d.ts | 74 - types/lodash/lang/conformsTo.d.ts | 31 - types/lodash/lang/eq.d.ts | 55 - types/lodash/lang/gt.d.ts | 30 - types/lodash/lang/gte.d.ts | 30 - types/lodash/lang/isArguments.d.ts | 26 - types/lodash/lang/isArray.d.ts | 31 - types/lodash/lang/isArrayBuffer.d.ts | 26 - types/lodash/lang/isArrayLike.d.ts | 52 - types/lodash/lang/isArrayLikeObject.d.ts | 53 - types/lodash/lang/isBoolean.d.ts | 26 - types/lodash/lang/isBuffer.d.ts | 26 - types/lodash/lang/isDate.d.ts | 26 - types/lodash/lang/isElement.d.ts | 26 - types/lodash/lang/isEmpty.d.ts | 27 - types/lodash/lang/isEqual.d.ts | 52 - types/lodash/lang/isEqualWith.d.ts | 61 - types/lodash/lang/isError.d.ts | 27 - types/lodash/lang/isFinite.d.ts | 28 - types/lodash/lang/isFunction.d.ts | 26 - types/lodash/lang/isInteger.d.ts | 42 - types/lodash/lang/isLength.d.ts | 42 - types/lodash/lang/isMap.d.ts | 26 - types/lodash/lang/isMatch.d.ts | 42 - types/lodash/lang/isMatchWith.d.ts | 51 - types/lodash/lang/isNaN.d.ts | 28 - types/lodash/lang/isNative.d.ts | 26 - types/lodash/lang/isNil.d.ts | 37 - types/lodash/lang/isNull.d.ts | 26 - types/lodash/lang/isNumber.d.ts | 28 - types/lodash/lang/isObject.d.ts | 27 - types/lodash/lang/isObjectLike.d.ts | 41 - types/lodash/lang/isPlainObject.d.ts | 29 - types/lodash/lang/isRegExp.d.ts | 26 - types/lodash/lang/isSafeInteger.d.ts | 43 - types/lodash/lang/isSet.d.ts | 26 - types/lodash/lang/isString.d.ts | 26 - types/lodash/lang/isSymbol.d.ts | 34 - types/lodash/lang/isTypedArray.d.ts | 26 - types/lodash/lang/isUndefined.d.ts | 26 - types/lodash/lang/isWeakMap.d.ts | 26 - types/lodash/lang/isWeakSet.d.ts | 26 - types/lodash/lang/lt.d.ts | 30 - types/lodash/lang/lte.d.ts | 30 - types/lodash/lang/toArray.d.ts | 46 - types/lodash/lang/toFinite.d.ts | 41 - types/lodash/lang/toInteger.d.ts | 42 - types/lodash/lang/toLength.d.ts | 43 - types/lodash/lang/toNumber.d.ts | 40 - types/lodash/lang/toPlainObject.d.ts | 27 - types/lodash/lang/toSafeInteger.d.ts | 41 - types/lodash/lang/toString.d.ts | 24 - types/lodash/math/add.d.ts | 30 - types/lodash/math/ceil.d.ts | 30 - types/lodash/math/divide.d.ts | 30 - types/lodash/math/floor.d.ts | 30 - types/lodash/math/max.d.ts | 30 - types/lodash/math/maxBy.d.ts | 49 - types/lodash/math/mean.d.ts | 33 - types/lodash/math/meanBy.d.ts | 41 - types/lodash/math/min.d.ts | 30 - types/lodash/math/minBy.d.ts | 49 - types/lodash/math/multiply.d.ts | 29 - types/lodash/math/round.d.ts | 30 - types/lodash/math/subtract.d.ts | 39 - types/lodash/math/sum.d.ts | 31 - types/lodash/math/sumBy.d.ts | 53 - types/lodash/number/clamp.d.ts | 56 - types/lodash/number/inRange.d.ts | 39 - types/lodash/object/assign.d.ts | 172 - types/lodash/object/assignIn.d.ts | 171 - types/lodash/object/assignInWith.d.ts | 183 - types/lodash/object/assignWith.d.ts | 180 - types/lodash/object/at.d.ts | 61 - types/lodash/object/create.d.ts | 31 - types/lodash/object/defaults.d.ts | 155 - types/lodash/object/defaultsDeep.d.ts | 28 - types/lodash/object/entries.d.ts | 38 - types/lodash/object/entriesIn.d.ts | 38 - types/lodash/object/extend.d.ts | 147 - types/lodash/object/extendWith.d.ts | 159 - types/lodash/object/findKey.d.ts | 47 - types/lodash/object/findLastKey.d.ts | 46 - types/lodash/object/forIn.d.ts | 37 - types/lodash/object/forInRight.d.ts | 35 - types/lodash/object/forOwn.d.ts | 37 - types/lodash/object/forOwnRight.d.ts | 35 - types/lodash/object/functions.d.ts | 39 - types/lodash/object/functionsIn.d.ts | 39 - types/lodash/object/get.d.ts | 238 - types/lodash/object/has.d.ts | 47 - types/lodash/object/hasIn.d.ts | 46 - types/lodash/object/invert.d.ts | 30 - types/lodash/object/invertBy.d.ts | 62 - types/lodash/object/invoke.d.ts | 33 - types/lodash/object/keys.d.ts | 28 - types/lodash/object/keysIn.d.ts | 28 - types/lodash/object/mapKeys.d.ts | 86 - types/lodash/object/mapValues.d.ts | 189 - types/lodash/object/merge.d.ts | 156 - types/lodash/object/mergeWith.d.ts | 133 - types/lodash/object/omit.d.ts | 69 - types/lodash/object/omitBy.d.ts | 45 - types/lodash/object/pick.d.ts | 68 - types/lodash/object/pickBy.d.ts | 44 - types/lodash/object/result.d.ts | 39 - types/lodash/object/set.d.ts | 65 - types/lodash/object/setWith.d.ts | 71 - types/lodash/object/toPairs.d.ts | 41 - types/lodash/object/toPairsIn.d.ts | 41 - types/lodash/object/transform.d.ts | 163 - types/lodash/object/unset.d.ts | 32 - types/lodash/object/update.d.ts | 39 - types/lodash/object/updateWith.d.ts | 83 - types/lodash/object/values.d.ts | 56 - types/lodash/object/valuesIn.d.ts | 41 - types/lodash/seq/chain.d.ts | 26 - types/lodash/seq/prototype.at.d.ts | 12 - types/lodash/seq/prototype.chain.d.ts | 26 - types/lodash/seq/prototype.commit.d.ts | 11 - types/lodash/seq/prototype.plant.d.ts | 18 - types/lodash/seq/prototype.reverse.d.ts | 14 - types/lodash/seq/prototype.toJSON.d.ts | 9 - types/lodash/seq/prototype.toString.d.ts | 11 - types/lodash/seq/prototype.value.d.ts | 13 - types/lodash/seq/prototype.valueOf.d.ts | 9 - types/lodash/seq/tap.d.ts | 28 - types/lodash/seq/thru.d.ts | 31 - types/lodash/string/camelCase.d.ts | 26 - types/lodash/string/capitalize.d.ts | 26 - types/lodash/string/deburr.d.ts | 27 - types/lodash/string/endsWith.d.ts | 38 - types/lodash/string/escape.d.ts | 37 - types/lodash/string/escapeRegExp.d.ts | 27 - types/lodash/string/kebabCase.d.ts | 26 - types/lodash/string/lowerCase.d.ts | 26 - types/lodash/string/lowerFirst.d.ts | 26 - types/lodash/string/pad.d.ts | 39 - types/lodash/string/padEnd.d.ts | 39 - types/lodash/string/padStart.d.ts | 39 - types/lodash/string/parseInt.d.ts | 33 - types/lodash/string/repeat.d.ts | 32 - types/lodash/string/replace.d.ts | 59 - types/lodash/string/snakeCase.d.ts | 26 - types/lodash/string/split.d.ts | 56 - types/lodash/string/startCase.d.ts | 26 - types/lodash/string/startsWith.d.ts | 38 - types/lodash/string/template.d.ts | 61 - types/lodash/string/toLower.d.ts | 26 - types/lodash/string/toUpper.d.ts | 26 - types/lodash/string/trim.d.ts | 44 - types/lodash/string/trimEnd.d.ts | 44 - types/lodash/string/trimStart.d.ts | 44 - types/lodash/string/truncate.d.ts | 40 - types/lodash/string/unescape.d.ts | 30 - types/lodash/string/upperCase.d.ts | 26 - types/lodash/string/upperFirst.d.ts | 26 - types/lodash/string/words.d.ts | 44 - types/lodash/util/attempt.d.ts | 27 - types/lodash/util/bindAll.d.ts | 28 - types/lodash/util/cond.d.ts | 33 - types/lodash/util/conforms.d.ts | 28 - types/lodash/util/constant.d.ts | 26 - types/lodash/util/defaultTo.d.ts | 53 - types/lodash/util/flow.d.ts | 171 - types/lodash/util/flowRight.d.ts | 156 - types/lodash/util/identity.d.ts | 31 - types/lodash/util/iteratee.d.ts | 58 - types/lodash/util/matches.d.ts | 36 - types/lodash/util/matchesProperty.d.ts | 59 - types/lodash/util/method.d.ts | 31 - types/lodash/util/methodOf.d.ts | 35 - types/lodash/util/mixin.d.ts | 69 - types/lodash/util/noConflict.d.ts | 25 - types/lodash/util/noop.d.ts | 25 - types/lodash/util/nthArg.d.ts | 26 - types/lodash/util/over.d.ts | 33 - types/lodash/util/overEvery.d.ts | 27 - types/lodash/util/overSome.d.ts | 27 - types/lodash/util/property.d.ts | 26 - types/lodash/util/propertyOf.d.ts | 27 - types/lodash/util/range.d.ts | 56 - types/lodash/util/rangeRight.d.ts | 77 - types/lodash/util/runInContext.d.ts | 19 - types/lodash/util/stubArray.d.ts | 25 - types/lodash/util/stubFalse.d.ts | 25 - types/lodash/util/stubObject.d.ts | 25 - types/lodash/util/stubString.d.ts | 25 - types/lodash/util/stubTrue.d.ts | 25 - types/lodash/util/times.d.ts | 50 - types/lodash/util/toPath.d.ts | 43 - types/lodash/util/uniqueId.d.ts | 26 - 324 files changed, 17251 insertions(+), 17567 deletions(-) delete mode 100644 types/lodash/array/chunk.d.ts delete mode 100644 types/lodash/array/compact.d.ts delete mode 100644 types/lodash/array/concat.d.ts delete mode 100644 types/lodash/array/difference.d.ts delete mode 100644 types/lodash/array/differenceBy.d.ts delete mode 100644 types/lodash/array/differenceWith.d.ts delete mode 100644 types/lodash/array/drop.d.ts delete mode 100644 types/lodash/array/dropRight.d.ts delete mode 100644 types/lodash/array/dropRightWhile.d.ts delete mode 100644 types/lodash/array/dropWhile.d.ts delete mode 100644 types/lodash/array/fill.d.ts delete mode 100644 types/lodash/array/findIndex.d.ts delete mode 100644 types/lodash/array/findLastIndex.d.ts delete mode 100644 types/lodash/array/first.d.ts delete mode 100644 types/lodash/array/flatten.d.ts delete mode 100644 types/lodash/array/flattenDeep.d.ts delete mode 100644 types/lodash/array/flattenDepth.d.ts delete mode 100644 types/lodash/array/fromPairs.d.ts delete mode 100644 types/lodash/array/head.d.ts delete mode 100644 types/lodash/array/indexOf.d.ts delete mode 100644 types/lodash/array/initial.d.ts delete mode 100644 types/lodash/array/intersection.d.ts delete mode 100644 types/lodash/array/intersectionBy.d.ts delete mode 100644 types/lodash/array/intersectionWith.d.ts delete mode 100644 types/lodash/array/join.d.ts delete mode 100644 types/lodash/array/last.d.ts delete mode 100644 types/lodash/array/lastIndexOf.d.ts delete mode 100644 types/lodash/array/nth.d.ts delete mode 100644 types/lodash/array/pull.d.ts delete mode 100644 types/lodash/array/pullAll.d.ts delete mode 100644 types/lodash/array/pullAllBy.d.ts delete mode 100644 types/lodash/array/pullAllWith.d.ts delete mode 100644 types/lodash/array/pullAt.d.ts delete mode 100644 types/lodash/array/remove.d.ts delete mode 100644 types/lodash/array/reverse.d.ts delete mode 100644 types/lodash/array/slice.d.ts delete mode 100644 types/lodash/array/sortedIndex.d.ts delete mode 100644 types/lodash/array/sortedIndexBy.d.ts delete mode 100644 types/lodash/array/sortedIndexOf.d.ts delete mode 100644 types/lodash/array/sortedLastIndex.d.ts delete mode 100644 types/lodash/array/sortedLastIndexBy.d.ts delete mode 100644 types/lodash/array/sortedLastIndexOf.d.ts delete mode 100644 types/lodash/array/sortedUniq.d.ts delete mode 100644 types/lodash/array/sortedUniqBy.d.ts delete mode 100644 types/lodash/array/tail.d.ts delete mode 100644 types/lodash/array/take.d.ts delete mode 100644 types/lodash/array/takeRight.d.ts delete mode 100644 types/lodash/array/takeRightWhile.d.ts delete mode 100644 types/lodash/array/takeWhile.d.ts delete mode 100644 types/lodash/array/union.d.ts delete mode 100644 types/lodash/array/unionBy.d.ts delete mode 100644 types/lodash/array/unionWith.d.ts delete mode 100644 types/lodash/array/uniq.d.ts delete mode 100644 types/lodash/array/uniqBy.d.ts delete mode 100644 types/lodash/array/uniqWith.d.ts delete mode 100644 types/lodash/array/unzip.d.ts delete mode 100644 types/lodash/array/unzipWith.d.ts delete mode 100644 types/lodash/array/without.d.ts delete mode 100644 types/lodash/array/xor.d.ts delete mode 100644 types/lodash/array/xorBy.d.ts delete mode 100644 types/lodash/array/xorWith.d.ts delete mode 100644 types/lodash/array/zip.d.ts delete mode 100644 types/lodash/array/zipObject.d.ts delete mode 100644 types/lodash/array/zipObjectDeep.d.ts delete mode 100644 types/lodash/array/zipWith.d.ts delete mode 100644 types/lodash/collection/countBy.d.ts delete mode 100644 types/lodash/collection/each.d.ts delete mode 100644 types/lodash/collection/eachRight.d.ts delete mode 100644 types/lodash/collection/every.d.ts delete mode 100644 types/lodash/collection/filter.d.ts delete mode 100644 types/lodash/collection/find.d.ts delete mode 100644 types/lodash/collection/findLast.d.ts delete mode 100644 types/lodash/collection/flatMap.d.ts delete mode 100644 types/lodash/collection/flatMapDeep.d.ts delete mode 100644 types/lodash/collection/flatMapDepth.d.ts delete mode 100644 types/lodash/collection/forEach.d.ts delete mode 100644 types/lodash/collection/forEachRight.d.ts delete mode 100644 types/lodash/collection/groupBy.d.ts delete mode 100644 types/lodash/collection/includes.d.ts delete mode 100644 types/lodash/collection/invokeMap.d.ts delete mode 100644 types/lodash/collection/keyBy.d.ts delete mode 100644 types/lodash/collection/map.d.ts delete mode 100644 types/lodash/collection/orderBy.d.ts delete mode 100644 types/lodash/collection/partition.d.ts delete mode 100644 types/lodash/collection/reduce.d.ts delete mode 100644 types/lodash/collection/reduceRight.d.ts delete mode 100644 types/lodash/collection/reject.d.ts delete mode 100644 types/lodash/collection/sample.d.ts delete mode 100644 types/lodash/collection/sampleSize.d.ts delete mode 100644 types/lodash/collection/shuffle.d.ts delete mode 100644 types/lodash/collection/size.d.ts delete mode 100644 types/lodash/collection/some.d.ts delete mode 100644 types/lodash/collection/sortBy.d.ts create mode 100644 types/lodash/common/array.d.ts create mode 100644 types/lodash/common/collection.d.ts rename types/lodash/{date/now.d.ts => common/date.d.ts} (97%) create mode 100644 types/lodash/common/function.d.ts create mode 100644 types/lodash/common/lang.d.ts create mode 100644 types/lodash/common/math.d.ts rename types/lodash/{number/random.d.ts => common/number.d.ts} (51%) create mode 100644 types/lodash/common/object.d.ts create mode 100644 types/lodash/common/seq.d.ts create mode 100644 types/lodash/common/string.d.ts create mode 100644 types/lodash/common/util.d.ts delete mode 100644 types/lodash/function/after.d.ts delete mode 100644 types/lodash/function/ary.d.ts delete mode 100644 types/lodash/function/before.d.ts delete mode 100644 types/lodash/function/bind.d.ts delete mode 100644 types/lodash/function/bindKey.d.ts delete mode 100644 types/lodash/function/curry.d.ts delete mode 100644 types/lodash/function/curryRight.d.ts delete mode 100644 types/lodash/function/debounce.d.ts delete mode 100644 types/lodash/function/defer.d.ts delete mode 100644 types/lodash/function/delay.d.ts delete mode 100644 types/lodash/function/flip.d.ts delete mode 100644 types/lodash/function/memoize.d.ts delete mode 100644 types/lodash/function/negate.d.ts delete mode 100644 types/lodash/function/once.d.ts delete mode 100644 types/lodash/function/overArgs.d.ts delete mode 100644 types/lodash/function/partial.d.ts delete mode 100644 types/lodash/function/partialRight.d.ts delete mode 100644 types/lodash/function/rearg.d.ts delete mode 100644 types/lodash/function/rest.d.ts delete mode 100644 types/lodash/function/spread.d.ts delete mode 100644 types/lodash/function/throttle.d.ts delete mode 100644 types/lodash/function/unary.d.ts delete mode 100644 types/lodash/function/wrap.d.ts delete mode 100644 types/lodash/lang/castArray.d.ts delete mode 100644 types/lodash/lang/clone.d.ts delete mode 100644 types/lodash/lang/cloneDeep.d.ts delete mode 100644 types/lodash/lang/cloneDeepWith.d.ts delete mode 100644 types/lodash/lang/cloneWith.d.ts delete mode 100644 types/lodash/lang/conformsTo.d.ts delete mode 100644 types/lodash/lang/eq.d.ts delete mode 100644 types/lodash/lang/gt.d.ts delete mode 100644 types/lodash/lang/gte.d.ts delete mode 100644 types/lodash/lang/isArguments.d.ts delete mode 100644 types/lodash/lang/isArray.d.ts delete mode 100644 types/lodash/lang/isArrayBuffer.d.ts delete mode 100644 types/lodash/lang/isArrayLike.d.ts delete mode 100644 types/lodash/lang/isArrayLikeObject.d.ts delete mode 100644 types/lodash/lang/isBoolean.d.ts delete mode 100644 types/lodash/lang/isBuffer.d.ts delete mode 100644 types/lodash/lang/isDate.d.ts delete mode 100644 types/lodash/lang/isElement.d.ts delete mode 100644 types/lodash/lang/isEmpty.d.ts delete mode 100644 types/lodash/lang/isEqual.d.ts delete mode 100644 types/lodash/lang/isEqualWith.d.ts delete mode 100644 types/lodash/lang/isError.d.ts delete mode 100644 types/lodash/lang/isFinite.d.ts delete mode 100644 types/lodash/lang/isFunction.d.ts delete mode 100644 types/lodash/lang/isInteger.d.ts delete mode 100644 types/lodash/lang/isLength.d.ts delete mode 100644 types/lodash/lang/isMap.d.ts delete mode 100644 types/lodash/lang/isMatch.d.ts delete mode 100644 types/lodash/lang/isMatchWith.d.ts delete mode 100644 types/lodash/lang/isNaN.d.ts delete mode 100644 types/lodash/lang/isNative.d.ts delete mode 100644 types/lodash/lang/isNil.d.ts delete mode 100644 types/lodash/lang/isNull.d.ts delete mode 100644 types/lodash/lang/isNumber.d.ts delete mode 100644 types/lodash/lang/isObject.d.ts delete mode 100644 types/lodash/lang/isObjectLike.d.ts delete mode 100644 types/lodash/lang/isPlainObject.d.ts delete mode 100644 types/lodash/lang/isRegExp.d.ts delete mode 100644 types/lodash/lang/isSafeInteger.d.ts delete mode 100644 types/lodash/lang/isSet.d.ts delete mode 100644 types/lodash/lang/isString.d.ts delete mode 100644 types/lodash/lang/isSymbol.d.ts delete mode 100644 types/lodash/lang/isTypedArray.d.ts delete mode 100644 types/lodash/lang/isUndefined.d.ts delete mode 100644 types/lodash/lang/isWeakMap.d.ts delete mode 100644 types/lodash/lang/isWeakSet.d.ts delete mode 100644 types/lodash/lang/lt.d.ts delete mode 100644 types/lodash/lang/lte.d.ts delete mode 100644 types/lodash/lang/toArray.d.ts delete mode 100644 types/lodash/lang/toFinite.d.ts delete mode 100644 types/lodash/lang/toInteger.d.ts delete mode 100644 types/lodash/lang/toLength.d.ts delete mode 100644 types/lodash/lang/toNumber.d.ts delete mode 100644 types/lodash/lang/toPlainObject.d.ts delete mode 100644 types/lodash/lang/toSafeInteger.d.ts delete mode 100644 types/lodash/lang/toString.d.ts delete mode 100644 types/lodash/math/add.d.ts delete mode 100644 types/lodash/math/ceil.d.ts delete mode 100644 types/lodash/math/divide.d.ts delete mode 100644 types/lodash/math/floor.d.ts delete mode 100644 types/lodash/math/max.d.ts delete mode 100644 types/lodash/math/maxBy.d.ts delete mode 100644 types/lodash/math/mean.d.ts delete mode 100644 types/lodash/math/meanBy.d.ts delete mode 100644 types/lodash/math/min.d.ts delete mode 100644 types/lodash/math/minBy.d.ts delete mode 100644 types/lodash/math/multiply.d.ts delete mode 100644 types/lodash/math/round.d.ts delete mode 100644 types/lodash/math/subtract.d.ts delete mode 100644 types/lodash/math/sum.d.ts delete mode 100644 types/lodash/math/sumBy.d.ts delete mode 100644 types/lodash/number/clamp.d.ts delete mode 100644 types/lodash/number/inRange.d.ts delete mode 100644 types/lodash/object/assign.d.ts delete mode 100644 types/lodash/object/assignIn.d.ts delete mode 100644 types/lodash/object/assignInWith.d.ts delete mode 100644 types/lodash/object/assignWith.d.ts delete mode 100644 types/lodash/object/at.d.ts delete mode 100644 types/lodash/object/create.d.ts delete mode 100644 types/lodash/object/defaults.d.ts delete mode 100644 types/lodash/object/defaultsDeep.d.ts delete mode 100644 types/lodash/object/entries.d.ts delete mode 100644 types/lodash/object/entriesIn.d.ts delete mode 100644 types/lodash/object/extend.d.ts delete mode 100644 types/lodash/object/extendWith.d.ts delete mode 100644 types/lodash/object/findKey.d.ts delete mode 100644 types/lodash/object/findLastKey.d.ts delete mode 100644 types/lodash/object/forIn.d.ts delete mode 100644 types/lodash/object/forInRight.d.ts delete mode 100644 types/lodash/object/forOwn.d.ts delete mode 100644 types/lodash/object/forOwnRight.d.ts delete mode 100644 types/lodash/object/functions.d.ts delete mode 100644 types/lodash/object/functionsIn.d.ts delete mode 100644 types/lodash/object/get.d.ts delete mode 100644 types/lodash/object/has.d.ts delete mode 100644 types/lodash/object/hasIn.d.ts delete mode 100644 types/lodash/object/invert.d.ts delete mode 100644 types/lodash/object/invertBy.d.ts delete mode 100644 types/lodash/object/invoke.d.ts delete mode 100644 types/lodash/object/keys.d.ts delete mode 100644 types/lodash/object/keysIn.d.ts delete mode 100644 types/lodash/object/mapKeys.d.ts delete mode 100644 types/lodash/object/mapValues.d.ts delete mode 100644 types/lodash/object/merge.d.ts delete mode 100644 types/lodash/object/mergeWith.d.ts delete mode 100644 types/lodash/object/omit.d.ts delete mode 100644 types/lodash/object/omitBy.d.ts delete mode 100644 types/lodash/object/pick.d.ts delete mode 100644 types/lodash/object/pickBy.d.ts delete mode 100644 types/lodash/object/result.d.ts delete mode 100644 types/lodash/object/set.d.ts delete mode 100644 types/lodash/object/setWith.d.ts delete mode 100644 types/lodash/object/toPairs.d.ts delete mode 100644 types/lodash/object/toPairsIn.d.ts delete mode 100644 types/lodash/object/transform.d.ts delete mode 100644 types/lodash/object/unset.d.ts delete mode 100644 types/lodash/object/update.d.ts delete mode 100644 types/lodash/object/updateWith.d.ts delete mode 100644 types/lodash/object/values.d.ts delete mode 100644 types/lodash/object/valuesIn.d.ts delete mode 100644 types/lodash/seq/chain.d.ts delete mode 100644 types/lodash/seq/prototype.at.d.ts delete mode 100644 types/lodash/seq/prototype.chain.d.ts delete mode 100644 types/lodash/seq/prototype.commit.d.ts delete mode 100644 types/lodash/seq/prototype.plant.d.ts delete mode 100644 types/lodash/seq/prototype.reverse.d.ts delete mode 100644 types/lodash/seq/prototype.toJSON.d.ts delete mode 100644 types/lodash/seq/prototype.toString.d.ts delete mode 100644 types/lodash/seq/prototype.value.d.ts delete mode 100644 types/lodash/seq/prototype.valueOf.d.ts delete mode 100644 types/lodash/seq/tap.d.ts delete mode 100644 types/lodash/seq/thru.d.ts delete mode 100644 types/lodash/string/camelCase.d.ts delete mode 100644 types/lodash/string/capitalize.d.ts delete mode 100644 types/lodash/string/deburr.d.ts delete mode 100644 types/lodash/string/endsWith.d.ts delete mode 100644 types/lodash/string/escape.d.ts delete mode 100644 types/lodash/string/escapeRegExp.d.ts delete mode 100644 types/lodash/string/kebabCase.d.ts delete mode 100644 types/lodash/string/lowerCase.d.ts delete mode 100644 types/lodash/string/lowerFirst.d.ts delete mode 100644 types/lodash/string/pad.d.ts delete mode 100644 types/lodash/string/padEnd.d.ts delete mode 100644 types/lodash/string/padStart.d.ts delete mode 100644 types/lodash/string/parseInt.d.ts delete mode 100644 types/lodash/string/repeat.d.ts delete mode 100644 types/lodash/string/replace.d.ts delete mode 100644 types/lodash/string/snakeCase.d.ts delete mode 100644 types/lodash/string/split.d.ts delete mode 100644 types/lodash/string/startCase.d.ts delete mode 100644 types/lodash/string/startsWith.d.ts delete mode 100644 types/lodash/string/template.d.ts delete mode 100644 types/lodash/string/toLower.d.ts delete mode 100644 types/lodash/string/toUpper.d.ts delete mode 100644 types/lodash/string/trim.d.ts delete mode 100644 types/lodash/string/trimEnd.d.ts delete mode 100644 types/lodash/string/trimStart.d.ts delete mode 100644 types/lodash/string/truncate.d.ts delete mode 100644 types/lodash/string/unescape.d.ts delete mode 100644 types/lodash/string/upperCase.d.ts delete mode 100644 types/lodash/string/upperFirst.d.ts delete mode 100644 types/lodash/string/words.d.ts delete mode 100644 types/lodash/util/attempt.d.ts delete mode 100644 types/lodash/util/bindAll.d.ts delete mode 100644 types/lodash/util/cond.d.ts delete mode 100644 types/lodash/util/conforms.d.ts delete mode 100644 types/lodash/util/constant.d.ts delete mode 100644 types/lodash/util/defaultTo.d.ts delete mode 100644 types/lodash/util/flow.d.ts delete mode 100644 types/lodash/util/flowRight.d.ts delete mode 100644 types/lodash/util/identity.d.ts delete mode 100644 types/lodash/util/iteratee.d.ts delete mode 100644 types/lodash/util/matches.d.ts delete mode 100644 types/lodash/util/matchesProperty.d.ts delete mode 100644 types/lodash/util/method.d.ts delete mode 100644 types/lodash/util/methodOf.d.ts delete mode 100644 types/lodash/util/mixin.d.ts delete mode 100644 types/lodash/util/noConflict.d.ts delete mode 100644 types/lodash/util/noop.d.ts delete mode 100644 types/lodash/util/nthArg.d.ts delete mode 100644 types/lodash/util/over.d.ts delete mode 100644 types/lodash/util/overEvery.d.ts delete mode 100644 types/lodash/util/overSome.d.ts delete mode 100644 types/lodash/util/property.d.ts delete mode 100644 types/lodash/util/propertyOf.d.ts delete mode 100644 types/lodash/util/range.d.ts delete mode 100644 types/lodash/util/rangeRight.d.ts delete mode 100644 types/lodash/util/runInContext.d.ts delete mode 100644 types/lodash/util/stubArray.d.ts delete mode 100644 types/lodash/util/stubFalse.d.ts delete mode 100644 types/lodash/util/stubObject.d.ts delete mode 100644 types/lodash/util/stubString.d.ts delete mode 100644 types/lodash/util/stubTrue.d.ts delete mode 100644 types/lodash/util/times.d.ts delete mode 100644 types/lodash/util/toPath.d.ts delete mode 100644 types/lodash/util/uniqueId.d.ts diff --git a/types/lodash/array/chunk.d.ts b/types/lodash/array/chunk.d.ts deleted file mode 100644 index 16e4f8beb9..0000000000 --- a/types/lodash/array/chunk.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of elements split into groups the length of size. If collection can’t be split evenly, the - * final chunk will be the remaining elements. - * - * @param array The array to process. - * @param size The length of each chunk. - * @return Returns the new array containing chunks. - */ - chunk( - array: List | null | undefined, - size?: number - ): T[][]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.chunk - */ - chunk( - this: LoDashImplicitWrapper | null | undefined>, - size?: number, - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.chunk - */ - chunk( - this: LoDashExplicitWrapper | null | undefined>, - size?: number, - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/compact.d.ts b/types/lodash/array/compact.d.ts deleted file mode 100644 index 7bf05df7e3..0000000000 --- a/types/lodash/array/compact.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array with all falsey values removed. The values false, null, 0, "", undefined, and NaN are - * falsey. - * - * @param array The array to compact. - * @return Returns the new array of filtered values. - */ - compact(array: List | null | undefined): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.compact - */ - compact(this: LoDashImplicitWrapper | null | undefined>): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.compact - */ - compact(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/concat.d.ts b/types/lodash/array/concat.d.ts deleted file mode 100644 index 3b1bac32aa..0000000000 --- a/types/lodash/array/concat.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a new array concatenating `array` with any additional arrays - * and/or values. - * - * @category Array - * @param array The array to concatenate. - * @param [values] The values to concatenate. - * @returns Returns the new concatenated array. - * @example - * - * var array = [1]; - * var other = _.concat(array, 2, [3], [[4]]); - * - * console.log(other); - * // => [1, 2, 3, [4]] - * - * console.log(array); - * // => [1] - */ - concat(array: Many, ...values: Array>): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.compact - */ - concat(this: LoDashImplicitWrapper>, ...values: Array>): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.compact - */ - concat(this: LoDashExplicitWrapper>, ...values: Array>): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/difference.d.ts b/types/lodash/array/difference.d.ts deleted file mode 100644 index 5c237eccea..0000000000 --- a/types/lodash/array/difference.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of unique array values not included in the other provided arrays using SameValueZero for - * equality comparisons. - * - * @param array The array to inspect. - * @param values The arrays of values to exclude. - * @return Returns the new array of filtered values. - */ - difference( - array: List | null | undefined, - ...values: Array> - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.difference - */ - difference( - this: LoDashImplicitWrapper | null | undefined>, - ...values: Array> - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.difference - */ - difference( - this: LoDashExplicitWrapper | null | undefined>, - ...values: Array> - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/differenceBy.d.ts b/types/lodash/array/differenceBy.d.ts deleted file mode 100644 index da8e928097..0000000000 --- a/types/lodash/array/differenceBy.d.ts +++ /dev/null @@ -1,243 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.difference except that it accepts iteratee which is invoked for each element of array - * and values to generate the criterion by which uniqueness is computed. The iteratee is invoked with one - * argument: (value). - * - * @param array The array to inspect. - * @param values The values to exclude. - * @param iteratee The iteratee invoked per element. - * @returns Returns the new array of filtered values. - */ - differenceBy( - array: List | null | undefined, - values: List, - iteratee: ValueIteratee - ): T1[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: List | null | undefined, - values1: List, - values2: List, - iteratee: ValueIteratee - ): T1[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: List | null | undefined, - values1: List, - values2: List, - values3: List, - iteratee: ValueIteratee - ): T1[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: List | null | undefined, - values1: List, - values2: List, - values3: List, - values4: List, - iteratee: ValueIteratee - ): T1[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: List | null | undefined, - values1: List, - values2: List, - values3: List, - values4: List, - values5: List, - iteratee: ValueIteratee - ): T1[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: List | null | undefined, - values1: List, - values2: List, - values3: List, - values4: List, - values5: List, - ...values: Array | ValueIteratee> - ): T1[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: List | null | undefined, - ...values: Array> - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.differenceBy - */ - differenceBy( - this: LoDashImplicitWrapper | null | undefined>, - values: List, - iteratee: ValueIteratee - ): LoDashImplicitWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - this: LoDashImplicitWrapper | null | undefined>, - values1: List, - values2: List, - iteratee: ValueIteratee - ): LoDashImplicitWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - this: LoDashImplicitWrapper | null | undefined>, - values1: List, - values2: List, - values3: List, - iteratee: ValueIteratee - ): LoDashImplicitWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - this: LoDashImplicitWrapper | null | undefined>, - values1: List, - values2: List, - values3: List, - values4: List, - iteratee: ValueIteratee - ): LoDashImplicitWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - this: LoDashImplicitWrapper | null | undefined>, - values1: List, - values2: List, - values3: List, - values4: List, - values5: List, - iteratee: ValueIteratee - ): LoDashImplicitWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - this: LoDashImplicitWrapper | null | undefined>, - values1: List, - values2: List, - values3: List, - values4: List, - values5: List, - ...values: Array | ValueIteratee> - ): LoDashImplicitWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - this: LoDashImplicitWrapper | null | undefined>, - ...values: Array> - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.differenceBy - */ - differenceBy( - this: LoDashExplicitWrapper | null | undefined>, - values: List, - iteratee: ValueIteratee - ): LoDashExplicitWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - this: LoDashExplicitWrapper | null | undefined>, - values1: List, - values2: List, - iteratee: ValueIteratee - ): LoDashExplicitWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - this: LoDashExplicitWrapper | null | undefined>, - values1: List, - values2: List, - values3: List, - iteratee: ValueIteratee - ): LoDashExplicitWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - this: LoDashExplicitWrapper | null | undefined>, - values1: List, - values2: List, - values3: List, - values4: List, - iteratee: ValueIteratee - ): LoDashExplicitWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - this: LoDashExplicitWrapper | null | undefined>, - values1: List, - values2: List, - values3: List, - values4: List, - values5: List, - iteratee: ValueIteratee - ): LoDashExplicitWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - this: LoDashExplicitWrapper | null | undefined>, - values1: List, - values2: List, - values3: List, - values4: List, - values5: List, - ...values: Array | ValueIteratee> - ): LoDashExplicitWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - this: LoDashExplicitWrapper | null | undefined>, - ...values: Array> - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/differenceWith.d.ts b/types/lodash/array/differenceWith.d.ts deleted file mode 100644 index 39eca3314f..0000000000 --- a/types/lodash/array/differenceWith.d.ts +++ /dev/null @@ -1,132 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of unique `array` values not included in the other - * provided arrays using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) - * for equality comparisons. - * - * @category Array - * @param [values] The arrays to inspect. - * @param [comparator] The comparator invoked per element. - * @returns Returns the new array of filtered values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - - * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual); - * // => [{ 'x': 2, 'y': 1 }] - */ - differenceWith( - array: List | null | undefined, - values: List, - comparator: Comparator2 - ): T1[]; - - /** - * @see _.differenceWith - */ - differenceWith( - array: List | null | undefined, - values1: List, - values2: List, - comparator: Comparator2 - ): T1[]; - - /** - * @see _.differenceWith - */ - differenceWith( - array: List | null | undefined, - values1: List, - values2: List, - ...values: Array | Comparator2> - ): T1[]; - - /** - * @see _.differenceWith - */ - differenceWith( - array: List | null | undefined, - ...values: Array> - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.differenceWith - */ - differenceWith( - this: LoDashImplicitWrapper | null | undefined>, - values: List, - comparator: Comparator2 - ): LoDashImplicitWrapper; - - /** - * @see _.differenceWith - */ - differenceWith( - this: LoDashImplicitWrapper | null | undefined>, - values1: List, - values2: List, - comparator: Comparator2 - ): LoDashImplicitWrapper; - - /** - * @see _.differenceWith - */ - differenceWith( - this: LoDashImplicitWrapper | null | undefined>, - values1: List, - values2: List, - ...values: Array | Comparator2> - ): LoDashImplicitWrapper; - - /** - * @see _.differenceWith - */ - differenceWith( - this: LoDashImplicitWrapper | null | undefined>, - ...values: Array> - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.differenceWith - */ - differenceWith( - this: LoDashExplicitWrapper | null | undefined>, - values: List, - comparator: Comparator2 - ): LoDashExplicitWrapper; - - /** - * @see _.differenceWith - */ - differenceWith( - this: LoDashExplicitWrapper | null | undefined>, - values1: List, - values2: List, - comparator: Comparator2 - ): LoDashExplicitWrapper; - - /** - * @see _.differenceWith - */ - differenceWith( - this: LoDashExplicitWrapper | null | undefined>, - values1: List, - values2: List, - ...values: Array | Comparator2> - ): LoDashExplicitWrapper; - - /** - * @see _.differenceWith - */ - differenceWith( - this: LoDashExplicitWrapper | null | undefined>, - ...values: Array> - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/drop.d.ts b/types/lodash/array/drop.d.ts deleted file mode 100644 index 6df72adcb6..0000000000 --- a/types/lodash/array/drop.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a slice of array with n elements dropped from the beginning. - * - * @param array The array to query. - * @param n The number of elements to drop. - * @return Returns the slice of array. - */ - drop(array: List | null | undefined, n?: number): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.drop - */ - drop(this: LoDashImplicitWrapper | null | undefined>, n?: number): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.drop - */ - drop(this: LoDashExplicitWrapper | null | undefined>, n?: number): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/dropRight.d.ts b/types/lodash/array/dropRight.d.ts deleted file mode 100644 index 4e08a213b9..0000000000 --- a/types/lodash/array/dropRight.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a slice of array with n elements dropped from the end. - * - * @param array The array to query. - * @param n The number of elements to drop. - * @return Returns the slice of array. - */ - dropRight( - array: List | null | undefined, - n?: number - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.dropRight - */ - dropRight(this: LoDashImplicitWrapper | null | undefined>, n?: number): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.dropRight - */ - dropRight(this: LoDashExplicitWrapper | null | undefined>, n?: number): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/dropRightWhile.d.ts b/types/lodash/array/dropRightWhile.d.ts deleted file mode 100644 index efce8161d2..0000000000 --- a/types/lodash/array/dropRightWhile.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a slice of array excluding elements dropped from the end. Elements are dropped until predicate - * returns falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * match the properties of the given object, else false. - * - * @param array The array to query. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the slice of array. - */ - dropRightWhile( - array: List | null | undefined, - predicate?: ListIteratee - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.dropRightWhile - */ - dropRightWhile( - this: LoDashImplicitWrapper | null | undefined>, - predicate?: ListIteratee - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.dropRightWhile - */ - dropRightWhile( - this: LoDashExplicitWrapper | null | undefined>, - predicate?: ListIteratee - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/dropWhile.d.ts b/types/lodash/array/dropWhile.d.ts deleted file mode 100644 index f6f68fb191..0000000000 --- a/types/lodash/array/dropWhile.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a slice of array excluding elements dropped from the beginning. Elements are dropped until predicate - * returns falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param array The array to query. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the slice of array. - */ - dropWhile( - array: List | null | undefined, - predicate?: ListIteratee - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.dropWhile - */ - dropWhile( - this: LoDashImplicitWrapper | null | undefined>, - predicate?: ListIteratee - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.dropWhile - */ - dropWhile( - this: LoDashExplicitWrapper | null | undefined>, - predicate?: ListIteratee - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/fill.d.ts b/types/lodash/array/fill.d.ts deleted file mode 100644 index 651a19a830..0000000000 --- a/types/lodash/array/fill.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Fills elements of array with value from start up to, but not including, end. - * - * Note: This method mutates array. - * - * @param array The array to fill. - * @param value The value to fill array with. - * @param start The start position. - * @param end The end position. - * @return Returns array. - */ - fill( - array: any[] | null | undefined, - value: T - ): T[]; - - /** - * @see _.fill - */ - fill( - array: List | null | undefined, - value: T - ): List; - - /** - * @see _.fill - */ - fill( - array: U[] | null | undefined, - value: T, - start?: number, - end?: number - ): Array; - - /** - * @see _.fill - */ - fill( - array: List | null | undefined, - value: T, - start?: number, - end?: number - ): List; - } - - interface LoDashImplicitWrapper { - /** - * @see _.fill - */ - fill( - this: LoDashImplicitWrapper, - value: T - ): LoDashImplicitWrapper; - - /** - * @see _.fill - */ - fill( - this: LoDashImplicitWrapper | null | undefined>, - value: T - ): LoDashImplicitWrapper>; - - /** - * @see _.fill - */ - fill( - this: LoDashImplicitWrapper, - value: T, - start?: number, - end?: number - ): LoDashImplicitWrapper>; - - /** - * @see _.fill - */ - fill( - this: LoDashImplicitWrapper | null | undefined>, - value: T, - start?: number, - end?: number - ): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.fill - */ - fill( - this: LoDashExplicitWrapper, - value: T - ): LoDashExplicitWrapper; - - /** - * @see _.fill - */ - fill( - this: LoDashExplicitWrapper | null | undefined>, - value: T - ): LoDashExplicitWrapper>; - - /** - * @see _.fill - */ - fill( - this: LoDashExplicitWrapper, - value: T, - start?: number, - end?: number - ): LoDashExplicitWrapper>; - - /** - * @see _.fill - */ - fill( - this: LoDashExplicitWrapper | null | undefined>, - value: T, - start?: number, - end?: number - ): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/array/findIndex.d.ts b/types/lodash/array/findIndex.d.ts deleted file mode 100644 index 13f314ee82..0000000000 --- a/types/lodash/array/findIndex.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.find except that it returns the index of the first element predicate returns truthy - * for instead of the element itself. - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param array The array to search. - * @param predicate The function invoked per iteration. - * @param fromIndex The index to search from. - * @return Returns the index of the found element, else -1. - */ - findIndex( - array: List | null | undefined, - predicate?: ListIterateeCustom, - fromIndex?: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.findIndex - */ - findIndex( - this: LoDashImplicitWrapper | null | undefined>, - predicate?: ListIterateeCustom, - fromIndex?: number - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.findIndex - */ - findIndex( - this: LoDashExplicitWrapper | null | undefined>, - predicate?: ListIterateeCustom, - fromIndex?: number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/findLastIndex.d.ts b/types/lodash/array/findLastIndex.d.ts deleted file mode 100644 index db28988a4a..0000000000 --- a/types/lodash/array/findLastIndex.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.findIndex except that it iterates over elements of collection from right to left. - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param array The array to search. - * @param predicate The function invoked per iteration. - * @param fromIndex The index to search from. - * @return Returns the index of the found element, else -1. - */ - findLastIndex( - array: List | null | undefined, - predicate?: ListIterateeCustom, - fromIndex?: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.findLastIndex - */ - findLastIndex( - this: LoDashImplicitWrapper | null | undefined>, - predicate?: ListIterateeCustom, - fromIndex?: number - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.findLastIndex - */ - findLastIndex( - this: LoDashExplicitWrapper | null | undefined>, - predicate?: ListIterateeCustom, - fromIndex?: number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/first.d.ts b/types/lodash/array/first.d.ts deleted file mode 100644 index ec88a9b5b2..0000000000 --- a/types/lodash/array/first.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - first: typeof _.head; // tslint:disable-line:no-unnecessary-qualifier - } - - interface LoDashImplicitWrapper { - /** - * @see _.head - */ - first(this: LoDashImplicitWrapper | null | undefined>): T | undefined; - } - - interface LoDashExplicitWrapper { - /** - * @see _.head - */ - first(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; - } - - interface RecursiveArray extends Array> {} - interface ListOfRecursiveArraysOrValues extends List> {} -} \ No newline at end of file diff --git a/types/lodash/array/flatten.d.ts b/types/lodash/array/flatten.d.ts deleted file mode 100644 index 8453624756..0000000000 --- a/types/lodash/array/flatten.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Flattens a nested array. If isDeep is true the array is recursively flattened, otherwise it’s only - * flattened a single level. - * - * @param array The array to flatten. - * @param isDeep Specify a deep flatten. - * @return Returns the new flattened array. - */ - flatten(array: ListOfRecursiveArraysOrValues | null | undefined, isDeep: boolean): T[]; - - /** - * @see _.flatten - */ - flatten(array: List> | null | undefined): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.flatten - */ - flatten(this: LoDashImplicitWrapper | null | undefined>, isDeep: boolean): LoDashImplicitWrapper; - - /** - * @see _.flatten - */ - flatten(this: LoDashImplicitWrapper> | null | undefined>): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.flatten - */ - flatten(this: LoDashExplicitWrapper | null | undefined>, isDeep: boolean): LoDashExplicitWrapper; - - /** - * @see _.flatten - */ - flatten(this: LoDashExplicitWrapper> | null | undefined>): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/flattenDeep.d.ts b/types/lodash/array/flattenDeep.d.ts deleted file mode 100644 index 0c604f2571..0000000000 --- a/types/lodash/array/flattenDeep.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Recursively flattens a nested array. - * - * @param array The array to recursively flatten. - * @return Returns the new flattened array. - */ - flattenDeep(array: ListOfRecursiveArraysOrValues | null | undefined): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.flattenDeep - */ - flattenDeep(this: LoDashImplicitWrapper | null | undefined>): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.flattenDeep - */ - flattenDeep(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/flattenDepth.d.ts b/types/lodash/array/flattenDepth.d.ts deleted file mode 100644 index 0efd206f9e..0000000000 --- a/types/lodash/array/flattenDepth.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Recursively flatten array up to depth times. - * - * @param array The array to recursively flatten. - * @param number The maximum recursion depth. - * @return Returns the new flattened array. - */ - flattenDepth(array: ListOfRecursiveArraysOrValues | null | undefined, depth?: number): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.flattenDeep - */ - flattenDepth(this: LoDashImplicitWrapper | null | undefined>, depth?: number): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.flattenDeep - */ - flattenDepth(this: LoDashExplicitWrapper | null | undefined>, depth?: number): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/fromPairs.d.ts b/types/lodash/array/fromPairs.d.ts deleted file mode 100644 index 92a8e4d168..0000000000 --- a/types/lodash/array/fromPairs.d.ts +++ /dev/null @@ -1,59 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * The inverse of `_.toPairs`; this method returns an object composed - * from key-value `pairs`. - * - * @category Array - * @param pairs The key-value pairs. - * @returns Returns the new object. - * @example - * - * _.fromPairs([['fred', 30], ['barney', 40]]); - * // => { 'fred': 30, 'barney': 40 } - */ - fromPairs( - pairs: List<[PropertyName, T]> | null | undefined - ): Dictionary; - - /** - @see _.fromPairs - */ - fromPairs( - pairs: List | null | undefined - ): Dictionary; - } - - interface LoDashImplicitWrapper { - /** - * @see _.fromPairs - */ - fromPairs( - this: LoDashImplicitWrapper | null | undefined> - ): LoDashImplicitWrapper>; - - /** - @see _.fromPairs - */ - fromPairs( - this: LoDashImplicitWrapper | null | undefined> - ): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.fromPairs - */ - fromPairs( - this: LoDashExplicitWrapper | null | undefined> - ): LoDashExplicitWrapper>; - - /** - @see _.fromPairs - */ - fromPairs( - this: LoDashExplicitWrapper | null | undefined> - ): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/array/head.d.ts b/types/lodash/array/head.d.ts deleted file mode 100644 index 476e5b2b07..0000000000 --- a/types/lodash/array/head.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Gets the first element of array. - * - * @alias _.first - * - * @param array The array to query. - * @return Returns the first element of array. - */ - head(array: List | null | undefined): T | undefined; - } - - interface LoDashImplicitWrapper { - /** - * @see _.head - */ - head(this: LoDashImplicitWrapper | null | undefined>): T | undefined; - } - - interface LoDashExplicitWrapper { - /** - * @see _.head - */ - head(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/indexOf.d.ts b/types/lodash/array/indexOf.d.ts deleted file mode 100644 index f2f01c2e5c..0000000000 --- a/types/lodash/array/indexOf.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Gets the index at which the first occurrence of `value` is found in `array` - * using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) - * for equality comparisons. If `fromIndex` is negative, it's used as the offset - * from the end of `array`. If `array` is sorted providing `true` for `fromIndex` - * performs a faster binary search. - * - * @category Array - * @param array The array to search. - * @param value The value to search for. - * @param [fromIndex=0] The index to search from. - * @returns Returns the index of the matched value, else `-1`. - * @example - * - * _.indexOf([1, 2, 1, 2], 2); - * // => 1 - * - * // using `fromIndex` - * _.indexOf([1, 2, 1, 2], 2, 2); - * // => 3 - */ - indexOf( - array: List | null | undefined, - value: T, - fromIndex?: boolean|number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.indexOf - */ - indexOf( - this: LoDashImplicitWrapper | null | undefined>, - value: T, - fromIndex?: boolean|number - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.indexOf - */ - indexOf( - this: LoDashExplicitWrapper | null | undefined>, - value: T, - fromIndex?: boolean|number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/initial.d.ts b/types/lodash/array/initial.d.ts deleted file mode 100644 index fca86bcfa0..0000000000 --- a/types/lodash/array/initial.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Gets all but the last element of array. - * - * @param array The array to query. - * @return Returns the slice of array. - */ - initial(array: List | null | undefined): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.initial - */ - initial(this: LoDashImplicitWrapper | null | undefined>): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.initial - */ - initial(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/intersection.d.ts b/types/lodash/array/intersection.d.ts deleted file mode 100644 index 444e0b23f1..0000000000 --- a/types/lodash/array/intersection.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of unique values that are included in all of the provided arrays using SameValueZero for - * equality comparisons. - * - * @param arrays The arrays to inspect. - * @return Returns the new array of shared values. - */ - intersection(...arrays: Array>): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.intersection - */ - intersection( - this: LoDashImplicitWrapper>, - ...arrays: Array> - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.intersection - */ - intersection( - this: LoDashExplicitWrapper>, - ...arrays: Array> - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/intersectionBy.d.ts b/types/lodash/array/intersectionBy.d.ts deleted file mode 100644 index 4148043afe..0000000000 --- a/types/lodash/array/intersectionBy.d.ts +++ /dev/null @@ -1,134 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.intersection` except that it accepts `iteratee` - * which is invoked for each element of each `arrays` to generate the criterion - * by which uniqueness is computed. The iteratee is invoked with one argument: (value). - * - * @category Array - * @param [arrays] The arrays to inspect. - * @param [iteratee=_.identity] The iteratee invoked per element. - * @returns Returns the new array of shared values. - * @example - * - * _.intersectionBy([2.1, 1.2], [4.3, 2.4], Math.floor); - * // => [2.1] - * - * // using the `_.property` iteratee shorthand - * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }] - */ - intersectionBy( - array: List | null, - values: List, - iteratee: ValueIteratee - ): T1[]; - - /** - * @see _.intersectionBy - */ - intersectionBy( - array: List | null, - values1: List, - values2: List, - iteratee: ValueIteratee - ): T1[]; - - /** - * @see _.intersectionBy - */ - intersectionBy( - array: List | null | undefined, - values1: List, - values2: List, - ...values: Array | ValueIteratee> - ): T1[]; - - /** - * @see _.intersectionBy - */ - intersectionBy( - array?: List | null, - ...values: Array> - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.intersectionBy - */ - intersectionBy( - this: LoDashImplicitWrapper | null | undefined>, - values: List, - iteratee: ValueIteratee - ): LoDashImplicitWrapper; - - /** - * @see _.intersectionBy - */ - intersectionBy( - this: LoDashImplicitWrapper | null | undefined>, - values1: List, - values2: List, - iteratee: ValueIteratee - ): LoDashImplicitWrapper; - - /** - * @see _.intersectionBy - */ - intersectionBy( - this: LoDashImplicitWrapper | null | undefined>, - values1: List, - values2: List, - ...values: Array | ValueIteratee> - ): LoDashImplicitWrapper; - - /** - * @see _.intersectionBy - */ - intersectionBy( - this: LoDashImplicitWrapper | null | undefined>, - ...values: Array> - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.intersectionBy - */ - intersectionBy( - this: LoDashExplicitWrapper | null | undefined>, - values: List, - iteratee: ValueIteratee - ): LoDashExplicitWrapper; - - /** - * @see _.intersectionBy - */ - intersectionBy( - this: LoDashExplicitWrapper | null | undefined>, - values1: List, - values2: List, - iteratee: ValueIteratee - ): LoDashExplicitWrapper; - - /** - * @see _.intersectionBy - */ - intersectionBy( - this: LoDashExplicitWrapper | null | undefined>, - values1: List, - values2: List, - ...values: Array | ValueIteratee> - ): LoDashExplicitWrapper; - - /** - * @see _.intersectionBy - */ - intersectionBy( - this: LoDashExplicitWrapper | null | undefined>, - ...values: Array> - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/intersectionWith.d.ts b/types/lodash/array/intersectionWith.d.ts deleted file mode 100644 index 9fa2198c9b..0000000000 --- a/types/lodash/array/intersectionWith.d.ts +++ /dev/null @@ -1,133 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of unique `array` values not included in the other - * provided arrays using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) - * for equality comparisons. - * - * @category Array - * @param [values] The arrays to inspect. - * @param [comparator] The comparator invoked per element. - * @returns Returns the new array of filtered values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - - * _.intersectionWith(objects, others, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }] - */ - intersectionWith( - array: List | null | undefined, - values: List, - comparator: Comparator2 - ): T1[]; - - /** - * @see _.intersectionWith - */ - intersectionWith( - array: List | null | undefined, - values1: List, - values2: List, - comparator: Comparator2 - ): T1[]; - - /** - * @see _.intersectionWith - */ - intersectionWith( - array: List | null | undefined, - values1: List, - values2: List, - ...values: Array | Comparator2> - ): T1[]; - - /** - * @see _.intersectionWith - */ - intersectionWith( - array?: List | null, - ...values: Array> - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.intersectionWith - */ - intersectionWith( - this: LoDashImplicitWrapper | null | undefined>, - values: List, - comparator: Comparator2 - ): LoDashImplicitWrapper; - - /** - * @see _.intersectionWith - */ - intersectionWith( - this: LoDashImplicitWrapper | null | undefined>, - values1: List, - values2: List, - comparator: Comparator2 - ): LoDashImplicitWrapper; - - /** - * @see _.intersectionWith - */ - intersectionWith( - this: LoDashImplicitWrapper | null | undefined>, - values1: List, - values2: List, - ...values: Array | Comparator2>, - ): LoDashImplicitWrapper; - - /** - * @see _.intersectionWith - */ - intersectionWith( - this: LoDashImplicitWrapper | null | undefined>, - ...values: Array> - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.intersectionWith - */ - intersectionWith( - this: LoDashExplicitWrapper | null | undefined>, - values: List, - comparator: Comparator2 - ): LoDashExplicitWrapper; - - /** - * @see _.intersectionWith - */ - intersectionWith( - this: LoDashExplicitWrapper | null | undefined>, - values1: List, - values2: List, - comparator: Comparator2 - ): LoDashExplicitWrapper; - - /** - * @see _.intersectionWith - */ - intersectionWith( - this: LoDashExplicitWrapper | null | undefined>, - values1: List, - values2: List, - ...values: Array | Comparator2>, - ): LoDashExplicitWrapper; - - /** - * @see _.intersectionWith - */ - intersectionWith( - this: LoDashExplicitWrapper | null | undefined>, - ...values: Array> - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/join.d.ts b/types/lodash/array/join.d.ts deleted file mode 100644 index 2fd74dab4a..0000000000 --- a/types/lodash/array/join.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts all elements in `array` into a string separated by `separator`. - * - * @param array The array to convert. - * @param separator The element separator. - * @returns Returns the joined string. - */ - join( - array: List | null | undefined, - separator?: string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.join - */ - join(separator?: string): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.join - */ - join(separator?: string): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/last.d.ts b/types/lodash/array/last.d.ts deleted file mode 100644 index 4dcdb30423..0000000000 --- a/types/lodash/array/last.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Gets the last element of array. - * - * @param array The array to query. - * @return Returns the last element of array. - */ - last(array: List | null | undefined): T | undefined; - } - - interface LoDashImplicitWrapper { - /** - * @see _.last - */ - last(this: LoDashImplicitWrapper | null | undefined>): T | undefined; - } - - interface LoDashExplicitWrapper { - /** - * @see _.last - */ - last(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/lastIndexOf.d.ts b/types/lodash/array/lastIndexOf.d.ts deleted file mode 100644 index 4bcc38c947..0000000000 --- a/types/lodash/array/lastIndexOf.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.indexOf except that it iterates over elements of array from right to left. - * - * @param array The array to search. - * @param value The value to search for. - * @param fromIndex The index to search from or true to perform a binary search on a sorted array. - * @return Returns the index of the matched value, else -1. - */ - lastIndexOf( - array: List | null | undefined, - value: T, - fromIndex?: true|number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.indexOf - */ - lastIndexOf( - this: LoDashImplicitWrapper | null | undefined>, - value: T, - fromIndex?: true|number - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.indexOf - */ - lastIndexOf( - this: LoDashExplicitWrapper | null | undefined>, - value: T, - fromIndex?: true|number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/nth.d.ts b/types/lodash/array/nth.d.ts deleted file mode 100644 index 50e5b209a3..0000000000 --- a/types/lodash/array/nth.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Gets the element at index `n` of `array`. If `n` is negative, the nth element from the end is returned. - * - * @param array array The array to query. - * @param value The index of the element to return. - * @return Returns the nth element of `array`. - */ - nth( - array: List | null | undefined, - n?: number - ): T | undefined; - } - - interface LoDashImplicitWrapper { - /** - * @see _.nth - */ - nth( - this: LoDashImplicitWrapper | null | undefined>, - n?: number - ): T | undefined; - } - - interface LoDashExplicitWrapper { - /** - * @see _.nth - */ - nth( - this: LoDashExplicitWrapper | null | undefined>, - n?: number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/pull.d.ts b/types/lodash/array/pull.d.ts deleted file mode 100644 index 44ebc855c6..0000000000 --- a/types/lodash/array/pull.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Removes all provided values from array using SameValueZero for equality comparisons. - * - * Note: Unlike _.without, this method mutates array. - * - * @param array The array to modify. - * @param values The values to remove. - * @return Returns array. - */ - pull( - array: T[], - ...values: T[] - ): T[]; - - /** - * @see _.pull - */ - pull( - array: List, - ...values: T[] - ): List; - } - - interface LoDashImplicitWrapper { - /** - * @see _.pull - */ - pull( - this: LoDashImplicitWrapper>, - ...values: T[] - ): this; - } - - interface LoDashExplicitWrapper { - /** - * @see _.pull - */ - pull( - this: LoDashExplicitWrapper>, - ...values: T[] - ): this; - } -} \ No newline at end of file diff --git a/types/lodash/array/pullAll.d.ts b/types/lodash/array/pullAll.d.ts deleted file mode 100644 index ce926b9bb3..0000000000 --- a/types/lodash/array/pullAll.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.pull` except that it accepts an array of values to remove. - * - * **Note:** Unlike `_.difference`, this method mutates `array`. - * - * @category Array - * @param array The array to modify. - * @param values The values to remove. - * @returns Returns `array`. - * @example - * - * var array = [1, 2, 3, 1, 2, 3]; - * - * _.pull(array, [2, 3]); - * console.log(array); - * // => [1, 1] - */ - pullAll( - array: T[], - values?: List, - ): T[]; - - /** - * @see _.pullAll - */ - pullAll( - array: List, - values?: List, - ): List; - } - - interface LoDashImplicitWrapper { - /** - * @see _.pullAll - */ - pullAll( - this: LoDashImplicitWrapper>, - values?: List - ): this; - } - - interface LoDashExplicitWrapper { - /** - * @see _.pullAll - */ - pullAll( - this: LoDashExplicitWrapper>, - values?: List - ): this; - } -} \ No newline at end of file diff --git a/types/lodash/array/pullAllBy.d.ts b/types/lodash/array/pullAllBy.d.ts deleted file mode 100644 index 3524aeae5e..0000000000 --- a/types/lodash/array/pullAllBy.d.ts +++ /dev/null @@ -1,77 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.pullAll` except that it accepts `iteratee` which is - * invoked for each element of `array` and `values` to to generate the criterion - * by which uniqueness is computed. The iteratee is invoked with one argument: (value). - * - * **Note:** Unlike `_.differenceBy`, this method mutates `array`. - * - * @category Array - * @param array The array to modify. - * @param values The values to remove. - * @param [iteratee=_.identity] The iteratee invoked per element. - * @returns Returns `array`. - * @example - * - * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }]; - * - * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x'); - * console.log(array); - * // => [{ 'x': 2 }] - */ - pullAllBy( - array: T[], - values?: List, - iteratee?: ValueIteratee - ): T[]; - - /** - * @see _.pullAllBy - */ - pullAllBy( - array: List, - values?: List, - iteratee?: ValueIteratee - ): List; - - /** - * @see _.pullAllBy - */ - pullAllBy( - array: T1[], - values: List, - iteratee: ValueIteratee - ): T1[]; - - /** - * @see _.pullAllBy - */ - pullAllBy( - array: List, - values: List, - iteratee: ValueIteratee - ): List; - } - - interface LoDashWrapper { - /** - * @see _.pullAllBy - */ - pullAllBy( - this: LoDashWrapper>, - values?: List, - iteratee?: ValueIteratee - ): this; - - /** - * @see _.pullAllBy - */ - pullAllBy( - this: LoDashWrapper>, - values: List, - iteratee: ValueIteratee - ): this; - } -} \ No newline at end of file diff --git a/types/lodash/array/pullAllWith.d.ts b/types/lodash/array/pullAllWith.d.ts deleted file mode 100644 index 345187daad..0000000000 --- a/types/lodash/array/pullAllWith.d.ts +++ /dev/null @@ -1,77 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.pullAll` except that it accepts `comparator` which is - * invoked to compare elements of array to values. The comparator is invoked with - * two arguments: (arrVal, othVal). - * - * **Note:** Unlike `_.differenceWith`, this method mutates `array`. - * - * @category Array - * @param array The array to modify. - * @param values The values to remove. - * @param [iteratee=_.identity] The iteratee invoked per element. - * @returns Returns `array`. - * @example - * - * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }]; - * - * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual); - * console.log(array); - * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }] - */ - pullAllWith( - array: T[], - values?: List, - comparator?: Comparator - ): T[]; - - /** - * @see _.pullAllWith - */ - pullAllWith( - array: List, - values?: List, - comparator?: Comparator - ): List; - - /** - * @see _.pullAllWith - */ - pullAllWith( - array: T1[], - values: List, - comparator: Comparator2 - ): T1[]; - - /** - * @see _.pullAllWith - */ - pullAllWith( - array: List, - values: List, - comparator: Comparator2 - ): List; - } - - interface LoDashWrapper { - /** - * @see _.pullAllWith - */ - pullAllWith( - this: LoDashWrapper>, - values?: List, - comparator?: Comparator - ): this; - - /** - * @see _.pullAllWith - */ - pullAllWith( - this: LoDashWrapper>, - values: List, - comparator: Comparator2 - ): this; - } -} \ No newline at end of file diff --git a/types/lodash/array/pullAt.d.ts b/types/lodash/array/pullAt.d.ts deleted file mode 100644 index a9d56f23ef..0000000000 --- a/types/lodash/array/pullAt.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Removes elements from array corresponding to the given indexes and returns an array of the removed elements. - * Indexes may be specified as an array of indexes or as individual arguments. - * - * Note: Unlike _.at, this method mutates array. - * - * @param array The array to modify. - * @param indexes The indexes of elements to remove, specified as individual indexes or arrays of indexes. - * @return Returns the new array of removed elements. - */ - pullAt( - array: T[], - ...indexes: Array> - ): T[]; - - /** - * @see _.pullAt - */ - pullAt( - array: List, - ...indexes: Array> - ): List; - } - - interface LoDashWrapper { - /** - * @see _.pullAt - */ - pullAt(...indexes: Array>): this; - } -} \ No newline at end of file diff --git a/types/lodash/array/remove.d.ts b/types/lodash/array/remove.d.ts deleted file mode 100644 index 3ec0636972..0000000000 --- a/types/lodash/array/remove.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Removes all elements from array that predicate returns truthy for and returns an array of the removed - * elements. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * Note: Unlike _.filter, this method mutates array. - * - * @param array The array to modify. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the new array of removed elements. - */ - remove( - array: List, - predicate?: ListIteratee - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.remove - */ - remove( - this: LoDashImplicitWrapper>, - predicate?: ListIteratee - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.remove - */ - remove( - this: LoDashExplicitWrapper>, - predicate?: ListIteratee - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/reverse.d.ts b/types/lodash/array/reverse.d.ts deleted file mode 100644 index 0cf2112e24..0000000000 --- a/types/lodash/array/reverse.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Reverses `array` so that the first element becomes the last, the second - * element becomes the second to last, and so on. - * - * **Note:** This method mutates `array` and is based on - * [`Array#reverse`](https://mdn.io/Array/reverse). - * - * @category Array - * @returns Returns `array`. - * @example - * - * var array = [1, 2, 3]; - * - * _.reverse(array); - * // => [3, 2, 1] - * - * console.log(array); - * // => [3, 2, 1] - */ - reverse>( - array: TList, - ): TList; - } -} \ No newline at end of file diff --git a/types/lodash/array/slice.d.ts b/types/lodash/array/slice.d.ts deleted file mode 100644 index 7744c4b334..0000000000 --- a/types/lodash/array/slice.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a slice of array from start up to, but not including, end. - * - * @param array The array to slice. - * @param start The start position. - * @param end The end position. - * @return Returns the slice of array. - */ - slice( - array: List | null | undefined, - start?: number, - end?: number - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.slice - */ - slice( - this: LoDashImplicitWrapper | null | undefined>, - start?: number, - end?: number - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.slice - */ - slice( - this: LoDashExplicitWrapper | null | undefined>, - start?: number, - end?: number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/sortedIndex.d.ts b/types/lodash/array/sortedIndex.d.ts deleted file mode 100644 index 5f8df282e6..0000000000 --- a/types/lodash/array/sortedIndex.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Uses a binary search to determine the lowest index at which `value` should - * be inserted into `array` in order to maintain its sort order. - * - * @category Array - * @param array The sorted array to inspect. - * @param value The value to evaluate. - * @returns Returns the index at which `value` should be inserted into `array`. - * @example - * - * _.sortedIndex([30, 50], 40); - * // => 1 - * - * _.sortedIndex([4, 5], 4); - * // => 0 - */ - sortedIndex( - array: List | null | undefined, - value: T - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedIndex - */ - sortedIndex( - this: LoDashImplicitWrapper | null | undefined>, - value: T - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedIndex - */ - sortedIndex( - this: LoDashExplicitWrapper | null | undefined>, - value: T - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/sortedIndexBy.d.ts b/types/lodash/array/sortedIndexBy.d.ts deleted file mode 100644 index c4184868ca..0000000000 --- a/types/lodash/array/sortedIndexBy.d.ts +++ /dev/null @@ -1,97 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Uses a binary search to determine the lowest index at which `value` should - * be inserted into `array` in order to maintain its sort order. - * - * @category Array - * @param array The sorted array to inspect. - * @param value The value to evaluate. - * @returns Returns the index at which `value` should be inserted into `array`. - * @example - * - * _.sortedIndex([30, 50], 40); - * // => 1 - * - * _.sortedIndex([4, 5], 4); - * // => 0 - */ - sortedIndex( - array: List | null | undefined, - value: T - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedIndex - */ - sortedIndex( - this: LoDashImplicitWrapper | null | undefined>, - value: T - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedIndex - */ - sortedIndex( - this: LoDashExplicitWrapper | null | undefined>, - value: T - ): LoDashExplicitWrapper; - } - - // _.sortedIndexBy - interface LoDashStatic { - /** - * This method is like `_.sortedIndex` except that it accepts `iteratee` - * which is invoked for `value` and each element of `array` to compute their - * sort ranking. The iteratee is invoked with one argument: (value). - * - * @category Array - * @param array The sorted array to inspect. - * @param value The value to evaluate. - * @param [iteratee=_.identity] The iteratee invoked per element. - * @returns Returns the index at which `value` should be inserted into `array`. - * @example - * - * var dict = { 'thirty': 30, 'forty': 40, 'fifty': 50 }; - * - * _.sortedIndexBy(['thirty', 'fifty'], 'forty', _.propertyOf(dict)); - * // => 1 - * - * // using the `_.property` iteratee shorthand - * _.sortedIndexBy([{ 'x': 4 }, { 'x': 5 }], { 'x': 4 }, 'x'); - * // => 0 - */ - sortedIndexBy( - array: List | null | undefined, - value: T, - iteratee?: ValueIteratee - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - this: LoDashImplicitWrapper | null | undefined>, - value: T, - iteratee?: ValueIteratee - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - this: LoDashExplicitWrapper | null | undefined>, - value: T, - iteratee?: ValueIteratee - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/sortedIndexOf.d.ts b/types/lodash/array/sortedIndexOf.d.ts deleted file mode 100644 index b391186178..0000000000 --- a/types/lodash/array/sortedIndexOf.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.indexOf` except that it performs a binary - * search on a sorted `array`. - * - * @category Array - * @param array The array to search. - * @param value The value to search for. - * @returns Returns the index of the matched value, else `-1`. - * @example - * - * _.sortedIndexOf([1, 1, 2, 2], 2); - * // => 2 - */ - sortedIndexOf( - array: List | null | undefined, - value: T - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedIndexOf - */ - sortedIndexOf( - this: LoDashImplicitWrapper | null | undefined>, - value: T - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedIndexOf - */ - sortedIndexOf( - this: LoDashExplicitWrapper | null | undefined>, - value: T - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/sortedLastIndex.d.ts b/types/lodash/array/sortedLastIndex.d.ts deleted file mode 100644 index 33b466ea5f..0000000000 --- a/types/lodash/array/sortedLastIndex.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.sortedIndex` except that it returns the highest - * index at which `value` should be inserted into `array` in order to - * maintain its sort order. - * - * @category Array - * @param array The sorted array to inspect. - * @param value The value to evaluate. - * @returns Returns the index at which `value` should be inserted into `array`. - * @example - * - * _.sortedLastIndex([4, 5], 4); - * // => 1 - */ - sortedLastIndex( - array: List | null | undefined, - value: T - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - this: LoDashImplicitWrapper | null | undefined>, - value: T - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - this: LoDashExplicitWrapper | null | undefined>, - value: T - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/sortedLastIndexBy.d.ts b/types/lodash/array/sortedLastIndexBy.d.ts deleted file mode 100644 index c0f8344292..0000000000 --- a/types/lodash/array/sortedLastIndexBy.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.sortedLastIndex` except that it accepts `iteratee` - * which is invoked for `value` and each element of `array` to compute their - * sort ranking. The iteratee is invoked with one argument: (value). - * - * @category Array - * @param array The sorted array to inspect. - * @param value The value to evaluate. - * @param [iteratee=_.identity] The iteratee invoked per element. - * @returns Returns the index at which `value` should be inserted into `array`. - * @example - * - * // using the `_.property` iteratee shorthand - * _.sortedLastIndexBy([{ 'x': 4 }, { 'x': 5 }], { 'x': 4 }, 'x'); - * // => 1 - */ - sortedLastIndexBy( - array: List | null | undefined, - value: T, - iteratee: ValueIteratee - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - this: LoDashImplicitWrapper | null | undefined>, - value: T, - iteratee: ValueIteratee - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - this: LoDashExplicitWrapper | null | undefined>, - value: T, - iteratee: ValueIteratee - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/sortedLastIndexOf.d.ts b/types/lodash/array/sortedLastIndexOf.d.ts deleted file mode 100644 index 09f8099d1f..0000000000 --- a/types/lodash/array/sortedLastIndexOf.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.lastIndexOf` except that it performs a binary - * search on a sorted `array`. - * - * @category Array - * @param array The array to search. - * @param value The value to search for. - * @returns Returns the index of the matched value, else `-1`. - * @example - * - * _.sortedLastIndexOf([1, 1, 2, 2], 2); - * // => 3 - */ - sortedLastIndexOf( - array: List | null | undefined, - value: T - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedLastIndexOf - */ - sortedLastIndexOf( - this: LoDashImplicitWrapper | null | undefined>, - value: T - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedLastIndexOf - */ - sortedLastIndexOf( - this: LoDashExplicitWrapper | null | undefined>, - value: T - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/sortedUniq.d.ts b/types/lodash/array/sortedUniq.d.ts deleted file mode 100644 index df0487d626..0000000000 --- a/types/lodash/array/sortedUniq.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.uniq` except that it's designed and optimized - * for sorted arrays. - * - * @category Array - * @param array The array to inspect. - * @returns Returns the new duplicate free array. - * @example - * - * _.sortedUniq([1, 1, 2]); - * // => [1, 2] - */ - sortedUniq( - array: List | null | undefined - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedUniq - */ - sortedUniq(this: LoDashImplicitWrapper | null | undefined>): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedUniq - */ - sortedUniq(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/sortedUniqBy.d.ts b/types/lodash/array/sortedUniqBy.d.ts deleted file mode 100644 index 054d4e38c9..0000000000 --- a/types/lodash/array/sortedUniqBy.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.uniqBy` except that it's designed and optimized - * for sorted arrays. - * - * @category Array - * @param array The array to inspect. - * @param [iteratee] The iteratee invoked per element. - * @returns Returns the new duplicate free array. - * @example - * - * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor); - * // => [1.1, 2.2] - */ - sortedUniqBy( - array: string | null | undefined, - iteratee: StringIterator - ): string[]; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - array: List | null | undefined, - iteratee: ListIteratee - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - this: LoDashImplicitWrapper, - iteratee: StringIterator - ): LoDashImplicitWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - this: LoDashImplicitWrapper | null | undefined>, - iteratee: ListIteratee - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - this: LoDashExplicitWrapper, - iteratee: StringIterator - ): LoDashExplicitWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - this: LoDashExplicitWrapper | null | undefined>, - iteratee: ListIteratee - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/tail.d.ts b/types/lodash/array/tail.d.ts deleted file mode 100644 index 8716c9a2f8..0000000000 --- a/types/lodash/array/tail.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Gets all but the first element of array. - * - * @param array The array to query. - * @return Returns the slice of array. - */ - tail(array: List | null | undefined): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.tail - */ - tail(this: LoDashImplicitWrapper | null | undefined>): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.tail - */ - tail(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/take.d.ts b/types/lodash/array/take.d.ts deleted file mode 100644 index a97ff6b4ef..0000000000 --- a/types/lodash/array/take.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a slice of array with n elements taken from the beginning. - * - * @param array The array to query. - * @param n The number of elements to take. - * @return Returns the slice of array. - */ - take( - array: List | null | undefined, - n?: number - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.take - */ - take( - this: LoDashImplicitWrapper | null | undefined>, - n?: number - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.take - */ - take( - this: LoDashExplicitWrapper | null | undefined>, - n?: number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/takeRight.d.ts b/types/lodash/array/takeRight.d.ts deleted file mode 100644 index c786ab40c0..0000000000 --- a/types/lodash/array/takeRight.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a slice of array with n elements taken from the end. - * - * @param array The array to query. - * @param n The number of elements to take. - * @return Returns the slice of array. - */ - takeRight( - array: List | null | undefined, - n?: number - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.takeRight - */ - takeRight( - this: LoDashImplicitWrapper | null | undefined>, - n?: number - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.takeRight - */ - takeRight( - this: LoDashExplicitWrapper | null | undefined>, - n?: number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/takeRightWhile.d.ts b/types/lodash/array/takeRightWhile.d.ts deleted file mode 100644 index 471c0a03f3..0000000000 --- a/types/lodash/array/takeRightWhile.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a slice of array with elements taken from the end. Elements are taken until predicate returns - * falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param array The array to query. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the slice of array. - */ - takeRightWhile( - array: List | null | undefined, - predicate?: ListIteratee - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.takeRightWhile - */ - takeRightWhile( - this: LoDashImplicitWrapper | null | undefined>, - predicate?: ListIteratee - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.takeRightWhile - */ - takeRightWhile( - this: LoDashExplicitWrapper | null | undefined>, - predicate?: ListIteratee - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/takeWhile.d.ts b/types/lodash/array/takeWhile.d.ts deleted file mode 100644 index 05e6adc2a4..0000000000 --- a/types/lodash/array/takeWhile.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a slice of array with elements taken from the beginning. Elements are taken until predicate returns - * falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param array The array to query. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the slice of array. - */ - takeWhile( - array: List | null | undefined, - predicate?: ListIteratee - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.takeWhile - */ - takeWhile( - this: LoDashImplicitWrapper | null | undefined>, - predicate?: ListIteratee - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.takeWhile - */ - takeWhile( - this: LoDashExplicitWrapper | null | undefined>, - predicate?: ListIteratee - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/union.d.ts b/types/lodash/array/union.d.ts deleted file mode 100644 index f747a97da0..0000000000 --- a/types/lodash/array/union.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of unique values, in order, from all of the provided arrays using SameValueZero for - * equality comparisons. - * - * @param arrays The arrays to inspect. - * @return Returns the new array of combined values. - */ - union(...arrays: Array | null | undefined>): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.union - */ - union( - this: LoDashImplicitWrapper | null | undefined>, - ...arrays: Array | null | undefined> - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.union - */ - union( - this: LoDashExplicitWrapper | null | undefined>, - ...arrays: Array | null | undefined> - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/unionBy.d.ts b/types/lodash/array/unionBy.d.ts deleted file mode 100644 index 5e5cd40647..0000000000 --- a/types/lodash/array/unionBy.d.ts +++ /dev/null @@ -1,164 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.union` except that it accepts `iteratee` which is - * invoked for each element of each `arrays` to generate the criterion by which - * uniqueness is computed. The iteratee is invoked with one argument: (value). - * - * @param arrays The arrays to inspect. - * @param iteratee The iteratee invoked per element. - * @return Returns the new array of combined values. - */ - unionBy( - arrays: List | null | undefined, - iteratee?: ValueIteratee - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: List | null | undefined, - arrays2: List | null | undefined, - iteratee?: ValueIteratee - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: List | null | undefined, - arrays2: List | null | undefined, - arrays3: List | null | undefined, - iteratee?: ValueIteratee - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: List | null | undefined, - arrays2: List | null | undefined, - arrays3: List | null | undefined, - arrays4: List | null | undefined, - iteratee?: ValueIteratee - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: List | null | undefined, - arrays2: List | null | undefined, - arrays3: List | null | undefined, - arrays4: List | null | undefined, - arrays5: List | null | undefined, - ...iteratee: Array | List | null | undefined> - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.unionBy - */ - unionBy( - this: LoDashImplicitWrapper | null | undefined>, - iteratee?: ValueIteratee - ): LoDashImplicitWrapper; - - /** - * @see _.unionBy - */ - unionBy( - this: LoDashImplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - iteratee?: ValueIteratee - ): LoDashImplicitWrapper; - - /** - * @see _.unionBy - */ - unionBy( - this: LoDashImplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - arrays3: List | null | undefined, - iteratee?: ValueIteratee - ): LoDashImplicitWrapper; - - /** - * @see _.unionBy - */ - unionBy( - this: LoDashImplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - arrays3: List | null | undefined, - arrays4: List | null | undefined, - iteratee?: ValueIteratee - ): LoDashImplicitWrapper; - - /** - * @see _.unionBy - */ - unionBy( - this: LoDashImplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - arrays3: List | null | undefined, - arrays4: List | null | undefined, - arrays5: List | null | undefined, - ...iteratee: Array | List | null | undefined> - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.unionBy - */ - unionBy( - this: LoDashExplicitWrapper | null | undefined>, - iteratee?: ValueIteratee - ): LoDashExplicitWrapper; - - /** - * @see _.unionBy - */ - unionBy( - this: LoDashExplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - iteratee?: ValueIteratee - ): LoDashExplicitWrapper; - - /** - * @see _.unionBy - */ - unionBy( - this: LoDashExplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - arrays3: List | null | undefined, - iteratee?: ValueIteratee - ): LoDashExplicitWrapper; - - /** - * @see _.unionBy - */ - unionBy( - this: LoDashExplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - arrays3: List | null | undefined, - arrays4: List | null | undefined, - iteratee?: ValueIteratee - ): LoDashExplicitWrapper; - - /** - * @see _.unionBy - */ - unionBy( - this: LoDashExplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - arrays3: List | null | undefined, - arrays4: List | null | undefined, - arrays5: List | null | undefined, - ...iteratee: Array | List | null | undefined> - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/unionWith.d.ts b/types/lodash/array/unionWith.d.ts deleted file mode 100644 index 4778a4a6c7..0000000000 --- a/types/lodash/array/unionWith.d.ts +++ /dev/null @@ -1,103 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.union` except that it accepts `comparator` which - * is invoked to compare elements of `arrays`. The comparator is invoked - * with two arguments: (arrVal, othVal). - * - * @category Array - * @param [arrays] The arrays to inspect. - * @param [comparator] The comparator invoked per element. - * @returns Returns the new array of combined values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.unionWith(objects, others, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] - */ - unionWith( - arrays: List | null | undefined, - comparator?: Comparator - ): T[]; - - /** - * @see _.unionBy - */ - unionWith( - arrays: List | null | undefined, - arrays2: List | null | undefined, - comparator?: Comparator - ): T[]; - - /** - * @see _.unionWith - */ - unionWith( - arrays: List | null | undefined, - arrays2: List | null | undefined, - arrays3: List | null | undefined, - ...comparator: Array | List | null | undefined> - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.unionWith - */ - unionWith( - this: LoDashImplicitWrapper | null | undefined>, - comparator?: Comparator - ): LoDashImplicitWrapper; - - /** - * @see _.unionWith - */ - unionWith( - this: LoDashImplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - comparator?: Comparator - ): LoDashImplicitWrapper; - - /** - * @see _.unionWith - */ - unionWith( - this: LoDashImplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - arrays3: List | null | undefined, - ...comparator: Array | List | null | undefined> - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.unionWith - */ - unionWith( - this: LoDashExplicitWrapper | null | undefined>, - comparator?: Comparator - ): LoDashExplicitWrapper; - - /** - * @see _.unionWith - */ - unionWith( - this: LoDashExplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - comparator?: Comparator - ): LoDashExplicitWrapper; - - /** - * @see _.unionWith - */ - unionWith( - this: LoDashExplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - arrays3: List | null | undefined, - ...comparator: Array | List | null | undefined> - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/uniq.d.ts b/types/lodash/array/uniq.d.ts deleted file mode 100644 index 5dacb3b37b..0000000000 --- a/types/lodash/array/uniq.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a duplicate-free version of an array, using - * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) - * for equality comparisons, in which only the first occurrence of each element - * is kept. - * - * @category Array - * @param array The array to inspect. - * @returns Returns the new duplicate free array. - * @example - * - * _.uniq([2, 1, 2]); - * // => [2, 1] - */ - uniq( - array: List | null | undefined - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.uniq - */ - uniq(this: LoDashImplicitWrapper | null | undefined>): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.uniq - */ - uniq(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/uniqBy.d.ts b/types/lodash/array/uniqBy.d.ts deleted file mode 100644 index 13df8cb7db..0000000000 --- a/types/lodash/array/uniqBy.d.ts +++ /dev/null @@ -1,71 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.uniq` except that it accepts `iteratee` which is - * invoked for each element in `array` to generate the criterion by which - * uniqueness is computed. The iteratee is invoked with one argument: (value). - * - * @category Array - * @param array The array to inspect. - * @param [iteratee=_.identity] The iteratee invoked per element. - * @returns Returns the new duplicate free array. - * @example - * - * _.uniqBy([2.1, 1.2, 2.3], Math.floor); - * // => [2.1, 1.2] - * - * // using the `_.property` iteratee shorthand - * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }, { 'x': 2 }] - */ - uniqBy( - array: string | null | undefined, - iteratee: StringIterator - ): string[]; - - /** - * @see _.uniqBy - */ - uniqBy( - array: List | null | undefined, - iteratee: ListIteratee - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.uniqBy - */ - uniqBy( - this: LoDashImplicitWrapper, - iteratee: StringIterator - ): LoDashImplicitWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - this: LoDashImplicitWrapper | null | undefined>, - iteratee: ListIteratee - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.uniqBy - */ - uniqBy( - this: LoDashExplicitWrapper, - iteratee: StringIterator - ): LoDashExplicitWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - this: LoDashExplicitWrapper | null | undefined>, - iteratee: ListIteratee - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/uniqWith.d.ts b/types/lodash/array/uniqWith.d.ts deleted file mode 100644 index 3d4d24334f..0000000000 --- a/types/lodash/array/uniqWith.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.uniq` except that it accepts `comparator` which - * is invoked to compare elements of `array`. The comparator is invoked with - * two arguments: (arrVal, othVal). - * - * @category Array - * @param array The array to inspect. - * @param [comparator] The comparator invoked per element. - * @returns Returns the new duplicate free array. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.uniqWith(objects, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }] - */ - uniqWith( - array: List | null | undefined, - comparator?: Comparator - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.uniqWith - */ - uniqWith( - this: LoDashImplicitWrapper | null | undefined>, - comparator?: Comparator - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.uniqWith - */ - uniqWith( - this: LoDashExplicitWrapper | null | undefined>, - comparator?: Comparator - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/unzip.d.ts b/types/lodash/array/unzip.d.ts deleted file mode 100644 index ca96290da5..0000000000 --- a/types/lodash/array/unzip.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.zip except that it accepts an array of grouped elements and creates an array - * regrouping the elements to their pre-zip configuration. - * - * @param array The array of grouped elements to process. - * @return Returns the new array of regrouped elements. - */ - unzip(array: T[][] | List> | null | undefined): T[][]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.unzip - */ - unzip(this: LoDashImplicitWrapper> | null | undefined>): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.unzip - */ - unzip(this: LoDashExplicitWrapper> | null | undefined>): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/unzipWith.d.ts b/types/lodash/array/unzipWith.d.ts deleted file mode 100644 index 0608c97bd9..0000000000 --- a/types/lodash/array/unzipWith.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.unzip except that it accepts an iteratee to specify how regrouped values should be - * combined. The iteratee is bound to thisArg and invoked with four arguments: (accumulator, value, index, - * group). - * - * @param array The array of grouped elements to process. - * @param iteratee The function to combine regrouped values. - * @param thisArg The this binding of iteratee. - * @return Returns the new array of regrouped elements. - */ - unzipWith( - array: List> | null | undefined, - iteratee: (...values: T[]) => TResult - ): TResult[]; - - /** - * @see _.unzipWith - */ - unzipWith( - array: List> | null | undefined - ): T[][]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.unzipWith - */ - unzipWith( - this: LoDashImplicitWrapper> | null | undefined>, - iteratee: (...values: T[]) => TResult - ): LoDashImplicitWrapper; - - /** - * @see _.unzipWith - */ - unzipWith( - this: LoDashImplicitWrapper> | null | undefined> - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.unzipWith - */ - unzipWith( - this: LoDashExplicitWrapper> | null | undefined>, - iteratee: (...values: T[]) => TResult - ): LoDashExplicitWrapper; - - /** - * @see _.unzipWith - */ - unzipWith( - this: LoDashExplicitWrapper> | null | undefined> - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/without.d.ts b/types/lodash/array/without.d.ts deleted file mode 100644 index ced52397ee..0000000000 --- a/types/lodash/array/without.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array excluding all provided values using SameValueZero for equality comparisons. - * - * @param array The array to filter. - * @param values The values to exclude. - * @return Returns the new array of filtered values. - */ - without( - array: List | null | undefined, - ...values: T[] - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.without - */ - without( - this: LoDashImplicitWrapper | null | undefined>, - ...values: T[] - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.without - */ - without( - this: LoDashExplicitWrapper | null | undefined>, - ...values: T[] - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/xor.d.ts b/types/lodash/array/xor.d.ts deleted file mode 100644 index 5369888326..0000000000 --- a/types/lodash/array/xor.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of unique values that is the symmetric difference of the provided arrays. - * - * @param arrays The arrays to inspect. - * @return Returns the new array of values. - */ - xor(...arrays: Array | null | undefined>): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.xor - */ - xor( - this: LoDashImplicitWrapper | null | undefined>, - ...arrays: Array | null | undefined> - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.xor - */ - xor( - this: LoDashExplicitWrapper | null | undefined>, - ...arrays: Array | null | undefined> - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/xorBy.d.ts b/types/lodash/array/xorBy.d.ts deleted file mode 100644 index 1be5c1284b..0000000000 --- a/types/lodash/array/xorBy.d.ts +++ /dev/null @@ -1,104 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.xor` except that it accepts `iteratee` which is - * invoked for each element of each `arrays` to generate the criterion by which - * uniqueness is computed. The iteratee is invoked with one argument: (value). - * - * @category Array - * @param [arrays] The arrays to inspect. - * @param [iteratee=_.identity] The iteratee invoked per element. - * @returns Returns the new array of values. - * @example - * - * _.xorBy([2.1, 1.2], [4.3, 2.4], Math.floor); - * // => [1.2, 4.3] - * - * // using the `_.property` iteratee shorthand - * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 2 }] - */ - xorBy( - arrays: List | null | undefined, - iteratee?: ValueIteratee - ): T[]; - - /** - * @see _.xorBy - */ - xorBy( - arrays: List | null | undefined, - arrays2: List | null | undefined, - iteratee?: ValueIteratee - ): T[]; - - /** - * @see _.xorBy - */ - xorBy( - arrays: List | null | undefined, - arrays2: List | null | undefined, - arrays3: List | null | undefined, - ...iteratee: Array | List | null | undefined> - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.xor - */ - xorBy( - this: LoDashImplicitWrapper | null | undefined>, - iteratee?: ValueIteratee - ): LoDashImplicitWrapper; - - /** - * @see _.xorBy - */ - xorBy( - this: LoDashImplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - iteratee?: ValueIteratee - ): LoDashImplicitWrapper; - - /** - * @see _.xorBy - */ - xorBy( - this: LoDashImplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - arrays3: List | null | undefined, - ...iteratee: Array | List | null | undefined> - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.xorBy - */ - xorBy( - this: LoDashExplicitWrapper | null | undefined>, - iteratee?: ValueIteratee - ): LoDashExplicitWrapper; - - /** - * @see _.xorBy - */ - xorBy( - this: LoDashExplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - iteratee?: ValueIteratee - ): LoDashExplicitWrapper; - - /** - * @see _.xorBy - */ - xorBy( - this: LoDashExplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - arrays3: List | null | undefined, - ...iteratee: Array | List | null | undefined> - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/xorWith.d.ts b/types/lodash/array/xorWith.d.ts deleted file mode 100644 index 0963a31da7..0000000000 --- a/types/lodash/array/xorWith.d.ts +++ /dev/null @@ -1,103 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.xor` except that it accepts `comparator` which is - * invoked to compare elements of `arrays`. The comparator is invoked with - * two arguments: (arrVal, othVal). - * - * @category Array - * @param [arrays] The arrays to inspect. - * @param [comparator] The comparator invoked per element. - * @returns Returns the new array of values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.xorWith(objects, others, _.isEqual); - * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] - */ - xorWith( - arrays: List | null | undefined, - comparator?: Comparator - ): T[]; - - /** - * @see _.xorWith - */ - xorWith( - arrays: List | null | undefined, - arrays2: List | null | undefined, - comparator?: Comparator - ): T[]; - - /** - * @see _.xorWith - */ - xorWith( - arrays: List | null | undefined, - arrays2: List | null | undefined, - arrays3: List | null | undefined, - ...comparator: Array | List | null | undefined> - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.xorWith - */ - xorWith( - this: LoDashImplicitWrapper | null | undefined>, - comparator?: Comparator - ): LoDashImplicitWrapper; - - /** - * @see _.xorWith - */ - xorWith( - this: LoDashImplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - comparator?: Comparator - ): LoDashImplicitWrapper; - - /** - * @see _.xorWith - */ - xorWith( - this: LoDashImplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - arrays3: List | null | undefined, - ...comparator: Array | List | null | undefined> - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.xorWith - */ - xorWith( - this: LoDashExplicitWrapper | null | undefined>, - comparator?: Comparator - ): LoDashExplicitWrapper; - - /** - * @see _.xorWith - */ - xorWith( - this: LoDashExplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - comparator?: Comparator - ): LoDashExplicitWrapper; - - /** - * @see _.xorWith - */ - xorWith( - this: LoDashExplicitWrapper | null | undefined>, - arrays2: List | null | undefined, - arrays3: List | null | undefined, - ...comparator: Array | List | null | undefined> - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/zip.d.ts b/types/lodash/array/zip.d.ts deleted file mode 100644 index bf4e436dbf..0000000000 --- a/types/lodash/array/zip.d.ts +++ /dev/null @@ -1,129 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of grouped elements, the first of which contains the first elements of the given arrays, - * the second of which contains the second elements of the given arrays, and so on. - * - * @param arrays The arrays to process. - * @return Returns the new array of grouped elements. - */ - zip(arrays1: List, arrays2: List): Array<[T1 | undefined, T2 | undefined]>; - - /** - * @see _.zip - */ - zip(arrays1: List, arrays2: List, arrays3: List): Array<[T1 | undefined, T2 | undefined, T3 | undefined]>; - - /** - * @see _.zip - */ - zip(arrays1: List, arrays2: List, arrays3: List, arrays4: List): Array<[T1 | undefined, T2 | undefined, T3 | undefined, T4 | undefined]>; - - /** - * @see _.zip - */ - zip(arrays1: List, arrays2: List, arrays3: List, arrays4: List, arrays5: List): Array<[T1 | undefined, T2 | undefined, T3 | undefined, T4 | undefined, T5 | undefined]>; - - /** - * @see _.zip - */ - zip(...arrays: Array | null | undefined>): (T | undefined)[][]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.zip - */ - zip( - this: LoDashImplicitWrapper>, - arrays2: List, - ): LoDashImplicitWrapper>; - - /** - * @see _.zip - */ - zip( - this: LoDashImplicitWrapper>, - arrays2: List, - arrays3: List, - ): LoDashImplicitWrapper>; - - /** - * @see _.zip - */ - zip( - this: LoDashImplicitWrapper>, - arrays2: List, - arrays3: List, - arrays4: List, - ): LoDashImplicitWrapper>; - - /** - * @see _.zip - */ - zip( - this: LoDashImplicitWrapper>, - arrays2: List, - arrays3: List, - arrays4: List, - arrays5: List, - ): LoDashImplicitWrapper>; - - /** - * @see _.zip - */ - zip( - this: LoDashImplicitWrapper | null | undefined>, - ...arrays: Array | null | undefined> - ): LoDashImplicitWrapper>>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.zip - */ - zip( - this: LoDashExplicitWrapper>, - arrays2: List, - ): LoDashExplicitWrapper>; - - /** - * @see _.zip - */ - zip( - this: LoDashExplicitWrapper>, - arrays2: List, - arrays3: List, - ): LoDashExplicitWrapper>; - - /** - * @see _.zip - */ - zip( - this: LoDashExplicitWrapper>, - arrays2: List, - arrays3: List, - arrays4: List, - ): LoDashExplicitWrapper>; - - /** - * @see _.zip - */ - zip( - this: LoDashExplicitWrapper>, - arrays2: List, - arrays3: List, - arrays4: List, - arrays5: List, - ): LoDashExplicitWrapper>; - - /** - * @see _.zip - */ - zip( - this: LoDashExplicitWrapper | null | undefined>, - ...arrays: Array | null | undefined> - ): LoDashExplicitWrapper>>; - } -} diff --git a/types/lodash/array/zipObject.d.ts b/types/lodash/array/zipObject.d.ts deleted file mode 100644 index cf7c35e96a..0000000000 --- a/types/lodash/array/zipObject.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.fromPairs except that it accepts two arrays, one of property - * identifiers and one of corresponding values. - * - * @param props The property names. - * @param values The property values. - * @return Returns the new object. - */ - zipObject( - props: List, - values: List - ): Dictionary; - - /** - * @see _.zipObject - */ - zipObject( - props?: List - ): Dictionary; - } - - interface LoDashImplicitWrapper { - /** - * @see _.zipObject - */ - zipObject( - this: LoDashImplicitWrapper>, - values: List - ): LoDashImplicitWrapper>; - - /** - * @see _.zipObject - */ - zipObject( - this: LoDashImplicitWrapper> - ): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.zipObject - */ - zipObject( - this: LoDashExplicitWrapper>, - values: List - ): LoDashExplicitWrapper>; - - /** - * @see _.zipObject - */ - zipObject( - this: LoDashExplicitWrapper> - ): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/array/zipObjectDeep.d.ts b/types/lodash/array/zipObjectDeep.d.ts deleted file mode 100644 index a91117e705..0000000000 --- a/types/lodash/array/zipObjectDeep.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.zipObject except that it supports property paths. - * - * @param paths The property names. - * @param values The property values. - * @return Returns the new object. - */ - zipObjectDeep( - paths?: List, - values?: List - ): object; - } - - interface LoDashImplicitWrapper { - /** - * @see _.zipObjectDeep - */ - zipObjectDeep( - this: LoDashImplicitWrapper>, - values?: List - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.zipObjectDeep - */ - zipObjectDeep( - this: LoDashExplicitWrapper>, - values?: List - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/array/zipWith.d.ts b/types/lodash/array/zipWith.d.ts deleted file mode 100644 index 31e080b056..0000000000 --- a/types/lodash/array/zipWith.d.ts +++ /dev/null @@ -1,187 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.zip except that it accepts an iteratee to specify how grouped values should be - * combined. The iteratee is bound to thisArg and invoked with four arguments: (accumulator, value, index, - * group). - * @param [arrays] The arrays to process. - * @param [iteratee] The function to combine grouped values. - * @param [thisArg] The `this` binding of `iteratee`. - * @return Returns the new array of grouped elements. - */ - zipWith( - arrays: List, - iteratee: (value1: T) => TResult - ): TResult[]; - - /** - * @see _.zipWith - */ - zipWith( - arrays1: List, - arrays2: List, - iteratee: (value1: T1, value2: T2) => TResult - ): TResult[]; - - /** - * @see _.zipWith - */ - zipWith( - arrays1: List, - arrays2: List, - arrays3: List, - iteratee: (value1: T1, value2: T2, value3: T3) => TResult - ): TResult[]; - - /** - * @see _.zipWith - */ - zipWith( - arrays1: List, - arrays2: List, - arrays3: List, - arrays4: List, - iteratee: (value1: T1, value2: T2, value3: T3, value4: T4) => TResult - ): TResult[]; - - /** - * @see _.zipWith - */ - zipWith( - arrays1: List, - arrays2: List, - arrays3: List, - arrays4: List, - arrays5: List, - iteratee: (value1: T1, value2: T2, value3: T3, value4: T4, value5: T5) => TResult - ): TResult[]; - - /** - * @see _.zipWith - */ - zipWith( - ...iteratee: Array<((...group: T[]) => TResult) | List | null | undefined> - ): TResult[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.zipWith - */ - zipWith( - this: LoDashImplicitWrapper>, - iteratee: (value1: T) => TResult - ): LoDashImplicitWrapper; - - /** - * @see _.zipWith - */ - zipWith( - this: LoDashImplicitWrapper>, - arrays2: List, - iteratee: (value1: T1, value2: T2) => TResult - ): LoDashImplicitWrapper; - - /** - * @see _.zipWith - */ - zipWith( - this: LoDashImplicitWrapper>, - arrays2: List, - arrays3: List, - iteratee: (value1: T1, value2: T2, value3: T3) => TResult - ): LoDashImplicitWrapper; - - /** - * @see _.zipWith - */ - zipWith( - this: LoDashImplicitWrapper>, - arrays2: List, - arrays3: List, - arrays4: List, - iteratee: (value1: T1, value2: T2, value3: T3, value4: T4) => TResult - ): LoDashImplicitWrapper; - - /** - * @see _.zipWith - */ - zipWith( - this: LoDashImplicitWrapper>, - arrays2: List, - arrays3: List, - arrays4: List, - arrays5: List, - iteratee: (value1: T1, value2: T2, value3: T3, value4: T4, value5: T5) => TResult - ): LoDashImplicitWrapper; - - /** - * @see _.zipWith - */ - zipWith( - this: LoDashImplicitWrapper | null | undefined>, - ...iteratee: Array<((...group: T[]) => TResult) | List | null | undefined> - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.zipWith - */ - zipWith( - this: LoDashExplicitWrapper>, - iteratee: (value1: T) => TResult - ): LoDashExplicitWrapper; - - /** - * @see _.zipWith - */ - zipWith( - this: LoDashExplicitWrapper>, - arrays2: List, - iteratee: (value1: T1, value2: T2) => TResult - ): LoDashExplicitWrapper; - - /** - * @see _.zipWith - */ - zipWith( - this: LoDashExplicitWrapper>, - arrays2: List, - arrays3: List, - iteratee: (value1: T1, value2: T2, value3: T3) => TResult - ): LoDashExplicitWrapper; - - /** - * @see _.zipWith - */ - zipWith( - this: LoDashExplicitWrapper>, - arrays2: List, - arrays3: List, - arrays4: List, - iteratee: (value1: T1, value2: T2, value3: T3, value4: T4) => TResult - ): LoDashExplicitWrapper; - - /** - * @see _.zipWith - */ - zipWith( - this: LoDashExplicitWrapper>, - arrays2: List, - arrays3: List, - arrays4: List, - arrays5: List, - iteratee: (value1: T1, value2: T2, value3: T3, value4: T4, value5: T5) => TResult - ): LoDashExplicitWrapper; - - /** - * @see _.zipWith - */ - zipWith( - this: LoDashExplicitWrapper | null | undefined>, - ...iteratee: Array<((...group: T[]) => TResult) | List | null | undefined> - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/collection/countBy.d.ts b/types/lodash/collection/countBy.d.ts deleted file mode 100644 index 7c7ca9e03a..0000000000 --- a/types/lodash/collection/countBy.d.ts +++ /dev/null @@ -1,121 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an object composed of keys generated from the results of running each element of collection through - * iteratee. The corresponding value of each key is the number of times the key was returned by iteratee. The - * iteratee is bound to thisArg and invoked with three arguments: - * (value, index|key, collection). - * - * If a property name is provided for iteratee the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for iteratee the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param collection The collection to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns the composed aggregate object. - */ - countBy( - collection: string | null | undefined, - iteratee?: StringIterator - ): Dictionary; - - /** - * @see _.countBy - */ - countBy( - collection: List | null | undefined, - iteratee?: ListIteratee - ): Dictionary; - - /** - * @see _.countBy - */ - countBy( - collection: NumericDictionary | null | undefined, - iteratee?: NumericDictionaryIteratee - ): Dictionary; - - /** - * @see _.countBy - */ - countBy( - collection: T | null | undefined, - iteratee?: ObjectIteratee - ): Dictionary; - } - - interface LoDashImplicitWrapper { - /** - * @see _.countBy - */ - countBy( - this: LoDashImplicitWrapper, - iteratee?: StringIterator - ): LoDashImplicitWrapper>; - - /** - * @see _.countBy - */ - countBy( - this: LoDashImplicitWrapper | null | undefined>, - iteratee?: ListIteratee - ): LoDashImplicitWrapper>; - - /** - * @see _.countBy - */ - countBy( - this: LoDashImplicitWrapper, - iteratee?: ObjectIteratee - ): LoDashImplicitWrapper>; - - /** - * @see _.countBy - */ - countBy( - this: LoDashImplicitWrapper | null | undefined>, - iteratee?: NumericDictionaryIteratee - ): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.countBy - */ - countBy( - this: LoDashExplicitWrapper, - iteratee?: StringIterator - ): LoDashExplicitWrapper>; - - /** - * @see _.countBy - */ - countBy( - this: LoDashExplicitWrapper | null | undefined>, - iteratee?: ListIteratee - ): LoDashExplicitWrapper>; - - /** - * @see _.countBy - */ - countBy( - this: LoDashExplicitWrapper, - iteratee?: ObjectIteratee - ): LoDashExplicitWrapper>; - - /** - * @see _.countBy - */ - countBy( - this: LoDashExplicitWrapper | null | undefined>, - iteratee?: NumericDictionaryIteratee - ): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/collection/each.d.ts b/types/lodash/collection/each.d.ts deleted file mode 100644 index 9777780edc..0000000000 --- a/types/lodash/collection/each.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - each: typeof _.forEach; // tslint:disable-line:no-unnecessary-qualifier - } - - interface LoDashWrapper { - /** - * @see _.forEach - */ - each( - this: LoDashWrapper, - iteratee?: ArrayIterator - ): this; - - /** - * @see _.forEach - */ - each( - this: LoDashWrapper, - iteratee?: StringIterator - ): this; - - /** - * @see _.forEach - */ - each( - this: LoDashWrapper | null | undefined>, - iteratee?: ListIterator - ): this; - - /** - * @see _.forEach - */ - each( - this: LoDashWrapper, - iteratee?: ObjectIterator - ): this; - } -} \ No newline at end of file diff --git a/types/lodash/collection/eachRight.d.ts b/types/lodash/collection/eachRight.d.ts deleted file mode 100644 index 15e3007af5..0000000000 --- a/types/lodash/collection/eachRight.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - eachRight: typeof _.forEachRight; // tslint:disable-line:no-unnecessary-qualifier - } - - interface LoDashWrapper { - /** - * @see _.forEachRight - */ - eachRight( - this: LoDashWrapper, - iteratee?: ArrayIterator - ): this; - - /** - * @see _.forEachRight - */ - eachRight( - this: LoDashWrapper, - iteratee?: StringIterator - ): this; - - /** - * @see _.forEachRight - */ - eachRight( - this: LoDashWrapper | null | undefined>, - iteratee?: ListIterator - ): this; - - /** - * @see _.forEachRight - */ - eachRight( - this: LoDashWrapper, - iteratee?: ObjectIterator - ): this; - } -} \ No newline at end of file diff --git a/types/lodash/collection/every.d.ts b/types/lodash/collection/every.d.ts deleted file mode 100644 index 42062a74ad..0000000000 --- a/types/lodash/collection/every.d.ts +++ /dev/null @@ -1,85 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if predicate returns truthy for all elements of collection. Iteration is stopped once predicate - * returns falsey. The predicate is invoked with three arguments: (value, index|key, collection). - * - * @param collection The collection to iterate over. - * @param predicate The function invoked per iteration. - * @return Returns true if all elements pass the predicate check, else false. - */ - every( - collection: List | null | undefined, - predicate?: ListIterateeCustom - ): boolean; - - /** - * @see _.every - */ - every( - collection: NumericDictionary | null | undefined, - predicate?: NumericDictionaryIterateeCustom - ): boolean; - - /** - * @see _.every - */ - every( - collection: T | null | undefined, - predicate?: ObjectIterateeCustom - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.every - */ - every( - this: LoDashImplicitWrapper | null | undefined>, - predicate?: ListIterateeCustom - ): boolean; - - /** - * @see _.every - */ - every( - this: LoDashImplicitWrapper, - predicate?: ObjectIterateeCustom - ): boolean; - - /** - * @see _.every - */ - every( - this: LoDashImplicitWrapper | null | undefined>, - predicate?: NumericDictionaryIterateeCustom - ): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.every - */ - every( - this: LoDashExplicitWrapper | null | undefined>, - predicate?: ListIterateeCustom - ): LoDashExplicitWrapper; - - /** - * @see _.every - */ - every( - this: LoDashExplicitWrapper, - predicate?: ObjectIterateeCustom - ): LoDashExplicitWrapper; - - /** - * @see _.every - */ - every( - this: LoDashExplicitWrapper | null | undefined>, - predicate?: NumericDictionaryIterateeCustom - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/collection/filter.d.ts b/types/lodash/collection/filter.d.ts deleted file mode 100644 index 0f60654127..0000000000 --- a/types/lodash/collection/filter.d.ts +++ /dev/null @@ -1,143 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Iterates over elements of collection, returning an array of all elements predicate returns truthy for. The - * predicate is bound to thisArg and invoked with three arguments: (value, index|key, collection). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param collection The collection to iterate over. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the new filtered array. - */ - filter( - collection: string | null | undefined, - predicate?: StringIterator - ): string[]; - - /** - * @see _.filter - */ - filter( - collection: List | null | undefined, - predicate: ListIteratorTypeGuard - ): S[]; - - /** - * @see _.filter - */ - filter( - collection: List | null | undefined, - predicate?: ListIterateeCustom - ): T[]; - - /** - * @see _.filter - */ - filter( - collection: T | null | undefined, - predicate: ObjectIteratorTypeGuard - ): S[]; - - /** - * @see _.filter - */ - filter( - collection: T | null | undefined, - predicate?: ObjectIterateeCustom - ): Array; - } - - interface LoDashImplicitWrapper { - /** - * @see _.filter - */ - filter( - this: LoDashImplicitWrapper, - predicate?: StringIterator - ): LoDashImplicitWrapper; - - /** - * @see _.filter - */ - filter( - this: LoDashImplicitWrapper | null | undefined>, - predicate: ListIteratorTypeGuard - ): LoDashImplicitWrapper; - - /** - * @see _.filter - */ - filter( - this: LoDashImplicitWrapper | null | undefined>, - predicate?: ListIterateeCustom - ): LoDashImplicitWrapper; - - /** - * @see _.filter - */ - filter( - this: LoDashImplicitWrapper, - predicate: ObjectIteratorTypeGuard - ): LoDashImplicitWrapper; - - /** - * @see _.filter - */ - filter( - this: LoDashImplicitWrapper, - predicate?: ObjectIterateeCustom - ): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.filter - */ - filter( - this: LoDashExplicitWrapper, - predicate?: StringIterator - ): LoDashExplicitWrapper; - - /** - * @see _.filter - */ - filter( - this: LoDashExplicitWrapper | null | undefined>, - predicate: ListIteratorTypeGuard - ): LoDashExplicitWrapper; - - /** - * @see _.filter - */ - filter( - this: LoDashExplicitWrapper | null | undefined>, - predicate?: ListIterateeCustom - ): LoDashExplicitWrapper; - - /** - * @see _.filter - */ - filter( - this: LoDashExplicitWrapper, - predicate: ObjectIteratorTypeGuard - ): LoDashExplicitWrapper; - - /** - * @see _.filter - */ - filter( - this: LoDashExplicitWrapper, - predicate?: ObjectIterateeCustom - ): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/collection/find.d.ts b/types/lodash/collection/find.d.ts deleted file mode 100644 index 25bfc77efc..0000000000 --- a/types/lodash/collection/find.d.ts +++ /dev/null @@ -1,131 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Iterates over elements of collection, returning the first element predicate returns truthy for. - * The predicate is bound to thisArg and invoked with three arguments: (value, index|key, collection). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param collection The collection to search. - * @param predicate The function invoked per iteration. - * @param fromIndex The index to search from. - * @return Returns the matched element, else undefined. - */ - find( - collection: List | null | undefined, - predicate: ListIteratorTypeGuard, - fromIndex?: number - ): S|undefined; - - /** - * @see _.find - */ - find( - collection: List | null | undefined, - predicate?: ListIterateeCustom, - fromIndex?: number - ): T|undefined; - - /** - * @see _.find - */ - find( - collection: T | null | undefined, - predicate: ObjectIteratorTypeGuard, - fromIndex?: number - ): S|undefined; - - /** - * @see _.find - */ - find( - collection: T | null | undefined, - predicate?: ObjectIterateeCustom, - fromIndex?: number - ): T[keyof T]|undefined; - } - - interface LoDashImplicitWrapper { - /** - * @see _.find - */ - find( - this: LoDashImplicitWrapper | null | undefined>, - predicate: ListIteratorTypeGuard, - fromIndex?: number - ): S|undefined; - - /** - * @see _.find - */ - find( - this: LoDashImplicitWrapper | null | undefined>, - predicate?: ListIterateeCustom, - fromIndex?: number - ): T|undefined; - - /** - * @see _.find - */ - find( - this: LoDashImplicitWrapper, - predicate: ObjectIteratorTypeGuard, - fromIndex?: number - ): S|undefined; - - /** - * @see _.find - */ - find( - this: LoDashImplicitWrapper, - predicate?: ObjectIterateeCustom, - fromIndex?: number - ): T[keyof T]|undefined; - } - - interface LoDashExplicitWrapper { - /** - * @see _.find - */ - find( - this: LoDashExplicitWrapper | null | undefined>, - predicate: ListIteratorTypeGuard, - fromIndex?: number - ): LoDashExplicitWrapper; - - /** - * @see _.find - */ - find( - this: LoDashExplicitWrapper | null | undefined>, - predicate?: ListIterateeCustom, - fromIndex?: number - ): LoDashExplicitWrapper; - - /** - * @see _.find - */ - find( - this: LoDashExplicitWrapper, - predicate: ObjectIteratorTypeGuard, - fromIndex?: number - ): LoDashExplicitWrapper; - - /** - * @see _.find - */ - find( - this: LoDashExplicitWrapper, - predicate?: ObjectIterateeCustom, - fromIndex?: number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/collection/findLast.d.ts b/types/lodash/collection/findLast.d.ts deleted file mode 100644 index edbcf971e4..0000000000 --- a/types/lodash/collection/findLast.d.ts +++ /dev/null @@ -1,121 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.find except that it iterates over elements of a collection from - * right to left. - * @param collection Searches for a value in this list. - * @param predicate The function called per iteration. - * @param fromIndex The index to search from. - * @return The found element, else undefined. - **/ - findLast( - collection: List | null | undefined, - predicate: ListIteratorTypeGuard, - fromIndex?: number - ): S|undefined; - - /** - * @see _.findLast - */ - findLast( - collection: List | null | undefined, - predicate?: ListIterateeCustom, - fromIndex?: number - ): T|undefined; - - /** - * @see _.findLast - */ - findLast( - collection: T | null | undefined, - predicate: ObjectIteratorTypeGuard, - fromIndex?: number - ): S|undefined; - - /** - * @see _.findLast - */ - findLast( - collection: T | null | undefined, - predicate?: ObjectIterateeCustom, - fromIndex?: number - ): T[keyof T]|undefined; - } - - interface LoDashImplicitWrapper { - /** - * @see _.findLast - */ - findLast( - this: LoDashImplicitWrapper | null | undefined>, - predicate: ListIteratorTypeGuard, - fromIndex?: number - ): S | undefined; - - /** - * @see _.findLast - */ - findLast( - this: LoDashImplicitWrapper | null | undefined>, - predicate?: ListIterateeCustom, - fromIndex?: number - ): T | undefined; - - /** - * @see _.findLast - */ - findLast( - this: LoDashImplicitWrapper, - predicate: ObjectIteratorTypeGuard, - fromIndex?: number - ): S|undefined; - - /** - * @see _.findLast - */ - findLast( - this: LoDashImplicitWrapper, - predicate?: ObjectIterateeCustom, - fromIndex?: number - ): T[keyof T]|undefined; - } - - interface LoDashExplicitWrapper { - /** - * @see _.findLast - */ - findLast( - this: LoDashExplicitWrapper | null | undefined>, - predicate: ListIteratorTypeGuard, - fromIndex?: number - ): LoDashExplicitWrapper; - - /** - * @see _.findLast - */ - findLast( - this: LoDashExplicitWrapper | null | undefined>, - predicate?: ListIterateeCustom, - fromIndex?: number - ): LoDashExplicitWrapper; - - /** - * @see _.findLast - */ - findLast( - this: LoDashExplicitWrapper, - predicate: ObjectIteratorTypeGuard, - fromIndex?: number - ): LoDashExplicitWrapper; - - /** - * @see _.findLast - */ - findLast( - this: LoDashExplicitWrapper, - predicate?: ObjectIterateeCustom, - fromIndex?: number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/collection/flatMap.d.ts b/types/lodash/collection/flatMap.d.ts deleted file mode 100644 index 1917e691dc..0000000000 --- a/types/lodash/collection/flatMap.d.ts +++ /dev/null @@ -1,164 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of flattened values by running each element in collection through iteratee - * and concating its result to the other mapped values. The iteratee is invoked with three arguments: - * (value, index|key, collection). - * - * @param collection The collection to iterate over. - * @param iteratee The function invoked per iteration. - * @return Returns the new flattened array. - */ - flatMap( - collection: List> | Dictionary> | NumericDictionary> | null | undefined - ): T[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: object | null | undefined - ): any[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: List | null | undefined, - iteratee: ListIterator> - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: NumericDictionary | null | undefined, - iteratee: NumericDictionaryIterator> - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: T | null | undefined, - iteratee: ObjectIterator> - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: object | null | undefined, - iteratee: string - ): any[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: object | null | undefined, - iteratee: object - ): boolean[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.flatMap - */ - flatMap(this: LoDashImplicitWrapper> | Dictionary> | NumericDictionary> | null | undefined>): LoDashImplicitWrapper; - - /** - * @see _.flatMap - */ - flatMap(): LoDashImplicitWrapper; - - /** - * @see _.flatMap - */ - flatMap( - this: LoDashImplicitWrapper | null | undefined>, - iteratee: ListIterator> - ): LoDashImplicitWrapper; - - /** - * @see _.flatMap - */ - flatMap( - this: LoDashImplicitWrapper, - iteratee: ObjectIterator> - ): LoDashImplicitWrapper; - - /** - * @see _.flatMap - */ - flatMap( - this: LoDashImplicitWrapper | null | undefined>, - iteratee: NumericDictionaryIterator> - ): LoDashImplicitWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: string - ): LoDashImplicitWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: object - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.flatMap - */ - flatMap(this: LoDashExplicitWrapper> | Dictionary> | NumericDictionary> | null | undefined>): LoDashExplicitWrapper; - - /** - * @see _.flatMap - */ - flatMap(): LoDashExplicitWrapper; - - /** - * @see _.flatMap - */ - flatMap( - this: LoDashExplicitWrapper | null | undefined>, - iteratee: ListIterator> - ): LoDashExplicitWrapper; - - /** - * @see _.flatMap - */ - flatMap( - this: LoDashExplicitWrapper | null | undefined>, - iteratee: NumericDictionaryIterator> - ): LoDashExplicitWrapper; - - /** - * @see _.flatMap - */ - flatMap( - this: LoDashExplicitWrapper, - iteratee: ObjectIterator> - ): LoDashExplicitWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: string - ): LoDashExplicitWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: object - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/collection/flatMapDeep.d.ts b/types/lodash/collection/flatMapDeep.d.ts deleted file mode 100644 index 02a81ed5ab..0000000000 --- a/types/lodash/collection/flatMapDeep.d.ts +++ /dev/null @@ -1,164 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.flatMap` except that it recursively flattens the - * mapped results. - * - * @since 4.7.0 - * @category Collection - * @param collection The collection to iterate over. - * @param [iteratee=_.identity] The function invoked per iteration. - * @returns Returns the new flattened array. - * @example - * - * function duplicate(n) { - * return [[[n, n]]]; - * } - * - * _.flatMapDeep([1, 2], duplicate); - * // => [1, 1, 2, 2] - */ - flatMapDeep( - collection: List | T> | Dictionary | T> | NumericDictionary | T> | null | undefined - ): T[]; - - /** - * @see _.flatMapDeep - */ - flatMapDeep( - collection: List | null | undefined, - iteratee: ListIterator | TResult> - ): TResult[]; - - /** - * @see _.flatMapDeep - */ - flatMapDeep( - collection: NumericDictionary | null | undefined, - iteratee: NumericDictionaryIterator | TResult> - ): TResult[]; - - /** - * @see _.flatMapDeep - */ - flatMapDeep( - collection: T | null | undefined, - iteratee: ObjectIterator | TResult> - ): TResult[]; - - /** - * @see _.flatMapDeep - */ - flatMapDeep( - collection: object | null | undefined, - iteratee: string - ): any[]; - - /** - * @see _.flatMapDeep - */ - flatMapDeep( - collection: object | null | undefined, - iteratee: object - ): boolean[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.flatMapDeep - */ - flatMapDeep( - this: LoDashImplicitWrapper | T> | Dictionary | T> | NumericDictionary | T> | null | undefined> - ): LoDashImplicitWrapper; - - /** - * @see _.flatMapDeep - */ - flatMapDeep( - this: LoDashImplicitWrapper | null | undefined>, - iteratee: ListIterator | TResult> - ): LoDashImplicitWrapper; - - /** - * @see _.flatMapDeep - */ - flatMapDeep( - this: LoDashImplicitWrapper | null | undefined>, - iteratee: NumericDictionaryIterator | TResult> - ): LoDashImplicitWrapper; - - /** - * @see _.flatMapDeep - */ - flatMapDeep( - this: LoDashImplicitWrapper, - iteratee: ObjectIterator | TResult> - ): LoDashImplicitWrapper; - - /** - * @see _.flatMapDeep - */ - flatMapDeep( - this: LoDashImplicitWrapper, - iteratee: string - ): LoDashImplicitWrapper; - - /** - * @see _.flatMapDeep - */ - flatMapDeep( - this: LoDashImplicitWrapper, - iteratee: object - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.flatMapDeep - */ - flatMapDeep( - this: LoDashExplicitWrapper | T> | Dictionary | T> | NumericDictionary | T> | null | undefined> - ): LoDashExplicitWrapper; - - /** - * @see _.flatMapDeep - */ - flatMapDeep( - this: LoDashExplicitWrapper | null | undefined>, - iteratee: ListIterator | TResult> - ): LoDashExplicitWrapper; - - /** - * @see _.flatMapDeep - */ - flatMapDeep( - this: LoDashExplicitWrapper | null | undefined>, - iteratee: NumericDictionaryIterator | TResult> - ): LoDashExplicitWrapper; - - /** - * @see _.flatMapDeep - */ - flatMapDeep( - this: LoDashExplicitWrapper, - iteratee: ObjectIterator | TResult> - ): LoDashExplicitWrapper; - - /** - * @see _.flatMapDeep - */ - flatMapDeep( - this: LoDashExplicitWrapper, - iteratee: string - ): LoDashExplicitWrapper; - - /** - * @see _.flatMapDeep - */ - flatMapDeep( - this: LoDashExplicitWrapper, - iteratee: object - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/collection/flatMapDepth.d.ts b/types/lodash/collection/flatMapDepth.d.ts deleted file mode 100644 index 6790a8e0f2..0000000000 --- a/types/lodash/collection/flatMapDepth.d.ts +++ /dev/null @@ -1,180 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.flatMap` except that it recursively flattens the - * mapped results up to `depth` times. - * - * @since 4.7.0 - * @category Collection - * @param collection The collection to iterate over. - * @param [iteratee=_.identity] The function invoked per iteration. - * @param [depth=1] The maximum recursion depth. - * @returns Returns the new flattened array. - * @example - * - * function duplicate(n) { - * return [[[n, n]]]; - * } - * - * _.flatMapDepth([1, 2], duplicate, 2); - * // => [[1, 1], [2, 2]] - */ - flatMapDepth( - collection: List | T> | Dictionary | T> | NumericDictionary | T> | null | undefined - ): T[]; - - /** - * @see _.flatMapDepth - */ - flatMapDepth( - collection: List | null | undefined, - iteratee: ListIterator | TResult>, - depth?: number - ): TResult[]; - - /** - * @see _.flatMapDepth - */ - flatMapDepth( - collection: NumericDictionary | null | undefined, - iteratee: NumericDictionaryIterator | TResult>, - depth?: number - ): TResult[]; - - /** - * @see _.flatMapDepth - */ - flatMapDepth( - collection: T | null | undefined, - iteratee: ObjectIterator | TResult>, - depth?: number - ): TResult[]; - - /** - * @see _.flatMapDepth - */ - flatMapDepth( - collection: object | null | undefined, - iteratee: string, - depth?: number - ): any[]; - - /** - * @see _.flatMapDepth - */ - flatMapDepth( - collection: object | null | undefined, - iteratee: object, - depth?: number - ): boolean[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.flatMapDepth - */ - flatMapDepth( - this: LoDashImplicitWrapper | T> | Dictionary | T> | NumericDictionary | T> | null | undefined> - ): LoDashImplicitWrapper; - - /** - * @see _.flatMapDepth - */ - flatMapDepth( - this: LoDashImplicitWrapper | null | undefined>, - iteratee: ListIterator | TResult>, - depth?: number - ): LoDashImplicitWrapper; - - /** - * @see _.flatMapDepth - */ - flatMapDepth( - this: LoDashImplicitWrapper | null | undefined>, - iteratee: NumericDictionaryIterator | TResult>, - depth?: number - ): LoDashImplicitWrapper; - - /** - * @see _.flatMapDepth - */ - flatMapDepth( - this: LoDashImplicitWrapper, - iteratee: ObjectIterator | TResult>, - depth?: number - ): LoDashImplicitWrapper; - - /** - * @see _.flatMapDepth - */ - flatMapDepth( - this: LoDashImplicitWrapper, - iteratee: string, - depth?: number - ): LoDashImplicitWrapper; - - /** - * @see _.flatMapDepth - */ - flatMapDepth( - this: LoDashImplicitWrapper, - iteratee: object, - depth?: number - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.flatMapDepth - */ - flatMapDepth( - this: LoDashExplicitWrapper | T> | Dictionary | T> | NumericDictionary | T> | null | undefined> - ): LoDashExplicitWrapper; - - /** - * @see _.flatMapDepth - */ - flatMapDepth( - this: LoDashExplicitWrapper | null | undefined>, - iteratee: ListIterator | TResult>, - depth?: number - ): LoDashExplicitWrapper; - - /** - * @see _.flatMapDepth - */ - flatMapDepth( - this: LoDashExplicitWrapper | null | undefined>, - iteratee: NumericDictionaryIterator | TResult>, - depth?: number - ): LoDashExplicitWrapper; - - /** - * @see _.flatMapDepth - */ - flatMapDepth( - this: LoDashExplicitWrapper, - iteratee: ObjectIterator | TResult>, - depth?: number - ): LoDashExplicitWrapper; - - /** - * @see _.flatMapDepth - */ - flatMapDepth( - this: LoDashExplicitWrapper, - iteratee: string, - depth?: number - ): LoDashExplicitWrapper; - - /** - * @see _.flatMapDepth - */ - flatMapDepth( - this: LoDashExplicitWrapper, - iteratee: object, - depth?: number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/collection/forEach.d.ts b/types/lodash/collection/forEach.d.ts deleted file mode 100644 index 74c0b38cde..0000000000 --- a/types/lodash/collection/forEach.d.ts +++ /dev/null @@ -1,113 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Iterates over elements of collection invoking iteratee for each element. The iteratee is bound to thisArg - * and invoked with three arguments: - * (value, index|key, collection). Iteratee functions may exit iteration early by explicitly returning false. - * - * Note: As with other "Collections" methods, objects with a "length" property are iterated like arrays. To - * avoid this behavior _.forIn or _.forOwn may be used for object iteration. - * - * @alias _.each - * - * @param collection The collection to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - */ - forEach( - collection: T[], - iteratee?: ArrayIterator - ): T[]; - - /** - * @see _.forEach - */ - forEach( - collection: string, - iteratee?: StringIterator - ): string; - - /** - * @see _.forEach - */ - forEach( - collection: List, - iteratee?: ListIterator - ): List; - - /** - * @see _.forEach - */ - forEach( - collection: T, - iteratee?: ObjectIterator - ): T; - - /** - * @see _.forEach - */ - forEach( - collection: TArray & (T[] | null | undefined), - iteratee?: ArrayIterator - ): TArray; - - /** - * @see _.forEach - */ - forEach( - collection: TString, - iteratee?: StringIterator - ): TString; - - /** - * @see _.forEach - */ - forEach | null | undefined>( - collection: TList & (List | null | undefined), - iteratee?: ListIterator - ): TList; - - /** - * @see _.forEach - */ - forEach( - collection: T | null | undefined, - iteratee?: ObjectIterator - ): T | null | undefined; - } - - interface LoDashWrapper { - /** - * @see _.forEach - */ - forEach( - this: LoDashWrapper, - iteratee?: ArrayIterator - ): this; - - /** - * @see _.forEach - */ - forEach( - this: LoDashWrapper, - iteratee?: StringIterator - ): this; - - /** - * @see _.forEach - */ - forEach( - this: LoDashWrapper | null | undefined>, - iteratee?: ListIterator - ): this; - - /** - * @see _.forEach - */ - forEach( - this: LoDashWrapper, - iteratee?: ObjectIterator - ): this; - } -} \ No newline at end of file diff --git a/types/lodash/collection/forEachRight.d.ts b/types/lodash/collection/forEachRight.d.ts deleted file mode 100644 index dd01aa969a..0000000000 --- a/types/lodash/collection/forEachRight.d.ts +++ /dev/null @@ -1,108 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.forEach except that it iterates over elements of collection from right to left. - * - * @alias _.eachRight - * - * @param collection The collection to iterate over. - * @param iteratee The function called per iteration. - * @param thisArg The this binding of callback. - */ - forEachRight( - collection: T[], - iteratee?: ArrayIterator - ): T[]; - - /** - * @see _.forEachRight - */ - forEachRight( - collection: string, - iteratee?: StringIterator - ): string; - - /** - * @see _.forEachRight - */ - forEachRight( - collection: List, - iteratee?: ListIterator - ): List; - - /** - * @see _.forEachRight - */ - forEachRight( - collection: T, - iteratee?: ObjectIterator - ): T; - - /** - * @see _.forEachRight - */ - forEachRight( - collection: TArray & (T[] | null | undefined), - iteratee?: ArrayIterator - ): TArray; - - /** - * @see _.forEachRight - */ - forEachRight( - collection: TString, - iteratee?: StringIterator - ): TString; - - /** - * @see _.forEachRight - */ - forEachRight | null | undefined>( - collection: TList & (List | null | undefined), - iteratee?: ListIterator - ): TList; - - /** - * @see _.forEachRight - */ - forEachRight( - collection: T | null | undefined, - iteratee?: ObjectIterator - ): T | null | undefined; - } - - interface LoDashWrapper { - /** - * @see _.forEachRight - */ - forEachRight( - this: LoDashWrapper, - iteratee?: ArrayIterator - ): this; - - /** - * @see _.forEachRight - */ - forEachRight( - this: LoDashWrapper, - iteratee?: StringIterator - ): this; - - /** - * @see _.forEachRight - */ - forEachRight( - this: LoDashWrapper | null | undefined>, - iteratee?: ListIterator - ): this; - - /** - * @see _.forEachRight - */ - forEachRight( - this: LoDashWrapper, - iteratee?: ObjectIterator - ): this; - } -} \ No newline at end of file diff --git a/types/lodash/collection/groupBy.d.ts b/types/lodash/collection/groupBy.d.ts deleted file mode 100644 index 714729181b..0000000000 --- a/types/lodash/collection/groupBy.d.ts +++ /dev/null @@ -1,121 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an object composed of keys generated from the results of running each element of collection through - * iteratee. The corresponding value of each key is an array of the elements responsible for generating the - * key. The iteratee is bound to thisArg and invoked with three arguments: - * (value, index|key, collection). - * - * If a property name is provided for iteratee the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for iteratee the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param collection The collection to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns the composed aggregate object. - */ - groupBy( - collection: string | null | undefined, - iteratee?: StringIterator - ): Dictionary; - - /** - * @see _.groupBy - */ - groupBy( - collection: List | null | undefined, - iteratee?: ListIteratee - ): Dictionary; - - /** - * @see _.groupBy - */ - groupBy( - collection: NumericDictionary | null | undefined, - iteratee?: NumericDictionaryIteratee - ): Dictionary; - - /** - * @see _.groupBy - */ - groupBy( - collection: T | null | undefined, - iteratee?: ObjectIteratee - ): Dictionary>; - } - - interface LoDashImplicitWrapper { - /** - * @see _.groupBy - */ - groupBy( - this: LoDashImplicitWrapper, - iteratee?: StringIterator - ): LoDashImplicitWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - this: LoDashImplicitWrapper | null | undefined>, - iteratee?: ListIteratee - ): LoDashImplicitWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - this: LoDashImplicitWrapper, - iteratee?: ObjectIteratee - ): LoDashImplicitWrapper>>; - - /** - * @see _.groupBy - */ - groupBy( - this: LoDashImplicitWrapper | null | undefined>, - iteratee?: NumericDictionaryIteratee - ): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.groupBy - */ - groupBy( - this: LoDashExplicitWrapper, - iteratee?: StringIterator - ): LoDashExplicitWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - this: LoDashExplicitWrapper | null | undefined>, - iteratee?: ListIteratee - ): LoDashExplicitWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - this: LoDashExplicitWrapper | null | undefined>, - iteratee?: NumericDictionaryIteratee - ): LoDashExplicitWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - this: LoDashExplicitWrapper, - iteratee?: ObjectIteratee - ): LoDashExplicitWrapper>>; - } -} \ No newline at end of file diff --git a/types/lodash/collection/includes.d.ts b/types/lodash/collection/includes.d.ts deleted file mode 100644 index 87eda4e44a..0000000000 --- a/types/lodash/collection/includes.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if target is in collection using SameValueZero for equality comparisons. If fromIndex is negative, - * it’s used as the offset from the end of collection. - * - * @param collection The collection to search. - * @param target The value to search for. - * @param fromIndex The index to search from. - * @return True if the target element is found, else false. - */ - includes( - collection: List|Dictionary | null | undefined, - target: T, - fromIndex?: number - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.includes - */ - includes( - this: LoDashImplicitWrapper | Dictionary | null | undefined>, - target: T, - fromIndex?: number - ): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.includes - */ - includes( - this: LoDashExplicitWrapper | Dictionary | null | undefined>, - target: T, - fromIndex?: number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/collection/invokeMap.d.ts b/types/lodash/collection/invokeMap.d.ts deleted file mode 100644 index 99711b4e5f..0000000000 --- a/types/lodash/collection/invokeMap.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Invokes the method named by methodName on each element in the collection returning - * an array of the results of each invoked method. Additional arguments will be provided - * to each invoked method. If methodName is a function it will be invoked for, and this - * bound to, each element in the collection. - * @param collection The collection to iterate over. - * @param methodName The name of the method to invoke. - * @param args Arguments to invoke the method with. - **/ - invokeMap( - collection: object | null | undefined, - methodName: string, - ...args: any[]): any[]; - - /** - * @see _.invokeMap - **/ - invokeMap( - collection: object | null | undefined, - method: (...args: any[]) => TResult, - ...args: any[]): TResult[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.invokeMap - **/ - invokeMap( - methodName: string, - ...args: any[]): LoDashImplicitWrapper; - - /** - * @see _.invokeMap - **/ - invokeMap( - method: (...args: any[]) => TResult, - ...args: any[]): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.invokeMap - **/ - invokeMap( - methodName: string, - ...args: any[]): LoDashExplicitWrapper; - - /** - * @see _.invokeMap - **/ - invokeMap( - method: (...args: any[]) => TResult, - ...args: any[]): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/collection/keyBy.d.ts b/types/lodash/collection/keyBy.d.ts deleted file mode 100644 index f9ba2e24b5..0000000000 --- a/types/lodash/collection/keyBy.d.ts +++ /dev/null @@ -1,121 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an object composed of keys generated from the results of running each element of collection through - * iteratee. The corresponding value of each key is the last element responsible for generating the key. The - * iteratee function is bound to thisArg and invoked with three arguments: - * (value, index|key, collection). - * - * If a property name is provided for iteratee the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for iteratee the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param collection The collection to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns the composed aggregate object. - */ - keyBy( - collection: string | null | undefined, - iteratee?: StringIterator - ): Dictionary; - - /** - * @see _.keyBy - */ - keyBy( - collection: List | null | undefined, - iteratee?: ListIterateeCustom - ): Dictionary; - - /** - * @see _.keyBy - */ - keyBy( - collection: T | null | undefined, - iteratee?: ObjectIterateeCustom - ): Dictionary; - - /** - * @see _.keyBy - */ - keyBy( - collection: NumericDictionary | null | undefined, - iteratee?: NumericDictionaryIterateeCustom - ): Dictionary; - } - - interface LoDashImplicitWrapper { - /** - * @see _.keyBy - */ - keyBy( - this: LoDashImplicitWrapper, - iteratee?: StringIterator - ): LoDashImplicitWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - this: LoDashImplicitWrapper | null | undefined>, - iteratee?: ListIterateeCustom - ): LoDashImplicitWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - this: LoDashImplicitWrapper, - iteratee?: ObjectIterateeCustom - ): LoDashImplicitWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - this: LoDashImplicitWrapper | null | undefined>, - iteratee?: NumericDictionaryIterateeCustom - ): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.keyBy - */ - keyBy( - this: LoDashExplicitWrapper, - iteratee?: StringIterator - ): LoDashExplicitWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - this: LoDashExplicitWrapper | null | undefined>, - iteratee?: ListIterateeCustom - ): LoDashExplicitWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - this: LoDashExplicitWrapper, - iteratee?: ObjectIterateeCustom - ): LoDashExplicitWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - this: LoDashExplicitWrapper | null | undefined>, - iteratee?: NumericDictionaryIterateeCustom - ): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/collection/map.d.ts b/types/lodash/collection/map.d.ts deleted file mode 100644 index 4a90aaf95d..0000000000 --- a/types/lodash/collection/map.d.ts +++ /dev/null @@ -1,180 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of values by running each element in collection through iteratee. The iteratee is bound to - * thisArg and invoked with three arguments: (value, index|key, collection). - * - * If a property name is provided for iteratee the created _.property style callback returns the property value - * of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for iteratee the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * Many lodash methods are guarded to work as iteratees for methods like _.every, _.filter, _.map, _.mapValues, - * _.reject, and _.some. - * - * The guarded methods are: - * ary, callback, chunk, clone, create, curry, curryRight, drop, dropRight, every, fill, flatten, invert, max, - * min, parseInt, slice, sortBy, take, takeRight, template, trim, trimLeft, trimRight, trunc, random, range, - * sample, some, sum, uniq, and words - * - * @param collection The collection to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns the new mapped array. - */ - map( - collection: List | null | undefined, - iteratee: ListIterator - ): TResult[]; - - /** - * @see _.map - */ - map(collection: List | Dictionary | null | undefined): T[]; - - /** - * @see _.map - */ - map( - collection: Dictionary | null | undefined, - iteratee: DictionaryIterator - ): TResult[]; - - /** @see _.map */ - map( - collection: List | Dictionary | null | undefined, - iteratee: K - ): Array; - - /** @see _.map */ - map( - collection: NumericDictionary | null | undefined, - iteratee?: NumericDictionaryIterator - ): TResult[]; - - /** - * @see _.map - */ - map( - collection: List|Dictionary|NumericDictionary | null | undefined, - iteratee?: string - ): TResult[]; - - /** - * @see _.map - */ - map( - collection: List|Dictionary|NumericDictionary | null | undefined, - iteratee?: object - ): boolean[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.map - */ - map( - this: LoDashImplicitWrapper | null | undefined>, - iteratee: ListIterator - ): LoDashImplicitWrapper; - - /** - * @see _.map - */ - map(this: LoDashImplicitWrapper | Dictionary | null | undefined>): LoDashImplicitWrapper; - - /** - * @see _.map - */ - map( - this: LoDashImplicitWrapper | null | undefined>, - iteratee: DictionaryIterator - ): LoDashImplicitWrapper; - - /** @see _.map */ - map( - this: LoDashImplicitWrapper | Dictionary | null | undefined>, - iteratee: K - ): LoDashImplicitWrapper>; - - /** @see _.map */ - map( - this: LoDashImplicitWrapper | null | undefined>, - iteratee?: NumericDictionaryIterator - ): LoDashImplicitWrapper; - - /** - * @see _.map - */ - map( - this: LoDashImplicitWrapper | Dictionary | NumericDictionary | null | undefined>, - iteratee?: string - ): LoDashImplicitWrapper; - - /** - * @see _.map - */ - map( - this: LoDashImplicitWrapper | Dictionary | NumericDictionary | null | undefined>, - iteratee?: object - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.map - */ - map( - this: LoDashExplicitWrapper | null | undefined>, - iteratee: ListIterator - ): LoDashExplicitWrapper; - - /** - * @see _.map - */ - map(this: LoDashExplicitWrapper | Dictionary | null | undefined>): LoDashExplicitWrapper; - - /** - * @see _.map - */ - map( - this: LoDashExplicitWrapper | null | undefined>, - iteratee: DictionaryIterator - ): LoDashExplicitWrapper; - - /** @see _.map */ - map( - this: LoDashExplicitWrapper | Dictionary | null | undefined>, - iteratee: K - ): LoDashExplicitWrapper>; - - /** - * @see _.map - */ - map( - this: LoDashExplicitWrapper | null | undefined>, - iteratee?: NumericDictionaryIterator - ): LoDashExplicitWrapper; - - /** - * @see _.map - */ - map( - this: LoDashExplicitWrapper | Dictionary | NumericDictionary | null | undefined>, - iteratee?: string - ): LoDashExplicitWrapper; - - /** - * @see _.map - */ - map( - this: LoDashExplicitWrapper | Dictionary | NumericDictionary | null | undefined>, - iteratee?: object - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/collection/orderBy.d.ts b/types/lodash/collection/orderBy.d.ts deleted file mode 100644 index a8950959de..0000000000 --- a/types/lodash/collection/orderBy.d.ts +++ /dev/null @@ -1,192 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.sortBy` except that it allows specifying the sort - * orders of the iteratees to sort by. If `orders` is unspecified, all values - * are sorted in ascending order. Otherwise, specify an order of "desc" for - * descending or "asc" for ascending sort order of corresponding values. - * - * @category Collection - * @param collection The collection to iterate over. - * @param [iteratees=[_.identity]] The iteratees to sort by. - * @param [orders] The sort orders of `iteratees`. - * @param- {Object} [guard] Enables use as an iteratee for functions like `_.reduce`. - * @returns Returns the new sorted array. - * @example - * - * var users = [ - * { 'user': 'fred', 'age': 48 }, - * { 'user': 'barney', 'age': 34 }, - * { 'user': 'fred', 'age': 42 }, - * { 'user': 'barney', 'age': 36 } - * ]; - * - * // sort by `user` in ascending order and by `age` in descending order - * _.orderBy(users, ['user', 'age'], ['asc', 'desc']); - * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]] - */ - orderBy( - collection: List | null | undefined, - iteratees?: Many>, - orders?: Many - ): T[]; - - /** - * @see _.orderBy - */ - orderBy( - collection: List | null | undefined, - iteratees?: Many>, - orders?: Many - ): T[]; - - /** - * @see _.orderBy - */ - orderBy( - collection: T | null | undefined, - iteratees?: Many>, - orders?: Many - ): Array; - - /** - * @see _.orderBy - */ - orderBy( - collection: T | null | undefined, - iteratees?: Many>, - orders?: Many - ): Array; - - /** - * @see _.orderBy - */ - orderBy( - collection: NumericDictionary | null | undefined, - iteratees?: Many>, - orders?: Many - ): T[]; - - /** - * @see _.orderBy - */ - orderBy( - collection: NumericDictionary | null | undefined, - iteratees?: Many>, - orders?: Many - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.orderBy - */ - orderBy( - this: LoDashImplicitWrapper | null | undefined>, - iteratees?: Many>, - orders?: Many - ): LoDashImplicitWrapper; - - /** - * @see _.orderBy - */ - orderBy( - this: LoDashImplicitWrapper | null | undefined>, - iteratees?: Many>, - orders?: Many - ): LoDashImplicitWrapper; - - /** - * @see _.orderBy - */ - orderBy( - this: LoDashImplicitWrapper, - iteratees?: Many>, - orders?: Many - ): LoDashImplicitWrapper>; - - /** - * @see _.orderBy - */ - orderBy( - this: LoDashImplicitWrapper, - iteratees?: Many>, - orders?: Many - ): LoDashImplicitWrapper>; - - /** - * @see _.orderBy - */ - orderBy( - this: LoDashImplicitWrapper | null | undefined>, - iteratees?: Many>, - orders?: Many - ): LoDashImplicitWrapper; - - /** - * @see _.orderBy - */ - orderBy( - this: LoDashImplicitWrapper | null | undefined>, - iteratees?: Many>, - orders?: Many - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.orderBy - */ - orderBy( - this: LoDashExplicitWrapper | null | undefined>, - iteratees?: Many>, - orders?: Many - ): LoDashExplicitWrapper; - - /** - * @see _.orderBy - */ - orderBy( - this: LoDashExplicitWrapper | null | undefined>, - iteratees?: Many>, - orders?: Many - ): LoDashExplicitWrapper; - - /** - * @see _.orderBy - */ - orderBy( - this: LoDashExplicitWrapper, - iteratees?: Many>, - orders?: Many - ): LoDashExplicitWrapper>; - - /** - * @see _.orderBy - */ - orderBy( - this: LoDashExplicitWrapper, - iteratees?: Many>, - orders?: Many - ): LoDashExplicitWrapper>; - - /** - * @see _.orderBy - */ - orderBy( - this: LoDashExplicitWrapper | null | undefined>, - iteratees?: Many>, - orders?: Many - ): LoDashExplicitWrapper; - - /** - * @see _.orderBy - */ - orderBy( - this: LoDashExplicitWrapper | null | undefined>, - iteratees?: Many>, - orders?: Many - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/collection/partition.d.ts b/types/lodash/collection/partition.d.ts deleted file mode 100644 index f372f0708d..0000000000 --- a/types/lodash/collection/partition.d.ts +++ /dev/null @@ -1,72 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of elements split into two groups, the first of which contains elements predicate returns truthy for, - * while the second of which contains elements predicate returns falsey for. - * The predicate is bound to thisArg and invoked with three arguments: (value, index|key, collection). - * - * If a property name is provided for predicate the created _.property style callback - * returns the property value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback - * returns true for elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns - * true for elements that have the properties of the given object, else false. - * - * @param collection The collection to iterate over. - * @param callback The function called per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the array of grouped elements. - **/ - partition( - collection: List | null | undefined, - callback: ValueIteratee - ): [T[], T[]]; - - /** - * @see _.partition - */ - partition( - collection: T | null | undefined, - callback: ValueIteratee - ): [Array, Array]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.partition - */ - partition( - this: LoDashImplicitWrapper | null | undefined>, - callback: ValueIteratee - ): LoDashImplicitWrapper<[T[], T[]]>; - - /** - * @see _.partition - */ - partition( - this: LoDashImplicitWrapper, - callback: ValueIteratee - ): LoDashImplicitWrapper<[Array, Array]>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.partition - */ - partition( - this: LoDashExplicitWrapper | null | undefined>, - callback: ValueIteratee - ): LoDashExplicitWrapper<[T[], T[]]>; - - /** - * @see _.partition - */ - partition( - this: LoDashExplicitWrapper, - callback: ValueIteratee - ): LoDashExplicitWrapper<[Array, Array]>; - } -} \ No newline at end of file diff --git a/types/lodash/collection/reduce.d.ts b/types/lodash/collection/reduce.d.ts deleted file mode 100644 index 2346225d60..0000000000 --- a/types/lodash/collection/reduce.d.ts +++ /dev/null @@ -1,220 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Reduces a collection to a value which is the accumulated result of running each - * element in the collection through the callback, where each successive callback execution - * consumes the return value of the previous execution. If accumulator is not provided the - * first element of the collection will be used as the initial accumulator value. The callback - * is bound to thisArg and invoked with four arguments; (accumulator, value, index|key, collection). - * @param collection The collection to iterate over. - * @param callback The function called per iteration. - * @param accumulator Initial value of the accumulator. - * @return Returns the accumulated value. - **/ - reduce( - collection: T[] | null | undefined, - callback: MemoListIterator, - accumulator: TResult - ): TResult; - - /** - * @see _.reduce - **/ - reduce( - collection: List | null | undefined, - callback: MemoListIterator>, - accumulator: TResult - ): TResult; - - /** - * @see _.reduce - **/ - reduce( - collection: T | null | undefined, - callback: MemoObjectIterator, - accumulator: TResult - ): TResult; - - /** - * @see _.reduce - **/ - reduce( - collection: NumericDictionary | null | undefined, - callback: MemoListIterator>, - accumulator: TResult - ): TResult; - - /** - * @see _.reduce - **/ - reduce( - collection: T[] | null | undefined, - callback: MemoListIterator - ): TResult | undefined; - - /** - * @see _.reduce - **/ - reduce( - collection: List | null | undefined, - callback: MemoListIterator> - ): TResult | undefined; - - /** - * @see _.reduce - **/ - reduce( - collection: T | null | undefined, - callback: MemoObjectIterator - ): TResult | undefined; - - /** - * @see _.reduce - **/ - reduce( - collection: NumericDictionary | null | undefined, - callback: MemoListIterator> - ): TResult | undefined; - } - - interface LoDashImplicitWrapper { - /** - * @see _.reduce - **/ - reduce( - this: LoDashImplicitWrapper, - callback: MemoListIterator, - accumulator: TResult - ): TResult; - - /** - * @see _.reduce - **/ - reduce( - this: LoDashImplicitWrapper | null | undefined>, - callback: MemoListIterator>, - accumulator: TResult - ): TResult; - - /** - * @see _.reduce - **/ - reduce( - this: LoDashImplicitWrapper, - callback: MemoObjectIterator, - accumulator: TResult - ): TResult; - - /** - * @see _.reduce - **/ - reduce( - this: LoDashImplicitWrapper | null | undefined>, - callback: MemoListIterator>, - accumulator: TResult - ): TResult; - - /** - * @see _.reduce - **/ - reduce( - this: LoDashImplicitWrapper, - callback: MemoListIterator - ): TResult | undefined; - - /** - * @see _.reduce - **/ - reduce( - this: LoDashImplicitWrapper | null | undefined>, - callback: MemoListIterator> - ): TResult | undefined; - - /** - * @see _.reduce - **/ - reduce( - this: LoDashImplicitWrapper, - callback: MemoObjectIterator - ): TResult | undefined; - - /** - * @see _.reduce - **/ - reduce( - this: LoDashImplicitWrapper | null | undefined>, - callback: MemoListIterator> - ): TResult | undefined; - } - - interface LoDashExplicitWrapper { - /** - * @see _.reduce - **/ - reduce( - this: LoDashExplicitWrapper, - callback: MemoListIterator, - accumulator: TResult - ): LoDashExplicitWrapper; - - /** - * @see _.reduce - **/ - reduce( - this: LoDashExplicitWrapper | null | undefined>, - callback: MemoListIterator>, - accumulator: TResult - ): LoDashExplicitWrapper; - - /** - * @see _.reduce - **/ - reduce( - this: LoDashExplicitWrapper, - callback: MemoObjectIterator, - accumulator: TResult - ): LoDashExplicitWrapper; - - /** - * @see _.reduce - **/ - reduce( - this: LoDashExplicitWrapper | null | undefined>, - callback: MemoListIterator>, - accumulator: TResult - ): LoDashExplicitWrapper; - - /** - * @see _.reduce - **/ - reduce( - this: LoDashExplicitWrapper, - callback: MemoListIterator - ): LoDashExplicitWrapper; - - /** - * @see _.reduce - **/ - reduce( - this: LoDashExplicitWrapper | null | undefined>, - callback: MemoListIterator> - ): LoDashExplicitWrapper; - - /** - * @see _.reduce - **/ - reduce( - this: LoDashExplicitWrapper, - callback: MemoObjectIterator - ): LoDashExplicitWrapper; - - /** - * @see _.reduce - **/ - reduce( - this: LoDashExplicitWrapper | null | undefined>, - callback: MemoListIterator> - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/collection/reduceRight.d.ts b/types/lodash/collection/reduceRight.d.ts deleted file mode 100644 index a183708d45..0000000000 --- a/types/lodash/collection/reduceRight.d.ts +++ /dev/null @@ -1,217 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.reduce except that it iterates over elements of a collection from - * right to left. - * @param collection The collection to iterate over. - * @param callback The function called per iteration. - * @param accumulator Initial value of the accumulator. - * @return The accumulated value. - **/ - reduceRight( - collection: T[] | null | undefined, - callback: MemoListIterator, - accumulator: TResult - ): TResult; - - /** - * @see _.reduceRight - **/ - reduceRight( - collection: List | null | undefined, - callback: MemoListIterator>, - accumulator: TResult - ): TResult; - - /** - * @see _.reduceRight - **/ - reduceRight( - collection: T | null | undefined, - callback: MemoObjectIterator, - accumulator: TResult - ): TResult; - - /** - * @see _.reduceRight - **/ - reduceRight( - collection: NumericDictionary | null | undefined, - callback: MemoListIterator>, - accumulator: TResult - ): TResult; - - /** - * @see _.reduceRight - **/ - reduceRight( - collection: T[] | null | undefined, - callback: MemoListIterator - ): TResult | undefined; - - /** - * @see _.reduceRight - **/ - reduceRight( - collection: List | null | undefined, - callback: MemoListIterator> - ): TResult | undefined; - - /** - * @see _.reduceRight - **/ - reduceRight( - collection: T | null | undefined, - callback: MemoObjectIterator - ): TResult | undefined; - - /** - * @see _.reduceRight - **/ - reduceRight( - collection: NumericDictionary | null | undefined, - callback: MemoListIterator> - ): TResult | undefined; - } - - interface LoDashImplicitWrapper { - /** - * @see _.reduceRight - **/ - reduceRight( - this: LoDashImplicitWrapper, - callback: MemoListIterator, - accumulator: TResult - ): TResult; - - /** - * @see _.reduceRight - **/ - reduceRight( - this: LoDashImplicitWrapper | null | undefined>, - callback: MemoListIterator>, - accumulator: TResult - ): TResult; - - /** - * @see _.reduceRight - **/ - reduceRight( - this: LoDashImplicitWrapper, - callback: MemoObjectIterator, - accumulator: TResult - ): TResult; - - /** - * @see _.reduceRight - **/ - reduceRight( - this: LoDashImplicitWrapper | null | undefined>, - callback: MemoListIterator>, - accumulator: TResult - ): TResult; - - /** - * @see _.reduceRight - **/ - reduceRight( - this: LoDashImplicitWrapper, - callback: MemoListIterator - ): TResult | undefined; - - /** - * @see _.reduceRight - **/ - reduceRight( - this: LoDashImplicitWrapper | null | undefined>, - callback: MemoListIterator> - ): TResult | undefined; - - /** - * @see _.reduceRight - **/ - reduceRight( - this: LoDashImplicitWrapper, - callback: MemoObjectIterator - ): TResult | undefined; - - /** - * @see _.reduceRight - **/ - reduceRight( - this: LoDashImplicitWrapper | null | undefined>, - callback: MemoListIterator> - ): TResult | undefined; - } - - interface LoDashExplicitWrapper { - /** - * @see _.reduceRight - **/ - reduceRight( - this: LoDashExplicitWrapper, - callback: MemoListIterator, - accumulator: TResult - ): LoDashExplicitWrapper; - - /** - * @see _.reduceRight - **/ - reduceRight( - this: LoDashExplicitWrapper | null | undefined>, - callback: MemoListIterator>, - accumulator: TResult - ): LoDashExplicitWrapper; - - /** - * @see _.reduceRight - **/ - reduceRight( - this: LoDashExplicitWrapper, - callback: MemoObjectIterator, - accumulator: TResult - ): LoDashExplicitWrapper; - - /** - * @see _.reduceRight - **/ - reduceRight( - this: LoDashExplicitWrapper | null | undefined>, - callback: MemoListIterator>, - accumulator: TResult - ): LoDashExplicitWrapper; - - /** - * @see _.reduceRight - **/ - reduceRight( - this: LoDashExplicitWrapper, - callback: MemoListIterator - ): LoDashExplicitWrapper; - - /** - * @see _.reduceRight - **/ - reduceRight( - this: LoDashExplicitWrapper | null | undefined>, - callback: MemoListIterator> - ): LoDashExplicitWrapper; - - /** - * @see _.reduceRight - **/ - reduceRight( - this: LoDashExplicitWrapper, - callback: MemoObjectIterator - ): LoDashExplicitWrapper; - - /** - * @see _.reduceRight - **/ - reduceRight( - this: LoDashExplicitWrapper | null | undefined>, - callback: MemoListIterator> - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/collection/reject.d.ts b/types/lodash/collection/reject.d.ts deleted file mode 100644 index d832f1ba14..0000000000 --- a/types/lodash/collection/reject.d.ts +++ /dev/null @@ -1,86 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * The opposite of _.filter; this method returns the elements of collection that predicate does not return - * truthy for. - * - * @param collection The collection to iterate over. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the new filtered array. - */ - reject( - collection: string | null | undefined, - predicate?: StringIterator - ): string[]; - - /** - * @see _.reject - */ - reject( - collection: List | null | undefined, - predicate?: ListIterateeCustom - ): T[]; - - /** - * @see _.reject - */ - reject( - collection: T | null | undefined, - predicate?: ObjectIterateeCustom - ): Array; - } - - interface LoDashImplicitWrapper { - /** - * @see _.reject - */ - reject( - this: LoDashImplicitWrapper, - predicate?: StringIterator - ): LoDashImplicitWrapper; - - /** - * @see _.reject - */ - reject( - this: LoDashImplicitWrapper | null | undefined>, - predicate?: ListIterateeCustom - ): LoDashImplicitWrapper; - - /** - * @see _.reject - */ - reject( - this: LoDashImplicitWrapper, - predicate?: ObjectIterateeCustom - ): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.reject - */ - reject( - this: LoDashExplicitWrapper, - predicate?: StringIterator - ): LoDashExplicitWrapper; - - /** - * @see _.reject - */ - reject( - this: LoDashExplicitWrapper | null | undefined>, - predicate?: ListIterateeCustom - ): LoDashExplicitWrapper; - - /** - * @see _.reject - */ - reject( - this: LoDashExplicitWrapper, - predicate?: ObjectIterateeCustom - ): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/collection/sample.d.ts b/types/lodash/collection/sample.d.ts deleted file mode 100644 index ccaa4e118b..0000000000 --- a/types/lodash/collection/sample.d.ts +++ /dev/null @@ -1,74 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Gets a random element from collection. - * - * @param collection The collection to sample. - * @return Returns the random element. - */ - sample( - collection: List | Dictionary | NumericDictionary | null | undefined - ): T | undefined; - - /** - * @see _.sample - */ - sample( - collection: T - ): T[keyof T]; - - /** - * @see _.sample - */ - sample( - collection: T | null | undefined - ): T[keyof T] | undefined; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sample - */ - sample( - this: LoDashImplicitWrapper | Dictionary | NumericDictionary | null | undefined> - ): T | undefined; - - /** - * @see _.sample - */ - sample( - this: LoDashImplicitWrapper, - ): T[keyof T]; - - /** - * @see _.sample - */ - sample( - this: LoDashImplicitWrapper - ): T[keyof T] | undefined; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sample - */ - sample( - this: LoDashExplicitWrapper | Dictionary | NumericDictionary | null | undefined> - ): LoDashExplicitWrapper; - - /** - * @see _.sample - */ - sample( - this: LoDashExplicitWrapper, - ): LoDashExplicitWrapper; - - /** - * @see _.sample - */ - sample( - this: LoDashExplicitWrapper - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/collection/sampleSize.d.ts b/types/lodash/collection/sampleSize.d.ts deleted file mode 100644 index bf620987d5..0000000000 --- a/types/lodash/collection/sampleSize.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Gets n random elements at unique keys from collection up to the size of collection. - * - * @param collection The collection to sample. - * @param n The number of elements to sample. - * @return Returns the random elements. - */ - sampleSize( - collection: List|Dictionary|NumericDictionary | null | undefined, - n?: number - ): T[]; - - /** - * @see _.sampleSize - */ - sampleSize( - collection: T | null | undefined, - n?: number - ): Array; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sampleSize - */ - sampleSize( - this: LoDashImplicitWrapper|Dictionary|NumericDictionary | null | undefined>, - n?: number - ): LoDashImplicitWrapper; - - /** - * @see _.sampleSize - */ - sampleSize( - this: LoDashImplicitWrapper, - n?: number - ): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sampleSize - */ - sampleSize( - this: LoDashExplicitWrapper|Dictionary|NumericDictionary | null | undefined>, - n?: number - ): LoDashExplicitWrapper; - - /** - * @see _.sampleSize - */ - sampleSize( - this: LoDashExplicitWrapper, - n?: number - ): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/collection/shuffle.d.ts b/types/lodash/collection/shuffle.d.ts deleted file mode 100644 index 8209ece654..0000000000 --- a/types/lodash/collection/shuffle.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of shuffled values, using a version of the Fisher-Yates shuffle. - * - * @param collection The collection to shuffle. - * @return Returns the new shuffled array. - */ - shuffle(collection: List | null | undefined): T[]; - - /** - * @see _.shuffle - */ - shuffle(collection: T | null | undefined): Array; - } - - interface LoDashImplicitWrapper { - /** - * @see _.shuffle - */ - shuffle(this: LoDashImplicitWrapper | null | undefined>): LoDashImplicitWrapper; - - /** - * @see _.shuffle - */ - shuffle(this: LoDashImplicitWrapper): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.shuffle - */ - shuffle(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; - - /** - * @see _.shuffle - */ - shuffle(this: LoDashExplicitWrapper): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/collection/size.d.ts b/types/lodash/collection/size.d.ts deleted file mode 100644 index f1c393a7b7..0000000000 --- a/types/lodash/collection/size.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Gets the size of collection by returning its length for array-like values or the number of own enumerable - * properties for objects. - * - * @param collection The collection to inspect. - * @return Returns the size of collection. - */ - size(collection: object | string | null | undefined): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.size - */ - size(): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.size - */ - size(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/collection/some.d.ts b/types/lodash/collection/some.d.ts deleted file mode 100644 index fff03751d1..0000000000 --- a/types/lodash/collection/some.d.ts +++ /dev/null @@ -1,85 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if predicate returns truthy for any element of collection. Iteration is stopped once predicate - * returns truthy. The predicate is invoked with three arguments: (value, index|key, collection). - * - * @param collection The collection to iterate over. - * @param predicate The function invoked per iteration. - * @return Returns true if any element passes the predicate check, else false. - */ - some( - collection: List | null | undefined, - predicate?: ListIterateeCustom - ): boolean; - - /** - * @see _.some - */ - some( - collection: T | null | undefined, - predicate?: ObjectIterateeCustom - ): boolean; - - /** - * @see _.some - */ - some( - collection: NumericDictionary | null | undefined, - predicate?: NumericDictionaryIterateeCustom - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.some - */ - some( - this: LoDashImplicitWrapper | null | undefined>, - predicate?: ListIterateeCustom - ): boolean; - - /** - * @see _.some - */ - some( - this: LoDashImplicitWrapper, - predicate?: ObjectIterateeCustom - ): boolean; - - /** - * @see _.some - */ - some( - this: LoDashImplicitWrapper | null | undefined>, - predicate?: NumericDictionaryIterateeCustom - ): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.some - */ - some( - this: LoDashExplicitWrapper | null | undefined>, - predicate?: ListIterateeCustom - ): LoDashExplicitWrapper; - - /** - * @see _.some - */ - some( - this: LoDashExplicitWrapper, - predicate?: ObjectIterateeCustom - ): LoDashExplicitWrapper; - - /** - * @see _.some - */ - some( - this: LoDashExplicitWrapper | null | undefined>, - predicate?: NumericDictionaryIterateeCustom - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/collection/sortBy.d.ts b/types/lodash/collection/sortBy.d.ts deleted file mode 100644 index d20877f512..0000000000 --- a/types/lodash/collection/sortBy.d.ts +++ /dev/null @@ -1,84 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of elements, sorted in ascending order by the results of - * running each element in a collection through each iteratee. This method - * performs a stable sort, that is, it preserves the original sort order of - * equal elements. The iteratees are invoked with one argument: (value). - * - * @category Collection - * @param collection The collection to iterate over. - * @param [iteratees=[_.identity]] - * The iteratees to sort by, specified individually or in arrays. - * @returns Returns the new sorted array. - * @example - * - * var users = [ - * { 'user': 'fred', 'age': 48 }, - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 42 }, - * { 'user': 'barney', 'age': 34 } - * ]; - * - * _.sortBy(users, function(o) { return o.user; }); - * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]] - * - * _.sortBy(users, ['user', 'age']); - * // => objects for [['barney', 34], ['barney', 36], ['fred', 42], ['fred', 48]] - * - * _.sortBy(users, 'user', function(o) { - * return Math.floor(o.age / 10); - * }); - * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]] - */ - sortBy( - collection: List | null | undefined, - ...iteratees: Array>> - ): T[]; - - /** - * @see _.sortBy - */ - sortBy( - collection: T | null | undefined, - ...iteratees: Array>> - ): Array; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortBy - */ - sortBy( - this: LoDashImplicitWrapper | null | undefined>, - ...iteratees: Array>> - ): LoDashImplicitWrapper; - - /** - * @see _.sortBy - */ - sortBy( - this: LoDashImplicitWrapper, - ...iteratees: Array>> - ): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortBy - */ - sortBy( - this: LoDashExplicitWrapper | null | undefined>, - ...iteratees: Array>> - ): LoDashExplicitWrapper; - - /** - * @see _.sortBy - */ - sortBy( - this: LoDashExplicitWrapper, - ...iteratees: Array>> - ): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/common/array.d.ts b/types/lodash/common/array.d.ts new file mode 100644 index 0000000000..f70fbbf135 --- /dev/null +++ b/types/lodash/common/array.d.ts @@ -0,0 +1,3845 @@ +import _ = require("../index"); +declare module "../index" { + // chunk + + interface LoDashStatic { + /** + * Creates an array of elements split into groups the length of size. If collection can’t be split evenly, the + * final chunk will be the remaining elements. + * + * @param array The array to process. + * @param size The length of each chunk. + * @return Returns the new array containing chunks. + */ + chunk( + array: List | null | undefined, + size?: number + ): T[][]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.chunk + */ + chunk( + this: LoDashImplicitWrapper | null | undefined>, + size?: number, + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.chunk + */ + chunk( + this: LoDashExplicitWrapper | null | undefined>, + size?: number, + ): LoDashExplicitWrapper; + } + + // compact + + interface LoDashStatic { + /** + * Creates an array with all falsey values removed. The values false, null, 0, "", undefined, and NaN are + * falsey. + * + * @param array The array to compact. + * @return Returns the new array of filtered values. + */ + compact(array: List | null | undefined): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.compact + */ + compact(this: LoDashImplicitWrapper | null | undefined>): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.compact + */ + compact(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; + } + + // concat + + interface LoDashStatic { + /** + * Creates a new array concatenating `array` with any additional arrays + * and/or values. + * + * @category Array + * @param array The array to concatenate. + * @param [values] The values to concatenate. + * @returns Returns the new concatenated array. + * @example + * + * var array = [1]; + * var other = _.concat(array, 2, [3], [[4]]); + * + * console.log(other); + * // => [1, 2, 3, [4]] + * + * console.log(array); + * // => [1] + */ + concat(array: Many, ...values: Array>): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.compact + */ + concat(this: LoDashImplicitWrapper>, ...values: Array>): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.compact + */ + concat(this: LoDashExplicitWrapper>, ...values: Array>): LoDashExplicitWrapper; + } + + // difference + + interface LoDashStatic { + /** + * Creates an array of unique array values not included in the other provided arrays using SameValueZero for + * equality comparisons. + * + * @param array The array to inspect. + * @param values The arrays of values to exclude. + * @return Returns the new array of filtered values. + */ + difference( + array: List | null | undefined, + ...values: Array> + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.difference + */ + difference( + this: LoDashImplicitWrapper | null | undefined>, + ...values: Array> + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.difference + */ + difference( + this: LoDashExplicitWrapper | null | undefined>, + ...values: Array> + ): LoDashExplicitWrapper; + } + + // differenceBy + + interface LoDashStatic { + /** + * This method is like _.difference except that it accepts iteratee which is invoked for each element of array + * and values to generate the criterion by which uniqueness is computed. The iteratee is invoked with one + * argument: (value). + * + * @param array The array to inspect. + * @param values The values to exclude. + * @param iteratee The iteratee invoked per element. + * @returns Returns the new array of filtered values. + */ + differenceBy( + array: List | null | undefined, + values: List, + iteratee: ValueIteratee + ): T1[]; + + /** + * @see _.differenceBy + */ + differenceBy( + array: List | null | undefined, + values1: List, + values2: List, + iteratee: ValueIteratee + ): T1[]; + + /** + * @see _.differenceBy + */ + differenceBy( + array: List | null | undefined, + values1: List, + values2: List, + values3: List, + iteratee: ValueIteratee + ): T1[]; + + /** + * @see _.differenceBy + */ + differenceBy( + array: List | null | undefined, + values1: List, + values2: List, + values3: List, + values4: List, + iteratee: ValueIteratee + ): T1[]; + + /** + * @see _.differenceBy + */ + differenceBy( + array: List | null | undefined, + values1: List, + values2: List, + values3: List, + values4: List, + values5: List, + iteratee: ValueIteratee + ): T1[]; + + /** + * @see _.differenceBy + */ + differenceBy( + array: List | null | undefined, + values1: List, + values2: List, + values3: List, + values4: List, + values5: List, + ...values: Array | ValueIteratee> + ): T1[]; + + /** + * @see _.differenceBy + */ + differenceBy( + array: List | null | undefined, + ...values: Array> + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.differenceBy + */ + differenceBy( + this: LoDashImplicitWrapper | null | undefined>, + values: List, + iteratee: ValueIteratee + ): LoDashImplicitWrapper; + + /** + * @see _.differenceBy + */ + differenceBy( + this: LoDashImplicitWrapper | null | undefined>, + values1: List, + values2: List, + iteratee: ValueIteratee + ): LoDashImplicitWrapper; + + /** + * @see _.differenceBy + */ + differenceBy( + this: LoDashImplicitWrapper | null | undefined>, + values1: List, + values2: List, + values3: List, + iteratee: ValueIteratee + ): LoDashImplicitWrapper; + + /** + * @see _.differenceBy + */ + differenceBy( + this: LoDashImplicitWrapper | null | undefined>, + values1: List, + values2: List, + values3: List, + values4: List, + iteratee: ValueIteratee + ): LoDashImplicitWrapper; + + /** + * @see _.differenceBy + */ + differenceBy( + this: LoDashImplicitWrapper | null | undefined>, + values1: List, + values2: List, + values3: List, + values4: List, + values5: List, + iteratee: ValueIteratee + ): LoDashImplicitWrapper; + + /** + * @see _.differenceBy + */ + differenceBy( + this: LoDashImplicitWrapper | null | undefined>, + values1: List, + values2: List, + values3: List, + values4: List, + values5: List, + ...values: Array | ValueIteratee> + ): LoDashImplicitWrapper; + + /** + * @see _.differenceBy + */ + differenceBy( + this: LoDashImplicitWrapper | null | undefined>, + ...values: Array> + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.differenceBy + */ + differenceBy( + this: LoDashExplicitWrapper | null | undefined>, + values: List, + iteratee: ValueIteratee + ): LoDashExplicitWrapper; + + /** + * @see _.differenceBy + */ + differenceBy( + this: LoDashExplicitWrapper | null | undefined>, + values1: List, + values2: List, + iteratee: ValueIteratee + ): LoDashExplicitWrapper; + + /** + * @see _.differenceBy + */ + differenceBy( + this: LoDashExplicitWrapper | null | undefined>, + values1: List, + values2: List, + values3: List, + iteratee: ValueIteratee + ): LoDashExplicitWrapper; + + /** + * @see _.differenceBy + */ + differenceBy( + this: LoDashExplicitWrapper | null | undefined>, + values1: List, + values2: List, + values3: List, + values4: List, + iteratee: ValueIteratee + ): LoDashExplicitWrapper; + + /** + * @see _.differenceBy + */ + differenceBy( + this: LoDashExplicitWrapper | null | undefined>, + values1: List, + values2: List, + values3: List, + values4: List, + values5: List, + iteratee: ValueIteratee + ): LoDashExplicitWrapper; + + /** + * @see _.differenceBy + */ + differenceBy( + this: LoDashExplicitWrapper | null | undefined>, + values1: List, + values2: List, + values3: List, + values4: List, + values5: List, + ...values: Array | ValueIteratee> + ): LoDashExplicitWrapper; + + /** + * @see _.differenceBy + */ + differenceBy( + this: LoDashExplicitWrapper | null | undefined>, + ...values: Array> + ): LoDashExplicitWrapper; + } + + // differenceWith + + interface LoDashStatic { + /** + * Creates an array of unique `array` values not included in the other + * provided arrays using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) + * for equality comparisons. + * + * @category Array + * @param [values] The arrays to inspect. + * @param [comparator] The comparator invoked per element. + * @returns Returns the new array of filtered values. + * @example + * + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; + + * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual); + * // => [{ 'x': 2, 'y': 1 }] + */ + differenceWith( + array: List | null | undefined, + values: List, + comparator: Comparator2 + ): T1[]; + + /** + * @see _.differenceWith + */ + differenceWith( + array: List | null | undefined, + values1: List, + values2: List, + comparator: Comparator2 + ): T1[]; + + /** + * @see _.differenceWith + */ + differenceWith( + array: List | null | undefined, + values1: List, + values2: List, + ...values: Array | Comparator2> + ): T1[]; + + /** + * @see _.differenceWith + */ + differenceWith( + array: List | null | undefined, + ...values: Array> + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.differenceWith + */ + differenceWith( + this: LoDashImplicitWrapper | null | undefined>, + values: List, + comparator: Comparator2 + ): LoDashImplicitWrapper; + + /** + * @see _.differenceWith + */ + differenceWith( + this: LoDashImplicitWrapper | null | undefined>, + values1: List, + values2: List, + comparator: Comparator2 + ): LoDashImplicitWrapper; + + /** + * @see _.differenceWith + */ + differenceWith( + this: LoDashImplicitWrapper | null | undefined>, + values1: List, + values2: List, + ...values: Array | Comparator2> + ): LoDashImplicitWrapper; + + /** + * @see _.differenceWith + */ + differenceWith( + this: LoDashImplicitWrapper | null | undefined>, + ...values: Array> + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.differenceWith + */ + differenceWith( + this: LoDashExplicitWrapper | null | undefined>, + values: List, + comparator: Comparator2 + ): LoDashExplicitWrapper; + + /** + * @see _.differenceWith + */ + differenceWith( + this: LoDashExplicitWrapper | null | undefined>, + values1: List, + values2: List, + comparator: Comparator2 + ): LoDashExplicitWrapper; + + /** + * @see _.differenceWith + */ + differenceWith( + this: LoDashExplicitWrapper | null | undefined>, + values1: List, + values2: List, + ...values: Array | Comparator2> + ): LoDashExplicitWrapper; + + /** + * @see _.differenceWith + */ + differenceWith( + this: LoDashExplicitWrapper | null | undefined>, + ...values: Array> + ): LoDashExplicitWrapper; + } + + // drop + + interface LoDashStatic { + /** + * Creates a slice of array with n elements dropped from the beginning. + * + * @param array The array to query. + * @param n The number of elements to drop. + * @return Returns the slice of array. + */ + drop(array: List | null | undefined, n?: number): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.drop + */ + drop(this: LoDashImplicitWrapper | null | undefined>, n?: number): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.drop + */ + drop(this: LoDashExplicitWrapper | null | undefined>, n?: number): LoDashExplicitWrapper; + } + + // dropRight + + interface LoDashStatic { + /** + * Creates a slice of array with n elements dropped from the end. + * + * @param array The array to query. + * @param n The number of elements to drop. + * @return Returns the slice of array. + */ + dropRight( + array: List | null | undefined, + n?: number + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.dropRight + */ + dropRight(this: LoDashImplicitWrapper | null | undefined>, n?: number): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.dropRight + */ + dropRight(this: LoDashExplicitWrapper | null | undefined>, n?: number): LoDashExplicitWrapper; + } + + // dropRightWhile + + interface LoDashStatic { + /** + * Creates a slice of array excluding elements dropped from the end. Elements are dropped until predicate + * returns falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). + * + * If a property name is provided for predicate the created _.property style callback returns the property + * value of the given element. + * + * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for + * elements that have a matching property value, else false. + * + * If an object is provided for predicate the created _.matches style callback returns true for elements that + * match the properties of the given object, else false. + * + * @param array The array to query. + * @param predicate The function invoked per iteration. + * @param thisArg The this binding of predicate. + * @return Returns the slice of array. + */ + dropRightWhile( + array: List | null | undefined, + predicate?: ListIteratee + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.dropRightWhile + */ + dropRightWhile( + this: LoDashImplicitWrapper | null | undefined>, + predicate?: ListIteratee + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.dropRightWhile + */ + dropRightWhile( + this: LoDashExplicitWrapper | null | undefined>, + predicate?: ListIteratee + ): LoDashExplicitWrapper; + } + + // dropWhile + + interface LoDashStatic { + /** + * Creates a slice of array excluding elements dropped from the beginning. Elements are dropped until predicate + * returns falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). + * + * If a property name is provided for predicate the created _.property style callback returns the property + * value of the given element. + * + * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for + * elements that have a matching property value, else false. + * + * If an object is provided for predicate the created _.matches style callback returns true for elements that + * have the properties of the given object, else false. + * + * @param array The array to query. + * @param predicate The function invoked per iteration. + * @param thisArg The this binding of predicate. + * @return Returns the slice of array. + */ + dropWhile( + array: List | null | undefined, + predicate?: ListIteratee + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.dropWhile + */ + dropWhile( + this: LoDashImplicitWrapper | null | undefined>, + predicate?: ListIteratee + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.dropWhile + */ + dropWhile( + this: LoDashExplicitWrapper | null | undefined>, + predicate?: ListIteratee + ): LoDashExplicitWrapper; + } + + // fill + + interface LoDashStatic { + /** + * Fills elements of array with value from start up to, but not including, end. + * + * Note: This method mutates array. + * + * @param array The array to fill. + * @param value The value to fill array with. + * @param start The start position. + * @param end The end position. + * @return Returns array. + */ + fill( + array: any[] | null | undefined, + value: T + ): T[]; + + /** + * @see _.fill + */ + fill( + array: List | null | undefined, + value: T + ): List; + + /** + * @see _.fill + */ + fill( + array: U[] | null | undefined, + value: T, + start?: number, + end?: number + ): Array; + + /** + * @see _.fill + */ + fill( + array: List | null | undefined, + value: T, + start?: number, + end?: number + ): List; + } + + interface LoDashImplicitWrapper { + /** + * @see _.fill + */ + fill( + this: LoDashImplicitWrapper, + value: T + ): LoDashImplicitWrapper; + + /** + * @see _.fill + */ + fill( + this: LoDashImplicitWrapper | null | undefined>, + value: T + ): LoDashImplicitWrapper>; + + /** + * @see _.fill + */ + fill( + this: LoDashImplicitWrapper, + value: T, + start?: number, + end?: number + ): LoDashImplicitWrapper>; + + /** + * @see _.fill + */ + fill( + this: LoDashImplicitWrapper | null | undefined>, + value: T, + start?: number, + end?: number + ): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.fill + */ + fill( + this: LoDashExplicitWrapper, + value: T + ): LoDashExplicitWrapper; + + /** + * @see _.fill + */ + fill( + this: LoDashExplicitWrapper | null | undefined>, + value: T + ): LoDashExplicitWrapper>; + + /** + * @see _.fill + */ + fill( + this: LoDashExplicitWrapper, + value: T, + start?: number, + end?: number + ): LoDashExplicitWrapper>; + + /** + * @see _.fill + */ + fill( + this: LoDashExplicitWrapper | null | undefined>, + value: T, + start?: number, + end?: number + ): LoDashExplicitWrapper>; + } + + // findIndex + + interface LoDashStatic { + /** + * This method is like _.find except that it returns the index of the first element predicate returns truthy + * for instead of the element itself. + * + * If a property name is provided for predicate the created _.property style callback returns the property + * value of the given element. + * + * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for + * elements that have a matching property value, else false. + * + * If an object is provided for predicate the created _.matches style callback returns true for elements that + * have the properties of the given object, else false. + * + * @param array The array to search. + * @param predicate The function invoked per iteration. + * @param fromIndex The index to search from. + * @return Returns the index of the found element, else -1. + */ + findIndex( + array: List | null | undefined, + predicate?: ListIterateeCustom, + fromIndex?: number + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.findIndex + */ + findIndex( + this: LoDashImplicitWrapper | null | undefined>, + predicate?: ListIterateeCustom, + fromIndex?: number + ): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.findIndex + */ + findIndex( + this: LoDashExplicitWrapper | null | undefined>, + predicate?: ListIterateeCustom, + fromIndex?: number + ): LoDashExplicitWrapper; + } + + // findLastIndex + + interface LoDashStatic { + /** + * This method is like _.findIndex except that it iterates over elements of collection from right to left. + * + * If a property name is provided for predicate the created _.property style callback returns the property + * value of the given element. + * + * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for + * elements that have a matching property value, else false. + * + * If an object is provided for predicate the created _.matches style callback returns true for elements that + * have the properties of the given object, else false. + * + * @param array The array to search. + * @param predicate The function invoked per iteration. + * @param fromIndex The index to search from. + * @return Returns the index of the found element, else -1. + */ + findLastIndex( + array: List | null | undefined, + predicate?: ListIterateeCustom, + fromIndex?: number + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.findLastIndex + */ + findLastIndex( + this: LoDashImplicitWrapper | null | undefined>, + predicate?: ListIterateeCustom, + fromIndex?: number + ): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.findLastIndex + */ + findLastIndex( + this: LoDashExplicitWrapper | null | undefined>, + predicate?: ListIterateeCustom, + fromIndex?: number + ): LoDashExplicitWrapper; + } + + // first + + interface LoDashStatic { + first: typeof _.head; // tslint:disable-line:no-unnecessary-qualifier + } + + interface LoDashImplicitWrapper { + /** + * @see _.head + */ + first(this: LoDashImplicitWrapper | null | undefined>): T | undefined; + } + + interface LoDashExplicitWrapper { + /** + * @see _.head + */ + first(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; + } + + interface RecursiveArray extends Array> {} + interface ListOfRecursiveArraysOrValues extends List> {} + + // flatten + + interface LoDashStatic { + /** + * Flattens a nested array. If isDeep is true the array is recursively flattened, otherwise it’s only + * flattened a single level. + * + * @param array The array to flatten. + * @param isDeep Specify a deep flatten. + * @return Returns the new flattened array. + */ + flatten(array: ListOfRecursiveArraysOrValues | null | undefined, isDeep: boolean): T[]; + + /** + * @see _.flatten + */ + flatten(array: List> | null | undefined): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.flatten + */ + flatten(this: LoDashImplicitWrapper | null | undefined>, isDeep: boolean): LoDashImplicitWrapper; + + /** + * @see _.flatten + */ + flatten(this: LoDashImplicitWrapper> | null | undefined>): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.flatten + */ + flatten(this: LoDashExplicitWrapper | null | undefined>, isDeep: boolean): LoDashExplicitWrapper; + + /** + * @see _.flatten + */ + flatten(this: LoDashExplicitWrapper> | null | undefined>): LoDashExplicitWrapper; + } + + // flattenDeep + + interface LoDashStatic { + /** + * Recursively flattens a nested array. + * + * @param array The array to recursively flatten. + * @return Returns the new flattened array. + */ + flattenDeep(array: ListOfRecursiveArraysOrValues | null | undefined): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.flattenDeep + */ + flattenDeep(this: LoDashImplicitWrapper | null | undefined>): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.flattenDeep + */ + flattenDeep(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; + } + + // flattenDepth + + interface LoDashStatic { + /** + * Recursively flatten array up to depth times. + * + * @param array The array to recursively flatten. + * @param number The maximum recursion depth. + * @return Returns the new flattened array. + */ + flattenDepth(array: ListOfRecursiveArraysOrValues | null | undefined, depth?: number): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.flattenDeep + */ + flattenDepth(this: LoDashImplicitWrapper | null | undefined>, depth?: number): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.flattenDeep + */ + flattenDepth(this: LoDashExplicitWrapper | null | undefined>, depth?: number): LoDashExplicitWrapper; + } + + // fromPairs + + interface LoDashStatic { + /** + * The inverse of `_.toPairs`; this method returns an object composed + * from key-value `pairs`. + * + * @category Array + * @param pairs The key-value pairs. + * @returns Returns the new object. + * @example + * + * _.fromPairs([['fred', 30], ['barney', 40]]); + * // => { 'fred': 30, 'barney': 40 } + */ + fromPairs( + pairs: List<[PropertyName, T]> | null | undefined + ): Dictionary; + + /** + @see _.fromPairs + */ + fromPairs( + pairs: List | null | undefined + ): Dictionary; + } + + interface LoDashImplicitWrapper { + /** + * @see _.fromPairs + */ + fromPairs( + this: LoDashImplicitWrapper | null | undefined> + ): LoDashImplicitWrapper>; + + /** + @see _.fromPairs + */ + fromPairs( + this: LoDashImplicitWrapper | null | undefined> + ): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.fromPairs + */ + fromPairs( + this: LoDashExplicitWrapper | null | undefined> + ): LoDashExplicitWrapper>; + + /** + @see _.fromPairs + */ + fromPairs( + this: LoDashExplicitWrapper | null | undefined> + ): LoDashExplicitWrapper>; + } + + // head + + interface LoDashStatic { + /** + * Gets the first element of array. + * + * @alias _.first + * + * @param array The array to query. + * @return Returns the first element of array. + */ + head(array: List | null | undefined): T | undefined; + } + + interface LoDashImplicitWrapper { + /** + * @see _.head + */ + head(this: LoDashImplicitWrapper | null | undefined>): T | undefined; + } + + interface LoDashExplicitWrapper { + /** + * @see _.head + */ + head(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; + } + + // indexOf + + interface LoDashStatic { + /** + * Gets the index at which the first occurrence of `value` is found in `array` + * using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) + * for equality comparisons. If `fromIndex` is negative, it's used as the offset + * from the end of `array`. If `array` is sorted providing `true` for `fromIndex` + * performs a faster binary search. + * + * @category Array + * @param array The array to search. + * @param value The value to search for. + * @param [fromIndex=0] The index to search from. + * @returns Returns the index of the matched value, else `-1`. + * @example + * + * _.indexOf([1, 2, 1, 2], 2); + * // => 1 + * + * // using `fromIndex` + * _.indexOf([1, 2, 1, 2], 2, 2); + * // => 3 + */ + indexOf( + array: List | null | undefined, + value: T, + fromIndex?: boolean|number + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.indexOf + */ + indexOf( + this: LoDashImplicitWrapper | null | undefined>, + value: T, + fromIndex?: boolean|number + ): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.indexOf + */ + indexOf( + this: LoDashExplicitWrapper | null | undefined>, + value: T, + fromIndex?: boolean|number + ): LoDashExplicitWrapper; + } + + // initial + + interface LoDashStatic { + /** + * Gets all but the last element of array. + * + * @param array The array to query. + * @return Returns the slice of array. + */ + initial(array: List | null | undefined): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.initial + */ + initial(this: LoDashImplicitWrapper | null | undefined>): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.initial + */ + initial(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; + } + + // intersection + + interface LoDashStatic { + /** + * Creates an array of unique values that are included in all of the provided arrays using SameValueZero for + * equality comparisons. + * + * @param arrays The arrays to inspect. + * @return Returns the new array of shared values. + */ + intersection(...arrays: Array>): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.intersection + */ + intersection( + this: LoDashImplicitWrapper>, + ...arrays: Array> + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.intersection + */ + intersection( + this: LoDashExplicitWrapper>, + ...arrays: Array> + ): LoDashExplicitWrapper; + } + + // intersectionBy + + interface LoDashStatic { + /** + * This method is like `_.intersection` except that it accepts `iteratee` + * which is invoked for each element of each `arrays` to generate the criterion + * by which uniqueness is computed. The iteratee is invoked with one argument: (value). + * + * @category Array + * @param [arrays] The arrays to inspect. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns the new array of shared values. + * @example + * + * _.intersectionBy([2.1, 1.2], [4.3, 2.4], Math.floor); + * // => [2.1] + * + * // using the `_.property` iteratee shorthand + * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); + * // => [{ 'x': 1 }] + */ + intersectionBy( + array: List | null, + values: List, + iteratee: ValueIteratee + ): T1[]; + + /** + * @see _.intersectionBy + */ + intersectionBy( + array: List | null, + values1: List, + values2: List, + iteratee: ValueIteratee + ): T1[]; + + /** + * @see _.intersectionBy + */ + intersectionBy( + array: List | null | undefined, + values1: List, + values2: List, + ...values: Array | ValueIteratee> + ): T1[]; + + /** + * @see _.intersectionBy + */ + intersectionBy( + array?: List | null, + ...values: Array> + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.intersectionBy + */ + intersectionBy( + this: LoDashImplicitWrapper | null | undefined>, + values: List, + iteratee: ValueIteratee + ): LoDashImplicitWrapper; + + /** + * @see _.intersectionBy + */ + intersectionBy( + this: LoDashImplicitWrapper | null | undefined>, + values1: List, + values2: List, + iteratee: ValueIteratee + ): LoDashImplicitWrapper; + + /** + * @see _.intersectionBy + */ + intersectionBy( + this: LoDashImplicitWrapper | null | undefined>, + values1: List, + values2: List, + ...values: Array | ValueIteratee> + ): LoDashImplicitWrapper; + + /** + * @see _.intersectionBy + */ + intersectionBy( + this: LoDashImplicitWrapper | null | undefined>, + ...values: Array> + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.intersectionBy + */ + intersectionBy( + this: LoDashExplicitWrapper | null | undefined>, + values: List, + iteratee: ValueIteratee + ): LoDashExplicitWrapper; + + /** + * @see _.intersectionBy + */ + intersectionBy( + this: LoDashExplicitWrapper | null | undefined>, + values1: List, + values2: List, + iteratee: ValueIteratee + ): LoDashExplicitWrapper; + + /** + * @see _.intersectionBy + */ + intersectionBy( + this: LoDashExplicitWrapper | null | undefined>, + values1: List, + values2: List, + ...values: Array | ValueIteratee> + ): LoDashExplicitWrapper; + + /** + * @see _.intersectionBy + */ + intersectionBy( + this: LoDashExplicitWrapper | null | undefined>, + ...values: Array> + ): LoDashExplicitWrapper; + } + + // intersectionWith + + interface LoDashStatic { + /** + * Creates an array of unique `array` values not included in the other + * provided arrays using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) + * for equality comparisons. + * + * @category Array + * @param [values] The arrays to inspect. + * @param [comparator] The comparator invoked per element. + * @returns Returns the new array of filtered values. + * @example + * + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; + * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; + + * _.intersectionWith(objects, others, _.isEqual); + * // => [{ 'x': 1, 'y': 2 }] + */ + intersectionWith( + array: List | null | undefined, + values: List, + comparator: Comparator2 + ): T1[]; + + /** + * @see _.intersectionWith + */ + intersectionWith( + array: List | null | undefined, + values1: List, + values2: List, + comparator: Comparator2 + ): T1[]; + + /** + * @see _.intersectionWith + */ + intersectionWith( + array: List | null | undefined, + values1: List, + values2: List, + ...values: Array | Comparator2> + ): T1[]; + + /** + * @see _.intersectionWith + */ + intersectionWith( + array?: List | null, + ...values: Array> + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.intersectionWith + */ + intersectionWith( + this: LoDashImplicitWrapper | null | undefined>, + values: List, + comparator: Comparator2 + ): LoDashImplicitWrapper; + + /** + * @see _.intersectionWith + */ + intersectionWith( + this: LoDashImplicitWrapper | null | undefined>, + values1: List, + values2: List, + comparator: Comparator2 + ): LoDashImplicitWrapper; + + /** + * @see _.intersectionWith + */ + intersectionWith( + this: LoDashImplicitWrapper | null | undefined>, + values1: List, + values2: List, + ...values: Array | Comparator2>, + ): LoDashImplicitWrapper; + + /** + * @see _.intersectionWith + */ + intersectionWith( + this: LoDashImplicitWrapper | null | undefined>, + ...values: Array> + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.intersectionWith + */ + intersectionWith( + this: LoDashExplicitWrapper | null | undefined>, + values: List, + comparator: Comparator2 + ): LoDashExplicitWrapper; + + /** + * @see _.intersectionWith + */ + intersectionWith( + this: LoDashExplicitWrapper | null | undefined>, + values1: List, + values2: List, + comparator: Comparator2 + ): LoDashExplicitWrapper; + + /** + * @see _.intersectionWith + */ + intersectionWith( + this: LoDashExplicitWrapper | null | undefined>, + values1: List, + values2: List, + ...values: Array | Comparator2>, + ): LoDashExplicitWrapper; + + /** + * @see _.intersectionWith + */ + intersectionWith( + this: LoDashExplicitWrapper | null | undefined>, + ...values: Array> + ): LoDashExplicitWrapper; + } + + // join + + interface LoDashStatic { + /** + * Converts all elements in `array` into a string separated by `separator`. + * + * @param array The array to convert. + * @param separator The element separator. + * @returns Returns the joined string. + */ + join( + array: List | null | undefined, + separator?: string + ): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.join + */ + join(separator?: string): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.join + */ + join(separator?: string): LoDashExplicitWrapper; + } + + // last + + interface LoDashStatic { + /** + * Gets the last element of array. + * + * @param array The array to query. + * @return Returns the last element of array. + */ + last(array: List | null | undefined): T | undefined; + } + + interface LoDashImplicitWrapper { + /** + * @see _.last + */ + last(this: LoDashImplicitWrapper | null | undefined>): T | undefined; + } + + interface LoDashExplicitWrapper { + /** + * @see _.last + */ + last(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; + } + + // lastIndexOf + + interface LoDashStatic { + /** + * This method is like _.indexOf except that it iterates over elements of array from right to left. + * + * @param array The array to search. + * @param value The value to search for. + * @param fromIndex The index to search from or true to perform a binary search on a sorted array. + * @return Returns the index of the matched value, else -1. + */ + lastIndexOf( + array: List | null | undefined, + value: T, + fromIndex?: true|number + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.indexOf + */ + lastIndexOf( + this: LoDashImplicitWrapper | null | undefined>, + value: T, + fromIndex?: true|number + ): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.indexOf + */ + lastIndexOf( + this: LoDashExplicitWrapper | null | undefined>, + value: T, + fromIndex?: true|number + ): LoDashExplicitWrapper; + } + + // nth + + interface LoDashStatic { + /** + * Gets the element at index `n` of `array`. If `n` is negative, the nth element from the end is returned. + * + * @param array array The array to query. + * @param value The index of the element to return. + * @return Returns the nth element of `array`. + */ + nth( + array: List | null | undefined, + n?: number + ): T | undefined; + } + + interface LoDashImplicitWrapper { + /** + * @see _.nth + */ + nth( + this: LoDashImplicitWrapper | null | undefined>, + n?: number + ): T | undefined; + } + + interface LoDashExplicitWrapper { + /** + * @see _.nth + */ + nth( + this: LoDashExplicitWrapper | null | undefined>, + n?: number + ): LoDashExplicitWrapper; + } + + // pull + + interface LoDashStatic { + /** + * Removes all provided values from array using SameValueZero for equality comparisons. + * + * Note: Unlike _.without, this method mutates array. + * + * @param array The array to modify. + * @param values The values to remove. + * @return Returns array. + */ + pull( + array: T[], + ...values: T[] + ): T[]; + + /** + * @see _.pull + */ + pull( + array: List, + ...values: T[] + ): List; + } + + interface LoDashImplicitWrapper { + /** + * @see _.pull + */ + pull( + this: LoDashImplicitWrapper>, + ...values: T[] + ): this; + } + + interface LoDashExplicitWrapper { + /** + * @see _.pull + */ + pull( + this: LoDashExplicitWrapper>, + ...values: T[] + ): this; + } + + // pullAll + + interface LoDashStatic { + /** + * This method is like `_.pull` except that it accepts an array of values to remove. + * + * **Note:** Unlike `_.difference`, this method mutates `array`. + * + * @category Array + * @param array The array to modify. + * @param values The values to remove. + * @returns Returns `array`. + * @example + * + * var array = [1, 2, 3, 1, 2, 3]; + * + * _.pull(array, [2, 3]); + * console.log(array); + * // => [1, 1] + */ + pullAll( + array: T[], + values?: List, + ): T[]; + + /** + * @see _.pullAll + */ + pullAll( + array: List, + values?: List, + ): List; + } + + interface LoDashImplicitWrapper { + /** + * @see _.pullAll + */ + pullAll( + this: LoDashImplicitWrapper>, + values?: List + ): this; + } + + interface LoDashExplicitWrapper { + /** + * @see _.pullAll + */ + pullAll( + this: LoDashExplicitWrapper>, + values?: List + ): this; + } + + // pullAllBy + + interface LoDashStatic { + /** + * This method is like `_.pullAll` except that it accepts `iteratee` which is + * invoked for each element of `array` and `values` to to generate the criterion + * by which uniqueness is computed. The iteratee is invoked with one argument: (value). + * + * **Note:** Unlike `_.differenceBy`, this method mutates `array`. + * + * @category Array + * @param array The array to modify. + * @param values The values to remove. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns `array`. + * @example + * + * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }]; + * + * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x'); + * console.log(array); + * // => [{ 'x': 2 }] + */ + pullAllBy( + array: T[], + values?: List, + iteratee?: ValueIteratee + ): T[]; + + /** + * @see _.pullAllBy + */ + pullAllBy( + array: List, + values?: List, + iteratee?: ValueIteratee + ): List; + + /** + * @see _.pullAllBy + */ + pullAllBy( + array: T1[], + values: List, + iteratee: ValueIteratee + ): T1[]; + + /** + * @see _.pullAllBy + */ + pullAllBy( + array: List, + values: List, + iteratee: ValueIteratee + ): List; + } + + interface LoDashWrapper { + /** + * @see _.pullAllBy + */ + pullAllBy( + this: LoDashWrapper>, + values?: List, + iteratee?: ValueIteratee + ): this; + + /** + * @see _.pullAllBy + */ + pullAllBy( + this: LoDashWrapper>, + values: List, + iteratee: ValueIteratee + ): this; + } + + // pullAllWith + + interface LoDashStatic { + /** + * This method is like `_.pullAll` except that it accepts `comparator` which is + * invoked to compare elements of array to values. The comparator is invoked with + * two arguments: (arrVal, othVal). + * + * **Note:** Unlike `_.differenceWith`, this method mutates `array`. + * + * @category Array + * @param array The array to modify. + * @param values The values to remove. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns `array`. + * @example + * + * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }]; + * + * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual); + * console.log(array); + * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }] + */ + pullAllWith( + array: T[], + values?: List, + comparator?: Comparator + ): T[]; + + /** + * @see _.pullAllWith + */ + pullAllWith( + array: List, + values?: List, + comparator?: Comparator + ): List; + + /** + * @see _.pullAllWith + */ + pullAllWith( + array: T1[], + values: List, + comparator: Comparator2 + ): T1[]; + + /** + * @see _.pullAllWith + */ + pullAllWith( + array: List, + values: List, + comparator: Comparator2 + ): List; + } + + interface LoDashWrapper { + /** + * @see _.pullAllWith + */ + pullAllWith( + this: LoDashWrapper>, + values?: List, + comparator?: Comparator + ): this; + + /** + * @see _.pullAllWith + */ + pullAllWith( + this: LoDashWrapper>, + values: List, + comparator: Comparator2 + ): this; + } + + // pullAt + + interface LoDashStatic { + /** + * Removes elements from array corresponding to the given indexes and returns an array of the removed elements. + * Indexes may be specified as an array of indexes or as individual arguments. + * + * Note: Unlike _.at, this method mutates array. + * + * @param array The array to modify. + * @param indexes The indexes of elements to remove, specified as individual indexes or arrays of indexes. + * @return Returns the new array of removed elements. + */ + pullAt( + array: T[], + ...indexes: Array> + ): T[]; + + /** + * @see _.pullAt + */ + pullAt( + array: List, + ...indexes: Array> + ): List; + } + + interface LoDashWrapper { + /** + * @see _.pullAt + */ + pullAt(...indexes: Array>): this; + } + + // remove + + interface LoDashStatic { + /** + * Removes all elements from array that predicate returns truthy for and returns an array of the removed + * elements. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). + * + * If a property name is provided for predicate the created _.property style callback returns the property + * value of the given element. + * + * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for + * elements that have a matching property value, else false. + * + * If an object is provided for predicate the created _.matches style callback returns true for elements that + * have the properties of the given object, else false. + * + * Note: Unlike _.filter, this method mutates array. + * + * @param array The array to modify. + * @param predicate The function invoked per iteration. + * @param thisArg The this binding of predicate. + * @return Returns the new array of removed elements. + */ + remove( + array: List, + predicate?: ListIteratee + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.remove + */ + remove( + this: LoDashImplicitWrapper>, + predicate?: ListIteratee + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.remove + */ + remove( + this: LoDashExplicitWrapper>, + predicate?: ListIteratee + ): LoDashExplicitWrapper; + } + + // reverse + + interface LoDashStatic { + /** + * Reverses `array` so that the first element becomes the last, the second + * element becomes the second to last, and so on. + * + * **Note:** This method mutates `array` and is based on + * [`Array#reverse`](https://mdn.io/Array/reverse). + * + * @category Array + * @returns Returns `array`. + * @example + * + * var array = [1, 2, 3]; + * + * _.reverse(array); + * // => [3, 2, 1] + * + * console.log(array); + * // => [3, 2, 1] + */ + reverse>( + array: TList, + ): TList; + } + + // slice + + interface LoDashStatic { + /** + * Creates a slice of array from start up to, but not including, end. + * + * @param array The array to slice. + * @param start The start position. + * @param end The end position. + * @return Returns the slice of array. + */ + slice( + array: List | null | undefined, + start?: number, + end?: number + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.slice + */ + slice( + this: LoDashImplicitWrapper | null | undefined>, + start?: number, + end?: number + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.slice + */ + slice( + this: LoDashExplicitWrapper | null | undefined>, + start?: number, + end?: number + ): LoDashExplicitWrapper; + } + + // sortedIndex + + interface LoDashStatic { + /** + * Uses a binary search to determine the lowest index at which `value` should + * be inserted into `array` in order to maintain its sort order. + * + * @category Array + * @param array The sorted array to inspect. + * @param value The value to evaluate. + * @returns Returns the index at which `value` should be inserted into `array`. + * @example + * + * _.sortedIndex([30, 50], 40); + * // => 1 + * + * _.sortedIndex([4, 5], 4); + * // => 0 + */ + sortedIndex( + array: List | null | undefined, + value: T + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.sortedIndex + */ + sortedIndex( + this: LoDashImplicitWrapper | null | undefined>, + value: T + ): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.sortedIndex + */ + sortedIndex( + this: LoDashExplicitWrapper | null | undefined>, + value: T + ): LoDashExplicitWrapper; + } + + // sortedIndexBy + + interface LoDashStatic { + /** + * Uses a binary search to determine the lowest index at which `value` should + * be inserted into `array` in order to maintain its sort order. + * + * @category Array + * @param array The sorted array to inspect. + * @param value The value to evaluate. + * @returns Returns the index at which `value` should be inserted into `array`. + * @example + * + * _.sortedIndex([30, 50], 40); + * // => 1 + * + * _.sortedIndex([4, 5], 4); + * // => 0 + */ + sortedIndex( + array: List | null | undefined, + value: T + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.sortedIndex + */ + sortedIndex( + this: LoDashImplicitWrapper | null | undefined>, + value: T + ): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.sortedIndex + */ + sortedIndex( + this: LoDashExplicitWrapper | null | undefined>, + value: T + ): LoDashExplicitWrapper; + } + + // _.sortedIndexBy + interface LoDashStatic { + /** + * This method is like `_.sortedIndex` except that it accepts `iteratee` + * which is invoked for `value` and each element of `array` to compute their + * sort ranking. The iteratee is invoked with one argument: (value). + * + * @category Array + * @param array The sorted array to inspect. + * @param value The value to evaluate. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns the index at which `value` should be inserted into `array`. + * @example + * + * var dict = { 'thirty': 30, 'forty': 40, 'fifty': 50 }; + * + * _.sortedIndexBy(['thirty', 'fifty'], 'forty', _.propertyOf(dict)); + * // => 1 + * + * // using the `_.property` iteratee shorthand + * _.sortedIndexBy([{ 'x': 4 }, { 'x': 5 }], { 'x': 4 }, 'x'); + * // => 0 + */ + sortedIndexBy( + array: List | null | undefined, + value: T, + iteratee?: ValueIteratee + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.sortedIndexBy + */ + sortedIndexBy( + this: LoDashImplicitWrapper | null | undefined>, + value: T, + iteratee?: ValueIteratee + ): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.sortedIndexBy + */ + sortedIndexBy( + this: LoDashExplicitWrapper | null | undefined>, + value: T, + iteratee?: ValueIteratee + ): LoDashExplicitWrapper; + } + + // sortedIndexOf + + interface LoDashStatic { + /** + * This method is like `_.indexOf` except that it performs a binary + * search on a sorted `array`. + * + * @category Array + * @param array The array to search. + * @param value The value to search for. + * @returns Returns the index of the matched value, else `-1`. + * @example + * + * _.sortedIndexOf([1, 1, 2, 2], 2); + * // => 2 + */ + sortedIndexOf( + array: List | null | undefined, + value: T + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.sortedIndexOf + */ + sortedIndexOf( + this: LoDashImplicitWrapper | null | undefined>, + value: T + ): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.sortedIndexOf + */ + sortedIndexOf( + this: LoDashExplicitWrapper | null | undefined>, + value: T + ): LoDashExplicitWrapper; + } + + // sortedLastIndex + + interface LoDashStatic { + /** + * This method is like `_.sortedIndex` except that it returns the highest + * index at which `value` should be inserted into `array` in order to + * maintain its sort order. + * + * @category Array + * @param array The sorted array to inspect. + * @param value The value to evaluate. + * @returns Returns the index at which `value` should be inserted into `array`. + * @example + * + * _.sortedLastIndex([4, 5], 4); + * // => 1 + */ + sortedLastIndex( + array: List | null | undefined, + value: T + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.sortedLastIndex + */ + sortedLastIndex( + this: LoDashImplicitWrapper | null | undefined>, + value: T + ): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.sortedLastIndex + */ + sortedLastIndex( + this: LoDashExplicitWrapper | null | undefined>, + value: T + ): LoDashExplicitWrapper; + } + + // sortedLastIndexBy + + interface LoDashStatic { + /** + * This method is like `_.sortedLastIndex` except that it accepts `iteratee` + * which is invoked for `value` and each element of `array` to compute their + * sort ranking. The iteratee is invoked with one argument: (value). + * + * @category Array + * @param array The sorted array to inspect. + * @param value The value to evaluate. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns the index at which `value` should be inserted into `array`. + * @example + * + * // using the `_.property` iteratee shorthand + * _.sortedLastIndexBy([{ 'x': 4 }, { 'x': 5 }], { 'x': 4 }, 'x'); + * // => 1 + */ + sortedLastIndexBy( + array: List | null | undefined, + value: T, + iteratee: ValueIteratee + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.sortedLastIndexBy + */ + sortedLastIndexBy( + this: LoDashImplicitWrapper | null | undefined>, + value: T, + iteratee: ValueIteratee + ): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.sortedLastIndexBy + */ + sortedLastIndexBy( + this: LoDashExplicitWrapper | null | undefined>, + value: T, + iteratee: ValueIteratee + ): LoDashExplicitWrapper; + } + + // sortedLastIndexOf + + interface LoDashStatic { + /** + * This method is like `_.lastIndexOf` except that it performs a binary + * search on a sorted `array`. + * + * @category Array + * @param array The array to search. + * @param value The value to search for. + * @returns Returns the index of the matched value, else `-1`. + * @example + * + * _.sortedLastIndexOf([1, 1, 2, 2], 2); + * // => 3 + */ + sortedLastIndexOf( + array: List | null | undefined, + value: T + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.sortedLastIndexOf + */ + sortedLastIndexOf( + this: LoDashImplicitWrapper | null | undefined>, + value: T + ): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.sortedLastIndexOf + */ + sortedLastIndexOf( + this: LoDashExplicitWrapper | null | undefined>, + value: T + ): LoDashExplicitWrapper; + } + + // sortedUniq + + interface LoDashStatic { + /** + * This method is like `_.uniq` except that it's designed and optimized + * for sorted arrays. + * + * @category Array + * @param array The array to inspect. + * @returns Returns the new duplicate free array. + * @example + * + * _.sortedUniq([1, 1, 2]); + * // => [1, 2] + */ + sortedUniq( + array: List | null | undefined + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.sortedUniq + */ + sortedUniq(this: LoDashImplicitWrapper | null | undefined>): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.sortedUniq + */ + sortedUniq(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; + } + + // sortedUniqBy + + interface LoDashStatic { + /** + * This method is like `_.uniqBy` except that it's designed and optimized + * for sorted arrays. + * + * @category Array + * @param array The array to inspect. + * @param [iteratee] The iteratee invoked per element. + * @returns Returns the new duplicate free array. + * @example + * + * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor); + * // => [1.1, 2.2] + */ + sortedUniqBy( + array: string | null | undefined, + iteratee: StringIterator + ): string[]; + + /** + * @see _.sortedUniqBy + */ + sortedUniqBy( + array: List | null | undefined, + iteratee: ListIteratee + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.sortedUniqBy + */ + sortedUniqBy( + this: LoDashImplicitWrapper, + iteratee: StringIterator + ): LoDashImplicitWrapper; + + /** + * @see _.sortedUniqBy + */ + sortedUniqBy( + this: LoDashImplicitWrapper | null | undefined>, + iteratee: ListIteratee + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.sortedUniqBy + */ + sortedUniqBy( + this: LoDashExplicitWrapper, + iteratee: StringIterator + ): LoDashExplicitWrapper; + + /** + * @see _.sortedUniqBy + */ + sortedUniqBy( + this: LoDashExplicitWrapper | null | undefined>, + iteratee: ListIteratee + ): LoDashExplicitWrapper; + } + + // tail + + interface LoDashStatic { + /** + * Gets all but the first element of array. + * + * @param array The array to query. + * @return Returns the slice of array. + */ + tail(array: List | null | undefined): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.tail + */ + tail(this: LoDashImplicitWrapper | null | undefined>): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.tail + */ + tail(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; + } + + // take + + interface LoDashStatic { + /** + * Creates a slice of array with n elements taken from the beginning. + * + * @param array The array to query. + * @param n The number of elements to take. + * @return Returns the slice of array. + */ + take( + array: List | null | undefined, + n?: number + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.take + */ + take( + this: LoDashImplicitWrapper | null | undefined>, + n?: number + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.take + */ + take( + this: LoDashExplicitWrapper | null | undefined>, + n?: number + ): LoDashExplicitWrapper; + } + + // takeRight + + interface LoDashStatic { + /** + * Creates a slice of array with n elements taken from the end. + * + * @param array The array to query. + * @param n The number of elements to take. + * @return Returns the slice of array. + */ + takeRight( + array: List | null | undefined, + n?: number + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.takeRight + */ + takeRight( + this: LoDashImplicitWrapper | null | undefined>, + n?: number + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.takeRight + */ + takeRight( + this: LoDashExplicitWrapper | null | undefined>, + n?: number + ): LoDashExplicitWrapper; + } + + // takeRightWhile + + interface LoDashStatic { + /** + * Creates a slice of array with elements taken from the end. Elements are taken until predicate returns + * falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). + * + * If a property name is provided for predicate the created _.property style callback returns the property + * value of the given element. + * + * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for + * elements that have a matching property value, else false. + * + * If an object is provided for predicate the created _.matches style callback returns true for elements that + * have the properties of the given object, else false. + * + * @param array The array to query. + * @param predicate The function invoked per iteration. + * @param thisArg The this binding of predicate. + * @return Returns the slice of array. + */ + takeRightWhile( + array: List | null | undefined, + predicate?: ListIteratee + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.takeRightWhile + */ + takeRightWhile( + this: LoDashImplicitWrapper | null | undefined>, + predicate?: ListIteratee + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.takeRightWhile + */ + takeRightWhile( + this: LoDashExplicitWrapper | null | undefined>, + predicate?: ListIteratee + ): LoDashExplicitWrapper; + } + + // takeWhile + + interface LoDashStatic { + /** + * Creates a slice of array with elements taken from the beginning. Elements are taken until predicate returns + * falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). + * + * If a property name is provided for predicate the created _.property style callback returns the property + * value of the given element. + * + * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for + * elements that have a matching property value, else false. + * + * If an object is provided for predicate the created _.matches style callback returns true for elements that + * have the properties of the given object, else false. + * + * @param array The array to query. + * @param predicate The function invoked per iteration. + * @param thisArg The this binding of predicate. + * @return Returns the slice of array. + */ + takeWhile( + array: List | null | undefined, + predicate?: ListIteratee + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.takeWhile + */ + takeWhile( + this: LoDashImplicitWrapper | null | undefined>, + predicate?: ListIteratee + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.takeWhile + */ + takeWhile( + this: LoDashExplicitWrapper | null | undefined>, + predicate?: ListIteratee + ): LoDashExplicitWrapper; + } + + // union + + interface LoDashStatic { + /** + * Creates an array of unique values, in order, from all of the provided arrays using SameValueZero for + * equality comparisons. + * + * @param arrays The arrays to inspect. + * @return Returns the new array of combined values. + */ + union(...arrays: Array | null | undefined>): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.union + */ + union( + this: LoDashImplicitWrapper | null | undefined>, + ...arrays: Array | null | undefined> + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.union + */ + union( + this: LoDashExplicitWrapper | null | undefined>, + ...arrays: Array | null | undefined> + ): LoDashExplicitWrapper; + } + + // unionBy + + interface LoDashStatic { + /** + * This method is like `_.union` except that it accepts `iteratee` which is + * invoked for each element of each `arrays` to generate the criterion by which + * uniqueness is computed. The iteratee is invoked with one argument: (value). + * + * @param arrays The arrays to inspect. + * @param iteratee The iteratee invoked per element. + * @return Returns the new array of combined values. + */ + unionBy( + arrays: List | null | undefined, + iteratee?: ValueIteratee + ): T[]; + + /** + * @see _.unionBy + */ + unionBy( + arrays1: List | null | undefined, + arrays2: List | null | undefined, + iteratee?: ValueIteratee + ): T[]; + + /** + * @see _.unionBy + */ + unionBy( + arrays1: List | null | undefined, + arrays2: List | null | undefined, + arrays3: List | null | undefined, + iteratee?: ValueIteratee + ): T[]; + + /** + * @see _.unionBy + */ + unionBy( + arrays1: List | null | undefined, + arrays2: List | null | undefined, + arrays3: List | null | undefined, + arrays4: List | null | undefined, + iteratee?: ValueIteratee + ): T[]; + + /** + * @see _.unionBy + */ + unionBy( + arrays1: List | null | undefined, + arrays2: List | null | undefined, + arrays3: List | null | undefined, + arrays4: List | null | undefined, + arrays5: List | null | undefined, + ...iteratee: Array | List | null | undefined> + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.unionBy + */ + unionBy( + this: LoDashImplicitWrapper | null | undefined>, + iteratee?: ValueIteratee + ): LoDashImplicitWrapper; + + /** + * @see _.unionBy + */ + unionBy( + this: LoDashImplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + iteratee?: ValueIteratee + ): LoDashImplicitWrapper; + + /** + * @see _.unionBy + */ + unionBy( + this: LoDashImplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + arrays3: List | null | undefined, + iteratee?: ValueIteratee + ): LoDashImplicitWrapper; + + /** + * @see _.unionBy + */ + unionBy( + this: LoDashImplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + arrays3: List | null | undefined, + arrays4: List | null | undefined, + iteratee?: ValueIteratee + ): LoDashImplicitWrapper; + + /** + * @see _.unionBy + */ + unionBy( + this: LoDashImplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + arrays3: List | null | undefined, + arrays4: List | null | undefined, + arrays5: List | null | undefined, + ...iteratee: Array | List | null | undefined> + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.unionBy + */ + unionBy( + this: LoDashExplicitWrapper | null | undefined>, + iteratee?: ValueIteratee + ): LoDashExplicitWrapper; + + /** + * @see _.unionBy + */ + unionBy( + this: LoDashExplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + iteratee?: ValueIteratee + ): LoDashExplicitWrapper; + + /** + * @see _.unionBy + */ + unionBy( + this: LoDashExplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + arrays3: List | null | undefined, + iteratee?: ValueIteratee + ): LoDashExplicitWrapper; + + /** + * @see _.unionBy + */ + unionBy( + this: LoDashExplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + arrays3: List | null | undefined, + arrays4: List | null | undefined, + iteratee?: ValueIteratee + ): LoDashExplicitWrapper; + + /** + * @see _.unionBy + */ + unionBy( + this: LoDashExplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + arrays3: List | null | undefined, + arrays4: List | null | undefined, + arrays5: List | null | undefined, + ...iteratee: Array | List | null | undefined> + ): LoDashExplicitWrapper; + } + + // unionWith + + interface LoDashStatic { + /** + * This method is like `_.union` except that it accepts `comparator` which + * is invoked to compare elements of `arrays`. The comparator is invoked + * with two arguments: (arrVal, othVal). + * + * @category Array + * @param [arrays] The arrays to inspect. + * @param [comparator] The comparator invoked per element. + * @returns Returns the new array of combined values. + * @example + * + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; + * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; + * + * _.unionWith(objects, others, _.isEqual); + * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] + */ + unionWith( + arrays: List | null | undefined, + comparator?: Comparator + ): T[]; + + /** + * @see _.unionBy + */ + unionWith( + arrays: List | null | undefined, + arrays2: List | null | undefined, + comparator?: Comparator + ): T[]; + + /** + * @see _.unionWith + */ + unionWith( + arrays: List | null | undefined, + arrays2: List | null | undefined, + arrays3: List | null | undefined, + ...comparator: Array | List | null | undefined> + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.unionWith + */ + unionWith( + this: LoDashImplicitWrapper | null | undefined>, + comparator?: Comparator + ): LoDashImplicitWrapper; + + /** + * @see _.unionWith + */ + unionWith( + this: LoDashImplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + comparator?: Comparator + ): LoDashImplicitWrapper; + + /** + * @see _.unionWith + */ + unionWith( + this: LoDashImplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + arrays3: List | null | undefined, + ...comparator: Array | List | null | undefined> + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.unionWith + */ + unionWith( + this: LoDashExplicitWrapper | null | undefined>, + comparator?: Comparator + ): LoDashExplicitWrapper; + + /** + * @see _.unionWith + */ + unionWith( + this: LoDashExplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + comparator?: Comparator + ): LoDashExplicitWrapper; + + /** + * @see _.unionWith + */ + unionWith( + this: LoDashExplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + arrays3: List | null | undefined, + ...comparator: Array | List | null | undefined> + ): LoDashExplicitWrapper; + } + + // uniq + + interface LoDashStatic { + /** + * Creates a duplicate-free version of an array, using + * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) + * for equality comparisons, in which only the first occurrence of each element + * is kept. + * + * @category Array + * @param array The array to inspect. + * @returns Returns the new duplicate free array. + * @example + * + * _.uniq([2, 1, 2]); + * // => [2, 1] + */ + uniq( + array: List | null | undefined + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.uniq + */ + uniq(this: LoDashImplicitWrapper | null | undefined>): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.uniq + */ + uniq(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; + } + + // uniqBy + + interface LoDashStatic { + /** + * This method is like `_.uniq` except that it accepts `iteratee` which is + * invoked for each element in `array` to generate the criterion by which + * uniqueness is computed. The iteratee is invoked with one argument: (value). + * + * @category Array + * @param array The array to inspect. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns the new duplicate free array. + * @example + * + * _.uniqBy([2.1, 1.2, 2.3], Math.floor); + * // => [2.1, 1.2] + * + * // using the `_.property` iteratee shorthand + * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x'); + * // => [{ 'x': 1 }, { 'x': 2 }] + */ + uniqBy( + array: string | null | undefined, + iteratee: StringIterator + ): string[]; + + /** + * @see _.uniqBy + */ + uniqBy( + array: List | null | undefined, + iteratee: ListIteratee + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.uniqBy + */ + uniqBy( + this: LoDashImplicitWrapper, + iteratee: StringIterator + ): LoDashImplicitWrapper; + + /** + * @see _.uniqBy + */ + uniqBy( + this: LoDashImplicitWrapper | null | undefined>, + iteratee: ListIteratee + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.uniqBy + */ + uniqBy( + this: LoDashExplicitWrapper, + iteratee: StringIterator + ): LoDashExplicitWrapper; + + /** + * @see _.uniqBy + */ + uniqBy( + this: LoDashExplicitWrapper | null | undefined>, + iteratee: ListIteratee + ): LoDashExplicitWrapper; + } + + // uniqWith + + interface LoDashStatic { + /** + * This method is like `_.uniq` except that it accepts `comparator` which + * is invoked to compare elements of `array`. The comparator is invoked with + * two arguments: (arrVal, othVal). + * + * @category Array + * @param array The array to inspect. + * @param [comparator] The comparator invoked per element. + * @returns Returns the new duplicate free array. + * @example + * + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }]; + * + * _.uniqWith(objects, _.isEqual); + * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }] + */ + uniqWith( + array: List | null | undefined, + comparator?: Comparator + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.uniqWith + */ + uniqWith( + this: LoDashImplicitWrapper | null | undefined>, + comparator?: Comparator + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.uniqWith + */ + uniqWith( + this: LoDashExplicitWrapper | null | undefined>, + comparator?: Comparator + ): LoDashExplicitWrapper; + } + + // unzip + + interface LoDashStatic { + /** + * This method is like _.zip except that it accepts an array of grouped elements and creates an array + * regrouping the elements to their pre-zip configuration. + * + * @param array The array of grouped elements to process. + * @return Returns the new array of regrouped elements. + */ + unzip(array: T[][] | List> | null | undefined): T[][]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.unzip + */ + unzip(this: LoDashImplicitWrapper> | null | undefined>): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.unzip + */ + unzip(this: LoDashExplicitWrapper> | null | undefined>): LoDashExplicitWrapper; + } + + // unzipWith + + interface LoDashStatic { + /** + * This method is like _.unzip except that it accepts an iteratee to specify how regrouped values should be + * combined. The iteratee is bound to thisArg and invoked with four arguments: (accumulator, value, index, + * group). + * + * @param array The array of grouped elements to process. + * @param iteratee The function to combine regrouped values. + * @param thisArg The this binding of iteratee. + * @return Returns the new array of regrouped elements. + */ + unzipWith( + array: List> | null | undefined, + iteratee: (...values: T[]) => TResult + ): TResult[]; + + /** + * @see _.unzipWith + */ + unzipWith( + array: List> | null | undefined + ): T[][]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.unzipWith + */ + unzipWith( + this: LoDashImplicitWrapper> | null | undefined>, + iteratee: (...values: T[]) => TResult + ): LoDashImplicitWrapper; + + /** + * @see _.unzipWith + */ + unzipWith( + this: LoDashImplicitWrapper> | null | undefined> + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.unzipWith + */ + unzipWith( + this: LoDashExplicitWrapper> | null | undefined>, + iteratee: (...values: T[]) => TResult + ): LoDashExplicitWrapper; + + /** + * @see _.unzipWith + */ + unzipWith( + this: LoDashExplicitWrapper> | null | undefined> + ): LoDashExplicitWrapper; + } + + // without + + interface LoDashStatic { + /** + * Creates an array excluding all provided values using SameValueZero for equality comparisons. + * + * @param array The array to filter. + * @param values The values to exclude. + * @return Returns the new array of filtered values. + */ + without( + array: List | null | undefined, + ...values: T[] + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.without + */ + without( + this: LoDashImplicitWrapper | null | undefined>, + ...values: T[] + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.without + */ + without( + this: LoDashExplicitWrapper | null | undefined>, + ...values: T[] + ): LoDashExplicitWrapper; + } + + // xor + + interface LoDashStatic { + /** + * Creates an array of unique values that is the symmetric difference of the provided arrays. + * + * @param arrays The arrays to inspect. + * @return Returns the new array of values. + */ + xor(...arrays: Array | null | undefined>): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.xor + */ + xor( + this: LoDashImplicitWrapper | null | undefined>, + ...arrays: Array | null | undefined> + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.xor + */ + xor( + this: LoDashExplicitWrapper | null | undefined>, + ...arrays: Array | null | undefined> + ): LoDashExplicitWrapper; + } + + // xorBy + + interface LoDashStatic { + /** + * This method is like `_.xor` except that it accepts `iteratee` which is + * invoked for each element of each `arrays` to generate the criterion by which + * uniqueness is computed. The iteratee is invoked with one argument: (value). + * + * @category Array + * @param [arrays] The arrays to inspect. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns the new array of values. + * @example + * + * _.xorBy([2.1, 1.2], [4.3, 2.4], Math.floor); + * // => [1.2, 4.3] + * + * // using the `_.property` iteratee shorthand + * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); + * // => [{ 'x': 2 }] + */ + xorBy( + arrays: List | null | undefined, + iteratee?: ValueIteratee + ): T[]; + + /** + * @see _.xorBy + */ + xorBy( + arrays: List | null | undefined, + arrays2: List | null | undefined, + iteratee?: ValueIteratee + ): T[]; + + /** + * @see _.xorBy + */ + xorBy( + arrays: List | null | undefined, + arrays2: List | null | undefined, + arrays3: List | null | undefined, + ...iteratee: Array | List | null | undefined> + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.xor + */ + xorBy( + this: LoDashImplicitWrapper | null | undefined>, + iteratee?: ValueIteratee + ): LoDashImplicitWrapper; + + /** + * @see _.xorBy + */ + xorBy( + this: LoDashImplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + iteratee?: ValueIteratee + ): LoDashImplicitWrapper; + + /** + * @see _.xorBy + */ + xorBy( + this: LoDashImplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + arrays3: List | null | undefined, + ...iteratee: Array | List | null | undefined> + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.xorBy + */ + xorBy( + this: LoDashExplicitWrapper | null | undefined>, + iteratee?: ValueIteratee + ): LoDashExplicitWrapper; + + /** + * @see _.xorBy + */ + xorBy( + this: LoDashExplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + iteratee?: ValueIteratee + ): LoDashExplicitWrapper; + + /** + * @see _.xorBy + */ + xorBy( + this: LoDashExplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + arrays3: List | null | undefined, + ...iteratee: Array | List | null | undefined> + ): LoDashExplicitWrapper; + } + + // xorWith + + interface LoDashStatic { + /** + * This method is like `_.xor` except that it accepts `comparator` which is + * invoked to compare elements of `arrays`. The comparator is invoked with + * two arguments: (arrVal, othVal). + * + * @category Array + * @param [arrays] The arrays to inspect. + * @param [comparator] The comparator invoked per element. + * @returns Returns the new array of values. + * @example + * + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; + * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; + * + * _.xorWith(objects, others, _.isEqual); + * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] + */ + xorWith( + arrays: List | null | undefined, + comparator?: Comparator + ): T[]; + + /** + * @see _.xorWith + */ + xorWith( + arrays: List | null | undefined, + arrays2: List | null | undefined, + comparator?: Comparator + ): T[]; + + /** + * @see _.xorWith + */ + xorWith( + arrays: List | null | undefined, + arrays2: List | null | undefined, + arrays3: List | null | undefined, + ...comparator: Array | List | null | undefined> + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.xorWith + */ + xorWith( + this: LoDashImplicitWrapper | null | undefined>, + comparator?: Comparator + ): LoDashImplicitWrapper; + + /** + * @see _.xorWith + */ + xorWith( + this: LoDashImplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + comparator?: Comparator + ): LoDashImplicitWrapper; + + /** + * @see _.xorWith + */ + xorWith( + this: LoDashImplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + arrays3: List | null | undefined, + ...comparator: Array | List | null | undefined> + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.xorWith + */ + xorWith( + this: LoDashExplicitWrapper | null | undefined>, + comparator?: Comparator + ): LoDashExplicitWrapper; + + /** + * @see _.xorWith + */ + xorWith( + this: LoDashExplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + comparator?: Comparator + ): LoDashExplicitWrapper; + + /** + * @see _.xorWith + */ + xorWith( + this: LoDashExplicitWrapper | null | undefined>, + arrays2: List | null | undefined, + arrays3: List | null | undefined, + ...comparator: Array | List | null | undefined> + ): LoDashExplicitWrapper; + } + + // zip + + interface LoDashStatic { + /** + * Creates an array of grouped elements, the first of which contains the first elements of the given arrays, + * the second of which contains the second elements of the given arrays, and so on. + * + * @param arrays The arrays to process. + * @return Returns the new array of grouped elements. + */ + zip(arrays1: List, arrays2: List): Array<[T1 | undefined, T2 | undefined]>; + + /** + * @see _.zip + */ + zip(arrays1: List, arrays2: List, arrays3: List): Array<[T1 | undefined, T2 | undefined, T3 | undefined]>; + + /** + * @see _.zip + */ + zip(arrays1: List, arrays2: List, arrays3: List, arrays4: List): Array<[T1 | undefined, T2 | undefined, T3 | undefined, T4 | undefined]>; + + /** + * @see _.zip + */ + zip(arrays1: List, arrays2: List, arrays3: List, arrays4: List, arrays5: List): Array<[T1 | undefined, T2 | undefined, T3 | undefined, T4 | undefined, T5 | undefined]>; + + /** + * @see _.zip + */ + zip(...arrays: Array | null | undefined>): (T | undefined)[][]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.zip + */ + zip( + this: LoDashImplicitWrapper>, + arrays2: List, + ): LoDashImplicitWrapper>; + + /** + * @see _.zip + */ + zip( + this: LoDashImplicitWrapper>, + arrays2: List, + arrays3: List, + ): LoDashImplicitWrapper>; + + /** + * @see _.zip + */ + zip( + this: LoDashImplicitWrapper>, + arrays2: List, + arrays3: List, + arrays4: List, + ): LoDashImplicitWrapper>; + + /** + * @see _.zip + */ + zip( + this: LoDashImplicitWrapper>, + arrays2: List, + arrays3: List, + arrays4: List, + arrays5: List, + ): LoDashImplicitWrapper>; + + /** + * @see _.zip + */ + zip( + this: LoDashImplicitWrapper | null | undefined>, + ...arrays: Array | null | undefined> + ): LoDashImplicitWrapper>>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.zip + */ + zip( + this: LoDashExplicitWrapper>, + arrays2: List, + ): LoDashExplicitWrapper>; + + /** + * @see _.zip + */ + zip( + this: LoDashExplicitWrapper>, + arrays2: List, + arrays3: List, + ): LoDashExplicitWrapper>; + + /** + * @see _.zip + */ + zip( + this: LoDashExplicitWrapper>, + arrays2: List, + arrays3: List, + arrays4: List, + ): LoDashExplicitWrapper>; + + /** + * @see _.zip + */ + zip( + this: LoDashExplicitWrapper>, + arrays2: List, + arrays3: List, + arrays4: List, + arrays5: List, + ): LoDashExplicitWrapper>; + + /** + * @see _.zip + */ + zip( + this: LoDashExplicitWrapper | null | undefined>, + ...arrays: Array | null | undefined> + ): LoDashExplicitWrapper>>; + } + + // zipObject + + interface LoDashStatic { + /** + * This method is like _.fromPairs except that it accepts two arrays, one of property + * identifiers and one of corresponding values. + * + * @param props The property names. + * @param values The property values. + * @return Returns the new object. + */ + zipObject( + props: List, + values: List + ): Dictionary; + + /** + * @see _.zipObject + */ + zipObject( + props?: List + ): Dictionary; + } + + interface LoDashImplicitWrapper { + /** + * @see _.zipObject + */ + zipObject( + this: LoDashImplicitWrapper>, + values: List + ): LoDashImplicitWrapper>; + + /** + * @see _.zipObject + */ + zipObject( + this: LoDashImplicitWrapper> + ): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.zipObject + */ + zipObject( + this: LoDashExplicitWrapper>, + values: List + ): LoDashExplicitWrapper>; + + /** + * @see _.zipObject + */ + zipObject( + this: LoDashExplicitWrapper> + ): LoDashExplicitWrapper>; + } + + // zipObjectDeep + + interface LoDashStatic { + /** + * This method is like _.zipObject except that it supports property paths. + * + * @param paths The property names. + * @param values The property values. + * @return Returns the new object. + */ + zipObjectDeep( + paths?: List, + values?: List + ): object; + } + + interface LoDashImplicitWrapper { + /** + * @see _.zipObjectDeep + */ + zipObjectDeep( + this: LoDashImplicitWrapper>, + values?: List + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.zipObjectDeep + */ + zipObjectDeep( + this: LoDashExplicitWrapper>, + values?: List + ): LoDashExplicitWrapper; + } + + // zipWith + + interface LoDashStatic { + /** + * This method is like _.zip except that it accepts an iteratee to specify how grouped values should be + * combined. The iteratee is bound to thisArg and invoked with four arguments: (accumulator, value, index, + * group). + * @param [arrays] The arrays to process. + * @param [iteratee] The function to combine grouped values. + * @param [thisArg] The `this` binding of `iteratee`. + * @return Returns the new array of grouped elements. + */ + zipWith( + arrays: List, + iteratee: (value1: T) => TResult + ): TResult[]; + + /** + * @see _.zipWith + */ + zipWith( + arrays1: List, + arrays2: List, + iteratee: (value1: T1, value2: T2) => TResult + ): TResult[]; + + /** + * @see _.zipWith + */ + zipWith( + arrays1: List, + arrays2: List, + arrays3: List, + iteratee: (value1: T1, value2: T2, value3: T3) => TResult + ): TResult[]; + + /** + * @see _.zipWith + */ + zipWith( + arrays1: List, + arrays2: List, + arrays3: List, + arrays4: List, + iteratee: (value1: T1, value2: T2, value3: T3, value4: T4) => TResult + ): TResult[]; + + /** + * @see _.zipWith + */ + zipWith( + arrays1: List, + arrays2: List, + arrays3: List, + arrays4: List, + arrays5: List, + iteratee: (value1: T1, value2: T2, value3: T3, value4: T4, value5: T5) => TResult + ): TResult[]; + + /** + * @see _.zipWith + */ + zipWith( + ...iteratee: Array<((...group: T[]) => TResult) | List | null | undefined> + ): TResult[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.zipWith + */ + zipWith( + this: LoDashImplicitWrapper>, + iteratee: (value1: T) => TResult + ): LoDashImplicitWrapper; + + /** + * @see _.zipWith + */ + zipWith( + this: LoDashImplicitWrapper>, + arrays2: List, + iteratee: (value1: T1, value2: T2) => TResult + ): LoDashImplicitWrapper; + + /** + * @see _.zipWith + */ + zipWith( + this: LoDashImplicitWrapper>, + arrays2: List, + arrays3: List, + iteratee: (value1: T1, value2: T2, value3: T3) => TResult + ): LoDashImplicitWrapper; + + /** + * @see _.zipWith + */ + zipWith( + this: LoDashImplicitWrapper>, + arrays2: List, + arrays3: List, + arrays4: List, + iteratee: (value1: T1, value2: T2, value3: T3, value4: T4) => TResult + ): LoDashImplicitWrapper; + + /** + * @see _.zipWith + */ + zipWith( + this: LoDashImplicitWrapper>, + arrays2: List, + arrays3: List, + arrays4: List, + arrays5: List, + iteratee: (value1: T1, value2: T2, value3: T3, value4: T4, value5: T5) => TResult + ): LoDashImplicitWrapper; + + /** + * @see _.zipWith + */ + zipWith( + this: LoDashImplicitWrapper | null | undefined>, + ...iteratee: Array<((...group: T[]) => TResult) | List | null | undefined> + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.zipWith + */ + zipWith( + this: LoDashExplicitWrapper>, + iteratee: (value1: T) => TResult + ): LoDashExplicitWrapper; + + /** + * @see _.zipWith + */ + zipWith( + this: LoDashExplicitWrapper>, + arrays2: List, + iteratee: (value1: T1, value2: T2) => TResult + ): LoDashExplicitWrapper; + + /** + * @see _.zipWith + */ + zipWith( + this: LoDashExplicitWrapper>, + arrays2: List, + arrays3: List, + iteratee: (value1: T1, value2: T2, value3: T3) => TResult + ): LoDashExplicitWrapper; + + /** + * @see _.zipWith + */ + zipWith( + this: LoDashExplicitWrapper>, + arrays2: List, + arrays3: List, + arrays4: List, + iteratee: (value1: T1, value2: T2, value3: T3, value4: T4) => TResult + ): LoDashExplicitWrapper; + + /** + * @see _.zipWith + */ + zipWith( + this: LoDashExplicitWrapper>, + arrays2: List, + arrays3: List, + arrays4: List, + arrays5: List, + iteratee: (value1: T1, value2: T2, value3: T3, value4: T4, value5: T5) => TResult + ): LoDashExplicitWrapper; + + /** + * @see _.zipWith + */ + zipWith( + this: LoDashExplicitWrapper | null | undefined>, + ...iteratee: Array<((...group: T[]) => TResult) | List | null | undefined> + ): LoDashExplicitWrapper; + } +} \ No newline at end of file diff --git a/types/lodash/common/collection.d.ts b/types/lodash/common/collection.d.ts new file mode 100644 index 0000000000..31e5b1c212 --- /dev/null +++ b/types/lodash/common/collection.d.ts @@ -0,0 +1,3091 @@ +import _ = require("../index"); +declare module "../index" { + // countBy + + interface LoDashStatic { + /** + * Creates an object composed of keys generated from the results of running each element of collection through + * iteratee. The corresponding value of each key is the number of times the key was returned by iteratee. The + * iteratee is bound to thisArg and invoked with three arguments: + * (value, index|key, collection). + * + * If a property name is provided for iteratee the created _.property style callback returns the property + * value of the given element. + * + * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for + * elements that have a matching property value, else false. + * + * If an object is provided for iteratee the created _.matches style callback returns true for elements that + * have the properties of the given object, else false. + * + * @param collection The collection to iterate over. + * @param iteratee The function invoked per iteration. + * @param thisArg The this binding of iteratee. + * @return Returns the composed aggregate object. + */ + countBy( + collection: string | null | undefined, + iteratee?: StringIterator + ): Dictionary; + + /** + * @see _.countBy + */ + countBy( + collection: List | null | undefined, + iteratee?: ListIteratee + ): Dictionary; + + /** + * @see _.countBy + */ + countBy( + collection: NumericDictionary | null | undefined, + iteratee?: NumericDictionaryIteratee + ): Dictionary; + + /** + * @see _.countBy + */ + countBy( + collection: T | null | undefined, + iteratee?: ObjectIteratee + ): Dictionary; + } + + interface LoDashImplicitWrapper { + /** + * @see _.countBy + */ + countBy( + this: LoDashImplicitWrapper, + iteratee?: StringIterator + ): LoDashImplicitWrapper>; + + /** + * @see _.countBy + */ + countBy( + this: LoDashImplicitWrapper | null | undefined>, + iteratee?: ListIteratee + ): LoDashImplicitWrapper>; + + /** + * @see _.countBy + */ + countBy( + this: LoDashImplicitWrapper, + iteratee?: ObjectIteratee + ): LoDashImplicitWrapper>; + + /** + * @see _.countBy + */ + countBy( + this: LoDashImplicitWrapper | null | undefined>, + iteratee?: NumericDictionaryIteratee + ): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.countBy + */ + countBy( + this: LoDashExplicitWrapper, + iteratee?: StringIterator + ): LoDashExplicitWrapper>; + + /** + * @see _.countBy + */ + countBy( + this: LoDashExplicitWrapper | null | undefined>, + iteratee?: ListIteratee + ): LoDashExplicitWrapper>; + + /** + * @see _.countBy + */ + countBy( + this: LoDashExplicitWrapper, + iteratee?: ObjectIteratee + ): LoDashExplicitWrapper>; + + /** + * @see _.countBy + */ + countBy( + this: LoDashExplicitWrapper | null | undefined>, + iteratee?: NumericDictionaryIteratee + ): LoDashExplicitWrapper>; + } + + // each + + interface LoDashStatic { + each: typeof _.forEach; // tslint:disable-line:no-unnecessary-qualifier + } + + interface LoDashWrapper { + /** + * @see _.forEach + */ + each( + this: LoDashWrapper, + iteratee?: ArrayIterator + ): this; + + /** + * @see _.forEach + */ + each( + this: LoDashWrapper, + iteratee?: StringIterator + ): this; + + /** + * @see _.forEach + */ + each( + this: LoDashWrapper | null | undefined>, + iteratee?: ListIterator + ): this; + + /** + * @see _.forEach + */ + each( + this: LoDashWrapper, + iteratee?: ObjectIterator + ): this; + } + + // eachRight + + interface LoDashStatic { + eachRight: typeof _.forEachRight; // tslint:disable-line:no-unnecessary-qualifier + } + + interface LoDashWrapper { + /** + * @see _.forEachRight + */ + eachRight( + this: LoDashWrapper, + iteratee?: ArrayIterator + ): this; + + /** + * @see _.forEachRight + */ + eachRight( + this: LoDashWrapper, + iteratee?: StringIterator + ): this; + + /** + * @see _.forEachRight + */ + eachRight( + this: LoDashWrapper | null | undefined>, + iteratee?: ListIterator + ): this; + + /** + * @see _.forEachRight + */ + eachRight( + this: LoDashWrapper, + iteratee?: ObjectIterator + ): this; + } + + // every + + interface LoDashStatic { + /** + * Checks if predicate returns truthy for all elements of collection. Iteration is stopped once predicate + * returns falsey. The predicate is invoked with three arguments: (value, index|key, collection). + * + * @param collection The collection to iterate over. + * @param predicate The function invoked per iteration. + * @return Returns true if all elements pass the predicate check, else false. + */ + every( + collection: List | null | undefined, + predicate?: ListIterateeCustom + ): boolean; + + /** + * @see _.every + */ + every( + collection: NumericDictionary | null | undefined, + predicate?: NumericDictionaryIterateeCustom + ): boolean; + + /** + * @see _.every + */ + every( + collection: T | null | undefined, + predicate?: ObjectIterateeCustom + ): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.every + */ + every( + this: LoDashImplicitWrapper | null | undefined>, + predicate?: ListIterateeCustom + ): boolean; + + /** + * @see _.every + */ + every( + this: LoDashImplicitWrapper, + predicate?: ObjectIterateeCustom + ): boolean; + + /** + * @see _.every + */ + every( + this: LoDashImplicitWrapper | null | undefined>, + predicate?: NumericDictionaryIterateeCustom + ): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.every + */ + every( + this: LoDashExplicitWrapper | null | undefined>, + predicate?: ListIterateeCustom + ): LoDashExplicitWrapper; + + /** + * @see _.every + */ + every( + this: LoDashExplicitWrapper, + predicate?: ObjectIterateeCustom + ): LoDashExplicitWrapper; + + /** + * @see _.every + */ + every( + this: LoDashExplicitWrapper | null | undefined>, + predicate?: NumericDictionaryIterateeCustom + ): LoDashExplicitWrapper; + } + + // filter + + interface LoDashStatic { + /** + * Iterates over elements of collection, returning an array of all elements predicate returns truthy for. The + * predicate is bound to thisArg and invoked with three arguments: (value, index|key, collection). + * + * If a property name is provided for predicate the created _.property style callback returns the property + * value of the given element. + * + * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for + * elements that have a matching property value, else false. + * + * If an object is provided for predicate the created _.matches style callback returns true for elements that + * have the properties of the given object, else false. + * + * @param collection The collection to iterate over. + * @param predicate The function invoked per iteration. + * @param thisArg The this binding of predicate. + * @return Returns the new filtered array. + */ + filter( + collection: string | null | undefined, + predicate?: StringIterator + ): string[]; + + /** + * @see _.filter + */ + filter( + collection: List | null | undefined, + predicate: ListIteratorTypeGuard + ): S[]; + + /** + * @see _.filter + */ + filter( + collection: List | null | undefined, + predicate?: ListIterateeCustom + ): T[]; + + /** + * @see _.filter + */ + filter( + collection: T | null | undefined, + predicate: ObjectIteratorTypeGuard + ): S[]; + + /** + * @see _.filter + */ + filter( + collection: T | null | undefined, + predicate?: ObjectIterateeCustom + ): Array; + } + + interface LoDashImplicitWrapper { + /** + * @see _.filter + */ + filter( + this: LoDashImplicitWrapper, + predicate?: StringIterator + ): LoDashImplicitWrapper; + + /** + * @see _.filter + */ + filter( + this: LoDashImplicitWrapper | null | undefined>, + predicate: ListIteratorTypeGuard + ): LoDashImplicitWrapper; + + /** + * @see _.filter + */ + filter( + this: LoDashImplicitWrapper | null | undefined>, + predicate?: ListIterateeCustom + ): LoDashImplicitWrapper; + + /** + * @see _.filter + */ + filter( + this: LoDashImplicitWrapper, + predicate: ObjectIteratorTypeGuard + ): LoDashImplicitWrapper; + + /** + * @see _.filter + */ + filter( + this: LoDashImplicitWrapper, + predicate?: ObjectIterateeCustom + ): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.filter + */ + filter( + this: LoDashExplicitWrapper, + predicate?: StringIterator + ): LoDashExplicitWrapper; + + /** + * @see _.filter + */ + filter( + this: LoDashExplicitWrapper | null | undefined>, + predicate: ListIteratorTypeGuard + ): LoDashExplicitWrapper; + + /** + * @see _.filter + */ + filter( + this: LoDashExplicitWrapper | null | undefined>, + predicate?: ListIterateeCustom + ): LoDashExplicitWrapper; + + /** + * @see _.filter + */ + filter( + this: LoDashExplicitWrapper, + predicate: ObjectIteratorTypeGuard + ): LoDashExplicitWrapper; + + /** + * @see _.filter + */ + filter( + this: LoDashExplicitWrapper, + predicate?: ObjectIterateeCustom + ): LoDashExplicitWrapper>; + } + + // find + + interface LoDashStatic { + /** + * Iterates over elements of collection, returning the first element predicate returns truthy for. + * The predicate is bound to thisArg and invoked with three arguments: (value, index|key, collection). + * + * If a property name is provided for predicate the created _.property style callback returns the property + * value of the given element. + * + * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for + * elements that have a matching property value, else false. + * + * If an object is provided for predicate the created _.matches style callback returns true for elements that + * have the properties of the given object, else false. + * + * @param collection The collection to search. + * @param predicate The function invoked per iteration. + * @param fromIndex The index to search from. + * @return Returns the matched element, else undefined. + */ + find( + collection: List | null | undefined, + predicate: ListIteratorTypeGuard, + fromIndex?: number + ): S|undefined; + + /** + * @see _.find + */ + find( + collection: List | null | undefined, + predicate?: ListIterateeCustom, + fromIndex?: number + ): T|undefined; + + /** + * @see _.find + */ + find( + collection: T | null | undefined, + predicate: ObjectIteratorTypeGuard, + fromIndex?: number + ): S|undefined; + + /** + * @see _.find + */ + find( + collection: T | null | undefined, + predicate?: ObjectIterateeCustom, + fromIndex?: number + ): T[keyof T]|undefined; + } + + interface LoDashImplicitWrapper { + /** + * @see _.find + */ + find( + this: LoDashImplicitWrapper | null | undefined>, + predicate: ListIteratorTypeGuard, + fromIndex?: number + ): S|undefined; + + /** + * @see _.find + */ + find( + this: LoDashImplicitWrapper | null | undefined>, + predicate?: ListIterateeCustom, + fromIndex?: number + ): T|undefined; + + /** + * @see _.find + */ + find( + this: LoDashImplicitWrapper, + predicate: ObjectIteratorTypeGuard, + fromIndex?: number + ): S|undefined; + + /** + * @see _.find + */ + find( + this: LoDashImplicitWrapper, + predicate?: ObjectIterateeCustom, + fromIndex?: number + ): T[keyof T]|undefined; + } + + interface LoDashExplicitWrapper { + /** + * @see _.find + */ + find( + this: LoDashExplicitWrapper | null | undefined>, + predicate: ListIteratorTypeGuard, + fromIndex?: number + ): LoDashExplicitWrapper; + + /** + * @see _.find + */ + find( + this: LoDashExplicitWrapper | null | undefined>, + predicate?: ListIterateeCustom, + fromIndex?: number + ): LoDashExplicitWrapper; + + /** + * @see _.find + */ + find( + this: LoDashExplicitWrapper, + predicate: ObjectIteratorTypeGuard, + fromIndex?: number + ): LoDashExplicitWrapper; + + /** + * @see _.find + */ + find( + this: LoDashExplicitWrapper, + predicate?: ObjectIterateeCustom, + fromIndex?: number + ): LoDashExplicitWrapper; + } + + // findLast + + interface LoDashStatic { + /** + * This method is like _.find except that it iterates over elements of a collection from + * right to left. + * @param collection Searches for a value in this list. + * @param predicate The function called per iteration. + * @param fromIndex The index to search from. + * @return The found element, else undefined. + **/ + findLast( + collection: List | null | undefined, + predicate: ListIteratorTypeGuard, + fromIndex?: number + ): S|undefined; + + /** + * @see _.findLast + */ + findLast( + collection: List | null | undefined, + predicate?: ListIterateeCustom, + fromIndex?: number + ): T|undefined; + + /** + * @see _.findLast + */ + findLast( + collection: T | null | undefined, + predicate: ObjectIteratorTypeGuard, + fromIndex?: number + ): S|undefined; + + /** + * @see _.findLast + */ + findLast( + collection: T | null | undefined, + predicate?: ObjectIterateeCustom, + fromIndex?: number + ): T[keyof T]|undefined; + } + + interface LoDashImplicitWrapper { + /** + * @see _.findLast + */ + findLast( + this: LoDashImplicitWrapper | null | undefined>, + predicate: ListIteratorTypeGuard, + fromIndex?: number + ): S | undefined; + + /** + * @see _.findLast + */ + findLast( + this: LoDashImplicitWrapper | null | undefined>, + predicate?: ListIterateeCustom, + fromIndex?: number + ): T | undefined; + + /** + * @see _.findLast + */ + findLast( + this: LoDashImplicitWrapper, + predicate: ObjectIteratorTypeGuard, + fromIndex?: number + ): S|undefined; + + /** + * @see _.findLast + */ + findLast( + this: LoDashImplicitWrapper, + predicate?: ObjectIterateeCustom, + fromIndex?: number + ): T[keyof T]|undefined; + } + + interface LoDashExplicitWrapper { + /** + * @see _.findLast + */ + findLast( + this: LoDashExplicitWrapper | null | undefined>, + predicate: ListIteratorTypeGuard, + fromIndex?: number + ): LoDashExplicitWrapper; + + /** + * @see _.findLast + */ + findLast( + this: LoDashExplicitWrapper | null | undefined>, + predicate?: ListIterateeCustom, + fromIndex?: number + ): LoDashExplicitWrapper; + + /** + * @see _.findLast + */ + findLast( + this: LoDashExplicitWrapper, + predicate: ObjectIteratorTypeGuard, + fromIndex?: number + ): LoDashExplicitWrapper; + + /** + * @see _.findLast + */ + findLast( + this: LoDashExplicitWrapper, + predicate?: ObjectIterateeCustom, + fromIndex?: number + ): LoDashExplicitWrapper; + } + + // flatMap + + interface LoDashStatic { + /** + * Creates an array of flattened values by running each element in collection through iteratee + * and concating its result to the other mapped values. The iteratee is invoked with three arguments: + * (value, index|key, collection). + * + * @param collection The collection to iterate over. + * @param iteratee The function invoked per iteration. + * @return Returns the new flattened array. + */ + flatMap( + collection: List> | Dictionary> | NumericDictionary> | null | undefined + ): T[]; + + /** + * @see _.flatMap + */ + flatMap( + collection: object | null | undefined + ): any[]; + + /** + * @see _.flatMap + */ + flatMap( + collection: List | null | undefined, + iteratee: ListIterator> + ): TResult[]; + + /** + * @see _.flatMap + */ + flatMap( + collection: NumericDictionary | null | undefined, + iteratee: NumericDictionaryIterator> + ): TResult[]; + + /** + * @see _.flatMap + */ + flatMap( + collection: T | null | undefined, + iteratee: ObjectIterator> + ): TResult[]; + + /** + * @see _.flatMap + */ + flatMap( + collection: object | null | undefined, + iteratee: string + ): any[]; + + /** + * @see _.flatMap + */ + flatMap( + collection: object | null | undefined, + iteratee: object + ): boolean[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.flatMap + */ + flatMap(this: LoDashImplicitWrapper> | Dictionary> | NumericDictionary> | null | undefined>): LoDashImplicitWrapper; + + /** + * @see _.flatMap + */ + flatMap(): LoDashImplicitWrapper; + + /** + * @see _.flatMap + */ + flatMap( + this: LoDashImplicitWrapper | null | undefined>, + iteratee: ListIterator> + ): LoDashImplicitWrapper; + + /** + * @see _.flatMap + */ + flatMap( + this: LoDashImplicitWrapper, + iteratee: ObjectIterator> + ): LoDashImplicitWrapper; + + /** + * @see _.flatMap + */ + flatMap( + this: LoDashImplicitWrapper | null | undefined>, + iteratee: NumericDictionaryIterator> + ): LoDashImplicitWrapper; + + /** + * @see _.flatMap + */ + flatMap( + iteratee: string + ): LoDashImplicitWrapper; + + /** + * @see _.flatMap + */ + flatMap( + iteratee: object + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.flatMap + */ + flatMap(this: LoDashExplicitWrapper> | Dictionary> | NumericDictionary> | null | undefined>): LoDashExplicitWrapper; + + /** + * @see _.flatMap + */ + flatMap(): LoDashExplicitWrapper; + + /** + * @see _.flatMap + */ + flatMap( + this: LoDashExplicitWrapper | null | undefined>, + iteratee: ListIterator> + ): LoDashExplicitWrapper; + + /** + * @see _.flatMap + */ + flatMap( + this: LoDashExplicitWrapper | null | undefined>, + iteratee: NumericDictionaryIterator> + ): LoDashExplicitWrapper; + + /** + * @see _.flatMap + */ + flatMap( + this: LoDashExplicitWrapper, + iteratee: ObjectIterator> + ): LoDashExplicitWrapper; + + /** + * @see _.flatMap + */ + flatMap( + iteratee: string + ): LoDashExplicitWrapper; + + /** + * @see _.flatMap + */ + flatMap( + iteratee: object + ): LoDashExplicitWrapper; + } + + // flatMapDeep + + interface LoDashStatic { + /** + * This method is like `_.flatMap` except that it recursively flattens the + * mapped results. + * + * @since 4.7.0 + * @category Collection + * @param collection The collection to iterate over. + * @param [iteratee=_.identity] The function invoked per iteration. + * @returns Returns the new flattened array. + * @example + * + * function duplicate(n) { + * return [[[n, n]]]; + * } + * + * _.flatMapDeep([1, 2], duplicate); + * // => [1, 1, 2, 2] + */ + flatMapDeep( + collection: List | T> | Dictionary | T> | NumericDictionary | T> | null | undefined + ): T[]; + + /** + * @see _.flatMapDeep + */ + flatMapDeep( + collection: List | null | undefined, + iteratee: ListIterator | TResult> + ): TResult[]; + + /** + * @see _.flatMapDeep + */ + flatMapDeep( + collection: NumericDictionary | null | undefined, + iteratee: NumericDictionaryIterator | TResult> + ): TResult[]; + + /** + * @see _.flatMapDeep + */ + flatMapDeep( + collection: T | null | undefined, + iteratee: ObjectIterator | TResult> + ): TResult[]; + + /** + * @see _.flatMapDeep + */ + flatMapDeep( + collection: object | null | undefined, + iteratee: string + ): any[]; + + /** + * @see _.flatMapDeep + */ + flatMapDeep( + collection: object | null | undefined, + iteratee: object + ): boolean[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.flatMapDeep + */ + flatMapDeep( + this: LoDashImplicitWrapper | T> | Dictionary | T> | NumericDictionary | T> | null | undefined> + ): LoDashImplicitWrapper; + + /** + * @see _.flatMapDeep + */ + flatMapDeep( + this: LoDashImplicitWrapper | null | undefined>, + iteratee: ListIterator | TResult> + ): LoDashImplicitWrapper; + + /** + * @see _.flatMapDeep + */ + flatMapDeep( + this: LoDashImplicitWrapper | null | undefined>, + iteratee: NumericDictionaryIterator | TResult> + ): LoDashImplicitWrapper; + + /** + * @see _.flatMapDeep + */ + flatMapDeep( + this: LoDashImplicitWrapper, + iteratee: ObjectIterator | TResult> + ): LoDashImplicitWrapper; + + /** + * @see _.flatMapDeep + */ + flatMapDeep( + this: LoDashImplicitWrapper, + iteratee: string + ): LoDashImplicitWrapper; + + /** + * @see _.flatMapDeep + */ + flatMapDeep( + this: LoDashImplicitWrapper, + iteratee: object + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.flatMapDeep + */ + flatMapDeep( + this: LoDashExplicitWrapper | T> | Dictionary | T> | NumericDictionary | T> | null | undefined> + ): LoDashExplicitWrapper; + + /** + * @see _.flatMapDeep + */ + flatMapDeep( + this: LoDashExplicitWrapper | null | undefined>, + iteratee: ListIterator | TResult> + ): LoDashExplicitWrapper; + + /** + * @see _.flatMapDeep + */ + flatMapDeep( + this: LoDashExplicitWrapper | null | undefined>, + iteratee: NumericDictionaryIterator | TResult> + ): LoDashExplicitWrapper; + + /** + * @see _.flatMapDeep + */ + flatMapDeep( + this: LoDashExplicitWrapper, + iteratee: ObjectIterator | TResult> + ): LoDashExplicitWrapper; + + /** + * @see _.flatMapDeep + */ + flatMapDeep( + this: LoDashExplicitWrapper, + iteratee: string + ): LoDashExplicitWrapper; + + /** + * @see _.flatMapDeep + */ + flatMapDeep( + this: LoDashExplicitWrapper, + iteratee: object + ): LoDashExplicitWrapper; + } + + // flatMapDepth + + interface LoDashStatic { + /** + * This method is like `_.flatMap` except that it recursively flattens the + * mapped results up to `depth` times. + * + * @since 4.7.0 + * @category Collection + * @param collection The collection to iterate over. + * @param [iteratee=_.identity] The function invoked per iteration. + * @param [depth=1] The maximum recursion depth. + * @returns Returns the new flattened array. + * @example + * + * function duplicate(n) { + * return [[[n, n]]]; + * } + * + * _.flatMapDepth([1, 2], duplicate, 2); + * // => [[1, 1], [2, 2]] + */ + flatMapDepth( + collection: List | T> | Dictionary | T> | NumericDictionary | T> | null | undefined + ): T[]; + + /** + * @see _.flatMapDepth + */ + flatMapDepth( + collection: List | null | undefined, + iteratee: ListIterator | TResult>, + depth?: number + ): TResult[]; + + /** + * @see _.flatMapDepth + */ + flatMapDepth( + collection: NumericDictionary | null | undefined, + iteratee: NumericDictionaryIterator | TResult>, + depth?: number + ): TResult[]; + + /** + * @see _.flatMapDepth + */ + flatMapDepth( + collection: T | null | undefined, + iteratee: ObjectIterator | TResult>, + depth?: number + ): TResult[]; + + /** + * @see _.flatMapDepth + */ + flatMapDepth( + collection: object | null | undefined, + iteratee: string, + depth?: number + ): any[]; + + /** + * @see _.flatMapDepth + */ + flatMapDepth( + collection: object | null | undefined, + iteratee: object, + depth?: number + ): boolean[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.flatMapDepth + */ + flatMapDepth( + this: LoDashImplicitWrapper | T> | Dictionary | T> | NumericDictionary | T> | null | undefined> + ): LoDashImplicitWrapper; + + /** + * @see _.flatMapDepth + */ + flatMapDepth( + this: LoDashImplicitWrapper | null | undefined>, + iteratee: ListIterator | TResult>, + depth?: number + ): LoDashImplicitWrapper; + + /** + * @see _.flatMapDepth + */ + flatMapDepth( + this: LoDashImplicitWrapper | null | undefined>, + iteratee: NumericDictionaryIterator | TResult>, + depth?: number + ): LoDashImplicitWrapper; + + /** + * @see _.flatMapDepth + */ + flatMapDepth( + this: LoDashImplicitWrapper, + iteratee: ObjectIterator | TResult>, + depth?: number + ): LoDashImplicitWrapper; + + /** + * @see _.flatMapDepth + */ + flatMapDepth( + this: LoDashImplicitWrapper, + iteratee: string, + depth?: number + ): LoDashImplicitWrapper; + + /** + * @see _.flatMapDepth + */ + flatMapDepth( + this: LoDashImplicitWrapper, + iteratee: object, + depth?: number + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.flatMapDepth + */ + flatMapDepth( + this: LoDashExplicitWrapper | T> | Dictionary | T> | NumericDictionary | T> | null | undefined> + ): LoDashExplicitWrapper; + + /** + * @see _.flatMapDepth + */ + flatMapDepth( + this: LoDashExplicitWrapper | null | undefined>, + iteratee: ListIterator | TResult>, + depth?: number + ): LoDashExplicitWrapper; + + /** + * @see _.flatMapDepth + */ + flatMapDepth( + this: LoDashExplicitWrapper | null | undefined>, + iteratee: NumericDictionaryIterator | TResult>, + depth?: number + ): LoDashExplicitWrapper; + + /** + * @see _.flatMapDepth + */ + flatMapDepth( + this: LoDashExplicitWrapper, + iteratee: ObjectIterator | TResult>, + depth?: number + ): LoDashExplicitWrapper; + + /** + * @see _.flatMapDepth + */ + flatMapDepth( + this: LoDashExplicitWrapper, + iteratee: string, + depth?: number + ): LoDashExplicitWrapper; + + /** + * @see _.flatMapDepth + */ + flatMapDepth( + this: LoDashExplicitWrapper, + iteratee: object, + depth?: number + ): LoDashExplicitWrapper; + } + + // forEach + + interface LoDashStatic { + /** + * Iterates over elements of collection invoking iteratee for each element. The iteratee is bound to thisArg + * and invoked with three arguments: + * (value, index|key, collection). Iteratee functions may exit iteration early by explicitly returning false. + * + * Note: As with other "Collections" methods, objects with a "length" property are iterated like arrays. To + * avoid this behavior _.forIn or _.forOwn may be used for object iteration. + * + * @alias _.each + * + * @param collection The collection to iterate over. + * @param iteratee The function invoked per iteration. + * @param thisArg The this binding of iteratee. + */ + forEach( + collection: T[], + iteratee?: ArrayIterator + ): T[]; + + /** + * @see _.forEach + */ + forEach( + collection: string, + iteratee?: StringIterator + ): string; + + /** + * @see _.forEach + */ + forEach( + collection: List, + iteratee?: ListIterator + ): List; + + /** + * @see _.forEach + */ + forEach( + collection: T, + iteratee?: ObjectIterator + ): T; + + /** + * @see _.forEach + */ + forEach( + collection: TArray & (T[] | null | undefined), + iteratee?: ArrayIterator + ): TArray; + + /** + * @see _.forEach + */ + forEach( + collection: TString, + iteratee?: StringIterator + ): TString; + + /** + * @see _.forEach + */ + forEach | null | undefined>( + collection: TList & (List | null | undefined), + iteratee?: ListIterator + ): TList; + + /** + * @see _.forEach + */ + forEach( + collection: T | null | undefined, + iteratee?: ObjectIterator + ): T | null | undefined; + } + + interface LoDashWrapper { + /** + * @see _.forEach + */ + forEach( + this: LoDashWrapper, + iteratee?: ArrayIterator + ): this; + + /** + * @see _.forEach + */ + forEach( + this: LoDashWrapper, + iteratee?: StringIterator + ): this; + + /** + * @see _.forEach + */ + forEach( + this: LoDashWrapper | null | undefined>, + iteratee?: ListIterator + ): this; + + /** + * @see _.forEach + */ + forEach( + this: LoDashWrapper, + iteratee?: ObjectIterator + ): this; + } + + // forEachRight + + interface LoDashStatic { + /** + * This method is like _.forEach except that it iterates over elements of collection from right to left. + * + * @alias _.eachRight + * + * @param collection The collection to iterate over. + * @param iteratee The function called per iteration. + * @param thisArg The this binding of callback. + */ + forEachRight( + collection: T[], + iteratee?: ArrayIterator + ): T[]; + + /** + * @see _.forEachRight + */ + forEachRight( + collection: string, + iteratee?: StringIterator + ): string; + + /** + * @see _.forEachRight + */ + forEachRight( + collection: List, + iteratee?: ListIterator + ): List; + + /** + * @see _.forEachRight + */ + forEachRight( + collection: T, + iteratee?: ObjectIterator + ): T; + + /** + * @see _.forEachRight + */ + forEachRight( + collection: TArray & (T[] | null | undefined), + iteratee?: ArrayIterator + ): TArray; + + /** + * @see _.forEachRight + */ + forEachRight( + collection: TString, + iteratee?: StringIterator + ): TString; + + /** + * @see _.forEachRight + */ + forEachRight | null | undefined>( + collection: TList & (List | null | undefined), + iteratee?: ListIterator + ): TList; + + /** + * @see _.forEachRight + */ + forEachRight( + collection: T | null | undefined, + iteratee?: ObjectIterator + ): T | null | undefined; + } + + interface LoDashWrapper { + /** + * @see _.forEachRight + */ + forEachRight( + this: LoDashWrapper, + iteratee?: ArrayIterator + ): this; + + /** + * @see _.forEachRight + */ + forEachRight( + this: LoDashWrapper, + iteratee?: StringIterator + ): this; + + /** + * @see _.forEachRight + */ + forEachRight( + this: LoDashWrapper | null | undefined>, + iteratee?: ListIterator + ): this; + + /** + * @see _.forEachRight + */ + forEachRight( + this: LoDashWrapper, + iteratee?: ObjectIterator + ): this; + } + + // groupBy + + interface LoDashStatic { + /** + * Creates an object composed of keys generated from the results of running each element of collection through + * iteratee. The corresponding value of each key is an array of the elements responsible for generating the + * key. The iteratee is bound to thisArg and invoked with three arguments: + * (value, index|key, collection). + * + * If a property name is provided for iteratee the created _.property style callback returns the property + * value of the given element. + * + * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for + * elements that have a matching property value, else false. + * + * If an object is provided for iteratee the created _.matches style callback returns true for elements that + * have the properties of the given object, else false. + * + * @param collection The collection to iterate over. + * @param iteratee The function invoked per iteration. + * @param thisArg The this binding of iteratee. + * @return Returns the composed aggregate object. + */ + groupBy( + collection: string | null | undefined, + iteratee?: StringIterator + ): Dictionary; + + /** + * @see _.groupBy + */ + groupBy( + collection: List | null | undefined, + iteratee?: ListIteratee + ): Dictionary; + + /** + * @see _.groupBy + */ + groupBy( + collection: NumericDictionary | null | undefined, + iteratee?: NumericDictionaryIteratee + ): Dictionary; + + /** + * @see _.groupBy + */ + groupBy( + collection: T | null | undefined, + iteratee?: ObjectIteratee + ): Dictionary>; + } + + interface LoDashImplicitWrapper { + /** + * @see _.groupBy + */ + groupBy( + this: LoDashImplicitWrapper, + iteratee?: StringIterator + ): LoDashImplicitWrapper>; + + /** + * @see _.groupBy + */ + groupBy( + this: LoDashImplicitWrapper | null | undefined>, + iteratee?: ListIteratee + ): LoDashImplicitWrapper>; + + /** + * @see _.groupBy + */ + groupBy( + this: LoDashImplicitWrapper, + iteratee?: ObjectIteratee + ): LoDashImplicitWrapper>>; + + /** + * @see _.groupBy + */ + groupBy( + this: LoDashImplicitWrapper | null | undefined>, + iteratee?: NumericDictionaryIteratee + ): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.groupBy + */ + groupBy( + this: LoDashExplicitWrapper, + iteratee?: StringIterator + ): LoDashExplicitWrapper>; + + /** + * @see _.groupBy + */ + groupBy( + this: LoDashExplicitWrapper | null | undefined>, + iteratee?: ListIteratee + ): LoDashExplicitWrapper>; + + /** + * @see _.groupBy + */ + groupBy( + this: LoDashExplicitWrapper | null | undefined>, + iteratee?: NumericDictionaryIteratee + ): LoDashExplicitWrapper>; + + /** + * @see _.groupBy + */ + groupBy( + this: LoDashExplicitWrapper, + iteratee?: ObjectIteratee + ): LoDashExplicitWrapper>>; + } + + // includes + + interface LoDashStatic { + /** + * Checks if target is in collection using SameValueZero for equality comparisons. If fromIndex is negative, + * it’s used as the offset from the end of collection. + * + * @param collection The collection to search. + * @param target The value to search for. + * @param fromIndex The index to search from. + * @return True if the target element is found, else false. + */ + includes( + collection: List|Dictionary | null | undefined, + target: T, + fromIndex?: number + ): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.includes + */ + includes( + this: LoDashImplicitWrapper | Dictionary | null | undefined>, + target: T, + fromIndex?: number + ): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.includes + */ + includes( + this: LoDashExplicitWrapper | Dictionary | null | undefined>, + target: T, + fromIndex?: number + ): LoDashExplicitWrapper; + } + + // invokeMap + + interface LoDashStatic { + /** + * Invokes the method named by methodName on each element in the collection returning + * an array of the results of each invoked method. Additional arguments will be provided + * to each invoked method. If methodName is a function it will be invoked for, and this + * bound to, each element in the collection. + * @param collection The collection to iterate over. + * @param methodName The name of the method to invoke. + * @param args Arguments to invoke the method with. + **/ + invokeMap( + collection: object | null | undefined, + methodName: string, + ...args: any[]): any[]; + + /** + * @see _.invokeMap + **/ + invokeMap( + collection: object | null | undefined, + method: (...args: any[]) => TResult, + ...args: any[]): TResult[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.invokeMap + **/ + invokeMap( + methodName: string, + ...args: any[]): LoDashImplicitWrapper; + + /** + * @see _.invokeMap + **/ + invokeMap( + method: (...args: any[]) => TResult, + ...args: any[]): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.invokeMap + **/ + invokeMap( + methodName: string, + ...args: any[]): LoDashExplicitWrapper; + + /** + * @see _.invokeMap + **/ + invokeMap( + method: (...args: any[]) => TResult, + ...args: any[]): LoDashExplicitWrapper; + } + + // keyBy + + interface LoDashStatic { + /** + * Creates an object composed of keys generated from the results of running each element of collection through + * iteratee. The corresponding value of each key is the last element responsible for generating the key. The + * iteratee function is bound to thisArg and invoked with three arguments: + * (value, index|key, collection). + * + * If a property name is provided for iteratee the created _.property style callback returns the property + * value of the given element. + * + * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for + * elements that have a matching property value, else false. + * + * If an object is provided for iteratee the created _.matches style callback returns true for elements that + * have the properties of the given object, else false. + * + * @param collection The collection to iterate over. + * @param iteratee The function invoked per iteration. + * @param thisArg The this binding of iteratee. + * @return Returns the composed aggregate object. + */ + keyBy( + collection: string | null | undefined, + iteratee?: StringIterator + ): Dictionary; + + /** + * @see _.keyBy + */ + keyBy( + collection: List | null | undefined, + iteratee?: ListIterateeCustom + ): Dictionary; + + /** + * @see _.keyBy + */ + keyBy( + collection: T | null | undefined, + iteratee?: ObjectIterateeCustom + ): Dictionary; + + /** + * @see _.keyBy + */ + keyBy( + collection: NumericDictionary | null | undefined, + iteratee?: NumericDictionaryIterateeCustom + ): Dictionary; + } + + interface LoDashImplicitWrapper { + /** + * @see _.keyBy + */ + keyBy( + this: LoDashImplicitWrapper, + iteratee?: StringIterator + ): LoDashImplicitWrapper>; + + /** + * @see _.keyBy + */ + keyBy( + this: LoDashImplicitWrapper | null | undefined>, + iteratee?: ListIterateeCustom + ): LoDashImplicitWrapper>; + + /** + * @see _.keyBy + */ + keyBy( + this: LoDashImplicitWrapper, + iteratee?: ObjectIterateeCustom + ): LoDashImplicitWrapper>; + + /** + * @see _.keyBy + */ + keyBy( + this: LoDashImplicitWrapper | null | undefined>, + iteratee?: NumericDictionaryIterateeCustom + ): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.keyBy + */ + keyBy( + this: LoDashExplicitWrapper, + iteratee?: StringIterator + ): LoDashExplicitWrapper>; + + /** + * @see _.keyBy + */ + keyBy( + this: LoDashExplicitWrapper | null | undefined>, + iteratee?: ListIterateeCustom + ): LoDashExplicitWrapper>; + + /** + * @see _.keyBy + */ + keyBy( + this: LoDashExplicitWrapper, + iteratee?: ObjectIterateeCustom + ): LoDashExplicitWrapper>; + + /** + * @see _.keyBy + */ + keyBy( + this: LoDashExplicitWrapper | null | undefined>, + iteratee?: NumericDictionaryIterateeCustom + ): LoDashExplicitWrapper>; + } + + // map + + interface LoDashStatic { + /** + * Creates an array of values by running each element in collection through iteratee. The iteratee is bound to + * thisArg and invoked with three arguments: (value, index|key, collection). + * + * If a property name is provided for iteratee the created _.property style callback returns the property value + * of the given element. + * + * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for + * elements that have a matching property value, else false. + * + * If an object is provided for iteratee the created _.matches style callback returns true for elements that + * have the properties of the given object, else false. + * + * Many lodash methods are guarded to work as iteratees for methods like _.every, _.filter, _.map, _.mapValues, + * _.reject, and _.some. + * + * The guarded methods are: + * ary, callback, chunk, clone, create, curry, curryRight, drop, dropRight, every, fill, flatten, invert, max, + * min, parseInt, slice, sortBy, take, takeRight, template, trim, trimLeft, trimRight, trunc, random, range, + * sample, some, sum, uniq, and words + * + * @param collection The collection to iterate over. + * @param iteratee The function invoked per iteration. + * @param thisArg The this binding of iteratee. + * @return Returns the new mapped array. + */ + map( + collection: List | null | undefined, + iteratee: ListIterator + ): TResult[]; + + /** + * @see _.map + */ + map(collection: List | Dictionary | null | undefined): T[]; + + /** + * @see _.map + */ + map( + collection: Dictionary | null | undefined, + iteratee: DictionaryIterator + ): TResult[]; + + /** @see _.map */ + map( + collection: List | Dictionary | null | undefined, + iteratee: K + ): Array; + + /** @see _.map */ + map( + collection: NumericDictionary | null | undefined, + iteratee?: NumericDictionaryIterator + ): TResult[]; + + /** + * @see _.map + */ + map( + collection: List|Dictionary|NumericDictionary | null | undefined, + iteratee?: string + ): TResult[]; + + /** + * @see _.map + */ + map( + collection: List|Dictionary|NumericDictionary | null | undefined, + iteratee?: object + ): boolean[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.map + */ + map( + this: LoDashImplicitWrapper | null | undefined>, + iteratee: ListIterator + ): LoDashImplicitWrapper; + + /** + * @see _.map + */ + map(this: LoDashImplicitWrapper | Dictionary | null | undefined>): LoDashImplicitWrapper; + + /** + * @see _.map + */ + map( + this: LoDashImplicitWrapper | null | undefined>, + iteratee: DictionaryIterator + ): LoDashImplicitWrapper; + + /** @see _.map */ + map( + this: LoDashImplicitWrapper | Dictionary | null | undefined>, + iteratee: K + ): LoDashImplicitWrapper>; + + /** @see _.map */ + map( + this: LoDashImplicitWrapper | null | undefined>, + iteratee?: NumericDictionaryIterator + ): LoDashImplicitWrapper; + + /** + * @see _.map + */ + map( + this: LoDashImplicitWrapper | Dictionary | NumericDictionary | null | undefined>, + iteratee?: string + ): LoDashImplicitWrapper; + + /** + * @see _.map + */ + map( + this: LoDashImplicitWrapper | Dictionary | NumericDictionary | null | undefined>, + iteratee?: object + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.map + */ + map( + this: LoDashExplicitWrapper | null | undefined>, + iteratee: ListIterator + ): LoDashExplicitWrapper; + + /** + * @see _.map + */ + map(this: LoDashExplicitWrapper | Dictionary | null | undefined>): LoDashExplicitWrapper; + + /** + * @see _.map + */ + map( + this: LoDashExplicitWrapper | null | undefined>, + iteratee: DictionaryIterator + ): LoDashExplicitWrapper; + + /** @see _.map */ + map( + this: LoDashExplicitWrapper | Dictionary | null | undefined>, + iteratee: K + ): LoDashExplicitWrapper>; + + /** + * @see _.map + */ + map( + this: LoDashExplicitWrapper | null | undefined>, + iteratee?: NumericDictionaryIterator + ): LoDashExplicitWrapper; + + /** + * @see _.map + */ + map( + this: LoDashExplicitWrapper | Dictionary | NumericDictionary | null | undefined>, + iteratee?: string + ): LoDashExplicitWrapper; + + /** + * @see _.map + */ + map( + this: LoDashExplicitWrapper | Dictionary | NumericDictionary | null | undefined>, + iteratee?: object + ): LoDashExplicitWrapper; + } + + // orderBy + + interface LoDashStatic { + /** + * This method is like `_.sortBy` except that it allows specifying the sort + * orders of the iteratees to sort by. If `orders` is unspecified, all values + * are sorted in ascending order. Otherwise, specify an order of "desc" for + * descending or "asc" for ascending sort order of corresponding values. + * + * @category Collection + * @param collection The collection to iterate over. + * @param [iteratees=[_.identity]] The iteratees to sort by. + * @param [orders] The sort orders of `iteratees`. + * @param- {Object} [guard] Enables use as an iteratee for functions like `_.reduce`. + * @returns Returns the new sorted array. + * @example + * + * var users = [ + * { 'user': 'fred', 'age': 48 }, + * { 'user': 'barney', 'age': 34 }, + * { 'user': 'fred', 'age': 42 }, + * { 'user': 'barney', 'age': 36 } + * ]; + * + * // sort by `user` in ascending order and by `age` in descending order + * _.orderBy(users, ['user', 'age'], ['asc', 'desc']); + * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]] + */ + orderBy( + collection: List | null | undefined, + iteratees?: Many>, + orders?: Many + ): T[]; + + /** + * @see _.orderBy + */ + orderBy( + collection: List | null | undefined, + iteratees?: Many>, + orders?: Many + ): T[]; + + /** + * @see _.orderBy + */ + orderBy( + collection: T | null | undefined, + iteratees?: Many>, + orders?: Many + ): Array; + + /** + * @see _.orderBy + */ + orderBy( + collection: T | null | undefined, + iteratees?: Many>, + orders?: Many + ): Array; + + /** + * @see _.orderBy + */ + orderBy( + collection: NumericDictionary | null | undefined, + iteratees?: Many>, + orders?: Many + ): T[]; + + /** + * @see _.orderBy + */ + orderBy( + collection: NumericDictionary | null | undefined, + iteratees?: Many>, + orders?: Many + ): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.orderBy + */ + orderBy( + this: LoDashImplicitWrapper | null | undefined>, + iteratees?: Many>, + orders?: Many + ): LoDashImplicitWrapper; + + /** + * @see _.orderBy + */ + orderBy( + this: LoDashImplicitWrapper | null | undefined>, + iteratees?: Many>, + orders?: Many + ): LoDashImplicitWrapper; + + /** + * @see _.orderBy + */ + orderBy( + this: LoDashImplicitWrapper, + iteratees?: Many>, + orders?: Many + ): LoDashImplicitWrapper>; + + /** + * @see _.orderBy + */ + orderBy( + this: LoDashImplicitWrapper, + iteratees?: Many>, + orders?: Many + ): LoDashImplicitWrapper>; + + /** + * @see _.orderBy + */ + orderBy( + this: LoDashImplicitWrapper | null | undefined>, + iteratees?: Many>, + orders?: Many + ): LoDashImplicitWrapper; + + /** + * @see _.orderBy + */ + orderBy( + this: LoDashImplicitWrapper | null | undefined>, + iteratees?: Many>, + orders?: Many + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.orderBy + */ + orderBy( + this: LoDashExplicitWrapper | null | undefined>, + iteratees?: Many>, + orders?: Many + ): LoDashExplicitWrapper; + + /** + * @see _.orderBy + */ + orderBy( + this: LoDashExplicitWrapper | null | undefined>, + iteratees?: Many>, + orders?: Many + ): LoDashExplicitWrapper; + + /** + * @see _.orderBy + */ + orderBy( + this: LoDashExplicitWrapper, + iteratees?: Many>, + orders?: Many + ): LoDashExplicitWrapper>; + + /** + * @see _.orderBy + */ + orderBy( + this: LoDashExplicitWrapper, + iteratees?: Many>, + orders?: Many + ): LoDashExplicitWrapper>; + + /** + * @see _.orderBy + */ + orderBy( + this: LoDashExplicitWrapper | null | undefined>, + iteratees?: Many>, + orders?: Many + ): LoDashExplicitWrapper; + + /** + * @see _.orderBy + */ + orderBy( + this: LoDashExplicitWrapper | null | undefined>, + iteratees?: Many>, + orders?: Many + ): LoDashExplicitWrapper; + } + + // partition + + interface LoDashStatic { + /** + * Creates an array of elements split into two groups, the first of which contains elements predicate returns truthy for, + * while the second of which contains elements predicate returns falsey for. + * The predicate is bound to thisArg and invoked with three arguments: (value, index|key, collection). + * + * If a property name is provided for predicate the created _.property style callback + * returns the property value of the given element. + * + * If a value is also provided for thisArg the created _.matchesProperty style callback + * returns true for elements that have a matching property value, else false. + * + * If an object is provided for predicate the created _.matches style callback returns + * true for elements that have the properties of the given object, else false. + * + * @param collection The collection to iterate over. + * @param callback The function called per iteration. + * @param thisArg The this binding of predicate. + * @return Returns the array of grouped elements. + **/ + partition( + collection: List | null | undefined, + callback: ValueIteratee + ): [T[], T[]]; + + /** + * @see _.partition + */ + partition( + collection: T | null | undefined, + callback: ValueIteratee + ): [Array, Array]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.partition + */ + partition( + this: LoDashImplicitWrapper | null | undefined>, + callback: ValueIteratee + ): LoDashImplicitWrapper<[T[], T[]]>; + + /** + * @see _.partition + */ + partition( + this: LoDashImplicitWrapper, + callback: ValueIteratee + ): LoDashImplicitWrapper<[Array, Array]>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.partition + */ + partition( + this: LoDashExplicitWrapper | null | undefined>, + callback: ValueIteratee + ): LoDashExplicitWrapper<[T[], T[]]>; + + /** + * @see _.partition + */ + partition( + this: LoDashExplicitWrapper, + callback: ValueIteratee + ): LoDashExplicitWrapper<[Array, Array]>; + } + + // reduce + + interface LoDashStatic { + /** + * Reduces a collection to a value which is the accumulated result of running each + * element in the collection through the callback, where each successive callback execution + * consumes the return value of the previous execution. If accumulator is not provided the + * first element of the collection will be used as the initial accumulator value. The callback + * is bound to thisArg and invoked with four arguments; (accumulator, value, index|key, collection). + * @param collection The collection to iterate over. + * @param callback The function called per iteration. + * @param accumulator Initial value of the accumulator. + * @return Returns the accumulated value. + **/ + reduce( + collection: T[] | null | undefined, + callback: MemoListIterator, + accumulator: TResult + ): TResult; + + /** + * @see _.reduce + **/ + reduce( + collection: List | null | undefined, + callback: MemoListIterator>, + accumulator: TResult + ): TResult; + + /** + * @see _.reduce + **/ + reduce( + collection: T | null | undefined, + callback: MemoObjectIterator, + accumulator: TResult + ): TResult; + + /** + * @see _.reduce + **/ + reduce( + collection: NumericDictionary | null | undefined, + callback: MemoListIterator>, + accumulator: TResult + ): TResult; + + /** + * @see _.reduce + **/ + reduce( + collection: T[] | null | undefined, + callback: MemoListIterator + ): TResult | undefined; + + /** + * @see _.reduce + **/ + reduce( + collection: List | null | undefined, + callback: MemoListIterator> + ): TResult | undefined; + + /** + * @see _.reduce + **/ + reduce( + collection: T | null | undefined, + callback: MemoObjectIterator + ): TResult | undefined; + + /** + * @see _.reduce + **/ + reduce( + collection: NumericDictionary | null | undefined, + callback: MemoListIterator> + ): TResult | undefined; + } + + interface LoDashImplicitWrapper { + /** + * @see _.reduce + **/ + reduce( + this: LoDashImplicitWrapper, + callback: MemoListIterator, + accumulator: TResult + ): TResult; + + /** + * @see _.reduce + **/ + reduce( + this: LoDashImplicitWrapper | null | undefined>, + callback: MemoListIterator>, + accumulator: TResult + ): TResult; + + /** + * @see _.reduce + **/ + reduce( + this: LoDashImplicitWrapper, + callback: MemoObjectIterator, + accumulator: TResult + ): TResult; + + /** + * @see _.reduce + **/ + reduce( + this: LoDashImplicitWrapper | null | undefined>, + callback: MemoListIterator>, + accumulator: TResult + ): TResult; + + /** + * @see _.reduce + **/ + reduce( + this: LoDashImplicitWrapper, + callback: MemoListIterator + ): TResult | undefined; + + /** + * @see _.reduce + **/ + reduce( + this: LoDashImplicitWrapper | null | undefined>, + callback: MemoListIterator> + ): TResult | undefined; + + /** + * @see _.reduce + **/ + reduce( + this: LoDashImplicitWrapper, + callback: MemoObjectIterator + ): TResult | undefined; + + /** + * @see _.reduce + **/ + reduce( + this: LoDashImplicitWrapper | null | undefined>, + callback: MemoListIterator> + ): TResult | undefined; + } + + interface LoDashExplicitWrapper { + /** + * @see _.reduce + **/ + reduce( + this: LoDashExplicitWrapper, + callback: MemoListIterator, + accumulator: TResult + ): LoDashExplicitWrapper; + + /** + * @see _.reduce + **/ + reduce( + this: LoDashExplicitWrapper | null | undefined>, + callback: MemoListIterator>, + accumulator: TResult + ): LoDashExplicitWrapper; + + /** + * @see _.reduce + **/ + reduce( + this: LoDashExplicitWrapper, + callback: MemoObjectIterator, + accumulator: TResult + ): LoDashExplicitWrapper; + + /** + * @see _.reduce + **/ + reduce( + this: LoDashExplicitWrapper | null | undefined>, + callback: MemoListIterator>, + accumulator: TResult + ): LoDashExplicitWrapper; + + /** + * @see _.reduce + **/ + reduce( + this: LoDashExplicitWrapper, + callback: MemoListIterator + ): LoDashExplicitWrapper; + + /** + * @see _.reduce + **/ + reduce( + this: LoDashExplicitWrapper | null | undefined>, + callback: MemoListIterator> + ): LoDashExplicitWrapper; + + /** + * @see _.reduce + **/ + reduce( + this: LoDashExplicitWrapper, + callback: MemoObjectIterator + ): LoDashExplicitWrapper; + + /** + * @see _.reduce + **/ + reduce( + this: LoDashExplicitWrapper | null | undefined>, + callback: MemoListIterator> + ): LoDashExplicitWrapper; + } + + // reduceRight + + interface LoDashStatic { + /** + * This method is like _.reduce except that it iterates over elements of a collection from + * right to left. + * @param collection The collection to iterate over. + * @param callback The function called per iteration. + * @param accumulator Initial value of the accumulator. + * @return The accumulated value. + **/ + reduceRight( + collection: T[] | null | undefined, + callback: MemoListIterator, + accumulator: TResult + ): TResult; + + /** + * @see _.reduceRight + **/ + reduceRight( + collection: List | null | undefined, + callback: MemoListIterator>, + accumulator: TResult + ): TResult; + + /** + * @see _.reduceRight + **/ + reduceRight( + collection: T | null | undefined, + callback: MemoObjectIterator, + accumulator: TResult + ): TResult; + + /** + * @see _.reduceRight + **/ + reduceRight( + collection: NumericDictionary | null | undefined, + callback: MemoListIterator>, + accumulator: TResult + ): TResult; + + /** + * @see _.reduceRight + **/ + reduceRight( + collection: T[] | null | undefined, + callback: MemoListIterator + ): TResult | undefined; + + /** + * @see _.reduceRight + **/ + reduceRight( + collection: List | null | undefined, + callback: MemoListIterator> + ): TResult | undefined; + + /** + * @see _.reduceRight + **/ + reduceRight( + collection: T | null | undefined, + callback: MemoObjectIterator + ): TResult | undefined; + + /** + * @see _.reduceRight + **/ + reduceRight( + collection: NumericDictionary | null | undefined, + callback: MemoListIterator> + ): TResult | undefined; + } + + interface LoDashImplicitWrapper { + /** + * @see _.reduceRight + **/ + reduceRight( + this: LoDashImplicitWrapper, + callback: MemoListIterator, + accumulator: TResult + ): TResult; + + /** + * @see _.reduceRight + **/ + reduceRight( + this: LoDashImplicitWrapper | null | undefined>, + callback: MemoListIterator>, + accumulator: TResult + ): TResult; + + /** + * @see _.reduceRight + **/ + reduceRight( + this: LoDashImplicitWrapper, + callback: MemoObjectIterator, + accumulator: TResult + ): TResult; + + /** + * @see _.reduceRight + **/ + reduceRight( + this: LoDashImplicitWrapper | null | undefined>, + callback: MemoListIterator>, + accumulator: TResult + ): TResult; + + /** + * @see _.reduceRight + **/ + reduceRight( + this: LoDashImplicitWrapper, + callback: MemoListIterator + ): TResult | undefined; + + /** + * @see _.reduceRight + **/ + reduceRight( + this: LoDashImplicitWrapper | null | undefined>, + callback: MemoListIterator> + ): TResult | undefined; + + /** + * @see _.reduceRight + **/ + reduceRight( + this: LoDashImplicitWrapper, + callback: MemoObjectIterator + ): TResult | undefined; + + /** + * @see _.reduceRight + **/ + reduceRight( + this: LoDashImplicitWrapper | null | undefined>, + callback: MemoListIterator> + ): TResult | undefined; + } + + interface LoDashExplicitWrapper { + /** + * @see _.reduceRight + **/ + reduceRight( + this: LoDashExplicitWrapper, + callback: MemoListIterator, + accumulator: TResult + ): LoDashExplicitWrapper; + + /** + * @see _.reduceRight + **/ + reduceRight( + this: LoDashExplicitWrapper | null | undefined>, + callback: MemoListIterator>, + accumulator: TResult + ): LoDashExplicitWrapper; + + /** + * @see _.reduceRight + **/ + reduceRight( + this: LoDashExplicitWrapper, + callback: MemoObjectIterator, + accumulator: TResult + ): LoDashExplicitWrapper; + + /** + * @see _.reduceRight + **/ + reduceRight( + this: LoDashExplicitWrapper | null | undefined>, + callback: MemoListIterator>, + accumulator: TResult + ): LoDashExplicitWrapper; + + /** + * @see _.reduceRight + **/ + reduceRight( + this: LoDashExplicitWrapper, + callback: MemoListIterator + ): LoDashExplicitWrapper; + + /** + * @see _.reduceRight + **/ + reduceRight( + this: LoDashExplicitWrapper | null | undefined>, + callback: MemoListIterator> + ): LoDashExplicitWrapper; + + /** + * @see _.reduceRight + **/ + reduceRight( + this: LoDashExplicitWrapper, + callback: MemoObjectIterator + ): LoDashExplicitWrapper; + + /** + * @see _.reduceRight + **/ + reduceRight( + this: LoDashExplicitWrapper | null | undefined>, + callback: MemoListIterator> + ): LoDashExplicitWrapper; + } + + // reject + + interface LoDashStatic { + /** + * The opposite of _.filter; this method returns the elements of collection that predicate does not return + * truthy for. + * + * @param collection The collection to iterate over. + * @param predicate The function invoked per iteration. + * @param thisArg The this binding of predicate. + * @return Returns the new filtered array. + */ + reject( + collection: string | null | undefined, + predicate?: StringIterator + ): string[]; + + /** + * @see _.reject + */ + reject( + collection: List | null | undefined, + predicate?: ListIterateeCustom + ): T[]; + + /** + * @see _.reject + */ + reject( + collection: T | null | undefined, + predicate?: ObjectIterateeCustom + ): Array; + } + + interface LoDashImplicitWrapper { + /** + * @see _.reject + */ + reject( + this: LoDashImplicitWrapper, + predicate?: StringIterator + ): LoDashImplicitWrapper; + + /** + * @see _.reject + */ + reject( + this: LoDashImplicitWrapper | null | undefined>, + predicate?: ListIterateeCustom + ): LoDashImplicitWrapper; + + /** + * @see _.reject + */ + reject( + this: LoDashImplicitWrapper, + predicate?: ObjectIterateeCustom + ): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.reject + */ + reject( + this: LoDashExplicitWrapper, + predicate?: StringIterator + ): LoDashExplicitWrapper; + + /** + * @see _.reject + */ + reject( + this: LoDashExplicitWrapper | null | undefined>, + predicate?: ListIterateeCustom + ): LoDashExplicitWrapper; + + /** + * @see _.reject + */ + reject( + this: LoDashExplicitWrapper, + predicate?: ObjectIterateeCustom + ): LoDashExplicitWrapper>; + } + + // sample + + interface LoDashStatic { + /** + * Gets a random element from collection. + * + * @param collection The collection to sample. + * @return Returns the random element. + */ + sample( + collection: List | Dictionary | NumericDictionary | null | undefined + ): T | undefined; + + /** + * @see _.sample + */ + sample( + collection: T + ): T[keyof T]; + + /** + * @see _.sample + */ + sample( + collection: T | null | undefined + ): T[keyof T] | undefined; + } + + interface LoDashImplicitWrapper { + /** + * @see _.sample + */ + sample( + this: LoDashImplicitWrapper | Dictionary | NumericDictionary | null | undefined> + ): T | undefined; + + /** + * @see _.sample + */ + sample( + this: LoDashImplicitWrapper, + ): T[keyof T]; + + /** + * @see _.sample + */ + sample( + this: LoDashImplicitWrapper + ): T[keyof T] | undefined; + } + + interface LoDashExplicitWrapper { + /** + * @see _.sample + */ + sample( + this: LoDashExplicitWrapper | Dictionary | NumericDictionary | null | undefined> + ): LoDashExplicitWrapper; + + /** + * @see _.sample + */ + sample( + this: LoDashExplicitWrapper, + ): LoDashExplicitWrapper; + + /** + * @see _.sample + */ + sample( + this: LoDashExplicitWrapper + ): LoDashExplicitWrapper; + } + + // sampleSize + + interface LoDashStatic { + /** + * Gets n random elements at unique keys from collection up to the size of collection. + * + * @param collection The collection to sample. + * @param n The number of elements to sample. + * @return Returns the random elements. + */ + sampleSize( + collection: List|Dictionary|NumericDictionary | null | undefined, + n?: number + ): T[]; + + /** + * @see _.sampleSize + */ + sampleSize( + collection: T | null | undefined, + n?: number + ): Array; + } + + interface LoDashImplicitWrapper { + /** + * @see _.sampleSize + */ + sampleSize( + this: LoDashImplicitWrapper|Dictionary|NumericDictionary | null | undefined>, + n?: number + ): LoDashImplicitWrapper; + + /** + * @see _.sampleSize + */ + sampleSize( + this: LoDashImplicitWrapper, + n?: number + ): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.sampleSize + */ + sampleSize( + this: LoDashExplicitWrapper|Dictionary|NumericDictionary | null | undefined>, + n?: number + ): LoDashExplicitWrapper; + + /** + * @see _.sampleSize + */ + sampleSize( + this: LoDashExplicitWrapper, + n?: number + ): LoDashExplicitWrapper>; + } + + // shuffle + + interface LoDashStatic { + /** + * Creates an array of shuffled values, using a version of the Fisher-Yates shuffle. + * + * @param collection The collection to shuffle. + * @return Returns the new shuffled array. + */ + shuffle(collection: List | null | undefined): T[]; + + /** + * @see _.shuffle + */ + shuffle(collection: T | null | undefined): Array; + } + + interface LoDashImplicitWrapper { + /** + * @see _.shuffle + */ + shuffle(this: LoDashImplicitWrapper | null | undefined>): LoDashImplicitWrapper; + + /** + * @see _.shuffle + */ + shuffle(this: LoDashImplicitWrapper): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.shuffle + */ + shuffle(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; + + /** + * @see _.shuffle + */ + shuffle(this: LoDashExplicitWrapper): LoDashExplicitWrapper>; + } + + // size + + interface LoDashStatic { + /** + * Gets the size of collection by returning its length for array-like values or the number of own enumerable + * properties for objects. + * + * @param collection The collection to inspect. + * @return Returns the size of collection. + */ + size(collection: object | string | null | undefined): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.size + */ + size(): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.size + */ + size(): LoDashExplicitWrapper; + } + + // some + + interface LoDashStatic { + /** + * Checks if predicate returns truthy for any element of collection. Iteration is stopped once predicate + * returns truthy. The predicate is invoked with three arguments: (value, index|key, collection). + * + * @param collection The collection to iterate over. + * @param predicate The function invoked per iteration. + * @return Returns true if any element passes the predicate check, else false. + */ + some( + collection: List | null | undefined, + predicate?: ListIterateeCustom + ): boolean; + + /** + * @see _.some + */ + some( + collection: T | null | undefined, + predicate?: ObjectIterateeCustom + ): boolean; + + /** + * @see _.some + */ + some( + collection: NumericDictionary | null | undefined, + predicate?: NumericDictionaryIterateeCustom + ): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.some + */ + some( + this: LoDashImplicitWrapper | null | undefined>, + predicate?: ListIterateeCustom + ): boolean; + + /** + * @see _.some + */ + some( + this: LoDashImplicitWrapper, + predicate?: ObjectIterateeCustom + ): boolean; + + /** + * @see _.some + */ + some( + this: LoDashImplicitWrapper | null | undefined>, + predicate?: NumericDictionaryIterateeCustom + ): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.some + */ + some( + this: LoDashExplicitWrapper | null | undefined>, + predicate?: ListIterateeCustom + ): LoDashExplicitWrapper; + + /** + * @see _.some + */ + some( + this: LoDashExplicitWrapper, + predicate?: ObjectIterateeCustom + ): LoDashExplicitWrapper; + + /** + * @see _.some + */ + some( + this: LoDashExplicitWrapper | null | undefined>, + predicate?: NumericDictionaryIterateeCustom + ): LoDashExplicitWrapper; + } + + // sortBy + + interface LoDashStatic { + /** + * Creates an array of elements, sorted in ascending order by the results of + * running each element in a collection through each iteratee. This method + * performs a stable sort, that is, it preserves the original sort order of + * equal elements. The iteratees are invoked with one argument: (value). + * + * @category Collection + * @param collection The collection to iterate over. + * @param [iteratees=[_.identity]] + * The iteratees to sort by, specified individually or in arrays. + * @returns Returns the new sorted array. + * @example + * + * var users = [ + * { 'user': 'fred', 'age': 48 }, + * { 'user': 'barney', 'age': 36 }, + * { 'user': 'fred', 'age': 42 }, + * { 'user': 'barney', 'age': 34 } + * ]; + * + * _.sortBy(users, function(o) { return o.user; }); + * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]] + * + * _.sortBy(users, ['user', 'age']); + * // => objects for [['barney', 34], ['barney', 36], ['fred', 42], ['fred', 48]] + * + * _.sortBy(users, 'user', function(o) { + * return Math.floor(o.age / 10); + * }); + * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]] + */ + sortBy( + collection: List | null | undefined, + ...iteratees: Array>> + ): T[]; + + /** + * @see _.sortBy + */ + sortBy( + collection: T | null | undefined, + ...iteratees: Array>> + ): Array; + } + + interface LoDashImplicitWrapper { + /** + * @see _.sortBy + */ + sortBy( + this: LoDashImplicitWrapper | null | undefined>, + ...iteratees: Array>> + ): LoDashImplicitWrapper; + + /** + * @see _.sortBy + */ + sortBy( + this: LoDashImplicitWrapper, + ...iteratees: Array>> + ): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.sortBy + */ + sortBy( + this: LoDashExplicitWrapper | null | undefined>, + ...iteratees: Array>> + ): LoDashExplicitWrapper; + + /** + * @see _.sortBy + */ + sortBy( + this: LoDashExplicitWrapper, + ...iteratees: Array>> + ): LoDashExplicitWrapper>; + } +} \ No newline at end of file diff --git a/types/lodash/date/now.d.ts b/types/lodash/common/date.d.ts similarity index 97% rename from types/lodash/date/now.d.ts rename to types/lodash/common/date.d.ts index 480326dd3d..e460de4e1a 100644 --- a/types/lodash/date/now.d.ts +++ b/types/lodash/common/date.d.ts @@ -1,5 +1,7 @@ import _ = require("../index"); declare module "../index" { + // now + interface LoDashStatic { /** * Gets the number of milliseconds that have elapsed since the Unix epoch (1 January 1970 00:00:00 UTC). diff --git a/types/lodash/common/function.d.ts b/types/lodash/common/function.d.ts new file mode 100644 index 0000000000..b51fa6c625 --- /dev/null +++ b/types/lodash/common/function.d.ts @@ -0,0 +1,1367 @@ +import _ = require("../index"); +declare module "../index" { + // after + + interface LoDashStatic { + /** + * The opposite of _.before; this method creates a function that invokes func once it’s called n or more times. + * + * @param n The number of calls before func is invoked. + * @param func The function to restrict. + * @return Returns the new restricted function. + */ + after any>( + n: number, + func: TFunc + ): TFunc; + } + + interface LoDashImplicitWrapper { + /** + * @see _.after + **/ + after any>(func: TFunc): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.after + **/ + after any>(func: TFunc): LoDashExplicitWrapper; + } + + // ary + + interface LoDashStatic { + /** + * Creates a function that accepts up to n arguments ignoring any additional arguments. + * + * @param func The function to cap arguments for. + * @param n The arity cap. + * @returns Returns the new function. + */ + ary( + func: (...args: any[]) => any, + n?: number + ): (...args: any[]) => any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.ary + */ + ary(n?: number): LoDashImplicitWrapper<(...args: any[]) => any>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.ary + */ + ary(n?: number): LoDashExplicitWrapper<(...args: any[]) => any>; + } + + // before + + interface LoDashStatic { + /** + * Creates a function that invokes func, with the this binding and arguments of the created function, while + * it’s called less than n times. Subsequent calls to the created function return the result of the last func + * invocation. + * + * @param n The number of calls at which func is no longer invoked. + * @param func The function to restrict. + * @return Returns the new restricted function. + */ + before any>( + n: number, + func: TFunc + ): TFunc; + } + + interface LoDashImplicitWrapper { + /** + * @see _.before + **/ + before any>(func: TFunc): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.before + **/ + before any>(func: TFunc): LoDashExplicitWrapper; + } + + // bind + + interface FunctionBind { + placeholder: any; + + ( + func: (...args: any[]) => any, + thisArg: any, + ...partials: any[] + ): (...args: any[]) => any; + } + + interface LoDashStatic { + /** + * Creates a function that invokes func with the this binding of thisArg and prepends any additional _.bind + * arguments to those provided to the bound function. + * + * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for + * partially applied arguments. + * + * Note: Unlike native Function#bind this method does not set the "length" property of bound functions. + * + * @param func The function to bind. + * @param thisArg The this binding of func. + * @param partials The arguments to be partially applied. + * @return Returns the new bound function. + */ + bind: FunctionBind; + } + + interface LoDashImplicitWrapper { + /** + * @see _.bind + */ + bind( + thisArg: any, + ...partials: any[] + ): LoDashImplicitWrapper<(...args: any[]) => any>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.bind + */ + bind( + thisArg: any, + ...partials: any[] + ): LoDashExplicitWrapper<(...args: any[]) => any>; + } + + // bindKey + + interface FunctionBindKey { + placeholder: any; + + ( + object: object, + key: string, + ...partials: any[] + ): (...args: any[]) => any; + } + + interface LoDashStatic { + /** + * Creates a function that invokes the method at object[key] and prepends any additional _.bindKey arguments + * to those provided to the bound function. + * + * This method differs from _.bind by allowing bound functions to reference methods that may be redefined + * or don’t yet exist. See Peter Michaux’s article for more details. + * + * The _.bindKey.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder + * for partially applied arguments. + * + * @param object The object the method belongs to. + * @param key The key of the method. + * @param partials The arguments to be partially applied. + * @return Returns the new bound function. + */ + bindKey: FunctionBindKey; + } + + interface LoDashImplicitWrapper { + /** + * @see _.bindKey + */ + bindKey( + key: string, + ...partials: any[] + ): LoDashImplicitWrapper<(...args: any[]) => any>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.bindKey + */ + bindKey( + key: string, + ...partials: any[] + ): LoDashExplicitWrapper<(...args: any[]) => any>; + } + + // curry + + interface LoDashStatic { + /** + * Creates a function that accepts one or more arguments of func that when called either invokes func returning + * its result, if all func arguments have been provided, or returns a function that accepts one or more of the + * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. + * @param func The function to curry. + * @param arity The arity of func. + * @return Returns the new curried function. + */ + curry(func: (t1: T1) => R, arity?: number): + CurriedFunction1; + /** + * Creates a function that accepts one or more arguments of func that when called either invokes func returning + * its result, if all func arguments have been provided, or returns a function that accepts one or more of the + * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. + * @param func The function to curry. + * @param arity The arity of func. + * @return Returns the new curried function. + */ + curry(func: (t1: T1, t2: T2) => R, arity?: number): + CurriedFunction2; + /** + * Creates a function that accepts one or more arguments of func that when called either invokes func returning + * its result, if all func arguments have been provided, or returns a function that accepts one or more of the + * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. + * @param func The function to curry. + * @param arity The arity of func. + * @return Returns the new curried function. + */ + curry(func: (t1: T1, t2: T2, t3: T3) => R, arity?: number): + CurriedFunction3; + /** + * Creates a function that accepts one or more arguments of func that when called either invokes func returning + * its result, if all func arguments have been provided, or returns a function that accepts one or more of the + * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. + * @param func The function to curry. + * @param arity The arity of func. + * @return Returns the new curried function. + */ + curry(func: (t1: T1, t2: T2, t3: T3, t4: T4) => R, arity?: number): + CurriedFunction4; + /** + * Creates a function that accepts one or more arguments of func that when called either invokes func returning + * its result, if all func arguments have been provided, or returns a function that accepts one or more of the + * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. + * @param func The function to curry. + * @param arity The arity of func. + * @return Returns the new curried function. + */ + curry(func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R, arity?: number): + CurriedFunction5; + /** + * Creates a function that accepts one or more arguments of func that when called either invokes func returning + * its result, if all func arguments have been provided, or returns a function that accepts one or more of the + * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. + * @param func The function to curry. + * @param arity The arity of func. + * @return Returns the new curried function. + */ + curry(func: (...args: any[]) => any, arity?: number): (...args: any[]) => any; + } + + interface CurriedFunction1 { + (): CurriedFunction1; + (t1: T1): R; + } + + interface CurriedFunction2 { + (): CurriedFunction2; + (t1: T1): CurriedFunction1; + (t1: T1, t2: T2): R; + } + + interface CurriedFunction3 { + (): CurriedFunction3; + (t1: T1): CurriedFunction2; + (t1: T1, t2: T2): CurriedFunction1; + (t1: T1, t2: T2, t3: T3): R; + } + + interface CurriedFunction4 { + (): CurriedFunction4; + (t1: T1): CurriedFunction3; + (t1: T1, t2: T2): CurriedFunction2; + (t1: T1, t2: T2, t3: T3): CurriedFunction1; + (t1: T1, t2: T2, t3: T3, t4: T4): R; + } + + interface CurriedFunction5 { + (): CurriedFunction5; + (t1: T1): CurriedFunction4; + (t1: T1, t2: T2): CurriedFunction3; + (t1: T1, t2: T2, t3: T3): CurriedFunction2; + (t1: T1, t2: T2, t3: T3, t4: T4): CurriedFunction1; + (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5): R; + } + interface RightCurriedFunction1 { + (): RightCurriedFunction1; + (t1: T1): R; + } + interface RightCurriedFunction2 { + (): RightCurriedFunction2; + (t2: T2): RightCurriedFunction1; + (t1: T1, t2: T2): R; + } + interface RightCurriedFunction3 { + (): RightCurriedFunction3; + (t3: T3): RightCurriedFunction2; + (t2: T2, t3: T3): RightCurriedFunction1; + (t1: T1, t2: T2, t3: T3): R; + } + interface RightCurriedFunction4 { + (): RightCurriedFunction4; + (t4: T4): RightCurriedFunction3; + (t3: T3, t4: T4): RightCurriedFunction2; + (t2: T2, t3: T3, t4: T4): RightCurriedFunction1; + (t1: T1, t2: T2, t3: T3, t4: T4): R; + } + interface RightCurriedFunction5 { + (): RightCurriedFunction5; + (t5: T5): RightCurriedFunction4; + (t4: T4, t5: T5): RightCurriedFunction3; + (t3: T3, t4: T4, t5: T5): RightCurriedFunction2; + (t2: T2, t3: T3, t4: T4, t5: T5): RightCurriedFunction1; + (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5): R; + } + + interface LoDashImplicitWrapper { + /** + * @see _.curry + **/ + curry(this: LoDashImplicitWrapper<(t1: T1) => R>, arity?: number): + LoDashImplicitWrapper>; + + /** + * @see _.curry + **/ + curry(this: LoDashImplicitWrapper<(t1: T1, t2: T2) => R>, arity?: number): + LoDashImplicitWrapper>; + + /** + * @see _.curry + **/ + curry(this: LoDashImplicitWrapper<(t1: T1, t2: T2, t3: T3) => R>, arity?: number): + LoDashImplicitWrapper>; + + /** + * @see _.curry + **/ + curry(this: LoDashImplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4) => R>, arity?: number): + LoDashImplicitWrapper>; + + /** + * @see _.curry + **/ + curry(this: LoDashImplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R>, arity?: number): + LoDashImplicitWrapper>; + + /** + * @see _.curry + **/ + curry(arity?: number): LoDashImplicitWrapper<(...args: any[]) => any>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.curry + **/ + curry(this: LoDashExplicitWrapper<(t1: T1) => R>): + LoDashExplicitWrapper>; + + /** + * @see _.curry + **/ + curry(this: LoDashExplicitWrapper<(t1: T1, t2: T2) => R>): + LoDashExplicitWrapper>; + + /** + * @see _.curry + **/ + curry(this: LoDashExplicitWrapper<(t1: T1, t2: T2, t3: T3) => R>): + LoDashExplicitWrapper>; + + /** + * @see _.curry + **/ + curry(this: LoDashExplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4) => R>): + LoDashExplicitWrapper>; + + /** + * @see _.curry + **/ + curry(this: LoDashExplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R>): + LoDashExplicitWrapper>; + + /** + * @see _.curry + **/ + curry(arity?: number): LoDashExplicitWrapper<(...args: any[]) => any>; + } + + // curryRight + + interface LoDashStatic { + /** + * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight + * instead of _.partial. + * @param func The function to curry. + * @param arity The arity of func. + * @return Returns the new curried function. + */ + curryRight(func: (t1: T1) => R, arity?: number): + RightCurriedFunction1; + /** + * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight + * instead of _.partial. + * @param func The function to curry. + * @param arity The arity of func. + * @return Returns the new curried function. + */ + curryRight(func: (t1: T1, t2: T2) => R, arity?: number): + RightCurriedFunction2; + /** + * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight + * instead of _.partial. + * @param func The function to curry. + * @param arity The arity of func. + * @return Returns the new curried function. + */ + curryRight(func: (t1: T1, t2: T2, t3: T3) => R, arity?: number): + RightCurriedFunction3; + /** + * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight + * instead of _.partial. + * @param func The function to curry. + * @param arity The arity of func. + * @return Returns the new curried function. + */ + curryRight(func: (t1: T1, t2: T2, t3: T3, t4: T4) => R, arity?: number): + RightCurriedFunction4; + /** + * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight + * instead of _.partial. + * @param func The function to curry. + * @param arity The arity of func. + * @return Returns the new curried function. + */ + curryRight(func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R, arity?: number): + RightCurriedFunction5; + /** + * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight + * instead of _.partial. + * @param func The function to curry. + * @param arity The arity of func. + * @return Returns the new curried function. + */ + curryRight(func: (...args: any[]) => any, arity?: number): (...args: any[]) => any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.curryRight + **/ + curryRight(this: LoDashImplicitWrapper<(t1: T1) => R>, arity?: number): + LoDashImplicitWrapper>; + + /** + * @see _.curryRight + **/ + curryRight(this: LoDashImplicitWrapper<(t1: T1, t2: T2) => R>, arity?: number): + LoDashImplicitWrapper>; + + /** + * @see _.curryRight + **/ + curryRight(this: LoDashImplicitWrapper<(t1: T1, t2: T2, t3: T3) => R>, arity?: number): + LoDashImplicitWrapper>; + + /** + * @see _.curryRight + **/ + curryRight(this: LoDashImplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4) => R>, arity?: number): + LoDashImplicitWrapper>; + + /** + * @see _.curryRight + **/ + curryRight(this: LoDashImplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R>, arity?: number): + LoDashImplicitWrapper>; + + /** + * @see _.curryRight + **/ + curryRight(arity?: number): LoDashImplicitWrapper<(...args: any[]) => any>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.curryRight + **/ + curryRight(this: LoDashExplicitWrapper<(t1: T1) => R>, arity?: number): + LoDashExplicitWrapper>; + + /** + * @see _.curryRight + **/ + curryRight(this: LoDashExplicitWrapper<(t1: T1, t2: T2) => R>, arity?: number): + LoDashExplicitWrapper>; + + /** + * @see _.curryRight + **/ + curryRight(this: LoDashExplicitWrapper<(t1: T1, t2: T2, t3: T3) => R>, arity?: number): + LoDashExplicitWrapper>; + + /** + * @see _.curryRight + **/ + curryRight(this: LoDashExplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4) => R>, arity?: number): + LoDashExplicitWrapper>; + + /** + * @see _.curryRight + **/ + curryRight(this: LoDashExplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R>, arity?: number): + LoDashExplicitWrapper>; + + /** + * @see _.curryRight + **/ + curryRight(arity?: number): LoDashExplicitWrapper<(...args: any[]) => any>; + } + + // debounce + + interface DebounceSettings { + /** + * Specify invoking on the leading edge of the timeout. + */ + leading?: boolean; + + /** + * The maximum time func is allowed to be delayed before it’s invoked. + */ + maxWait?: number; + + /** + * Specify invoking on the trailing edge of the timeout. + */ + trailing?: boolean; + } + + interface LoDashStatic { + /** + * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since + * the last time the debounced function was invoked. The debounced function comes with a cancel method to + * cancel delayed invocations and a flush method to immediately invoke them. Provide an options object to + * indicate that func should be invoked on the leading and/or trailing edge of the wait timeout. Subsequent + * calls to the debounced function return the result of the last func invocation. + * + * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only + * if the the debounced function is invoked more than once during the wait timeout. + * + * See David Corbacho’s article for details over the differences between _.debounce and _.throttle. + * + * @param func The function to debounce. + * @param wait The number of milliseconds to delay. + * @param options The options object. + * @param options.leading Specify invoking on the leading edge of the timeout. + * @param options.maxWait The maximum time func is allowed to be delayed before it’s invoked. + * @param options.trailing Specify invoking on the trailing edge of the timeout. + * @return Returns the new debounced function. + */ + debounce any>( + func: T, + wait?: number, + options?: DebounceSettings + ): T & Cancelable; + } + + interface LoDashImplicitWrapper { + /** + * @see _.debounce + */ + debounce( + wait?: number, + options?: DebounceSettings + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.debounce + */ + debounce( + wait?: number, + options?: DebounceSettings + ): LoDashExplicitWrapper; + } + + // defer + + interface LoDashStatic { + /** + * Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to + * func when it’s invoked. + * + * @param func The function to defer. + * @param args The arguments to invoke the function with. + * @return Returns the timer id. + */ + defer( + func: (...args: any[]) => any, + ...args: any[] + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.defer + */ + defer(...args: any[]): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.defer + */ + defer(...args: any[]): LoDashExplicitWrapper; + } + + // delay + + interface LoDashStatic { + /** + * Invokes func after wait milliseconds. Any additional arguments are provided to func when it’s invoked. + * + * @param func The function to delay. + * @param wait The number of milliseconds to delay invocation. + * @param args The arguments to invoke the function with. + * @return Returns the timer id. + */ + delay( + func: (...args: any[]) => any, + wait: number, + ...args: any[] + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.delay + */ + delay( + wait: number, + ...args: any[] + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.delay + */ + delay( + wait: number, + ...args: any[] + ): LoDashExplicitWrapper; + } + + // flip + + interface LoDashStatic { + /** + * Creates a function that invokes `func` with arguments reversed. + * + * @category Function + * @param func The function to flip arguments for. + * @returns Returns the new function. + * @example + * + * var flipped = _.flip(function() { + * return _.toArray(arguments); + * }); + * + * flipped('a', 'b', 'c', 'd'); + * // => ['d', 'c', 'b', 'a'] + */ + flip any>(func: T): T; + } + + interface LoDashWrapper { + /** + * @see _.flip + */ + flip(): this; + } + + // memoize + + interface MemoizedFunction { + cache: MapCache; + } + + interface LoDashStatic { + /** + * Creates a function that memoizes the result of func. If resolver is provided it determines the cache key for + * storing the result based on the arguments provided to the memoized function. By default, the first argument + * provided to the memoized function is coerced to a string and used as the cache key. The func is invoked with + * the this binding of the memoized function. + * + * @param func The function to have its output memoized. + * @param resolver The function to resolve the cache key. + * @return Returns the new memoizing function. + */ + memoize: { + any>(func: T, resolver?: (...args: any[]) => any): T & MemoizedFunction; + Cache: MapCacheConstructor; + }; + } + + interface LoDashImplicitWrapper { + /** + * @see _.memoize + */ + memoize(resolver?: (...args: any[]) => any): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.memoize + */ + memoize(resolver?: (...args: any[]) => any): LoDashExplicitWrapper; + } + + // negate + + interface LoDashStatic { + /** + * Creates a function that negates the result of the predicate func. The func predicate is invoked with + * the this binding and arguments of the created function. + * + * @param predicate The predicate to negate. + * @return Returns the new function. + */ + negate any>(predicate: T): T; + } + + interface LoDashWrapper { + /** + * @see _.negate + */ + negate(): this; + } + + // once + + interface LoDashStatic { + /** + * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value + * of the first call. The func is invoked with the this binding and arguments of the created function. + * + * @param func The function to restrict. + * @return Returns the new restricted function. + */ + once any>(func: T): T; + } + + interface LoDashWrapper { + /** + * @see _.once + */ + once(): this; + } + + // overArgs + + interface LoDashStatic { + /** + * Creates a function that runs each argument through a corresponding transform function. + * + * @param func The function to wrap. + * @param transforms The functions to transform arguments, specified as individual functions or arrays + * of functions. + * @return Returns the new function. + */ + overArgs( + func: (...args: any[]) => any, + ...transforms: Array any>> + ): (...args: any[]) => any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.overArgs + */ + overArgs(...transforms: Array any>>): LoDashImplicitWrapper<(...args: any[]) => any>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.overArgs + */ + overArgs(...transforms: Array any>>): LoDashExplicitWrapper<(...args: any[]) => any>; + } + + // partial + + interface LoDashStatic { + /** + * Creates a function that, when called, invokes func with any additional partial arguments + * prepended to those provided to the new function. This method is similar to _.bind except + * it does not alter the this binding. + * @param func The function to partially apply arguments to. + * @param args Arguments to be partially applied. + * @return The new partially applied function. + **/ + partial: Partial; + } + + interface LoDashImplicitWrapper { + /** + * @see _.partial + */ + partial: ImplicitPartial; + } + + interface LoDashExplicitWrapper { + /** + * @see _.partial + */ + partial: ExplicitPartial; + } + + type PH = LoDashStatic; + + type Function0 = () => R; + type Function1 = (t1: T1) => R; + type Function2 = (t1: T1, t2: T2) => R; + type Function3 = (t1: T1, t2: T2, t3: T3) => R; + type Function4 = (t1: T1, t2: T2, t3: T3, t4: T4) => R; + + interface Partial { + // arity 0 + (func: Function0): Function0; + // arity 1 + (func: Function1): Function1; + (func: Function1, arg1: T1): Function0; + // arity 2 + (func: Function2): Function2; + (func: Function2, arg1: T1): Function1< T2, R>; + (func: Function2, plc1: PH, arg2: T2): Function1; + (func: Function2, arg1: T1, arg2: T2): Function0< R>; + // arity 3 + (func: Function3): Function3; + (func: Function3, arg1: T1): Function2< T2, T3, R>; + (func: Function3, plc1: PH, arg2: T2): Function2; + (func: Function3, arg1: T1, arg2: T2): Function1< T3, R>; + (func: Function3, plc1: PH, plc2: PH, arg3: T3): Function2; + (func: Function3, arg1: T1, plc2: PH, arg3: T3): Function1< T2, R>; + (func: Function3, plc1: PH, arg2: T2, arg3: T3): Function1; + (func: Function3, arg1: T1, arg2: T2, arg3: T3): Function0< R>; + // arity 4 + (func: Function4): Function4; + (func: Function4, arg1: T1): Function3< T2, T3, T4, R>; + (func: Function4, plc1: PH, arg2: T2): Function3; + (func: Function4, arg1: T1, arg2: T2): Function2< T3, T4, R>; + (func: Function4, plc1: PH, plc2: PH, arg3: T3): Function3; + (func: Function4, arg1: T1, plc2: PH, arg3: T3): Function2< T2, T4, R>; + (func: Function4, plc1: PH, arg2: T2, arg3: T3): Function2; + (func: Function4, arg1: T1, arg2: T2, arg3: T3): Function1< T4, R>; + (func: Function4, plc1: PH, plc2: PH, plc3: PH, arg4: T4): Function3; + (func: Function4, arg1: T1, plc2: PH, plc3: PH, arg4: T4): Function2< T2, T3, R>; + (func: Function4, plc1: PH, arg2: T2, plc3: PH, arg4: T4): Function2; + (func: Function4, arg1: T1, arg2: T2, plc3: PH, arg4: T4): Function1< T3, R>; + (func: Function4, plc1: PH, plc2: PH, arg3: T3, arg4: T4): Function2; + (func: Function4, arg1: T1, plc2: PH, arg3: T3, arg4: T4): Function1< T2, R>; + (func: Function4, plc1: PH, arg2: T2, arg3: T3, arg4: T4): Function1; + (func: Function4, arg1: T1, arg2: T2, arg3: T3, arg4: T4): Function0< R>; + // catch-all + (func: (...args: any[]) => any, ...args: any[]): (...args: any[]) => any; + } + + interface ImplicitPartial { + // arity 0 + (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; + // arity 1 + (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1): LoDashImplicitWrapper>; + // arity 2 + (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, plc1: PH, arg2: T2): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2): LoDashImplicitWrapper>; + // arity 3 + (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, plc1: PH, arg2: T2): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, plc1: PH, plc2: PH, arg3: T3): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, arg3: T3): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, plc1: PH, arg2: T2, arg3: T3): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, arg3: T3): LoDashImplicitWrapper>; + // arity 4 + (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, plc1: PH, arg2: T2): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, plc1: PH, plc2: PH, arg3: T3): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, arg3: T3): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, plc1: PH, arg2: T2, arg3: T3): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, arg3: T3): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, plc1: PH, plc2: PH, plc3: PH, arg4: T4): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, plc3: PH, arg4: T4): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, plc1: PH, arg2: T2, plc3: PH, arg4: T4): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, plc3: PH, arg4: T4): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, plc1: PH, plc2: PH, arg3: T3, arg4: T4): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, arg3: T3, arg4: T4): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, plc1: PH, arg2: T2, arg3: T3, arg4: T4): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, arg3: T3, arg4: T4): LoDashImplicitWrapper>; + // catch-all + (...args: any[]): LoDashImplicitWrapper<(...args: any[]) => any>; + } + + interface ExplicitPartial { + // arity 0 + (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; + // arity 1 + (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1): LoDashExplicitWrapper>; + // arity 2 + (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, plc1: PH, arg2: T2): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2): LoDashExplicitWrapper>; + // arity 3 + (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, plc1: PH, arg2: T2): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, plc1: PH, plc2: PH, arg3: T3): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, arg3: T3): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, plc1: PH, arg2: T2, arg3: T3): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, arg3: T3): LoDashExplicitWrapper>; + // arity 4 + (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, plc1: PH, arg2: T2): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, plc1: PH, plc2: PH, arg3: T3): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, arg3: T3): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, plc1: PH, arg2: T2, arg3: T3): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, arg3: T3): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, plc1: PH, plc2: PH, plc3: PH, arg4: T4): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, plc3: PH, arg4: T4): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, plc1: PH, arg2: T2, plc3: PH, arg4: T4): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, plc3: PH, arg4: T4): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, plc1: PH, plc2: PH, arg3: T3, arg4: T4): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, arg3: T3, arg4: T4): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, plc1: PH, arg2: T2, arg3: T3, arg4: T4): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, arg3: T3, arg4: T4): LoDashExplicitWrapper>; + // catch-all + (...args: any[]): LoDashExplicitWrapper<(...args: any[]) => any>; + } + + // partialRight + + interface LoDashStatic { + /** + * This method is like _.partial except that partial arguments are appended to those provided + * to the new function. + * @param func The function to partially apply arguments to. + * @param args Arguments to be partially applied. + * @return The new partially applied function. + **/ + partialRight: PartialRight; + } + + interface LoDashImplicitWrapper { + /** + * @see _.partialRight + */ + partialRight: ImplicitPartialRight; + } + + interface LoDashExplicitWrapper { + /** + * @see _.partialRight + */ + partialRight: ExplicitPartialRight; + } + + interface PartialRight { + // arity 0 + (func: Function0): Function0; + // arity 1 + (func: Function1): Function1; + (func: Function1, arg1: T1): Function0; + // arity 2 + (func: Function2): Function2; + (func: Function2, arg1: T1, plc2: PH): Function1< T2, R>; + (func: Function2, arg2: T2): Function1; + (func: Function2, arg1: T1, arg2: T2): Function0< R>; + // arity 3 + (func: Function3): Function3; + (func: Function3, arg1: T1, plc2: PH, plc3: PH): Function2< T2, T3, R>; + (func: Function3, arg2: T2, plc3: PH): Function2; + (func: Function3, arg1: T1, arg2: T2, plc3: PH): Function1< T3, R>; + (func: Function3, arg3: T3): Function2; + (func: Function3, arg1: T1, plc2: PH, arg3: T3): Function1< T2, R>; + (func: Function3, arg2: T2, arg3: T3): Function1; + (func: Function3, arg1: T1, arg2: T2, arg3: T3): Function0< R>; + // arity 4 + (func: Function4): Function4; + (func: Function4, arg1: T1, plc2: PH, plc3: PH, plc4: PH): Function3< T2, T3, T4, R>; + (func: Function4, arg2: T2, plc3: PH, plc4: PH): Function3; + (func: Function4, arg1: T1, arg2: T2, plc3: PH, plc4: PH): Function2< T3, T4, R>; + (func: Function4, arg3: T3, plc4: PH): Function3; + (func: Function4, arg1: T1, plc2: PH, arg3: T3, plc4: PH): Function2< T2, T4, R>; + (func: Function4, arg2: T2, arg3: T3, plc4: PH): Function2; + (func: Function4, arg1: T1, arg2: T2, arg3: T3, plc4: PH): Function1< T4, R>; + (func: Function4, arg4: T4): Function3; + (func: Function4, arg1: T1, plc2: PH, plc3: PH, arg4: T4): Function2< T2, T3, R>; + (func: Function4, arg2: T2, plc3: PH, arg4: T4): Function2; + (func: Function4, arg1: T1, arg2: T2, plc3: PH, arg4: T4): Function1< T3, R>; + (func: Function4, arg3: T3, arg4: T4): Function2; + (func: Function4, arg1: T1, plc2: PH, arg3: T3, arg4: T4): Function1< T2, R>; + (func: Function4, arg2: T2, arg3: T3, arg4: T4): Function1; + (func: Function4, arg1: T1, arg2: T2, arg3: T3, arg4: T4): Function0< R>; + // catch-all + (func: (...args: any[]) => any, ...args: any[]): (...args: any[]) => any; + } + + interface ImplicitPartialRight { + // arity 0 + (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; + // arity 1 + (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1): LoDashImplicitWrapper>; + // arity 2 + (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg2: T2): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2): LoDashImplicitWrapper>; + // arity 3 + (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, plc3: PH): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg2: T2, plc3: PH): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, plc3: PH): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg3: T3): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, arg3: T3): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg2: T2, arg3: T3): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, arg3: T3): LoDashImplicitWrapper>; + // arity 4 + (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, plc3: PH, plc4: PH): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg2: T2, plc3: PH, plc4: PH): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, plc3: PH, plc4: PH): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg3: T3, plc4: PH): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, arg3: T3, plc4: PH): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg2: T2, arg3: T3, plc4: PH): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, arg3: T3, plc4: PH): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg4: T4): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, plc3: PH, arg4: T4): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg2: T2, plc3: PH, arg4: T4): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, plc3: PH, arg4: T4): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg3: T3, arg4: T4): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, arg3: T3, arg4: T4): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg2: T2, arg3: T3, arg4: T4): LoDashImplicitWrapper>; + (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, arg3: T3, arg4: T4): LoDashImplicitWrapper>; + // catch-all + (...args: any[]): LoDashImplicitWrapper<(...args: any[]) => any>; + } + + interface ExplicitPartialRight { + // arity 0 + (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; + // arity 1 + (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1): LoDashExplicitWrapper>; + // arity 2 + (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg2: T2): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2): LoDashExplicitWrapper>; + // arity 3 + (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, plc3: PH): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg2: T2, plc3: PH): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, plc3: PH): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg3: T3): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, arg3: T3): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg2: T2, arg3: T3): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, arg3: T3): LoDashExplicitWrapper>; + // arity 4 + (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, plc3: PH, plc4: PH): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg2: T2, plc3: PH, plc4: PH): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, plc3: PH, plc4: PH): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg3: T3, plc4: PH): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, arg3: T3, plc4: PH): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg2: T2, arg3: T3, plc4: PH): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, arg3: T3, plc4: PH): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg4: T4): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, plc3: PH, arg4: T4): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg2: T2, plc3: PH, arg4: T4): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, plc3: PH, arg4: T4): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg3: T3, arg4: T4): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, arg3: T3, arg4: T4): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg2: T2, arg3: T3, arg4: T4): LoDashExplicitWrapper>; + (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, arg3: T3, arg4: T4): LoDashExplicitWrapper>; + // catch-all + (...args: any[]): LoDashExplicitWrapper<(...args: any[]) => any>; + } + + // rearg + + interface LoDashStatic { + /** + * Creates a function that invokes func with arguments arranged according to the specified indexes where the + * argument value at the first index is provided as the first argument, the argument value at the second index + * is provided as the second argument, and so on. + * @param func The function to rearrange arguments for. + * @param indexes The arranged argument indexes, specified as individual indexes or arrays of indexes. + * @return Returns the new function. + */ + rearg(func: (...args: any[]) => any, ...indexes: Array>): (...args: any[]) => any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.rearg + */ + rearg(...indexes: Array>): LoDashImplicitWrapper<(...args: any[]) => any>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.rearg + */ + rearg(...indexes: Array>): LoDashExplicitWrapper<(...args: any[]) => any>; + } + + // rest + + interface LoDashStatic { + /** + * Creates a function that invokes func with the this binding of the created function and arguments from start + * and beyond provided as an array. + * + * Note: This method is based on the rest parameter. + * + * @param func The function to apply a rest parameter to. + * @param start The start position of the rest parameter. + * @return Returns the new function. + */ + rest( + func: (...args: any[]) => any, + start?: number + ): (...args: any[]) => any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.rest + */ + rest(start?: number): LoDashImplicitWrapper<(...args: any[]) => any>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.rest + */ + rest(start?: number): LoDashExplicitWrapper<(...args: any[]) => any>; + } + + // spread + + interface LoDashStatic { + /** + * Creates a function that invokes func with the this binding of the created function and an array of arguments + * much like Function#apply. + * + * Note: This method is based on the spread operator. + * + * @param func The function to spread arguments over. + * @return Returns the new function. + */ + spread(func: (...args: any[]) => TResult): (...args: any[]) => TResult; + + /** + * @see _.spread + */ + spread(func: (...args: any[]) => TResult, start: number): (...args: any[]) => TResult; + } + + interface LoDashImplicitWrapper { + /** + * @see _.spread + */ + spread(this: LoDashImplicitWrapper<(...args: any[]) => TResult>): LoDashImplicitWrapper<(...args: any[]) => TResult>; + + /** + * @see _.spread + */ + spread(this: LoDashImplicitWrapper<(...args: any[]) => TResult>, start: number): LoDashImplicitWrapper<(...args: any[]) => TResult>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.spread + */ + spread(this: LoDashExplicitWrapper<(...args: any[]) => TResult>): LoDashExplicitWrapper<(...args: any[]) => TResult>; + + /** + * @see _.spread + */ + spread(this: LoDashExplicitWrapper<(...args: any[]) => TResult>, start: number): LoDashExplicitWrapper<(...args: any[]) => TResult>; + } + + // throttle + + interface ThrottleSettings { + /** + * If you'd like to disable the leading-edge call, pass this as false. + */ + leading?: boolean; + + /** + * If you'd like to disable the execution on the trailing-edge, pass false. + */ + trailing?: boolean; + } + + interface LoDashStatic { + /** + * Creates a throttled function that only invokes func at most once per every wait milliseconds. The throttled + * function comes with a cancel method to cancel delayed invocations and a flush method to immediately invoke + * them. Provide an options object to indicate that func should be invoked on the leading and/or trailing edge + * of the wait timeout. Subsequent calls to the throttled function return the result of the last func call. + * + * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if + * the the throttled function is invoked more than once during the wait timeout. + * + * @param func The function to throttle. + * @param wait The number of milliseconds to throttle invocations to. + * @param options The options object. + * @param options.leading Specify invoking on the leading edge of the timeout. + * @param options.trailing Specify invoking on the trailing edge of the timeout. + * @return Returns the new throttled function. + */ + throttle any>( + func: T, + wait?: number, + options?: ThrottleSettings + ): T & Cancelable; + } + + interface LoDashImplicitWrapper { + /** + * @see _.throttle + */ + throttle( + wait?: number, + options?: ThrottleSettings + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.throttle + */ + throttle( + wait?: number, + options?: ThrottleSettings + ): LoDashExplicitWrapper; + } + + // unary + + interface LoDashStatic { + /** + * Creates a function that accepts up to one argument, ignoring any + * additional arguments. + * + * @category Function + * @param func The function to cap arguments for. + * @returns Returns the new function. + * @example + * + * _.map(['6', '8', '10'], _.unary(parseInt)); + * // => [6, 8, 10] + */ + unary(func: (arg1: T, ...args: any[]) => TResult): (arg1: T) => TResult; + } + + interface LoDashImplicitWrapper { + /** + * @see _.unary + */ + unary(this: LoDashImplicitWrapper<(arg1: T, ...args: any[]) => TResult>): LoDashImplicitWrapper<(arg1: T) => TResult>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.unary + */ + unary(this: LoDashExplicitWrapper<(arg1: T, ...args: any[]) => TResult>): LoDashExplicitWrapper<(arg1: T) => TResult>; + } + + // wrap + + interface LoDashStatic { + /** + * Creates a function that provides value to the wrapper function as its first argument. Any additional + * arguments provided to the function are appended to those provided to the wrapper function. The wrapper is + * invoked with the this binding of the created function. + * + * @param value The value to wrap. + * @param wrapper The wrapper function. + * @return Returns the new function. + */ + wrap( + value: T, + wrapper: (value: T, ...args: TArgs[]) => TResult + ): (...args: TArgs[]) => TResult; + + /** + * @see _.wrap + */ + wrap( + value: T, + wrapper: (value: T, ...args: any[]) => TResult + ): (...args: any[]) => TResult; + } + + interface LoDashImplicitWrapper { + /** + * @see _.wrap + */ + wrap( + wrapper: (value: TValue, ...args: TArgs[]) => TResult + ): LoDashImplicitWrapper<(...args: TArgs[]) => TResult>; + + /** + * @see _.wrap + */ + wrap( + wrapper: (value: TValue, ...args: any[]) => TResult + ): LoDashImplicitWrapper<(...args: any[]) => TResult>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.wrap + */ + /** + * @see _.wrap + */ + wrap( + wrapper: (value: TValue, ...args: TArgs[]) => TResult + ): LoDashExplicitWrapper<(...args: TArgs[]) => TResult>; + + /** + * @see _.wrap + */ + wrap( + wrapper: (value: TValue, ...args: any[]) => TResult + ): LoDashExplicitWrapper<(...args: any[]) => TResult>; + } +} \ No newline at end of file diff --git a/types/lodash/common/lang.d.ts b/types/lodash/common/lang.d.ts new file mode 100644 index 0000000000..43393ab4b6 --- /dev/null +++ b/types/lodash/common/lang.d.ts @@ -0,0 +1,1937 @@ +import _ = require("../index"); +declare module "../index" { + // castArray + + interface LoDashStatic { + /** + * Casts value as an array if it’s not one. + * + * @param value The value to inspect. + * @return Returns the cast array. + */ + castArray(value?: Many): T[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.castArray + */ + castArray(this: LoDashImplicitWrapper>): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.castArray + */ + castArray(this: LoDashExplicitWrapper>): LoDashExplicitWrapper; + } + + // clone + + interface LoDashStatic { + /** + * Creates a shallow clone of value. + * + * Note: This method is loosely based on the structured clone algorithm and supports cloning arrays, + * array buffers, booleans, date objects, maps, numbers, Object objects, regexes, sets, strings, symbols, + * and typed arrays. The own enumerable properties of arguments objects are cloned as plain objects. An empty + * object is returned for uncloneable values such as error objects, functions, DOM nodes, and WeakMaps. + * + * @param value The value to clone. + * @return Returns the cloned value. + */ + clone(value: T): T; + } + + interface LoDashImplicitWrapper { + /** + * @see _.clone + */ + clone(): TValue; + } + + interface LoDashExplicitWrapper { + /** + * @see _.clone + */ + clone(): this; + } + + // cloneDeep + + interface LoDashStatic { + /** + * This method is like _.clone except that it recursively clones value. + * + * @param value The value to recursively clone. + * @return Returns the deep cloned value. + */ + cloneDeep(value: T): T; + } + + interface LoDashImplicitWrapper { + /** + * @see _.cloneDeep + */ + cloneDeep(): TValue; + } + + interface LoDashExplicitWrapper { + /** + * @see _.cloneDeep + */ + cloneDeep(): this; + } + + // cloneDeepWith + + type CloneDeepWithCustomizer = (value: any, key: number | string | undefined, object: TObject | undefined, stack: any) => any; + + interface LoDashStatic { + /** + * This method is like _.cloneWith except that it recursively clones value. + * + * @param value The value to recursively clone. + * @param customizer The function to customize cloning. + * @return Returns the deep cloned value. + */ + cloneDeepWith( + value: T, + customizer: CloneDeepWithCustomizer + ): any; + + /** + * @see _.cloneDeepWith + */ + cloneDeepWith(value: T): T; + } + + interface LoDashImplicitWrapper { + /** + * @see _.cloneDeepWith + */ + cloneDeepWith( + customizer: CloneDeepWithCustomizer + ): any; + + /** + * @see _.cloneDeepWith + */ + cloneDeepWith(): TValue; + } + + interface LoDashExplicitWrapper { + /** + * @see _.cloneDeepWith + */ + cloneDeepWith( + customizer: CloneDeepWithCustomizer + ): LoDashExplicitWrapper; + + /** + * @see _.cloneDeepWith + */ + cloneDeepWith(): this; + } + + // cloneWith + + type CloneWithCustomizer = (value: TValue, key: number | string | undefined, object: any, stack: any) => TResult; + + interface LoDashStatic { + /** + * This method is like _.clone except that it accepts customizer which is invoked to produce the cloned value. + * If customizer returns undefined cloning is handled by the method instead. + * + * @param value The value to clone. + * @param customizer The function to customize cloning. + * @return Returns the cloned value. + */ + cloneWith( + value: T, + customizer: CloneWithCustomizer + ): TResult; + + /** + * @see _.cloneWith + */ + cloneWith( + value: T, + customizer: CloneWithCustomizer + ): TResult | T; + + /** + * @see _.cloneWith + */ + cloneWith(value: T): T; + } + + interface LoDashImplicitWrapper { + /** + * @see _.cloneWith + */ + cloneWith( + customizer: CloneWithCustomizer + ): TResult; + + /** + * @see _.cloneWith + */ + cloneWith( + customizer: CloneWithCustomizer + ): TResult | TValue; + + /** + * @see _.cloneWith + */ + cloneWith(): TValue; + } + + interface LoDashExplicitWrapper { + /** + * @see _.cloneWith + */ + cloneWith( + customizer: CloneWithCustomizer + ): LoDashExplicitWrapper; + + /** + * @see _.cloneWith + */ + cloneWith( + customizer: CloneWithCustomizer + ): LoDashExplicitWrapper; + + /** + * @see _.cloneWith + */ + cloneWith(): this; + } + + // conformsTo + + + interface LoDashStatic { + /** + * Checks if object conforms to source by invoking the predicate properties of source with the + * corresponding property values of object. + * + * Note: This method is equivalent to _.conforms when source is partially applied. + */ + conformsTo(object: T, source: ConformsPredicateObject): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.conformsTo + */ + conformsTo(this: LoDashImplicitWrapper, source: ConformsPredicateObject): boolean; + // Note: we can't use TValue here, because it generates a typescript error when strictFunctionTypes is enabled. + } + + interface LoDashExplicitWrapper { + /** + * @see _.conformsTo + */ + conformsTo(this: LoDashImplicitWrapper, source: ConformsPredicateObject): LoDashExplicitWrapper; + // Note: we can't use TValue here, because it generates a typescript error when strictFunctionTypes is enabled. + } + + type CondPair = [(val: T) => boolean, (val: T) => R] + + // eq + + interface LoDashStatic { + /** + * Performs a [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) + * comparison between two values to determine if they are equivalent. + * + * @category Lang + * @param value The value to compare. + * @param other The other value to compare. + * @returns Returns `true` if the values are equivalent, else `false`. + * @example + * + * var object = { 'user': 'fred' }; + * var other = { 'user': 'fred' }; + * + * _.eq(object, object); + * // => true + * + * _.eq(object, other); + * // => false + * + * _.eq('a', 'a'); + * // => true + * + * _.eq('a', Object('a')); + * // => false + * + * _.eq(NaN, NaN); + * // => true + */ + eq( + value: any, + other: any + ): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.eq + */ + eq( + other: any + ): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.eq + */ + eq( + other: any + ): LoDashExplicitWrapper; + } + + // gt + + interface LoDashStatic { + /** + * Checks if value is greater than other. + * + * @param value The value to compare. + * @param other The other value to compare. + * @return Returns true if value is greater than other, else false. + */ + gt( + value: any, + other: any + ): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.gt + */ + gt(other: any): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.gt + */ + gt(other: any): LoDashExplicitWrapper; + } + + // gte + + interface LoDashStatic { + /** + * Checks if value is greater than or equal to other. + * + * @param value The value to compare. + * @param other The other value to compare. + * @return Returns true if value is greater than or equal to other, else false. + */ + gte( + value: any, + other: any + ): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.gte + */ + gte(other: any): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.gte + */ + gte(other: any): LoDashExplicitWrapper; + } + + // isArguments + + interface LoDashStatic { + /** + * Checks if value is classified as an arguments object. + * + * @param value The value to check. + * @return Returns true if value is correctly classified, else false. + */ + isArguments(value?: any): value is IArguments; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isArguments + */ + isArguments(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isArguments + */ + isArguments(): LoDashExplicitWrapper; + } + + // isArray + + interface LoDashStatic { + /** + * Checks if value is classified as an Array object. + * @param value The value to check. + * + * @return Returns true if value is correctly classified, else false. + */ + isArray(value?: any): value is any[]; + + /** + * DEPRECATED + */ + isArray(value?: any): value is any[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isArray + */ + isArray(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isArray + */ + isArray(): LoDashExplicitWrapper; + } + + // isArrayBuffer + + interface LoDashStatic { + /** + * Checks if value is classified as an ArrayBuffer object. + * + * @param value The value to check. + * @return Returns true if value is correctly classified, else false. + */ + isArrayBuffer(value?: any): value is ArrayBuffer; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isArrayBuffer + */ + isArrayBuffer(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isArrayBuffer + */ + isArrayBuffer(): LoDashExplicitWrapper; + } + + // isArrayLike + + interface LoDashStatic { + /** + * Checks if `value` is array-like. A value is considered array-like if it's + * not a function and has a `value.length` that's an integer greater than or + * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. + * + * @category Lang + * @param value The value to check. + * @returns Returns `true` if `value` is array-like, else `false`. + * @example + * + * _.isArrayLike([1, 2, 3]); + * // => true + * + * _.isArrayLike(document.body.children); + * // => true + * + * _.isArrayLike('abc'); + * // => true + * + * _.isArrayLike(_.noop); + * // => false + */ + isArrayLike(value: T & string & number): boolean; // should only match if T = any + + /** + * @see _.isArrayLike + */ + isArrayLike(value: ((...args: any[]) => any) | null | undefined): value is never; + + /** + * @see _.isArrayLike + */ + isArrayLike(value: any): value is { length: number }; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isArrayLike + */ + isArrayLike(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isArrayLike + */ + isArrayLike(): LoDashExplicitWrapper; + } + + // isArrayLikeObject + + interface LoDashStatic { + /** + * This method is like `_.isArrayLike` except that it also checks if `value` + * is an object. + * + * @category Lang + * @param value The value to check. + * @returns Returns `true` if `value` is an array-like object, else `false`. + * @example + * + * _.isArrayLikeObject([1, 2, 3]); + * // => true + * + * _.isArrayLikeObject(document.body.children); + * // => true + * + * _.isArrayLikeObject('abc'); + * // => false + * + * _.isArrayLikeObject(_.noop); + * // => false + */ + isArrayLikeObject(value: T & string & number): boolean; // should only match if T = any + + /** + * @see _.isArrayLike + */ + // tslint:disable-next-line:ban-types (type guard doesn't seem to work correctly without the Function type) + isArrayLikeObject(value: ((...args: any[]) => any) | Function | string | boolean | number | null | undefined): value is never; + + /** + * @see _.isArrayLike + */ + // tslint:disable-next-line:ban-types (type guard doesn't seem to work correctly without the Function type) + isArrayLikeObject(value: T | ((...args: any[]) => any) | Function | string | boolean | number | null | undefined): value is T & { length: number }; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isArrayLikeObject + */ + isArrayLikeObject(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isArrayLikeObject + */ + isArrayLikeObject(): LoDashExplicitWrapper; + } + + // isBoolean + + interface LoDashStatic { + /** + * Checks if value is classified as a boolean primitive or object. + * + * @param value The value to check. + * @return Returns true if value is correctly classified, else false. + */ + isBoolean(value?: any): value is boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isBoolean + */ + isBoolean(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isBoolean + */ + isBoolean(): LoDashExplicitWrapper; + } + + // isBuffer + + interface LoDashStatic { + /** + * Checks if value is a buffer. + * + * @param value The value to check. + * @return Returns true if value is a buffer, else false. + */ + isBuffer(value?: any): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isBuffer + */ + isBuffer(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isBuffer + */ + isBuffer(): LoDashExplicitWrapper; + } + + // isDate + + interface LoDashStatic { + /** + * Checks if value is classified as a Date object. + * @param value The value to check. + * + * @return Returns true if value is correctly classified, else false. + */ + isDate(value?: any): value is Date; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isDate + */ + isDate(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isDate + */ + isDate(): LoDashExplicitWrapper; + } + + // isElement + + interface LoDashStatic { + /** + * Checks if value is a DOM element. + * + * @param value The value to check. + * @return Returns true if value is a DOM element, else false. + */ + isElement(value?: any): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isElement + */ + isElement(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isElement + */ + isElement(): LoDashExplicitWrapper; + } + + // isEmpty + + interface LoDashStatic { + /** + * Checks if value is empty. A value is considered empty unless it’s an arguments object, array, string, or + * jQuery-like collection with a length greater than 0 or an object with own enumerable properties. + * + * @param value The value to inspect. + * @return Returns true if value is empty, else false. + */ + isEmpty(value?: any): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isEmpty + */ + isEmpty(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isEmpty + */ + isEmpty(): LoDashExplicitWrapper; + } + + // isEqual + + interface LoDashStatic { + /** + * Performs a deep comparison between two values to determine if they are + * equivalent. + * + * **Note:** This method supports comparing arrays, array buffers, booleans, + * date objects, error objects, maps, numbers, `Object` objects, regexes, + * sets, strings, symbols, and typed arrays. `Object` objects are compared + * by their own, not inherited, enumerable properties. Functions and DOM + * nodes are **not** supported. + * + * @category Lang + * @param value The value to compare. + * @param other The other value to compare. + * @returns Returns `true` if the values are equivalent, else `false`. + * @example + * + * var object = { 'user': 'fred' }; + * var other = { 'user': 'fred' }; + * + * _.isEqual(object, other); + * // => true + * + * object === other; + * // => false + */ + isEqual( + value: any, + other: any + ): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isEqual + */ + isEqual( + other: any + ): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isEqual + */ + isEqual( + other: any + ): LoDashExplicitWrapper; + } + + // isEqualWith + + type IsEqualCustomizer = (value: any, other: any, indexOrKey: PropertyName | undefined, parent: any, otherParent: any, stack: any) => boolean|undefined; + + interface LoDashStatic { + /** + * This method is like `_.isEqual` except that it accepts `customizer` which is + * invoked to compare values. If `customizer` returns `undefined` comparisons are + * handled by the method instead. The `customizer` is invoked with up to seven arguments: + * (objValue, othValue [, index|key, object, other, stack]). + * + * @category Lang + * @param value The value to compare. + * @param other The other value to compare. + * @param [customizer] The function to customize comparisons. + * @returns Returns `true` if the values are equivalent, else `false`. + * @example + * + * function isGreeting(value) { + * return /^h(?:i|ello)$/.test(value); + * } + * + * function customizer(objValue, othValue) { + * if (isGreeting(objValue) && isGreeting(othValue)) { + * return true; + * } + * } + * + * var array = ['hello', 'goodbye']; + * var other = ['hi', 'goodbye']; + * + * _.isEqualWith(array, other, customizer); + * // => true + */ + isEqualWith( + value: any, + other: any, + customizer?: IsEqualCustomizer + ): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isEqualWith + */ + isEqualWith( + other: any, + customizer?: IsEqualCustomizer + ): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isEqualWith + */ + isEqualWith( + other: any, + customizer?: IsEqualCustomizer + ): LoDashExplicitWrapper; + } + + // isError + + interface LoDashStatic { + /** + * Checks if value is an Error, EvalError, RangeError, ReferenceError, SyntaxError, TypeError, or URIError + * object. + * + * @param value The value to check. + * @return Returns true if value is an error object, else false. + */ + isError(value: any): value is Error; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isError + */ + isError(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isError + */ + isError(): LoDashExplicitWrapper; + } + + // isFinite + + interface LoDashStatic { + /** + * Checks if value is a finite primitive number. + * + * Note: This method is based on Number.isFinite. + * + * @param value The value to check. + * @return Returns true if value is a finite number, else false. + */ + isFinite(value?: any): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isFinite + */ + isFinite(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isFinite + */ + isFinite(): LoDashExplicitWrapper; + } + + // isFunction + + interface LoDashStatic { + /** + * Checks if value is a callable function. + * + * @param value The value to check. + * @return Returns true if value is correctly classified, else false. + */ + isFunction(value: any): value is (...args: any[]) => any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isFunction + */ + isFunction(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isFunction + */ + isFunction(): LoDashExplicitWrapper; + } + + // isInteger + + interface LoDashStatic { + /** + * Checks if `value` is an integer. + * + * **Note:** This method is based on [`Number.isInteger`](https://mdn.io/Number/isInteger). + * + * @category Lang + * @param value The value to check. + * @returns Returns `true` if `value` is an integer, else `false`. + * @example + * + * _.isInteger(3); + * // => true + * + * _.isInteger(Number.MIN_VALUE); + * // => false + * + * _.isInteger(Infinity); + * // => false + * + * _.isInteger('3'); + * // => false + */ + isInteger(value?: any): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isInteger + */ + isInteger(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isInteger + */ + isInteger(): LoDashExplicitWrapper; + } + + // isLength + + interface LoDashStatic { + /** + * Checks if `value` is a valid array-like length. + * + * **Note:** This function is loosely based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength). + * + * @category Lang + * @param value The value to check. + * @returns Returns `true` if `value` is a valid length, else `false`. + * @example + * + * _.isLength(3); + * // => true + * + * _.isLength(Number.MIN_VALUE); + * // => false + * + * _.isLength(Infinity); + * // => false + * + * _.isLength('3'); + * // => false + */ + isLength(value?: any): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isLength + */ + isLength(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isLength + */ + isLength(): LoDashExplicitWrapper; + } + + // isMap + + interface LoDashStatic { + /** + * Checks if value is classified as a Map object. + * + * @param value The value to check. + * @returns Returns true if value is correctly classified, else false. + */ + isMap(value?: any): value is Map; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isMap + */ + isMap(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isMap + */ + isMap(): LoDashExplicitWrapper; + } + + // isMatch + + type isMatchCustomizer = (value: any, other: any, indexOrKey?: PropertyName) => boolean; + + interface LoDashStatic { + /** + * Performs a deep comparison between `object` and `source` to determine if + * `object` contains equivalent property values. + * + * **Note:** This method supports comparing the same values as `_.isEqual`. + * + * @category Lang + * @param object The object to inspect. + * @param source The object of property values to match. + * @returns Returns `true` if `object` is a match, else `false`. + * @example + * + * var object = { 'user': 'fred', 'age': 40 }; + * + * _.isMatch(object, { 'age': 40 }); + * // => true + * + * _.isMatch(object, { 'age': 36 }); + * // => false + */ + isMatch(object: object, source: object): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isMatch + */ + isMatch(source: object): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isMatch + */ + isMatch(source: object): LoDashExplicitWrapper; + } + + // isMatchWith + + type isMatchWithCustomizer = (value: any, other: any, indexOrKey: PropertyName) => boolean; + + interface LoDashStatic { + /** + * This method is like `_.isMatch` except that it accepts `customizer` which + * is invoked to compare values. If `customizer` returns `undefined` comparisons + * are handled by the method instead. The `customizer` is invoked with three + * arguments: (objValue, srcValue, index|key, object, source). + * + * @category Lang + * @param object The object to inspect. + * @param source The object of property values to match. + * @param [customizer] The function to customize comparisons. + * @returns Returns `true` if `object` is a match, else `false`. + * @example + * + * function isGreeting(value) { + * return /^h(?:i|ello)$/.test(value); + * } + * + * function customizer(objValue, srcValue) { + * if (isGreeting(objValue) && isGreeting(srcValue)) { + * return true; + * } + * } + * + * var object = { 'greeting': 'hello' }; + * var source = { 'greeting': 'hi' }; + * + * _.isMatchWith(object, source, customizer); + * // => true + */ + isMatchWith(object: object, source: object, customizer: isMatchWithCustomizer): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isMatchWith + */ + isMatchWith(source: object, customizer: isMatchWithCustomizer): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isMatchWith + */ + isMatchWith(source: object, customizer: isMatchWithCustomizer): LoDashExplicitWrapper; + } + + // isNaN + + interface LoDashStatic { + /** + * Checks if value is NaN. + * + * Note: This method is not the same as isNaN which returns true for undefined and other non-numeric values. + * + * @param value The value to check. + * @return Returns true if value is NaN, else false. + */ + isNaN(value?: any): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isNaN + */ + isNaN(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isNaN + */ + isNaN(): LoDashExplicitWrapper; + } + + // isNative + + interface LoDashStatic { + /** + * Checks if value is a native function. + * @param value The value to check. + * + * @retrun Returns true if value is a native function, else false. + */ + isNative(value: any): value is (...args: any[]) => any; + } + + interface LoDashImplicitWrapper { + /** + * see _.isNative + */ + isNative(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * see _.isNative + */ + isNative(): LoDashExplicitWrapper; + } + + // isNil + + interface LoDashStatic { + /** + * Checks if `value` is `null` or `undefined`. + * + * @category Lang + * @param value The value to check. + * @returns Returns `true` if `value` is nullish, else `false`. + * @example + * + * _.isNil(null); + * // => true + * + * _.isNil(void 0); + * // => true + * + * _.isNil(NaN); + * // => false + */ + isNil(value: any): value is null | undefined; + } + + interface LoDashImplicitWrapper { + /** + * see _.isNil + */ + isNil(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * see _.isNil + */ + isNil(): LoDashExplicitWrapper; + } + + // isNull + + interface LoDashStatic { + /** + * Checks if value is null. + * + * @param value The value to check. + * @return Returns true if value is null, else false. + */ + isNull(value: any): value is null; + } + + interface LoDashImplicitWrapper { + /** + * see _.isNull + */ + isNull(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * see _.isNull + */ + isNull(): LoDashExplicitWrapper; + } + + // isNumber + + interface LoDashStatic { + /** + * Checks if value is classified as a Number primitive or object. + * + * Note: To exclude Infinity, -Infinity, and NaN, which are classified as numbers, use the _.isFinite method. + * + * @param value The value to check. + * @return Returns true if value is correctly classified, else false. + */ + isNumber(value?: any): value is number; + } + + interface LoDashImplicitWrapper { + /** + * see _.isNumber + */ + isNumber(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * see _.isNumber + */ + isNumber(): LoDashExplicitWrapper; + } + + // isObject + + interface LoDashStatic { + /** + * Checks if value is the language type of Object. (e.g. arrays, functions, objects, regexes, new Number(0), + * and new String('')) + * + * @param value The value to check. + * @return Returns true if value is an object, else false. + */ + isObject(value?: any): boolean; + } + + interface LoDashImplicitWrapper { + /** + * see _.isObject + */ + isObject(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * see _.isObject + */ + isObject(): LoDashExplicitWrapper; + } + + // isObjectLike + + interface LoDashStatic { + /** + * Checks if `value` is object-like. A value is object-like if it's not `null` + * and has a `typeof` result of "object". + * + * @category Lang + * @param value The value to check. + * @returns Returns `true` if `value` is object-like, else `false`. + * @example + * + * _.isObjectLike({}); + * // => true + * + * _.isObjectLike([1, 2, 3]); + * // => true + * + * _.isObjectLike(_.noop); + * // => false + * + * _.isObjectLike(null); + * // => false + */ + isObjectLike(value?: any): boolean; + } + + interface LoDashImplicitWrapper { + /** + * see _.isObjectLike + */ + isObjectLike(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * see _.isObjectLike + */ + isObjectLike(): LoDashExplicitWrapper; + } + + // isPlainObject + + interface LoDashStatic { + /** + * Checks if value is a plain object, that is, an object created by the Object constructor or one with a + * [[Prototype]] of null. + * + * Note: This method assumes objects created by the Object constructor have no inherited enumerable properties. + * + * @param value The value to check. + * @return Returns true if value is a plain object, else false. + */ + isPlainObject(value?: any): boolean; + } + + interface LoDashImplicitWrapper { + /** + * see _.isPlainObject + */ + isPlainObject(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * see _.isPlainObject + */ + isPlainObject(): LoDashExplicitWrapper; + } + + // isRegExp + + interface LoDashStatic { + /** + * Checks if value is classified as a RegExp object. + * @param value The value to check. + * + * @return Returns true if value is correctly classified, else false. + */ + isRegExp(value?: any): value is RegExp; + } + + interface LoDashImplicitWrapper { + /** + * see _.isRegExp + */ + isRegExp(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * see _.isRegExp + */ + isRegExp(): LoDashExplicitWrapper; + } + + // isSafeInteger + + interface LoDashStatic { + /** + * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754 + * double precision number which isn't the result of a rounded unsafe integer. + * + * **Note:** This method is based on [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger). + * + * @category Lang + * @param value The value to check. + * @returns Returns `true` if `value` is a safe integer, else `false`. + * @example + * + * _.isSafeInteger(3); + * // => true + * + * _.isSafeInteger(Number.MIN_VALUE); + * // => false + * + * _.isSafeInteger(Infinity); + * // => false + * + * _.isSafeInteger('3'); + * // => false + */ + isSafeInteger(value: any): boolean; + } + + interface LoDashImplicitWrapper { + /** + * see _.isSafeInteger + */ + isSafeInteger(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * see _.isSafeInteger + */ + isSafeInteger(): LoDashExplicitWrapper; + } + + // isSet + + interface LoDashStatic { + /** + * Checks if value is classified as a Set object. + * + * @param value The value to check. + * @returns Returns true if value is correctly classified, else false. + */ + isSet(value?: any): value is Set; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isSet + */ + isSet(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isSet + */ + isSet(): LoDashExplicitWrapper; + } + + // isString + + interface LoDashStatic { + /** + * Checks if value is classified as a String primitive or object. + * + * @param value The value to check. + * @return Returns true if value is correctly classified, else false. + */ + isString(value?: any): value is string; + } + + interface LoDashImplicitWrapper { + /** + * see _.isString + */ + isString(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * see _.isString + */ + isString(): LoDashExplicitWrapper; + } + + // isSymbol + + interface LoDashStatic { + /** + * Checks if `value` is classified as a `Symbol` primitive or object. + * + * @category Lang + * @param value The value to check. + * @returns Returns `true` if `value` is correctly classified, else `false`. + * @example + * + * _.isSymbol(Symbol.iterator); + * // => true + * + * _.isSymbol('abc'); + * // => false + */ + isSymbol(value: any): boolean; + } + + interface LoDashImplicitWrapper { + /** + * see _.isSymbol + */ + isSymbol(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * see _.isSymbol + */ + isSymbol(): LoDashExplicitWrapper; + } + + // isTypedArray + + interface LoDashStatic { + /** + * Checks if value is classified as a typed array. + * + * @param value The value to check. + * @return Returns true if value is correctly classified, else false. + */ + isTypedArray(value: any): boolean; + } + + interface LoDashImplicitWrapper { + /** + * see _.isTypedArray + */ + isTypedArray(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * see _.isTypedArray + */ + isTypedArray(): LoDashExplicitWrapper; + } + + // isUndefined + + interface LoDashStatic { + /** + * Checks if value is undefined. + * + * @param value The value to check. + * @return Returns true if value is undefined, else false. + */ + isUndefined(value: any): value is undefined; + } + + interface LoDashImplicitWrapper { + /** + * see _.isUndefined + */ + isUndefined(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * see _.isUndefined + */ + isUndefined(): LoDashExplicitWrapper; + } + + // isWeakMap + + interface LoDashStatic { + /** + * Checks if value is classified as a WeakMap object. + * + * @param value The value to check. + * @returns Returns true if value is correctly classified, else false. + */ + isWeakMap(value?: any): value is WeakMap; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isSet + */ + isWeakMap(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isSet + */ + isWeakMap(): LoDashExplicitWrapper; + } + + // isWeakSet + + interface LoDashStatic { + /** + * Checks if value is classified as a WeakSet object. + * + * @param value The value to check. + * @returns Returns true if value is correctly classified, else false. + */ + isWeakSet(value?: any): value is WeakSet; + } + + interface LoDashImplicitWrapper { + /** + * @see _.isWeakSet + */ + isWeakSet(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.isWeakSet + */ + isWeakSet(): LoDashExplicitWrapper; + } + + // lt + + interface LoDashStatic { + /** + * Checks if value is less than other. + * + * @param value The value to compare. + * @param other The other value to compare. + * @return Returns true if value is less than other, else false. + */ + lt( + value: any, + other: any + ): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.lt + */ + lt(other: any): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.lt + */ + lt(other: any): LoDashExplicitWrapper; + } + + // lte + + interface LoDashStatic { + /** + * Checks if value is less than or equal to other. + * + * @param value The value to compare. + * @param other The other value to compare. + * @return Returns true if value is less than or equal to other, else false. + */ + lte( + value: any, + other: any + ): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.lte + */ + lte(other: any): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.lte + */ + lte(other: any): LoDashExplicitWrapper; + } + + // toArray + + interface LoDashStatic { + /** + * Converts value to an array. + * + * @param value The value to convert. + * @return Returns the converted array. + */ + toArray(value: List | Dictionary | NumericDictionary | null | undefined): T[]; + + /** + * @see _.toArray + */ + toArray(value: T): Array; + + /** + * @see _.toArray + */ + toArray(): any[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.toArray + */ + toArray(this: LoDashImplicitWrapper | Dictionary | NumericDictionary | null | undefined>): LoDashImplicitWrapper; + + /** + * @see _.toArray + */ + toArray(this: LoDashImplicitWrapper): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.toArray + */ + toArray(this: LoDashExplicitWrapper | Dictionary | NumericDictionary | null | undefined>): LoDashExplicitWrapper; + + /** + * @see _.toArray + */ + toArray(this: LoDashImplicitWrapper): LoDashExplicitWrapper>; + } + + // toFinite + + interface LoDashStatic { + /** + * Converts `value` to a finite number. + * + * @since 4.12.0 + * @category Lang + * @param value The value to convert. + * @returns Returns the converted number. + * @example + * + * _.toFinite(3.2); + * // => 3.2 + * + * _.toFinite(Number.MIN_VALUE); + * // => 5e-324 + * + * _.toFinite(Infinity); + * // => 1.7976931348623157e+308 + * + * _.toFinite('3.2'); + * // => 3.2 + */ + toFinite(value: any): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.toFinite + */ + toFinite(): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.toFinite + */ + toFinite(): LoDashExplicitWrapper; + } + + // toInteger + + interface LoDashStatic { + /** + * Converts `value` to an integer. + * + * **Note:** This function is loosely based on [`ToInteger`](http://www.ecma-international.org/ecma-262/6.0/#sec-tointeger). + * + * @category Lang + * @param value The value to convert. + * @returns Returns the converted integer. + * @example + * + * _.toInteger(3); + * // => 3 + * + * _.toInteger(Number.MIN_VALUE); + * // => 0 + * + * _.toInteger(Infinity); + * // => 1.7976931348623157e+308 + * + * _.toInteger('3'); + * // => 3 + */ + toInteger(value: any): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.toInteger + */ + toInteger(): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.toInteger + */ + toInteger(): LoDashExplicitWrapper; + } + + // toLength + + interface LoDashStatic { + /** + * Converts `value` to an integer suitable for use as the length of an + * array-like object. + * + * **Note:** This method is based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength). + * + * @category Lang + * @param value The value to convert. + * @return Returns the converted integer. + * @example + * + * _.toLength(3); + * // => 3 + * + * _.toLength(Number.MIN_VALUE); + * // => 0 + * + * _.toLength(Infinity); + * // => 4294967295 + * + * _.toLength('3'); + * // => 3 + */ + toLength(value: any): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.toLength + */ + toLength(): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.toLength + */ + toLength(): LoDashExplicitWrapper; + } + + // toNumber + + interface LoDashStatic { + /** + * Converts `value` to a number. + * + * @category Lang + * @param value The value to process. + * @returns Returns the number. + * @example + * + * _.toNumber(3); + * // => 3 + * + * _.toNumber(Number.MIN_VALUE); + * // => 5e-324 + * + * _.toNumber(Infinity); + * // => Infinity + * + * _.toNumber('3'); + * // => 3 + */ + toNumber(value: any): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.toNumber + */ + toNumber(): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.toNumber + */ + toNumber(): LoDashExplicitWrapper; + } + + // toPlainObject + + interface LoDashStatic { + /** + * Converts value to a plain object flattening inherited enumerable properties of value to own properties + * of the plain object. + * + * @param value The value to convert. + * @return Returns the converted plain object. + */ + toPlainObject(value?: any): any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.toPlainObject + */ + toPlainObject(): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.toPlainObject + */ + toPlainObject(): LoDashExplicitWrapper; + } + + // toSafeInteger + + interface LoDashStatic { + /** + * Converts `value` to a safe integer. A safe integer can be compared and + * represented correctly. + * + * @category Lang + * @param value The value to convert. + * @returns Returns the converted integer. + * @example + * + * _.toSafeInteger(3); + * // => 3 + * + * _.toSafeInteger(Number.MIN_VALUE); + * // => 0 + * + * _.toSafeInteger(Infinity); + * // => 9007199254740991 + * + * _.toSafeInteger('3'); + * // => 3 + */ + toSafeInteger(value: any): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.toSafeInteger + */ + toSafeInteger(): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.toSafeInteger + */ + toSafeInteger(): LoDashExplicitWrapper; + } + + // toString + + interface LoDashStatic { + /** + * Converts `value` to a string if it's not one. An empty string is returned + * for `null` and `undefined` values. The sign of `-0` is preserved. + * + * @category Lang + * @param value The value to process. + * @returns Returns the string. + * @example + * + * _.toString(null); + * // => '' + * + * _.toString(-0); + * // => '-0' + * + * _.toString([1, 2, 3]); + * // => '1,2,3' + */ + toString(value: any): string; + } +} \ No newline at end of file diff --git a/types/lodash/common/math.d.ts b/types/lodash/common/math.d.ts new file mode 100644 index 0000000000..a0af6114b5 --- /dev/null +++ b/types/lodash/common/math.d.ts @@ -0,0 +1,536 @@ +import _ = require("../index"); +declare module "../index" { + // add + + interface LoDashStatic { + /** + * Adds two numbers. + * + * @param augend The first number to add. + * @param addend The second number to add. + * @return Returns the sum. + */ + add( + augend: number, + addend: number + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.add + */ + add(addend: number): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.add + */ + add(addend: number): LoDashExplicitWrapper; + } + + // ceil + + interface LoDashStatic { + /** + * Calculates n rounded up to precision. + * + * @param n The number to round up. + * @param precision The precision to round up to. + * @return Returns the rounded up number. + */ + ceil( + n: number, + precision?: number + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.ceil + */ + ceil(precision?: number): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.ceil + */ + ceil(precision?: number): LoDashExplicitWrapper; + } + + // divide + + interface LoDashStatic { + /** + * Divide two numbers. + * + * @param dividend The first number in a division. + * @param divisor The second number in a division. + * @returns Returns the quotient. + */ + divide( + dividend: number, + divisor: number + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.divide + */ + divide(divisor: number): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.divide + */ + divide(divisor: number): LoDashExplicitWrapper; + } + + // floor + + interface LoDashStatic { + /** + * Calculates n rounded down to precision. + * + * @param n The number to round down. + * @param precision The precision to round down to. + * @return Returns the rounded down number. + */ + floor( + n: number, + precision?: number + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.floor + */ + floor(precision?: number): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.floor + */ + floor(precision?: number): LoDashExplicitWrapper; + } + + // max + + interface LoDashStatic { + /** + * Computes the maximum value of `array`. If `array` is empty or falsey + * `undefined` is returned. + * + * @category Math + * @param array The array to iterate over. + * @returns Returns the maximum value. + */ + max( + collection: List | null | undefined + ): T | undefined; + } + + interface LoDashImplicitWrapper { + /** + * @see _.max + */ + max(this: LoDashImplicitWrapper | null | undefined>): T | undefined; + } + + interface LoDashExplicitWrapper { + /** + * @see _.max + */ + max(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; + } + + // maxBy + + interface LoDashStatic { + /** + * This method is like `_.max` except that it accepts `iteratee` which is + * invoked for each element in `array` to generate the criterion by which + * the value is ranked. The iteratee is invoked with one argument: (value). + * + * @category Math + * @param array The array to iterate over. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns the maximum value. + * @example + * + * var objects = [{ 'n': 1 }, { 'n': 2 }]; + * + * _.maxBy(objects, function(o) { return o.a; }); + * // => { 'n': 2 } + * + * // using the `_.property` iteratee shorthand + * _.maxBy(objects, 'n'); + * // => { 'n': 2 } + */ + maxBy( + collection: List | null | undefined, + iteratee?: ListIteratee + ): T | undefined; + } + + interface LoDashImplicitWrapper { + /** + * @see _.maxBy + */ + maxBy( + this: LoDashImplicitWrapper | null | undefined>, + iteratee?: ListIteratee + ): T | undefined; + } + + interface LoDashExplicitWrapper { + /** + * @see _.maxBy + */ + maxBy( + this: LoDashExplicitWrapper | null | undefined>, + iteratee?: ListIteratee + ): LoDashExplicitWrapper; + } + + // mean + + interface LoDashStatic { + /** + * Computes the mean of the values in `array`. + * + * @category Math + * @param array The array to iterate over. + * @returns Returns the mean. + * @example + * + * _.mean([4, 2, 8, 6]); + * // => 5 + */ + mean( + collection: List | null | undefined + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.mean + */ + mean(): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.mean + */ + mean(): LoDashExplicitWrapper; + } + + // meanBy + + interface LoDashStatic { + /** + * Computes the mean of the provided propties of the objects in the `array` + * + * @category Math + * @param array The array to iterate over. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns the mean. + * @example + * + * _.mean([{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }], 'n'); + * // => 5 + */ + meanBy( + collection: List | null | undefined, + iteratee?: ListIteratee + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.meanBy + */ + meanBy( + this: LoDashImplicitWrapper | null | undefined>, + iteratee?: ListIteratee + ): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.meanBy + */ + meanBy( + this: LoDashExplicitWrapper | null | undefined>, + iteratee?: ListIteratee + ): LoDashExplicitWrapper; + } + + // min + + interface LoDashStatic { + /** + * Computes the minimum value of `array`. If `array` is empty or falsey + * `undefined` is returned. + * + * @category Math + * @param array The array to iterate over. + * @returns Returns the minimum value. + */ + min( + collection: List | null | undefined + ): T | undefined; + } + + interface LoDashImplicitWrapper { + /** + * @see _.min + */ + min(this: LoDashImplicitWrapper | null | undefined>): T | undefined; + } + + interface LoDashExplicitWrapper { + /** + * @see _.min + */ + min(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; + } + + // minBy + + interface LoDashStatic { + /** + * This method is like `_.min` except that it accepts `iteratee` which is + * invoked for each element in `array` to generate the criterion by which + * the value is ranked. The iteratee is invoked with one argument: (value). + * + * @category Math + * @param array The array to iterate over. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns the minimum value. + * @example + * + * var objects = [{ 'n': 1 }, { 'n': 2 }]; + * + * _.minBy(objects, function(o) { return o.a; }); + * // => { 'n': 1 } + * + * // using the `_.property` iteratee shorthand + * _.minBy(objects, 'n'); + * // => { 'n': 1 } + */ + minBy( + collection: List | null | undefined, + iteratee?: ListIteratee + ): T | undefined; + } + + interface LoDashImplicitWrapper { + /** + * @see _.minBy + */ + minBy( + this: LoDashImplicitWrapper | null | undefined>, + iteratee?: ListIteratee + ): T | undefined; + } + + interface LoDashExplicitWrapper { + /** + * @see _.minBy + */ + minBy( + this: LoDashExplicitWrapper | null | undefined>, + iteratee?: ListIteratee + ): LoDashExplicitWrapper; + } + + // multiply + + interface LoDashStatic { + /** + * Multiply two numbers. + * @param multiplier The first number in a multiplication. + * @param multiplicand The second number in a multiplication. + * @returns Returns the product. + */ + multiply( + multiplier: number, + multiplicand: number + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.multiply + */ + multiply(multiplicand: number): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.multiply + */ + multiply(multiplicand: number): LoDashExplicitWrapper; + } + + // round + + interface LoDashStatic { + /** + * Calculates n rounded to precision. + * + * @param n The number to round. + * @param precision The precision to round to. + * @return Returns the rounded number. + */ + round( + n: number, + precision?: number + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.round + */ + round(precision?: number): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.round + */ + round(precision?: number): LoDashExplicitWrapper; + } + + // subtract + + interface LoDashStatic { + /** + * Subtract two numbers. + * + * @category Math + * @param minuend The first number in a subtraction. + * @param subtrahend The second number in a subtraction. + * @returns Returns the difference. + * @example + * + * _.subtract(6, 4); + * // => 2 + */ + subtract( + minuend: number, + subtrahend: number + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.subtract + */ + subtract( + subtrahend: number + ): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.subtract + */ + subtract( + subtrahend: number + ): LoDashExplicitWrapper; + } + + // sum + + interface LoDashStatic { + /** + * Computes the sum of the values in `array`. + * + * @category Math + * @param array The array to iterate over. + * @returns Returns the sum. + * @example + * + * _.sum([4, 2, 8, 6]); + * // => 20 + */ + sum(collection: List | null | undefined): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.sum + */ + sum(): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.sum + */ + sum(): LoDashExplicitWrapper; + } + + // sumBy + + interface LoDashStatic { + /** + * This method is like `_.sum` except that it accepts `iteratee` which is + * invoked for each element in `array` to generate the value to be summed. + * The iteratee is invoked with one argument: (value). + * + * @category Math + * @param array The array to iterate over. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns the sum. + * @example + * + * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }]; + * + * _.sumBy(objects, function(o) { return o.n; }); + * // => 20 + * + * // using the `_.property` iteratee shorthand + * _.sumBy(objects, 'n'); + * // => 20 + */ + sumBy( + collection: List | null | undefined, + iteratee?: ((value: T) => number) | string + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.sumBy + */ + sumBy( + this: LoDashImplicitWrapper | null | undefined>, + iteratee?: ((value: T) => number) | string + ): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.sumBy + */ + sumBy( + this: LoDashExplicitWrapper | null | undefined>, + iteratee?: ((value: T) => number) | string + ): LoDashExplicitWrapper; + } + + /********** + * Number * + **********/ +} \ No newline at end of file diff --git a/types/lodash/number/random.d.ts b/types/lodash/common/number.d.ts similarity index 51% rename from types/lodash/number/random.d.ts rename to types/lodash/common/number.d.ts index a6522326f6..3e6a945855 100644 --- a/types/lodash/number/random.d.ts +++ b/types/lodash/common/number.d.ts @@ -1,5 +1,102 @@ import _ = require("../index"); declare module "../index" { + // clamp + + interface LoDashStatic { + /** + * Clamps `number` within the inclusive `lower` and `upper` bounds. + * + * @category Number + * @param number The number to clamp. + * @param [lower] The lower bound. + * @param upper The upper bound. + * @returns Returns the clamped number. + * @example + * + * _.clamp(-10, -5, 5); + * // => -5 + * + * _.clamp(10, -5, 5); + * // => 5 + */ + clamp( + number: number, + lower: number, + upper: number + ): number; + clamp( + number: number, + upper: number + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.clamp + */ + clamp( + lower: number, + upper: number + ): number; + clamp( + upper: number + ): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.clamp + */ + clamp( + lower: number, + upper: number + ): LoDashExplicitWrapper; + clamp( + upper: number + ): LoDashExplicitWrapper; + } + + // inRange + + interface LoDashStatic { + /** + * Checks if n is between start and up to but not including, end. If end is not specified it’s set to start + * with start then set to 0. + * + * @param n The number to check. + * @param start The start of the range. + * @param end The end of the range. + * @return Returns true if n is in the range, else false. + */ + inRange( + n: number, + start: number, + end?: number + ): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.inRange + */ + inRange( + start: number, + end?: number + ): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.inRange + */ + inRange( + start: number, + end?: number + ): LoDashExplicitWrapper; + } + + // random + interface LoDashStatic { /** * Produces a random number between min and max (inclusive). If only one argument is provided a number between diff --git a/types/lodash/common/object.d.ts b/types/lodash/common/object.d.ts new file mode 100644 index 0000000000..6100e25c43 --- /dev/null +++ b/types/lodash/common/object.d.ts @@ -0,0 +1,3653 @@ +import _ = require("../index"); +declare module "../index" { + // assign + + interface LoDashStatic { + /** + * Assigns own enumerable properties of source objects to the destination + * object. Source objects are applied from left to right. Subsequent sources + * overwrite property assignments of previous sources. + * + * **Note:** This method mutates `object` and is loosely based on + * [`Object.assign`](https://mdn.io/Object/assign). + * + * @category Object + * @param object The destination object. + * @param [sources] The source objects. + * @returns Returns `object`. + * @example + * + * function Foo() { + * this.c = 3; + * } + * + * function Bar() { + * this.e = 5; + * } + * + * Foo.prototype.d = 4; + * Bar.prototype.f = 6; + * + * _.assign({ 'a': 1 }, new Foo, new Bar); + * // => { 'a': 1, 'c': 3, 'e': 5 } + */ + assign( + object: TObject, + source: TSource + ): TObject & TSource; + + /** + * @see assign + */ + assign( + object: TObject, + source1: TSource1, + source2: TSource2 + ): TObject & TSource1 & TSource2; + + /** + * @see assign + */ + assign( + object: TObject, + source1: TSource1, + source2: TSource2, + source3: TSource3 + ): TObject & TSource1 & TSource2 & TSource3; + + /** + * @see assign + */ + assign( + object: TObject, + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4 + ): TObject & TSource1 & TSource2 & TSource3 & TSource4; + + /** + * @see _.assign + */ + assign(object: TObject): TObject; + + /** + * @see _.assign + */ + assign( + object: any, + ...otherArgs: any[] + ): any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.assign + */ + assign( + source: TSource + ): LoDashImplicitWrapper; + + /** + * @see assign + */ + assign( + source1: TSource1, + source2: TSource2 + ): LoDashImplicitWrapper; + + /** + * @see assign + */ + assign( + source1: TSource1, + source2: TSource2, + source3: TSource3 + ): LoDashImplicitWrapper; + + /** + * @see assign + */ + assign( + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4 + ): LoDashImplicitWrapper; + + /** + * @see _.assign + */ + assign(): LoDashImplicitWrapper; + + /** + * @see _.assign + */ + assign(...otherArgs: any[]): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.assign + */ + assign( + source: TSource + ): LoDashExplicitWrapper; + + /** + * @see assign + */ + assign( + source1: TSource1, + source2: TSource2 + ): LoDashExplicitWrapper; + + /** + * @see assign + */ + assign( + source1: TSource1, + source2: TSource2, + source3: TSource3 + ): LoDashExplicitWrapper; + + /** + * @see assign + */ + assign( + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4 + ): LoDashExplicitWrapper; + + /** + * @see _.assign + */ + assign(): LoDashExplicitWrapper; + + /** + * @see _.assign + */ + assign(...otherArgs: any[]): LoDashExplicitWrapper; + } + + // assignIn + + interface LoDashStatic { + /** + * This method is like `_.assign` except that it iterates over own and + * inherited source properties. + * + * **Note:** This method mutates `object`. + * + * @alias extend + * @category Object + * @param object The destination object. + * @param [sources] The source objects. + * @returns Returns `object`. + * @example + * + * function Foo() { + * this.b = 2; + * } + * + * function Bar() { + * this.d = 4; + * } + * + * Foo.prototype.c = 3; + * Bar.prototype.e = 5; + * + * _.assignIn({ 'a': 1 }, new Foo, new Bar); + * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4, 'e': 5 } + */ + assignIn( + object: TObject, + source: TSource + ): TObject & TSource; + + /** + * @see assignIn + */ + assignIn( + object: TObject, + source1: TSource1, + source2: TSource2 + ): TObject & TSource1 & TSource2; + + /** + * @see assignIn + */ + assignIn( + object: TObject, + source1: TSource1, + source2: TSource2, + source3: TSource3 + ): TObject & TSource1 & TSource2 & TSource3; + + /** + * @see assignIn + */ + assignIn( + object: TObject, + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4 + ): TObject & TSource1 & TSource2 & TSource3 & TSource4; + + /** + * @see _.assignIn + */ + assignIn(object: TObject): TObject; + + /** + * @see _.assignIn + */ + assignIn( + object: any, + ...otherArgs: any[] + ): TResult; + } + + interface LoDashImplicitWrapper { + /** + * @see _.assignIn + */ + assignIn( + source: TSource + ): LoDashImplicitWrapper; + + /** + * @see assignIn + */ + assignIn( + source1: TSource1, + source2: TSource2 + ): LoDashImplicitWrapper; + + /** + * @see assignIn + */ + assignIn( + source1: TSource1, + source2: TSource2, + source3: TSource3 + ): LoDashImplicitWrapper; + + /** + * @see assignIn + */ + assignIn( + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4 + ): LoDashImplicitWrapper; + + /** + * @see _.assignIn + */ + assignIn(): LoDashImplicitWrapper; + + /** + * @see _.assignIn + */ + assignIn(...otherArgs: any[]): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.assignIn + */ + assignIn( + source: TSource + ): LoDashExplicitWrapper; + + /** + * @see assignIn + */ + assignIn( + source1: TSource1, + source2: TSource2 + ): LoDashExplicitWrapper; + + /** + * @see assignIn + */ + assignIn( + source1: TSource1, + source2: TSource2, + source3: TSource3 + ): LoDashExplicitWrapper; + + /** + * @see assignIn + */ + assignIn( + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4 + ): LoDashExplicitWrapper; + + /** + * @see _.assignIn + */ + assignIn(): LoDashExplicitWrapper; + + /** + * @see _.assignIn + */ + assignIn(...otherArgs: any[]): LoDashExplicitWrapper; + } + + // assignInWith + + type AssignCustomizer = (objectValue: any, sourceValue: any, key?: string, object?: {}, source?: {}) => any; + + interface LoDashStatic { + /** + * This method is like `_.assignIn` except that it accepts `customizer` which + * is invoked to produce the assigned values. If `customizer` returns `undefined` + * assignment is handled by the method instead. The `customizer` is invoked + * with five arguments: (objValue, srcValue, key, object, source). + * + * **Note:** This method mutates `object`. + * + * @alias extendWith + * @category Object + * @param object The destination object. + * @param sources The source objects. + * @param [customizer] The function to customize assigned values. + * @returns Returns `object`. + * @example + * + * function customizer(objValue, srcValue) { + * return _.isUndefined(objValue) ? srcValue : objValue; + * } + * + * var defaults = _.partialRight(_.assignInWith, customizer); + * + * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); + * // => { 'a': 1, 'b': 2 } + */ + assignInWith( + object: TObject, + source: TSource, + customizer: AssignCustomizer + ): TObject & TSource; + + /** + * @see assignInWith + */ + assignInWith( + object: TObject, + source1: TSource1, + source2: TSource2, + customizer: AssignCustomizer + ): TObject & TSource1 & TSource2; + + /** + * @see assignInWith + */ + assignInWith( + object: TObject, + source1: TSource1, + source2: TSource2, + source3: TSource3, + customizer: AssignCustomizer + ): TObject & TSource1 & TSource2 & TSource3; + + /** + * @see assignInWith + */ + assignInWith( + object: TObject, + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4, + customizer: AssignCustomizer + ): TObject & TSource1 & TSource2 & TSource3 & TSource4; + + /** + * @see _.assignInWith + */ + assignInWith(object: TObject): TObject; + + /** + * @see _.assignInWith + */ + assignInWith( + object: any, + ...otherArgs: any[] + ): TResult; + } + + interface LoDashImplicitWrapper { + /** + * @see _.assignInWith + */ + assignInWith( + source: TSource, + customizer: AssignCustomizer + ): LoDashImplicitWrapper; + + /** + * @see assignInWith + */ + assignInWith( + source1: TSource1, + source2: TSource2, + customizer: AssignCustomizer + ): LoDashImplicitWrapper; + + /** + * @see assignInWith + */ + assignInWith( + source1: TSource1, + source2: TSource2, + source3: TSource3, + customizer: AssignCustomizer + ): LoDashImplicitWrapper; + + /** + * @see assignInWith + */ + assignInWith( + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4, + customizer: AssignCustomizer + ): LoDashImplicitWrapper; + + /** + * @see _.assignInWith + */ + assignInWith(): LoDashImplicitWrapper; + + /** + * @see _.assignInWith + */ + assignInWith(...otherArgs: any[]): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.assignInWith + */ + assignInWith( + source: TSource, + customizer: AssignCustomizer + ): LoDashExplicitWrapper; + + /** + * @see assignInWith + */ + assignInWith( + source1: TSource1, + source2: TSource2, + customizer: AssignCustomizer + ): LoDashExplicitWrapper; + + /** + * @see assignInWith + */ + assignInWith( + source1: TSource1, + source2: TSource2, + source3: TSource3, + customizer: AssignCustomizer + ): LoDashExplicitWrapper; + + /** + * @see assignInWith + */ + assignInWith( + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4, + customizer: AssignCustomizer + ): LoDashExplicitWrapper; + + /** + * @see _.assignInWith + */ + assignInWith(): LoDashExplicitWrapper; + + /** + * @see _.assignInWith + */ + assignInWith(...otherArgs: any[]): LoDashExplicitWrapper; + } + + // assignWith + + interface LoDashStatic { + /** + * This method is like `_.assign` except that it accepts `customizer` which + * is invoked to produce the assigned values. If `customizer` returns `undefined` + * assignment is handled by the method instead. The `customizer` is invoked + * with five arguments: (objValue, srcValue, key, object, source). + * + * **Note:** This method mutates `object`. + * + * @category Object + * @param object The destination object. + * @param sources The source objects. + * @param [customizer] The function to customize assigned values. + * @returns Returns `object`. + * @example + * + * function customizer(objValue, srcValue) { + * return _.isUndefined(objValue) ? srcValue : objValue; + * } + * + * var defaults = _.partialRight(_.assignWith, customizer); + * + * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); + * // => { 'a': 1, 'b': 2 } + */ + assignWith( + object: TObject, + source: TSource, + customizer: AssignCustomizer + ): TObject & TSource; + + /** + * @see assignWith + */ + assignWith( + object: TObject, + source1: TSource1, + source2: TSource2, + customizer: AssignCustomizer + ): TObject & TSource1 & TSource2; + + /** + * @see assignWith + */ + assignWith( + object: TObject, + source1: TSource1, + source2: TSource2, + source3: TSource3, + customizer: AssignCustomizer + ): TObject & TSource1 & TSource2 & TSource3; + + /** + * @see assignWith + */ + assignWith( + object: TObject, + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4, + customizer: AssignCustomizer + ): TObject & TSource1 & TSource2 & TSource3 & TSource4; + + /** + * @see _.assignWith + */ + assignWith(object: TObject): TObject; + + /** + * @see _.assignWith + */ + assignWith( + object: any, + ...otherArgs: any[] + ): TResult; + } + + interface LoDashImplicitWrapper { + /** + * @see _.assignWith + */ + assignWith( + source: TSource, + customizer: AssignCustomizer + ): LoDashImplicitWrapper; + + /** + * @see assignWith + */ + assignWith( + source1: TSource1, + source2: TSource2, + customizer: AssignCustomizer + ): LoDashImplicitWrapper; + + /** + * @see assignWith + */ + assignWith( + source1: TSource1, + source2: TSource2, + source3: TSource3, + customizer: AssignCustomizer + ): LoDashImplicitWrapper; + + /** + * @see assignWith + */ + assignWith( + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4, + customizer: AssignCustomizer + ): LoDashImplicitWrapper; + + /** + * @see _.assignWith + */ + assignWith(): LoDashImplicitWrapper; + + /** + * @see _.assignWith + */ + assignWith(...otherArgs: any[]): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.assignWith + */ + assignWith( + source: TSource, + customizer: AssignCustomizer + ): LoDashExplicitWrapper; + + /** + * @see assignWith + */ + assignWith( + source1: TSource1, + source2: TSource2, + customizer: AssignCustomizer + ): LoDashExplicitWrapper; + + /** + * @see assignWith + */ + assignWith( + source1: TSource1, + source2: TSource2, + source3: TSource3, + customizer: AssignCustomizer + ): LoDashExplicitWrapper; + + /** + * @see assignWith + */ + assignWith( + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4, + customizer: AssignCustomizer + ): LoDashExplicitWrapper; + + /** + * @see _.assignWith + */ + assignWith(): LoDashExplicitWrapper; + + /** + * @see _.assignWith + */ + assignWith(...otherArgs: any[]): LoDashExplicitWrapper; + } + + // at + + interface LoDashStatic { + /** + * Creates an array of elements corresponding to the given keys, or indexes, of collection. Keys may be + * specified as individual arguments or as arrays of keys. + * + * @param object The object to iterate over. + * @param props The property names or indexes of elements to pick, specified individually or in arrays. + * @return Returns the new array of picked elements. + */ + at( + object: List | Dictionary | null | undefined, + ...props: PropertyPath[] + ): T[]; + + /** + * @see _.at + */ + at( + object: T | null | undefined, + ...props: Array> + ): Array; + } + + interface LoDashImplicitWrapper { + /** + * @see _.at + */ + at( + this: LoDashImplicitWrapper | Dictionary | null | undefined>, + ...props: PropertyPath[] + ): LoDashImplicitWrapper; + + /** + * @see _.at + */ + at( + this: LoDashImplicitWrapper, + ...props: Array> + ): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.at + */ + at( + this: LoDashExplicitWrapper | Dictionary | null | undefined>, + ...props: PropertyPath[] + ): LoDashExplicitWrapper; + + /** + * @see _.at + */ + at( + this: LoDashExplicitWrapper, + ...props: Array> + ): LoDashExplicitWrapper>; + } + + // create + + interface LoDashStatic { + /** + * Creates an object that inherits from the given prototype object. If a properties object is provided its own + * enumerable properties are assigned to the created object. + * + * @param prototype The object to inherit from. + * @param properties The properties to assign to the object. + * @return Returns the new object. + */ + create( + prototype: T, + properties?: U + ): T & U; + } + + interface LoDashImplicitWrapper { + /** + * @see _.create + */ + create(properties?: U): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.create + */ + create(properties?: U): LoDashExplicitWrapper; + } + + // defaults + + interface LoDashStatic { + /** + * Assigns own enumerable properties of source object(s) to the destination object for all destination + * properties that resolve to undefined. Once a property is set, additional values of the same property are + * ignored. + * + * Note: This method mutates object. + * + * @param object The destination object. + * @param sources The source objects. + * @return The destination object. + */ + defaults( + object: TObject, + source: TSource + ): TSource & TObject; + + /** + * @see _.defaults + */ + defaults( + object: TObject, + source1: TSource1, + source2: TSource2 + ): TSource2 & TSource1 & TObject; + + /** + * @see _.defaults + */ + defaults( + object: TObject, + source1: TSource1, + source2: TSource2, + source3: TSource3 + ): TSource3 & TSource2 & TSource1 & TObject; + + /** + * @see _.defaults + */ + defaults( + object: TObject, + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4 + ): TSource4 & TSource3 & TSource2 & TSource1 & TObject; + + /** + * @see _.defaults + */ + defaults(object: TObject): TObject; + + /** + * @see _.defaults + */ + defaults( + object: any, + ...sources: any[] + ): any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.defaults + */ + defaults( + source: TSource + ): LoDashImplicitWrapper; + + /** + * @see _.defaults + */ + defaults( + source1: TSource1, + source2: TSource2 + ): LoDashImplicitWrapper; + + /** + * @see _.defaults + */ + defaults( + source1: TSource1, + source2: TSource2, + source3: TSource3 + ): LoDashImplicitWrapper; + + /** + * @see _.defaults + */ + defaults( + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4 + ): LoDashImplicitWrapper; + + /** + * @see _.defaults + */ + defaults(): LoDashImplicitWrapper; + + /** + * @see _.defaults + */ + defaults(...sources: any[]): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.defaults + */ + defaults( + source: TSource + ): LoDashExplicitWrapper; + + /** + * @see _.defaults + */ + defaults( + source1: TSource1, + source2: TSource2 + ): LoDashExplicitWrapper; + + /** + * @see _.defaults + */ + defaults( + source1: TSource1, + source2: TSource2, + source3: TSource3 + ): LoDashExplicitWrapper; + + /** + * @see _.defaults + */ + defaults( + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4 + ): LoDashExplicitWrapper; + + /** + * @see _.defaults + */ + defaults(): LoDashExplicitWrapper; + + /** + * @see _.defaults + */ + defaults(...sources: any[]): LoDashExplicitWrapper; + } + + // defaultsDeep + + interface LoDashStatic { + /** + * This method is like _.defaults except that it recursively assigns default properties. + * @param object The destination object. + * @param sources The source objects. + * @return Returns object. + **/ + defaultsDeep( + object: any, + ...sources: any[]): any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.defaultsDeep + **/ + defaultsDeep(...sources: any[]): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.defaultsDeep + **/ + defaultsDeep(...sources: any[]): LoDashExplicitWrapper; + } + + // entries + + interface LoDashStatic { + /** + * @see _.toPairs + */ + entries(object?: Dictionary): Array<[string, T]>; + + /** + * @see _.toPairs + */ + entries(object?: object): Array<[string, any]>; + } + + interface LoDashImplicitWrapper { + /** + * @see _.toPairs + */ + entries(this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; + + /** + * @see _.toPairs + */ + entries(): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.toPairs + */ + entries(this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; + + /** + * @see _.toPairs + */ + entries(): LoDashExplicitWrapper>; + } + + // entriesIn + + interface LoDashStatic { + /** + * @see _.entriesIn + */ + entriesIn(object?: Dictionary): Array<[string, T]>; + + /** + * @see _.entriesIn + */ + entriesIn(object?: object): Array<[string, any]>; + } + + interface LoDashImplicitWrapper { + /** + * @see _.entriesIn + */ + entriesIn(this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; + + /** + * @see _.entriesIn + */ + entriesIn(): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.entriesIn + */ + entriesIn(this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; + + /** + * @see _.entriesIn + */ + entriesIn(): LoDashExplicitWrapper>; + } + + // extend + + interface LoDashStatic { + /** + * @see _.extend + */ + extend( + object: TObject, + source: TSource + ): TObject & TSource; + + /** + * @see _.extend + */ + extend( + object: TObject, + source1: TSource1, + source2: TSource2 + ): TObject & TSource1 & TSource2; + + /** + * @see _.extend + */ + extend( + object: TObject, + source1: TSource1, + source2: TSource2, + source3: TSource3 + ): TObject & TSource1 & TSource2 & TSource3; + + /** + * @see _.extend + */ + extend( + object: TObject, + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4 + ): TObject & TSource1 & TSource2 & TSource3 & TSource4; + + /** + * @see _.extend + */ + extend(object: TObject): TObject; + + /** + * @see _.extend + */ + extend( + object: any, + ...otherArgs: any[] + ): TResult; + } + + interface LoDashImplicitWrapper { + /** + * @see _.extend + */ + extend( + source: TSource + ): LoDashImplicitWrapper; + + /** + * @see _.extend + */ + extend( + source1: TSource1, + source2: TSource2 + ): LoDashImplicitWrapper; + + /** + * @see _.extend + */ + extend( + source1: TSource1, + source2: TSource2, + source3: TSource3 + ): LoDashImplicitWrapper; + + /** + * @see _.extend + */ + extend( + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4 + ): LoDashImplicitWrapper; + + /** + * @see _.extend + */ + extend(): LoDashImplicitWrapper; + + /** + * @see _.extend + */ + extend(...otherArgs: any[]): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.extend + */ + extend( + source: TSource + ): LoDashExplicitWrapper; + + /** + * @see _.extend + */ + extend( + source1: TSource1, + source2: TSource2 + ): LoDashExplicitWrapper; + + /** + * @see _.extend + */ + extend( + source1: TSource1, + source2: TSource2, + source3: TSource3 + ): LoDashExplicitWrapper; + + /** + * @see _.extend + */ + extend( + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4 + ): LoDashExplicitWrapper; + + /** + * @see _.extend + */ + extend(): LoDashExplicitWrapper; + + /** + * @see _.extend + */ + extend(...otherArgs: any[]): LoDashExplicitWrapper; + } + + // extendWith + + interface LoDashStatic { + /** + * @see _.extendWith + */ + extendWith( + object: TObject, + source: TSource, + customizer: AssignCustomizer + ): TObject & TSource; + + /** + * @see _.extendWith + */ + extendWith( + object: TObject, + source1: TSource1, + source2: TSource2, + customizer: AssignCustomizer + ): TObject & TSource1 & TSource2; + + /** + * @see _.extendWith + */ + extendWith( + object: TObject, + source1: TSource1, + source2: TSource2, + source3: TSource3, + customizer: AssignCustomizer + ): TObject & TSource1 & TSource2 & TSource3; + + /** + * @see _.extendWith + */ + extendWith( + object: TObject, + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4, + customizer: AssignCustomizer + ): TObject & TSource1 & TSource2 & TSource3 & TSource4; + + /** + * @see _.extendWith + */ + extendWith(object: TObject): TObject; + + /** + * @see _.extendWith + */ + extendWith( + object: any, + ...otherArgs: any[] + ): TResult; + } + + interface LoDashImplicitWrapper { + /** + * @see _.extendWith + */ + extendWith( + source: TSource, + customizer: AssignCustomizer + ): LoDashImplicitWrapper; + + /** + * @see _.extendWith + */ + extendWith( + source1: TSource1, + source2: TSource2, + customizer: AssignCustomizer + ): LoDashImplicitWrapper; + + /** + * @see _.extendWith + */ + extendWith( + source1: TSource1, + source2: TSource2, + source3: TSource3, + customizer: AssignCustomizer + ): LoDashImplicitWrapper; + + /** + * @see _.extendWith + */ + extendWith( + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4, + customizer: AssignCustomizer + ): LoDashImplicitWrapper; + + /** + * @see _.extendWith + */ + extendWith(): LoDashImplicitWrapper; + + /** + * @see _.extendWith + */ + extendWith(...otherArgs: any[]): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.extendWith + */ + extendWith( + source: TSource, + customizer: AssignCustomizer + ): LoDashExplicitWrapper; + + /** + * @see _.extendWith + */ + extendWith( + source1: TSource1, + source2: TSource2, + customizer: AssignCustomizer + ): LoDashExplicitWrapper; + + /** + * @see _.extendWith + */ + extendWith( + source1: TSource1, + source2: TSource2, + source3: TSource3, + customizer: AssignCustomizer + ): LoDashExplicitWrapper; + + /** + * @see _.extendWith + */ + extendWith( + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4, + customizer: AssignCustomizer + ): LoDashExplicitWrapper; + + /** + * @see _.extendWith + */ + extendWith(): LoDashExplicitWrapper; + + /** + * @see _.extendWith + */ + extendWith(...otherArgs: any[]): LoDashExplicitWrapper; + } + + // findKey + + interface LoDashStatic { + /** + * This method is like _.find except that it returns the key of the first element predicate returns truthy for + * instead of the element itself. + * + * If a property name is provided for predicate the created _.property style callback returns the property + * value of the given element. + * + * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for + * elements that have a matching property value, else false. + * + * If an object is provided for predicate the created _.matches style callback returns true for elements that + * have the properties of the given object, else false. + * + * @param object The object to search. + * @param predicate The function invoked per iteration. + * @param thisArg The this binding of predicate. + * @return Returns the key of the matched element, else undefined. + */ + findKey( + object: T | null | undefined, + predicate?: ObjectIteratee + ): string | undefined; + } + + interface LoDashImplicitWrapper { + /** + * @see _.findKey + */ + findKey( + this: LoDashImplicitWrapper, + predicate?: ObjectIteratee + ): string | undefined; + } + + interface LoDashExplicitWrapper { + /** + * @see _.findKey + */ + findKey( + this: LoDashExplicitWrapper, + predicate?: ObjectIteratee + ): LoDashExplicitWrapper; + } + + // findLastKey + + interface LoDashStatic { + /** + * This method is like _.findKey except that it iterates over elements of a collection in the opposite order. + * + * If a property name is provided for predicate the created _.property style callback returns the property + * value of the given element. + * + * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for + * elements that have a matching property value, else false. + * + * If an object is provided for predicate the created _.matches style callback returns true for elements that + * have the properties of the given object, else false. + * + * @param object The object to search. + * @param predicate The function invoked per iteration. + * @param thisArg The this binding of predicate. + * @return Returns the key of the matched element, else undefined. + */ + findLastKey( + object: T | null | undefined, + predicate?: ObjectIteratee + ): string | undefined; + } + + interface LoDashImplicitWrapper { + /** + * @see _.findLastKey + */ + findLastKey( + this: LoDashImplicitWrapper, + predicate?: ObjectIteratee + ): string | undefined; + } + + interface LoDashExplicitWrapper { + /** + * @see _.findLastKey + */ + findLastKey( + this: LoDashExplicitWrapper, + predicate?: ObjectIteratee + ): LoDashExplicitWrapper; + } + + // forIn + + interface LoDashStatic { + /** + * Iterates over own and inherited enumerable properties of an object invoking iteratee for each property. The + * iteratee is bound to thisArg and invoked with three arguments: (value, key, object). Iteratee functions may + * exit iteration early by explicitly returning false. + * + * @param object The object to iterate over. + * @param iteratee The function invoked per iteration. + * @param thisArg The this binding of iteratee. + * @return Returns object. + */ + forIn( + object: T, + iteratee?: ObjectIterator + ): T; + + /** + * @see _.forIn + */ + forIn( + object: T | null | undefined, + iteratee?: ObjectIterator + ): T | null | undefined; + } + + interface LoDashWrapper { + /** + * @see _.forIn + */ + forIn( + this: LoDashWrapper, + iteratee?: ObjectIterator + ): this; + } + + // forInRight + + interface LoDashStatic { + /** + * This method is like _.forIn except that it iterates over properties of object in the opposite order. + * + * @param object The object to iterate over. + * @param iteratee The function invoked per iteration. + * @param thisArg The this binding of iteratee. + * @return Returns object. + */ + forInRight( + object: T, + iteratee?: ObjectIterator + ): T; + + /** + * @see _.forInRight + */ + forInRight( + object: T | null | undefined, + iteratee?: ObjectIterator + ): T | null | undefined; + } + + interface LoDashWrapper { + /** + * @see _.forInRight + */ + forInRight( + this: LoDashWrapper, + iteratee?: ObjectIterator + ): this; + } + + // forOwn + + interface LoDashStatic { + /** + * Iterates over own enumerable properties of an object invoking iteratee for each property. The iteratee is + * bound to thisArg and invoked with three arguments: (value, key, object). Iteratee functions may exit + * iteration early by explicitly returning false. + * + * @param object The object to iterate over. + * @param iteratee The function invoked per iteration. + * @param thisArg The this binding of iteratee. + * @return Returns object. + */ + forOwn( + object: T, + iteratee?: ObjectIterator + ): T; + + /** + * @see _.forOwn + */ + forOwn( + object: T | null | undefined, + iteratee?: ObjectIterator + ): T | null | undefined; + } + + interface LoDashWrapper { + /** + * @see _.forOwn + */ + forOwn( + this: LoDashWrapper, + iteratee?: ObjectIterator + ): this; + } + + // forOwnRight + + interface LoDashStatic { + /** + * This method is like _.forOwn except that it iterates over properties of object in the opposite order. + * + * @param object The object to iterate over. + * @param iteratee The function invoked per iteration. + * @param thisArg The this binding of iteratee. + * @return Returns object. + */ + forOwnRight( + object: T, + iteratee?: ObjectIterator + ): T; + + /** + * @see _.forOwnRight + */ + forOwnRight( + object: T | null | undefined, + iteratee?: ObjectIterator + ): T | null | undefined; + } + + interface LoDashWrapper { + /** + * @see _.forOwnRight + */ + forOwnRight( + this: LoDashWrapper, + iteratee?: ObjectIterator + ): this; + } + + // functions + + interface LoDashStatic { + /** + * Creates an array of function property names from own enumerable properties + * of `object`. + * + * @category Object + * @param object The object to inspect. + * @returns Returns the new array of property names. + * @example + * + * function Foo() { + * this.a = _.constant('a'); + * this.b = _.constant('b'); + * } + * + * Foo.prototype.c = _.constant('c'); + * + * _.functions(new Foo); + * // => ['a', 'b'] + */ + functions(object: any): string[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.functions + */ + functions(): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.functions + */ + functions(): LoDashExplicitWrapper; + } + + // functionsIn + + interface LoDashStatic { + /** + * Creates an array of function property names from own and inherited + * enumerable properties of `object`. + * + * @category Object + * @param object The object to inspect. + * @returns Returns the new array of property names. + * @example + * + * function Foo() { + * this.a = _.constant('a'); + * this.b = _.constant('b'); + * } + * + * Foo.prototype.c = _.constant('c'); + * + * _.functionsIn(new Foo); + * // => ['a', 'b', 'c'] + */ + functionsIn(object: any): string[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.functionsIn + */ + functionsIn(): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.functionsIn + */ + functionsIn(): LoDashExplicitWrapper; + } + + // get + + interface LoDashStatic { + /** + * Gets the property value at path of object. If the resolved value is undefined the defaultValue is used + * in its place. + * + * @param object The object to query. + * @param path The path of the property to get. + * @param defaultValue The value returned if the resolved value is undefined. + * @return Returns the resolved value. + */ + get( + object: TObject, + path: TKey | [TKey] + ): TObject[TKey]; + + /** + * @see _.get + */ + get( + object: TObject | null | undefined, + path: TKey | [TKey] + ): TObject[TKey] | undefined; + + /** + * @see _.get + */ + get( + object: TObject | null | undefined, + path: TKey | [TKey], + defaultValue: TDefault + ): TObject[TKey] | TDefault; + + /** + * @see _.get + */ + get( + object: NumericDictionary, + path: number + ): T; + + /** + * @see _.get + */ + get( + object: NumericDictionary | null | undefined, + path: number + ): T | undefined; + + /** + * @see _.get + */ + get( + object: NumericDictionary | null | undefined, + path: number, + defaultValue: TDefault + ): T | TDefault; + + /** + * @see _.get + */ + get( + object: null | undefined, + path: PropertyPath, + defaultValue: TDefault + ): TDefault; + + /** + * @see _.get + */ + get( + object: null | undefined, + path: PropertyPath + ): undefined; + + /** + * @see _.get + */ + get( + object: any, + path: PropertyPath, + defaultValue?: any + ): any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.get + */ + get( + path: TKey | [TKey] + ): TValue[TKey]; + + /** + * @see _.get + */ + get( + this: LoDashImplicitWrapper, + path: TKey | [TKey], + ): TObject[TKey] | undefined; + + /** + * @see _.get + */ + get( + this: LoDashImplicitWrapper, + path: TKey | [TKey], + defaultValue: TDefault + ): TObject[TKey] | TDefault; + + /** + * @see _.get + */ + get( + this: LoDashImplicitWrapper>, + path: number + ): T; + + /** + * @see _.get + */ + get( + this: LoDashImplicitWrapper | null | undefined>, + path: number + ): T | undefined; + + /** + * @see _.get + */ + get( + this: LoDashImplicitWrapper | null | undefined>, + path: number, + defaultValue: TDefault + ): T | TDefault; + + /** + * @see _.get + */ + get( + this: LoDashImplicitWrapper, + path: PropertyPath, + defaultValue: TDefault + ): TDefault; + + /** + * @see _.get + */ + get( + this: LoDashImplicitWrapper, + path: PropertyPath + ): undefined; + + /** + * @see _.get + */ + get( + path: PropertyPath, + defaultValue?: any + ): any; + } + + interface LoDashExplicitWrapper { + /** + * @see _.get + */ + get( + path: TKey | [TKey] + ): LoDashExplicitWrapper; + + /** + * @see _.get + */ + get( + this: LoDashExplicitWrapper, + path: TKey | [TKey], + ): LoDashExplicitWrapper; + + /** + * @see _.get + */ + get( + this: LoDashExplicitWrapper, + path: TKey | [TKey], + defaultValue: TDefault + ): LoDashExplicitWrapper; + + /** + * @see _.get + */ + get( + this: LoDashExplicitWrapper>, + path: number + ): LoDashExplicitWrapper; + + /** + * @see _.get + */ + get( + this: LoDashExplicitWrapper | null | undefined>, + path: number + ): LoDashExplicitWrapper; + + /** + * @see _.get + */ + get( + this: LoDashExplicitWrapper | null | undefined>, + path: number, + defaultValue: TDefault + ): LoDashExplicitWrapper; + + /** + * @see _.get + */ + get( + this: LoDashExplicitWrapper, + path: PropertyPath, + defaultValue: TDefault + ): LoDashExplicitWrapper; + + /** + * @see _.get + */ + get( + this: LoDashExplicitWrapper, + path: PropertyPath + ): LoDashExplicitWrapper; + + /** + * @see _.get + */ + get( + path: PropertyPath, + defaultValue?: any + ): LoDashExplicitWrapper; + } + + // has + + interface LoDashStatic { + /** + * Checks if `path` is a direct property of `object`. + * + * @category Object + * @param object The object to query. + * @param path The path to check. + * @returns Returns `true` if `path` exists, else `false`. + * @example + * + * var object = { 'a': { 'b': { 'c': 3 } } }; + * var other = _.create({ 'a': _.create({ 'b': _.create({ 'c': 3 }) }) }); + * + * _.has(object, 'a'); + * // => true + * + * _.has(object, 'a.b.c'); + * // => true + * + * _.has(object, ['a', 'b', 'c']); + * // => true + * + * _.has(other, 'a'); + * // => false + */ + has( + object: T, + path: PropertyPath + ): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.has + */ + has(path: PropertyPath): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.has + */ + has(path: PropertyPath): LoDashExplicitWrapper; + } + + // hasIn + + interface LoDashStatic { + /** + * Checks if `path` is a direct or inherited property of `object`. + * + * @category Object + * @param object The object to query. + * @param path The path to check. + * @returns Returns `true` if `path` exists, else `false`. + * @example + * + * var object = _.create({ 'a': _.create({ 'b': _.create({ 'c': 3 }) }) }); + * + * _.hasIn(object, 'a'); + * // => true + * + * _.hasIn(object, 'a.b.c'); + * // => true + * + * _.hasIn(object, ['a', 'b', 'c']); + * // => true + * + * _.hasIn(object, 'b'); + * // => false + */ + hasIn( + object: T, + path: PropertyPath + ): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.hasIn + */ + hasIn(path: PropertyPath): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.hasIn + */ + hasIn(path: PropertyPath): LoDashExplicitWrapper; + } + + // invert + + interface LoDashStatic { + /** + * Creates an object composed of the inverted keys and values of object. If object contains duplicate values, + * subsequent values overwrite property assignments of previous values unless multiValue is true. + * + * @param object The object to invert. + * @param multiValue Allow multiple values per key. + * @return Returns the new inverted object. + */ + invert( + object: object + ): Dictionary; + } + + interface LoDashImplicitWrapper { + /** + * @see _.invert + */ + invert(): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.invert + */ + invert(): LoDashExplicitWrapper>; + } + + // invertBy + + interface LoDashStatic { + /** + * This method is like _.invert except that the inverted object is generated from the results of running each + * element of object through iteratee. The corresponding inverted value of each inverted key is an array of + * keys responsible for generating the inverted value. The iteratee is invoked with one argument: (value). + * + * @param object The object to invert. + * @param interatee The iteratee invoked per element. + * @return Returns the new inverted object. + */ + invertBy( + object: List | Dictionary | NumericDictionary | null | undefined, + interatee?: ValueIteratee + ): Dictionary; + + /** + * @see _.invertBy + */ + invertBy( + object: T | null | undefined, + interatee?: ValueIteratee + ): Dictionary; + } + + interface LoDashImplicitWrapper { + /** + * @see _.invertBy + */ + invertBy( + this: LoDashImplicitWrapper | Dictionary | NumericDictionary | null | undefined>, + interatee?: ValueIteratee + ): LoDashImplicitWrapper>; + + /** + * @see _.invertBy + */ + invertBy( + this: LoDashImplicitWrapper, + interatee?: ValueIteratee + ): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.invertBy + */ + invertBy( + this: LoDashExplicitWrapper | Dictionary | NumericDictionary | null | undefined>, + interatee?: ValueIteratee + ): LoDashExplicitWrapper>; + + /** + * @see _.invertBy + */ + invertBy( + this: LoDashExplicitWrapper, + interatee?: ValueIteratee + ): LoDashExplicitWrapper>; + } + + // invoke + + interface LoDashStatic { + /** + * Invokes the method at path of object. + * @param object The object to query. + * @param path The path of the method to invoke. + * @param args The arguments to invoke the method with. + **/ + invoke( + object: any, + path: PropertyPath, + ...args: any[]): any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.invoke + **/ + invoke( + path: PropertyPath, + ...args: any[]): any; + } + + interface LoDashExplicitWrapper { + /** + * @see _.invoke + **/ + invoke( + path: PropertyPath, + ...args: any[]): LoDashExplicitWrapper; + } + + // keys + + interface LoDashStatic { + /** + * Creates an array of the own enumerable property names of object. + * + * Note: Non-object values are coerced to objects. See the ES spec for more details. + * + * @param object The object to query. + * @return Returns the array of property names. + */ + keys(object?: any): string[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.keys + */ + keys(): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.keys + */ + keys(): LoDashExplicitWrapper; + } + + // keysIn + + interface LoDashStatic { + /** + * Creates an array of the own and inherited enumerable property names of object. + * + * Note: Non-object values are coerced to objects. + * + * @param object The object to query. + * @return An array of property names. + */ + keysIn(object?: any): string[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.keysIn + */ + keysIn(): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.keysIn + */ + keysIn(): LoDashExplicitWrapper; + } + + // mapKeys + + interface LoDashStatic { + /** + * The opposite of _.mapValues; this method creates an object with the same values as object and keys generated + * by running each own enumerable property of object through iteratee. + * + * @param object The object to iterate over. + * @param iteratee The function invoked per iteration. + * @param thisArg The this binding of iteratee. + * @return Returns the new mapped object. + */ + mapKeys( + object: List | null | undefined, + iteratee?: ListIteratee + ): Dictionary; + + /** + * @see _.mapKeys + */ + mapKeys( + object: Dictionary | null | undefined, + iteratee?: DictionaryIteratee + ): Dictionary; + + /** + * @see _.mapKeys + */ + mapKeys( + object: object | null | undefined, + iteratee?: ObjectIteratee + ): Dictionary; + } + + interface LoDashImplicitWrapper { + /** + * @see _.mapKeys + */ + mapKeys( + this: LoDashImplicitWrapper | null | undefined>, + iteratee?: ListIteratee + ): LoDashImplicitWrapper>; + + /** + * @see _.mapKeys + */ + mapKeys( + this: LoDashImplicitWrapper | null | undefined>, + iteratee?: DictionaryIteratee + ): LoDashImplicitWrapper>; + + /** + * @see _.mapKeys + */ + mapKeys( + this: LoDashImplicitWrapper, + iteratee?: ObjectIteratee + ): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.mapKeys + */ + mapKeys( + this: LoDashExplicitWrapper | null | undefined>, + iteratee?: ListIteratee + ): LoDashExplicitWrapper>; + + /** + * @see _.mapKeys + */ + mapKeys( + this: LoDashExplicitWrapper | null | undefined>, + iteratee?: DictionaryIteratee + ): LoDashExplicitWrapper>; + + /** + * @see _.mapKeys + */ + mapKeys( + this: LoDashExplicitWrapper, + iteratee?: ObjectIteratee + ): LoDashExplicitWrapper>; + } + + // mapValues + + interface LoDashStatic { + /** + * Creates an object with the same keys as object and values generated by running each own + * enumerable property of object through iteratee. The iteratee function is bound to thisArg + * and invoked with three arguments: (value, key, object). + * + * If a property name is provided iteratee the created "_.property" style callback returns + * the property value of the given element. + * + * If a value is also provided for thisArg the creted "_.matchesProperty" style callback returns + * true for elements that have a matching property value, else false;. + * + * If an object is provided for iteratee the created "_.matches" style callback returns true + * for elements that have the properties of the given object, else false. + * + * @param object The object to iterate over. + * @param [iteratee=_.identity] The function invoked per iteration. + * @param [thisArg] The `this` binding of `iteratee`. + * @return Returns the new mapped object. + */ + mapValues(obj: T | null | undefined, callback: ObjectIterator): { [P in keyof T]: TResult }; + + /** + * @see _.mapValues + */ + mapValues(obj: T | null | undefined, iteratee: object): { [P in keyof T]: boolean }; + + /** + * @see _.mapValues + */ + mapValues(obj: Dictionary | null | undefined, iteratee: TKey): Dictionary; + + /** + * @see _.mapValues + */ + mapValues(obj: T | null | undefined, iteratee: string): { [P in keyof T]: any }; + + /** + * @see _.mapValues + */ + mapValues(obj: string | null | undefined, callback: StringIterator): NumericDictionary; + + /** + * @see _.mapValues + */ + mapValues(obj: Dictionary | null | undefined): Dictionary; + + /** + * @see _.mapValues + */ + mapValues(obj: T): T; + + /** + * @see _.mapValues + */ + mapValues(obj: T | null | undefined): T | {}; + + /** + * @see _.mapValues + */ + mapValues(obj: string | null | undefined): NumericDictionary; + } + + interface LoDashImplicitWrapper { + /** + * @see _.mapValues + */ + mapValues( + this: LoDashImplicitWrapper, + callback: ObjectIterator + ): LoDashImplicitWrapper<{ [P in keyof T]: TResult }>; + + /** + * @see _.mapValues + */ + mapValues( + this: LoDashImplicitWrapper, + iteratee: object + ): LoDashImplicitWrapper<{ [P in keyof T]: boolean }>; + + /** + * @see _.mapValues + */ + mapValues( + this: LoDashImplicitWrapper | null | undefined>, + iteratee: TKey + ): LoDashImplicitWrapper>; + + /** + * @see _.mapValues + */ + mapValues( + this: LoDashImplicitWrapper, + iteratee: string + ): LoDashImplicitWrapper<{ [P in keyof T]: any }>; + + /** + * @see _.mapValues + */ + mapValues( + this: LoDashImplicitWrapper, + callback: StringIterator + ): LoDashImplicitWrapper>; + + /** + * @see _.mapValues + */ + mapValues(this: LoDashImplicitWrapper | null | undefined>): LoDashImplicitWrapper>; + + /** + * @see _.mapValues + */ + mapValues(this: LoDashImplicitWrapper): LoDashImplicitWrapper; + + /** + * @see _.mapValues + */ + mapValues(this: LoDashImplicitWrapper): LoDashImplicitWrapper; + + /** + * @see _.mapValues + */ + mapValues(this: LoDashImplicitWrapper): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.mapValues + */ + mapValues( + this: LoDashExplicitWrapper, + callback: ObjectIterator + ): LoDashExplicitWrapper<{ [P in keyof T]: TResult }>; + + /** + * @see _.mapValues + */ + mapValues( + this: LoDashExplicitWrapper, + iteratee: object + ): LoDashExplicitWrapper<{ [P in keyof T]: boolean }>; + + /** + * @see _.mapValues + */ + mapValues( + this: LoDashExplicitWrapper | null | undefined>, + iteratee: TKey + ): LoDashExplicitWrapper>; + + /** + * @see _.mapValues + */ + mapValues( + this: LoDashExplicitWrapper, + iteratee: string + ): LoDashExplicitWrapper<{ [P in keyof T]: any }>; + + /** + * @see _.mapValues + */ + mapValues( + this: LoDashExplicitWrapper, + callback: StringIterator + ): LoDashExplicitWrapper>; + + /** + * @see _.mapValues + */ + mapValues(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper>; + + /** + * @see _.mapValues + */ + mapValues(this: LoDashExplicitWrapper): LoDashExplicitWrapper; + + /** + * @see _.mapValues + */ + mapValues(this: LoDashExplicitWrapper): LoDashExplicitWrapper; + + /** + * @see _.mapValues + */ + mapValues(this: LoDashExplicitWrapper): LoDashExplicitWrapper>; + } + + // merge + + interface LoDashStatic { + /** + * Recursively merges own and inherited enumerable properties of source + * objects into the destination object, skipping source properties that resolve + * to `undefined`. Array and plain object properties are merged recursively. + * Other objects and value types are overridden by assignment. Source objects + * are applied from left to right. Subsequent sources overwrite property + * assignments of previous sources. + * + * **Note:** This method mutates `object`. + * + * @category Object + * @param object The destination object. + * @param [sources] The source objects. + * @returns Returns `object`. + * @example + * + * var users = { + * 'data': [{ 'user': 'barney' }, { 'user': 'fred' }] + * }; + * + * var ages = { + * 'data': [{ 'age': 36 }, { 'age': 40 }] + * }; + * + * _.merge(users, ages); + * // => { 'data': [{ 'user': 'barney', 'age': 36 }, { 'user': 'fred', 'age': 40 }] } + */ + merge( + object: TObject, + source: TSource + ): TObject & TSource; + + /** + * @see _.merge + */ + merge( + object: TObject, + source1: TSource1, + source2: TSource2 + ): TObject & TSource1 & TSource2; + + /** + * @see _.merge + */ + merge( + object: TObject, + source1: TSource1, + source2: TSource2, + source3: TSource3 + ): TObject & TSource1 & TSource2 & TSource3; + + /** + * @see _.merge + */ + merge( + object: TObject, + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4 + ): TObject & TSource1 & TSource2 & TSource3 & TSource4; + + /** + * @see _.merge + */ + merge( + object: any, + ...otherArgs: any[] + ): any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.merge + */ + merge( + source: TSource + ): LoDashImplicitWrapper; + + /** + * @see _.merge + */ + merge( + source1: TSource1, + source2: TSource2 + ): LoDashImplicitWrapper; + + /** + * @see _.merge + */ + merge( + source1: TSource1, + source2: TSource2, + source3: TSource3 + ): LoDashImplicitWrapper; + + /** + * @see _.merge + */ + merge( + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4 + ): LoDashImplicitWrapper; + + /** + * @see _.merge + */ + merge( + ...otherArgs: any[] + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.merge + */ + merge( + source: TSource + ): LoDashExplicitWrapper; + + /** + * @see _.merge + */ + merge( + source1: TSource1, + source2: TSource2 + ): LoDashExplicitWrapper; + + /** + * @see _.merge + */ + merge( + source1: TSource1, + source2: TSource2, + source3: TSource3 + ): LoDashExplicitWrapper; + + /** + * @see _.merge + */ + merge( + ): LoDashExplicitWrapper; + + /** + * @see _.merge + */ + merge( + ...otherArgs: any[] + ): LoDashExplicitWrapper; + } + + // mergeWith + + type MergeWithCustomizer = { bivariantHack(value: any, srcValue: any, key: string, object: any, source: any): any; }["bivariantHack"] + + interface LoDashStatic { + /** + * This method is like `_.merge` except that it accepts `customizer` which + * is invoked to produce the merged values of the destination and source + * properties. If `customizer` returns `undefined` merging is handled by the + * method instead. The `customizer` is invoked with seven arguments: + * (objValue, srcValue, key, object, source, stack). + * + * @category Object + * @param object The destination object. + * @param sources The source objects. + * @param customizer The function to customize assigned values. + * @returns Returns `object`. + * @example + * + * function customizer(objValue, srcValue) { + * if (_.isArray(objValue)) { + * return objValue.concat(srcValue); + * } + * } + * + * var object = { + * 'fruits': ['apple'], + * 'vegetables': ['beet'] + * }; + * + * var other = { + * 'fruits': ['banana'], + * 'vegetables': ['carrot'] + * }; + * + * _.merge(object, other, customizer); + * // => { 'fruits': ['apple', 'banana'], 'vegetables': ['beet', 'carrot'] } + */ + mergeWith( + object: TObject, + source: TSource, + customizer: MergeWithCustomizer + ): TObject & TSource; + + /** + * @see _.mergeWith + */ + mergeWith( + object: TObject, + source1: TSource1, + source2: TSource2, + customizer: MergeWithCustomizer + ): TObject & TSource1 & TSource2; + + /** + * @see _.mergeWith + */ + mergeWith( + object: TObject, + source1: TSource1, + source2: TSource2, + source3: TSource3, + customizer: MergeWithCustomizer + ): TObject & TSource1 & TSource2 & TSource3; + + /** + * @see _.mergeWith + */ + mergeWith( + object: TObject, + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4, + customizer: MergeWithCustomizer + ): TObject & TSource1 & TSource2 & TSource3 & TSource4; + + /** + * @see _.mergeWith + */ + mergeWith( + object: any, + ...otherArgs: any[] + ): any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.mergeWith + */ + mergeWith( + source: TSource, + customizer: MergeWithCustomizer + ): LoDashImplicitWrapper; + + /** + * @see _.mergeWith + */ + mergeWith( + source1: TSource1, + source2: TSource2, + customizer: MergeWithCustomizer + ): LoDashImplicitWrapper; + + /** + * @see _.mergeWith + */ + mergeWith( + source1: TSource1, + source2: TSource2, + source3: TSource3, + customizer: MergeWithCustomizer + ): LoDashImplicitWrapper; + + /** + * @see _.mergeWith + */ + mergeWith( + source1: TSource1, + source2: TSource2, + source3: TSource3, + source4: TSource4, + customizer: MergeWithCustomizer + ): LoDashImplicitWrapper; + + /** + * @see _.mergeWith + */ + mergeWith( + ...otherArgs: any[] + ): LoDashImplicitWrapper; + } + + // omit + + interface LoDashStatic { + /** + * The opposite of `_.pick`; this method creates an object composed of the + * own and inherited enumerable properties of `object` that are not omitted. + * + * @category Object + * @param object The source object. + * @param [paths] The property names to omit, specified + * individually or in arrays.. + * @returns Returns the new object. + * @example + * + * var object = { 'a': 1, 'b': '2', 'c': 3 }; + * + * _.omit(object, ['a', 'c']); + * // => { 'b': '2' } + */ + omit( + object: Dictionary, + ...paths: PropertyPath[] + ): Dictionary; + + /** + * @see _.omit + */ + omit( + object: T | null | undefined, + ...paths: PropertyPath[] + ): PartialObject; + } + + interface LoDashImplicitWrapper { + /** + * @see _.omit + */ + omit( + this: LoDashImplicitWrapper>, + ...paths: PropertyPath[] + ): LoDashImplicitWrapper>; + + /** + * @see _.omit + */ + omit( + this: LoDashImplicitWrapper, + ...paths: PropertyPath[] + ): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.omit + */ + omit( + this: LoDashExplicitWrapper>, + ...paths: PropertyPath[] + ): LoDashExplicitWrapper>; + + /** + * @see _.omit + */ + omit( + this: LoDashExplicitWrapper, + ...paths: PropertyPath[] + ): LoDashExplicitWrapper>; + } + + // omitBy + + interface LoDashStatic { + /** + * The opposite of `_.pickBy`; this method creates an object composed of the + * own and inherited enumerable properties of `object` that `predicate` + * doesn't return truthy for. + * + * @category Object + * @param object The source object. + * @param [predicate=_.identity] The function invoked per property. + * @returns Returns the new object. + * @example + * + * var object = { 'a': 1, 'b': '2', 'c': 3 }; + * + * _.omitBy(object, _.isNumber); + * // => { 'b': '2' } + */ + omitBy( + object: T | null | undefined, + predicate: ValueKeyIteratee + ): PartialObject; + } + + interface LoDashImplicitWrapper { + /** + * @see _.omitBy + */ + omitBy( + this: LoDashImplicitWrapper, + predicate: ValueKeyIteratee + ): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.omitBy + */ + omitBy( + this: LoDashExplicitWrapper, + predicate: ValueKeyIteratee + ): LoDashExplicitWrapper>; + } + + // pick + + interface LoDashStatic { + /** + * Creates an object composed of the picked `object` properties. + * + * @category Object + * @param object The source object. + * @param [props] The property names to pick, specified + * individually or in arrays. + * @returns Returns the new object. + * @example + * + * var object = { 'a': 1, 'b': '2', 'c': 3 }; + * + * _.pick(object, ['a', 'c']); + * // => { 'a': 1, 'c': 3 } + */ + pick( + object: T, + ...props: Array> + ): Pick; + + /** + * @see _.pick + */ + pick( + object: T | null | undefined, + ...props: PropertyPath[] + ): PartialDeep; + } + + interface LoDashImplicitWrapper { + /** + * @see _.pick + */ + pick( + this: LoDashImplicitWrapper, + ...props: Array> + ): LoDashImplicitWrapper>; + + /** + * @see _.pick + */ + pick( + this: LoDashImplicitWrapper, + ...props: PropertyPath[] + ): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.pick + */ + pick( + this: LoDashExplicitWrapper, + ...props: Array> + ): LoDashExplicitWrapper>; + + /** + * @see _.pick + */ + pick( + this: LoDashExplicitWrapper, + ...props: PropertyPath[] + ): LoDashExplicitWrapper>; + } + + // pickBy + + interface LoDashStatic { + /** + * Creates an object composed of the `object` properties `predicate` returns + * truthy for. The predicate is invoked with two arguments: (value, key). + * + * @category Object + * @param object The source object. + * @param [predicate=_.identity] The function invoked per property. + * @returns Returns the new object. + * @example + * + * var object = { 'a': 1, 'b': '2', 'c': 3 }; + * + * _.pickBy(object, _.isNumber); + * // => { 'a': 1, 'c': 3 } + */ + pickBy( + object: T | null | undefined, + predicate?: ValueKeyIteratee + ): PartialObject; + } + + interface LoDashImplicitWrapper { + /** + * @see _.pickBy + */ + pickBy( + this: LoDashImplicitWrapper, + predicate?: ValueKeyIteratee + ): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.pickBy + */ + pickBy( + this: LoDashExplicitWrapper, + predicate?: ValueKeyIteratee + ): LoDashExplicitWrapper>; + } + + // result + + interface LoDashStatic { + /** + * This method is like _.get except that if the resolved value is a function it’s invoked with the this binding + * of its parent object and its result is returned. + * + * @param object The object to query. + * @param path The path of the property to resolve. + * @param defaultValue The value returned if the resolved value is undefined. + * @return Returns the resolved value. + */ + result( + object: any, + path: PropertyPath, + defaultValue?: TResult|((...args: any[]) => TResult) + ): TResult; + } + + interface LoDashImplicitWrapper { + /** + * @see _.result + */ + result( + path: PropertyPath, + defaultValue?: TResult|((...args: any[]) => TResult) + ): TResult; + } + + interface LoDashExplicitWrapper { + /** + * @see _.result + */ + result( + path: PropertyPath, + defaultValue?: TResult|((...args: any[]) => TResult) + ): LoDashExplicitWrapper; + } + + // set + + interface LoDashStatic { + /** + * Sets the value at path of object. If a portion of path doesn’t exist it’s created. Arrays are created for + * missing index properties while objects are created for all other missing properties. Use _.setWith to + * customize path creation. + * + * @param object The object to modify. + * @param path The path of the property to set. + * @param value The value to set. + * @return Returns object. + */ + set( + object: T, + path: PropertyPath, + value: any + ): T; + + /** + * @see _.set + */ + set( + object: object, + path: PropertyPath, + value: any + ): TResult; + } + + interface LoDashImplicitWrapper { + /** + * @see _.set + */ + set( + path: PropertyPath, + value: any + ): this; + + /** + * @see _.set + */ + set( + path: PropertyPath, + value: any + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.set + */ + set( + path: PropertyPath, + value: any + ): this; + + /** + * @see _.set + */ + set( + path: PropertyPath, + value: any + ): LoDashExplicitWrapper; + } + + // setWith + + type SetWithCustomizer = (nsValue: any, key: string, nsObject: T) => any; + + interface LoDashStatic { + /** + * This method is like _.set except that it accepts customizer which is invoked to produce the objects of + * path. If customizer returns undefined path creation is handled by the method instead. The customizer is + * invoked with three arguments: (nsValue, key, nsObject). + * + * @param object The object to modify. + * @param path The path of the property to set. + * @param value The value to set. + * @parem customizer The function to customize assigned values. + * @return Returns object. + */ + setWith( + object: T, + path: PropertyPath, + value: any, + customizer?: SetWithCustomizer + ): T; + + setWith( + object: T, + path: PropertyPath, + value: any, + customizer?: SetWithCustomizer + ): TResult; + } + + interface LoDashImplicitWrapper { + /** + * @see _.setWith + */ + setWith( + path: PropertyPath, + value: any, + customizer?: SetWithCustomizer + ): this; + + /** + * @see _.setWith + */ + setWith( + path: PropertyPath, + value: any, + customizer?: SetWithCustomizer + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.setWith + */ + setWith( + path: PropertyPath, + value: any, + customizer?: SetWithCustomizer + ): this; + + /** + * @see _.setWith + */ + setWith( + path: PropertyPath, + value: any, + customizer?: SetWithCustomizer + ): LoDashExplicitWrapper; + } + + // toPairs + + interface LoDashStatic { + /** + * Creates an array of own enumerable key-value pairs for object. + * + * @param object The object to query. + * @return Returns the new array of key-value pairs. + */ + toPairs(object?: Dictionary): Array<[string, T]>; + + /** + * @see _.toPairs + */ + toPairs(object?: object): Array<[string, any]>; + } + + interface LoDashImplicitWrapper { + /** + * @see _.toPairs + */ + toPairs(this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; + + /** + * @see _.toPairs + */ + toPairs(): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.toPairs + */ + toPairs(this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; + + /** + * @see _.toPairs + */ + toPairs(): LoDashExplicitWrapper>; + } + + // toPairsIn + + interface LoDashStatic { + /** + * Creates an array of own and inherited enumerable key-value pairs for object. + * + * @param object The object to query. + * @return Returns the new array of key-value pairs. + */ + toPairsIn(object?: Dictionary): Array<[string, T]>; + + /** + * @see _.toPairsIn + */ + toPairsIn(object?: object): Array<[string, any]>; + } + + interface LoDashImplicitWrapper { + /** + * @see _.toPairsIn + */ + toPairsIn(this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; + + /** + * @see _.toPairsIn + */ + toPairsIn(): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.toPairsIn + */ + toPairsIn(this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; + + /** + * @see _.toPairsIn + */ + toPairsIn(): LoDashExplicitWrapper>; + } + + // transform + + interface LoDashStatic { + /** + * An alternative to _.reduce; this method transforms object to a new accumulator object which is the result of + * running each of its own enumerable properties through iteratee, with each invocation potentially mutating + * the accumulator object. The iteratee is bound to thisArg and invoked with four arguments: (accumulator, + * value, key, object). Iteratee functions may exit iteration early by explicitly returning false. + * + * @param object The object to iterate over. + * @param iteratee The function invoked per iteration. + * @param accumulator The custom accumulator value. + * @param thisArg The this binding of iteratee. + * @return Returns the accumulated value. + */ + transform( + object: T[], + iteratee: MemoVoidArrayIterator, + accumulator?: TResult[] + ): TResult[]; + + /** + * @see _.transform + */ + transform( + object: T[], + iteratee: MemoVoidArrayIterator>, + accumulator: Dictionary + ): Dictionary; + + /** + * @see _.transform + */ + transform( + object: Dictionary, + iteratee: MemoVoidDictionaryIterator>, + accumulator?: Dictionary + ): Dictionary; + + /** + * @see _.transform + */ + transform( + object: Dictionary, + iteratee: MemoVoidDictionaryIterator, + accumulator: TResult[] + ): TResult[]; + + /** + * @see _.transform + */ + transform( + object: any[], + ): any[]; + + /** + * @see _.transform + */ + transform( + object: object, + ): Dictionary; + } + + interface LoDashImplicitWrapper { + /** + * @see _.transform + */ + transform( + this: LoDashImplicitWrapper, + iteratee: MemoVoidArrayIterator, + accumulator?: TResult[] + ): LoDashImplicitWrapper; + + /** + * @see _.transform + */ + transform( + this: LoDashImplicitWrapper, + iteratee: MemoVoidArrayIterator>, + accumulator: Dictionary + ): LoDashImplicitWrapper>; + + /** + * @see _.transform + */ + transform( + this: LoDashImplicitWrapper>, + iteratee: MemoVoidDictionaryIterator>, + accumulator?: Dictionary + ): LoDashImplicitWrapper>; + + /** + * @see _.transform + */ + transform( + this: LoDashImplicitWrapper>, + iteratee: MemoVoidDictionaryIterator, + accumulator: TResult[] + ): LoDashImplicitWrapper; + + /** + * @see _.transform + */ + transform( + this: LoDashImplicitWrapper, + ): LoDashImplicitWrapper; + + /** + * @see _.transform + */ + transform(): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.transform + */ + transform( + this: LoDashExplicitWrapper, + iteratee: MemoVoidArrayIterator, + accumulator?: TResult[] + ): LoDashExplicitWrapper; + + /** + * @see _.transform + */ + transform( + this: LoDashExplicitWrapper, + iteratee: MemoVoidArrayIterator>, + accumulator?: Dictionary + ): LoDashExplicitWrapper>; + + /** + * @see _.transform + */ + transform( + this: LoDashExplicitWrapper>, + iteratee: MemoVoidDictionaryIterator>, + accumulator?: Dictionary + ): LoDashExplicitWrapper>; + + /** + * @see _.transform + */ + transform( + this: LoDashExplicitWrapper>, + iteratee: MemoVoidDictionaryIterator, + accumulator?: TResult[] + ): LoDashExplicitWrapper; + + /** + * @see _.transform + */ + transform( + this: LoDashExplicitWrapper, + ): LoDashExplicitWrapper; + + /** + * @see _.transform + */ + transform(): LoDashExplicitWrapper>; + } + + // unset + + interface LoDashStatic { + /** + * Removes the property at path of object. + * + * Note: This method mutates object. + * + * @param object The object to modify. + * @param path The path of the property to unset. + * @return Returns true if the property is deleted, else false. + */ + unset( + object: any, + path: PropertyPath + ): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.unset + */ + unset(path: PropertyPath): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.unset + */ + unset(path: PropertyPath): LoDashExplicitWrapper; + } + + // update + + interface LoDashStatic { + /** + * This method is like _.set except that accepts updater to produce the value to set. Use _.updateWith to + * customize path creation. The updater is invoked with one argument: (value). + * + * @param object The object to modify. + * @param path The path of the property to set. + * @param updater The function to produce the updated value. + * @return Returns object. + */ + update( + object: object, + path: PropertyPath, + updater: (value: any) => any + ): any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.update + */ + update( + path: PropertyPath, + updater: (value: any) => any + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.update + */ + update( + path: PropertyPath, + updater: (value: any) => any + ): LoDashExplicitWrapper; + } + + // updateWith + + interface LoDashStatic { + /** + * This method is like `_.update` except that it accepts `customizer` which is + * invoked to produce the objects of `path`. If `customizer` returns `undefined` + * path creation is handled by the method instead. The `customizer` is invoked + * with three arguments: (nsValue, key, nsObject). + * + * **Note:** This method mutates `object`. + * + * @since 4.6.0 + * @category Object + * @param object The object to modify. + * @param path The path of the property to set. + * @param updater The function to produce the updated value. + * @param [customizer] The function to customize assigned values. + * @returns Returns `object`. + * @example + * + * var object = {}; + * + * _.updateWith(object, '[0][1]', _.constant('a'), Object); + * // => { '0': { '1': 'a' } } + */ + updateWith( + object: T, + path: PropertyPath, + updater: (oldValue: any) => any, + customizer?: SetWithCustomizer + ): T; + + /** + * @see _.updateWith + */ + updateWith( + object: T, + path: PropertyPath, + updater: (oldValue: any) => any, + customizer?: SetWithCustomizer + ): TResult; + } + + interface LoDashImplicitWrapper { + /** + * @see _.updateWith + */ + updateWith( + path: PropertyPath, + updater: (oldValue: any) => any, + customizer?: SetWithCustomizer + ): this; + + /** + * @see _.updateWith + */ + updateWith( + path: PropertyPath, + updater: (oldValue: any) => any, + customizer?: SetWithCustomizer + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.updateWith + */ + updateWith( + path: PropertyPath, + updater: (oldValue: any) => any, + customizer?: SetWithCustomizer + ): this; + + /** + * @see _.updateWith + */ + updateWith( + path: PropertyPath, + updater: (oldValue: any) => any, + customizer?: SetWithCustomizer + ): LoDashExplicitWrapper; + } + + // values + + interface LoDashStatic { + /** + * Creates an array of the own enumerable property values of object. + * + * @param object The object to query. + * @return Returns an array of property values. + */ + values(object: Dictionary|NumericDictionary|List | null | undefined): T[]; + + /** + * @see _.values + */ + values(object: T | null | undefined): Array; + + /** + * @see _.values + */ + values(object: any): any[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.values + */ + values(this: LoDashImplicitWrapper | NumericDictionary | List | null | undefined>): LoDashImplicitWrapper; + + /** + * @see _.values + */ + values(this: LoDashImplicitWrapper): LoDashImplicitWrapper>; + + /** + * @see _.values + */ + values(): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.values + */ + values(this: LoDashExplicitWrapper | NumericDictionary | List | null | undefined>): LoDashExplicitWrapper; + + /** + * @see _.values + */ + values(this: LoDashExplicitWrapper): LoDashExplicitWrapper>; + + /** + * @see _.values + */ + values(): LoDashExplicitWrapper; + } + + // valuesIn + + interface LoDashStatic { + /** + * Creates an array of the own and inherited enumerable property values of object. + * + * @param object The object to query. + * @return Returns the array of property values. + */ + valuesIn(object: Dictionary|NumericDictionary|List | null | undefined): T[]; + + /** + * @see _.valuesIn + */ + valuesIn(object: T | null | undefined): Array; + } + + interface LoDashImplicitWrapper { + /** + * @see _.valuesIn + */ + valuesIn(this: LoDashImplicitWrapper | NumericDictionary | List | null | undefined>): LoDashImplicitWrapper; + + /** + * @see _.valuesIn + */ + valuesIn(this: LoDashImplicitWrapper): LoDashImplicitWrapper>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.valuesIn + */ + valuesIn(this: LoDashExplicitWrapper | NumericDictionary | List | null | undefined>): LoDashExplicitWrapper; + + /** + * @see _.valuesIn + */ + valuesIn(this: LoDashExplicitWrapper): LoDashExplicitWrapper>; + } +} \ No newline at end of file diff --git a/types/lodash/common/seq.d.ts b/types/lodash/common/seq.d.ts new file mode 100644 index 0000000000..f3139056cd --- /dev/null +++ b/types/lodash/common/seq.d.ts @@ -0,0 +1,198 @@ +import _ = require("../index"); +declare module "../index" { + // chain + + interface LoDashStatic { + /** + * Creates a lodash object that wraps value with explicit method chaining enabled. + * + * @param value The value to wrap. + * @return Returns the new lodash wrapper instance. + */ + chain(value: T): LoDashExplicitWrapper; + } + + interface LoDashImplicitWrapper { + /** + * @see _.chain + */ + chain(): LoDashExplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.chain + */ + chain(): this; + } + + // prototype.chain + + interface LoDashStatic { + /** + * Creates a lodash object that wraps value with explicit method chaining enabled. + * + * @param value The value to wrap. + * @return Returns the new lodash wrapper instance. + */ + chain(value: T): LoDashExplicitWrapper; + } + + interface LoDashImplicitWrapper { + /** + * @see _.chain + */ + chain(): LoDashExplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.chain + */ + chain(): this; + } + + // prototype.commit + + interface LoDashWrapper { + /** + * Executes the chained sequence and returns the wrapped result. + * + * @return Returns the new lodash wrapper instance. + */ + commit(): this; + } + + // prototype.plant + + interface LoDashImplicitWrapper { + /** + * Creates a clone of the chained sequence planting value as the wrapped value. + * @param value The value to plant as the wrapped value. + * @return Returns the new lodash wrapper instance. + */ + plant(value: T): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.plant + */ + plant(value: T): LoDashExplicitWrapper; + } + + // prototype.reverse + + interface LoDashWrapper { + /** + * Reverses the wrapped array so the first element becomes the last, the second element becomes the second to + * last, and so on. + * + * Note: This method mutates the wrapped array. + * + * @return Returns the new reversed lodash wrapper instance. + */ + reverse(): this; + } + + // prototype.toJSON + + interface LoDashWrapper { + /** + * @see _.value + */ + toJSON(): TValue; + } + + // prototype.toString + + interface LoDashWrapper { + /** + * Produces the result of coercing the unwrapped value to a string. + * + * @return Returns the coerced string value. + */ + toString(): string; + } + + // prototype.value + + interface LoDashWrapper { + /** + * Executes the chained sequence to extract the unwrapped value. + * + * @alias _.toJSON, _.valueOf + * + * @return Returns the resolved unwrapped value. + */ + value(): TValue; + } + + // prototype.valueOf + + interface LoDashWrapper { + /** + * @see _.value + */ + valueOf(): TValue; + } + + // tap + + interface LoDashStatic { + /** + * This method invokes interceptor and returns value. The interceptor is bound to thisArg and invoked with one + * argument; (value). The purpose of this method is to "tap into" a method chain in order to perform operations + * on intermediate results within the chain. + * + * @param value The value to provide to interceptor. + * @param interceptor The function to invoke. + * @parem thisArg The this binding of interceptor. + * @return Returns value. + **/ + tap( + value: T, + interceptor: (value: T) => void + ): T; + } + + interface LoDashWrapper { + /** + * @see _.tap + */ + tap( + interceptor: (value: TValue) => void + ): this; + } + + // thru + + interface LoDashStatic { + /** + * This method is like _.tap except that it returns the result of interceptor. + * + * @param value The value to provide to interceptor. + * @param interceptor The function to invoke. + * @param thisArg The this binding of interceptor. + * @return Returns the result of interceptor. + */ + thru( + value: T, + interceptor: (value: T) => TResult + ): TResult; + } + + interface LoDashImplicitWrapper { + /** + * @see _.thru + */ + thru(interceptor: (value: TValue) => TResult): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.thru + */ + thru(interceptor: (value: TValue) => TResult): LoDashExplicitWrapper; + } +} \ No newline at end of file diff --git a/types/lodash/common/string.d.ts b/types/lodash/common/string.d.ts new file mode 100644 index 0000000000..436a2bb9f1 --- /dev/null +++ b/types/lodash/common/string.d.ts @@ -0,0 +1,1059 @@ +import _ = require("../index"); +declare module "../index" { + // camelCase + + interface LoDashStatic { + /** + * Converts string to camel case. + * + * @param string The string to convert. + * @return Returns the camel cased string. + */ + camelCase(string?: string): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.camelCase + */ + camelCase(): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.camelCase + */ + camelCase(): LoDashExplicitWrapper; + } + + // capitalize + + interface LoDashStatic { + /** + * Converts the first character of string to upper case and the remaining to lower case. + * + * @param string The string to capitalize. + * @return Returns the capitalized string. + */ + capitalize(string?: string): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.capitalize + */ + capitalize(): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.capitalize + */ + capitalize(): LoDashExplicitWrapper; + } + + // deburr + + interface LoDashStatic { + /** + * Deburrs string by converting latin-1 supplementary letters to basic latin letters and removing combining + * diacritical marks. + * + * @param string The string to deburr. + * @return Returns the deburred string. + */ + deburr(string?: string): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.deburr + */ + deburr(): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.deburr + */ + deburr(): LoDashExplicitWrapper; + } + + // endsWith + + interface LoDashStatic { + /** + * Checks if string ends with the given target string. + * + * @param string The string to search. + * @param target The string to search for. + * @param position The position to search from. + * @return Returns true if string ends with target, else false. + */ + endsWith( + string?: string, + target?: string, + position?: number + ): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.endsWith + */ + endsWith( + target?: string, + position?: number + ): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.endsWith + */ + endsWith( + target?: string, + position?: number + ): LoDashExplicitWrapper; + } + + // escape + + interface LoDashStatic { + /** + * Converts the characters "&", "<", ">", '"', "'", and "`" in string to their corresponding HTML entities. + * + * Note: No other characters are escaped. To escape additional characters use a third-party library like he. + * + * hough the ">" character is escaped for symmetry, characters like ">" and "/" don’t need escaping in HTML + * and have no special meaning unless they're part of a tag or unquoted attribute value. See Mathias Bynens’s + * article (under "semi-related fun fact") for more details. + * + * Backticks are escaped because in IE < 9, they can break out of attribute values or HTML comments. See #59, + * #102, #108, and #133 of the HTML5 Security Cheatsheet for more details. + * + * When working with HTML you should always quote attribute values to reduce XSS vectors. + * + * @param string The string to escape. + * @return Returns the escaped string. + */ + escape(string?: string): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.escape + */ + escape(): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.escape + */ + escape(): LoDashExplicitWrapper; + } + + // escapeRegExp + + interface LoDashStatic { + /** + * Escapes the RegExp special characters "^", "$", "\", ".", "*", "+", "?", "(", ")", "[", "]", + * "{", "}", and "|" in string. + * + * @param string The string to escape. + * @return Returns the escaped string. + */ + escapeRegExp(string?: string): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.escapeRegExp + */ + escapeRegExp(): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.escapeRegExp + */ + escapeRegExp(): LoDashExplicitWrapper; + } + + // kebabCase + + interface LoDashStatic { + /** + * Converts string to kebab case. + * + * @param string The string to convert. + * @return Returns the kebab cased string. + */ + kebabCase(string?: string): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.kebabCase + */ + kebabCase(): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.kebabCase + */ + kebabCase(): LoDashExplicitWrapper; + } + + // lowerCase + + interface LoDashStatic { + /** + * Converts `string`, as space separated words, to lower case. + * + * @param string The string to convert. + * @return Returns the lower cased string. + */ + lowerCase(string?: string): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.lowerCase + */ + lowerCase(): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.lowerCase + */ + lowerCase(): LoDashExplicitWrapper; + } + + // lowerFirst + + interface LoDashStatic { + /** + * Converts the first character of `string` to lower case. + * + * @param string The string to convert. + * @return Returns the converted string. + */ + lowerFirst(string?: string): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.lowerFirst + */ + lowerFirst(): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.lowerFirst + */ + lowerFirst(): LoDashExplicitWrapper; + } + + // pad + + interface LoDashStatic { + /** + * Pads string on the left and right sides if it’s shorter than length. Padding characters are truncated if + * they can’t be evenly divided by length. + * + * @param string The string to pad. + * @param length The padding length. + * @param chars The string used as padding. + * @return Returns the padded string. + */ + pad( + string?: string, + length?: number, + chars?: string + ): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.pad + */ + pad( + length?: number, + chars?: string + ): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.pad + */ + pad( + length?: number, + chars?: string + ): LoDashExplicitWrapper; + } + + // padEnd + + interface LoDashStatic { + /** + * Pads string on the right side if it’s shorter than length. Padding characters are truncated if they exceed + * length. + * + * @param string The string to pad. + * @param length The padding length. + * @param chars The string used as padding. + * @return Returns the padded string. + */ + padEnd( + string?: string, + length?: number, + chars?: string + ): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.padEnd + */ + padEnd( + length?: number, + chars?: string + ): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.padEnd + */ + padEnd( + length?: number, + chars?: string + ): LoDashExplicitWrapper; + } + + // padStart + + interface LoDashStatic { + /** + * Pads string on the left side if it’s shorter than length. Padding characters are truncated if they exceed + * length. + * + * @param string The string to pad. + * @param length The padding length. + * @param chars The string used as padding. + * @return Returns the padded string. + */ + padStart( + string?: string, + length?: number, + chars?: string + ): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.padStart + */ + padStart( + length?: number, + chars?: string + ): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.padStart + */ + padStart( + length?: number, + chars?: string + ): LoDashExplicitWrapper; + } + + // parseInt + + interface LoDashStatic { + /** + * Converts string to an integer of the specified radix. If radix is undefined or 0, a radix of 10 is used + * unless value is a hexadecimal, in which case a radix of 16 is used. + * + * Note: This method aligns with the ES5 implementation of parseInt. + * + * @param string The string to convert. + * @param radix The radix to interpret value by. + * @return Returns the converted integer. + */ + parseInt( + string: string, + radix?: number + ): number; + } + + interface LoDashImplicitWrapper { + /** + * @see _.parseInt + */ + parseInt(radix?: number): number; + } + + interface LoDashExplicitWrapper { + /** + * @see _.parseInt + */ + parseInt(radix?: number): LoDashExplicitWrapper; + } + + // repeat + + interface LoDashStatic { + /** + * Repeats the given string n times. + * + * @param string The string to repeat. + * @param n The number of times to repeat the string. + * @return Returns the repeated string. + */ + repeat( + string?: string, + n?: number + ): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.repeat + */ + repeat(n?: number): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.repeat + */ + repeat(n?: number): LoDashExplicitWrapper; + } + + type ReplaceFunction = (match: string, ...args: any[]) => string; + + // replace + + interface LoDashStatic { + /** + * Replaces matches for pattern in string with replacement. + * + * Note: This method is based on String#replace. + * + * @return Returns the modified string. + */ + replace( + string: string, + pattern: RegExp | string, + replacement: ReplaceFunction | string + ): string; + + /** + * @see _.replace + */ + replace( + pattern: RegExp | string, + replacement: ReplaceFunction | string + ): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.replace + */ + replace( + pattern: RegExp|string, + replacement: ReplaceFunction | string + ): string; + + /** + * @see _.replace + */ + replace( + replacement: ReplaceFunction | string + ): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.replace + */ + replace( + pattern: RegExp | string, + replacement: ReplaceFunction | string + ): LoDashExplicitWrapper; + + /** + * @see _.replace + */ + replace( + replacement: ReplaceFunction | string + ): LoDashExplicitWrapper; + } + + // snakeCase + + interface LoDashStatic { + /** + * Converts string to snake case. + * + * @param string The string to convert. + * @return Returns the snake cased string. + */ + snakeCase(string?: string): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.snakeCase + */ + snakeCase(): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.snakeCase + */ + snakeCase(): LoDashExplicitWrapper; + } + + // split + + interface LoDashStatic { + /** + * Splits string by separator. + * + * Note: This method is based on String#split. + * + * @param string The string to trim. + * @param separator The separator pattern to split by. + * @param limit The length to truncate results to. + * @return Returns the new array of string segments. + */ + split( + string: string, + separator?: RegExp|string, + limit?: number + ): string[]; + + /** + * Splits string by separator. + * + * Note: This method is based on String#split. + * + * @param string The string to trim. + * @param index Not used in this overload. + * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code. + * @return Returns the new array of string segments. + */ + split( + string: string, + index: string | number, + guard: object + ): string[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.split + */ + split( + separator?: RegExp|string, + limit?: number + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.split + */ + split( + separator?: RegExp|string, + limit?: number + ): LoDashExplicitWrapper; + } + + // startCase + + interface LoDashStatic { + /** + * Converts string to start case. + * + * @param string The string to convert. + * @return Returns the start cased string. + */ + startCase(string?: string): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.startCase + */ + startCase(): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.startCase + */ + startCase(): LoDashExplicitWrapper; + } + + // startsWith + + interface LoDashStatic { + /** + * Checks if string starts with the given target string. + * + * @param string The string to search. + * @param target The string to search for. + * @param position The position to search from. + * @return Returns true if string starts with target, else false. + */ + startsWith( + string?: string, + target?: string, + position?: number + ): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.startsWith + */ + startsWith( + target?: string, + position?: number + ): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.startsWith + */ + startsWith( + target?: string, + position?: number + ): LoDashExplicitWrapper; + } + + // template + + interface TemplateOptions extends TemplateSettings { + /** + * The sourceURL of the template's compiled source. + */ + sourceURL?: string; + } + + interface TemplateExecutor { + (data?: object): string; + source: string; + } + + interface LoDashStatic { + /** + * Creates a compiled template function that can interpolate data properties in "interpolate" delimiters, + * HTML-escape interpolated data properties in "escape" delimiters, and execute JavaScript in "evaluate" + * delimiters. Data properties may be accessed as free variables in the template. If a setting object is + * provided it takes precedence over _.templateSettings values. + * + * Note: In the development build _.template utilizes + * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl) for easier + * debugging. + * + * For more information on precompiling templates see + * [lodash's custom builds documentation](https://lodash.com/custom-builds). + * + * For more information on Chrome extension sandboxes see + * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval). + * + * @param string The template string. + * @param options The options object. + * @param options.escape The HTML "escape" delimiter. + * @param options.evaluate The "evaluate" delimiter. + * @param options.imports An object to import into the template as free variables. + * @param options.interpolate The "interpolate" delimiter. + * @param options.sourceURL The sourceURL of the template's compiled source. + * @param options.variable The data object variable name. + * @return Returns the compiled template function. + */ + template( + string?: string, + options?: TemplateOptions + ): TemplateExecutor; + } + + interface LoDashImplicitWrapper { + /** + * @see _.template + */ + template(options?: TemplateOptions): TemplateExecutor; + } + + interface LoDashExplicitWrapper { + /** + * @see _.template + */ + template(options?: TemplateOptions): LoDashExplicitWrapper; + } + + // toLower + + interface LoDashStatic { + /** + * Converts `string`, as a whole, to lower case. + * + * @param string The string to convert. + * @return Returns the lower cased string. + */ + toLower(string?: string): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.toLower + */ + toLower(): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.toLower + */ + toLower(): LoDashExplicitWrapper; + } + + // toUpper + + interface LoDashStatic { + /** + * Converts `string`, as a whole, to upper case. + * + * @param string The string to convert. + * @return Returns the upper cased string. + */ + toUpper(string?: string): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.toUpper + */ + toUpper(): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.toUpper + */ + toUpper(): LoDashExplicitWrapper; + } + + // trim + + interface LoDashStatic { + /** + * Removes leading and trailing whitespace or specified characters from string. + * + * @param string The string to trim. + * @param chars The characters to trim. + * @return Returns the trimmed string. + */ + trim( + string?: string, + chars?: string + ): string; + + /** + * Removes leading and trailing whitespace or specified characters from string. + * + * @param string The string to trim. + * @param index Not used in this overload. + * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code. + * @return Returns the trimmed string. + */ + trim( + string: string, + index: string | number, + guard: object + ): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.trim + */ + trim(chars?: string): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.trim + */ + trim(chars?: string): LoDashExplicitWrapper; + } + + // trimEnd + + interface LoDashStatic { + /** + * Removes trailing whitespace or specified characters from string. + * + * @param string The string to trim. + * @param chars The characters to trim. + * @return Returns the trimmed string. + */ + trimEnd( + string?: string, + chars?: string + ): string; + + /** + * Removes trailing whitespace or specified characters from string. + * + * @param string The string to trim. + * @param index Not used in this overload. + * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code. + * @return Returns the trimmed string. + */ + trimEnd( + string: string, + index: string | number, + guard: object + ): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.trimEnd + */ + trimEnd(chars?: string): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.trimEnd + */ + trimEnd(chars?: string): LoDashExplicitWrapper; + } + + // trimStart + + interface LoDashStatic { + /** + * Removes leading whitespace or specified characters from string. + * + * @param string The string to trim. + * @param chars The characters to trim. + * @return Returns the trimmed string. + */ + trimStart( + string?: string, + chars?: string + ): string; + + /** + * Removes leading whitespace or specified characters from string. + * + * @param string The string to trim. + * @param index Not used in this overload. + * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code. + * @return Returns the trimmed string. + */ + trimStart( + string: string, + index: string | number, + guard: object + ): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.trimStart + */ + trimStart(chars?: string): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.trimStart + */ + trimStart(chars?: string): LoDashExplicitWrapper; + } + + // truncate + + interface TruncateOptions { + /** The maximum string length. */ + length?: number; + /** The string to indicate text is omitted. */ + omission?: string; + /** The separator pattern to truncate to. */ + separator?: string|RegExp; + } + + interface LoDashStatic { + /** + * Truncates string if it’s longer than the given maximum string length. The last characters of the truncated + * string are replaced with the omission string which defaults to "…". + * + * @param string The string to truncate. + * @param options The options object or maximum string length. + * @return Returns the truncated string. + */ + truncate( + string?: string, + options?: TruncateOptions + ): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.truncate + */ + truncate(options?: TruncateOptions): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.truncate + */ + truncate(options?: TruncateOptions): LoDashExplicitWrapper; + } + + // unescape + + interface LoDashStatic { + /** + * The inverse of _.escape; this method converts the HTML entities &, <, >, ", ', and ` + * in string to their corresponding characters. + * + * Note: No other HTML entities are unescaped. To unescape additional HTML entities use a third-party library + * like he. + * + * @param string The string to unescape. + * @return Returns the unescaped string. + */ + unescape(string?: string): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.unescape + */ + unescape(): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.unescape + */ + unescape(): LoDashExplicitWrapper; + } + + // upperCase + + interface LoDashStatic { + /** + * Converts `string`, as space separated words, to upper case. + * + * @param string The string to convert. + * @return Returns the upper cased string. + */ + upperCase(string?: string): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.upperCase + */ + upperCase(): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.upperCase + */ + upperCase(): LoDashExplicitWrapper; + } + + // upperFirst + + interface LoDashStatic { + /** + * Converts the first character of `string` to upper case. + * + * @param string The string to convert. + * @return Returns the converted string. + */ + upperFirst(string?: string): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.upperFirst + */ + upperFirst(): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.upperFirst + */ + upperFirst(): LoDashExplicitWrapper; + } + + // words + + interface LoDashStatic { + /** + * Splits `string` into an array of its words. + * + * @param string The string to inspect. + * @param pattern The pattern to match words. + * @return Returns the words of `string`. + */ + words( + string?: string, + pattern?: string|RegExp + ): string[]; + + /** + * Splits `string` into an array of its words. + * + * @param string The string to inspect. + * @param index Not used in this overload. + * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code. + * @return Returns the words of `string`. + */ + words( + string: string, + index: string | number, + guard: object + ): string[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.words + */ + words(pattern?: string|RegExp): string[]; + } + + interface LoDashExplicitWrapper { + /** + * @see _.words + */ + words(pattern?: string|RegExp): LoDashExplicitWrapper; + } +} \ No newline at end of file diff --git a/types/lodash/common/util.d.ts b/types/lodash/common/util.d.ts new file mode 100644 index 0000000000..e365750018 --- /dev/null +++ b/types/lodash/common/util.d.ts @@ -0,0 +1,1455 @@ +import _ = require("../index"); +declare module "../index" { + // attempt + + interface LoDashStatic { + /** + * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments + * are provided to func when it’s invoked. + * + * @param func The function to attempt. + * @return Returns the func result or error object. + */ + attempt(func: (...args: any[]) => TResult, ...args: any[]): TResult|Error; + } + + interface LoDashImplicitWrapper { + /** + * @see _.attempt + */ + attempt(...args: any[]): TResult|Error; + } + + interface LoDashExplicitWrapper { + /** + * @see _.attempt + */ + attempt(...args: any[]): LoDashExplicitWrapper; + } + + // bindAll + + interface LoDashStatic { + /** + * Binds methods of an object to the object itself, overwriting the existing method. Method names may be + * specified as individual arguments or as arrays of method names. If no method names are provided all + * enumerable function properties, own and inherited, of object are bound. + * + * Note: This method does not set the "length" property of bound functions. + * + * @param object The object to bind and assign the bound methods to. + * @param methodNames The object method names to bind, specified as individual method names or arrays of + * method names. + * @return Returns object. + */ + bindAll( + object: T, + ...methodNames: Array> + ): T; + } + + interface LoDashWrapper { + /** + * @see _.bindAll + */ + bindAll(...methodNames: Array>): this; + } + + // cond + + interface LoDashStatic { + /** + * Creates a function that iterates over `pairs` and invokes the corresponding + * function of the first predicate to return truthy. The predicate-function + * pairs are invoked with the `this` binding and arguments of the created + * function. + * + * @since 4.0.0 + * @category Util + * @param pairs The predicate-function pairs. + * @returns Returns the new composite function. + * @example + * + * var func = _.cond([ + * [_.matches({ 'a': 1 }), _.constant('matches A')], + * [_.conforms({ 'b': _.isNumber }), _.constant('matches B')], + * [_.stubTrue, _.constant('no match')] + * ]); + * + * func({ 'a': 1, 'b': 2 }); + * // => 'matches A' + * + * func({ 'a': 0, 'b': 1 }); + * // => 'matches B' + * + * func({ 'a': '1', 'b': '2' }); + * // => 'no match' + */ + cond(pairs: Array>): (Target: T) => R; + } + + // conforms + + type ConformsPredicateObject = { + [P in keyof T]?: (val: T[P]) => boolean; + }; + + interface LoDashStatic { + /** + * Creates a function that invokes the predicate properties of `source` with the corresponding + * property values of a given object, returning true if all predicates return truthy, else false. + */ + conforms(source: ConformsPredicateObject): (value: T) => boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.conforms + */ + conforms(this: LoDashImplicitWrapper>): LoDashImplicitWrapper<(value: T) => boolean>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.conforms + */ + conforms(this: LoDashExplicitWrapper>): LoDashExplicitWrapper<(value: T) => boolean>; + } + + // constant + + interface LoDashStatic { + /** + * Creates a function that returns value. + * + * @param value The value to return from the new function. + * @return Returns the new function. + */ + constant(value: T): () => T; + } + + interface LoDashImplicitWrapper { + /** + * @see _.constant + */ + constant(): LoDashImplicitWrapper<() => TValue>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.constant + */ + constant(): LoDashExplicitWrapper<() => TValue>; + } + + // defaultTo + + interface LoDashStatic { + /** + * Checks `value` to determine whether a default value should be returned in + * its place. The `defaultValue` is returned if `value` is `NaN`, `null`, + * or `undefined`. + * + * @param value The value to check. + * @param defaultValue The default value. + * @returns Returns the resolved value. + */ + defaultTo(value: T | null | undefined, defaultValue: T): T; + + /** + * @see _.defaultTo + */ + defaultTo( + value: T | null | undefined, + defaultValue: TDefault + ): T | TDefault; + } + + interface LoDashImplicitWrapper { + /** + * @see _.defaultTo + */ + defaultTo(this: LoDashImplicitWrapper, defaultValue: T): T; + + /** + * @see _.defaultTo + */ + defaultTo( + this: LoDashImplicitWrapper, + defaultValue: TDefault + ): T | TDefault; + } + + interface LoDashExplicitWrapper { + /** + * @see _.defaultTo + */ + defaultTo(this: LoDashExplicitWrapper, defaultValue: T): LoDashExplicitWrapper; + + /** + * @see _.defaultTo + */ + defaultTo( + this: LoDashExplicitWrapper, + defaultValue: TDefault + ): LoDashExplicitWrapper; + } + + // flow + + interface LoDashStatic { + /** + * Creates a function that returns the result of invoking the provided functions with the this binding of the + * created function, where each successive invocation is supplied the return value of the previous. + * + * @param funcs Functions to invoke. + * @return Returns the new function. + */ + // 0-argument first function + flow(f1: () => R1, f2: (a: R1) => R2): () => R2; + flow(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): () => R3; + flow(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): () => R4; + flow(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): () => R5; + flow(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): () => R6; + flow(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): () => R7; + flow(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): () => any; + // 1-argument first function + flow(f1: (a1: A1) => R1, f2: (a: R1) => R2): (a1: A1) => R2; + flow(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1) => R3; + flow(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1) => R4; + flow(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1) => R5; + flow(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1) => R6; + flow(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1) => R7; + flow(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): (a1: A1) => any; + // 2-argument first function + flow(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2): (a1: A1, a2: A2) => R2; + flow(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1, a2: A2) => R3; + flow(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1, a2: A2) => R4; + flow(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1, a2: A2) => R5; + flow(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1, a2: A2) => R6; + flow(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1, a2: A2) => R7; + flow(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): (a1: A1, a2: A2) => any; + // 3-argument first function + flow(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2): (a1: A1, a2: A2, a3: A3) => R2; + flow(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1, a2: A2, a3: A3) => R3; + flow(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1, a2: A2, a3: A3) => R4; + flow(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1, a2: A2, a3: A3) => R5; + flow(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1, a2: A2, a3: A3) => R6; + flow(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1, a2: A2, a3: A3) => R7; + flow(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): (a1: A1, a2: A2, a3: A3) => any; + // 4-argument first function + flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2): (a1: A1, a2: A2, a3: A3, a4: A4) => R2; + flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1, a2: A2, a3: A3, a4: A4) => R3; + flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1, a2: A2, a3: A3, a4: A4) => R4; + flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1, a2: A2, a3: A3, a4: A4) => R5; + flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1, a2: A2, a3: A3, a4: A4) => R6; + flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1, a2: A2, a3: A3, a4: A4) => R7; + flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): (a1: A1, a2: A2, a3: A3, a4: A4) => any; + // any-argument first function + flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R2; + flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R3; + flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R4; + flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R5; + flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R6; + flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R7; + flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => any; + flow(funcs: Array any>>): (...args: any[]) => any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.flow + */ + // 0-argument first function + flow(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<() => R2>; + flow(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<() => R3>; + flow(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<() => R4>; + flow(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<() => R5>; + flow(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<() => R6>; + flow(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<() => R7>; + flow(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashImplicitWrapper<() => any>; + // 1-argument first function + flow(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1) => R2>; + flow(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1) => R3>; + flow(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1) => R4>; + flow(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1) => R5>; + flow(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1) => R6>; + flow(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1) => R7>; + flow(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashImplicitWrapper<(a1: A1) => any>; + // 2-argument first function + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1, a2: A2) => R2>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1, a2: A2) => R3>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1, a2: A2) => R4>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1, a2: A2) => R5>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1, a2: A2) => R6>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1, a2: A2) => R7>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashImplicitWrapper<(a1: A1, a2: A2) => any>; + // 3-argument first function + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R2>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R3>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R4>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R5>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R6>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R7>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => any>; + // 4-argument first function + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R2>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R3>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R4>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R5>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R6>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R7>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => any>; + // any-argument first function + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R2>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R3>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R4>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R5>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R6>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R7>; + flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => any>; + flow(this: LoDashImplicitWrapper<(...args: any[]) => any>, funcs: Array any>>): LoDashImplicitWrapper<(...args: any[]) => any>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.flow + */ + // 0-argument first function + flow(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<() => R2>; + flow(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<() => R3>; + flow(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<() => R4>; + flow(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<() => R5>; + flow(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<() => R6>; + flow(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<() => R7>; + flow(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashExplicitWrapper<() => any>; + // 1-argument first function + flow(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1) => R2>; + flow(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1) => R3>; + flow(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1) => R4>; + flow(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1) => R5>; + flow(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1) => R6>; + flow(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1) => R7>; + flow(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashExplicitWrapper<(a1: A1) => any>; + // 2-argument first function + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1, a2: A2) => R2>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1, a2: A2) => R3>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1, a2: A2) => R4>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1, a2: A2) => R5>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1, a2: A2) => R6>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1, a2: A2) => R7>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashExplicitWrapper<(a1: A1, a2: A2) => any>; + // 3-argument first function + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R2>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R3>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R4>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R5>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R6>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R7>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => any>; + // 4-argument first function + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R2>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R3>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R4>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R5>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R6>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R7>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => any>; + // any-argument first function + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R2>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R3>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R4>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R5>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R6>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R7>; + flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => any>; + flow(this: LoDashExplicitWrapper<(...args: any[]) => any>, funcs: Array any>>): LoDashExplicitWrapper<(...args: any[]) => any>; + } + + // flowRight + + interface LoDashStatic { + /** + * This method is like _.flow except that it creates a function that invokes the provided functions from right + * to left. + * + * @param funcs Functions to invoke. + * @return Returns the new function. + */ + // 0-argument first function + flowRight(f2: (a: R1) => R2, f1: () => R1): () => R2; + flowRight(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R3; + flowRight(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R4; + flowRight(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R5; + flowRight(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R6; + flowRight(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R7; + // 1-argument first function + flowRight(f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R2; + flowRight(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R3; + flowRight(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R4; + flowRight(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R5; + flowRight(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R6; + flowRight(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R7; + // 2-argument first function + flowRight(f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R2; + flowRight(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R3; + flowRight(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R4; + flowRight(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R5; + flowRight(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R6; + flowRight(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R7; + // 3-argument first function + flowRight(f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R2; + flowRight(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R3; + flowRight(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R4; + flowRight(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R5; + flowRight(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R6; + flowRight(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R7; + // 4-argument first function + flowRight(f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R2; + flowRight(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R3; + flowRight(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R4; + flowRight(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R5; + flowRight(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R6; + flowRight(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R7; + // any-argument first function + flowRight(f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R2; + flowRight(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R3; + flowRight(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R4; + flowRight(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R5; + flowRight(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R6; + flowRight(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R7; + flowRight(f7: (a: any) => any, f6: (a: any) => any, f5: (a: any) => any, f4: (a: any) => any, f3: (a: any) => any, f2: (a: any) => any, f1: () => any, ...funcs: Array any>>): (...args: any[]) => any; + flowRight(funcs: Array any>>): (...args: any[]) => any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.flowRight + */ + // 0-argument first function + flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: () => R1): LoDashImplicitWrapper<() => R2>; + flowRight(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R3>; + flowRight(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R4>; + flowRight(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R5>; + flowRight(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R6>; + flowRight(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R7>; + // 1-argument first function + flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R2>; + flowRight(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R3>; + flowRight(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R4>; + flowRight(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R5>; + flowRight(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R6>; + flowRight(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R7>; + // 2-argument first function + flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R2>; + flowRight(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R3>; + flowRight(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R4>; + flowRight(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R5>; + flowRight(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R6>; + flowRight(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R7>; + // 3-argument first function + flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R2>; + flowRight(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R3>; + flowRight(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R4>; + flowRight(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R5>; + flowRight(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R6>; + flowRight(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R7>; + // 4-argument first function + flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R2>; + flowRight(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R3>; + flowRight(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R4>; + flowRight(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R5>; + flowRight(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R6>; + flowRight(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R7>; + // any-argument first function + flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R2>; + flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R3>; + flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R4>; + flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R5>; + flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R6>; + flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R7>; + flowRight(this: LoDashImplicitWrapper<(a: any) => any>, f6: (a: any) => any, f5: (a: any) => any, f4: (a: any) => any, f3: (a: any) => any, f2: (a: any) => any, f1: () => any, ...funcs: Array any>>): LoDashImplicitWrapper<(...args: any[]) => any>; + flowRight(this: LoDashImplicitWrapper<(a: any) => any>, funcs: Array any>>): LoDashImplicitWrapper<(...args: any[]) => any>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.flowRight + */ + // 0-argument first function + flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: () => R1): LoDashExplicitWrapper<() => R2>; + flowRight(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R3>; + flowRight(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R4>; + flowRight(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R5>; + flowRight(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R6>; + flowRight(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R7>; + // 1-argument first function + flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R2>; + flowRight(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R3>; + flowRight(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R4>; + flowRight(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R5>; + flowRight(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R6>; + flowRight(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R7>; + // 2-argument first function + flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R2>; + flowRight(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R3>; + flowRight(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R4>; + flowRight(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R5>; + flowRight(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R6>; + flowRight(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R7>; + // 3-argument first function + flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R2>; + flowRight(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R3>; + flowRight(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R4>; + flowRight(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R5>; + flowRight(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R6>; + flowRight(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R7>; + // 4-argument first function + flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R2>; + flowRight(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R3>; + flowRight(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R4>; + flowRight(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R5>; + flowRight(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R6>; + flowRight(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R7>; + // any-argument first function + flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R2>; + flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R3>; + flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R4>; + flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R5>; + flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R6>; + flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R7>; + flowRight(this: LoDashExplicitWrapper<(a: any) => any>, f6: (a: any) => any, f5: (a: any) => any, f4: (a: any) => any, f3: (a: any) => any, f2: (a: any) => any, f1: () => any, ...funcs: Array any>>): LoDashExplicitWrapper<(...args: any[]) => any>; + flowRight(this: LoDashExplicitWrapper<(a: any) => any>, funcs: Array any>>): LoDashExplicitWrapper<(...args: any[]) => any>; + } + + // identity + + interface LoDashStatic { + /** + * This method returns the first argument provided to it. + * + * @param value Any value. + * @return Returns value. + */ + identity(value: T): T; + + /** + * @see _.identity + */ + identity(): undefined; + } + + interface LoDashImplicitWrapper { + /** + * @see _.identity + */ + identity(): TValue; + } + + interface LoDashExplicitWrapper { + /** + * @see _.identity + */ + identity(): this; + } + + // iteratee + + interface LoDashStatic { + /** + * Creates a function that invokes `func` with the arguments of the created + * function. If `func` is a property name the created callback returns the + * property value for a given element. If `func` is an object the created + * callback returns `true` for elements that contain the equivalent object properties, otherwise it returns `false`. + * + * @category Util + * @param [func=_.identity] The value to convert to a callback. + * @returns Returns the callback. + * @example + * + * var users = [ + * { 'user': 'barney', 'age': 36 }, + * { 'user': 'fred', 'age': 40 } + * ]; + * + * // create custom iteratee shorthands + * _.iteratee = _.wrap(_.iteratee, function(callback, func) { + * var p = /^(\S+)\s*([<>])\s*(\S+)$/.exec(func); + * return !p ? callback(func) : function(object) { + * return (p[2] == '>' ? object[p[1]] > p[3] : object[p[1]] < p[3]); + * }; + * }); + * + * _.filter(users, 'age > 36'); + * // => [{ 'user': 'fred', 'age': 40 }] + */ + iteratee any>( + func: TFunction | string | object + ): TFunction; + + /** + * @see _.iteratee + */ + iteratee(): typeof _.identity; // tslint:disable-line:no-unnecessary-qualifier + } + + interface LoDashImplicitWrapper { + /** + * @see _.iteratee + */ + iteratee any>( + this: LoDashImplicitWrapper + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.iteratee + */ + iteratee any>( + this: LoDashExplicitWrapper + ): LoDashExplicitWrapper; + } + + // matches + + interface LoDashStatic { + /** + * Creates a function that performs a deep comparison between a given object and source, returning true if the + * given object has equivalent property values, else false. + * + * Note: This method supports comparing arrays, booleans, Date objects, numbers, Object objects, regexes, and + * strings. Objects are compared by their own, not inherited, enumerable properties. For comparing a single own + * or inherited property value see _.matchesProperty. + * + * @param source The object of property values to match. + * @return Returns the new function. + */ + matches(source: T): (value: any) => boolean; + + /** + * @see _.matches + */ + matches(source: T): (value: V) => boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.matches + */ + matches(): LoDashImplicitWrapper<(value: V) => boolean>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.matches + */ + matches(): LoDashExplicitWrapper<(value: V) => boolean>; + } + + // matchesProperty + + interface LoDashStatic { + /** + * Creates a function that compares the property value of path on a given object to value. + * + * Note: This method supports comparing arrays, booleans, Date objects, numbers, Object objects, regexes, and + * strings. Objects are compared by their own, not inherited, enumerable properties. + * + * @param path The path of the property to get. + * @param srcValue The value to match. + * @return Returns the new function. + */ + matchesProperty( + path: PropertyPath, + srcValue: T + ): (value: any) => boolean; + + /** + * @see _.matchesProperty + */ + matchesProperty( + path: PropertyPath, + srcValue: T + ): (value: V) => boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.matchesProperty + */ + matchesProperty( + srcValue: SrcValue + ): LoDashImplicitWrapper<(value: any) => boolean>; + + /** + * @see _.matchesProperty + */ + matchesProperty( + srcValue: SrcValue + ): LoDashImplicitWrapper<(value: Value) => boolean>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.matchesProperty + */ + matchesProperty( + srcValue: SrcValue + ): LoDashExplicitWrapper<(value: any) => boolean>; + + /** + * @see _.matchesProperty + */ + matchesProperty( + srcValue: SrcValue + ): LoDashExplicitWrapper<(value: Value) => boolean>; + } + + // method + + interface LoDashStatic { + /** + * Creates a function that invokes the method at path on a given object. Any additional arguments are provided + * to the invoked method. + * + * @param path The path of the method to invoke. + * @param args The arguments to invoke the method with. + * @return Returns the new function. + */ + method( + path: PropertyPath, + ...args: any[] + ): (object: any) => any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.method + */ + method(...args: any[]): LoDashImplicitWrapper<(object: any) => any>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.method + */ + method(...args: any[]): LoDashExplicitWrapper<(object: any) => any>; + } + + // methodOf + + interface LoDashStatic { + /** + * The opposite of _.method; this method creates a function that invokes the method at a given path on object. + * Any additional arguments are provided to the invoked method. + * + * @param object The object to query. + * @param args The arguments to invoke the method with. + * @return Returns the new function. + */ + methodOf( + object: object, + ...args: any[] + ): (path: PropertyPath) => any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.methodOf + */ + methodOf( + ...args: any[] + ): LoDashImplicitWrapper<(path: PropertyPath) => any>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.methodOf + */ + methodOf( + ...args: any[] + ): LoDashExplicitWrapper<(path: PropertyPath) => any>; + } + + // mixin + + interface MixinOptions { + chain?: boolean; + } + + interface LoDashStatic { + /** + * Adds all own enumerable function properties of a source object to the destination object. If object is a + * function then methods are added to its prototype as well. + * + * Note: Use _.runInContext to create a pristine lodash function to avoid conflicts caused by modifying + * the original. + * + * @param object The destination object. + * @param source The object of functions to add. + * @param options The options object. + * @param options.chain Specify whether the functions added are chainable. + * @return Returns object. + */ + mixin( + object: TObject, + source: Dictionary<(...args: any[]) => any>, + options?: MixinOptions + ): TObject; + + /** + * @see _.mixin + */ + mixin( + source: Dictionary<(...args: any[]) => any>, + options?: MixinOptions + ): LoDashStatic; + } + + interface LoDashImplicitWrapper { + /** + * @see _.mixin + */ + mixin( + source: Dictionary<(...args: any[]) => any>, + options?: MixinOptions + ): this; + + /** + * @see _.mixin + */ + mixin( + options?: MixinOptions + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.mixin + */ + mixin( + source: Dictionary<(...args: any[]) => any>, + options?: MixinOptions + ): this; + + /** + * @see _.mixin + */ + mixin( + options?: MixinOptions + ): LoDashExplicitWrapper; + } + + // noConflict + + interface LoDashStatic { + /** + * Reverts the _ variable to its previous value and returns a reference to the lodash function. + * + * @return Returns the lodash function. + */ + noConflict(): typeof _; + } + + interface LoDashImplicitWrapper { + /** + * @see _.noConflict + */ + noConflict(): typeof _; + } + + interface LoDashExplicitWrapper { + /** + * @see _.noConflict + */ + noConflict(): LoDashExplicitWrapper; + } + + // noop + + interface LoDashStatic { + /** + * A no-operation function that returns undefined regardless of the arguments it receives. + * + * @return undefined + */ + noop(...args: any[]): void; + } + + interface LoDashImplicitWrapper { + /** + * @see _.noop + */ + noop(...args: any[]): void; + } + + interface LoDashExplicitWrapper { + /** + * @see _.noop + */ + noop(...args: any[]): LoDashExplicitWrapper; + } + + // nthArg + + interface LoDashStatic { + /** + * Creates a function that returns its nth argument. + * + * @param n The index of the argument to return. + * @return Returns the new function. + */ + nthArg(n?: number): (...args: any[]) => any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.nthArg + */ + nthArg(): LoDashImplicitWrapper<(...args: any[]) => any>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.nthArg + */ + nthArg(): LoDashExplicitWrapper<(...args: any[]) => any>; + } + + // over + + interface LoDashStatic { + /** + * Creates a function that invokes iteratees with the arguments provided to the created function and returns + * their results. + * + * @param iteratees The iteratees to invoke. + * @return Returns the new function. + */ + over(...iteratees: Array TResult>>): (...args: any[]) => TResult[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.over + */ + over( + this: LoDashImplicitWrapper TResult>>, + ...iteratees: Array TResult>> + ): LoDashImplicitWrapper<(...args: any[]) => TResult[]>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.over + */ + over( + this: LoDashExplicitWrapper TResult>>, + ...iteratees: Array TResult>> + ): LoDashExplicitWrapper<(...args: any[]) => TResult[]>; + } + + // overEvery + + interface LoDashStatic { + /** + * Creates a function that checks if all of the predicates return truthy when invoked with the arguments + * provided to the created function. + * + * @param predicates The predicates to check. + * @return Returns the new function. + */ + overEvery(...predicates: Array boolean>>): (...args: T[]) => boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.overEvery + */ + overEvery(...predicates: Array boolean>>): LoDashImplicitWrapper<(...args: T[]) => boolean>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.overEvery + */ + overEvery(...predicates: Array boolean>>): LoDashExplicitWrapper<(...args: T[]) => boolean>; + } + + // overSome + + interface LoDashStatic { + /** + * Creates a function that checks if any of the predicates return truthy when invoked with the arguments + * provided to the created function. + * + * @param predicates The predicates to check. + * @return Returns the new function. + */ + overSome(...predicates: Array boolean>>): (...args: T[]) => boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.overSome + */ + overSome(...predicates: Array boolean>>): LoDashImplicitWrapper<(...args: T[]) => boolean>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.overSome + */ + overSome(...predicates: Array boolean>>): LoDashExplicitWrapper<(...args: T[]) => boolean>; + } + + // property + + interface LoDashStatic { + /** + * Creates a function that returns the property value at path on a given object. + * + * @param path The path of the property to get. + * @return Returns the new function. + */ + property(path: PropertyPath): (obj: TObj) => TResult; + } + + interface LoDashImplicitWrapper { + /** + * @see _.property + */ + property(): LoDashImplicitWrapper<(obj: TObj) => TResult>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.property + */ + property(): LoDashExplicitWrapper<(obj: TObj) => TResult>; + } + + // propertyOf + + interface LoDashStatic { + /** + * The opposite of _.property; this method creates a function that returns the property value at a given path + * on object. + * + * @param object The object to query. + * @return Returns the new function. + */ + propertyOf(object: T): (path: PropertyPath) => any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.propertyOf + */ + propertyOf(): LoDashImplicitWrapper<(path: PropertyPath) => any>; + } + + interface LoDashExplicitWrapper { + /** + * @see _.propertyOf + */ + propertyOf(): LoDashExplicitWrapper<(path: PropertyPath) => any>; + } + + // range + + interface LoDashStatic { + /** + * Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end. + * If end is not specified it’s set to start with start then set to 0. If end is less than start a zero-length + * range is created unless a negative step is specified. + * + * @param start The start of the range. + * @param end The end of the range. + * @param step The value to increment or decrement by. + * @return Returns a new range array. + */ + range( + start: number, + end?: number, + step?: number + ): number[]; + + /** + * Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end. + * If end is not specified it’s set to start with start then set to 0. If end is less than start a zero-length + * range is created unless a negative step is specified. + * + * @param start The start of the range. + * @param index Not used in this overload. + * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code. + * @return Returns a new range array. + */ + range( + end: number, + index: string | number, + guard: object + ): number[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.range + */ + range( + end?: number, + step?: number + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.range + */ + range( + end?: number, + step?: number + ): LoDashExplicitWrapper; + } + + // rangeRight + + interface LoDashStatic { + /** + * This method is like `_.range` except that it populates values in + * descending order. + * + * @category Util + * @param start The start of the range. + * @param end The end of the range. + * @param step The value to increment or decrement by. + * @returns Returns the new array of numbers. + * @example + * + * _.rangeRight(4); + * // => [3, 2, 1, 0] + * + * _.rangeRight(-4); + * // => [-3, -2, -1, 0] + * + * _.rangeRight(1, 5); + * // => [4, 3, 2, 1] + * + * _.rangeRight(0, 20, 5); + * // => [15, 10, 5, 0] + * + * _.rangeRight(0, -4, -1); + * // => [-3, -2, -1, 0] + * + * _.rangeRight(1, 4, 0); + * // => [1, 1, 1] + * + * _.rangeRight(0); + * // => [] + */ + rangeRight( + start: number, + end?: number, + step?: number + ): number[]; + + /** + * This method is like _.range except that it populates values in + * descending order. + * + * @param start The start of the range. + * @param index Not used in this overload. + * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code. + * @return Returns a new range array. + */ + rangeRight( + end: number, + index: string | number, + guard: object + ): number[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.rangeRight + */ + rangeRight( + end?: number, + step?: number + ): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.rangeRight + */ + rangeRight( + end?: number, + step?: number + ): LoDashExplicitWrapper; + } + + // runInContext + + interface LoDashStatic { + /** + * Create a new pristine lodash function using the given context object. + * + * @param context The context object. + * @return Returns a new lodash function. + */ + runInContext(context?: object): typeof _; + } + + interface LoDashImplicitWrapper { + /** + * @see _.runInContext + */ + runInContext(): typeof _; + } + + // stubArray + + interface LoDashStatic { + /** + * This method returns a new empty array. + * + * @returns Returns the new empty array. + */ + stubArray(): any[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.stubArray + */ + stubArray(): any[]; + } + + interface LoDashExplicitWrapper { + /** + * @see _.stubArray + */ + stubArray(): LoDashExplicitWrapper; + } + + // stubFalse + + interface LoDashStatic { + /** + * This method returns `false`. + * + * @returns Returns `false`. + */ + stubFalse(): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.stubFalse + */ + stubFalse(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.stubFalse + */ + stubFalse(): LoDashExplicitWrapper; + } + + // stubObject + + interface LoDashStatic { + /** + * This method returns a new empty object. + * + * @returns Returns the new empty object. + */ + stubObject(): any; + } + + interface LoDashImplicitWrapper { + /** + * @see _.stubObject + */ + stubObject(): any; + } + + interface LoDashExplicitWrapper { + /** + * @see _.stubObject + */ + stubObject(): LoDashExplicitWrapper; + } + + // stubString + + interface LoDashStatic { + /** + * This method returns an empty string. + * + * @returns Returns the empty string. + */ + stubString(): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.stubString + */ + stubString(): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.stubString + */ + stubString(): LoDashExplicitWrapper; + } + + // stubTrue + + interface LoDashStatic { + /** + * This method returns `true`. + * + * @returns Returns `true`. + */ + stubTrue(): boolean; + } + + interface LoDashImplicitWrapper { + /** + * @see _.stubTrue + */ + stubTrue(): boolean; + } + + interface LoDashExplicitWrapper { + /** + * @see _.stubTrue + */ + stubTrue(): LoDashExplicitWrapper; + } + + // times + + interface LoDashStatic { + /** + * Invokes the iteratee function n times, returning an array of the results of each invocation. The iteratee + * is invoked with one argument; (index). + * + * @param n The number of times to invoke iteratee. + * @param iteratee The function invoked per iteration. + * @return Returns the array of results. + */ + times( + n: number, + iteratee: (num: number) => TResult + ): TResult[]; + + /** + * @see _.times + */ + times(n: number): number[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.times + */ + times( + iteratee: (num: number) => TResult + ): TResult[]; + + /** + * @see _.times + */ + times(): number[]; + } + + interface LoDashExplicitWrapper { + /** + * @see _.times + */ + times( + iteratee: (num: number) => TResult + ): LoDashExplicitWrapper; + + /** + * @see _.times + */ + times(): LoDashExplicitWrapper; + } + + // toPath + + interface LoDashStatic { + /** + * Converts `value` to a property path array. + * + * @category Util + * @param value The value to convert. + * @returns Returns the new property path array. + * @example + * + * _.toPath('a.b.c'); + * // => ['a', 'b', 'c'] + * + * _.toPath('a[0].b.c'); + * // => ['a', '0', 'b', 'c'] + * + * var path = ['a', 'b', 'c'], + * newPath = _.toPath(path); + * + * console.log(newPath); + * // => ['a', 'b', 'c'] + * + * console.log(path === newPath); + * // => false + */ + toPath(value: any): string[]; + } + + interface LoDashImplicitWrapper { + /** + * @see _.toPath + */ + toPath(): LoDashImplicitWrapper; + } + + interface LoDashExplicitWrapper { + /** + * @see _.toPath + */ + toPath(): LoDashExplicitWrapper; + } + + // uniqueId + + interface LoDashStatic { + /** + * Generates a unique ID. If prefix is provided the ID is appended to it. + * + * @param prefix The value to prefix the ID with. + * @return Returns the unique ID. + */ + uniqueId(prefix?: string): string; + } + + interface LoDashImplicitWrapper { + /** + * @see _.uniqueId + */ + uniqueId(): string; + } + + interface LoDashExplicitWrapper { + /** + * @see _.uniqueId + */ + uniqueId(): LoDashExplicitWrapper; + } +} \ No newline at end of file diff --git a/types/lodash/function/after.d.ts b/types/lodash/function/after.d.ts deleted file mode 100644 index 94b60497e1..0000000000 --- a/types/lodash/function/after.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * The opposite of _.before; this method creates a function that invokes func once it’s called n or more times. - * - * @param n The number of calls before func is invoked. - * @param func The function to restrict. - * @return Returns the new restricted function. - */ - after any>( - n: number, - func: TFunc - ): TFunc; - } - - interface LoDashImplicitWrapper { - /** - * @see _.after - **/ - after any>(func: TFunc): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.after - **/ - after any>(func: TFunc): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/function/ary.d.ts b/types/lodash/function/ary.d.ts deleted file mode 100644 index 94bcc7f25e..0000000000 --- a/types/lodash/function/ary.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that accepts up to n arguments ignoring any additional arguments. - * - * @param func The function to cap arguments for. - * @param n The arity cap. - * @returns Returns the new function. - */ - ary( - func: (...args: any[]) => any, - n?: number - ): (...args: any[]) => any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.ary - */ - ary(n?: number): LoDashImplicitWrapper<(...args: any[]) => any>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.ary - */ - ary(n?: number): LoDashExplicitWrapper<(...args: any[]) => any>; - } -} \ No newline at end of file diff --git a/types/lodash/function/before.d.ts b/types/lodash/function/before.d.ts deleted file mode 100644 index 2a3b840e8e..0000000000 --- a/types/lodash/function/before.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that invokes func, with the this binding and arguments of the created function, while - * it’s called less than n times. Subsequent calls to the created function return the result of the last func - * invocation. - * - * @param n The number of calls at which func is no longer invoked. - * @param func The function to restrict. - * @return Returns the new restricted function. - */ - before any>( - n: number, - func: TFunc - ): TFunc; - } - - interface LoDashImplicitWrapper { - /** - * @see _.before - **/ - before any>(func: TFunc): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.before - **/ - before any>(func: TFunc): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/function/bind.d.ts b/types/lodash/function/bind.d.ts deleted file mode 100644 index 28034aec12..0000000000 --- a/types/lodash/function/bind.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface FunctionBind { - placeholder: any; - - ( - func: (...args: any[]) => any, - thisArg: any, - ...partials: any[] - ): (...args: any[]) => any; - } - - interface LoDashStatic { - /** - * Creates a function that invokes func with the this binding of thisArg and prepends any additional _.bind - * arguments to those provided to the bound function. - * - * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for - * partially applied arguments. - * - * Note: Unlike native Function#bind this method does not set the "length" property of bound functions. - * - * @param func The function to bind. - * @param thisArg The this binding of func. - * @param partials The arguments to be partially applied. - * @return Returns the new bound function. - */ - bind: FunctionBind; - } - - interface LoDashImplicitWrapper { - /** - * @see _.bind - */ - bind( - thisArg: any, - ...partials: any[] - ): LoDashImplicitWrapper<(...args: any[]) => any>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.bind - */ - bind( - thisArg: any, - ...partials: any[] - ): LoDashExplicitWrapper<(...args: any[]) => any>; - } -} \ No newline at end of file diff --git a/types/lodash/function/bindKey.d.ts b/types/lodash/function/bindKey.d.ts deleted file mode 100644 index bab46527c9..0000000000 --- a/types/lodash/function/bindKey.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface FunctionBindKey { - placeholder: any; - - ( - object: object, - key: string, - ...partials: any[] - ): (...args: any[]) => any; - } - - interface LoDashStatic { - /** - * Creates a function that invokes the method at object[key] and prepends any additional _.bindKey arguments - * to those provided to the bound function. - * - * This method differs from _.bind by allowing bound functions to reference methods that may be redefined - * or don’t yet exist. See Peter Michaux’s article for more details. - * - * The _.bindKey.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder - * for partially applied arguments. - * - * @param object The object the method belongs to. - * @param key The key of the method. - * @param partials The arguments to be partially applied. - * @return Returns the new bound function. - */ - bindKey: FunctionBindKey; - } - - interface LoDashImplicitWrapper { - /** - * @see _.bindKey - */ - bindKey( - key: string, - ...partials: any[] - ): LoDashImplicitWrapper<(...args: any[]) => any>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.bindKey - */ - bindKey( - key: string, - ...partials: any[] - ): LoDashExplicitWrapper<(...args: any[]) => any>; - } -} \ No newline at end of file diff --git a/types/lodash/function/curry.d.ts b/types/lodash/function/curry.d.ts deleted file mode 100644 index 03ff949438..0000000000 --- a/types/lodash/function/curry.d.ts +++ /dev/null @@ -1,203 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that accepts one or more arguments of func that when called either invokes func returning - * its result, if all func arguments have been provided, or returns a function that accepts one or more of the - * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. - * @param func The function to curry. - * @param arity The arity of func. - * @return Returns the new curried function. - */ - curry(func: (t1: T1) => R, arity?: number): - CurriedFunction1; - /** - * Creates a function that accepts one or more arguments of func that when called either invokes func returning - * its result, if all func arguments have been provided, or returns a function that accepts one or more of the - * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. - * @param func The function to curry. - * @param arity The arity of func. - * @return Returns the new curried function. - */ - curry(func: (t1: T1, t2: T2) => R, arity?: number): - CurriedFunction2; - /** - * Creates a function that accepts one or more arguments of func that when called either invokes func returning - * its result, if all func arguments have been provided, or returns a function that accepts one or more of the - * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. - * @param func The function to curry. - * @param arity The arity of func. - * @return Returns the new curried function. - */ - curry(func: (t1: T1, t2: T2, t3: T3) => R, arity?: number): - CurriedFunction3; - /** - * Creates a function that accepts one or more arguments of func that when called either invokes func returning - * its result, if all func arguments have been provided, or returns a function that accepts one or more of the - * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. - * @param func The function to curry. - * @param arity The arity of func. - * @return Returns the new curried function. - */ - curry(func: (t1: T1, t2: T2, t3: T3, t4: T4) => R, arity?: number): - CurriedFunction4; - /** - * Creates a function that accepts one or more arguments of func that when called either invokes func returning - * its result, if all func arguments have been provided, or returns a function that accepts one or more of the - * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. - * @param func The function to curry. - * @param arity The arity of func. - * @return Returns the new curried function. - */ - curry(func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R, arity?: number): - CurriedFunction5; - /** - * Creates a function that accepts one or more arguments of func that when called either invokes func returning - * its result, if all func arguments have been provided, or returns a function that accepts one or more of the - * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. - * @param func The function to curry. - * @param arity The arity of func. - * @return Returns the new curried function. - */ - curry(func: (...args: any[]) => any, arity?: number): (...args: any[]) => any; - } - - interface CurriedFunction1 { - (): CurriedFunction1; - (t1: T1): R; - } - - interface CurriedFunction2 { - (): CurriedFunction2; - (t1: T1): CurriedFunction1; - (t1: T1, t2: T2): R; - } - - interface CurriedFunction3 { - (): CurriedFunction3; - (t1: T1): CurriedFunction2; - (t1: T1, t2: T2): CurriedFunction1; - (t1: T1, t2: T2, t3: T3): R; - } - - interface CurriedFunction4 { - (): CurriedFunction4; - (t1: T1): CurriedFunction3; - (t1: T1, t2: T2): CurriedFunction2; - (t1: T1, t2: T2, t3: T3): CurriedFunction1; - (t1: T1, t2: T2, t3: T3, t4: T4): R; - } - - interface CurriedFunction5 { - (): CurriedFunction5; - (t1: T1): CurriedFunction4; - (t1: T1, t2: T2): CurriedFunction3; - (t1: T1, t2: T2, t3: T3): CurriedFunction2; - (t1: T1, t2: T2, t3: T3, t4: T4): CurriedFunction1; - (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5): R; - } - interface RightCurriedFunction1 { - (): RightCurriedFunction1; - (t1: T1): R; - } - interface RightCurriedFunction2 { - (): RightCurriedFunction2; - (t2: T2): RightCurriedFunction1; - (t1: T1, t2: T2): R; - } - interface RightCurriedFunction3 { - (): RightCurriedFunction3; - (t3: T3): RightCurriedFunction2; - (t2: T2, t3: T3): RightCurriedFunction1; - (t1: T1, t2: T2, t3: T3): R; - } - interface RightCurriedFunction4 { - (): RightCurriedFunction4; - (t4: T4): RightCurriedFunction3; - (t3: T3, t4: T4): RightCurriedFunction2; - (t2: T2, t3: T3, t4: T4): RightCurriedFunction1; - (t1: T1, t2: T2, t3: T3, t4: T4): R; - } - interface RightCurriedFunction5 { - (): RightCurriedFunction5; - (t5: T5): RightCurriedFunction4; - (t4: T4, t5: T5): RightCurriedFunction3; - (t3: T3, t4: T4, t5: T5): RightCurriedFunction2; - (t2: T2, t3: T3, t4: T4, t5: T5): RightCurriedFunction1; - (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5): R; - } - - interface LoDashImplicitWrapper { - /** - * @see _.curry - **/ - curry(this: LoDashImplicitWrapper<(t1: T1) => R>, arity?: number): - LoDashImplicitWrapper>; - - /** - * @see _.curry - **/ - curry(this: LoDashImplicitWrapper<(t1: T1, t2: T2) => R>, arity?: number): - LoDashImplicitWrapper>; - - /** - * @see _.curry - **/ - curry(this: LoDashImplicitWrapper<(t1: T1, t2: T2, t3: T3) => R>, arity?: number): - LoDashImplicitWrapper>; - - /** - * @see _.curry - **/ - curry(this: LoDashImplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4) => R>, arity?: number): - LoDashImplicitWrapper>; - - /** - * @see _.curry - **/ - curry(this: LoDashImplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R>, arity?: number): - LoDashImplicitWrapper>; - - /** - * @see _.curry - **/ - curry(arity?: number): LoDashImplicitWrapper<(...args: any[]) => any>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.curry - **/ - curry(this: LoDashExplicitWrapper<(t1: T1) => R>): - LoDashExplicitWrapper>; - - /** - * @see _.curry - **/ - curry(this: LoDashExplicitWrapper<(t1: T1, t2: T2) => R>): - LoDashExplicitWrapper>; - - /** - * @see _.curry - **/ - curry(this: LoDashExplicitWrapper<(t1: T1, t2: T2, t3: T3) => R>): - LoDashExplicitWrapper>; - - /** - * @see _.curry - **/ - curry(this: LoDashExplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4) => R>): - LoDashExplicitWrapper>; - - /** - * @see _.curry - **/ - curry(this: LoDashExplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R>): - LoDashExplicitWrapper>; - - /** - * @see _.curry - **/ - curry(arity?: number): LoDashExplicitWrapper<(...args: any[]) => any>; - } -} \ No newline at end of file diff --git a/types/lodash/function/curryRight.d.ts b/types/lodash/function/curryRight.d.ts deleted file mode 100644 index 044e98d5a2..0000000000 --- a/types/lodash/function/curryRight.d.ts +++ /dev/null @@ -1,132 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight - * instead of _.partial. - * @param func The function to curry. - * @param arity The arity of func. - * @return Returns the new curried function. - */ - curryRight(func: (t1: T1) => R, arity?: number): - RightCurriedFunction1; - /** - * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight - * instead of _.partial. - * @param func The function to curry. - * @param arity The arity of func. - * @return Returns the new curried function. - */ - curryRight(func: (t1: T1, t2: T2) => R, arity?: number): - RightCurriedFunction2; - /** - * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight - * instead of _.partial. - * @param func The function to curry. - * @param arity The arity of func. - * @return Returns the new curried function. - */ - curryRight(func: (t1: T1, t2: T2, t3: T3) => R, arity?: number): - RightCurriedFunction3; - /** - * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight - * instead of _.partial. - * @param func The function to curry. - * @param arity The arity of func. - * @return Returns the new curried function. - */ - curryRight(func: (t1: T1, t2: T2, t3: T3, t4: T4) => R, arity?: number): - RightCurriedFunction4; - /** - * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight - * instead of _.partial. - * @param func The function to curry. - * @param arity The arity of func. - * @return Returns the new curried function. - */ - curryRight(func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R, arity?: number): - RightCurriedFunction5; - /** - * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight - * instead of _.partial. - * @param func The function to curry. - * @param arity The arity of func. - * @return Returns the new curried function. - */ - curryRight(func: (...args: any[]) => any, arity?: number): (...args: any[]) => any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.curryRight - **/ - curryRight(this: LoDashImplicitWrapper<(t1: T1) => R>, arity?: number): - LoDashImplicitWrapper>; - - /** - * @see _.curryRight - **/ - curryRight(this: LoDashImplicitWrapper<(t1: T1, t2: T2) => R>, arity?: number): - LoDashImplicitWrapper>; - - /** - * @see _.curryRight - **/ - curryRight(this: LoDashImplicitWrapper<(t1: T1, t2: T2, t3: T3) => R>, arity?: number): - LoDashImplicitWrapper>; - - /** - * @see _.curryRight - **/ - curryRight(this: LoDashImplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4) => R>, arity?: number): - LoDashImplicitWrapper>; - - /** - * @see _.curryRight - **/ - curryRight(this: LoDashImplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R>, arity?: number): - LoDashImplicitWrapper>; - - /** - * @see _.curryRight - **/ - curryRight(arity?: number): LoDashImplicitWrapper<(...args: any[]) => any>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.curryRight - **/ - curryRight(this: LoDashExplicitWrapper<(t1: T1) => R>, arity?: number): - LoDashExplicitWrapper>; - - /** - * @see _.curryRight - **/ - curryRight(this: LoDashExplicitWrapper<(t1: T1, t2: T2) => R>, arity?: number): - LoDashExplicitWrapper>; - - /** - * @see _.curryRight - **/ - curryRight(this: LoDashExplicitWrapper<(t1: T1, t2: T2, t3: T3) => R>, arity?: number): - LoDashExplicitWrapper>; - - /** - * @see _.curryRight - **/ - curryRight(this: LoDashExplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4) => R>, arity?: number): - LoDashExplicitWrapper>; - - /** - * @see _.curryRight - **/ - curryRight(this: LoDashExplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R>, arity?: number): - LoDashExplicitWrapper>; - - /** - * @see _.curryRight - **/ - curryRight(arity?: number): LoDashExplicitWrapper<(...args: any[]) => any>; - } -} \ No newline at end of file diff --git a/types/lodash/function/debounce.d.ts b/types/lodash/function/debounce.d.ts deleted file mode 100644 index 9ff85bd972..0000000000 --- a/types/lodash/function/debounce.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface DebounceSettings { - /** - * Specify invoking on the leading edge of the timeout. - */ - leading?: boolean; - - /** - * The maximum time func is allowed to be delayed before it’s invoked. - */ - maxWait?: number; - - /** - * Specify invoking on the trailing edge of the timeout. - */ - trailing?: boolean; - } - - interface LoDashStatic { - /** - * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since - * the last time the debounced function was invoked. The debounced function comes with a cancel method to - * cancel delayed invocations and a flush method to immediately invoke them. Provide an options object to - * indicate that func should be invoked on the leading and/or trailing edge of the wait timeout. Subsequent - * calls to the debounced function return the result of the last func invocation. - * - * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only - * if the the debounced function is invoked more than once during the wait timeout. - * - * See David Corbacho’s article for details over the differences between _.debounce and _.throttle. - * - * @param func The function to debounce. - * @param wait The number of milliseconds to delay. - * @param options The options object. - * @param options.leading Specify invoking on the leading edge of the timeout. - * @param options.maxWait The maximum time func is allowed to be delayed before it’s invoked. - * @param options.trailing Specify invoking on the trailing edge of the timeout. - * @return Returns the new debounced function. - */ - debounce any>( - func: T, - wait?: number, - options?: DebounceSettings - ): T & Cancelable; - } - - interface LoDashImplicitWrapper { - /** - * @see _.debounce - */ - debounce( - wait?: number, - options?: DebounceSettings - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.debounce - */ - debounce( - wait?: number, - options?: DebounceSettings - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/function/defer.d.ts b/types/lodash/function/defer.d.ts deleted file mode 100644 index 1968749ecd..0000000000 --- a/types/lodash/function/defer.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to - * func when it’s invoked. - * - * @param func The function to defer. - * @param args The arguments to invoke the function with. - * @return Returns the timer id. - */ - defer( - func: (...args: any[]) => any, - ...args: any[] - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.defer - */ - defer(...args: any[]): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.defer - */ - defer(...args: any[]): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/function/delay.d.ts b/types/lodash/function/delay.d.ts deleted file mode 100644 index 72e2b4151e..0000000000 --- a/types/lodash/function/delay.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Invokes func after wait milliseconds. Any additional arguments are provided to func when it’s invoked. - * - * @param func The function to delay. - * @param wait The number of milliseconds to delay invocation. - * @param args The arguments to invoke the function with. - * @return Returns the timer id. - */ - delay( - func: (...args: any[]) => any, - wait: number, - ...args: any[] - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.delay - */ - delay( - wait: number, - ...args: any[] - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.delay - */ - delay( - wait: number, - ...args: any[] - ): LoDashExplicitWrapper; - } -} diff --git a/types/lodash/function/flip.d.ts b/types/lodash/function/flip.d.ts deleted file mode 100644 index e2699e3fd7..0000000000 --- a/types/lodash/function/flip.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that invokes `func` with arguments reversed. - * - * @category Function - * @param func The function to flip arguments for. - * @returns Returns the new function. - * @example - * - * var flipped = _.flip(function() { - * return _.toArray(arguments); - * }); - * - * flipped('a', 'b', 'c', 'd'); - * // => ['d', 'c', 'b', 'a'] - */ - flip any>(func: T): T; - } - - interface LoDashWrapper { - /** - * @see _.flip - */ - flip(): this; - } -} \ No newline at end of file diff --git a/types/lodash/function/memoize.d.ts b/types/lodash/function/memoize.d.ts deleted file mode 100644 index c74cf2a32c..0000000000 --- a/types/lodash/function/memoize.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface MemoizedFunction { - cache: MapCache; - } - - interface LoDashStatic { - /** - * Creates a function that memoizes the result of func. If resolver is provided it determines the cache key for - * storing the result based on the arguments provided to the memoized function. By default, the first argument - * provided to the memoized function is coerced to a string and used as the cache key. The func is invoked with - * the this binding of the memoized function. - * - * @param func The function to have its output memoized. - * @param resolver The function to resolve the cache key. - * @return Returns the new memoizing function. - */ - memoize: { - any>(func: T, resolver?: (...args: any[]) => any): T & MemoizedFunction; - Cache: MapCacheConstructor; - }; - } - - interface LoDashImplicitWrapper { - /** - * @see _.memoize - */ - memoize(resolver?: (...args: any[]) => any): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.memoize - */ - memoize(resolver?: (...args: any[]) => any): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/function/negate.d.ts b/types/lodash/function/negate.d.ts deleted file mode 100644 index c4e3b7bea4..0000000000 --- a/types/lodash/function/negate.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that negates the result of the predicate func. The func predicate is invoked with - * the this binding and arguments of the created function. - * - * @param predicate The predicate to negate. - * @return Returns the new function. - */ - negate any>(predicate: T): T; - } - - interface LoDashWrapper { - /** - * @see _.negate - */ - negate(): this; - } -} \ No newline at end of file diff --git a/types/lodash/function/once.d.ts b/types/lodash/function/once.d.ts deleted file mode 100644 index b64562ac16..0000000000 --- a/types/lodash/function/once.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value - * of the first call. The func is invoked with the this binding and arguments of the created function. - * - * @param func The function to restrict. - * @return Returns the new restricted function. - */ - once any>(func: T): T; - } - - interface LoDashWrapper { - /** - * @see _.once - */ - once(): this; - } -} \ No newline at end of file diff --git a/types/lodash/function/overArgs.d.ts b/types/lodash/function/overArgs.d.ts deleted file mode 100644 index 265f79981b..0000000000 --- a/types/lodash/function/overArgs.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that runs each argument through a corresponding transform function. - * - * @param func The function to wrap. - * @param transforms The functions to transform arguments, specified as individual functions or arrays - * of functions. - * @return Returns the new function. - */ - overArgs( - func: (...args: any[]) => any, - ...transforms: Array any>> - ): (...args: any[]) => any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.overArgs - */ - overArgs(...transforms: Array any>>): LoDashImplicitWrapper<(...args: any[]) => any>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.overArgs - */ - overArgs(...transforms: Array any>>): LoDashExplicitWrapper<(...args: any[]) => any>; - } -} \ No newline at end of file diff --git a/types/lodash/function/partial.d.ts b/types/lodash/function/partial.d.ts deleted file mode 100644 index 6e729971a6..0000000000 --- a/types/lodash/function/partial.d.ts +++ /dev/null @@ -1,159 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that, when called, invokes func with any additional partial arguments - * prepended to those provided to the new function. This method is similar to _.bind except - * it does not alter the this binding. - * @param func The function to partially apply arguments to. - * @param args Arguments to be partially applied. - * @return The new partially applied function. - **/ - partial: Partial; - } - - interface LoDashImplicitWrapper { - /** - * @see _.partial - */ - partial: ImplicitPartial; - } - - interface LoDashExplicitWrapper { - /** - * @see _.partial - */ - partial: ExplicitPartial; - } - - type PH = LoDashStatic; - - type Function0 = () => R; - type Function1 = (t1: T1) => R; - type Function2 = (t1: T1, t2: T2) => R; - type Function3 = (t1: T1, t2: T2, t3: T3) => R; - type Function4 = (t1: T1, t2: T2, t3: T3, t4: T4) => R; - - interface Partial { - // arity 0 - (func: Function0): Function0; - // arity 1 - (func: Function1): Function1; - (func: Function1, arg1: T1): Function0; - // arity 2 - (func: Function2): Function2; - (func: Function2, arg1: T1): Function1< T2, R>; - (func: Function2, plc1: PH, arg2: T2): Function1; - (func: Function2, arg1: T1, arg2: T2): Function0< R>; - // arity 3 - (func: Function3): Function3; - (func: Function3, arg1: T1): Function2< T2, T3, R>; - (func: Function3, plc1: PH, arg2: T2): Function2; - (func: Function3, arg1: T1, arg2: T2): Function1< T3, R>; - (func: Function3, plc1: PH, plc2: PH, arg3: T3): Function2; - (func: Function3, arg1: T1, plc2: PH, arg3: T3): Function1< T2, R>; - (func: Function3, plc1: PH, arg2: T2, arg3: T3): Function1; - (func: Function3, arg1: T1, arg2: T2, arg3: T3): Function0< R>; - // arity 4 - (func: Function4): Function4; - (func: Function4, arg1: T1): Function3< T2, T3, T4, R>; - (func: Function4, plc1: PH, arg2: T2): Function3; - (func: Function4, arg1: T1, arg2: T2): Function2< T3, T4, R>; - (func: Function4, plc1: PH, plc2: PH, arg3: T3): Function3; - (func: Function4, arg1: T1, plc2: PH, arg3: T3): Function2< T2, T4, R>; - (func: Function4, plc1: PH, arg2: T2, arg3: T3): Function2; - (func: Function4, arg1: T1, arg2: T2, arg3: T3): Function1< T4, R>; - (func: Function4, plc1: PH, plc2: PH, plc3: PH, arg4: T4): Function3; - (func: Function4, arg1: T1, plc2: PH, plc3: PH, arg4: T4): Function2< T2, T3, R>; - (func: Function4, plc1: PH, arg2: T2, plc3: PH, arg4: T4): Function2; - (func: Function4, arg1: T1, arg2: T2, plc3: PH, arg4: T4): Function1< T3, R>; - (func: Function4, plc1: PH, plc2: PH, arg3: T3, arg4: T4): Function2; - (func: Function4, arg1: T1, plc2: PH, arg3: T3, arg4: T4): Function1< T2, R>; - (func: Function4, plc1: PH, arg2: T2, arg3: T3, arg4: T4): Function1; - (func: Function4, arg1: T1, arg2: T2, arg3: T3, arg4: T4): Function0< R>; - // catch-all - (func: (...args: any[]) => any, ...args: any[]): (...args: any[]) => any; - } - - interface ImplicitPartial { - // arity 0 - (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; - // arity 1 - (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1): LoDashImplicitWrapper>; - // arity 2 - (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, plc1: PH, arg2: T2): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2): LoDashImplicitWrapper>; - // arity 3 - (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, plc1: PH, arg2: T2): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, plc1: PH, plc2: PH, arg3: T3): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, arg3: T3): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, plc1: PH, arg2: T2, arg3: T3): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, arg3: T3): LoDashImplicitWrapper>; - // arity 4 - (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, plc1: PH, arg2: T2): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, plc1: PH, plc2: PH, arg3: T3): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, arg3: T3): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, plc1: PH, arg2: T2, arg3: T3): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, arg3: T3): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, plc1: PH, plc2: PH, plc3: PH, arg4: T4): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, plc3: PH, arg4: T4): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, plc1: PH, arg2: T2, plc3: PH, arg4: T4): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, plc3: PH, arg4: T4): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, plc1: PH, plc2: PH, arg3: T3, arg4: T4): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, arg3: T3, arg4: T4): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, plc1: PH, arg2: T2, arg3: T3, arg4: T4): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, arg3: T3, arg4: T4): LoDashImplicitWrapper>; - // catch-all - (...args: any[]): LoDashImplicitWrapper<(...args: any[]) => any>; - } - - interface ExplicitPartial { - // arity 0 - (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; - // arity 1 - (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1): LoDashExplicitWrapper>; - // arity 2 - (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, plc1: PH, arg2: T2): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2): LoDashExplicitWrapper>; - // arity 3 - (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, plc1: PH, arg2: T2): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, plc1: PH, plc2: PH, arg3: T3): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, arg3: T3): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, plc1: PH, arg2: T2, arg3: T3): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, arg3: T3): LoDashExplicitWrapper>; - // arity 4 - (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, plc1: PH, arg2: T2): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, plc1: PH, plc2: PH, arg3: T3): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, arg3: T3): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, plc1: PH, arg2: T2, arg3: T3): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, arg3: T3): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, plc1: PH, plc2: PH, plc3: PH, arg4: T4): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, plc3: PH, arg4: T4): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, plc1: PH, arg2: T2, plc3: PH, arg4: T4): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, plc3: PH, arg4: T4): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, plc1: PH, plc2: PH, arg3: T3, arg4: T4): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, arg3: T3, arg4: T4): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, plc1: PH, arg2: T2, arg3: T3, arg4: T4): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, arg3: T3, arg4: T4): LoDashExplicitWrapper>; - // catch-all - (...args: any[]): LoDashExplicitWrapper<(...args: any[]) => any>; - } -} \ No newline at end of file diff --git a/types/lodash/function/partialRight.d.ts b/types/lodash/function/partialRight.d.ts deleted file mode 100644 index 24b4c47d20..0000000000 --- a/types/lodash/function/partialRight.d.ts +++ /dev/null @@ -1,150 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.partial except that partial arguments are appended to those provided - * to the new function. - * @param func The function to partially apply arguments to. - * @param args Arguments to be partially applied. - * @return The new partially applied function. - **/ - partialRight: PartialRight; - } - - interface LoDashImplicitWrapper { - /** - * @see _.partialRight - */ - partialRight: ImplicitPartialRight; - } - - interface LoDashExplicitWrapper { - /** - * @see _.partialRight - */ - partialRight: ExplicitPartialRight; - } - - interface PartialRight { - // arity 0 - (func: Function0): Function0; - // arity 1 - (func: Function1): Function1; - (func: Function1, arg1: T1): Function0; - // arity 2 - (func: Function2): Function2; - (func: Function2, arg1: T1, plc2: PH): Function1< T2, R>; - (func: Function2, arg2: T2): Function1; - (func: Function2, arg1: T1, arg2: T2): Function0< R>; - // arity 3 - (func: Function3): Function3; - (func: Function3, arg1: T1, plc2: PH, plc3: PH): Function2< T2, T3, R>; - (func: Function3, arg2: T2, plc3: PH): Function2; - (func: Function3, arg1: T1, arg2: T2, plc3: PH): Function1< T3, R>; - (func: Function3, arg3: T3): Function2; - (func: Function3, arg1: T1, plc2: PH, arg3: T3): Function1< T2, R>; - (func: Function3, arg2: T2, arg3: T3): Function1; - (func: Function3, arg1: T1, arg2: T2, arg3: T3): Function0< R>; - // arity 4 - (func: Function4): Function4; - (func: Function4, arg1: T1, plc2: PH, plc3: PH, plc4: PH): Function3< T2, T3, T4, R>; - (func: Function4, arg2: T2, plc3: PH, plc4: PH): Function3; - (func: Function4, arg1: T1, arg2: T2, plc3: PH, plc4: PH): Function2< T3, T4, R>; - (func: Function4, arg3: T3, plc4: PH): Function3; - (func: Function4, arg1: T1, plc2: PH, arg3: T3, plc4: PH): Function2< T2, T4, R>; - (func: Function4, arg2: T2, arg3: T3, plc4: PH): Function2; - (func: Function4, arg1: T1, arg2: T2, arg3: T3, plc4: PH): Function1< T4, R>; - (func: Function4, arg4: T4): Function3; - (func: Function4, arg1: T1, plc2: PH, plc3: PH, arg4: T4): Function2< T2, T3, R>; - (func: Function4, arg2: T2, plc3: PH, arg4: T4): Function2; - (func: Function4, arg1: T1, arg2: T2, plc3: PH, arg4: T4): Function1< T3, R>; - (func: Function4, arg3: T3, arg4: T4): Function2; - (func: Function4, arg1: T1, plc2: PH, arg3: T3, arg4: T4): Function1< T2, R>; - (func: Function4, arg2: T2, arg3: T3, arg4: T4): Function1; - (func: Function4, arg1: T1, arg2: T2, arg3: T3, arg4: T4): Function0< R>; - // catch-all - (func: (...args: any[]) => any, ...args: any[]): (...args: any[]) => any; - } - - interface ImplicitPartialRight { - // arity 0 - (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; - // arity 1 - (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1): LoDashImplicitWrapper>; - // arity 2 - (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg2: T2): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2): LoDashImplicitWrapper>; - // arity 3 - (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, plc3: PH): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg2: T2, plc3: PH): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, plc3: PH): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg3: T3): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, arg3: T3): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg2: T2, arg3: T3): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, arg3: T3): LoDashImplicitWrapper>; - // arity 4 - (this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, plc3: PH, plc4: PH): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg2: T2, plc3: PH, plc4: PH): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, plc3: PH, plc4: PH): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg3: T3, plc4: PH): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, arg3: T3, plc4: PH): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg2: T2, arg3: T3, plc4: PH): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, arg3: T3, plc4: PH): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg4: T4): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, plc3: PH, arg4: T4): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg2: T2, plc3: PH, arg4: T4): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, plc3: PH, arg4: T4): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg3: T3, arg4: T4): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, plc2: PH, arg3: T3, arg4: T4): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg2: T2, arg3: T3, arg4: T4): LoDashImplicitWrapper>; - (this: LoDashImplicitWrapper>, arg1: T1, arg2: T2, arg3: T3, arg4: T4): LoDashImplicitWrapper>; - // catch-all - (...args: any[]): LoDashImplicitWrapper<(...args: any[]) => any>; - } - - interface ExplicitPartialRight { - // arity 0 - (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; - // arity 1 - (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1): LoDashExplicitWrapper>; - // arity 2 - (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg2: T2): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2): LoDashExplicitWrapper>; - // arity 3 - (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, plc3: PH): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg2: T2, plc3: PH): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, plc3: PH): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg3: T3): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, arg3: T3): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg2: T2, arg3: T3): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, arg3: T3): LoDashExplicitWrapper>; - // arity 4 - (this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, plc3: PH, plc4: PH): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg2: T2, plc3: PH, plc4: PH): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, plc3: PH, plc4: PH): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg3: T3, plc4: PH): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, arg3: T3, plc4: PH): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg2: T2, arg3: T3, plc4: PH): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, arg3: T3, plc4: PH): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg4: T4): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, plc3: PH, arg4: T4): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg2: T2, plc3: PH, arg4: T4): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, plc3: PH, arg4: T4): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg3: T3, arg4: T4): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, plc2: PH, arg3: T3, arg4: T4): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg2: T2, arg3: T3, arg4: T4): LoDashExplicitWrapper>; - (this: LoDashExplicitWrapper>, arg1: T1, arg2: T2, arg3: T3, arg4: T4): LoDashExplicitWrapper>; - // catch-all - (...args: any[]): LoDashExplicitWrapper<(...args: any[]) => any>; - } -} \ No newline at end of file diff --git a/types/lodash/function/rearg.d.ts b/types/lodash/function/rearg.d.ts deleted file mode 100644 index bff0a45b0c..0000000000 --- a/types/lodash/function/rearg.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that invokes func with arguments arranged according to the specified indexes where the - * argument value at the first index is provided as the first argument, the argument value at the second index - * is provided as the second argument, and so on. - * @param func The function to rearrange arguments for. - * @param indexes The arranged argument indexes, specified as individual indexes or arrays of indexes. - * @return Returns the new function. - */ - rearg(func: (...args: any[]) => any, ...indexes: Array>): (...args: any[]) => any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.rearg - */ - rearg(...indexes: Array>): LoDashImplicitWrapper<(...args: any[]) => any>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.rearg - */ - rearg(...indexes: Array>): LoDashExplicitWrapper<(...args: any[]) => any>; - } -} \ No newline at end of file diff --git a/types/lodash/function/rest.d.ts b/types/lodash/function/rest.d.ts deleted file mode 100644 index c05349f0f9..0000000000 --- a/types/lodash/function/rest.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that invokes func with the this binding of the created function and arguments from start - * and beyond provided as an array. - * - * Note: This method is based on the rest parameter. - * - * @param func The function to apply a rest parameter to. - * @param start The start position of the rest parameter. - * @return Returns the new function. - */ - rest( - func: (...args: any[]) => any, - start?: number - ): (...args: any[]) => any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.rest - */ - rest(start?: number): LoDashImplicitWrapper<(...args: any[]) => any>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.rest - */ - rest(start?: number): LoDashExplicitWrapper<(...args: any[]) => any>; - } -} \ No newline at end of file diff --git a/types/lodash/function/spread.d.ts b/types/lodash/function/spread.d.ts deleted file mode 100644 index 29c8b5e8cf..0000000000 --- a/types/lodash/function/spread.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that invokes func with the this binding of the created function and an array of arguments - * much like Function#apply. - * - * Note: This method is based on the spread operator. - * - * @param func The function to spread arguments over. - * @return Returns the new function. - */ - spread(func: (...args: any[]) => TResult): (...args: any[]) => TResult; - - /** - * @see _.spread - */ - spread(func: (...args: any[]) => TResult, start: number): (...args: any[]) => TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.spread - */ - spread(this: LoDashImplicitWrapper<(...args: any[]) => TResult>): LoDashImplicitWrapper<(...args: any[]) => TResult>; - - /** - * @see _.spread - */ - spread(this: LoDashImplicitWrapper<(...args: any[]) => TResult>, start: number): LoDashImplicitWrapper<(...args: any[]) => TResult>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.spread - */ - spread(this: LoDashExplicitWrapper<(...args: any[]) => TResult>): LoDashExplicitWrapper<(...args: any[]) => TResult>; - - /** - * @see _.spread - */ - spread(this: LoDashExplicitWrapper<(...args: any[]) => TResult>, start: number): LoDashExplicitWrapper<(...args: any[]) => TResult>; - } -} \ No newline at end of file diff --git a/types/lodash/function/throttle.d.ts b/types/lodash/function/throttle.d.ts deleted file mode 100644 index 0b0fc10039..0000000000 --- a/types/lodash/function/throttle.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface ThrottleSettings { - /** - * If you'd like to disable the leading-edge call, pass this as false. - */ - leading?: boolean; - - /** - * If you'd like to disable the execution on the trailing-edge, pass false. - */ - trailing?: boolean; - } - - interface LoDashStatic { - /** - * Creates a throttled function that only invokes func at most once per every wait milliseconds. The throttled - * function comes with a cancel method to cancel delayed invocations and a flush method to immediately invoke - * them. Provide an options object to indicate that func should be invoked on the leading and/or trailing edge - * of the wait timeout. Subsequent calls to the throttled function return the result of the last func call. - * - * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if - * the the throttled function is invoked more than once during the wait timeout. - * - * @param func The function to throttle. - * @param wait The number of milliseconds to throttle invocations to. - * @param options The options object. - * @param options.leading Specify invoking on the leading edge of the timeout. - * @param options.trailing Specify invoking on the trailing edge of the timeout. - * @return Returns the new throttled function. - */ - throttle any>( - func: T, - wait?: number, - options?: ThrottleSettings - ): T & Cancelable; - } - - interface LoDashImplicitWrapper { - /** - * @see _.throttle - */ - throttle( - wait?: number, - options?: ThrottleSettings - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.throttle - */ - throttle( - wait?: number, - options?: ThrottleSettings - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/function/unary.d.ts b/types/lodash/function/unary.d.ts deleted file mode 100644 index 8714529b10..0000000000 --- a/types/lodash/function/unary.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that accepts up to one argument, ignoring any - * additional arguments. - * - * @category Function - * @param func The function to cap arguments for. - * @returns Returns the new function. - * @example - * - * _.map(['6', '8', '10'], _.unary(parseInt)); - * // => [6, 8, 10] - */ - unary(func: (arg1: T, ...args: any[]) => TResult): (arg1: T) => TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.unary - */ - unary(this: LoDashImplicitWrapper<(arg1: T, ...args: any[]) => TResult>): LoDashImplicitWrapper<(arg1: T) => TResult>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.unary - */ - unary(this: LoDashExplicitWrapper<(arg1: T, ...args: any[]) => TResult>): LoDashExplicitWrapper<(arg1: T) => TResult>; - } -} \ No newline at end of file diff --git a/types/lodash/function/wrap.d.ts b/types/lodash/function/wrap.d.ts deleted file mode 100644 index f0bb2693ff..0000000000 --- a/types/lodash/function/wrap.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that provides value to the wrapper function as its first argument. Any additional - * arguments provided to the function are appended to those provided to the wrapper function. The wrapper is - * invoked with the this binding of the created function. - * - * @param value The value to wrap. - * @param wrapper The wrapper function. - * @return Returns the new function. - */ - wrap( - value: T, - wrapper: (value: T, ...args: TArgs[]) => TResult - ): (...args: TArgs[]) => TResult; - - /** - * @see _.wrap - */ - wrap( - value: T, - wrapper: (value: T, ...args: any[]) => TResult - ): (...args: any[]) => TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.wrap - */ - wrap( - wrapper: (value: TValue, ...args: TArgs[]) => TResult - ): LoDashImplicitWrapper<(...args: TArgs[]) => TResult>; - - /** - * @see _.wrap - */ - wrap( - wrapper: (value: TValue, ...args: any[]) => TResult - ): LoDashImplicitWrapper<(...args: any[]) => TResult>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.wrap - */ - /** - * @see _.wrap - */ - wrap( - wrapper: (value: TValue, ...args: TArgs[]) => TResult - ): LoDashExplicitWrapper<(...args: TArgs[]) => TResult>; - - /** - * @see _.wrap - */ - wrap( - wrapper: (value: TValue, ...args: any[]) => TResult - ): LoDashExplicitWrapper<(...args: any[]) => TResult>; - } -} \ No newline at end of file diff --git a/types/lodash/index.d.ts b/types/lodash/index.d.ts index 578bfacd21..67e9c8f0cb 100644 --- a/types/lodash/index.d.ts +++ b/types/lodash/index.d.ts @@ -12,344 +12,18 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 -// common /// - -// array -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// - -// collection -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// - -// date -/// - -// function -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// - -// lang -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// - -// math -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// - -// number -/// -/// -/// - -// object -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// - -// _ -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// - -// string -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// - -// util -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// export = _; export as namespace _; diff --git a/types/lodash/lang/castArray.d.ts b/types/lodash/lang/castArray.d.ts deleted file mode 100644 index 5f385c5ed5..0000000000 --- a/types/lodash/lang/castArray.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Casts value as an array if it’s not one. - * - * @param value The value to inspect. - * @return Returns the cast array. - */ - castArray(value?: Many): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.castArray - */ - castArray(this: LoDashImplicitWrapper>): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.castArray - */ - castArray(this: LoDashExplicitWrapper>): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/clone.d.ts b/types/lodash/lang/clone.d.ts deleted file mode 100644 index 794e2383fb..0000000000 --- a/types/lodash/lang/clone.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a shallow clone of value. - * - * Note: This method is loosely based on the structured clone algorithm and supports cloning arrays, - * array buffers, booleans, date objects, maps, numbers, Object objects, regexes, sets, strings, symbols, - * and typed arrays. The own enumerable properties of arguments objects are cloned as plain objects. An empty - * object is returned for uncloneable values such as error objects, functions, DOM nodes, and WeakMaps. - * - * @param value The value to clone. - * @return Returns the cloned value. - */ - clone(value: T): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.clone - */ - clone(): TValue; - } - - interface LoDashExplicitWrapper { - /** - * @see _.clone - */ - clone(): this; - } -} \ No newline at end of file diff --git a/types/lodash/lang/cloneDeep.d.ts b/types/lodash/lang/cloneDeep.d.ts deleted file mode 100644 index 0a49e67ea9..0000000000 --- a/types/lodash/lang/cloneDeep.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.clone except that it recursively clones value. - * - * @param value The value to recursively clone. - * @return Returns the deep cloned value. - */ - cloneDeep(value: T): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.cloneDeep - */ - cloneDeep(): TValue; - } - - interface LoDashExplicitWrapper { - /** - * @see _.cloneDeep - */ - cloneDeep(): this; - } -} \ No newline at end of file diff --git a/types/lodash/lang/cloneDeepWith.d.ts b/types/lodash/lang/cloneDeepWith.d.ts deleted file mode 100644 index b46fc766ac..0000000000 --- a/types/lodash/lang/cloneDeepWith.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - type CloneDeepWithCustomizer = (value: any, key: number | string | undefined, object: TObject | undefined, stack: any) => any; - - interface LoDashStatic { - /** - * This method is like _.cloneWith except that it recursively clones value. - * - * @param value The value to recursively clone. - * @param customizer The function to customize cloning. - * @return Returns the deep cloned value. - */ - cloneDeepWith( - value: T, - customizer: CloneDeepWithCustomizer - ): any; - - /** - * @see _.cloneDeepWith - */ - cloneDeepWith(value: T): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer: CloneDeepWithCustomizer - ): any; - - /** - * @see _.cloneDeepWith - */ - cloneDeepWith(): TValue; - } - - interface LoDashExplicitWrapper { - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer: CloneDeepWithCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.cloneDeepWith - */ - cloneDeepWith(): this; - } -} \ No newline at end of file diff --git a/types/lodash/lang/cloneWith.d.ts b/types/lodash/lang/cloneWith.d.ts deleted file mode 100644 index 22c00be038..0000000000 --- a/types/lodash/lang/cloneWith.d.ts +++ /dev/null @@ -1,74 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - type CloneWithCustomizer = (value: TValue, key: number | string | undefined, object: any, stack: any) => TResult; - - interface LoDashStatic { - /** - * This method is like _.clone except that it accepts customizer which is invoked to produce the cloned value. - * If customizer returns undefined cloning is handled by the method instead. - * - * @param value The value to clone. - * @param customizer The function to customize cloning. - * @return Returns the cloned value. - */ - cloneWith( - value: T, - customizer: CloneWithCustomizer - ): TResult; - - /** - * @see _.cloneWith - */ - cloneWith( - value: T, - customizer: CloneWithCustomizer - ): TResult | T; - - /** - * @see _.cloneWith - */ - cloneWith(value: T): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.cloneWith - */ - cloneWith( - customizer: CloneWithCustomizer - ): TResult; - - /** - * @see _.cloneWith - */ - cloneWith( - customizer: CloneWithCustomizer - ): TResult | TValue; - - /** - * @see _.cloneWith - */ - cloneWith(): TValue; - } - - interface LoDashExplicitWrapper { - /** - * @see _.cloneWith - */ - cloneWith( - customizer: CloneWithCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.cloneWith - */ - cloneWith( - customizer: CloneWithCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.cloneWith - */ - cloneWith(): this; - } -} \ No newline at end of file diff --git a/types/lodash/lang/conformsTo.d.ts b/types/lodash/lang/conformsTo.d.ts deleted file mode 100644 index f069e15e73..0000000000 --- a/types/lodash/lang/conformsTo.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - - interface LoDashStatic { - /** - * Checks if object conforms to source by invoking the predicate properties of source with the - * corresponding property values of object. - * - * Note: This method is equivalent to _.conforms when source is partially applied. - */ - conformsTo(object: T, source: ConformsPredicateObject): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.conformsTo - */ - conformsTo(this: LoDashImplicitWrapper, source: ConformsPredicateObject): boolean; - // Note: we can't use TValue here, because it generates a typescript error when strictFunctionTypes is enabled. - } - - interface LoDashExplicitWrapper { - /** - * @see _.conformsTo - */ - conformsTo(this: LoDashImplicitWrapper, source: ConformsPredicateObject): LoDashExplicitWrapper; - // Note: we can't use TValue here, because it generates a typescript error when strictFunctionTypes is enabled. - } - - type CondPair = [(val: T) => boolean, (val: T) => R] -} \ No newline at end of file diff --git a/types/lodash/lang/eq.d.ts b/types/lodash/lang/eq.d.ts deleted file mode 100644 index 808ec0cf39..0000000000 --- a/types/lodash/lang/eq.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Performs a [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) - * comparison between two values to determine if they are equivalent. - * - * @category Lang - * @param value The value to compare. - * @param other The other value to compare. - * @returns Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'user': 'fred' }; - * var other = { 'user': 'fred' }; - * - * _.eq(object, object); - * // => true - * - * _.eq(object, other); - * // => false - * - * _.eq('a', 'a'); - * // => true - * - * _.eq('a', Object('a')); - * // => false - * - * _.eq(NaN, NaN); - * // => true - */ - eq( - value: any, - other: any - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.eq - */ - eq( - other: any - ): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.eq - */ - eq( - other: any - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/gt.d.ts b/types/lodash/lang/gt.d.ts deleted file mode 100644 index 3ae27eaccf..0000000000 --- a/types/lodash/lang/gt.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is greater than other. - * - * @param value The value to compare. - * @param other The other value to compare. - * @return Returns true if value is greater than other, else false. - */ - gt( - value: any, - other: any - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.gt - */ - gt(other: any): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.gt - */ - gt(other: any): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/gte.d.ts b/types/lodash/lang/gte.d.ts deleted file mode 100644 index b68cc05c7d..0000000000 --- a/types/lodash/lang/gte.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is greater than or equal to other. - * - * @param value The value to compare. - * @param other The other value to compare. - * @return Returns true if value is greater than or equal to other, else false. - */ - gte( - value: any, - other: any - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.gte - */ - gte(other: any): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.gte - */ - gte(other: any): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isArguments.d.ts b/types/lodash/lang/isArguments.d.ts deleted file mode 100644 index 20c90752bf..0000000000 --- a/types/lodash/lang/isArguments.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is classified as an arguments object. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isArguments(value?: any): value is IArguments; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isArguments - */ - isArguments(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isArguments - */ - isArguments(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isArray.d.ts b/types/lodash/lang/isArray.d.ts deleted file mode 100644 index 3d0676791c..0000000000 --- a/types/lodash/lang/isArray.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is classified as an Array object. - * @param value The value to check. - * - * @return Returns true if value is correctly classified, else false. - */ - isArray(value?: any): value is any[]; - - /** - * DEPRECATED - */ - isArray(value?: any): value is any[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isArray - */ - isArray(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isArray - */ - isArray(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isArrayBuffer.d.ts b/types/lodash/lang/isArrayBuffer.d.ts deleted file mode 100644 index b22e954086..0000000000 --- a/types/lodash/lang/isArrayBuffer.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is classified as an ArrayBuffer object. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isArrayBuffer(value?: any): value is ArrayBuffer; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isArrayBuffer - */ - isArrayBuffer(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isArrayBuffer - */ - isArrayBuffer(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isArrayLike.d.ts b/types/lodash/lang/isArrayLike.d.ts deleted file mode 100644 index 59c75a70b7..0000000000 --- a/types/lodash/lang/isArrayLike.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if `value` is array-like. A value is considered array-like if it's - * not a function and has a `value.length` that's an integer greater than or - * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. - * - * @category Lang - * @param value The value to check. - * @returns Returns `true` if `value` is array-like, else `false`. - * @example - * - * _.isArrayLike([1, 2, 3]); - * // => true - * - * _.isArrayLike(document.body.children); - * // => true - * - * _.isArrayLike('abc'); - * // => true - * - * _.isArrayLike(_.noop); - * // => false - */ - isArrayLike(value: T & string & number): boolean; // should only match if T = any - - /** - * @see _.isArrayLike - */ - isArrayLike(value: ((...args: any[]) => any) | null | undefined): value is never; - - /** - * @see _.isArrayLike - */ - isArrayLike(value: any): value is { length: number }; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isArrayLike - */ - isArrayLike(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isArrayLike - */ - isArrayLike(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isArrayLikeObject.d.ts b/types/lodash/lang/isArrayLikeObject.d.ts deleted file mode 100644 index 6613d7d410..0000000000 --- a/types/lodash/lang/isArrayLikeObject.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.isArrayLike` except that it also checks if `value` - * is an object. - * - * @category Lang - * @param value The value to check. - * @returns Returns `true` if `value` is an array-like object, else `false`. - * @example - * - * _.isArrayLikeObject([1, 2, 3]); - * // => true - * - * _.isArrayLikeObject(document.body.children); - * // => true - * - * _.isArrayLikeObject('abc'); - * // => false - * - * _.isArrayLikeObject(_.noop); - * // => false - */ - isArrayLikeObject(value: T & string & number): boolean; // should only match if T = any - - /** - * @see _.isArrayLike - */ - // tslint:disable-next-line:ban-types (type guard doesn't seem to work correctly without the Function type) - isArrayLikeObject(value: ((...args: any[]) => any) | Function | string | boolean | number | null | undefined): value is never; - - /** - * @see _.isArrayLike - */ - // tslint:disable-next-line:ban-types (type guard doesn't seem to work correctly without the Function type) - isArrayLikeObject(value: T | ((...args: any[]) => any) | Function | string | boolean | number | null | undefined): value is T & { length: number }; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isArrayLikeObject - */ - isArrayLikeObject(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isArrayLikeObject - */ - isArrayLikeObject(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isBoolean.d.ts b/types/lodash/lang/isBoolean.d.ts deleted file mode 100644 index 060d3eae5e..0000000000 --- a/types/lodash/lang/isBoolean.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is classified as a boolean primitive or object. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isBoolean(value?: any): value is boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isBoolean - */ - isBoolean(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isBoolean - */ - isBoolean(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isBuffer.d.ts b/types/lodash/lang/isBuffer.d.ts deleted file mode 100644 index 971cd4cc42..0000000000 --- a/types/lodash/lang/isBuffer.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is a buffer. - * - * @param value The value to check. - * @return Returns true if value is a buffer, else false. - */ - isBuffer(value?: any): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isBuffer - */ - isBuffer(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isBuffer - */ - isBuffer(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isDate.d.ts b/types/lodash/lang/isDate.d.ts deleted file mode 100644 index ac6dc058f8..0000000000 --- a/types/lodash/lang/isDate.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is classified as a Date object. - * @param value The value to check. - * - * @return Returns true if value is correctly classified, else false. - */ - isDate(value?: any): value is Date; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isDate - */ - isDate(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isDate - */ - isDate(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isElement.d.ts b/types/lodash/lang/isElement.d.ts deleted file mode 100644 index 9b818bc1cf..0000000000 --- a/types/lodash/lang/isElement.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is a DOM element. - * - * @param value The value to check. - * @return Returns true if value is a DOM element, else false. - */ - isElement(value?: any): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isElement - */ - isElement(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isElement - */ - isElement(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isEmpty.d.ts b/types/lodash/lang/isEmpty.d.ts deleted file mode 100644 index b84fd2e125..0000000000 --- a/types/lodash/lang/isEmpty.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is empty. A value is considered empty unless it’s an arguments object, array, string, or - * jQuery-like collection with a length greater than 0 or an object with own enumerable properties. - * - * @param value The value to inspect. - * @return Returns true if value is empty, else false. - */ - isEmpty(value?: any): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isEmpty - */ - isEmpty(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isEmpty - */ - isEmpty(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isEqual.d.ts b/types/lodash/lang/isEqual.d.ts deleted file mode 100644 index ae7b0eedd8..0000000000 --- a/types/lodash/lang/isEqual.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Performs a deep comparison between two values to determine if they are - * equivalent. - * - * **Note:** This method supports comparing arrays, array buffers, booleans, - * date objects, error objects, maps, numbers, `Object` objects, regexes, - * sets, strings, symbols, and typed arrays. `Object` objects are compared - * by their own, not inherited, enumerable properties. Functions and DOM - * nodes are **not** supported. - * - * @category Lang - * @param value The value to compare. - * @param other The other value to compare. - * @returns Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'user': 'fred' }; - * var other = { 'user': 'fred' }; - * - * _.isEqual(object, other); - * // => true - * - * object === other; - * // => false - */ - isEqual( - value: any, - other: any - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isEqual - */ - isEqual( - other: any - ): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isEqual - */ - isEqual( - other: any - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isEqualWith.d.ts b/types/lodash/lang/isEqualWith.d.ts deleted file mode 100644 index 44ab134546..0000000000 --- a/types/lodash/lang/isEqualWith.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - type IsEqualCustomizer = (value: any, other: any, indexOrKey: PropertyName | undefined, parent: any, otherParent: any, stack: any) => boolean|undefined; - - interface LoDashStatic { - /** - * This method is like `_.isEqual` except that it accepts `customizer` which is - * invoked to compare values. If `customizer` returns `undefined` comparisons are - * handled by the method instead. The `customizer` is invoked with up to seven arguments: - * (objValue, othValue [, index|key, object, other, stack]). - * - * @category Lang - * @param value The value to compare. - * @param other The other value to compare. - * @param [customizer] The function to customize comparisons. - * @returns Returns `true` if the values are equivalent, else `false`. - * @example - * - * function isGreeting(value) { - * return /^h(?:i|ello)$/.test(value); - * } - * - * function customizer(objValue, othValue) { - * if (isGreeting(objValue) && isGreeting(othValue)) { - * return true; - * } - * } - * - * var array = ['hello', 'goodbye']; - * var other = ['hi', 'goodbye']; - * - * _.isEqualWith(array, other, customizer); - * // => true - */ - isEqualWith( - value: any, - other: any, - customizer?: IsEqualCustomizer - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isEqualWith - */ - isEqualWith( - other: any, - customizer?: IsEqualCustomizer - ): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isEqualWith - */ - isEqualWith( - other: any, - customizer?: IsEqualCustomizer - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isError.d.ts b/types/lodash/lang/isError.d.ts deleted file mode 100644 index a5bd5d378b..0000000000 --- a/types/lodash/lang/isError.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is an Error, EvalError, RangeError, ReferenceError, SyntaxError, TypeError, or URIError - * object. - * - * @param value The value to check. - * @return Returns true if value is an error object, else false. - */ - isError(value: any): value is Error; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isError - */ - isError(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isError - */ - isError(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isFinite.d.ts b/types/lodash/lang/isFinite.d.ts deleted file mode 100644 index e5015e8d49..0000000000 --- a/types/lodash/lang/isFinite.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is a finite primitive number. - * - * Note: This method is based on Number.isFinite. - * - * @param value The value to check. - * @return Returns true if value is a finite number, else false. - */ - isFinite(value?: any): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isFinite - */ - isFinite(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isFinite - */ - isFinite(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isFunction.d.ts b/types/lodash/lang/isFunction.d.ts deleted file mode 100644 index 7f6ae1feea..0000000000 --- a/types/lodash/lang/isFunction.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is a callable function. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isFunction(value: any): value is (...args: any[]) => any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isFunction - */ - isFunction(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isFunction - */ - isFunction(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isInteger.d.ts b/types/lodash/lang/isInteger.d.ts deleted file mode 100644 index a1919bf21d..0000000000 --- a/types/lodash/lang/isInteger.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if `value` is an integer. - * - * **Note:** This method is based on [`Number.isInteger`](https://mdn.io/Number/isInteger). - * - * @category Lang - * @param value The value to check. - * @returns Returns `true` if `value` is an integer, else `false`. - * @example - * - * _.isInteger(3); - * // => true - * - * _.isInteger(Number.MIN_VALUE); - * // => false - * - * _.isInteger(Infinity); - * // => false - * - * _.isInteger('3'); - * // => false - */ - isInteger(value?: any): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isInteger - */ - isInteger(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isInteger - */ - isInteger(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isLength.d.ts b/types/lodash/lang/isLength.d.ts deleted file mode 100644 index b8c012460e..0000000000 --- a/types/lodash/lang/isLength.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if `value` is a valid array-like length. - * - * **Note:** This function is loosely based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength). - * - * @category Lang - * @param value The value to check. - * @returns Returns `true` if `value` is a valid length, else `false`. - * @example - * - * _.isLength(3); - * // => true - * - * _.isLength(Number.MIN_VALUE); - * // => false - * - * _.isLength(Infinity); - * // => false - * - * _.isLength('3'); - * // => false - */ - isLength(value?: any): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isLength - */ - isLength(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isLength - */ - isLength(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isMap.d.ts b/types/lodash/lang/isMap.d.ts deleted file mode 100644 index b71a3d750f..0000000000 --- a/types/lodash/lang/isMap.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is classified as a Map object. - * - * @param value The value to check. - * @returns Returns true if value is correctly classified, else false. - */ - isMap(value?: any): value is Map; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isMap - */ - isMap(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isMap - */ - isMap(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isMatch.d.ts b/types/lodash/lang/isMatch.d.ts deleted file mode 100644 index dfb072c59b..0000000000 --- a/types/lodash/lang/isMatch.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - type isMatchCustomizer = (value: any, other: any, indexOrKey?: PropertyName) => boolean; - - interface LoDashStatic { - /** - * Performs a deep comparison between `object` and `source` to determine if - * `object` contains equivalent property values. - * - * **Note:** This method supports comparing the same values as `_.isEqual`. - * - * @category Lang - * @param object The object to inspect. - * @param source The object of property values to match. - * @returns Returns `true` if `object` is a match, else `false`. - * @example - * - * var object = { 'user': 'fred', 'age': 40 }; - * - * _.isMatch(object, { 'age': 40 }); - * // => true - * - * _.isMatch(object, { 'age': 36 }); - * // => false - */ - isMatch(object: object, source: object): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isMatch - */ - isMatch(source: object): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isMatch - */ - isMatch(source: object): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isMatchWith.d.ts b/types/lodash/lang/isMatchWith.d.ts deleted file mode 100644 index fb47f327b4..0000000000 --- a/types/lodash/lang/isMatchWith.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - type isMatchWithCustomizer = (value: any, other: any, indexOrKey: PropertyName) => boolean; - - interface LoDashStatic { - /** - * This method is like `_.isMatch` except that it accepts `customizer` which - * is invoked to compare values. If `customizer` returns `undefined` comparisons - * are handled by the method instead. The `customizer` is invoked with three - * arguments: (objValue, srcValue, index|key, object, source). - * - * @category Lang - * @param object The object to inspect. - * @param source The object of property values to match. - * @param [customizer] The function to customize comparisons. - * @returns Returns `true` if `object` is a match, else `false`. - * @example - * - * function isGreeting(value) { - * return /^h(?:i|ello)$/.test(value); - * } - * - * function customizer(objValue, srcValue) { - * if (isGreeting(objValue) && isGreeting(srcValue)) { - * return true; - * } - * } - * - * var object = { 'greeting': 'hello' }; - * var source = { 'greeting': 'hi' }; - * - * _.isMatchWith(object, source, customizer); - * // => true - */ - isMatchWith(object: object, source: object, customizer: isMatchWithCustomizer): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isMatchWith - */ - isMatchWith(source: object, customizer: isMatchWithCustomizer): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isMatchWith - */ - isMatchWith(source: object, customizer: isMatchWithCustomizer): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isNaN.d.ts b/types/lodash/lang/isNaN.d.ts deleted file mode 100644 index b016c91c74..0000000000 --- a/types/lodash/lang/isNaN.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is NaN. - * - * Note: This method is not the same as isNaN which returns true for undefined and other non-numeric values. - * - * @param value The value to check. - * @return Returns true if value is NaN, else false. - */ - isNaN(value?: any): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isNaN - */ - isNaN(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isNaN - */ - isNaN(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isNative.d.ts b/types/lodash/lang/isNative.d.ts deleted file mode 100644 index 72f74e7148..0000000000 --- a/types/lodash/lang/isNative.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is a native function. - * @param value The value to check. - * - * @retrun Returns true if value is a native function, else false. - */ - isNative(value: any): value is (...args: any[]) => any; - } - - interface LoDashImplicitWrapper { - /** - * see _.isNative - */ - isNative(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * see _.isNative - */ - isNative(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isNil.d.ts b/types/lodash/lang/isNil.d.ts deleted file mode 100644 index 2b0cb04fbc..0000000000 --- a/types/lodash/lang/isNil.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if `value` is `null` or `undefined`. - * - * @category Lang - * @param value The value to check. - * @returns Returns `true` if `value` is nullish, else `false`. - * @example - * - * _.isNil(null); - * // => true - * - * _.isNil(void 0); - * // => true - * - * _.isNil(NaN); - * // => false - */ - isNil(value: any): value is null | undefined; - } - - interface LoDashImplicitWrapper { - /** - * see _.isNil - */ - isNil(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * see _.isNil - */ - isNil(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isNull.d.ts b/types/lodash/lang/isNull.d.ts deleted file mode 100644 index 04dfb18cea..0000000000 --- a/types/lodash/lang/isNull.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is null. - * - * @param value The value to check. - * @return Returns true if value is null, else false. - */ - isNull(value: any): value is null; - } - - interface LoDashImplicitWrapper { - /** - * see _.isNull - */ - isNull(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * see _.isNull - */ - isNull(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isNumber.d.ts b/types/lodash/lang/isNumber.d.ts deleted file mode 100644 index 81479cb4c9..0000000000 --- a/types/lodash/lang/isNumber.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is classified as a Number primitive or object. - * - * Note: To exclude Infinity, -Infinity, and NaN, which are classified as numbers, use the _.isFinite method. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isNumber(value?: any): value is number; - } - - interface LoDashImplicitWrapper { - /** - * see _.isNumber - */ - isNumber(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * see _.isNumber - */ - isNumber(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isObject.d.ts b/types/lodash/lang/isObject.d.ts deleted file mode 100644 index e014fd9620..0000000000 --- a/types/lodash/lang/isObject.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is the language type of Object. (e.g. arrays, functions, objects, regexes, new Number(0), - * and new String('')) - * - * @param value The value to check. - * @return Returns true if value is an object, else false. - */ - isObject(value?: any): boolean; - } - - interface LoDashImplicitWrapper { - /** - * see _.isObject - */ - isObject(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * see _.isObject - */ - isObject(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isObjectLike.d.ts b/types/lodash/lang/isObjectLike.d.ts deleted file mode 100644 index 1665ec8a69..0000000000 --- a/types/lodash/lang/isObjectLike.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if `value` is object-like. A value is object-like if it's not `null` - * and has a `typeof` result of "object". - * - * @category Lang - * @param value The value to check. - * @returns Returns `true` if `value` is object-like, else `false`. - * @example - * - * _.isObjectLike({}); - * // => true - * - * _.isObjectLike([1, 2, 3]); - * // => true - * - * _.isObjectLike(_.noop); - * // => false - * - * _.isObjectLike(null); - * // => false - */ - isObjectLike(value?: any): boolean; - } - - interface LoDashImplicitWrapper { - /** - * see _.isObjectLike - */ - isObjectLike(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * see _.isObjectLike - */ - isObjectLike(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isPlainObject.d.ts b/types/lodash/lang/isPlainObject.d.ts deleted file mode 100644 index bb5070f535..0000000000 --- a/types/lodash/lang/isPlainObject.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is a plain object, that is, an object created by the Object constructor or one with a - * [[Prototype]] of null. - * - * Note: This method assumes objects created by the Object constructor have no inherited enumerable properties. - * - * @param value The value to check. - * @return Returns true if value is a plain object, else false. - */ - isPlainObject(value?: any): boolean; - } - - interface LoDashImplicitWrapper { - /** - * see _.isPlainObject - */ - isPlainObject(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * see _.isPlainObject - */ - isPlainObject(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isRegExp.d.ts b/types/lodash/lang/isRegExp.d.ts deleted file mode 100644 index 4199940091..0000000000 --- a/types/lodash/lang/isRegExp.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is classified as a RegExp object. - * @param value The value to check. - * - * @return Returns true if value is correctly classified, else false. - */ - isRegExp(value?: any): value is RegExp; - } - - interface LoDashImplicitWrapper { - /** - * see _.isRegExp - */ - isRegExp(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * see _.isRegExp - */ - isRegExp(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isSafeInteger.d.ts b/types/lodash/lang/isSafeInteger.d.ts deleted file mode 100644 index 0ca1b4809a..0000000000 --- a/types/lodash/lang/isSafeInteger.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754 - * double precision number which isn't the result of a rounded unsafe integer. - * - * **Note:** This method is based on [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger). - * - * @category Lang - * @param value The value to check. - * @returns Returns `true` if `value` is a safe integer, else `false`. - * @example - * - * _.isSafeInteger(3); - * // => true - * - * _.isSafeInteger(Number.MIN_VALUE); - * // => false - * - * _.isSafeInteger(Infinity); - * // => false - * - * _.isSafeInteger('3'); - * // => false - */ - isSafeInteger(value: any): boolean; - } - - interface LoDashImplicitWrapper { - /** - * see _.isSafeInteger - */ - isSafeInteger(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * see _.isSafeInteger - */ - isSafeInteger(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isSet.d.ts b/types/lodash/lang/isSet.d.ts deleted file mode 100644 index af7f4ad9e9..0000000000 --- a/types/lodash/lang/isSet.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is classified as a Set object. - * - * @param value The value to check. - * @returns Returns true if value is correctly classified, else false. - */ - isSet(value?: any): value is Set; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isSet - */ - isSet(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isSet - */ - isSet(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isString.d.ts b/types/lodash/lang/isString.d.ts deleted file mode 100644 index d39917345e..0000000000 --- a/types/lodash/lang/isString.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is classified as a String primitive or object. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isString(value?: any): value is string; - } - - interface LoDashImplicitWrapper { - /** - * see _.isString - */ - isString(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * see _.isString - */ - isString(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isSymbol.d.ts b/types/lodash/lang/isSymbol.d.ts deleted file mode 100644 index 2f0a6aa4f5..0000000000 --- a/types/lodash/lang/isSymbol.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if `value` is classified as a `Symbol` primitive or object. - * - * @category Lang - * @param value The value to check. - * @returns Returns `true` if `value` is correctly classified, else `false`. - * @example - * - * _.isSymbol(Symbol.iterator); - * // => true - * - * _.isSymbol('abc'); - * // => false - */ - isSymbol(value: any): boolean; - } - - interface LoDashImplicitWrapper { - /** - * see _.isSymbol - */ - isSymbol(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * see _.isSymbol - */ - isSymbol(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isTypedArray.d.ts b/types/lodash/lang/isTypedArray.d.ts deleted file mode 100644 index dffc9e43d0..0000000000 --- a/types/lodash/lang/isTypedArray.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is classified as a typed array. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isTypedArray(value: any): boolean; - } - - interface LoDashImplicitWrapper { - /** - * see _.isTypedArray - */ - isTypedArray(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * see _.isTypedArray - */ - isTypedArray(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isUndefined.d.ts b/types/lodash/lang/isUndefined.d.ts deleted file mode 100644 index dad9ed7cc3..0000000000 --- a/types/lodash/lang/isUndefined.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is undefined. - * - * @param value The value to check. - * @return Returns true if value is undefined, else false. - */ - isUndefined(value: any): value is undefined; - } - - interface LoDashImplicitWrapper { - /** - * see _.isUndefined - */ - isUndefined(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * see _.isUndefined - */ - isUndefined(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isWeakMap.d.ts b/types/lodash/lang/isWeakMap.d.ts deleted file mode 100644 index 8dae9d20f5..0000000000 --- a/types/lodash/lang/isWeakMap.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is classified as a WeakMap object. - * - * @param value The value to check. - * @returns Returns true if value is correctly classified, else false. - */ - isWeakMap(value?: any): value is WeakMap; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isSet - */ - isWeakMap(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isSet - */ - isWeakMap(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/isWeakSet.d.ts b/types/lodash/lang/isWeakSet.d.ts deleted file mode 100644 index 2c08c521aa..0000000000 --- a/types/lodash/lang/isWeakSet.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is classified as a WeakSet object. - * - * @param value The value to check. - * @returns Returns true if value is correctly classified, else false. - */ - isWeakSet(value?: any): value is WeakSet; - } - - interface LoDashImplicitWrapper { - /** - * @see _.isWeakSet - */ - isWeakSet(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.isWeakSet - */ - isWeakSet(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/lt.d.ts b/types/lodash/lang/lt.d.ts deleted file mode 100644 index 434b1476d0..0000000000 --- a/types/lodash/lang/lt.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is less than other. - * - * @param value The value to compare. - * @param other The other value to compare. - * @return Returns true if value is less than other, else false. - */ - lt( - value: any, - other: any - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.lt - */ - lt(other: any): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.lt - */ - lt(other: any): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/lte.d.ts b/types/lodash/lang/lte.d.ts deleted file mode 100644 index 84cc6b22fe..0000000000 --- a/types/lodash/lang/lte.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if value is less than or equal to other. - * - * @param value The value to compare. - * @param other The other value to compare. - * @return Returns true if value is less than or equal to other, else false. - */ - lte( - value: any, - other: any - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.lte - */ - lte(other: any): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.lte - */ - lte(other: any): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/toArray.d.ts b/types/lodash/lang/toArray.d.ts deleted file mode 100644 index d0fd0b93f2..0000000000 --- a/types/lodash/lang/toArray.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts value to an array. - * - * @param value The value to convert. - * @return Returns the converted array. - */ - toArray(value: List | Dictionary | NumericDictionary | null | undefined): T[]; - - /** - * @see _.toArray - */ - toArray(value: T): Array; - - /** - * @see _.toArray - */ - toArray(): any[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toArray - */ - toArray(this: LoDashImplicitWrapper | Dictionary | NumericDictionary | null | undefined>): LoDashImplicitWrapper; - - /** - * @see _.toArray - */ - toArray(this: LoDashImplicitWrapper): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toArray - */ - toArray(this: LoDashExplicitWrapper | Dictionary | NumericDictionary | null | undefined>): LoDashExplicitWrapper; - - /** - * @see _.toArray - */ - toArray(this: LoDashImplicitWrapper): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/lang/toFinite.d.ts b/types/lodash/lang/toFinite.d.ts deleted file mode 100644 index 3007bf3674..0000000000 --- a/types/lodash/lang/toFinite.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts `value` to a finite number. - * - * @since 4.12.0 - * @category Lang - * @param value The value to convert. - * @returns Returns the converted number. - * @example - * - * _.toFinite(3.2); - * // => 3.2 - * - * _.toFinite(Number.MIN_VALUE); - * // => 5e-324 - * - * _.toFinite(Infinity); - * // => 1.7976931348623157e+308 - * - * _.toFinite('3.2'); - * // => 3.2 - */ - toFinite(value: any): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toFinite - */ - toFinite(): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toFinite - */ - toFinite(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/toInteger.d.ts b/types/lodash/lang/toInteger.d.ts deleted file mode 100644 index 2f4c2f217c..0000000000 --- a/types/lodash/lang/toInteger.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts `value` to an integer. - * - * **Note:** This function is loosely based on [`ToInteger`](http://www.ecma-international.org/ecma-262/6.0/#sec-tointeger). - * - * @category Lang - * @param value The value to convert. - * @returns Returns the converted integer. - * @example - * - * _.toInteger(3); - * // => 3 - * - * _.toInteger(Number.MIN_VALUE); - * // => 0 - * - * _.toInteger(Infinity); - * // => 1.7976931348623157e+308 - * - * _.toInteger('3'); - * // => 3 - */ - toInteger(value: any): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toInteger - */ - toInteger(): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toInteger - */ - toInteger(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/toLength.d.ts b/types/lodash/lang/toLength.d.ts deleted file mode 100644 index 62e9b059fe..0000000000 --- a/types/lodash/lang/toLength.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts `value` to an integer suitable for use as the length of an - * array-like object. - * - * **Note:** This method is based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength). - * - * @category Lang - * @param value The value to convert. - * @return Returns the converted integer. - * @example - * - * _.toLength(3); - * // => 3 - * - * _.toLength(Number.MIN_VALUE); - * // => 0 - * - * _.toLength(Infinity); - * // => 4294967295 - * - * _.toLength('3'); - * // => 3 - */ - toLength(value: any): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toLength - */ - toLength(): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toLength - */ - toLength(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/toNumber.d.ts b/types/lodash/lang/toNumber.d.ts deleted file mode 100644 index 5099f7ad89..0000000000 --- a/types/lodash/lang/toNumber.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts `value` to a number. - * - * @category Lang - * @param value The value to process. - * @returns Returns the number. - * @example - * - * _.toNumber(3); - * // => 3 - * - * _.toNumber(Number.MIN_VALUE); - * // => 5e-324 - * - * _.toNumber(Infinity); - * // => Infinity - * - * _.toNumber('3'); - * // => 3 - */ - toNumber(value: any): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toNumber - */ - toNumber(): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toNumber - */ - toNumber(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/toPlainObject.d.ts b/types/lodash/lang/toPlainObject.d.ts deleted file mode 100644 index 60b9c1a7b1..0000000000 --- a/types/lodash/lang/toPlainObject.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts value to a plain object flattening inherited enumerable properties of value to own properties - * of the plain object. - * - * @param value The value to convert. - * @return Returns the converted plain object. - */ - toPlainObject(value?: any): any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toPlainObject - */ - toPlainObject(): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toPlainObject - */ - toPlainObject(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/toSafeInteger.d.ts b/types/lodash/lang/toSafeInteger.d.ts deleted file mode 100644 index a4e1729dbb..0000000000 --- a/types/lodash/lang/toSafeInteger.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts `value` to a safe integer. A safe integer can be compared and - * represented correctly. - * - * @category Lang - * @param value The value to convert. - * @returns Returns the converted integer. - * @example - * - * _.toSafeInteger(3); - * // => 3 - * - * _.toSafeInteger(Number.MIN_VALUE); - * // => 0 - * - * _.toSafeInteger(Infinity); - * // => 9007199254740991 - * - * _.toSafeInteger('3'); - * // => 3 - */ - toSafeInteger(value: any): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toSafeInteger - */ - toSafeInteger(): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toSafeInteger - */ - toSafeInteger(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/lang/toString.d.ts b/types/lodash/lang/toString.d.ts deleted file mode 100644 index 559f05f66f..0000000000 --- a/types/lodash/lang/toString.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts `value` to a string if it's not one. An empty string is returned - * for `null` and `undefined` values. The sign of `-0` is preserved. - * - * @category Lang - * @param value The value to process. - * @returns Returns the string. - * @example - * - * _.toString(null); - * // => '' - * - * _.toString(-0); - * // => '-0' - * - * _.toString([1, 2, 3]); - * // => '1,2,3' - */ - toString(value: any): string; - } -} \ No newline at end of file diff --git a/types/lodash/math/add.d.ts b/types/lodash/math/add.d.ts deleted file mode 100644 index 573178e0f4..0000000000 --- a/types/lodash/math/add.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Adds two numbers. - * - * @param augend The first number to add. - * @param addend The second number to add. - * @return Returns the sum. - */ - add( - augend: number, - addend: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.add - */ - add(addend: number): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.add - */ - add(addend: number): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/math/ceil.d.ts b/types/lodash/math/ceil.d.ts deleted file mode 100644 index a51048c2f2..0000000000 --- a/types/lodash/math/ceil.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Calculates n rounded up to precision. - * - * @param n The number to round up. - * @param precision The precision to round up to. - * @return Returns the rounded up number. - */ - ceil( - n: number, - precision?: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.ceil - */ - ceil(precision?: number): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.ceil - */ - ceil(precision?: number): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/math/divide.d.ts b/types/lodash/math/divide.d.ts deleted file mode 100644 index be6bc0abbd..0000000000 --- a/types/lodash/math/divide.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Divide two numbers. - * - * @param dividend The first number in a division. - * @param divisor The second number in a division. - * @returns Returns the quotient. - */ - divide( - dividend: number, - divisor: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.divide - */ - divide(divisor: number): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.divide - */ - divide(divisor: number): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/math/floor.d.ts b/types/lodash/math/floor.d.ts deleted file mode 100644 index 81b490af1d..0000000000 --- a/types/lodash/math/floor.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Calculates n rounded down to precision. - * - * @param n The number to round down. - * @param precision The precision to round down to. - * @return Returns the rounded down number. - */ - floor( - n: number, - precision?: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.floor - */ - floor(precision?: number): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.floor - */ - floor(precision?: number): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/math/max.d.ts b/types/lodash/math/max.d.ts deleted file mode 100644 index 20efcebef6..0000000000 --- a/types/lodash/math/max.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Computes the maximum value of `array`. If `array` is empty or falsey - * `undefined` is returned. - * - * @category Math - * @param array The array to iterate over. - * @returns Returns the maximum value. - */ - max( - collection: List | null | undefined - ): T | undefined; - } - - interface LoDashImplicitWrapper { - /** - * @see _.max - */ - max(this: LoDashImplicitWrapper | null | undefined>): T | undefined; - } - - interface LoDashExplicitWrapper { - /** - * @see _.max - */ - max(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/math/maxBy.d.ts b/types/lodash/math/maxBy.d.ts deleted file mode 100644 index adc787a911..0000000000 --- a/types/lodash/math/maxBy.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.max` except that it accepts `iteratee` which is - * invoked for each element in `array` to generate the criterion by which - * the value is ranked. The iteratee is invoked with one argument: (value). - * - * @category Math - * @param array The array to iterate over. - * @param [iteratee=_.identity] The iteratee invoked per element. - * @returns Returns the maximum value. - * @example - * - * var objects = [{ 'n': 1 }, { 'n': 2 }]; - * - * _.maxBy(objects, function(o) { return o.a; }); - * // => { 'n': 2 } - * - * // using the `_.property` iteratee shorthand - * _.maxBy(objects, 'n'); - * // => { 'n': 2 } - */ - maxBy( - collection: List | null | undefined, - iteratee?: ListIteratee - ): T | undefined; - } - - interface LoDashImplicitWrapper { - /** - * @see _.maxBy - */ - maxBy( - this: LoDashImplicitWrapper | null | undefined>, - iteratee?: ListIteratee - ): T | undefined; - } - - interface LoDashExplicitWrapper { - /** - * @see _.maxBy - */ - maxBy( - this: LoDashExplicitWrapper | null | undefined>, - iteratee?: ListIteratee - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/math/mean.d.ts b/types/lodash/math/mean.d.ts deleted file mode 100644 index ebaa42ce32..0000000000 --- a/types/lodash/math/mean.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Computes the mean of the values in `array`. - * - * @category Math - * @param array The array to iterate over. - * @returns Returns the mean. - * @example - * - * _.mean([4, 2, 8, 6]); - * // => 5 - */ - mean( - collection: List | null | undefined - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.mean - */ - mean(): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.mean - */ - mean(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/math/meanBy.d.ts b/types/lodash/math/meanBy.d.ts deleted file mode 100644 index a6bf558754..0000000000 --- a/types/lodash/math/meanBy.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Computes the mean of the provided propties of the objects in the `array` - * - * @category Math - * @param array The array to iterate over. - * @param [iteratee=_.identity] The iteratee invoked per element. - * @returns Returns the mean. - * @example - * - * _.mean([{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }], 'n'); - * // => 5 - */ - meanBy( - collection: List | null | undefined, - iteratee?: ListIteratee - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.meanBy - */ - meanBy( - this: LoDashImplicitWrapper | null | undefined>, - iteratee?: ListIteratee - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.meanBy - */ - meanBy( - this: LoDashExplicitWrapper | null | undefined>, - iteratee?: ListIteratee - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/math/min.d.ts b/types/lodash/math/min.d.ts deleted file mode 100644 index ac441afa83..0000000000 --- a/types/lodash/math/min.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Computes the minimum value of `array`. If `array` is empty or falsey - * `undefined` is returned. - * - * @category Math - * @param array The array to iterate over. - * @returns Returns the minimum value. - */ - min( - collection: List | null | undefined - ): T | undefined; - } - - interface LoDashImplicitWrapper { - /** - * @see _.min - */ - min(this: LoDashImplicitWrapper | null | undefined>): T | undefined; - } - - interface LoDashExplicitWrapper { - /** - * @see _.min - */ - min(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/math/minBy.d.ts b/types/lodash/math/minBy.d.ts deleted file mode 100644 index fad6e5a284..0000000000 --- a/types/lodash/math/minBy.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.min` except that it accepts `iteratee` which is - * invoked for each element in `array` to generate the criterion by which - * the value is ranked. The iteratee is invoked with one argument: (value). - * - * @category Math - * @param array The array to iterate over. - * @param [iteratee=_.identity] The iteratee invoked per element. - * @returns Returns the minimum value. - * @example - * - * var objects = [{ 'n': 1 }, { 'n': 2 }]; - * - * _.minBy(objects, function(o) { return o.a; }); - * // => { 'n': 1 } - * - * // using the `_.property` iteratee shorthand - * _.minBy(objects, 'n'); - * // => { 'n': 1 } - */ - minBy( - collection: List | null | undefined, - iteratee?: ListIteratee - ): T | undefined; - } - - interface LoDashImplicitWrapper { - /** - * @see _.minBy - */ - minBy( - this: LoDashImplicitWrapper | null | undefined>, - iteratee?: ListIteratee - ): T | undefined; - } - - interface LoDashExplicitWrapper { - /** - * @see _.minBy - */ - minBy( - this: LoDashExplicitWrapper | null | undefined>, - iteratee?: ListIteratee - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/math/multiply.d.ts b/types/lodash/math/multiply.d.ts deleted file mode 100644 index 0767ee1154..0000000000 --- a/types/lodash/math/multiply.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Multiply two numbers. - * @param multiplier The first number in a multiplication. - * @param multiplicand The second number in a multiplication. - * @returns Returns the product. - */ - multiply( - multiplier: number, - multiplicand: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.multiply - */ - multiply(multiplicand: number): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.multiply - */ - multiply(multiplicand: number): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/math/round.d.ts b/types/lodash/math/round.d.ts deleted file mode 100644 index 59f97c3144..0000000000 --- a/types/lodash/math/round.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Calculates n rounded to precision. - * - * @param n The number to round. - * @param precision The precision to round to. - * @return Returns the rounded number. - */ - round( - n: number, - precision?: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.round - */ - round(precision?: number): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.round - */ - round(precision?: number): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/math/subtract.d.ts b/types/lodash/math/subtract.d.ts deleted file mode 100644 index 5b627db982..0000000000 --- a/types/lodash/math/subtract.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Subtract two numbers. - * - * @category Math - * @param minuend The first number in a subtraction. - * @param subtrahend The second number in a subtraction. - * @returns Returns the difference. - * @example - * - * _.subtract(6, 4); - * // => 2 - */ - subtract( - minuend: number, - subtrahend: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.subtract - */ - subtract( - subtrahend: number - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.subtract - */ - subtract( - subtrahend: number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/math/sum.d.ts b/types/lodash/math/sum.d.ts deleted file mode 100644 index ab9222900d..0000000000 --- a/types/lodash/math/sum.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Computes the sum of the values in `array`. - * - * @category Math - * @param array The array to iterate over. - * @returns Returns the sum. - * @example - * - * _.sum([4, 2, 8, 6]); - * // => 20 - */ - sum(collection: List | null | undefined): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sum - */ - sum(): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sum - */ - sum(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/math/sumBy.d.ts b/types/lodash/math/sumBy.d.ts deleted file mode 100644 index 240dca6919..0000000000 --- a/types/lodash/math/sumBy.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.sum` except that it accepts `iteratee` which is - * invoked for each element in `array` to generate the value to be summed. - * The iteratee is invoked with one argument: (value). - * - * @category Math - * @param array The array to iterate over. - * @param [iteratee=_.identity] The iteratee invoked per element. - * @returns Returns the sum. - * @example - * - * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }]; - * - * _.sumBy(objects, function(o) { return o.n; }); - * // => 20 - * - * // using the `_.property` iteratee shorthand - * _.sumBy(objects, 'n'); - * // => 20 - */ - sumBy( - collection: List | null | undefined, - iteratee?: ((value: T) => number) | string - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sumBy - */ - sumBy( - this: LoDashImplicitWrapper | null | undefined>, - iteratee?: ((value: T) => number) | string - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sumBy - */ - sumBy( - this: LoDashExplicitWrapper | null | undefined>, - iteratee?: ((value: T) => number) | string - ): LoDashExplicitWrapper; - } - - /********** - * Number * - **********/ -} \ No newline at end of file diff --git a/types/lodash/number/clamp.d.ts b/types/lodash/number/clamp.d.ts deleted file mode 100644 index af2b47c995..0000000000 --- a/types/lodash/number/clamp.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Clamps `number` within the inclusive `lower` and `upper` bounds. - * - * @category Number - * @param number The number to clamp. - * @param [lower] The lower bound. - * @param upper The upper bound. - * @returns Returns the clamped number. - * @example - * - * _.clamp(-10, -5, 5); - * // => -5 - * - * _.clamp(10, -5, 5); - * // => 5 - */ - clamp( - number: number, - lower: number, - upper: number - ): number; - clamp( - number: number, - upper: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.clamp - */ - clamp( - lower: number, - upper: number - ): number; - clamp( - upper: number - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.clamp - */ - clamp( - lower: number, - upper: number - ): LoDashExplicitWrapper; - clamp( - upper: number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/number/inRange.d.ts b/types/lodash/number/inRange.d.ts deleted file mode 100644 index c3215a1c0f..0000000000 --- a/types/lodash/number/inRange.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if n is between start and up to but not including, end. If end is not specified it’s set to start - * with start then set to 0. - * - * @param n The number to check. - * @param start The start of the range. - * @param end The end of the range. - * @return Returns true if n is in the range, else false. - */ - inRange( - n: number, - start: number, - end?: number - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.inRange - */ - inRange( - start: number, - end?: number - ): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.inRange - */ - inRange( - start: number, - end?: number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/assign.d.ts b/types/lodash/object/assign.d.ts deleted file mode 100644 index 17d282a8ec..0000000000 --- a/types/lodash/object/assign.d.ts +++ /dev/null @@ -1,172 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Assigns own enumerable properties of source objects to the destination - * object. Source objects are applied from left to right. Subsequent sources - * overwrite property assignments of previous sources. - * - * **Note:** This method mutates `object` and is loosely based on - * [`Object.assign`](https://mdn.io/Object/assign). - * - * @category Object - * @param object The destination object. - * @param [sources] The source objects. - * @returns Returns `object`. - * @example - * - * function Foo() { - * this.c = 3; - * } - * - * function Bar() { - * this.e = 5; - * } - * - * Foo.prototype.d = 4; - * Bar.prototype.f = 6; - * - * _.assign({ 'a': 1 }, new Foo, new Bar); - * // => { 'a': 1, 'c': 3, 'e': 5 } - */ - assign( - object: TObject, - source: TSource - ): TObject & TSource; - - /** - * @see assign - */ - assign( - object: TObject, - source1: TSource1, - source2: TSource2 - ): TObject & TSource1 & TSource2; - - /** - * @see assign - */ - assign( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): TObject & TSource1 & TSource2 & TSource3; - - /** - * @see assign - */ - assign( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): TObject & TSource1 & TSource2 & TSource3 & TSource4; - - /** - * @see _.assign - */ - assign(object: TObject): TObject; - - /** - * @see _.assign - */ - assign( - object: any, - ...otherArgs: any[] - ): any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.assign - */ - assign( - source: TSource - ): LoDashImplicitWrapper; - - /** - * @see assign - */ - assign( - source1: TSource1, - source2: TSource2 - ): LoDashImplicitWrapper; - - /** - * @see assign - */ - assign( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashImplicitWrapper; - - /** - * @see assign - */ - assign( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashImplicitWrapper; - - /** - * @see _.assign - */ - assign(): LoDashImplicitWrapper; - - /** - * @see _.assign - */ - assign(...otherArgs: any[]): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.assign - */ - assign( - source: TSource - ): LoDashExplicitWrapper; - - /** - * @see assign - */ - assign( - source1: TSource1, - source2: TSource2 - ): LoDashExplicitWrapper; - - /** - * @see assign - */ - assign( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashExplicitWrapper; - - /** - * @see assign - */ - assign( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashExplicitWrapper; - - /** - * @see _.assign - */ - assign(): LoDashExplicitWrapper; - - /** - * @see _.assign - */ - assign(...otherArgs: any[]): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/assignIn.d.ts b/types/lodash/object/assignIn.d.ts deleted file mode 100644 index 01b38f7efa..0000000000 --- a/types/lodash/object/assignIn.d.ts +++ /dev/null @@ -1,171 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.assign` except that it iterates over own and - * inherited source properties. - * - * **Note:** This method mutates `object`. - * - * @alias extend - * @category Object - * @param object The destination object. - * @param [sources] The source objects. - * @returns Returns `object`. - * @example - * - * function Foo() { - * this.b = 2; - * } - * - * function Bar() { - * this.d = 4; - * } - * - * Foo.prototype.c = 3; - * Bar.prototype.e = 5; - * - * _.assignIn({ 'a': 1 }, new Foo, new Bar); - * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4, 'e': 5 } - */ - assignIn( - object: TObject, - source: TSource - ): TObject & TSource; - - /** - * @see assignIn - */ - assignIn( - object: TObject, - source1: TSource1, - source2: TSource2 - ): TObject & TSource1 & TSource2; - - /** - * @see assignIn - */ - assignIn( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): TObject & TSource1 & TSource2 & TSource3; - - /** - * @see assignIn - */ - assignIn( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): TObject & TSource1 & TSource2 & TSource3 & TSource4; - - /** - * @see _.assignIn - */ - assignIn(object: TObject): TObject; - - /** - * @see _.assignIn - */ - assignIn( - object: any, - ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.assignIn - */ - assignIn( - source: TSource - ): LoDashImplicitWrapper; - - /** - * @see assignIn - */ - assignIn( - source1: TSource1, - source2: TSource2 - ): LoDashImplicitWrapper; - - /** - * @see assignIn - */ - assignIn( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashImplicitWrapper; - - /** - * @see assignIn - */ - assignIn( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashImplicitWrapper; - - /** - * @see _.assignIn - */ - assignIn(): LoDashImplicitWrapper; - - /** - * @see _.assignIn - */ - assignIn(...otherArgs: any[]): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.assignIn - */ - assignIn( - source: TSource - ): LoDashExplicitWrapper; - - /** - * @see assignIn - */ - assignIn( - source1: TSource1, - source2: TSource2 - ): LoDashExplicitWrapper; - - /** - * @see assignIn - */ - assignIn( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashExplicitWrapper; - - /** - * @see assignIn - */ - assignIn( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashExplicitWrapper; - - /** - * @see _.assignIn - */ - assignIn(): LoDashExplicitWrapper; - - /** - * @see _.assignIn - */ - assignIn(...otherArgs: any[]): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/assignInWith.d.ts b/types/lodash/object/assignInWith.d.ts deleted file mode 100644 index 776a81b580..0000000000 --- a/types/lodash/object/assignInWith.d.ts +++ /dev/null @@ -1,183 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - type AssignCustomizer = (objectValue: any, sourceValue: any, key?: string, object?: {}, source?: {}) => any; - - interface LoDashStatic { - /** - * This method is like `_.assignIn` except that it accepts `customizer` which - * is invoked to produce the assigned values. If `customizer` returns `undefined` - * assignment is handled by the method instead. The `customizer` is invoked - * with five arguments: (objValue, srcValue, key, object, source). - * - * **Note:** This method mutates `object`. - * - * @alias extendWith - * @category Object - * @param object The destination object. - * @param sources The source objects. - * @param [customizer] The function to customize assigned values. - * @returns Returns `object`. - * @example - * - * function customizer(objValue, srcValue) { - * return _.isUndefined(objValue) ? srcValue : objValue; - * } - * - * var defaults = _.partialRight(_.assignInWith, customizer); - * - * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } - */ - assignInWith( - object: TObject, - source: TSource, - customizer: AssignCustomizer - ): TObject & TSource; - - /** - * @see assignInWith - */ - assignInWith( - object: TObject, - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): TObject & TSource1 & TSource2; - - /** - * @see assignInWith - */ - assignInWith( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): TObject & TSource1 & TSource2 & TSource3; - - /** - * @see assignInWith - */ - assignInWith( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): TObject & TSource1 & TSource2 & TSource3 & TSource4; - - /** - * @see _.assignInWith - */ - assignInWith(object: TObject): TObject; - - /** - * @see _.assignInWith - */ - assignInWith( - object: any, - ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.assignInWith - */ - assignInWith( - source: TSource, - customizer: AssignCustomizer - ): LoDashImplicitWrapper; - - /** - * @see assignInWith - */ - assignInWith( - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): LoDashImplicitWrapper; - - /** - * @see assignInWith - */ - assignInWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): LoDashImplicitWrapper; - - /** - * @see assignInWith - */ - assignInWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): LoDashImplicitWrapper; - - /** - * @see _.assignInWith - */ - assignInWith(): LoDashImplicitWrapper; - - /** - * @see _.assignInWith - */ - assignInWith(...otherArgs: any[]): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.assignInWith - */ - assignInWith( - source: TSource, - customizer: AssignCustomizer - ): LoDashExplicitWrapper; - - /** - * @see assignInWith - */ - assignInWith( - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): LoDashExplicitWrapper; - - /** - * @see assignInWith - */ - assignInWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): LoDashExplicitWrapper; - - /** - * @see assignInWith - */ - assignInWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.assignInWith - */ - assignInWith(): LoDashExplicitWrapper; - - /** - * @see _.assignInWith - */ - assignInWith(...otherArgs: any[]): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/assignWith.d.ts b/types/lodash/object/assignWith.d.ts deleted file mode 100644 index 4b98ad5e53..0000000000 --- a/types/lodash/object/assignWith.d.ts +++ /dev/null @@ -1,180 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.assign` except that it accepts `customizer` which - * is invoked to produce the assigned values. If `customizer` returns `undefined` - * assignment is handled by the method instead. The `customizer` is invoked - * with five arguments: (objValue, srcValue, key, object, source). - * - * **Note:** This method mutates `object`. - * - * @category Object - * @param object The destination object. - * @param sources The source objects. - * @param [customizer] The function to customize assigned values. - * @returns Returns `object`. - * @example - * - * function customizer(objValue, srcValue) { - * return _.isUndefined(objValue) ? srcValue : objValue; - * } - * - * var defaults = _.partialRight(_.assignWith, customizer); - * - * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } - */ - assignWith( - object: TObject, - source: TSource, - customizer: AssignCustomizer - ): TObject & TSource; - - /** - * @see assignWith - */ - assignWith( - object: TObject, - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): TObject & TSource1 & TSource2; - - /** - * @see assignWith - */ - assignWith( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): TObject & TSource1 & TSource2 & TSource3; - - /** - * @see assignWith - */ - assignWith( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): TObject & TSource1 & TSource2 & TSource3 & TSource4; - - /** - * @see _.assignWith - */ - assignWith(object: TObject): TObject; - - /** - * @see _.assignWith - */ - assignWith( - object: any, - ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.assignWith - */ - assignWith( - source: TSource, - customizer: AssignCustomizer - ): LoDashImplicitWrapper; - - /** - * @see assignWith - */ - assignWith( - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): LoDashImplicitWrapper; - - /** - * @see assignWith - */ - assignWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): LoDashImplicitWrapper; - - /** - * @see assignWith - */ - assignWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): LoDashImplicitWrapper; - - /** - * @see _.assignWith - */ - assignWith(): LoDashImplicitWrapper; - - /** - * @see _.assignWith - */ - assignWith(...otherArgs: any[]): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.assignWith - */ - assignWith( - source: TSource, - customizer: AssignCustomizer - ): LoDashExplicitWrapper; - - /** - * @see assignWith - */ - assignWith( - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): LoDashExplicitWrapper; - - /** - * @see assignWith - */ - assignWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): LoDashExplicitWrapper; - - /** - * @see assignWith - */ - assignWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.assignWith - */ - assignWith(): LoDashExplicitWrapper; - - /** - * @see _.assignWith - */ - assignWith(...otherArgs: any[]): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/at.d.ts b/types/lodash/object/at.d.ts deleted file mode 100644 index c95f8c9600..0000000000 --- a/types/lodash/object/at.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of elements corresponding to the given keys, or indexes, of collection. Keys may be - * specified as individual arguments or as arrays of keys. - * - * @param object The object to iterate over. - * @param props The property names or indexes of elements to pick, specified individually or in arrays. - * @return Returns the new array of picked elements. - */ - at( - object: List | Dictionary | null | undefined, - ...props: PropertyPath[] - ): T[]; - - /** - * @see _.at - */ - at( - object: T | null | undefined, - ...props: Array> - ): Array; - } - - interface LoDashImplicitWrapper { - /** - * @see _.at - */ - at( - this: LoDashImplicitWrapper | Dictionary | null | undefined>, - ...props: PropertyPath[] - ): LoDashImplicitWrapper; - - /** - * @see _.at - */ - at( - this: LoDashImplicitWrapper, - ...props: Array> - ): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.at - */ - at( - this: LoDashExplicitWrapper | Dictionary | null | undefined>, - ...props: PropertyPath[] - ): LoDashExplicitWrapper; - - /** - * @see _.at - */ - at( - this: LoDashExplicitWrapper, - ...props: Array> - ): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/object/create.d.ts b/types/lodash/object/create.d.ts deleted file mode 100644 index 836cc05425..0000000000 --- a/types/lodash/object/create.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an object that inherits from the given prototype object. If a properties object is provided its own - * enumerable properties are assigned to the created object. - * - * @param prototype The object to inherit from. - * @param properties The properties to assign to the object. - * @return Returns the new object. - */ - create( - prototype: T, - properties?: U - ): T & U; - } - - interface LoDashImplicitWrapper { - /** - * @see _.create - */ - create(properties?: U): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.create - */ - create(properties?: U): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/defaults.d.ts b/types/lodash/object/defaults.d.ts deleted file mode 100644 index 956d5b4022..0000000000 --- a/types/lodash/object/defaults.d.ts +++ /dev/null @@ -1,155 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Assigns own enumerable properties of source object(s) to the destination object for all destination - * properties that resolve to undefined. Once a property is set, additional values of the same property are - * ignored. - * - * Note: This method mutates object. - * - * @param object The destination object. - * @param sources The source objects. - * @return The destination object. - */ - defaults( - object: TObject, - source: TSource - ): TSource & TObject; - - /** - * @see _.defaults - */ - defaults( - object: TObject, - source1: TSource1, - source2: TSource2 - ): TSource2 & TSource1 & TObject; - - /** - * @see _.defaults - */ - defaults( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): TSource3 & TSource2 & TSource1 & TObject; - - /** - * @see _.defaults - */ - defaults( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): TSource4 & TSource3 & TSource2 & TSource1 & TObject; - - /** - * @see _.defaults - */ - defaults(object: TObject): TObject; - - /** - * @see _.defaults - */ - defaults( - object: any, - ...sources: any[] - ): any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.defaults - */ - defaults( - source: TSource - ): LoDashImplicitWrapper; - - /** - * @see _.defaults - */ - defaults( - source1: TSource1, - source2: TSource2 - ): LoDashImplicitWrapper; - - /** - * @see _.defaults - */ - defaults( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashImplicitWrapper; - - /** - * @see _.defaults - */ - defaults( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashImplicitWrapper; - - /** - * @see _.defaults - */ - defaults(): LoDashImplicitWrapper; - - /** - * @see _.defaults - */ - defaults(...sources: any[]): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.defaults - */ - defaults( - source: TSource - ): LoDashExplicitWrapper; - - /** - * @see _.defaults - */ - defaults( - source1: TSource1, - source2: TSource2 - ): LoDashExplicitWrapper; - - /** - * @see _.defaults - */ - defaults( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashExplicitWrapper; - - /** - * @see _.defaults - */ - defaults( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashExplicitWrapper; - - /** - * @see _.defaults - */ - defaults(): LoDashExplicitWrapper; - - /** - * @see _.defaults - */ - defaults(...sources: any[]): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/defaultsDeep.d.ts b/types/lodash/object/defaultsDeep.d.ts deleted file mode 100644 index a9aa5d6b53..0000000000 --- a/types/lodash/object/defaultsDeep.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.defaults except that it recursively assigns default properties. - * @param object The destination object. - * @param sources The source objects. - * @return Returns object. - **/ - defaultsDeep( - object: any, - ...sources: any[]): any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.defaultsDeep - **/ - defaultsDeep(...sources: any[]): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.defaultsDeep - **/ - defaultsDeep(...sources: any[]): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/entries.d.ts b/types/lodash/object/entries.d.ts deleted file mode 100644 index 786b2a7abd..0000000000 --- a/types/lodash/object/entries.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * @see _.toPairs - */ - entries(object?: Dictionary): Array<[string, T]>; - - /** - * @see _.toPairs - */ - entries(object?: object): Array<[string, any]>; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toPairs - */ - entries(this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; - - /** - * @see _.toPairs - */ - entries(): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toPairs - */ - entries(this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; - - /** - * @see _.toPairs - */ - entries(): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/object/entriesIn.d.ts b/types/lodash/object/entriesIn.d.ts deleted file mode 100644 index fcd378032e..0000000000 --- a/types/lodash/object/entriesIn.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * @see _.entriesIn - */ - entriesIn(object?: Dictionary): Array<[string, T]>; - - /** - * @see _.entriesIn - */ - entriesIn(object?: object): Array<[string, any]>; - } - - interface LoDashImplicitWrapper { - /** - * @see _.entriesIn - */ - entriesIn(this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; - - /** - * @see _.entriesIn - */ - entriesIn(): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.entriesIn - */ - entriesIn(this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; - - /** - * @see _.entriesIn - */ - entriesIn(): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/object/extend.d.ts b/types/lodash/object/extend.d.ts deleted file mode 100644 index 3bdace2de1..0000000000 --- a/types/lodash/object/extend.d.ts +++ /dev/null @@ -1,147 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * @see _.extend - */ - extend( - object: TObject, - source: TSource - ): TObject & TSource; - - /** - * @see _.extend - */ - extend( - object: TObject, - source1: TSource1, - source2: TSource2 - ): TObject & TSource1 & TSource2; - - /** - * @see _.extend - */ - extend( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): TObject & TSource1 & TSource2 & TSource3; - - /** - * @see _.extend - */ - extend( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): TObject & TSource1 & TSource2 & TSource3 & TSource4; - - /** - * @see _.extend - */ - extend(object: TObject): TObject; - - /** - * @see _.extend - */ - extend( - object: any, - ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.extend - */ - extend( - source: TSource - ): LoDashImplicitWrapper; - - /** - * @see _.extend - */ - extend( - source1: TSource1, - source2: TSource2 - ): LoDashImplicitWrapper; - - /** - * @see _.extend - */ - extend( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashImplicitWrapper; - - /** - * @see _.extend - */ - extend( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashImplicitWrapper; - - /** - * @see _.extend - */ - extend(): LoDashImplicitWrapper; - - /** - * @see _.extend - */ - extend(...otherArgs: any[]): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.extend - */ - extend( - source: TSource - ): LoDashExplicitWrapper; - - /** - * @see _.extend - */ - extend( - source1: TSource1, - source2: TSource2 - ): LoDashExplicitWrapper; - - /** - * @see _.extend - */ - extend( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashExplicitWrapper; - - /** - * @see _.extend - */ - extend( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashExplicitWrapper; - - /** - * @see _.extend - */ - extend(): LoDashExplicitWrapper; - - /** - * @see _.extend - */ - extend(...otherArgs: any[]): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/extendWith.d.ts b/types/lodash/object/extendWith.d.ts deleted file mode 100644 index 191c69dd8b..0000000000 --- a/types/lodash/object/extendWith.d.ts +++ /dev/null @@ -1,159 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * @see _.extendWith - */ - extendWith( - object: TObject, - source: TSource, - customizer: AssignCustomizer - ): TObject & TSource; - - /** - * @see _.extendWith - */ - extendWith( - object: TObject, - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): TObject & TSource1 & TSource2; - - /** - * @see _.extendWith - */ - extendWith( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): TObject & TSource1 & TSource2 & TSource3; - - /** - * @see _.extendWith - */ - extendWith( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): TObject & TSource1 & TSource2 & TSource3 & TSource4; - - /** - * @see _.extendWith - */ - extendWith(object: TObject): TObject; - - /** - * @see _.extendWith - */ - extendWith( - object: any, - ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.extendWith - */ - extendWith( - source: TSource, - customizer: AssignCustomizer - ): LoDashImplicitWrapper; - - /** - * @see _.extendWith - */ - extendWith( - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): LoDashImplicitWrapper; - - /** - * @see _.extendWith - */ - extendWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): LoDashImplicitWrapper; - - /** - * @see _.extendWith - */ - extendWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): LoDashImplicitWrapper; - - /** - * @see _.extendWith - */ - extendWith(): LoDashImplicitWrapper; - - /** - * @see _.extendWith - */ - extendWith(...otherArgs: any[]): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.extendWith - */ - extendWith( - source: TSource, - customizer: AssignCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.extendWith - */ - extendWith( - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.extendWith - */ - extendWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.extendWith - */ - extendWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.extendWith - */ - extendWith(): LoDashExplicitWrapper; - - /** - * @see _.extendWith - */ - extendWith(...otherArgs: any[]): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/findKey.d.ts b/types/lodash/object/findKey.d.ts deleted file mode 100644 index 2e35165e24..0000000000 --- a/types/lodash/object/findKey.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.find except that it returns the key of the first element predicate returns truthy for - * instead of the element itself. - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param object The object to search. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the key of the matched element, else undefined. - */ - findKey( - object: T | null | undefined, - predicate?: ObjectIteratee - ): string | undefined; - } - - interface LoDashImplicitWrapper { - /** - * @see _.findKey - */ - findKey( - this: LoDashImplicitWrapper, - predicate?: ObjectIteratee - ): string | undefined; - } - - interface LoDashExplicitWrapper { - /** - * @see _.findKey - */ - findKey( - this: LoDashExplicitWrapper, - predicate?: ObjectIteratee - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/findLastKey.d.ts b/types/lodash/object/findLastKey.d.ts deleted file mode 100644 index 6a43330138..0000000000 --- a/types/lodash/object/findLastKey.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.findKey except that it iterates over elements of a collection in the opposite order. - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param object The object to search. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the key of the matched element, else undefined. - */ - findLastKey( - object: T | null | undefined, - predicate?: ObjectIteratee - ): string | undefined; - } - - interface LoDashImplicitWrapper { - /** - * @see _.findLastKey - */ - findLastKey( - this: LoDashImplicitWrapper, - predicate?: ObjectIteratee - ): string | undefined; - } - - interface LoDashExplicitWrapper { - /** - * @see _.findLastKey - */ - findLastKey( - this: LoDashExplicitWrapper, - predicate?: ObjectIteratee - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/forIn.d.ts b/types/lodash/object/forIn.d.ts deleted file mode 100644 index 7fa7e14a33..0000000000 --- a/types/lodash/object/forIn.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Iterates over own and inherited enumerable properties of an object invoking iteratee for each property. The - * iteratee is bound to thisArg and invoked with three arguments: (value, key, object). Iteratee functions may - * exit iteration early by explicitly returning false. - * - * @param object The object to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns object. - */ - forIn( - object: T, - iteratee?: ObjectIterator - ): T; - - /** - * @see _.forIn - */ - forIn( - object: T | null | undefined, - iteratee?: ObjectIterator - ): T | null | undefined; - } - - interface LoDashWrapper { - /** - * @see _.forIn - */ - forIn( - this: LoDashWrapper, - iteratee?: ObjectIterator - ): this; - } -} \ No newline at end of file diff --git a/types/lodash/object/forInRight.d.ts b/types/lodash/object/forInRight.d.ts deleted file mode 100644 index 0364db0403..0000000000 --- a/types/lodash/object/forInRight.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.forIn except that it iterates over properties of object in the opposite order. - * - * @param object The object to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns object. - */ - forInRight( - object: T, - iteratee?: ObjectIterator - ): T; - - /** - * @see _.forInRight - */ - forInRight( - object: T | null | undefined, - iteratee?: ObjectIterator - ): T | null | undefined; - } - - interface LoDashWrapper { - /** - * @see _.forInRight - */ - forInRight( - this: LoDashWrapper, - iteratee?: ObjectIterator - ): this; - } -} \ No newline at end of file diff --git a/types/lodash/object/forOwn.d.ts b/types/lodash/object/forOwn.d.ts deleted file mode 100644 index eeeb4adef6..0000000000 --- a/types/lodash/object/forOwn.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Iterates over own enumerable properties of an object invoking iteratee for each property. The iteratee is - * bound to thisArg and invoked with three arguments: (value, key, object). Iteratee functions may exit - * iteration early by explicitly returning false. - * - * @param object The object to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns object. - */ - forOwn( - object: T, - iteratee?: ObjectIterator - ): T; - - /** - * @see _.forOwn - */ - forOwn( - object: T | null | undefined, - iteratee?: ObjectIterator - ): T | null | undefined; - } - - interface LoDashWrapper { - /** - * @see _.forOwn - */ - forOwn( - this: LoDashWrapper, - iteratee?: ObjectIterator - ): this; - } -} \ No newline at end of file diff --git a/types/lodash/object/forOwnRight.d.ts b/types/lodash/object/forOwnRight.d.ts deleted file mode 100644 index e760dfa78f..0000000000 --- a/types/lodash/object/forOwnRight.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.forOwn except that it iterates over properties of object in the opposite order. - * - * @param object The object to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns object. - */ - forOwnRight( - object: T, - iteratee?: ObjectIterator - ): T; - - /** - * @see _.forOwnRight - */ - forOwnRight( - object: T | null | undefined, - iteratee?: ObjectIterator - ): T | null | undefined; - } - - interface LoDashWrapper { - /** - * @see _.forOwnRight - */ - forOwnRight( - this: LoDashWrapper, - iteratee?: ObjectIterator - ): this; - } -} \ No newline at end of file diff --git a/types/lodash/object/functions.d.ts b/types/lodash/object/functions.d.ts deleted file mode 100644 index bcc15d01e8..0000000000 --- a/types/lodash/object/functions.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of function property names from own enumerable properties - * of `object`. - * - * @category Object - * @param object The object to inspect. - * @returns Returns the new array of property names. - * @example - * - * function Foo() { - * this.a = _.constant('a'); - * this.b = _.constant('b'); - * } - * - * Foo.prototype.c = _.constant('c'); - * - * _.functions(new Foo); - * // => ['a', 'b'] - */ - functions(object: any): string[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.functions - */ - functions(): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.functions - */ - functions(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/functionsIn.d.ts b/types/lodash/object/functionsIn.d.ts deleted file mode 100644 index 84b8e88959..0000000000 --- a/types/lodash/object/functionsIn.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of function property names from own and inherited - * enumerable properties of `object`. - * - * @category Object - * @param object The object to inspect. - * @returns Returns the new array of property names. - * @example - * - * function Foo() { - * this.a = _.constant('a'); - * this.b = _.constant('b'); - * } - * - * Foo.prototype.c = _.constant('c'); - * - * _.functionsIn(new Foo); - * // => ['a', 'b', 'c'] - */ - functionsIn(object: any): string[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.functionsIn - */ - functionsIn(): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.functionsIn - */ - functionsIn(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/get.d.ts b/types/lodash/object/get.d.ts deleted file mode 100644 index ff793192fb..0000000000 --- a/types/lodash/object/get.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Gets the property value at path of object. If the resolved value is undefined the defaultValue is used - * in its place. - * - * @param object The object to query. - * @param path The path of the property to get. - * @param defaultValue The value returned if the resolved value is undefined. - * @return Returns the resolved value. - */ - get( - object: TObject, - path: TKey | [TKey] - ): TObject[TKey]; - - /** - * @see _.get - */ - get( - object: TObject | null | undefined, - path: TKey | [TKey] - ): TObject[TKey] | undefined; - - /** - * @see _.get - */ - get( - object: TObject | null | undefined, - path: TKey | [TKey], - defaultValue: TDefault - ): TObject[TKey] | TDefault; - - /** - * @see _.get - */ - get( - object: NumericDictionary, - path: number - ): T; - - /** - * @see _.get - */ - get( - object: NumericDictionary | null | undefined, - path: number - ): T | undefined; - - /** - * @see _.get - */ - get( - object: NumericDictionary | null | undefined, - path: number, - defaultValue: TDefault - ): T | TDefault; - - /** - * @see _.get - */ - get( - object: null | undefined, - path: PropertyPath, - defaultValue: TDefault - ): TDefault; - - /** - * @see _.get - */ - get( - object: null | undefined, - path: PropertyPath - ): undefined; - - /** - * @see _.get - */ - get( - object: any, - path: PropertyPath, - defaultValue?: any - ): any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.get - */ - get( - path: TKey | [TKey] - ): TValue[TKey]; - - /** - * @see _.get - */ - get( - this: LoDashImplicitWrapper, - path: TKey | [TKey], - ): TObject[TKey] | undefined; - - /** - * @see _.get - */ - get( - this: LoDashImplicitWrapper, - path: TKey | [TKey], - defaultValue: TDefault - ): TObject[TKey] | TDefault; - - /** - * @see _.get - */ - get( - this: LoDashImplicitWrapper>, - path: number - ): T; - - /** - * @see _.get - */ - get( - this: LoDashImplicitWrapper | null | undefined>, - path: number - ): T | undefined; - - /** - * @see _.get - */ - get( - this: LoDashImplicitWrapper | null | undefined>, - path: number, - defaultValue: TDefault - ): T | TDefault; - - /** - * @see _.get - */ - get( - this: LoDashImplicitWrapper, - path: PropertyPath, - defaultValue: TDefault - ): TDefault; - - /** - * @see _.get - */ - get( - this: LoDashImplicitWrapper, - path: PropertyPath - ): undefined; - - /** - * @see _.get - */ - get( - path: PropertyPath, - defaultValue?: any - ): any; - } - - interface LoDashExplicitWrapper { - /** - * @see _.get - */ - get( - path: TKey | [TKey] - ): LoDashExplicitWrapper; - - /** - * @see _.get - */ - get( - this: LoDashExplicitWrapper, - path: TKey | [TKey], - ): LoDashExplicitWrapper; - - /** - * @see _.get - */ - get( - this: LoDashExplicitWrapper, - path: TKey | [TKey], - defaultValue: TDefault - ): LoDashExplicitWrapper; - - /** - * @see _.get - */ - get( - this: LoDashExplicitWrapper>, - path: number - ): LoDashExplicitWrapper; - - /** - * @see _.get - */ - get( - this: LoDashExplicitWrapper | null | undefined>, - path: number - ): LoDashExplicitWrapper; - - /** - * @see _.get - */ - get( - this: LoDashExplicitWrapper | null | undefined>, - path: number, - defaultValue: TDefault - ): LoDashExplicitWrapper; - - /** - * @see _.get - */ - get( - this: LoDashExplicitWrapper, - path: PropertyPath, - defaultValue: TDefault - ): LoDashExplicitWrapper; - - /** - * @see _.get - */ - get( - this: LoDashExplicitWrapper, - path: PropertyPath - ): LoDashExplicitWrapper; - - /** - * @see _.get - */ - get( - path: PropertyPath, - defaultValue?: any - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/has.d.ts b/types/lodash/object/has.d.ts deleted file mode 100644 index 53026153d1..0000000000 --- a/types/lodash/object/has.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if `path` is a direct property of `object`. - * - * @category Object - * @param object The object to query. - * @param path The path to check. - * @returns Returns `true` if `path` exists, else `false`. - * @example - * - * var object = { 'a': { 'b': { 'c': 3 } } }; - * var other = _.create({ 'a': _.create({ 'b': _.create({ 'c': 3 }) }) }); - * - * _.has(object, 'a'); - * // => true - * - * _.has(object, 'a.b.c'); - * // => true - * - * _.has(object, ['a', 'b', 'c']); - * // => true - * - * _.has(other, 'a'); - * // => false - */ - has( - object: T, - path: PropertyPath - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.has - */ - has(path: PropertyPath): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.has - */ - has(path: PropertyPath): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/hasIn.d.ts b/types/lodash/object/hasIn.d.ts deleted file mode 100644 index 5da20394b2..0000000000 --- a/types/lodash/object/hasIn.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if `path` is a direct or inherited property of `object`. - * - * @category Object - * @param object The object to query. - * @param path The path to check. - * @returns Returns `true` if `path` exists, else `false`. - * @example - * - * var object = _.create({ 'a': _.create({ 'b': _.create({ 'c': 3 }) }) }); - * - * _.hasIn(object, 'a'); - * // => true - * - * _.hasIn(object, 'a.b.c'); - * // => true - * - * _.hasIn(object, ['a', 'b', 'c']); - * // => true - * - * _.hasIn(object, 'b'); - * // => false - */ - hasIn( - object: T, - path: PropertyPath - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.hasIn - */ - hasIn(path: PropertyPath): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.hasIn - */ - hasIn(path: PropertyPath): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/invert.d.ts b/types/lodash/object/invert.d.ts deleted file mode 100644 index d5c62aa9af..0000000000 --- a/types/lodash/object/invert.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an object composed of the inverted keys and values of object. If object contains duplicate values, - * subsequent values overwrite property assignments of previous values unless multiValue is true. - * - * @param object The object to invert. - * @param multiValue Allow multiple values per key. - * @return Returns the new inverted object. - */ - invert( - object: object - ): Dictionary; - } - - interface LoDashImplicitWrapper { - /** - * @see _.invert - */ - invert(): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.invert - */ - invert(): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/object/invertBy.d.ts b/types/lodash/object/invertBy.d.ts deleted file mode 100644 index 12b90969e1..0000000000 --- a/types/lodash/object/invertBy.d.ts +++ /dev/null @@ -1,62 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.invert except that the inverted object is generated from the results of running each - * element of object through iteratee. The corresponding inverted value of each inverted key is an array of - * keys responsible for generating the inverted value. The iteratee is invoked with one argument: (value). - * - * @param object The object to invert. - * @param interatee The iteratee invoked per element. - * @return Returns the new inverted object. - */ - invertBy( - object: List | Dictionary | NumericDictionary | null | undefined, - interatee?: ValueIteratee - ): Dictionary; - - /** - * @see _.invertBy - */ - invertBy( - object: T | null | undefined, - interatee?: ValueIteratee - ): Dictionary; - } - - interface LoDashImplicitWrapper { - /** - * @see _.invertBy - */ - invertBy( - this: LoDashImplicitWrapper | Dictionary | NumericDictionary | null | undefined>, - interatee?: ValueIteratee - ): LoDashImplicitWrapper>; - - /** - * @see _.invertBy - */ - invertBy( - this: LoDashImplicitWrapper, - interatee?: ValueIteratee - ): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.invertBy - */ - invertBy( - this: LoDashExplicitWrapper | Dictionary | NumericDictionary | null | undefined>, - interatee?: ValueIteratee - ): LoDashExplicitWrapper>; - - /** - * @see _.invertBy - */ - invertBy( - this: LoDashExplicitWrapper, - interatee?: ValueIteratee - ): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/object/invoke.d.ts b/types/lodash/object/invoke.d.ts deleted file mode 100644 index 9405c4fa6c..0000000000 --- a/types/lodash/object/invoke.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Invokes the method at path of object. - * @param object The object to query. - * @param path The path of the method to invoke. - * @param args The arguments to invoke the method with. - **/ - invoke( - object: any, - path: PropertyPath, - ...args: any[]): any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.invoke - **/ - invoke( - path: PropertyPath, - ...args: any[]): any; - } - - interface LoDashExplicitWrapper { - /** - * @see _.invoke - **/ - invoke( - path: PropertyPath, - ...args: any[]): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/keys.d.ts b/types/lodash/object/keys.d.ts deleted file mode 100644 index 374e64ad2c..0000000000 --- a/types/lodash/object/keys.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of the own enumerable property names of object. - * - * Note: Non-object values are coerced to objects. See the ES spec for more details. - * - * @param object The object to query. - * @return Returns the array of property names. - */ - keys(object?: any): string[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.keys - */ - keys(): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.keys - */ - keys(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/keysIn.d.ts b/types/lodash/object/keysIn.d.ts deleted file mode 100644 index fe05763414..0000000000 --- a/types/lodash/object/keysIn.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of the own and inherited enumerable property names of object. - * - * Note: Non-object values are coerced to objects. - * - * @param object The object to query. - * @return An array of property names. - */ - keysIn(object?: any): string[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.keysIn - */ - keysIn(): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.keysIn - */ - keysIn(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/mapKeys.d.ts b/types/lodash/object/mapKeys.d.ts deleted file mode 100644 index 620977cdb1..0000000000 --- a/types/lodash/object/mapKeys.d.ts +++ /dev/null @@ -1,86 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * The opposite of _.mapValues; this method creates an object with the same values as object and keys generated - * by running each own enumerable property of object through iteratee. - * - * @param object The object to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns the new mapped object. - */ - mapKeys( - object: List | null | undefined, - iteratee?: ListIteratee - ): Dictionary; - - /** - * @see _.mapKeys - */ - mapKeys( - object: Dictionary | null | undefined, - iteratee?: DictionaryIteratee - ): Dictionary; - - /** - * @see _.mapKeys - */ - mapKeys( - object: object | null | undefined, - iteratee?: ObjectIteratee - ): Dictionary; - } - - interface LoDashImplicitWrapper { - /** - * @see _.mapKeys - */ - mapKeys( - this: LoDashImplicitWrapper | null | undefined>, - iteratee?: ListIteratee - ): LoDashImplicitWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - this: LoDashImplicitWrapper | null | undefined>, - iteratee?: DictionaryIteratee - ): LoDashImplicitWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - this: LoDashImplicitWrapper, - iteratee?: ObjectIteratee - ): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.mapKeys - */ - mapKeys( - this: LoDashExplicitWrapper | null | undefined>, - iteratee?: ListIteratee - ): LoDashExplicitWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - this: LoDashExplicitWrapper | null | undefined>, - iteratee?: DictionaryIteratee - ): LoDashExplicitWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - this: LoDashExplicitWrapper, - iteratee?: ObjectIteratee - ): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/object/mapValues.d.ts b/types/lodash/object/mapValues.d.ts deleted file mode 100644 index e71e1c7f3e..0000000000 --- a/types/lodash/object/mapValues.d.ts +++ /dev/null @@ -1,189 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an object with the same keys as object and values generated by running each own - * enumerable property of object through iteratee. The iteratee function is bound to thisArg - * and invoked with three arguments: (value, key, object). - * - * If a property name is provided iteratee the created "_.property" style callback returns - * the property value of the given element. - * - * If a value is also provided for thisArg the creted "_.matchesProperty" style callback returns - * true for elements that have a matching property value, else false;. - * - * If an object is provided for iteratee the created "_.matches" style callback returns true - * for elements that have the properties of the given object, else false. - * - * @param object The object to iterate over. - * @param [iteratee=_.identity] The function invoked per iteration. - * @param [thisArg] The `this` binding of `iteratee`. - * @return Returns the new mapped object. - */ - mapValues(obj: T | null | undefined, callback: ObjectIterator): { [P in keyof T]: TResult }; - - /** - * @see _.mapValues - */ - mapValues(obj: T | null | undefined, iteratee: object): { [P in keyof T]: boolean }; - - /** - * @see _.mapValues - */ - mapValues(obj: Dictionary | null | undefined, iteratee: TKey): Dictionary; - - /** - * @see _.mapValues - */ - mapValues(obj: T | null | undefined, iteratee: string): { [P in keyof T]: any }; - - /** - * @see _.mapValues - */ - mapValues(obj: string | null | undefined, callback: StringIterator): NumericDictionary; - - /** - * @see _.mapValues - */ - mapValues(obj: Dictionary | null | undefined): Dictionary; - - /** - * @see _.mapValues - */ - mapValues(obj: T): T; - - /** - * @see _.mapValues - */ - mapValues(obj: T | null | undefined): T | {}; - - /** - * @see _.mapValues - */ - mapValues(obj: string | null | undefined): NumericDictionary; - } - - interface LoDashImplicitWrapper { - /** - * @see _.mapValues - */ - mapValues( - this: LoDashImplicitWrapper, - callback: ObjectIterator - ): LoDashImplicitWrapper<{ [P in keyof T]: TResult }>; - - /** - * @see _.mapValues - */ - mapValues( - this: LoDashImplicitWrapper, - iteratee: object - ): LoDashImplicitWrapper<{ [P in keyof T]: boolean }>; - - /** - * @see _.mapValues - */ - mapValues( - this: LoDashImplicitWrapper | null | undefined>, - iteratee: TKey - ): LoDashImplicitWrapper>; - - /** - * @see _.mapValues - */ - mapValues( - this: LoDashImplicitWrapper, - iteratee: string - ): LoDashImplicitWrapper<{ [P in keyof T]: any }>; - - /** - * @see _.mapValues - */ - mapValues( - this: LoDashImplicitWrapper, - callback: StringIterator - ): LoDashImplicitWrapper>; - - /** - * @see _.mapValues - */ - mapValues(this: LoDashImplicitWrapper | null | undefined>): LoDashImplicitWrapper>; - - /** - * @see _.mapValues - */ - mapValues(this: LoDashImplicitWrapper): LoDashImplicitWrapper; - - /** - * @see _.mapValues - */ - mapValues(this: LoDashImplicitWrapper): LoDashImplicitWrapper; - - /** - * @see _.mapValues - */ - mapValues(this: LoDashImplicitWrapper): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.mapValues - */ - mapValues( - this: LoDashExplicitWrapper, - callback: ObjectIterator - ): LoDashExplicitWrapper<{ [P in keyof T]: TResult }>; - - /** - * @see _.mapValues - */ - mapValues( - this: LoDashExplicitWrapper, - iteratee: object - ): LoDashExplicitWrapper<{ [P in keyof T]: boolean }>; - - /** - * @see _.mapValues - */ - mapValues( - this: LoDashExplicitWrapper | null | undefined>, - iteratee: TKey - ): LoDashExplicitWrapper>; - - /** - * @see _.mapValues - */ - mapValues( - this: LoDashExplicitWrapper, - iteratee: string - ): LoDashExplicitWrapper<{ [P in keyof T]: any }>; - - /** - * @see _.mapValues - */ - mapValues( - this: LoDashExplicitWrapper, - callback: StringIterator - ): LoDashExplicitWrapper>; - - /** - * @see _.mapValues - */ - mapValues(this: LoDashExplicitWrapper | null | undefined>): LoDashExplicitWrapper>; - - /** - * @see _.mapValues - */ - mapValues(this: LoDashExplicitWrapper): LoDashExplicitWrapper; - - /** - * @see _.mapValues - */ - mapValues(this: LoDashExplicitWrapper): LoDashExplicitWrapper; - - /** - * @see _.mapValues - */ - mapValues(this: LoDashExplicitWrapper): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/object/merge.d.ts b/types/lodash/object/merge.d.ts deleted file mode 100644 index 0c18e6cfe5..0000000000 --- a/types/lodash/object/merge.d.ts +++ /dev/null @@ -1,156 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Recursively merges own and inherited enumerable properties of source - * objects into the destination object, skipping source properties that resolve - * to `undefined`. Array and plain object properties are merged recursively. - * Other objects and value types are overridden by assignment. Source objects - * are applied from left to right. Subsequent sources overwrite property - * assignments of previous sources. - * - * **Note:** This method mutates `object`. - * - * @category Object - * @param object The destination object. - * @param [sources] The source objects. - * @returns Returns `object`. - * @example - * - * var users = { - * 'data': [{ 'user': 'barney' }, { 'user': 'fred' }] - * }; - * - * var ages = { - * 'data': [{ 'age': 36 }, { 'age': 40 }] - * }; - * - * _.merge(users, ages); - * // => { 'data': [{ 'user': 'barney', 'age': 36 }, { 'user': 'fred', 'age': 40 }] } - */ - merge( - object: TObject, - source: TSource - ): TObject & TSource; - - /** - * @see _.merge - */ - merge( - object: TObject, - source1: TSource1, - source2: TSource2 - ): TObject & TSource1 & TSource2; - - /** - * @see _.merge - */ - merge( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): TObject & TSource1 & TSource2 & TSource3; - - /** - * @see _.merge - */ - merge( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): TObject & TSource1 & TSource2 & TSource3 & TSource4; - - /** - * @see _.merge - */ - merge( - object: any, - ...otherArgs: any[] - ): any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.merge - */ - merge( - source: TSource - ): LoDashImplicitWrapper; - - /** - * @see _.merge - */ - merge( - source1: TSource1, - source2: TSource2 - ): LoDashImplicitWrapper; - - /** - * @see _.merge - */ - merge( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashImplicitWrapper; - - /** - * @see _.merge - */ - merge( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashImplicitWrapper; - - /** - * @see _.merge - */ - merge( - ...otherArgs: any[] - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.merge - */ - merge( - source: TSource - ): LoDashExplicitWrapper; - - /** - * @see _.merge - */ - merge( - source1: TSource1, - source2: TSource2 - ): LoDashExplicitWrapper; - - /** - * @see _.merge - */ - merge( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashExplicitWrapper; - - /** - * @see _.merge - */ - merge( - ): LoDashExplicitWrapper; - - /** - * @see _.merge - */ - merge( - ...otherArgs: any[] - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/mergeWith.d.ts b/types/lodash/object/mergeWith.d.ts deleted file mode 100644 index 01fb9264e6..0000000000 --- a/types/lodash/object/mergeWith.d.ts +++ /dev/null @@ -1,133 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - type MergeWithCustomizer = { bivariantHack(value: any, srcValue: any, key: string, object: any, source: any): any; }["bivariantHack"] - - interface LoDashStatic { - /** - * This method is like `_.merge` except that it accepts `customizer` which - * is invoked to produce the merged values of the destination and source - * properties. If `customizer` returns `undefined` merging is handled by the - * method instead. The `customizer` is invoked with seven arguments: - * (objValue, srcValue, key, object, source, stack). - * - * @category Object - * @param object The destination object. - * @param sources The source objects. - * @param customizer The function to customize assigned values. - * @returns Returns `object`. - * @example - * - * function customizer(objValue, srcValue) { - * if (_.isArray(objValue)) { - * return objValue.concat(srcValue); - * } - * } - * - * var object = { - * 'fruits': ['apple'], - * 'vegetables': ['beet'] - * }; - * - * var other = { - * 'fruits': ['banana'], - * 'vegetables': ['carrot'] - * }; - * - * _.merge(object, other, customizer); - * // => { 'fruits': ['apple', 'banana'], 'vegetables': ['beet', 'carrot'] } - */ - mergeWith( - object: TObject, - source: TSource, - customizer: MergeWithCustomizer - ): TObject & TSource; - - /** - * @see _.mergeWith - */ - mergeWith( - object: TObject, - source1: TSource1, - source2: TSource2, - customizer: MergeWithCustomizer - ): TObject & TSource1 & TSource2; - - /** - * @see _.mergeWith - */ - mergeWith( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: MergeWithCustomizer - ): TObject & TSource1 & TSource2 & TSource3; - - /** - * @see _.mergeWith - */ - mergeWith( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: MergeWithCustomizer - ): TObject & TSource1 & TSource2 & TSource3 & TSource4; - - /** - * @see _.mergeWith - */ - mergeWith( - object: any, - ...otherArgs: any[] - ): any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.mergeWith - */ - mergeWith( - source: TSource, - customizer: MergeWithCustomizer - ): LoDashImplicitWrapper; - - /** - * @see _.mergeWith - */ - mergeWith( - source1: TSource1, - source2: TSource2, - customizer: MergeWithCustomizer - ): LoDashImplicitWrapper; - - /** - * @see _.mergeWith - */ - mergeWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: MergeWithCustomizer - ): LoDashImplicitWrapper; - - /** - * @see _.mergeWith - */ - mergeWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: MergeWithCustomizer - ): LoDashImplicitWrapper; - - /** - * @see _.mergeWith - */ - mergeWith( - ...otherArgs: any[] - ): LoDashImplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/omit.d.ts b/types/lodash/object/omit.d.ts deleted file mode 100644 index 8684b37b61..0000000000 --- a/types/lodash/object/omit.d.ts +++ /dev/null @@ -1,69 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * The opposite of `_.pick`; this method creates an object composed of the - * own and inherited enumerable properties of `object` that are not omitted. - * - * @category Object - * @param object The source object. - * @param [paths] The property names to omit, specified - * individually or in arrays.. - * @returns Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.omit(object, ['a', 'c']); - * // => { 'b': '2' } - */ - omit( - object: Dictionary, - ...paths: PropertyPath[] - ): Dictionary; - - /** - * @see _.omit - */ - omit( - object: T | null | undefined, - ...paths: PropertyPath[] - ): PartialObject; - } - - interface LoDashImplicitWrapper { - /** - * @see _.omit - */ - omit( - this: LoDashImplicitWrapper>, - ...paths: PropertyPath[] - ): LoDashImplicitWrapper>; - - /** - * @see _.omit - */ - omit( - this: LoDashImplicitWrapper, - ...paths: PropertyPath[] - ): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.omit - */ - omit( - this: LoDashExplicitWrapper>, - ...paths: PropertyPath[] - ): LoDashExplicitWrapper>; - - /** - * @see _.omit - */ - omit( - this: LoDashExplicitWrapper, - ...paths: PropertyPath[] - ): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/object/omitBy.d.ts b/types/lodash/object/omitBy.d.ts deleted file mode 100644 index d6c762e496..0000000000 --- a/types/lodash/object/omitBy.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * The opposite of `_.pickBy`; this method creates an object composed of the - * own and inherited enumerable properties of `object` that `predicate` - * doesn't return truthy for. - * - * @category Object - * @param object The source object. - * @param [predicate=_.identity] The function invoked per property. - * @returns Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.omitBy(object, _.isNumber); - * // => { 'b': '2' } - */ - omitBy( - object: T | null | undefined, - predicate: ValueKeyIteratee - ): PartialObject; - } - - interface LoDashImplicitWrapper { - /** - * @see _.omitBy - */ - omitBy( - this: LoDashImplicitWrapper, - predicate: ValueKeyIteratee - ): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.omitBy - */ - omitBy( - this: LoDashExplicitWrapper, - predicate: ValueKeyIteratee - ): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/object/pick.d.ts b/types/lodash/object/pick.d.ts deleted file mode 100644 index 0561c58630..0000000000 --- a/types/lodash/object/pick.d.ts +++ /dev/null @@ -1,68 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an object composed of the picked `object` properties. - * - * @category Object - * @param object The source object. - * @param [props] The property names to pick, specified - * individually or in arrays. - * @returns Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.pick(object, ['a', 'c']); - * // => { 'a': 1, 'c': 3 } - */ - pick( - object: T, - ...props: Array> - ): Pick; - - /** - * @see _.pick - */ - pick( - object: T | null | undefined, - ...props: PropertyPath[] - ): PartialDeep; - } - - interface LoDashImplicitWrapper { - /** - * @see _.pick - */ - pick( - this: LoDashImplicitWrapper, - ...props: Array> - ): LoDashImplicitWrapper>; - - /** - * @see _.pick - */ - pick( - this: LoDashImplicitWrapper, - ...props: PropertyPath[] - ): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.pick - */ - pick( - this: LoDashExplicitWrapper, - ...props: Array> - ): LoDashExplicitWrapper>; - - /** - * @see _.pick - */ - pick( - this: LoDashExplicitWrapper, - ...props: PropertyPath[] - ): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/object/pickBy.d.ts b/types/lodash/object/pickBy.d.ts deleted file mode 100644 index 98b3c717dc..0000000000 --- a/types/lodash/object/pickBy.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an object composed of the `object` properties `predicate` returns - * truthy for. The predicate is invoked with two arguments: (value, key). - * - * @category Object - * @param object The source object. - * @param [predicate=_.identity] The function invoked per property. - * @returns Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.pickBy(object, _.isNumber); - * // => { 'a': 1, 'c': 3 } - */ - pickBy( - object: T | null | undefined, - predicate?: ValueKeyIteratee - ): PartialObject; - } - - interface LoDashImplicitWrapper { - /** - * @see _.pickBy - */ - pickBy( - this: LoDashImplicitWrapper, - predicate?: ValueKeyIteratee - ): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.pickBy - */ - pickBy( - this: LoDashExplicitWrapper, - predicate?: ValueKeyIteratee - ): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/object/result.d.ts b/types/lodash/object/result.d.ts deleted file mode 100644 index ea06014ae5..0000000000 --- a/types/lodash/object/result.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.get except that if the resolved value is a function it’s invoked with the this binding - * of its parent object and its result is returned. - * - * @param object The object to query. - * @param path The path of the property to resolve. - * @param defaultValue The value returned if the resolved value is undefined. - * @return Returns the resolved value. - */ - result( - object: any, - path: PropertyPath, - defaultValue?: TResult|((...args: any[]) => TResult) - ): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.result - */ - result( - path: PropertyPath, - defaultValue?: TResult|((...args: any[]) => TResult) - ): TResult; - } - - interface LoDashExplicitWrapper { - /** - * @see _.result - */ - result( - path: PropertyPath, - defaultValue?: TResult|((...args: any[]) => TResult) - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/set.d.ts b/types/lodash/object/set.d.ts deleted file mode 100644 index fe406347e7..0000000000 --- a/types/lodash/object/set.d.ts +++ /dev/null @@ -1,65 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Sets the value at path of object. If a portion of path doesn’t exist it’s created. Arrays are created for - * missing index properties while objects are created for all other missing properties. Use _.setWith to - * customize path creation. - * - * @param object The object to modify. - * @param path The path of the property to set. - * @param value The value to set. - * @return Returns object. - */ - set( - object: T, - path: PropertyPath, - value: any - ): T; - - /** - * @see _.set - */ - set( - object: object, - path: PropertyPath, - value: any - ): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.set - */ - set( - path: PropertyPath, - value: any - ): this; - - /** - * @see _.set - */ - set( - path: PropertyPath, - value: any - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.set - */ - set( - path: PropertyPath, - value: any - ): this; - - /** - * @see _.set - */ - set( - path: PropertyPath, - value: any - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/setWith.d.ts b/types/lodash/object/setWith.d.ts deleted file mode 100644 index 63f470180b..0000000000 --- a/types/lodash/object/setWith.d.ts +++ /dev/null @@ -1,71 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - type SetWithCustomizer = (nsValue: any, key: string, nsObject: T) => any; - - interface LoDashStatic { - /** - * This method is like _.set except that it accepts customizer which is invoked to produce the objects of - * path. If customizer returns undefined path creation is handled by the method instead. The customizer is - * invoked with three arguments: (nsValue, key, nsObject). - * - * @param object The object to modify. - * @param path The path of the property to set. - * @param value The value to set. - * @parem customizer The function to customize assigned values. - * @return Returns object. - */ - setWith( - object: T, - path: PropertyPath, - value: any, - customizer?: SetWithCustomizer - ): T; - - setWith( - object: T, - path: PropertyPath, - value: any, - customizer?: SetWithCustomizer - ): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.setWith - */ - setWith( - path: PropertyPath, - value: any, - customizer?: SetWithCustomizer - ): this; - - /** - * @see _.setWith - */ - setWith( - path: PropertyPath, - value: any, - customizer?: SetWithCustomizer - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.setWith - */ - setWith( - path: PropertyPath, - value: any, - customizer?: SetWithCustomizer - ): this; - - /** - * @see _.setWith - */ - setWith( - path: PropertyPath, - value: any, - customizer?: SetWithCustomizer - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/toPairs.d.ts b/types/lodash/object/toPairs.d.ts deleted file mode 100644 index 42c4edab2f..0000000000 --- a/types/lodash/object/toPairs.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of own enumerable key-value pairs for object. - * - * @param object The object to query. - * @return Returns the new array of key-value pairs. - */ - toPairs(object?: Dictionary): Array<[string, T]>; - - /** - * @see _.toPairs - */ - toPairs(object?: object): Array<[string, any]>; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toPairs - */ - toPairs(this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; - - /** - * @see _.toPairs - */ - toPairs(): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toPairs - */ - toPairs(this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; - - /** - * @see _.toPairs - */ - toPairs(): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/object/toPairsIn.d.ts b/types/lodash/object/toPairsIn.d.ts deleted file mode 100644 index ee6818c212..0000000000 --- a/types/lodash/object/toPairsIn.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of own and inherited enumerable key-value pairs for object. - * - * @param object The object to query. - * @return Returns the new array of key-value pairs. - */ - toPairsIn(object?: Dictionary): Array<[string, T]>; - - /** - * @see _.toPairsIn - */ - toPairsIn(object?: object): Array<[string, any]>; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toPairsIn - */ - toPairsIn(this: LoDashImplicitWrapper>): LoDashImplicitWrapper>; - - /** - * @see _.toPairsIn - */ - toPairsIn(): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toPairsIn - */ - toPairsIn(this: LoDashExplicitWrapper>): LoDashExplicitWrapper>; - - /** - * @see _.toPairsIn - */ - toPairsIn(): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/object/transform.d.ts b/types/lodash/object/transform.d.ts deleted file mode 100644 index 817f51a4b2..0000000000 --- a/types/lodash/object/transform.d.ts +++ /dev/null @@ -1,163 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * An alternative to _.reduce; this method transforms object to a new accumulator object which is the result of - * running each of its own enumerable properties through iteratee, with each invocation potentially mutating - * the accumulator object. The iteratee is bound to thisArg and invoked with four arguments: (accumulator, - * value, key, object). Iteratee functions may exit iteration early by explicitly returning false. - * - * @param object The object to iterate over. - * @param iteratee The function invoked per iteration. - * @param accumulator The custom accumulator value. - * @param thisArg The this binding of iteratee. - * @return Returns the accumulated value. - */ - transform( - object: T[], - iteratee: MemoVoidArrayIterator, - accumulator?: TResult[] - ): TResult[]; - - /** - * @see _.transform - */ - transform( - object: T[], - iteratee: MemoVoidArrayIterator>, - accumulator: Dictionary - ): Dictionary; - - /** - * @see _.transform - */ - transform( - object: Dictionary, - iteratee: MemoVoidDictionaryIterator>, - accumulator?: Dictionary - ): Dictionary; - - /** - * @see _.transform - */ - transform( - object: Dictionary, - iteratee: MemoVoidDictionaryIterator, - accumulator: TResult[] - ): TResult[]; - - /** - * @see _.transform - */ - transform( - object: any[], - ): any[]; - - /** - * @see _.transform - */ - transform( - object: object, - ): Dictionary; - } - - interface LoDashImplicitWrapper { - /** - * @see _.transform - */ - transform( - this: LoDashImplicitWrapper, - iteratee: MemoVoidArrayIterator, - accumulator?: TResult[] - ): LoDashImplicitWrapper; - - /** - * @see _.transform - */ - transform( - this: LoDashImplicitWrapper, - iteratee: MemoVoidArrayIterator>, - accumulator: Dictionary - ): LoDashImplicitWrapper>; - - /** - * @see _.transform - */ - transform( - this: LoDashImplicitWrapper>, - iteratee: MemoVoidDictionaryIterator>, - accumulator?: Dictionary - ): LoDashImplicitWrapper>; - - /** - * @see _.transform - */ - transform( - this: LoDashImplicitWrapper>, - iteratee: MemoVoidDictionaryIterator, - accumulator: TResult[] - ): LoDashImplicitWrapper; - - /** - * @see _.transform - */ - transform( - this: LoDashImplicitWrapper, - ): LoDashImplicitWrapper; - - /** - * @see _.transform - */ - transform(): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.transform - */ - transform( - this: LoDashExplicitWrapper, - iteratee: MemoVoidArrayIterator, - accumulator?: TResult[] - ): LoDashExplicitWrapper; - - /** - * @see _.transform - */ - transform( - this: LoDashExplicitWrapper, - iteratee: MemoVoidArrayIterator>, - accumulator?: Dictionary - ): LoDashExplicitWrapper>; - - /** - * @see _.transform - */ - transform( - this: LoDashExplicitWrapper>, - iteratee: MemoVoidDictionaryIterator>, - accumulator?: Dictionary - ): LoDashExplicitWrapper>; - - /** - * @see _.transform - */ - transform( - this: LoDashExplicitWrapper>, - iteratee: MemoVoidDictionaryIterator, - accumulator?: TResult[] - ): LoDashExplicitWrapper; - - /** - * @see _.transform - */ - transform( - this: LoDashExplicitWrapper, - ): LoDashExplicitWrapper; - - /** - * @see _.transform - */ - transform(): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/object/unset.d.ts b/types/lodash/object/unset.d.ts deleted file mode 100644 index 0cf4b56f92..0000000000 --- a/types/lodash/object/unset.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Removes the property at path of object. - * - * Note: This method mutates object. - * - * @param object The object to modify. - * @param path The path of the property to unset. - * @return Returns true if the property is deleted, else false. - */ - unset( - object: any, - path: PropertyPath - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.unset - */ - unset(path: PropertyPath): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.unset - */ - unset(path: PropertyPath): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/update.d.ts b/types/lodash/object/update.d.ts deleted file mode 100644 index 4289efca72..0000000000 --- a/types/lodash/object/update.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.set except that accepts updater to produce the value to set. Use _.updateWith to - * customize path creation. The updater is invoked with one argument: (value). - * - * @param object The object to modify. - * @param path The path of the property to set. - * @param updater The function to produce the updated value. - * @return Returns object. - */ - update( - object: object, - path: PropertyPath, - updater: (value: any) => any - ): any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.update - */ - update( - path: PropertyPath, - updater: (value: any) => any - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.update - */ - update( - path: PropertyPath, - updater: (value: any) => any - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/updateWith.d.ts b/types/lodash/object/updateWith.d.ts deleted file mode 100644 index 4da0be8ce5..0000000000 --- a/types/lodash/object/updateWith.d.ts +++ /dev/null @@ -1,83 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.update` except that it accepts `customizer` which is - * invoked to produce the objects of `path`. If `customizer` returns `undefined` - * path creation is handled by the method instead. The `customizer` is invoked - * with three arguments: (nsValue, key, nsObject). - * - * **Note:** This method mutates `object`. - * - * @since 4.6.0 - * @category Object - * @param object The object to modify. - * @param path The path of the property to set. - * @param updater The function to produce the updated value. - * @param [customizer] The function to customize assigned values. - * @returns Returns `object`. - * @example - * - * var object = {}; - * - * _.updateWith(object, '[0][1]', _.constant('a'), Object); - * // => { '0': { '1': 'a' } } - */ - updateWith( - object: T, - path: PropertyPath, - updater: (oldValue: any) => any, - customizer?: SetWithCustomizer - ): T; - - /** - * @see _.updateWith - */ - updateWith( - object: T, - path: PropertyPath, - updater: (oldValue: any) => any, - customizer?: SetWithCustomizer - ): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.updateWith - */ - updateWith( - path: PropertyPath, - updater: (oldValue: any) => any, - customizer?: SetWithCustomizer - ): this; - - /** - * @see _.updateWith - */ - updateWith( - path: PropertyPath, - updater: (oldValue: any) => any, - customizer?: SetWithCustomizer - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.updateWith - */ - updateWith( - path: PropertyPath, - updater: (oldValue: any) => any, - customizer?: SetWithCustomizer - ): this; - - /** - * @see _.updateWith - */ - updateWith( - path: PropertyPath, - updater: (oldValue: any) => any, - customizer?: SetWithCustomizer - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/values.d.ts b/types/lodash/object/values.d.ts deleted file mode 100644 index d1dfa1177b..0000000000 --- a/types/lodash/object/values.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of the own enumerable property values of object. - * - * @param object The object to query. - * @return Returns an array of property values. - */ - values(object: Dictionary|NumericDictionary|List | null | undefined): T[]; - - /** - * @see _.values - */ - values(object: T | null | undefined): Array; - - /** - * @see _.values - */ - values(object: any): any[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.values - */ - values(this: LoDashImplicitWrapper | NumericDictionary | List | null | undefined>): LoDashImplicitWrapper; - - /** - * @see _.values - */ - values(this: LoDashImplicitWrapper): LoDashImplicitWrapper>; - - /** - * @see _.values - */ - values(): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.values - */ - values(this: LoDashExplicitWrapper | NumericDictionary | List | null | undefined>): LoDashExplicitWrapper; - - /** - * @see _.values - */ - values(this: LoDashExplicitWrapper): LoDashExplicitWrapper>; - - /** - * @see _.values - */ - values(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/object/valuesIn.d.ts b/types/lodash/object/valuesIn.d.ts deleted file mode 100644 index 22730438f5..0000000000 --- a/types/lodash/object/valuesIn.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of the own and inherited enumerable property values of object. - * - * @param object The object to query. - * @return Returns the array of property values. - */ - valuesIn(object: Dictionary|NumericDictionary|List | null | undefined): T[]; - - /** - * @see _.valuesIn - */ - valuesIn(object: T | null | undefined): Array; - } - - interface LoDashImplicitWrapper { - /** - * @see _.valuesIn - */ - valuesIn(this: LoDashImplicitWrapper | NumericDictionary | List | null | undefined>): LoDashImplicitWrapper; - - /** - * @see _.valuesIn - */ - valuesIn(this: LoDashImplicitWrapper): LoDashImplicitWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.valuesIn - */ - valuesIn(this: LoDashExplicitWrapper | NumericDictionary | List | null | undefined>): LoDashExplicitWrapper; - - /** - * @see _.valuesIn - */ - valuesIn(this: LoDashExplicitWrapper): LoDashExplicitWrapper>; - } -} \ No newline at end of file diff --git a/types/lodash/seq/chain.d.ts b/types/lodash/seq/chain.d.ts deleted file mode 100644 index 9edc42f881..0000000000 --- a/types/lodash/seq/chain.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a lodash object that wraps value with explicit method chaining enabled. - * - * @param value The value to wrap. - * @return Returns the new lodash wrapper instance. - */ - chain(value: T): LoDashExplicitWrapper; - } - - interface LoDashImplicitWrapper { - /** - * @see _.chain - */ - chain(): LoDashExplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.chain - */ - chain(): this; - } -} \ No newline at end of file diff --git a/types/lodash/seq/prototype.at.d.ts b/types/lodash/seq/prototype.at.d.ts deleted file mode 100644 index 3a6a35d69b..0000000000 --- a/types/lodash/seq/prototype.at.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -// import _ = require("../index"); -// declare module "../index" { -// interface LoDashWrapper { -// /** -// * This method is the wrapper version of _.at. -// * -// * @ -// * @return Returns the new lodash wrapper instance. -// */ -// at(paths: string|string[]): this; -// } -// } \ No newline at end of file diff --git a/types/lodash/seq/prototype.chain.d.ts b/types/lodash/seq/prototype.chain.d.ts deleted file mode 100644 index 9edc42f881..0000000000 --- a/types/lodash/seq/prototype.chain.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a lodash object that wraps value with explicit method chaining enabled. - * - * @param value The value to wrap. - * @return Returns the new lodash wrapper instance. - */ - chain(value: T): LoDashExplicitWrapper; - } - - interface LoDashImplicitWrapper { - /** - * @see _.chain - */ - chain(): LoDashExplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.chain - */ - chain(): this; - } -} \ No newline at end of file diff --git a/types/lodash/seq/prototype.commit.d.ts b/types/lodash/seq/prototype.commit.d.ts deleted file mode 100644 index f22477f2f9..0000000000 --- a/types/lodash/seq/prototype.commit.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashWrapper { - /** - * Executes the chained sequence and returns the wrapped result. - * - * @return Returns the new lodash wrapper instance. - */ - commit(): this; - } -} \ No newline at end of file diff --git a/types/lodash/seq/prototype.plant.d.ts b/types/lodash/seq/prototype.plant.d.ts deleted file mode 100644 index 6025b09381..0000000000 --- a/types/lodash/seq/prototype.plant.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashImplicitWrapper { - /** - * Creates a clone of the chained sequence planting value as the wrapped value. - * @param value The value to plant as the wrapped value. - * @return Returns the new lodash wrapper instance. - */ - plant(value: T): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.plant - */ - plant(value: T): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/seq/prototype.reverse.d.ts b/types/lodash/seq/prototype.reverse.d.ts deleted file mode 100644 index 66526e729b..0000000000 --- a/types/lodash/seq/prototype.reverse.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashWrapper { - /** - * Reverses the wrapped array so the first element becomes the last, the second element becomes the second to - * last, and so on. - * - * Note: This method mutates the wrapped array. - * - * @return Returns the new reversed lodash wrapper instance. - */ - reverse(): this; - } -} \ No newline at end of file diff --git a/types/lodash/seq/prototype.toJSON.d.ts b/types/lodash/seq/prototype.toJSON.d.ts deleted file mode 100644 index 22da767aec..0000000000 --- a/types/lodash/seq/prototype.toJSON.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashWrapper { - /** - * @see _.value - */ - toJSON(): TValue; - } -} \ No newline at end of file diff --git a/types/lodash/seq/prototype.toString.d.ts b/types/lodash/seq/prototype.toString.d.ts deleted file mode 100644 index 4deef48ec0..0000000000 --- a/types/lodash/seq/prototype.toString.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashWrapper { - /** - * Produces the result of coercing the unwrapped value to a string. - * - * @return Returns the coerced string value. - */ - toString(): string; - } -} \ No newline at end of file diff --git a/types/lodash/seq/prototype.value.d.ts b/types/lodash/seq/prototype.value.d.ts deleted file mode 100644 index 9ba88a8250..0000000000 --- a/types/lodash/seq/prototype.value.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashWrapper { - /** - * Executes the chained sequence to extract the unwrapped value. - * - * @alias _.toJSON, _.valueOf - * - * @return Returns the resolved unwrapped value. - */ - value(): TValue; - } -} \ No newline at end of file diff --git a/types/lodash/seq/prototype.valueOf.d.ts b/types/lodash/seq/prototype.valueOf.d.ts deleted file mode 100644 index 6a69f1f202..0000000000 --- a/types/lodash/seq/prototype.valueOf.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashWrapper { - /** - * @see _.value - */ - valueOf(): TValue; - } -} \ No newline at end of file diff --git a/types/lodash/seq/tap.d.ts b/types/lodash/seq/tap.d.ts deleted file mode 100644 index dd4fc8d754..0000000000 --- a/types/lodash/seq/tap.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method invokes interceptor and returns value. The interceptor is bound to thisArg and invoked with one - * argument; (value). The purpose of this method is to "tap into" a method chain in order to perform operations - * on intermediate results within the chain. - * - * @param value The value to provide to interceptor. - * @param interceptor The function to invoke. - * @parem thisArg The this binding of interceptor. - * @return Returns value. - **/ - tap( - value: T, - interceptor: (value: T) => void - ): T; - } - - interface LoDashWrapper { - /** - * @see _.tap - */ - tap( - interceptor: (value: TValue) => void - ): this; - } -} \ No newline at end of file diff --git a/types/lodash/seq/thru.d.ts b/types/lodash/seq/thru.d.ts deleted file mode 100644 index 295011945a..0000000000 --- a/types/lodash/seq/thru.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.tap except that it returns the result of interceptor. - * - * @param value The value to provide to interceptor. - * @param interceptor The function to invoke. - * @param thisArg The this binding of interceptor. - * @return Returns the result of interceptor. - */ - thru( - value: T, - interceptor: (value: T) => TResult - ): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.thru - */ - thru(interceptor: (value: TValue) => TResult): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.thru - */ - thru(interceptor: (value: TValue) => TResult): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/camelCase.d.ts b/types/lodash/string/camelCase.d.ts deleted file mode 100644 index 8362137353..0000000000 --- a/types/lodash/string/camelCase.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts string to camel case. - * - * @param string The string to convert. - * @return Returns the camel cased string. - */ - camelCase(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.camelCase - */ - camelCase(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.camelCase - */ - camelCase(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/capitalize.d.ts b/types/lodash/string/capitalize.d.ts deleted file mode 100644 index 678f1c1de6..0000000000 --- a/types/lodash/string/capitalize.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts the first character of string to upper case and the remaining to lower case. - * - * @param string The string to capitalize. - * @return Returns the capitalized string. - */ - capitalize(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.capitalize - */ - capitalize(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.capitalize - */ - capitalize(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/deburr.d.ts b/types/lodash/string/deburr.d.ts deleted file mode 100644 index 85d3476be1..0000000000 --- a/types/lodash/string/deburr.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Deburrs string by converting latin-1 supplementary letters to basic latin letters and removing combining - * diacritical marks. - * - * @param string The string to deburr. - * @return Returns the deburred string. - */ - deburr(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.deburr - */ - deburr(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.deburr - */ - deburr(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/endsWith.d.ts b/types/lodash/string/endsWith.d.ts deleted file mode 100644 index 383c0acc41..0000000000 --- a/types/lodash/string/endsWith.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if string ends with the given target string. - * - * @param string The string to search. - * @param target The string to search for. - * @param position The position to search from. - * @return Returns true if string ends with target, else false. - */ - endsWith( - string?: string, - target?: string, - position?: number - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.endsWith - */ - endsWith( - target?: string, - position?: number - ): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.endsWith - */ - endsWith( - target?: string, - position?: number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/escape.d.ts b/types/lodash/string/escape.d.ts deleted file mode 100644 index 21131ee05f..0000000000 --- a/types/lodash/string/escape.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts the characters "&", "<", ">", '"', "'", and "`" in string to their corresponding HTML entities. - * - * Note: No other characters are escaped. To escape additional characters use a third-party library like he. - * - * hough the ">" character is escaped for symmetry, characters like ">" and "/" don’t need escaping in HTML - * and have no special meaning unless they're part of a tag or unquoted attribute value. See Mathias Bynens’s - * article (under "semi-related fun fact") for more details. - * - * Backticks are escaped because in IE < 9, they can break out of attribute values or HTML comments. See #59, - * #102, #108, and #133 of the HTML5 Security Cheatsheet for more details. - * - * When working with HTML you should always quote attribute values to reduce XSS vectors. - * - * @param string The string to escape. - * @return Returns the escaped string. - */ - escape(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.escape - */ - escape(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.escape - */ - escape(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/escapeRegExp.d.ts b/types/lodash/string/escapeRegExp.d.ts deleted file mode 100644 index a05b2b80ab..0000000000 --- a/types/lodash/string/escapeRegExp.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Escapes the RegExp special characters "^", "$", "\", ".", "*", "+", "?", "(", ")", "[", "]", - * "{", "}", and "|" in string. - * - * @param string The string to escape. - * @return Returns the escaped string. - */ - escapeRegExp(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.escapeRegExp - */ - escapeRegExp(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.escapeRegExp - */ - escapeRegExp(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/kebabCase.d.ts b/types/lodash/string/kebabCase.d.ts deleted file mode 100644 index eac11176a7..0000000000 --- a/types/lodash/string/kebabCase.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts string to kebab case. - * - * @param string The string to convert. - * @return Returns the kebab cased string. - */ - kebabCase(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.kebabCase - */ - kebabCase(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.kebabCase - */ - kebabCase(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/lowerCase.d.ts b/types/lodash/string/lowerCase.d.ts deleted file mode 100644 index 5349f3af18..0000000000 --- a/types/lodash/string/lowerCase.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts `string`, as space separated words, to lower case. - * - * @param string The string to convert. - * @return Returns the lower cased string. - */ - lowerCase(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.lowerCase - */ - lowerCase(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.lowerCase - */ - lowerCase(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/lowerFirst.d.ts b/types/lodash/string/lowerFirst.d.ts deleted file mode 100644 index 54cacab3e6..0000000000 --- a/types/lodash/string/lowerFirst.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts the first character of `string` to lower case. - * - * @param string The string to convert. - * @return Returns the converted string. - */ - lowerFirst(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.lowerFirst - */ - lowerFirst(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.lowerFirst - */ - lowerFirst(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/pad.d.ts b/types/lodash/string/pad.d.ts deleted file mode 100644 index d47f48afad..0000000000 --- a/types/lodash/string/pad.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Pads string on the left and right sides if it’s shorter than length. Padding characters are truncated if - * they can’t be evenly divided by length. - * - * @param string The string to pad. - * @param length The padding length. - * @param chars The string used as padding. - * @return Returns the padded string. - */ - pad( - string?: string, - length?: number, - chars?: string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.pad - */ - pad( - length?: number, - chars?: string - ): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.pad - */ - pad( - length?: number, - chars?: string - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/padEnd.d.ts b/types/lodash/string/padEnd.d.ts deleted file mode 100644 index ed4c552705..0000000000 --- a/types/lodash/string/padEnd.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Pads string on the right side if it’s shorter than length. Padding characters are truncated if they exceed - * length. - * - * @param string The string to pad. - * @param length The padding length. - * @param chars The string used as padding. - * @return Returns the padded string. - */ - padEnd( - string?: string, - length?: number, - chars?: string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.padEnd - */ - padEnd( - length?: number, - chars?: string - ): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.padEnd - */ - padEnd( - length?: number, - chars?: string - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/padStart.d.ts b/types/lodash/string/padStart.d.ts deleted file mode 100644 index 02f2ce2752..0000000000 --- a/types/lodash/string/padStart.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Pads string on the left side if it’s shorter than length. Padding characters are truncated if they exceed - * length. - * - * @param string The string to pad. - * @param length The padding length. - * @param chars The string used as padding. - * @return Returns the padded string. - */ - padStart( - string?: string, - length?: number, - chars?: string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.padStart - */ - padStart( - length?: number, - chars?: string - ): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.padStart - */ - padStart( - length?: number, - chars?: string - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/parseInt.d.ts b/types/lodash/string/parseInt.d.ts deleted file mode 100644 index 082b45617d..0000000000 --- a/types/lodash/string/parseInt.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts string to an integer of the specified radix. If radix is undefined or 0, a radix of 10 is used - * unless value is a hexadecimal, in which case a radix of 16 is used. - * - * Note: This method aligns with the ES5 implementation of parseInt. - * - * @param string The string to convert. - * @param radix The radix to interpret value by. - * @return Returns the converted integer. - */ - parseInt( - string: string, - radix?: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.parseInt - */ - parseInt(radix?: number): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.parseInt - */ - parseInt(radix?: number): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/repeat.d.ts b/types/lodash/string/repeat.d.ts deleted file mode 100644 index a72cda78b1..0000000000 --- a/types/lodash/string/repeat.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Repeats the given string n times. - * - * @param string The string to repeat. - * @param n The number of times to repeat the string. - * @return Returns the repeated string. - */ - repeat( - string?: string, - n?: number - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.repeat - */ - repeat(n?: number): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.repeat - */ - repeat(n?: number): LoDashExplicitWrapper; - } - - type ReplaceFunction = (match: string, ...args: any[]) => string; -} \ No newline at end of file diff --git a/types/lodash/string/replace.d.ts b/types/lodash/string/replace.d.ts deleted file mode 100644 index 9245e2d712..0000000000 --- a/types/lodash/string/replace.d.ts +++ /dev/null @@ -1,59 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Replaces matches for pattern in string with replacement. - * - * Note: This method is based on String#replace. - * - * @return Returns the modified string. - */ - replace( - string: string, - pattern: RegExp | string, - replacement: ReplaceFunction | string - ): string; - - /** - * @see _.replace - */ - replace( - pattern: RegExp | string, - replacement: ReplaceFunction | string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.replace - */ - replace( - pattern: RegExp|string, - replacement: ReplaceFunction | string - ): string; - - /** - * @see _.replace - */ - replace( - replacement: ReplaceFunction | string - ): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.replace - */ - replace( - pattern: RegExp | string, - replacement: ReplaceFunction | string - ): LoDashExplicitWrapper; - - /** - * @see _.replace - */ - replace( - replacement: ReplaceFunction | string - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/snakeCase.d.ts b/types/lodash/string/snakeCase.d.ts deleted file mode 100644 index efdaac05d0..0000000000 --- a/types/lodash/string/snakeCase.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts string to snake case. - * - * @param string The string to convert. - * @return Returns the snake cased string. - */ - snakeCase(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.snakeCase - */ - snakeCase(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.snakeCase - */ - snakeCase(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/split.d.ts b/types/lodash/string/split.d.ts deleted file mode 100644 index e964d851ce..0000000000 --- a/types/lodash/string/split.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Splits string by separator. - * - * Note: This method is based on String#split. - * - * @param string The string to trim. - * @param separator The separator pattern to split by. - * @param limit The length to truncate results to. - * @return Returns the new array of string segments. - */ - split( - string: string, - separator?: RegExp|string, - limit?: number - ): string[]; - - /** - * Splits string by separator. - * - * Note: This method is based on String#split. - * - * @param string The string to trim. - * @param index Not used in this overload. - * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code. - * @return Returns the new array of string segments. - */ - split( - string: string, - index: string | number, - guard: object - ): string[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.split - */ - split( - separator?: RegExp|string, - limit?: number - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.split - */ - split( - separator?: RegExp|string, - limit?: number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/startCase.d.ts b/types/lodash/string/startCase.d.ts deleted file mode 100644 index 19e0551bf6..0000000000 --- a/types/lodash/string/startCase.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts string to start case. - * - * @param string The string to convert. - * @return Returns the start cased string. - */ - startCase(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.startCase - */ - startCase(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.startCase - */ - startCase(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/startsWith.d.ts b/types/lodash/string/startsWith.d.ts deleted file mode 100644 index 6090c2ed69..0000000000 --- a/types/lodash/string/startsWith.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks if string starts with the given target string. - * - * @param string The string to search. - * @param target The string to search for. - * @param position The position to search from. - * @return Returns true if string starts with target, else false. - */ - startsWith( - string?: string, - target?: string, - position?: number - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.startsWith - */ - startsWith( - target?: string, - position?: number - ): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.startsWith - */ - startsWith( - target?: string, - position?: number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/template.d.ts b/types/lodash/string/template.d.ts deleted file mode 100644 index a876c72fd8..0000000000 --- a/types/lodash/string/template.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface TemplateOptions extends TemplateSettings { - /** - * The sourceURL of the template's compiled source. - */ - sourceURL?: string; - } - - interface TemplateExecutor { - (data?: object): string; - source: string; - } - - interface LoDashStatic { - /** - * Creates a compiled template function that can interpolate data properties in "interpolate" delimiters, - * HTML-escape interpolated data properties in "escape" delimiters, and execute JavaScript in "evaluate" - * delimiters. Data properties may be accessed as free variables in the template. If a setting object is - * provided it takes precedence over _.templateSettings values. - * - * Note: In the development build _.template utilizes - * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl) for easier - * debugging. - * - * For more information on precompiling templates see - * [lodash's custom builds documentation](https://lodash.com/custom-builds). - * - * For more information on Chrome extension sandboxes see - * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval). - * - * @param string The template string. - * @param options The options object. - * @param options.escape The HTML "escape" delimiter. - * @param options.evaluate The "evaluate" delimiter. - * @param options.imports An object to import into the template as free variables. - * @param options.interpolate The "interpolate" delimiter. - * @param options.sourceURL The sourceURL of the template's compiled source. - * @param options.variable The data object variable name. - * @return Returns the compiled template function. - */ - template( - string?: string, - options?: TemplateOptions - ): TemplateExecutor; - } - - interface LoDashImplicitWrapper { - /** - * @see _.template - */ - template(options?: TemplateOptions): TemplateExecutor; - } - - interface LoDashExplicitWrapper { - /** - * @see _.template - */ - template(options?: TemplateOptions): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/toLower.d.ts b/types/lodash/string/toLower.d.ts deleted file mode 100644 index 522014d583..0000000000 --- a/types/lodash/string/toLower.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts `string`, as a whole, to lower case. - * - * @param string The string to convert. - * @return Returns the lower cased string. - */ - toLower(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toLower - */ - toLower(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toLower - */ - toLower(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/toUpper.d.ts b/types/lodash/string/toUpper.d.ts deleted file mode 100644 index 5b2215685b..0000000000 --- a/types/lodash/string/toUpper.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts `string`, as a whole, to upper case. - * - * @param string The string to convert. - * @return Returns the upper cased string. - */ - toUpper(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toUpper - */ - toUpper(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toUpper - */ - toUpper(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/trim.d.ts b/types/lodash/string/trim.d.ts deleted file mode 100644 index 47e2a81d36..0000000000 --- a/types/lodash/string/trim.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Removes leading and trailing whitespace or specified characters from string. - * - * @param string The string to trim. - * @param chars The characters to trim. - * @return Returns the trimmed string. - */ - trim( - string?: string, - chars?: string - ): string; - - /** - * Removes leading and trailing whitespace or specified characters from string. - * - * @param string The string to trim. - * @param index Not used in this overload. - * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code. - * @return Returns the trimmed string. - */ - trim( - string: string, - index: string | number, - guard: object - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.trim - */ - trim(chars?: string): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.trim - */ - trim(chars?: string): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/trimEnd.d.ts b/types/lodash/string/trimEnd.d.ts deleted file mode 100644 index 1af345dd74..0000000000 --- a/types/lodash/string/trimEnd.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Removes trailing whitespace or specified characters from string. - * - * @param string The string to trim. - * @param chars The characters to trim. - * @return Returns the trimmed string. - */ - trimEnd( - string?: string, - chars?: string - ): string; - - /** - * Removes trailing whitespace or specified characters from string. - * - * @param string The string to trim. - * @param index Not used in this overload. - * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code. - * @return Returns the trimmed string. - */ - trimEnd( - string: string, - index: string | number, - guard: object - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.trimEnd - */ - trimEnd(chars?: string): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.trimEnd - */ - trimEnd(chars?: string): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/trimStart.d.ts b/types/lodash/string/trimStart.d.ts deleted file mode 100644 index 1055f6b1d3..0000000000 --- a/types/lodash/string/trimStart.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Removes leading whitespace or specified characters from string. - * - * @param string The string to trim. - * @param chars The characters to trim. - * @return Returns the trimmed string. - */ - trimStart( - string?: string, - chars?: string - ): string; - - /** - * Removes leading whitespace or specified characters from string. - * - * @param string The string to trim. - * @param index Not used in this overload. - * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code. - * @return Returns the trimmed string. - */ - trimStart( - string: string, - index: string | number, - guard: object - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.trimStart - */ - trimStart(chars?: string): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.trimStart - */ - trimStart(chars?: string): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/truncate.d.ts b/types/lodash/string/truncate.d.ts deleted file mode 100644 index 23d4039356..0000000000 --- a/types/lodash/string/truncate.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface TruncateOptions { - /** The maximum string length. */ - length?: number; - /** The string to indicate text is omitted. */ - omission?: string; - /** The separator pattern to truncate to. */ - separator?: string|RegExp; - } - - interface LoDashStatic { - /** - * Truncates string if it’s longer than the given maximum string length. The last characters of the truncated - * string are replaced with the omission string which defaults to "…". - * - * @param string The string to truncate. - * @param options The options object or maximum string length. - * @return Returns the truncated string. - */ - truncate( - string?: string, - options?: TruncateOptions - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.truncate - */ - truncate(options?: TruncateOptions): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.truncate - */ - truncate(options?: TruncateOptions): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/unescape.d.ts b/types/lodash/string/unescape.d.ts deleted file mode 100644 index 3e2be90abb..0000000000 --- a/types/lodash/string/unescape.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * The inverse of _.escape; this method converts the HTML entities &, <, >, ", ', and ` - * in string to their corresponding characters. - * - * Note: No other HTML entities are unescaped. To unescape additional HTML entities use a third-party library - * like he. - * - * @param string The string to unescape. - * @return Returns the unescaped string. - */ - unescape(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.unescape - */ - unescape(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.unescape - */ - unescape(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/upperCase.d.ts b/types/lodash/string/upperCase.d.ts deleted file mode 100644 index d33b6885b9..0000000000 --- a/types/lodash/string/upperCase.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts `string`, as space separated words, to upper case. - * - * @param string The string to convert. - * @return Returns the upper cased string. - */ - upperCase(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.upperCase - */ - upperCase(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.upperCase - */ - upperCase(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/upperFirst.d.ts b/types/lodash/string/upperFirst.d.ts deleted file mode 100644 index 692aa702cd..0000000000 --- a/types/lodash/string/upperFirst.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts the first character of `string` to upper case. - * - * @param string The string to convert. - * @return Returns the converted string. - */ - upperFirst(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.upperFirst - */ - upperFirst(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.upperFirst - */ - upperFirst(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/string/words.d.ts b/types/lodash/string/words.d.ts deleted file mode 100644 index 4ca4530513..0000000000 --- a/types/lodash/string/words.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Splits `string` into an array of its words. - * - * @param string The string to inspect. - * @param pattern The pattern to match words. - * @return Returns the words of `string`. - */ - words( - string?: string, - pattern?: string|RegExp - ): string[]; - - /** - * Splits `string` into an array of its words. - * - * @param string The string to inspect. - * @param index Not used in this overload. - * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code. - * @return Returns the words of `string`. - */ - words( - string: string, - index: string | number, - guard: object - ): string[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.words - */ - words(pattern?: string|RegExp): string[]; - } - - interface LoDashExplicitWrapper { - /** - * @see _.words - */ - words(pattern?: string|RegExp): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/util/attempt.d.ts b/types/lodash/util/attempt.d.ts deleted file mode 100644 index b539421d13..0000000000 --- a/types/lodash/util/attempt.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments - * are provided to func when it’s invoked. - * - * @param func The function to attempt. - * @return Returns the func result or error object. - */ - attempt(func: (...args: any[]) => TResult, ...args: any[]): TResult|Error; - } - - interface LoDashImplicitWrapper { - /** - * @see _.attempt - */ - attempt(...args: any[]): TResult|Error; - } - - interface LoDashExplicitWrapper { - /** - * @see _.attempt - */ - attempt(...args: any[]): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/util/bindAll.d.ts b/types/lodash/util/bindAll.d.ts deleted file mode 100644 index 1ebe05fe60..0000000000 --- a/types/lodash/util/bindAll.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Binds methods of an object to the object itself, overwriting the existing method. Method names may be - * specified as individual arguments or as arrays of method names. If no method names are provided all - * enumerable function properties, own and inherited, of object are bound. - * - * Note: This method does not set the "length" property of bound functions. - * - * @param object The object to bind and assign the bound methods to. - * @param methodNames The object method names to bind, specified as individual method names or arrays of - * method names. - * @return Returns object. - */ - bindAll( - object: T, - ...methodNames: Array> - ): T; - } - - interface LoDashWrapper { - /** - * @see _.bindAll - */ - bindAll(...methodNames: Array>): this; - } -} \ No newline at end of file diff --git a/types/lodash/util/cond.d.ts b/types/lodash/util/cond.d.ts deleted file mode 100644 index 036f518184..0000000000 --- a/types/lodash/util/cond.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that iterates over `pairs` and invokes the corresponding - * function of the first predicate to return truthy. The predicate-function - * pairs are invoked with the `this` binding and arguments of the created - * function. - * - * @since 4.0.0 - * @category Util - * @param pairs The predicate-function pairs. - * @returns Returns the new composite function. - * @example - * - * var func = _.cond([ - * [_.matches({ 'a': 1 }), _.constant('matches A')], - * [_.conforms({ 'b': _.isNumber }), _.constant('matches B')], - * [_.stubTrue, _.constant('no match')] - * ]); - * - * func({ 'a': 1, 'b': 2 }); - * // => 'matches A' - * - * func({ 'a': 0, 'b': 1 }); - * // => 'matches B' - * - * func({ 'a': '1', 'b': '2' }); - * // => 'no match' - */ - cond(pairs: Array>): (Target: T) => R; - } -} \ No newline at end of file diff --git a/types/lodash/util/conforms.d.ts b/types/lodash/util/conforms.d.ts deleted file mode 100644 index 9da61cedd1..0000000000 --- a/types/lodash/util/conforms.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - type ConformsPredicateObject = { - [P in keyof T]?: (val: T[P]) => boolean; - }; - - interface LoDashStatic { - /** - * Creates a function that invokes the predicate properties of `source` with the corresponding - * property values of a given object, returning true if all predicates return truthy, else false. - */ - conforms(source: ConformsPredicateObject): (value: T) => boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.conforms - */ - conforms(this: LoDashImplicitWrapper>): LoDashImplicitWrapper<(value: T) => boolean>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.conforms - */ - conforms(this: LoDashExplicitWrapper>): LoDashExplicitWrapper<(value: T) => boolean>; - } -} \ No newline at end of file diff --git a/types/lodash/util/constant.d.ts b/types/lodash/util/constant.d.ts deleted file mode 100644 index 9255171af1..0000000000 --- a/types/lodash/util/constant.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that returns value. - * - * @param value The value to return from the new function. - * @return Returns the new function. - */ - constant(value: T): () => T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.constant - */ - constant(): LoDashImplicitWrapper<() => TValue>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.constant - */ - constant(): LoDashExplicitWrapper<() => TValue>; - } -} \ No newline at end of file diff --git a/types/lodash/util/defaultTo.d.ts b/types/lodash/util/defaultTo.d.ts deleted file mode 100644 index ced0e976c5..0000000000 --- a/types/lodash/util/defaultTo.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Checks `value` to determine whether a default value should be returned in - * its place. The `defaultValue` is returned if `value` is `NaN`, `null`, - * or `undefined`. - * - * @param value The value to check. - * @param defaultValue The default value. - * @returns Returns the resolved value. - */ - defaultTo(value: T | null | undefined, defaultValue: T): T; - - /** - * @see _.defaultTo - */ - defaultTo( - value: T | null | undefined, - defaultValue: TDefault - ): T | TDefault; - } - - interface LoDashImplicitWrapper { - /** - * @see _.defaultTo - */ - defaultTo(this: LoDashImplicitWrapper, defaultValue: T): T; - - /** - * @see _.defaultTo - */ - defaultTo( - this: LoDashImplicitWrapper, - defaultValue: TDefault - ): T | TDefault; - } - - interface LoDashExplicitWrapper { - /** - * @see _.defaultTo - */ - defaultTo(this: LoDashExplicitWrapper, defaultValue: T): LoDashExplicitWrapper; - - /** - * @see _.defaultTo - */ - defaultTo( - this: LoDashExplicitWrapper, - defaultValue: TDefault - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/util/flow.d.ts b/types/lodash/util/flow.d.ts deleted file mode 100644 index 90736c5da4..0000000000 --- a/types/lodash/util/flow.d.ts +++ /dev/null @@ -1,171 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that returns the result of invoking the provided functions with the this binding of the - * created function, where each successive invocation is supplied the return value of the previous. - * - * @param funcs Functions to invoke. - * @return Returns the new function. - */ - // 0-argument first function - flow(f1: () => R1, f2: (a: R1) => R2): () => R2; - flow(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): () => R3; - flow(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): () => R4; - flow(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): () => R5; - flow(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): () => R6; - flow(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): () => R7; - flow(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): () => any; - // 1-argument first function - flow(f1: (a1: A1) => R1, f2: (a: R1) => R2): (a1: A1) => R2; - flow(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1) => R3; - flow(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1) => R4; - flow(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1) => R5; - flow(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1) => R6; - flow(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1) => R7; - flow(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): (a1: A1) => any; - // 2-argument first function - flow(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2): (a1: A1, a2: A2) => R2; - flow(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1, a2: A2) => R3; - flow(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1, a2: A2) => R4; - flow(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1, a2: A2) => R5; - flow(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1, a2: A2) => R6; - flow(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1, a2: A2) => R7; - flow(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): (a1: A1, a2: A2) => any; - // 3-argument first function - flow(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2): (a1: A1, a2: A2, a3: A3) => R2; - flow(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1, a2: A2, a3: A3) => R3; - flow(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1, a2: A2, a3: A3) => R4; - flow(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1, a2: A2, a3: A3) => R5; - flow(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1, a2: A2, a3: A3) => R6; - flow(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1, a2: A2, a3: A3) => R7; - flow(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): (a1: A1, a2: A2, a3: A3) => any; - // 4-argument first function - flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2): (a1: A1, a2: A2, a3: A3, a4: A4) => R2; - flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1, a2: A2, a3: A3, a4: A4) => R3; - flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1, a2: A2, a3: A3, a4: A4) => R4; - flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1, a2: A2, a3: A3, a4: A4) => R5; - flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1, a2: A2, a3: A3, a4: A4) => R6; - flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1, a2: A2, a3: A3, a4: A4) => R7; - flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): (a1: A1, a2: A2, a3: A3, a4: A4) => any; - // any-argument first function - flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R2; - flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R3; - flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R4; - flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R5; - flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R6; - flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R7; - flow(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => any; - flow(funcs: Array any>>): (...args: any[]) => any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.flow - */ - // 0-argument first function - flow(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<() => R2>; - flow(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<() => R3>; - flow(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<() => R4>; - flow(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<() => R5>; - flow(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<() => R6>; - flow(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<() => R7>; - flow(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashImplicitWrapper<() => any>; - // 1-argument first function - flow(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1) => R2>; - flow(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1) => R3>; - flow(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1) => R4>; - flow(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1) => R5>; - flow(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1) => R6>; - flow(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1) => R7>; - flow(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashImplicitWrapper<(a1: A1) => any>; - // 2-argument first function - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1, a2: A2) => R2>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1, a2: A2) => R3>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1, a2: A2) => R4>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1, a2: A2) => R5>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1, a2: A2) => R6>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1, a2: A2) => R7>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashImplicitWrapper<(a1: A1, a2: A2) => any>; - // 3-argument first function - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R2>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R3>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R4>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R5>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R6>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R7>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => any>; - // 4-argument first function - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R2>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R3>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R4>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R5>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R6>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R7>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => any>; - // any-argument first function - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R2>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R3>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R4>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R5>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R6>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R7>; - flow(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => any>; - flow(this: LoDashImplicitWrapper<(...args: any[]) => any>, funcs: Array any>>): LoDashImplicitWrapper<(...args: any[]) => any>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.flow - */ - // 0-argument first function - flow(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<() => R2>; - flow(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<() => R3>; - flow(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<() => R4>; - flow(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<() => R5>; - flow(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<() => R6>; - flow(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<() => R7>; - flow(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashExplicitWrapper<() => any>; - // 1-argument first function - flow(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1) => R2>; - flow(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1) => R3>; - flow(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1) => R4>; - flow(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1) => R5>; - flow(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1) => R6>; - flow(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1) => R7>; - flow(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashExplicitWrapper<(a1: A1) => any>; - // 2-argument first function - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1, a2: A2) => R2>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1, a2: A2) => R3>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1, a2: A2) => R4>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1, a2: A2) => R5>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1, a2: A2) => R6>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1, a2: A2) => R7>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashExplicitWrapper<(a1: A1, a2: A2) => any>; - // 3-argument first function - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R2>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R3>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R4>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R5>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R6>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R7>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => any>; - // 4-argument first function - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R2>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R3>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R4>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R5>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R6>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R7>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => any>; - // any-argument first function - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R2>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R3>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R4>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R5>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R6>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R7>; - flow(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array any>>): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => any>; - flow(this: LoDashExplicitWrapper<(...args: any[]) => any>, funcs: Array any>>): LoDashExplicitWrapper<(...args: any[]) => any>; - } -} \ No newline at end of file diff --git a/types/lodash/util/flowRight.d.ts b/types/lodash/util/flowRight.d.ts deleted file mode 100644 index e61f162ce3..0000000000 --- a/types/lodash/util/flowRight.d.ts +++ /dev/null @@ -1,156 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like _.flow except that it creates a function that invokes the provided functions from right - * to left. - * - * @param funcs Functions to invoke. - * @return Returns the new function. - */ - // 0-argument first function - flowRight(f2: (a: R1) => R2, f1: () => R1): () => R2; - flowRight(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R3; - flowRight(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R4; - flowRight(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R5; - flowRight(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R6; - flowRight(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R7; - // 1-argument first function - flowRight(f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R2; - flowRight(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R3; - flowRight(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R4; - flowRight(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R5; - flowRight(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R6; - flowRight(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R7; - // 2-argument first function - flowRight(f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R2; - flowRight(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R3; - flowRight(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R4; - flowRight(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R5; - flowRight(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R6; - flowRight(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R7; - // 3-argument first function - flowRight(f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R2; - flowRight(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R3; - flowRight(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R4; - flowRight(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R5; - flowRight(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R6; - flowRight(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R7; - // 4-argument first function - flowRight(f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R2; - flowRight(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R3; - flowRight(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R4; - flowRight(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R5; - flowRight(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R6; - flowRight(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R7; - // any-argument first function - flowRight(f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R2; - flowRight(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R3; - flowRight(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R4; - flowRight(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R5; - flowRight(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R6; - flowRight(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R7; - flowRight(f7: (a: any) => any, f6: (a: any) => any, f5: (a: any) => any, f4: (a: any) => any, f3: (a: any) => any, f2: (a: any) => any, f1: () => any, ...funcs: Array any>>): (...args: any[]) => any; - flowRight(funcs: Array any>>): (...args: any[]) => any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.flowRight - */ - // 0-argument first function - flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: () => R1): LoDashImplicitWrapper<() => R2>; - flowRight(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R3>; - flowRight(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R4>; - flowRight(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R5>; - flowRight(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R6>; - flowRight(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R7>; - // 1-argument first function - flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R2>; - flowRight(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R3>; - flowRight(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R4>; - flowRight(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R5>; - flowRight(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R6>; - flowRight(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R7>; - // 2-argument first function - flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R2>; - flowRight(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R3>; - flowRight(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R4>; - flowRight(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R5>; - flowRight(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R6>; - flowRight(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R7>; - // 3-argument first function - flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R2>; - flowRight(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R3>; - flowRight(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R4>; - flowRight(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R5>; - flowRight(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R6>; - flowRight(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R7>; - // 4-argument first function - flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R2>; - flowRight(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R3>; - flowRight(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R4>; - flowRight(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R5>; - flowRight(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R6>; - flowRight(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R7>; - // any-argument first function - flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R2>; - flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R3>; - flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R4>; - flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R5>; - flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R6>; - flowRight(this: LoDashImplicitWrapper<(a: R1) => R2>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R7>; - flowRight(this: LoDashImplicitWrapper<(a: any) => any>, f6: (a: any) => any, f5: (a: any) => any, f4: (a: any) => any, f3: (a: any) => any, f2: (a: any) => any, f1: () => any, ...funcs: Array any>>): LoDashImplicitWrapper<(...args: any[]) => any>; - flowRight(this: LoDashImplicitWrapper<(a: any) => any>, funcs: Array any>>): LoDashImplicitWrapper<(...args: any[]) => any>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.flowRight - */ - // 0-argument first function - flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: () => R1): LoDashExplicitWrapper<() => R2>; - flowRight(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R3>; - flowRight(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R4>; - flowRight(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R5>; - flowRight(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R6>; - flowRight(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R7>; - // 1-argument first function - flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R2>; - flowRight(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R3>; - flowRight(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R4>; - flowRight(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R5>; - flowRight(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R6>; - flowRight(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R7>; - // 2-argument first function - flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R2>; - flowRight(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R3>; - flowRight(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R4>; - flowRight(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R5>; - flowRight(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R6>; - flowRight(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R7>; - // 3-argument first function - flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R2>; - flowRight(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R3>; - flowRight(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R4>; - flowRight(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R5>; - flowRight(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R6>; - flowRight(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R7>; - // 4-argument first function - flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R2>; - flowRight(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R3>; - flowRight(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R4>; - flowRight(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R5>; - flowRight(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R6>; - flowRight(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R7>; - // any-argument first function - flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R2>; - flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R3>; - flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R4>; - flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R5>; - flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R6>; - flowRight(this: LoDashExplicitWrapper<(a: R1) => R2>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R7>; - flowRight(this: LoDashExplicitWrapper<(a: any) => any>, f6: (a: any) => any, f5: (a: any) => any, f4: (a: any) => any, f3: (a: any) => any, f2: (a: any) => any, f1: () => any, ...funcs: Array any>>): LoDashExplicitWrapper<(...args: any[]) => any>; - flowRight(this: LoDashExplicitWrapper<(a: any) => any>, funcs: Array any>>): LoDashExplicitWrapper<(...args: any[]) => any>; - } -} \ No newline at end of file diff --git a/types/lodash/util/identity.d.ts b/types/lodash/util/identity.d.ts deleted file mode 100644 index 6fff4525ad..0000000000 --- a/types/lodash/util/identity.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method returns the first argument provided to it. - * - * @param value Any value. - * @return Returns value. - */ - identity(value: T): T; - - /** - * @see _.identity - */ - identity(): undefined; - } - - interface LoDashImplicitWrapper { - /** - * @see _.identity - */ - identity(): TValue; - } - - interface LoDashExplicitWrapper { - /** - * @see _.identity - */ - identity(): this; - } -} \ No newline at end of file diff --git a/types/lodash/util/iteratee.d.ts b/types/lodash/util/iteratee.d.ts deleted file mode 100644 index b41c6d3cf2..0000000000 --- a/types/lodash/util/iteratee.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that invokes `func` with the arguments of the created - * function. If `func` is a property name the created callback returns the - * property value for a given element. If `func` is an object the created - * callback returns `true` for elements that contain the equivalent object properties, otherwise it returns `false`. - * - * @category Util - * @param [func=_.identity] The value to convert to a callback. - * @returns Returns the callback. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 } - * ]; - * - * // create custom iteratee shorthands - * _.iteratee = _.wrap(_.iteratee, function(callback, func) { - * var p = /^(\S+)\s*([<>])\s*(\S+)$/.exec(func); - * return !p ? callback(func) : function(object) { - * return (p[2] == '>' ? object[p[1]] > p[3] : object[p[1]] < p[3]); - * }; - * }); - * - * _.filter(users, 'age > 36'); - * // => [{ 'user': 'fred', 'age': 40 }] - */ - iteratee any>( - func: TFunction | string | object - ): TFunction; - - /** - * @see _.iteratee - */ - iteratee(): typeof _.identity; // tslint:disable-line:no-unnecessary-qualifier - } - - interface LoDashImplicitWrapper { - /** - * @see _.iteratee - */ - iteratee any>( - this: LoDashImplicitWrapper - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.iteratee - */ - iteratee any>( - this: LoDashExplicitWrapper - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/util/matches.d.ts b/types/lodash/util/matches.d.ts deleted file mode 100644 index b919ffbbcc..0000000000 --- a/types/lodash/util/matches.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that performs a deep comparison between a given object and source, returning true if the - * given object has equivalent property values, else false. - * - * Note: This method supports comparing arrays, booleans, Date objects, numbers, Object objects, regexes, and - * strings. Objects are compared by their own, not inherited, enumerable properties. For comparing a single own - * or inherited property value see _.matchesProperty. - * - * @param source The object of property values to match. - * @return Returns the new function. - */ - matches(source: T): (value: any) => boolean; - - /** - * @see _.matches - */ - matches(source: T): (value: V) => boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.matches - */ - matches(): LoDashImplicitWrapper<(value: V) => boolean>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.matches - */ - matches(): LoDashExplicitWrapper<(value: V) => boolean>; - } -} \ No newline at end of file diff --git a/types/lodash/util/matchesProperty.d.ts b/types/lodash/util/matchesProperty.d.ts deleted file mode 100644 index fc574be4f9..0000000000 --- a/types/lodash/util/matchesProperty.d.ts +++ /dev/null @@ -1,59 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that compares the property value of path on a given object to value. - * - * Note: This method supports comparing arrays, booleans, Date objects, numbers, Object objects, regexes, and - * strings. Objects are compared by their own, not inherited, enumerable properties. - * - * @param path The path of the property to get. - * @param srcValue The value to match. - * @return Returns the new function. - */ - matchesProperty( - path: PropertyPath, - srcValue: T - ): (value: any) => boolean; - - /** - * @see _.matchesProperty - */ - matchesProperty( - path: PropertyPath, - srcValue: T - ): (value: V) => boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.matchesProperty - */ - matchesProperty( - srcValue: SrcValue - ): LoDashImplicitWrapper<(value: any) => boolean>; - - /** - * @see _.matchesProperty - */ - matchesProperty( - srcValue: SrcValue - ): LoDashImplicitWrapper<(value: Value) => boolean>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.matchesProperty - */ - matchesProperty( - srcValue: SrcValue - ): LoDashExplicitWrapper<(value: any) => boolean>; - - /** - * @see _.matchesProperty - */ - matchesProperty( - srcValue: SrcValue - ): LoDashExplicitWrapper<(value: Value) => boolean>; - } -} \ No newline at end of file diff --git a/types/lodash/util/method.d.ts b/types/lodash/util/method.d.ts deleted file mode 100644 index 09c508caef..0000000000 --- a/types/lodash/util/method.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that invokes the method at path on a given object. Any additional arguments are provided - * to the invoked method. - * - * @param path The path of the method to invoke. - * @param args The arguments to invoke the method with. - * @return Returns the new function. - */ - method( - path: PropertyPath, - ...args: any[] - ): (object: any) => any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.method - */ - method(...args: any[]): LoDashImplicitWrapper<(object: any) => any>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.method - */ - method(...args: any[]): LoDashExplicitWrapper<(object: any) => any>; - } -} \ No newline at end of file diff --git a/types/lodash/util/methodOf.d.ts b/types/lodash/util/methodOf.d.ts deleted file mode 100644 index 4ec4d15515..0000000000 --- a/types/lodash/util/methodOf.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * The opposite of _.method; this method creates a function that invokes the method at a given path on object. - * Any additional arguments are provided to the invoked method. - * - * @param object The object to query. - * @param args The arguments to invoke the method with. - * @return Returns the new function. - */ - methodOf( - object: object, - ...args: any[] - ): (path: PropertyPath) => any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.methodOf - */ - methodOf( - ...args: any[] - ): LoDashImplicitWrapper<(path: PropertyPath) => any>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.methodOf - */ - methodOf( - ...args: any[] - ): LoDashExplicitWrapper<(path: PropertyPath) => any>; - } -} \ No newline at end of file diff --git a/types/lodash/util/mixin.d.ts b/types/lodash/util/mixin.d.ts deleted file mode 100644 index 02237ae751..0000000000 --- a/types/lodash/util/mixin.d.ts +++ /dev/null @@ -1,69 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface MixinOptions { - chain?: boolean; - } - - interface LoDashStatic { - /** - * Adds all own enumerable function properties of a source object to the destination object. If object is a - * function then methods are added to its prototype as well. - * - * Note: Use _.runInContext to create a pristine lodash function to avoid conflicts caused by modifying - * the original. - * - * @param object The destination object. - * @param source The object of functions to add. - * @param options The options object. - * @param options.chain Specify whether the functions added are chainable. - * @return Returns object. - */ - mixin( - object: TObject, - source: Dictionary<(...args: any[]) => any>, - options?: MixinOptions - ): TObject; - - /** - * @see _.mixin - */ - mixin( - source: Dictionary<(...args: any[]) => any>, - options?: MixinOptions - ): LoDashStatic; - } - - interface LoDashImplicitWrapper { - /** - * @see _.mixin - */ - mixin( - source: Dictionary<(...args: any[]) => any>, - options?: MixinOptions - ): this; - - /** - * @see _.mixin - */ - mixin( - options?: MixinOptions - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.mixin - */ - mixin( - source: Dictionary<(...args: any[]) => any>, - options?: MixinOptions - ): this; - - /** - * @see _.mixin - */ - mixin( - options?: MixinOptions - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/util/noConflict.d.ts b/types/lodash/util/noConflict.d.ts deleted file mode 100644 index 80ecca9f10..0000000000 --- a/types/lodash/util/noConflict.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Reverts the _ variable to its previous value and returns a reference to the lodash function. - * - * @return Returns the lodash function. - */ - noConflict(): typeof _; - } - - interface LoDashImplicitWrapper { - /** - * @see _.noConflict - */ - noConflict(): typeof _; - } - - interface LoDashExplicitWrapper { - /** - * @see _.noConflict - */ - noConflict(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/util/noop.d.ts b/types/lodash/util/noop.d.ts deleted file mode 100644 index ca66677e57..0000000000 --- a/types/lodash/util/noop.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * A no-operation function that returns undefined regardless of the arguments it receives. - * - * @return undefined - */ - noop(...args: any[]): void; - } - - interface LoDashImplicitWrapper { - /** - * @see _.noop - */ - noop(...args: any[]): void; - } - - interface LoDashExplicitWrapper { - /** - * @see _.noop - */ - noop(...args: any[]): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/util/nthArg.d.ts b/types/lodash/util/nthArg.d.ts deleted file mode 100644 index c5b6b0d5db..0000000000 --- a/types/lodash/util/nthArg.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that returns its nth argument. - * - * @param n The index of the argument to return. - * @return Returns the new function. - */ - nthArg(n?: number): (...args: any[]) => any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.nthArg - */ - nthArg(): LoDashImplicitWrapper<(...args: any[]) => any>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.nthArg - */ - nthArg(): LoDashExplicitWrapper<(...args: any[]) => any>; - } -} \ No newline at end of file diff --git a/types/lodash/util/over.d.ts b/types/lodash/util/over.d.ts deleted file mode 100644 index 2b4b49f573..0000000000 --- a/types/lodash/util/over.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that invokes iteratees with the arguments provided to the created function and returns - * their results. - * - * @param iteratees The iteratees to invoke. - * @return Returns the new function. - */ - over(...iteratees: Array TResult>>): (...args: any[]) => TResult[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.over - */ - over( - this: LoDashImplicitWrapper TResult>>, - ...iteratees: Array TResult>> - ): LoDashImplicitWrapper<(...args: any[]) => TResult[]>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.over - */ - over( - this: LoDashExplicitWrapper TResult>>, - ...iteratees: Array TResult>> - ): LoDashExplicitWrapper<(...args: any[]) => TResult[]>; - } -} \ No newline at end of file diff --git a/types/lodash/util/overEvery.d.ts b/types/lodash/util/overEvery.d.ts deleted file mode 100644 index d061d3ec72..0000000000 --- a/types/lodash/util/overEvery.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that checks if all of the predicates return truthy when invoked with the arguments - * provided to the created function. - * - * @param predicates The predicates to check. - * @return Returns the new function. - */ - overEvery(...predicates: Array boolean>>): (...args: T[]) => boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.overEvery - */ - overEvery(...predicates: Array boolean>>): LoDashImplicitWrapper<(...args: T[]) => boolean>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.overEvery - */ - overEvery(...predicates: Array boolean>>): LoDashExplicitWrapper<(...args: T[]) => boolean>; - } -} \ No newline at end of file diff --git a/types/lodash/util/overSome.d.ts b/types/lodash/util/overSome.d.ts deleted file mode 100644 index 1ff92f8d42..0000000000 --- a/types/lodash/util/overSome.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that checks if any of the predicates return truthy when invoked with the arguments - * provided to the created function. - * - * @param predicates The predicates to check. - * @return Returns the new function. - */ - overSome(...predicates: Array boolean>>): (...args: T[]) => boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.overSome - */ - overSome(...predicates: Array boolean>>): LoDashImplicitWrapper<(...args: T[]) => boolean>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.overSome - */ - overSome(...predicates: Array boolean>>): LoDashExplicitWrapper<(...args: T[]) => boolean>; - } -} \ No newline at end of file diff --git a/types/lodash/util/property.d.ts b/types/lodash/util/property.d.ts deleted file mode 100644 index 8edab90248..0000000000 --- a/types/lodash/util/property.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates a function that returns the property value at path on a given object. - * - * @param path The path of the property to get. - * @return Returns the new function. - */ - property(path: PropertyPath): (obj: TObj) => TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.property - */ - property(): LoDashImplicitWrapper<(obj: TObj) => TResult>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.property - */ - property(): LoDashExplicitWrapper<(obj: TObj) => TResult>; - } -} \ No newline at end of file diff --git a/types/lodash/util/propertyOf.d.ts b/types/lodash/util/propertyOf.d.ts deleted file mode 100644 index cc272ec7bf..0000000000 --- a/types/lodash/util/propertyOf.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * The opposite of _.property; this method creates a function that returns the property value at a given path - * on object. - * - * @param object The object to query. - * @return Returns the new function. - */ - propertyOf(object: T): (path: PropertyPath) => any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.propertyOf - */ - propertyOf(): LoDashImplicitWrapper<(path: PropertyPath) => any>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.propertyOf - */ - propertyOf(): LoDashExplicitWrapper<(path: PropertyPath) => any>; - } -} \ No newline at end of file diff --git a/types/lodash/util/range.d.ts b/types/lodash/util/range.d.ts deleted file mode 100644 index 35bf7e3d2e..0000000000 --- a/types/lodash/util/range.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end. - * If end is not specified it’s set to start with start then set to 0. If end is less than start a zero-length - * range is created unless a negative step is specified. - * - * @param start The start of the range. - * @param end The end of the range. - * @param step The value to increment or decrement by. - * @return Returns a new range array. - */ - range( - start: number, - end?: number, - step?: number - ): number[]; - - /** - * Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end. - * If end is not specified it’s set to start with start then set to 0. If end is less than start a zero-length - * range is created unless a negative step is specified. - * - * @param start The start of the range. - * @param index Not used in this overload. - * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code. - * @return Returns a new range array. - */ - range( - end: number, - index: string | number, - guard: object - ): number[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.range - */ - range( - end?: number, - step?: number - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.range - */ - range( - end?: number, - step?: number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/util/rangeRight.d.ts b/types/lodash/util/rangeRight.d.ts deleted file mode 100644 index ced80d5968..0000000000 --- a/types/lodash/util/rangeRight.d.ts +++ /dev/null @@ -1,77 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method is like `_.range` except that it populates values in - * descending order. - * - * @category Util - * @param start The start of the range. - * @param end The end of the range. - * @param step The value to increment or decrement by. - * @returns Returns the new array of numbers. - * @example - * - * _.rangeRight(4); - * // => [3, 2, 1, 0] - * - * _.rangeRight(-4); - * // => [-3, -2, -1, 0] - * - * _.rangeRight(1, 5); - * // => [4, 3, 2, 1] - * - * _.rangeRight(0, 20, 5); - * // => [15, 10, 5, 0] - * - * _.rangeRight(0, -4, -1); - * // => [-3, -2, -1, 0] - * - * _.rangeRight(1, 4, 0); - * // => [1, 1, 1] - * - * _.rangeRight(0); - * // => [] - */ - rangeRight( - start: number, - end?: number, - step?: number - ): number[]; - - /** - * This method is like _.range except that it populates values in - * descending order. - * - * @param start The start of the range. - * @param index Not used in this overload. - * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code. - * @return Returns a new range array. - */ - rangeRight( - end: number, - index: string | number, - guard: object - ): number[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.rangeRight - */ - rangeRight( - end?: number, - step?: number - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.rangeRight - */ - rangeRight( - end?: number, - step?: number - ): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/util/runInContext.d.ts b/types/lodash/util/runInContext.d.ts deleted file mode 100644 index 38fb1ff6b1..0000000000 --- a/types/lodash/util/runInContext.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Create a new pristine lodash function using the given context object. - * - * @param context The context object. - * @return Returns a new lodash function. - */ - runInContext(context?: object): typeof _; - } - - interface LoDashImplicitWrapper { - /** - * @see _.runInContext - */ - runInContext(): typeof _; - } -} \ No newline at end of file diff --git a/types/lodash/util/stubArray.d.ts b/types/lodash/util/stubArray.d.ts deleted file mode 100644 index b8440b7f25..0000000000 --- a/types/lodash/util/stubArray.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method returns a new empty array. - * - * @returns Returns the new empty array. - */ - stubArray(): any[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.stubArray - */ - stubArray(): any[]; - } - - interface LoDashExplicitWrapper { - /** - * @see _.stubArray - */ - stubArray(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/util/stubFalse.d.ts b/types/lodash/util/stubFalse.d.ts deleted file mode 100644 index 394bdc5cce..0000000000 --- a/types/lodash/util/stubFalse.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method returns `false`. - * - * @returns Returns `false`. - */ - stubFalse(): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.stubFalse - */ - stubFalse(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.stubFalse - */ - stubFalse(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/util/stubObject.d.ts b/types/lodash/util/stubObject.d.ts deleted file mode 100644 index 877decfcf0..0000000000 --- a/types/lodash/util/stubObject.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method returns a new empty object. - * - * @returns Returns the new empty object. - */ - stubObject(): any; - } - - interface LoDashImplicitWrapper { - /** - * @see _.stubObject - */ - stubObject(): any; - } - - interface LoDashExplicitWrapper { - /** - * @see _.stubObject - */ - stubObject(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/util/stubString.d.ts b/types/lodash/util/stubString.d.ts deleted file mode 100644 index 6967aafc14..0000000000 --- a/types/lodash/util/stubString.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method returns an empty string. - * - * @returns Returns the empty string. - */ - stubString(): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.stubString - */ - stubString(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.stubString - */ - stubString(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/util/stubTrue.d.ts b/types/lodash/util/stubTrue.d.ts deleted file mode 100644 index 2a18d82e88..0000000000 --- a/types/lodash/util/stubTrue.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * This method returns `true`. - * - * @returns Returns `true`. - */ - stubTrue(): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.stubTrue - */ - stubTrue(): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.stubTrue - */ - stubTrue(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/util/times.d.ts b/types/lodash/util/times.d.ts deleted file mode 100644 index 1056080ebf..0000000000 --- a/types/lodash/util/times.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Invokes the iteratee function n times, returning an array of the results of each invocation. The iteratee - * is invoked with one argument; (index). - * - * @param n The number of times to invoke iteratee. - * @param iteratee The function invoked per iteration. - * @return Returns the array of results. - */ - times( - n: number, - iteratee: (num: number) => TResult - ): TResult[]; - - /** - * @see _.times - */ - times(n: number): number[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.times - */ - times( - iteratee: (num: number) => TResult - ): TResult[]; - - /** - * @see _.times - */ - times(): number[]; - } - - interface LoDashExplicitWrapper { - /** - * @see _.times - */ - times( - iteratee: (num: number) => TResult - ): LoDashExplicitWrapper; - - /** - * @see _.times - */ - times(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/util/toPath.d.ts b/types/lodash/util/toPath.d.ts deleted file mode 100644 index e98a9eb30f..0000000000 --- a/types/lodash/util/toPath.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Converts `value` to a property path array. - * - * @category Util - * @param value The value to convert. - * @returns Returns the new property path array. - * @example - * - * _.toPath('a.b.c'); - * // => ['a', 'b', 'c'] - * - * _.toPath('a[0].b.c'); - * // => ['a', '0', 'b', 'c'] - * - * var path = ['a', 'b', 'c'], - * newPath = _.toPath(path); - * - * console.log(newPath); - * // => ['a', 'b', 'c'] - * - * console.log(path === newPath); - * // => false - */ - toPath(value: any): string[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toPath - */ - toPath(): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toPath - */ - toPath(): LoDashExplicitWrapper; - } -} \ No newline at end of file diff --git a/types/lodash/util/uniqueId.d.ts b/types/lodash/util/uniqueId.d.ts deleted file mode 100644 index 75bedcaa94..0000000000 --- a/types/lodash/util/uniqueId.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import _ = require("../index"); -declare module "../index" { - interface LoDashStatic { - /** - * Generates a unique ID. If prefix is provided the ID is appended to it. - * - * @param prefix The value to prefix the ID with. - * @return Returns the unique ID. - */ - uniqueId(prefix?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.uniqueId - */ - uniqueId(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.uniqueId - */ - uniqueId(): LoDashExplicitWrapper; - } -} \ No newline at end of file From b9b514df0428ed9afccb07d57ef23de91911d1d0 Mon Sep 17 00:00:00 2001 From: Francisco Ramos Date: Tue, 13 Feb 2018 23:39:55 +0100 Subject: [PATCH 460/463] Added alphabetical order --- types/react-datepicker/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-datepicker/index.d.ts b/types/react-datepicker/index.d.ts index 120be49f79..368894c0ed 100644 --- a/types/react-datepicker/index.d.ts +++ b/types/react-datepicker/index.d.ts @@ -58,8 +58,8 @@ export interface ReactDatePickerProps { openToDate?: moment.Moment; peekNextMonth?: boolean; placeholderText?: string; - popperContainer?(props: { children: React.ReactNode[] }): React.ReactNode; popperClassName?: string; + popperContainer?(props: { children: React.ReactNode[] }): React.ReactNode; popperModifiers?: any; popperPlacement?: string; preventOpenOnFocus?: boolean; From 676bb2c4975005bdd6a88635fe54ae34e69f1761 Mon Sep 17 00:00:00 2001 From: Openbyte Date: Thu, 15 Feb 2018 23:03:31 +0100 Subject: [PATCH 461/463] removed default export --- types/object-merge/index.d.ts | 2 +- types/object-merge/object-merge-tests.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/object-merge/index.d.ts b/types/object-merge/index.d.ts index f200c1e268..bd9f0ce8ee 100644 --- a/types/object-merge/index.d.ts +++ b/types/object-merge/index.d.ts @@ -161,4 +161,4 @@ interface ObjectMerge { declare const objectMerge: ObjectMerge; -export default objectMerge; +export = objectMerge; diff --git a/types/object-merge/object-merge-tests.ts b/types/object-merge/object-merge-tests.ts index e0b2d69ad0..edaf9885ba 100644 --- a/types/object-merge/object-merge-tests.ts +++ b/types/object-merge/object-merge-tests.ts @@ -1,4 +1,4 @@ -import objectMerge from 'object-merge'; +import objectMerge = require('object-merge'); const x = { a : 'a', From eac9f9e3432e3cf90168d9bc6bfa31eab06f5960 Mon Sep 17 00:00:00 2001 From: Openbyte Date: Fri, 16 Feb 2018 01:05:31 +0100 Subject: [PATCH 462/463] Added declarations for 'newline-remove' --- types/newline-remove/index.d.ts | 11 +++++++++ types/newline-remove/newline-remove-tests.ts | 4 ++++ types/newline-remove/tsconfig.json | 24 ++++++++++++++++++++ types/newline-remove/tslint.json | 3 +++ 4 files changed, 42 insertions(+) create mode 100644 types/newline-remove/index.d.ts create mode 100644 types/newline-remove/newline-remove-tests.ts create mode 100644 types/newline-remove/tsconfig.json create mode 100644 types/newline-remove/tslint.json diff --git a/types/newline-remove/index.d.ts b/types/newline-remove/index.d.ts new file mode 100644 index 0000000000..23bb087225 --- /dev/null +++ b/types/newline-remove/index.d.ts @@ -0,0 +1,11 @@ +// Type definitions for newline-remove 1.0 +// Project: https://github.com/yoshuawuyts/newline-remove +// Definitions by: OpenByteDev +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/** + * Strip all newlines from the given value + */ +declare function removeNewlines(val: string): string; + +export = removeNewlines; diff --git a/types/newline-remove/newline-remove-tests.ts b/types/newline-remove/newline-remove-tests.ts new file mode 100644 index 0000000000..343f3e1879 --- /dev/null +++ b/types/newline-remove/newline-remove-tests.ts @@ -0,0 +1,4 @@ +import removeNewline = require('newline-remove'); + +removeNewline('foo\n bar\n'); +// => 'foo bar' diff --git a/types/newline-remove/tsconfig.json b/types/newline-remove/tsconfig.json new file mode 100644 index 0000000000..f0059d329e --- /dev/null +++ b/types/newline-remove/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true + }, + "files": [ + "index.d.ts", + "newline-remove-tests.ts" + ] +} \ No newline at end of file diff --git a/types/newline-remove/tslint.json b/types/newline-remove/tslint.json new file mode 100644 index 0000000000..f93cf8562a --- /dev/null +++ b/types/newline-remove/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "dtslint/dt.json" +} From 3f6cf2c471ae0cce09741d928253cf6f8f3c7915 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Thu, 15 Feb 2018 20:17:41 -0800 Subject: [PATCH 463/463] Use `import Highcharts = require('../..')`. --- types/highcharts/js/highcharts/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/highcharts/js/highcharts/index.d.ts b/types/highcharts/js/highcharts/index.d.ts index 17556e0d02..0c6cf2427f 100644 --- a/types/highcharts/js/highcharts/index.d.ts +++ b/types/highcharts/js/highcharts/index.d.ts @@ -1,2 +1,2 @@ -import * as Highcharts from '../..'; +import Highcharts = require('../..'); export = Highcharts;